/* Единое предложение месяца: разметка создаётся скриптом только в момент показа. */
.promo-popup-overlay[hidden] {
    display: none !important;
}

.promo-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(0, 0, 0, .86);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.promo-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-popup {
    position: relative;
    width: min(100%, 500px);
    max-height: min(88vh, 660px);
    box-sizing: border-box;
    overflow: auto;
    padding: 42px 40px 36px;
    color: #f5f3ef;
    background: #181818;
    border: 1px solid rgba(201, 169, 110, .32);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .52);
    transform: translateY(20px) scale(.98);
    transition: transform .28s ease;
}

.promo-popup-overlay.active .promo-popup {
    transform: translateY(0) scale(1);
}

.promo-popup-close {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    color: #aaa7a2;
    background: transparent;
    font: 300 24px/1 Montserrat, Arial, sans-serif;
    cursor: pointer;
}

.promo-popup-close:hover,
.promo-popup-close:focus-visible {
    color: #fff;
}

.promo-popup-eyebrow {
    margin: 0 0 12px;
    color: #c9a96e;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.promo-popup-title {
    margin: 0 38px 10px 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 31px);
    font-weight: 300;
    letter-spacing: .01em;
    line-height: 1.18;
}

.promo-popup-subtitle {
    margin: 0 0 27px;
    color: #aaa7a2;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
}

.promo-popup-subtitle strong {
    color: #d2b16f;
    font-weight: 500;
}

.promo-popup-field {
    margin: 0 0 16px;
}

.promo-popup-field label {
    display: block;
    margin: 0 0 8px;
    color: #a5a19b;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.promo-popup-field input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid rgba(201, 169, 110, .22);
    border-radius: 0;
    outline: 0;
    color: #fff;
    background: #222;
    font: 300 14px Montserrat, Arial, sans-serif;
    transition: border-color .2s ease, background .2s ease;
}

.promo-popup-field input::placeholder {
    color: #77736e;
}

.promo-popup-field input:focus {
    border-color: #c9a96e;
    background: rgba(201, 169, 110, .06);
}

.promo-popup-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    margin: 18px 0 17px;
    color: #bab6b0;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.65;
    cursor: pointer;
}

.promo-popup-consent input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: #c9a96e;
}

.promo-popup-consent a,
.promo-popup-note a {
    color: #d2b16f;
    text-decoration: none;
    border-bottom: 1px solid rgba(210, 177, 111, .38);
}

.promo-popup-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    min-height: 50px;
    border: 1px solid #d1b06d;
    border-radius: 0;
    color: #181818;
    background: #d1b06d;
    font: 500 11px Montserrat, Arial, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.promo-popup-submit:hover,
.promo-popup-submit:focus-visible {
    border-color: #e0c282;
    background: #e0c282;
}

.promo-popup-submit:disabled {
    cursor: wait;
    opacity: .72;
}

.promo-popup-submit-arrow {
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.promo-popup-note {
    margin: 14px 0 0;
    color: #807c76;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.55;
    text-align: center;
}

.promo-popup-success {
    padding: 22px 6px 8px;
    text-align: center;
}

.promo-popup-success-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin: 0 auto 17px;
    border: 1px solid #c9a96e;
    border-radius: 50%;
    color: #d1b06d;
    font-size: 22px;
}

.promo-popup-success h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 25px;
    font-weight: 300;
}

.promo-popup-success p {
    margin: 0;
    color: #bab6b0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .promo-popup-overlay {
        padding: 14px;
        background: rgba(0, 0, 0, .92);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .promo-popup {
        max-height: 88vh;
        padding: 36px 22px 26px;
    }
}
