/* Баннер с акцией - мягкий стиль (светлый фон, красный акцент) */
.promo-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.promo-banner-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Стили самого баннера */
.promo-banner {
    position: relative;
    max-width: 680px;
    width: 90%;
    background: #ffffff;
    border: none;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(204, 0, 0, 0.15);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.2s ease;
    animation: promoFadeSlideUp 0.4s ease forwards;
    border-radius: 20px;
}

@keyframes promoFadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Верхняя красная полоса */
.promo-banner-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #ff6b6b, #e63946);
}

/* Контентная часть */
.promo-banner-content {
    padding: 28px 24px 32px;
    color: #2c3e50;
}

.promo-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.promo-badge {
    background: #e63946;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.3);
}

.promo-close-btn {
    background: #f5f5f5;
    border: none;
    color: #666666;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    border-radius: 50%;
}

.promo-close-btn:hover {
    background: #e63946;
    color: #ffffff;
}

.promo-banner h2 {
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.promo-offer-text {
    font-size: 1rem;
    line-height: 1.5;
    margin: 16px 0;
    color: #4a5568;
    border-left: 3px solid #e63946;
    padding-left: 16px;
    background: #fafafa;
    border-radius: 0 12px 12px 0;
}

.promo-offer-text strong {
    color: #1a1a2e;
    font-weight: 700;
}

.promo-highlight {
    color: #e63946;
    font-weight: 800;
    font-size: 1.1rem;
    background: #ffeaea;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
}

/* Блок с изображениями - Flex контейнер */
.promo-images-container {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    justify-content: space-between;
}

.promo-image-item {
    flex: 1;
    text-align: center;
}

.promo-image-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.promo-image-item img:hover {
    border-color: #e63946;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.15);
}

.promo-price-block {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 20px 0;
}

.promo-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.promo-price-row:last-child {
    border-bottom: none;
}

.promo-price-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.promo-price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #e63946;
}

.promo-price-value.positive {
    color: #e63946;
}

.promo-price-value.negative {
    color: #e63946;
}

.promo-features {
    margin: 20px 0;
}

.promo-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    font-size: 0.9rem;
    color: #4a5568;
}

.promo-feature-check {
    color: #e63946;
    font-weight: bold;
    font-size: 1.1rem;
}

.promo-btn-group {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.promo-btn-details {
    background: #e63946;
    border: none;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s;
    flex: 2;
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.promo-btn-details:hover {
    background: #c53030;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

.promo-btn-later {
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    transition: 0.2s;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 40px;
}

.promo-btn-later:hover {
    background: #e9ecef;
    border-color: #e63946;
    color: #e63946;
}

.promo-small-note {
    font-size: 0.65rem;
    text-align: center;
    margin-top: 24px;
    opacity: 0.6;
    color: #868e96;
    letter-spacing: 0.3px;
}

/* Разделительная линия */
.promo-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

/* Пример стилей для шагов */
.promo-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}
.promo-steps li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
}
.promo-steps li:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: #e63946;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Мобильная версия - изображения в столбик */
@media (max-width: 768px) {
    .promo-banner {
        max-width: 95%;
        width: 95%;
        border-radius: 16px;
    }
    
    .promo-banner-content {
        padding: 20px 16px 24px;
    }
    
    .promo-banner h2 {
        font-size: 1.4rem;
    }
    
    .promo-price-value {
        font-size: 1.2rem;
    }
    
    .promo-btn-details, .promo-btn-later {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    /* Изображения в столбик */
    .promo-images-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .promo-image-item img:hover {
        transform: none;
    }
    
    .promo-offer-text {
        font-size: 0.9rem;
    }
    
    .promo-feature-item {
        font-size: 0.8rem;
    }
}

/* Для очень маленьких экранов (до 480px) */
@media (max-width: 480px) {
    .promo-banner-content {
        padding: 16px 12px 20px;
    }
    
    .promo-banner h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .promo-offer-text {
        margin: 12px 0;
        padding-left: 12px;
    }
    
    .promo-price-block {
        padding: 12px 16px;
        margin: 16px 0;
    }
    
    .promo-price-label {
        font-size: 0.8rem;
    }
    
    .promo-price-value {
        font-size: 1rem;
    }
    
    .promo-btn-details, .promo-btn-later {
        padding: 10px 16px;
        font-size: 0.7rem;
        min-width: 120px;
    }
    
    .promo-feature-item {
        font-size: 0.75rem;
        gap: 8px;
    }
    
    .promo-small-note {
        font-size: 0.55rem;
    }
}

/* Контейнер заголовка с изображением */
.promo-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px 0;
}

.promo-title-wrapper h2 {
    margin: 0;
    flex: 1;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.promo-title-image {
    max-width: 180px;
    width: auto;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 768px) {
    .promo-title-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .promo-title-wrapper h2 {
        font-size: 1.4rem;
    }
    
    .promo-title-image {
        max-width: 100%;
        width: 220px;
        order: -1; /* Изображение сверху на мобильных */
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .promo-title-wrapper h2 {
        font-size: 1.2rem;
    }
    
    .promo-title-image {
        width: 180px;
    }
}