.promo-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 24, 20, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 9999;
}
.promo-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
body.promo-popup-locked {
    overflow: hidden;
}

.promo-popup {
    background: #fff;
    border-radius: 14px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    transform: translateY(10px) scale(.98);
    transition: transform .2s ease;
}
.promo-popup-overlay.is-open .promo-popup {
    transform: translateY(0) scale(1);
}

.promo-popup__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #8a8f87;
    padding: 6px;
}
.promo-popup__close:hover { color: #333; }

.promo-popup__body { padding: 32px 28px 28px; }

.promo-popup__loader,
.promo-popup__error {
    padding: 40px 10px;
    text-align: center;
    color: #666;
    font-size: 15px;
}

.promo-tpl__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.promo-tpl__badge {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.promo-tpl__badge.premium {
    background: #FF8C00;
}

.promo-tpl__badge.pro {
    background: linear-gradient(135deg, #6C2CE4 0%, #00A0F8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-tpl__badge.zakupki {
    background-color: #00CD55;
}

.promo-tpl__title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    color: #1c1f1c;
}
.promo-tpl__text {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.promo-tpl__plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.promo-plan {
    border: 1px solid #e3e6e1;
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.promo-plan--best {
    border-color: #2e7d32;
    box-shadow: 0 0 0 1px #2e7d32 inset;
}
.promo-plan__badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #2e7d32;
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.promo-plan__period {
    font-size: 13px;
    color: #777;
}
.promo-plan__price {
    font-size: 19px;
    font-weight: 700;
    color: #1c1f1c;
}
.promo-plan__old {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}
.promo-plan__btn {
    margin-top: auto;
    border: none;
    background: #2e7d32;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s ease;
}
.promo-plan__btn:hover { background: #256428; }
