.fsr-offer .fsr-offer-email { max-width: 24rem; }
.fsr-offer .fsr-offer-email label,
.fsr-offer .fsr-offer-email small { display: block; margin-bottom: 0.4rem; }
.fsr-offer .fsr-offer-email input[type="email"] { box-sizing: border-box; width: 100%; min-height: 3rem; margin-bottom: 0.4rem; padding: 0.6rem; }

.fsr-offer { scroll-margin-top: 22rem; }
.fsr-shop-offer { display: block; width: 100%; margin-top: 0.6rem; text-align: center; }
.woocommerce ul.products li.product .fsr-shop-offer a.fsr-shop-offer-link,
.fsr-shop-offer a.fsr-shop-offer-link {
    display: inline-block;
    padding: 0.35rem 0.5rem;
    background: transparent;
    color: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.fsr-shop-offer a.fsr-shop-offer-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.fsr-offer .fsr-offer-help { margin: 0.5rem 0 1rem; }
.fsr-offer .fsr-offer-help a { text-decoration: underline; text-underline-offset: 0.2em; }
.fsr-offer-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.fsr-offer-guide-card { padding: 1.5rem; border: 1px solid #40242026; border-radius: 1rem; }
.fsr-offer-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .fsr-offer-guide-grid { grid-template-columns: 1fr; } }

.fsr-offer-result {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-sizing: border-box;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border: 2px solid #68762f;
    border-radius: 6px;
    background: #fffaf0;
    color: #402420;
}

.fsr-offer-result p { margin: 0.5rem 0 0; }
.fsr-offer-result-error { border-color: #9c3838; }
.fsr-offer-result > div { flex: 1; min-width: 0; }
.fsr-offer-result button.fsr-offer-dismiss {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.fsr-offer-result button.fsr-offer-dismiss:hover { background: #4024200d; }
.fsr-offer-result button.fsr-offer-dismiss:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.fsr-offer .fsr-offer-label {
    display: block;
    margin-bottom: 0.5rem;
}

.fsr-offer .fsr-offer-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 24rem;
    margin-bottom: 0.75rem;
    align-items: stretch;
}

.fsr-offer .fsr-offer-controls input[type="number"],
.fsr-offer .fsr-offer-controls button.button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 3.5rem;
    min-height: 3.5rem;
    margin: 0;
    padding: 0.5rem 0.75rem;
    float: none;
    font-size: 1rem;
    line-height: 1.25;
}

.fsr-offer .fsr-offer-controls input[type="number"] {
    background: #fff;
    color: #222;
    border: 1px solid #80766e;
    border-radius: 4px;
}

.fsr-offer .fsr-offer-controls button.button {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
}
