/* Second popup responsive styles */
#newsletter_claim_popup {
    display: none;
    width: min(760px, 94vw) !important;
    max-height: calc(100vh - 32px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 22px 24px 20px !important;
    box-sizing: border-box !important;
    background: #d2bca8 !important;
    border: 1px solid #8d7a6c !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32) !important;
    z-index: 10010 !important;
}

#newsletter_claim_popup .content-popup,
#newsletter_claim_popup .popup-right-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    text-align: center !important;
}

#newsletter_claim_popup .popup-offer-title {
    margin: 0 0 12px;
    color: #171717;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.08;
    font-weight: 400;
}

#newsletter_claim_popup .popup-form-fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
}

#newsletter_claim_popup .popup-form-fields .control,
#newsletter_claim_popup .popup-form-fields .actions {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#newsletter_claim_popup .popup-form-fields .control-email,
#newsletter_claim_popup .popup-form-fields .control-submit,
#newsletter_claim_popup .popup-form-fields .control-recaptcha,
#newsletter_claim_popup .popup-form-fields .newsletter-claim-response {
    grid-column: 1 / -1;
}

#newsletter_claim_popup .popup-form-fields .control input {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 999px !important;
    border: 1px solid #c8c8c8 !important;
    background: #fff !important;
    color: #111 !important;
    box-sizing: border-box !important;
    padding: 0 18px !important;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px !important;
}

#newsletter_claim_popup .popup-form-fields .control input::placeholder {
    color: #a3a3a3;
    opacity: 1;
}

#newsletter_claim_popup .popup-form-fields .actions .subscribe.primary {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 999px !important;
    border-color: #060606 !important;
    background: #060606 !important;
    color: #fff !important;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(22px, 2.5vw, 24px) !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 10px !important;
}

#newsletter_claim_popup .popup-form-fields .control-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
}

#newsletter_claim_popup .popup-form-fields .control-recaptcha .g-recaptcha {
    transform-origin: center top;
}

#newsletter_claim_popup .popup-form-fields .newsletter-claim-response {
    display: none;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
    font-size: 13px;
    font-family: "Times New Roman", Times, serif;
}

#newsletter_claim_popup .popup-form-fields .newsletter-claim-response.message-success {
    color: #1e7e34;
    font-weight: 600;
}

#newsletter_claim_popup .popup-form-fields .newsletter-claim-response.message-error {
    color: #c62828;
    font-weight: 600;
}

#newsletter_claim_popup .btn-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    border: 1px solid #111 !important;
    border-radius: 50% !important;
    background: transparent !important;
    opacity: 1 !important;
}

#newsletter_claim_popup .btn-close span {
    display: none !important;
}

#newsletter_claim_popup .btn-close::before,
#newsletter_claim_popup .btn-close::after {
    content: "" !important;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1px;
    margin-left: -6px;
    margin-top: -1px;
    background: #181818;
}

#newsletter_claim_popup .btn-close::before {
    transform: rotate(45deg);
}

#newsletter_claim_popup .btn-close::after {
    transform: rotate(-45deg);
}

@media (max-width: 1024px) {
    #newsletter_claim_popup {
        width: min(680px, 94vw) !important;
        padding: 20px 18px 18px !important;
    }
}

@media (max-width: 767px) {
    #newsletter_claim_popup {
        width: 94vw !important;
        max-height: calc(100vh - 18px) !important;
        padding: 16px 14px 14px !important;
    }

    #newsletter_claim_popup .popup-form-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #newsletter_claim_popup .popup-form-fields .control input {
        height: 42px !important;
        min-height: 42px !important;
        font-size: 16px !important;
    }

    #newsletter_claim_popup .popup-form-fields .actions .subscribe.primary {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 22px !important;
    }

    #newsletter_claim_popup .popup-form-fields .control-recaptcha .g-recaptcha {
        transform: scale(0.88);
    }
}

@media (max-width: 480px) {
    #newsletter_claim_popup {
        padding: 14px 10px 12px !important;
    }

    #newsletter_claim_popup .popup-form-fields .control-recaptcha .g-recaptcha {
        transform: scale(0.78);
    }
}
