.promo-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 24, 20, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s 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: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform .3s ease;
}

.promo-popup-overlay.is-open .promo-popup {
    transform: translateY(0);
}

.promo-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #e5e9e5;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.promo-popup__close:hover {
    background: #f8f8f8;
    color: #000;
}

.promo-popup__body {
    padding: 44px 32px 36px;
}

.promo-tpl__header {
    margin-bottom: 20px;
}

.promo-tpl__badge {
    display: inline-block;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.promo-tpl__badge.premium {
    background: linear-gradient(135deg, #ff8c00, #ffaa33);
}

.promo-tpl__badge.pro {
    background: linear-gradient(135deg, #6C2CE4, #00A0F8);
}

.promo-tpl__badge.zakupki {
    background-color: #00CD55;
}

.promo-tpl__title {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
    color: #1c1f1c;
}

.promo-tpl__text {
    color: #444;
    font-size: 16.5px;
    line-height: 1.5;
    margin: 0 0 24px;
}

.promo-tpl__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.promo-tpl__benefits li {
    padding-left: 34px;
    margin-bottom: 14px;
    position: relative;
    font-size: 16px;
    color: #333;
}

.promo-tpl__benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00c853;
    font-size: 20px;
}

.promo-tpl__more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 32px;
    display: inline-block;
}

.promo-tpl__plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.promo-plan {
    border: 2px solid #e5e9e5;
    border-radius: 16px;
    padding: 24px 18px 22px;
    text-align: center;
    transition: all 0.25s;
    position: relative;
}

.promo-plan:hover {
    border-color: #00c853;
    transform: translateY(-4px);
}

.promo-plan--best {
    border-color: #00c853;
}

.promo-plan__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #00c853;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
}

.promo-plan__period {
    font-size: 15.5px;
    color: #555;
    margin-bottom: 8px;
}

.promo-plan__price {
    font-size: 28px;
    font-weight: 700;
    color: #1c1f1c;
    margin: 8px 0 18px;
}

.promo-plan__old {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

.promo-plan__btn {
    background: #00c853;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
}

.promo-plan__btn:hover {
    background: #00b044;
}

@media (max-width: 480px) {
    .promo-tpl__badge {
        margin-bottom: 16px;
    }
    .promo-tpl__title {
        font-size: 24px;
    }
    .promo-popup__body {
        padding: 40px 24px 32px;
    }
}