/* Модальное окно */
.promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.promo-modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(3px);
}

.promo-modal__content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: auto;
    z-index: 10000;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.promo-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10;
}

.promo-modal__close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Слайдер */
.promo-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.promo-slider__container {
    position: relative;
}

.promo-slide {
    display: none;
}

.promo-slide--active {
    display: block;
}

.promo-slide__image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f5f5f5;
    margin-bottom: 0;
}

.promo-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slide__content {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    text-align: center;
}

.promo-slide__title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.promo-slide__text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.promo-slide__button {
    display: inline-block;
    padding: 12px 30px;
    background: #b69245; /* Цвет из вашего дизайна */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.promo-slide__button:hover {
    background: #9c7a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(182, 146, 69, 0.3);
}

/* Навигация */
.promo-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.promo-slider__nav:hover {
    background: rgba(0,0,0,0.8);
}

.promo-slider__nav--prev {
    left: 15px;
}

.promo-slider__nav--next {
    right: 15px;
}

/* Индикаторы */
.promo-slider__indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.promo-slider__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.promo-slider__indicator--active {
    background: #b69245;
}

/* Адаптивность */
@media (max-width: 768px) {
    .promo-modal__content {
        width: 95%;
        padding: 20px;
    }
    
    .promo-slide__image {
        height: 250px;
    }
    
    .promo-slide__title {
        font-size: 20px;
    }
    
    .promo-slider__nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .promo-slide__image {
        height: 200px;
    }
    
    .promo-slide__content {
        padding: 15px;
    }
    
    .promo-slide__button {
        padding: 10px 20px;
        font-size: 14px;
    }
}