.newsletter-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.newsletter-popup.is-open {
    display: block;
}

.newsletter-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.newsletter-popup__box {
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: calc(100% - 32px);
    margin: 10vh auto 0;
    background: #F7F3F0;
    border-radius: 8px;
    padding: 40px 32px 32px;
    box-shadow: 0 24px 72px -8px rgba(0, 0, 0, 0.25);
    font-family: Arial, Helvetica, sans-serif;
}

.newsletter-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #242424;
}

.newsletter-popup__heading {
    font-size: 20px;
    font-weight: 600;
    color: #242424;
    margin: 0 0 12px;
}

.newsletter-popup__subtext {
    font-size: 14px;
    color: #767676;
    margin: 0 0 20px;
}

.newsletter-popup__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-popup__form input {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-popup__form button {
    padding: 12px 14px;
    border: none;
    border-radius: 4px;
    background: #EE9882;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-popup__form button:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .newsletter-popup__box {
        margin-top: 15vh;
        padding: 32px 20px 24px;
    }
}