/* ==============================
   Адаптивный видеоплеер для Solomka.biz
   Версия: 1.1 (исправленная)
   ============================== */

/* Основные стили плеера */
.video-player-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ограничиваем максимальную ширину */
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* Контейнер для видео в слайдере отзывов */
.swiper-slide2 .video-player-container {
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: 100%;
}

/* Соотношения сторон */
.video-player-container.aspect-16-9 {
    aspect-ratio: 16/9;
}

.video-player-container.aspect-4-3 {
    aspect-ratio: 4/3;
}

.video-player-container.aspect-1-1 {
    aspect-ratio: 1/1;
}

/* Элемент video */
.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.video-player.loaded {
    opacity: 1;
}

/* Панель управления */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px 15px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    transform: translateY(10px);
}

.video-player-container:hover .video-controls,
.video-player-container.controls-visible .video-controls {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Группы элементов управления */
.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Кнопки управления */
.control-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

/* Иконки Play/Pause */
.play-btn .play-icon {
    display: block;
}

.play-btn .pause-icon {
    display: none;
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

/* Иконки звука */
.mute-btn .volume-on {
    display: block;
}

.mute-btn .volume-off {
    display: none;
}

.mute-btn.muted .volume-on {
    display: none;
}

.mute-btn.muted .volume-off {
    display: block;
}

/* Отображение времени */
.time-display {
    color: white;
    font-size: 14px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    min-width: 100px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Прогресс-бар */
.progress-container {
    position: absolute;
    bottom: 70px;
    left: 15px;
    right: 15px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.7);
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

/* Слайдер громкости */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 0;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.volume-container:hover .volume-slider {
    opacity: 1;
    width: 80px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* Полноэкранный режим */
.fullscreen-btn .enter-fullscreen {
    display: block;
}

.fullscreen-btn .exit-fullscreen {
    display: none;
}

.video-player-container.fullscreen .fullscreen-btn .enter-fullscreen {
    display: none;
}

.video-player-container.fullscreen .fullscreen-btn .exit-fullscreen {
    display: block;
}

/* Индикатор загрузки */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    z-index: 5;
    display: none;
}

.loading-spinner {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Постер видео */
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.video-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Кнопка воспроизведения на постере */
.poster-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(52, 152, 219, 0.9);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 32px;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.poster-play-btn:hover {
    background: rgba(52, 152, 219, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==============================
   Стили для видео отзывов (упрощенный плеер)
   ============================== */
.video-review .video-controls {
    padding: 15px 10px 5px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.video-review .control-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.video-review .time-display {
    font-size: 12px;
    min-width: 80px;
}

.video-review .progress-container {
    bottom: 50px;
    height: 3px;
}

.video-review .poster-play-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

/* Убираем элементы управления звуком для видео отзывов */
.video-review .volume-container,
.video-review .mute-btn {
    display: none !important;
}

/* Скрываем контролы на неактивных слайдах */
.swiper-slide2:not(.swiper-slide-active) .video-review .video-controls {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Пауза видео при переключении слайдов */
/* .swiper-slide2:not(.swiper-slide-active) .video-player {
    opacity: 0.7;
}

/* ==============================
   АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ
   ============================== */

/* Общие мобильные стили */
@media (max-width: 1200px) {
    .video-player-container {
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .video-player-container {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .video-player-container {
        max-width: 90%;
        margin: 0 auto 20px;
    }
    
    .video-controls {
        padding: 15px 10px 5px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6), transparent);
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .time-display {
        font-size: 12px;
        min-width: 85px;
    }
    
    .volume-container:hover .volume-slider {
        width: 60px;
    }
    
    .progress-container {
        bottom: 55px;
    }
    
    .poster-play-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Для видеоплеера в слайдере отзывов */
    .video-review .video-controls {
        padding: 12px 8px 4px;
    }
    
    .video-review .control-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .video-review .time-display {
        font-size: 11px;
        min-width: 75px;
    }
    
    .video-review .progress-container {
        bottom: 48px;
    }
    
    .video-review .poster-play-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Исправление положения стрелок Swiper */
    .swiper-button-next2,
    .swiper-button-prev2 {
        width: 40px !important;
        height: 40px !important;
        top: 50% !important;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
    }
    
    .swiper-button-next2 {
        right: 5px !important;
    }
    
    .swiper-button-prev2 {
        left: 5px !important;
    }
    
    /* Уменьшаем контейнер в слайдере на мобильных */
    .swiper-slide2 .video-player-container {
        max-width: 95%;
        margin: 0 auto 15px;
    }
}

@media (max-width: 576px) {
    .video-player-container {
        max-width: 95%;
        border-radius: 8px;
    }
    
    .controls-left, .controls-right {
        gap: 10px;
    }
    
    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .time-display {
        font-size: 11px;
        min-width: 75px;
    }
    
    .volume-container:hover .volume-slider {
        width: 50px;
    }
    
    .video-review .control-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .video-review .time-display {
        font-size: 10px;
        min-width: 70px;
    }
    
    .video-review .progress-container {
        bottom: 45px;
    }
    
    .video-review .poster-play-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* Стрелки Swiper на очень маленьких экранах */
    .swiper-button-next2,
    .swiper-button-prev2 {
        width: 35px !important;
        height: 35px !important;
    }
    
    .swiper-button-next2:after,
    .swiper-button-prev2:after {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .video-player-container {
        max-width: 100%;
        border-radius: 6px;
        margin-bottom: 15px;
    }
    
    .video-controls {
        padding: 12px 8px 4px;
    }
    
    .control-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
        min-width: 34px;
        min-height: 34px;
    }
    
    .time-display {
        font-size: 10px;
        min-width: 70px;
    }
    
    /* Скрываем слайдер громкости на маленьких экранах */
    .volume-slider {
        display: none;
    }
    
    .video-review .poster-play-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    /* Полностью убираем стрелки на очень узких экранах */
    @media (max-width: 360px) {
        .swiper-button-next2,
        .swiper-button-prev2 {
            display: none !important;
        }
    }
}

/* ==============================
   Полноэкранный режим
   ============================== */
.video-player-container.fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    background: #000 !important;
    margin: 0 !important;
}

.video-player-container.fullscreen .video-player {
    object-fit: contain !important;
    background-color: #000 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Контролы в полноэкранном режиме */
.video-player-container.fullscreen .video-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent) !important;
    padding-bottom: 20px !important;
}

.video-player-container.fullscreen .progress-container {
    margin: 0 20px 10px 20px !important;
    height: 5px !important;
}

.video-player-container.fullscreen .progress-bar {
    height: 5px !important;
}

.video-player-container.fullscreen .progress-bar::after {
    width: 16px !important;
    height: 16px !important;
}

.video-player-container.fullscreen .controls-bottom {
    padding: 0 20px 15px 20px !important;
}

.video-player-container.fullscreen .control-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.video-player-container.fullscreen .time-display {
    font-size: 16px !important;
    min-width: 120px !important;
}

.video-player-container.fullscreen .volume-container:hover .volume-slider {
    width: 100px !important;
}

/* На мобильных в полноэкранном режиме */
@media (max-width: 768px) {
    .video-player-container.fullscreen .control-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
    
    .video-player-container.fullscreen .progress-container {
        margin: 0 15px 8px 15px !important;
        height: 4px !important;
    }
    
    .video-player-container.fullscreen .controls-bottom {
        padding: 0 15px 10px 15px !important;
    }
}

/* Стили для оверлеев */
.video-play-overlay,
.video-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.video-play-overlay-content,
.video-error-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.video-play-button {
    background: #3498db;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.video-play-button:hover {
    background: #2980b9;
}

.btn-retry {
    background: #ff4757;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
}

.btn-retry:hover {
    background: #ff3742;
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.video-player-container {
    animation: fadeIn 0.5s ease-out;
}

/* Состояние загрузки */
.video-player-container.loading .loading-indicator {
    display: block;
}

/* Исправление для кликабельных элементов */
.video-player-container * {
    -webkit-tap-highlight-color: transparent;
}

.video-controls *,
.poster-play-btn {
    touch-action: manipulation;
}
/* ==============================
   Стили для контейнера видео отзывов
   ============================== */

.video-reviews-container {
  position: relative;
  width: 100%;
  padding: 0 15px;
}

.video-review-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.swiper-slide2 {
  height: auto;
  padding: 10px 0;
}

.video-review .video-player-container {
  max-width: 100% !important;
  margin: 0 0 15px 0 !important;
  border-radius: 8px 8px 0 0 !important;
}

.review-info {
  padding: 15px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}

.review-position {
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

/* Swiper настройки */
.video-reviews-swiper {
  padding: 20px 10px 60px !important;
}

.swiper-button-next2,
.swiper-button-prev2 {
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-next2 {
  right: -5px !important;
}

.swiper-button-prev2 {
  left: -5px !important;
}

.swiper-button-next2:after,
.swiper-button-prev2:after {
  font-size: 20px;
  color: #3498db;
  font-weight: bold;
}

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

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #3498db;
}

/* Адаптивность для видео отзывов */
@media (max-width: 1199px) {
  .video-reviews-swiper {
    padding: 15px 5px 50px !important;
  }
  
  .swiper-button-next2 {
    right: 0 !important;
  }
  
  .swiper-button-prev2 {
    left: 0 !important;
  }
}

@media (max-width: 991px) {
  .video-reviews-swiper {
    padding: 10px 0 50px !important;
  }
  
  .swiper-button-next2,
  .swiper-button-prev2 {
    width: 40px;
    height: 40px;
  }
  
  .swiper-button-next2:after,
  .swiper-button-prev2:after {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .video-review-card {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .video-reviews-swiper {
    padding: 10px 0 40px !important;
  }
  
  .swiper-button-next2,
  .swiper-button-prev2 {
    width: 35px;
    height: 35px;
    display: none; /* На мобильных скрываем стрелки, используем только пагинацию */
  }
  
  .review-name {
    font-size: 16px;
  }
  
  .review-position {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .video-reviews-container {
    padding: 0 5px;
  }
  
  .video-review .video-player-container {
    margin: 0 0 10px 0 !important;
  }
  
  .review-info {
    padding: 12px 15px;
  }
  
  .review-name {
    font-size: 15px;
  }
  
  .review-position {
    font-size: 12px;
  }
}
/* ==============================
   ИСПРАВЛЕНИЯ ДЛЯ SWIPER С ВИДЕО ОТЗЫВАМИ
   ============================== */

/* Контейнер Swiper */
.video-reviews-swiper-container {
    position: relative;
    width: 100%;
    padding: 20px 0 60px;
}

/* Обертка для видео отзыва в Swiper */
.video-review-wrapper {
    padding: 0 15px;
    height: 100%;
}

/* Карточка видео отзыва */
.video-review-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Видео плеер внутри карточки */
.video-review-card .video-player-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 12px 12px 0 0 !important;
    height: 250px;
}

/* Информация об отзыве */
.review-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.review-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.review-position {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Swiper настройки */
.mySwiper2 {
    padding: 10px 0 50px !important;
    overflow: hidden !important;
}

.mySwiper2 .swiper-slide {
    height: auto;
  opacity: 1;  <-- 0.7  ЭТО СОЗДАЕТ ЗАСВЕТКУ!
    transition: opacity 0.3s ease;
    padding: 10px 0;
}

.mySwiper2 .swiper-slide-active {
    opacity: 1;
}

/* Навигация Swiper */
.mySwiper2 .swiper-button-next,
.mySwiper2 .swiper-button-prev {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    color: #3498db;
    transition: all 0.3s ease;
}

.mySwiper2 .swiper-button-next:hover,
.mySwiper2 .swiper-button-prev:hover {
    background: #f8f9fa;
    transform: translateY(-50%) scale(1.1);
}

.mySwiper2 .swiper-button-next:after,
.mySwiper2 .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.mySwiper2 .swiper-button-next {
    right: 10px !important;
}

.mySwiper2 .swiper-button-prev {
    left: 10px !important;
}

/* Пагинация Swiper - ТОЧКИ */
.mySwiper2 .swiper-pagination {
    bottom: 10px !important;
    z-index: 10;
}

.mySwiper2 .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.mySwiper2 .swiper-pagination-bullet-active {
    background: #3498db;
    transform: scale(1.2);
}

/* ==============================
   АДАПТИВНОСТЬ ДЛЯ ВИДЕО ОТЗЫВОВ
   ============================== */

@media (min-width: 992px) {
    .mySwiper2 .swiper-slide {
        width: calc(50% - 15px) !important;  <-- ИЗМЕНИТЕ 30px НА 15px
        margin-right: 15px !important;  <-- УМЕНЬШИТЕ ОТСТУП
    }
}

@media (max-width: 1199px) {
    .video-review-card .video-player-container {
        height: 220px;
    }
    
    .mySwiper2 .swiper-button-next {
        right: -15px;
    }
    
    .mySwiper2 .swiper-button-prev {
        left: -15px;
    }
}

@media (max-width: 991px) {
    .video-reviews-swiper-container {
        padding: 15px 0 50px;
    }
    
    .video-review-wrapper {
        padding: 0 10px;
    }
    
    .video-review-card .video-player-container {
        height: 200px;
    }
    
    .review-info {
        padding: 15px;
    }
    
    .review-name {
        font-size: 16px;
    }
    
    .review-position {
        font-size: 13px;
    }
    
    .mySwiper2 .swiper-button-next,
    .mySwiper2 .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .mySwiper2 .swiper-button-next:after,
    .mySwiper2 .swiper-button-prev:after {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .video-reviews-swiper-container {
        padding: 10px 0 40px;
    }
    
    .video-review-wrapper {
        padding: 0 5px;
    }
    
    .video-review-card .video-player-container {
        height: 180px;
    }
    
    .review-info {
        padding: 12px;
    }
    
    .review-name {
        font-size: 15px;
    }
    
    .review-position {
        font-size: 12px;
    }
    
    .mySwiper2 .swiper-button-next,
    .mySwiper2 .swiper-button-prev {
        display: none; /* На мобильных показываем только пагинацию */
    }
    
    .mySwiper2 .swiper-pagination {
        bottom: 5px !important;
    }
}

@media (max-width: 576px) {
    .video-review-card .video-player-container {
        height: 160px;
    }
    
    .review-info {
        padding: 10px;
    }
    
    .review-name {
        font-size: 14px;
    }
    
    .review-position {
        font-size: 11px;
    }
    
    .mySwiper2 .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px !important;
    }
}
/* Фикс для горизонтального скролла */
.video-reviews-swiper-container {
    position: relative;
    width: 100%;
    padding: 20px 0 60px;
    overflow: hidden; /* Добавьте это */
}

/* Обертка Swiper */
.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Слайд Swiper */
.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box; /* Важно! */
}


/* Фикс для стрелок навигации */
.mySwiper2 .swiper-button-next {
    right: -15px; /* Уменьшим отступ */
}

.mySwiper2 .swiper-button-prev {
    left: -15px; /* Уменьшим отступ */
}
/* ФИКС ДЛЯ ГОРИЗОНТАЛЬНОГО СКРОЛЛА */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    overflow-x: hidden;
}

.video-reviews-swiper-container * {
    box-sizing: border-box;
}

/* Принудительный сброс для Swiper */
.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

/* Фикс для слайдов */
.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}
