.slider {
    max-width: 1200px;
    width: 100%;
    margin: 10px auto 40px;
    overflow: hidden; /* Обрезаем все, что выходит за пределы */
}

.swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Десктопная версия (16:9) */
.swiper {
    aspect-ratio: 16/9;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет контейнер с обрезкой излишков */
    display: block;
}

/* Мобильная версия (1:1) */
@media (max-width: 768px) {
    .swiper {
        aspect-ratio: 1/1;
    }
}

/* Навигация */
.promo-button-prev,
.promo-button-next {
    color: white !important;
    /*background: rgba(0, 0, 0, 0.3);*/
    width: 40px;
    height: 40px;
    /*border-radius: 50%;*/
    transition: all 0.3s ease;
}

.promo-button-prev:hover,
.promo-button-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.promo-button-prev::after,
.promo-button-next::after {
    font-size: 1.2rem !important;
}

.promo-pagination {
    bottom: 20px !important;
}

.promo-pagination .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
}

.promo-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}
