.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.promo-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.promo-modal-window {
    width: 48rem;
    max-width: 90%;
    background-color: #3a241f;
    color: #ede8dd;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform .3s;
}
.promo-modal-overlay.is-visible .promo-modal-window {
    transform: scale(1);
}

/* === СТИЛИ ДЛЯ УГЛОВОГО ОКНА (ЭТАП 2) - без изменений === */
.promo-popup {
    position: fixed;
    z-index: 151;
    bottom: 2rem;
    right: 10rem;
    width: 33.5rem;
    background-color: #3a241f;
    background-image: url(/local/templates/zhar/static/img/newsletter-bg.svg);
    color: #ede8dd;
    font-family: inherit;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, bottom .4s ease-in-out;
}
.promo-popup.is-visible {
    opacity: 1;
    visibility: visible;
}

/* === ОБЩИЕ СТИЛИ ДЛЯ КОНТЕНТА (чтобы не дублировать код) === */
.promo-shared__close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    z-index: 7;
    width: 1.3rem;
    height: 1.3rem;
    padding: 0;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo-shared__close svg {
    width: 60%;
    height: 60%;
    fill: currentColor;
}
.promo-shared__image {
    display: block;
    width: 100%;
}
.promo-shared__content {
    padding: 1.5rem 3rem 2rem;
}
.promo-shared__title {
    font-weight: 700;
    font-size: 2rem;
    line-height: 140%;
    margin-bottom: .8rem;
    text-align: left;
}
.promo-shared__description {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 140%;
    margin-bottom: 1.5rem;
    text-align: left;
}
.promo-shared__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.2rem 2rem;
    border: 1px solid #ede8dd;
    background-color: transparent;
    color: #ede8dd;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color .2s;
}
.promo-shared__button:hover {
    background-color: rgba(237, 232, 221, 0.1);
}