

/* Start:/local/templates/.default/components/realweb/blank/reviews/style.css?17430272445278*/
/* =====================
   ОСНОВНАЯ СТРУКТУРА
   ===================== */
.reviews_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch; /* Растягиваем элементы по высоте */

}

/* Контейнеры для контента */
.reviews_row div.container {
    max-width: 50%;
    position: relative;
    padding: 0 30px; /* Десктопные отступы по умолчанию */
}

.reviews_row div.video-container {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    padding: 0 30px;
}
/* Видео внутри контейнера */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Сохраняет пропорции видео */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Карточка отзыва */
.reviews-item {
    background: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 95%;
    margin: 0 auto;
}

/* =====================
   ВЕРТИКАЛЬНЫЙ СЛАЙДЕР
   ===================== */
.vertical-reviews-slider {
    position: relative;
    height: 370px;
    padding: 0 40px;
    overflow: hidden;
}

/* Прогресс-бар */
.progress-bar-container {
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #eee;
    z-index: 10;
}

.progress-bar {
    position: absolute;
    width: 100%;
    background: #FC4646;
    transition: height 0.3s ease;
}

/* Активный слайд */
.swiper-slide-active {
    display: flex;
    align-items: center;
}

/* =====================
   НАВИГАЦИОННЫЕ КНОПКИ
   ===================== */
.swiper-button-next,
.swiper-button-prev {
    width: 48px;
    height: 48px;
    padding: 8px;
    background: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0;
    opacity: 0.7;
    color: #FC4646;
    position: absolute;
    z-index: 999;
    cursor: pointer;
    touch-action: manipulation; /* Оптимизация для тач-устройств */
    -webkit-tap-highlight-color: transparent; /* Убираем подсветку при тапе */
}

/* Позиционирование кнопок */
.swiper-button-prev {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.swiper-button-next {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* SVG стрелки */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.swiper-button-next::after {
    transform: rotate(180deg);
}

/* Состояния кнопок */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}

/* =====================
   МЕДИА-ЗАПРОСЫ
   ===================== */
@media (max-width: 768px) {
    /* Адаптация основной структуры */
    .reviews_row {
        flex-direction: column;
    }

    .reviews_row div.container,
    .reviews_row div.video-container {
        max-width: 100%;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    /* Адаптация слайдера */
    .vertical-reviews-slider {
        height: 300px;
        padding: 20px 0;
    }

    .progress-bar-container {
        left: 0;
        width: 3px;
    }

    /* Адаптация кнопок */
    .swiper-button-prev {
        top: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .swiper-button-next {
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Увеличиваем активную зону */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        width: 150%;
        height: 150%;
        margin: -25%;
        z-index:100;
    }

    .reviews-item {
        min-height: 180px;
    }

}

@media only screen and (min-width: 768px) {
    /* Десктопные стили видео */
    .video-container iframe {
        height: 700px;
    }
}

/* Фолбэк для браузеров без поддержки mask */
@supports not (-webkit-mask-image: url(/local/templates/.default/components/realweb/blank/reviews/)) {
    .swiper-button-next::after,
    .swiper-button-prev::after {
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FC4646' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41z'/%3E%3C/svg%3E") no-repeat center;
        mask: none;
    }
}
/* Добавляем media-query для touch-устройств */
@media (pointer: coarse) {
    .swiper-button-next,
    .swiper-button-prev {
        min-width: 56px;
        min-height: 56px;
    }
}
/* End */
/* /local/templates/.default/components/realweb/blank/reviews/style.css?17430272445278 */
