/* SHOP-1.0.14F - Newsletter popup */

.ff-newsletter-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(22, 31, 37, .58);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.ff-newsletter-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.ff-newsletter-modal {
    position: relative;
    width: min(520px, 100%);
    box-sizing: border-box;
    background: #fff;
    padding: 34px 36px 30px;
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
    text-align: left;
    transform: translateY(10px);
    transition: transform .18s ease;
}

.ff-newsletter-overlay.is-open .ff-newsletter-modal {
    transform: translateY(0);
}

.ff-newsletter-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #6f777c;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}

.ff-newsletter-test {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 7px;
    background: #fff1f0;
    color: #b42318;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.ff-newsletter-kicker {
    color: #0f6f82;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ff-newsletter-modal h2 {
    margin: 7px 0 10px;
    color: #26343d;
    font-size: 28px;
    line-height: 1.15;
}

.ff-newsletter-lead {
    margin: 0 0 20px;
    color: #56636b;
    font-size: 14px;
    line-height: 1.55;
}

.ff-newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.ff-newsletter-email {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 44px;
    border: 1px solid #ccd5da;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
}

.ff-newsletter-email:focus {
    border-color: #0f6f82;
    box-shadow: 0 0 0 2px rgba(15,111,130,.10);
}

.ff-newsletter-form button {
    height: 44px;
    border: 0;
    background: #0f6f82;
    color: #fff;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.ff-newsletter-form button:disabled {
    opacity: .65;
    cursor: wait;
}

.ff-newsletter-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.ff-newsletter-message {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
}

.ff-newsletter-message.is-success {
    color: #0b6b45;
}

.ff-newsletter-message.is-error {
    color: #b42318;
}

.ff-newsletter-small {
    margin: 16px 0 0;
    color: #8a9297;
    font-size: 10px;
    line-height: 1.45;
}

@media (max-width: 560px) {
    .ff-newsletter-modal {
        padding: 30px 22px 24px;
    }

    .ff-newsletter-modal h2 {
        font-size: 24px;
    }

    .ff-newsletter-form {
        grid-template-columns: 1fr;
    }

    .ff-newsletter-form button {
        width: 100%;
    }
}
