ol, ul {
  list-style: none;
  margin-block-end: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.border-bottom {
  border-bottom: 1px solid #E4EBF1 !important;
}

.text-primary {
  color: #CF3425 !important;
  opacity: 1;
}

.text-success {
  color: #04BD6C !important;
  opacity: 1;
}

.text-default {
  color: #4E5561 !important;
}

.text-muted {
  color: #677788 !important;
}

.btn.btn-success-light {
  background-color: rgba(4, 189, 108, 0.1);
  color: #04BD6C;
}

.btn.btn-success-light:hover, .btn.btn-success-light:focus, .btn.btn-success-light:active {
  background-color: #04BD6C;
  color: #FFF;
  border-color: #04BD6C;
}
.btn.btn-danger-light {
  background-color: rgba(255, 0, 0, 0.1);
  color: #FF0000;
}
.btn.btn-danger-light:hover, .btn.btn-danger-light:focus, .btn.btn-danger-light:active {
  background-color: #FF0000;
  color: #FFF;
  border-color: #FF0000;
}

/* Размер шрифта */

.fs-sm {
  font-size: 0.6875rem;
}

.fs-base {
  font-size: 0.875rem;
}

.fs-lg {
  font-size: 1.125rem;
}

.fs-1 {
  font-size: 0.0625rem;
}

.fs-2 {
  font-size: 0.125rem;
}

.fs-3 {
  font-size: 0.1875rem;
}

.fs-4 {
  font-size: 0.25rem !important;
}

.fs-5 {
  font-size: 0.3125rem !important;
}

.fs-6 {
  font-size: 0.375rem !important;
}

.fs-7 {
  font-size: 0.4375rem;
}

.fs-8 {
  font-size: 0.5rem !important;
}

.fs-9 {
  font-size: 0.5625rem;
}

.fs-10 {
  font-size: 0.75em !important;
}

.fs-11 {
  font-size: 0.6875rem;
}

.fs-12 {
  font-size: 0.75rem;
}

.fs-13 {
  font-size: 0.8125rem !important;
}

.fs-14 {
  font-size: 0.875rem !important;
}

.fs-15 {
  font-size: 0.9375rem;
}

.fs-16 {
  font-size: 1rem;
}

.fs-17 {
  font-size: 1.0625rem;
}

.fs-18 {
  font-size: 1.125rem;
}
@media (max-width: 991.98px) {
  .fs-18 {
    font-size: 1.0625rem;
  }
}
@media (max-width: 767.98px) {
  .fs-18 {
    font-size: 1rem;
  }
}

.fs-19 {
  font-size: 1.1875rem;
}

.fs-20 {
  font-size: 1.25rem;
}
@media (max-width: 991.98px) {
  .fs-20 {
    font-size: 1.0625rem;
  }
}
@media (max-width: 767.98px) {
  .fs-20 {
    font-size: 1rem;
  }
}

.fs-21 {
  font-size: 1.3125rem;
}
@media (max-width: 991.98px) {
  .fs-21 {
    font-size: 1.0625rem;
  }
}
@media (max-width: 767.98px) {
  .fs-21 {
    font-size: 1rem;
  }
}

.fs-22 {
  font-size: 1.375rem;
}
@media (max-width: 991.98px) {
  .fs-22 {
    font-size: 1.0625rem;
  }
}
@media (max-width: 767.98px) {
  .fs-22 {
    font-size: 1rem;
  }
}

.fs-23 {
  font-size: 1.4375rem;
}
@media (max-width: 991.98px) {
  .fs-23 {
    font-size: 1.25rem;
  }
}
@media (max-width: 767.98px) {
  .fs-23 {
    font-size: 1rem;
  }
}

.fs-24 {
  font-size: 1.5rem;
}

.fs-25 {
  font-size: 1.5625rem;
}

.fs-26 {
  font-size: 1.625rem;
}

.fs-27 {
  font-size: 1.6875rem;
}

.fs-28 {
  font-size: 1.75rem;
}

.fs-29 {
  font-size: 1.8125rem;
}

.fs-30 {
  font-size: 1.875rem;
}

.fs-32 {
  font-size: 2rem;
}
@media (max-width: 991.98px) {
  .fs-32 {
    font-size: 28px;
  }
}
@media (max-width: 767.98px) {
  .fs-32 {
    font-size: 24px;
  }
}

.fs-34 {
  font-size: 2.125rem;
}

.fs-36 {
  font-size: 2.25rem;
}

.fs-38 {
  font-size: 2.375rem;
}

.fs-40 {
  font-size: 2.5rem;
}
/* Размер шрифта конец */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: #111827;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}

/* Заголовок */
.tour-header { margin-bottom: 24px; }
.rating-summary { display: flex; align-items: center; margin-bottom: 8px; font-size: 14px; }
.stars { color: #ffb400; }
.reviews-count { color: #888; text-decoration: none; }
.tour-title { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: #1a1a1a; line-height: 1.2; }

/* Галерея Desktop */
.tour-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px; margin-bottom: 40px; }
.gallery-item { position: relative; border-radius: 6px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.03); }
.main-photo { grid-column: 1 / 2; grid-row: 1 / 3; }
.more-overlay { 
    position: absolute; 
    inset: 0; /* Это заменяет top, left, right, bottom: 0 */
    background: rgba(0,0,0,0.5); 
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    font-weight: 700; 
    z-index: 10; /* Добавь это, чтобы быть выше картинки */
    pointer-events: none;
    border-radius: 6px; /* Чтобы углы оверлея не вылезали за радиус карточки */
}
/* Контент и Бронирование */
.tour-content-layout { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start; }
.tour-main-info h2 { margin-bottom: 20px; font-size: 24px; }
.tour-description { font-size: 16px; line-height: 1.6; color: #444; }
.booking-card { position: sticky; top: 100px; background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.price-big { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.btn-booking { width: 100%; background: #007bff; color: #fff; border: none; padding: 16px; border-radius: 12px; font-weight: 700; font-size: 16px; cursor: pointer; }

/* Мобильные стили */
.mobile-slider-wrap { display: none; width: 100%; position: relative; }

@media (max-width: 1199px) {
    .tour-content-layout { grid-template-columns: 1fr; }
    .booking-card { position: static; margin-top: 40px; }
}

@media (max-width: 768px) {
    .breadcrumbs-nav, .tour-gallery { display: none !important; }
    .mobile-slider-wrap { display: block; }
    .swiper { width: 100%; height: 76vw; }
    .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
    .slider-badge { position: absolute; top: 12px; left: 12px; background: #ff5722; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; z-index: 10; }
    .slider-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.6); color: #fff; padding: 2px 10px; border-radius: 20px; font-size: 12px; z-index: 10; }
    .container { width: 100%; }
    .tour-header, .tour-content-layout { padding: 0 5px; display: block !important; width: 100%;}
    .tour-header { margin-top: 20px; }
    .tour-title { font-size: 22px; }
    .booking-sidebar { padding: 0 16px; }
}

.tour-features-generic {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-features-generic li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #444;
}

.tour-features-generic li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tour-features-generic li .text-danger {
    color: #dc3545;
    font-weight: 500;
}

/* На мобилках в основной части можно сделать в 2 колонки, если место позволяет */
@media (min-width: 768px) {
    .tour-main-info .tour-features-generic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 40px;
    }
}

/* Мобильный блок видео (в центре) */
.mobile-only {
    display: block !important; /* Виден по умолчанию */
}

@media (min-width: 1200px) {
    .mobile-only {
        display: none !important; /* Прячем на десктопе */
    }
}

/* Сайдбар и видео в нем */
.desktop-only {
    display: none !important; /* Скрыт на мобилках и планшетах */
}

@media (min-width: 1200px) {
    .desktop-only {
        display: block !important; /* Показываем только на 1200+ */
    }
}

@media (max-width: 400px) {
    /* 1. Уменьшаем размер шрифта на кнопках */
    .program-header-box .btn-sm{
        font-size: 12px !important;
    }
}

/* Мобильная секция цены тура */
.price-section__mobile .tour-price__value {
    font-size: 20px;
    font-weight: 600;
    color: var(--green-price);
}

.price-section__mobile .tour-price__currency{
    font-size: 14px;
    color: var(--light);
}

.price-section__mobile .tour-price__label{
    font-size: 12px;
    color: var(--gray);
}

/* Фиксированная панель снизу на мобиле */
.fixed-panel {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
          box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
  padding: 12px 6px;
  background-color: #ffffff;
  z-index: 1040;
}
.fixed-panel a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #222222;
  font-size: 16px;
  position: relative;
}
.fixed-panel a i {
  margin-right: 10px;
}
.fixed-panel a.theme-color {
  color: #FF4C3B;
}

/* Специальный класс для мобильной секции "О туре" */
.about-tour.mobile-only {
    display: block;
    width: 100%;
}

/* Блок о туре */
.about-tour.mobile-only .tour-info-wrapper {
    display: flex;
    flex-direction: column; /* Выстраиваем в колонку */
    gap: 12px; /* Расстояние между пунктами */
}

/* Стили для каждой строки (иконка + текст) */
.about-tour.mobile-only .tour-info-item { /* проверь класс в about-tour.html, если там другой - замени */
    display: flex;
    align-items: flex-start; /* Чтобы текст не прыгал, если он длинный */
    gap: 15px;
    font-size: 15px;
    line-height: 1.4;
}

/* Фикс для иконок, чтобы они не наезжали на текст */
.about-tour.mobile-only i, 
.about-tour.mobile-only img {
    flex-shrink: 0; /* Чтобы иконка не сжималась */
    width: 20px;
    text-align: center;
    color: #4E5561;
}

/* Красный текст для предупреждений (например, для беременных) */
.about-tour.mobile-only .text-danger {
    color: #CF3425 !important;
    font-weight: 500;
}

/* Карточка отзыва */
.rev-v2-card {
    background: #ffffff;
    border: 1px solid #eef0f2; /* Светло-серая рамка как на скрине */
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.rev-v2-header {
    margin-bottom: 16px;
}

.rev-v2-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Аватарка */
.rev-v2-avatar-wrap {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.rev-v2-avatar, .rev-v2-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.rev-v2-avatar-placeholder {
    background: #d1d5db;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* Имя и звезды отзывы */
.rev-v2-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.rev-v2-rating {
    color: #ffb400; /* Золотой цвет звезд */
    font-size: 13px;
}

/* Текст отзыва */
.rev-v2-body {
    margin-bottom: 20px;
}

.rev-v2-text {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    word-wrap: break-word;
}

/* Футер с датой */
.rev-v2-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 14px;
}

.rev-v2-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.rev-v2-date i {
    font-size: 14px;
    color: #9ca3af;
}

/* Убираем лишние стили у ссылок */
.text-decoration-none { text-decoration: none; }
.fw-600 { font-weight: 600; }

/* Выбор рейтинга звездами (от 5 до 1) */
.rating-selection {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-selection input {
    display: none;
}

.rating-selection label {
    cursor: pointer;
    font-size: 24px;
    color: #d1d5db; /* Серый по умолчанию */
    transition: color 0.2s;
}

.rating-selection label:hover,
.rating-selection label:hover ~ label,
.rating-selection input:checked ~ label {
    color: #ffb400; /* Золотой при наведении и выборе */
}

/* Поле ввода */
.form-control {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 15px;
    background: #fff;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.fw-600 { font-weight: 600; }


/* Инфо блок в туре */
.highlight-box {
  background: var(--info);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 8px;
}
.highlight-box p i {
  margin-right: 10px;
}
.highlight-box:last-child {
  margin-bottom: 0;
}

/* Если иконка всё равно кажется выше на 1-2 пикселя (особенности шрифта) */
.btn-border i.isax {
    line-height: 1;
    display: inline-block;
    position: relative;
    top: 1px;
}


/* Мини-карточка видео в сайдбаре */
.video-card-mini {
    transition: transform 0.3s ease;
}

.video-card-mini:hover {
    transform: scale(1.02);
}

.video-mini-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.video-card-mini:hover .video-mini-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Компактная стеклянная кнопка Play */
.play-glass-circle {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-glass-circle i {
    font-size: 20px;
    margin-left: 3px; /* Оптическая центровка */
}

.video-card-mini:hover .play-glass-circle {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(var(--bs-primary-rgb), 0.5);
}

/* Убираем стандартный декор Bootstrap для ссылок */
.video-card-mini:focus {
    outline: none;
    box-shadow: none;
}

#video.card {
    border-radius: 20px !important;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.video-card-mini {
    border-radius: 16px !important;
}

/* Контейнер карточки видео */
.video-card-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15) !important;
}

/* Градиентный оверлей */
.video-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
    transition: background 0.3s ease;
}

.video-card-wrapper:hover .video-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.9) 100%);
}

/* Кнопка Play */
.play-circle {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(5px); /* Эффект матового стекла для Safari */
    backdrop-filter: blur(5px); /* Тот самый эффект матового стекла */
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-circle i {
    font-size: 24px;
    margin-left: 4px; /* Центровка иконки play визуально */
}

.video-card-wrapper:hover .play-circle {
    background: var(--bs-primary); /* Цвет бренда при наведении */
    border-color: var(--bs-primary);
    transform: scale(1.1);
}

/* Обрезка длинного текста в одну строку */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.glass-icon {
    display: inline-flex;
    padding: 6px;
    background: rgba(0,0,0,0.3);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 10px;
}

.tour-gallery-slider{
    display: block;
    max-width: 500px; /* Ограничиваем ширину */
}
.tour-gallery-slider img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Сделает фото идеально квадратным */
    object-fit: cover;
    border-radius: 8px;
}

.highlights-section i {
  color: var(--light);
}