/* Стили для автоматического промо-модального окна */
.auto-promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auto-promo-overlay[style*="flex"] {
    opacity: 1;
}

.auto-promo-modal {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.auto-promo-overlay[style*="flex"] .auto-promo-modal {
    transform: scale(1);
}

.auto-promo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #FF9501;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #FFFFFF;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.auto-promo-close:hover {
    background: white;
    color: #374151;
    transform: scale(1.1);
}

.auto-promo-content {
    display: flex;
    min-height: 500px;
}

.auto-promo-image {
    flex: 1;
    background: linear-gradient(135deg, #32B6B8 0%, #FF9501 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auto-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auto-promo-placeholder {
    color: white;
    text-align: center;
    opacity: 0.7;
}

.auto-promo-placeholder p {
    margin-top: 10px;
    font-size: 14px;
}

.auto-promo-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auto-promo-logo {
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 12px;
    margin-bottom: 24px;
    padding:10px;
}
.auto-promo-logo-without-image {
    background:#32B6B8;
}

.auto-promo-logo img {
    max-width:70%;
    object-fit: contain;
}

.auto-promo-logo-placeholder {
    width: 40px;
    height: 40px;
}

.auto-promo-brand {
    font-size: 20px;
    font-weight: 300;
    color: #374151;
    letter-spacing: -0.5px;
}

.auto-promo-title {
    font-size: 24px;
    font-weight: 700;
    color: #32B6B8;
    line-height: 1.3;
    margin-bottom: 16px;
}

.auto-promo-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 28px;
}

.auto-promo-button {
    background: #FF9501;
    color: white;
    border: none;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.auto-promo-button:hover {
    background: #FF9501;
    transform: translateY(-1px);
}

/* Кнопка для демонстрации */
.btn-open-promo {
    background: #FF9501;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-open-promo:hover {
    background: #FF9501;
    transform: translateY(-1px);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .auto-promo-modal {
        margin: 0;
        border-radius: 0;
        height: 100vh;
        max-height: none;
    }
    
    .auto-promo-content {
        flex-direction: column;
        height: 100%;
    }
    
    .auto-promo-image {
        flex: 0 0 40%;
        min-height: 250px;
    }
    
    .auto-promo-info {
        flex: 1;
        padding: 30px 24px;
    }
    
    .auto-promo-title {
        font-size: 20px;
    }
}