:root { 
    --primary: #CF3425; 
    --text: #1a1a1a; 
    --gray: #505050;
    --light: #707070;
    --info: #FFFAEE;
    --yellow: #fdf2d9;
    --green-price: #009253;
  }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

*, ::after, ::before {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body { 
    background: #fff; 
    color: var(--text); 
    -webkit-font-smoothing: antialiased; }


main {
    display: block !important; /* Убеждаемся, что main не flex */
    width: 100% !important;
    overflow: hidden;
}    

/* Единый контейнер для всего сайта */
.container { 
    max-width: 1700px;
    margin: 0 auto; 
    padding: 0 15px;
}

@media (max-width: 768px) {
    /* Убираем лишние отступы у главного контейнера на мобилках */
    .container {
        width: 100% !important; /* Растягиваем на всю ширину */
        padding-left: 10px !important; /* Уменьшаем боковой зазор до минимума */
        padding-right: 10px !important;
    }

    /* Если хочешь, чтобы фото вообще было в край (без зазоров), 
       а текст чуть отступал, добавь это: */
    .card-image-wrap {
        margin-left: -10px;
        margin-right: -10px;
    }
}

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 {
  background-color: rgba(4, 189, 108, 0.1);
  color: var(--green-price);
}

.btn.btn-success:hover, .btn.btn-success:focus, .btn.btn-success:active {
  background-color: #04BD6C;
  color: #FFF;
  border-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;
}

/*============================
    1.Font Sizes (Размер шрифта)
============================*/

.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;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: auto;
    width: auto;
    display: block;
}

.header-help {
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
    cursor: pointer;
}

/* Базовая структура хедера */
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px; /* Расстояние между лого, поиском и правой частью */
}

.header-left {
    flex-shrink: 0;
}

/* Поиск теперь гибкий и занимает центр */
.header-search {
    flex: 1; 
    max-width: 500px; /* Не даем ему быть слишком огромным */
}

/* Контейнер поиска, который ловит фокус search.js */
.search-box-wrapper {
    position: relative; /* Критично для абсолютного позиционирования результатов */
    background: #f5f5f5;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
}

.search-box-wrapper input {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    margin-left: 10px;
    font-size: 14px;
}

/* Кнопка очистки (крестик) */
.clear-icon {
    font-size: 18px;
    color: #ccc;
    cursor: pointer;
    margin-left: 8px;
}
.clear-icon:hover { color: #888; }

/* === ВЫПАДАЮЩИЙ СПИСОК РЕЗУЛЬТАТОВ (ФИКС) === */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
    padding: 10px;
}

/* Стили для элементов внутри результатов, чтобы они не были гигантскими */
.search-dropdown a {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
}
.search-dropdown a:hover {
    background-color: #f8f9fa;
}

/* Правая часть: навигация и личный кабинет в один ряд */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px; /* Расстояние между пунктами меню, флагом и входом */
    flex-shrink: 0;
}

/* Стили для ссылок навигации и входа */
.nav-links-main{
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: var(--text);
}

.nav-links-main a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap; /* Чтобы текст не прыгал на две строки */
}

/* Счетчик избранного */
.wishlist-link {
    position: relative;
    font-size: 22px;
    color: #1a1a1a;
    display: flex;
    text-decoration: none;
}

.wishlist-link .count-icon {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #007bff;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1;
}

/* Флаг */
.flag-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 14px;
}

/* Чистая шапка */
.navbar { 
    height: 72px; 
    background: #fff; 
    border-bottom: 1px solid #f0f0f0; 
    display: flex; 
    align-items: center; 
    position: static !important;
    top: 0; 
    z-index: 1000; }
    

/* ===== MOBILE FULL HEADER + MENU ===== */
.mobile-menu {
    display: none;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {

    /* ============================= */
    /* СКРЫВАЕМ ДЕСКТОП */
    /* ============================= */
    .desktop-only,
    .wishlist-link,
    .profile-dropdown,
    .nav-links-main {
        display: none !important;
    }

    /* ============================= */
    /* HEADER MOBILE */
    /* ============================= */
    .navbar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-left {
        flex: 0 0 auto;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    /* ============================= */
    /* MOBILE ELEMENTS */
    /* ============================= */
    .mobile-only {
        display: flex;
        align-items: center;
    }

    /* ПОИСК (иконка) */
    .mobile-search i {
        cursor: pointer;
    }

    /* ЯЗЫК */
    .flag-dropdown img {
        width: 18px;
        height: auto;
    }

    .flag-dropdown span {
        font-size: 14px;
        font-weight: 600;
    }

    /* ============================= */
    /* BURGER */
    /* ============================= */
    /* ============================= */
/* BURGER FIX */
/* ============================= */
.header-right .burger.mobile-only {
    display: flex !important; /* Принудительно возвращаем флекс */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    width: 30px;  /* Задаем четкую ширину */
    height: 30px; /* Задаем четкую высоту, чтобы спаны не слипались */
    padding: 0;
    background: transparent;
    border: none;
}

.header-right .burger.mobile-only span {
    width: 22px;
    height: 2px;
    background: #333333; /* Сделал чуть темнее для четкости */
    display: block !important;
    transition: 0.3s;
    border-radius: 2px;
}

/* Фикс для того, чтобы бургер не превращался в "палку" на маленьких экранах */
@media (max-width: 991px) {
    .burger.mobile-only {
        display: flex !important;
    }
}

    /* ============================= */
    /* MOBILE MENU */
    /* ============================= */
    .mobile-menu {
        position: fixed;
        inset: 0;
        background: #f5f5f5;
        z-index: 9999;
        display: block;

        transform: translateY(-100%);
        transition: 0.35s ease;
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    /* TOP BAR */
    .mobile-top {
        height: 60px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        border-bottom: 1px solid #eee;
    }

    .mobile-close {
        font-size: 24px;
        cursor: pointer;
    }

    .mobile-icons {
        display: flex;
        gap: 15px;
        font-size: 20px;
    }

    /* CONTENT */
    .mobile-content {
        padding: 20px;
    }

    /* AUTH BUTTONS */
    .mobile-auth {
        display: flex;
        gap: 10px;
        margin-bottom: 25px;
    }

    .btn-auth {
        flex: 1;
        padding: 8px;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 10px;
        text-decoration: none;
        color: #000;
        font-weight: 500;
        background: #fff;
    }

    /* NAV */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .mobile-nav a {
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        color: var(--gray);
    }

    .mobile-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}    

/* Крошки */
.breadcrumbs-nav { 
    padding: 16px 0; 
    background: #fff; 
    position: static !important;
    margin-top: 0 !important;
}

.breadcrumbs-list { 
    display: flex !important; 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0; 
    gap: 8px; 
    align-items: center; 
}

.breadcrumbs-list a { 
    color: #8e8f8f; 
    text-decoration: none; 
    display: flex;
    align-items: center;
}

.breadcrumbs-list a:hover {
    text-decoration: none;
    color: #303030; 
}

.breadcrumbs-list span.sep { 
    color: #ccc; 
    font-size: 12px;
}

.breadcrumbs-list li.active { 
    color: #1a1a1a; 
    font-weight: 500; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Если название тура гигантское, оно красиво сократится */
    max-width: 500px; 
}

/* Скрываем на мобилках, как договорились */
@media (max-width: 768px) {
    .breadcrumbs-nav {
        display: none !important;
    }
}

/*============================
    2.Avatar и Avatar Group
============================*/

.avatar {
  position: relative;
  height: 2.625rem;
  width: 2.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #FFF;
  font-weight: 500;
}
.avatar a.badge:hover {
  color: #FFF;
}
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}
.avatar.avatar-rounded {
  border-radius: 50%;
}
.avatar.avatar-rounded img {
  border-radius: 50%;
}
.avatar.avatar-radius-0 {
  border-radius: 0;
}
.avatar.avatar-radius-0 img {
  border-radius: 0;
}
.avatar .avatar-badge {
  position: absolute;
  inset-block-start: -4%;
  inset-inline-end: -0.375rem;
  width: 1.4rem;
  height: 1.4rem;
  font-size: 0.625rem;
  border: 2px solid #FFF;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar.online:before, .avatar.offline:before {
  position: absolute;
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  inset-inline-end: 0;
  inset-block-end: 0;
  border: 2px solid #FFF !important;
  z-index: 1;
}
.avatar.online:before {
  background-color: #04BD6C;
}
.avatar.offline:before {
  background-color: #656B76;
}
.avatar.avatar-xs {
  width: 1.25rem;
  height: 1.25rem;
  line-height: 1.25rem;
  font-size: 0.65rem;
}
.avatar.avatar-xs .avatar-badge {
  padding: 0.25rem;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  font-size: 0.5rem;
  inset-block-start: -25%;
  inset-inline-end: -0.5rem;
}
.avatar.avatar-sm {
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  font-size: 0.65rem;
}
.avatar.avatar-sm .avatar-badge {
  padding: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  line-height: 1.1rem;
  font-size: 0.5rem;
  inset-block-start: -28%;
  inset-inline-end: -0.45rem;
}
.avatar.avatar-sm.online:before, .avatar.avatar-sm.offline:before {
  width: 0.5rem;
  height: 0.5rem;
}
.avatar.avatar-sm i {
  font-size: 14px;
}
.avatar.avatar-md {
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  font-size: 0.8rem;
}
.avatar.avatar-md .avatar-badge {
  padding: 0.4rem;
  width: 1.2rem;
  height: 1.2rem;
  line-height: 1.2rem;
  font-size: 0.65rem;
  inset-block-start: -6%;
  inset-inline-end: -13%;
}
.avatar.avatar-md.online:before, .avatar.avatar-md.offline:before {
  width: 0.75rem;
  height: 0.75rem;
}
.avatar.avatar-md svg {
  width: 1.5rem;
  height: 1.5rem;
}
.avatar.avatar-lg {
  width: 2.813rem;
  height: 2.813rem;
  line-height: 2.813rem;
  font-size: 1rem;
}
.avatar.avatar-lg .avatar-badge {
  inset-block-start: -15%;
  inset-inline-end: -0.25%;
}
.avatar.avatar-lg.online:before, .avatar.avatar-lg.offline:before {
  width: 0.8rem;
  height: 0.8rem;
  bottom: -2px;
  right: -2px;
}
.avatar.avatar-lg svg {
  width: 1.8rem;
  height: 1.8rem;
}
.avatar.avatar-xl {
  width: 4rem;
  height: 4rem;
  line-height: 4rem;
  font-size: 1.25rem;
}
.avatar.avatar-xl .avatar-badge {
  inset-block-start: -8%;
  inset-inline-end: -0.2%;
}
.avatar.avatar-xl.online:before, .avatar.avatar-xl.offline:before {
  width: 0.95rem;
  height: 0.95rem;
}
.avatar.avatar-xxl {
  width: 5rem;
  height: 5rem;
  line-height: 5rem;
  font-size: 1.5rem;
}
.avatar.avatar-xxl .avatar-badge {
  inset-block-start: -4%;
  inset-inline-end: 0rem;
}
.avatar.avatar-xxl.online:before, .avatar.avatar-xxl.offline:before {
  width: 1.05rem;
  height: 1.05rem;
  inset-block-end: 0.25rem;
}
.avatar.avatar-xxxl {
  width: 6rem;
  height: 6rem;
  line-height: 6rem;
  font-size: 1.75rem;
}
.avatar.avatar-xxxl .avatar-badge {
  inset-block-start: -4%;
  inset-inline-end: 0rem;
}
.avatar.avatar-xxxl.online:before, .avatar.avatar-xxxl.offline:before {
  width: 1.05rem;
  height: 1.05rem;
  inset-block-end: 0.25rem;
}

.avatar-list-stacked {
  padding: 0;
}
.avatar-list-stacked.avatar-group-overlapped .avatar {
  margin-right: -0.875rem;
}
.avatar-list-stacked.avatar-group-overlapped .avatar:hover {
  z-index: 1;
}
.avatar-list-stacked.avatar-group-lg .avatar {
  width: 3.25rem;
  height: 3.25rem;
}
.avatar-list-stacked.avatar-group-lg .avatar > .initial-wrap {
  font-size: 0.95rem;
}
.avatar-list-stacked.avatar-group-lg.avatar-group-overlapped .avatar {
  margin-right: -1rem;
}
.avatar-list-stacked.avatar-group-md .avatar {
  width: 2.25rem;
  height: 2.25rem;
}
.avatar-list-stacked.avatar-group-md .avatar > .initial-wrap {
  font-size: 0.95rem;
}
.avatar-list-stacked.avatar-group-md.avatar-group-overlapped .avatar {
  margin-right: -1rem;
}
.avatar-list-stacked.avatar-group-sm .avatar {
  width: 2rem;
  height: 2rem;
}
.avatar-list-stacked.avatar-group-sm .avatar > .initial-wrap {
  font-size: 0.6rem;
}
.avatar-list-stacked.avatar-group-sm.avatar-group-overlapped .avatar {
  margin-right: -0.625rem;
}
.avatar-list-stacked.avatar-group-xs .avatar {
  width: 1rem;
  height: 1rem;
  margin-inline-end: -6px !important;
}
.avatar-list-stacked.avatar-group-xs .avatar > .initial-wrap {
  font-size: 0.6rem;
}
.avatar-list-stacked.avatar-group-xs.avatar-group-overlapped .avatar {
  margin-right: -6px;
}
.avatar-list-stacked .avatar {
  margin-inline-end: -0.875rem !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: middle;
  transition: transform ease 200ms;
}
.avatar-list-stacked .avatar:last-child {
  margin-inline-end: 0 !important;
}
.avatar-list-stacked .avatar:hover {
  z-index: 1;
  transform: translateY(-0.188rem);
}

.avatar-group {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.avatar-group .avatar {
  width: 2.625rem;
  height: 2.625rem;
}
.avatar-group .avatar .avatar-img,
.avatar-group .avatar > .initial-wrap {
  border: 2px solid #FFF;
  font-size: 0.9rem;
}
.avatar-group.avatar-group-overlapped .avatar {
  margin-right: -0.875rem;
}
.avatar-group.avatar-group-overlapped .avatar:hover {
  z-index: 1;
}
.avatar-group.avatar-group-lg .avatar {
  width: 3.25rem;
  height: 3.25rem;
}
.avatar-group.avatar-group-lg .avatar > .initial-wrap {
  font-size: 0.95rem;
}
.avatar-group.avatar-group-lg.avatar-group-overlapped .avatar {
  margin-right: -1rem;
}
.avatar-group.avatar-group-sm .avatar {
  width: 2rem;
  height: 2rem;
}
.avatar-group.avatar-group-sm .avatar > .initial-wrap {
  font-size: 0.6rem;
}
.avatar-group.avatar-group-sm.avatar-group-overlapped .avatar {
  margin-right: -0.625rem;
}

/* Секция карусели похожих туров */
.similar-tours-section {
    padding: 40px 0;
    overflow: hidden;
}

/* Контейнер, который скрывает лишнее */
.gyt-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Сама лента скролла */
.gyt-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Липкость: карточка всегда встает ровно */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    -webkit-scrollbar-width: none;
    scrollbar-width: none;
    gap: 20px;
    padding: 10px 0;
}

/* Скрываем скроллбар в Chrome/Safari */
.gyt-slider-track::-webkit-scrollbar {
    display: none;
}

/* Сама карточка */
.gyt-slider-item {
    flex: 0 0 85%; /* На мобиле ширина 85%, чтобы был виден "хвост" */
    scroll-snap-align: start; /* К чему прилипать - к левому краю */
}

/* Планшеты (2.5 карточки) */
@media (min-width: 768px) {
    .gyt-slider-item {
        flex: 0 0 calc(40% - 20px); 
    }
}

/* Десктоп (4 карточки) */
@media (min-width: 1024px) {
    .gyt-slider-item {
        flex: 0 0 calc(25% - 20px);
    }
}

/* Сброс min-width у твоей карточки */
.gyt-slider-item .gyt-card-wrapper {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

.gyt-slider-wrapper {
    position: relative;
    width: 100%;
}

.gyt-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    outline: none;
}

.gyt-slider-nav:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.gyt-slider-nav.prev { left: -22px; }
.gyt-slider-nav.next { right: -22px; }

/* На мобилках и маленьких планшетах стрелки часто лишние */
@media (max-width: 991px) {
    .gyt-slider-nav {
        display: none; 
    }
}

/* Фикс, чтобы трек не обрезал тени кнопок */
.gyt-slider-container {
    padding: 10px 0;
}
/* Секция карусели похожих туров конец */

.mobile-price-label {
    color: #5f0c0c;
    font-size: 12px;
    font-weight: 700;
}

/* 1. Общий фон и отступы для футера */
.footer {
    background: #F5F8FA;
    padding-top: 60px;
    color: #4E5561;
}

/* Сетка и отступы */
.footer .footer-top {
    padding-bottom: 40px;
}

/* Заголовки с красной полоской (Компания, Меню, Поддержка) */
.footer .footer-widget h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: #111827;
}

.footer .footer-widget h5::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background: #CF3425; /* Красная линия */
    border-radius: 2px;
}

/* Списки меню */
.footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-menu li {
    margin-bottom: 12px;
}

.footer .footer-menu li a {
    color: #4E5561;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer .footer-menu li a:hover {
    color: #CF3425;
    padding-left: 5px; /* Легкий эффект при наведении */
}

/* Соцсети (Белые кружочки) */
.footer .social-icon {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.footer .social-icon li a {
    width: 36px;
    height: 36px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-icon li a:hover {
    background: #CF3425;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Нижняя часть (Copyright) */
.footer .footer-bottom {
    background: #F1F4F7;
    border-top: 1px solid #E4EBF1;
    padding: 20px 0;
}

.footer .footer-bottom p {
    margin-bottom: 0;
    width: 100%;
}

@media (max-width: 991px) {
    /* Добавляем отступ сверху для всех колонок, кроме первой */
    .footer .footer-widget {
        margin-top: 30px; 
    }

    /* Увеличиваем расстояние именно между иконками и первым заголовком */
    .footer .social-icon {
        margin-bottom: 10px;
    }
}

/* Контейнер для скролла категорий */
.category-scroll-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    display: block;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

/* Убираем полосу прокрутки (опционально, для чистоты) */
.category-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

/* Стили самой навигации */
.theme-tab {
    border-bottom: none !important;
    display: flex !important;
    flex-wrap: nowrap !important; /* Запрещаем перенос на новую строку */
    gap: 8px; /* Расстояние между кнопками */
}

/* Стиль каждой кнопки-ссылки */
.theme-tab .nav-item .nav-link {
    border: 1px solid #E4EBF1 !important;
    color: #4E5561 !important;
    border-radius: 6px !important;
    background: #fff !important;
    padding: 8px 16px !important;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Стиль активной кнопки */
.theme-tab .nav-item .nav-link.active {
    border-color: #CF3425 !important; /* Красная рамка */
    color: #CF3425 !important;
    background: #fff !important;
    box-shadow: 0 2px 4px rgba(207, 52, 37, 0.1);
}

/* При наведении */
.theme-tab .nav-item .nav-link:hover:not(.active) {
    border-color: #CF3425;
    color: #CF3425;
}

/* Общие стили панели */
.sorting-panel {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee; /* Тонкая линия снизу для разделения */
}

.sorting-count {
    font-size: 16px;
}

/* Кнопка вызова сортировки */
.sort-trigger {
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
    color: #111827 !important;
}

.sort-trigger:hover {
    background: #f5f8fa;
}

.sort-trigger i {
    font-size: 18px;
    color: #111827;
}

/* Выпадающий список */
.dropdown-menu {
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    color: #4E5561;
}

.dropdown-item.active, 
.dropdown-item:active {
    background-color: #f5f8fa !important;
    color: #CF3425 !important;
    font-weight: 600;
}

/* Адаптив для мобилок */
@media (max-width: 576px) {
    .sorting-panel {
        justify-content:间-between !important;
        flex-wrap: nowrap !important;
    }
    
    .sorting-count {
        font-size: 14px;
    }
    
    .sort-trigger span {
        font-size: 14px;
    }
}


/* Специфичные настройки для мобильных устройств */
@media (max-width: 991px) {
    .page-title-section {
        /* Можно также чуть уменьшить размер шрифта h1, чтобы на мобиле не занимал пол-экрана */
        h1 {
            font-size: 30px;
            line-height: 1.3;
            margin-bottom: 20px;
        }
    }
}

/* Если у тебя ОЧЕНЬ узкий экран (маленькие телефоны) */
@media (max-width: 768px) {
    .page-title-section {
        padding-top: 20px;
    }
}

.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal.active { display: flex; }

.auth-modal-content {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Запрет прокрутки body */
body.no-scroll { overflow: hidden; }

.auth-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    border: none; background: none;
    font-size: 20px; color: #999; cursor: pointer;
}

.auth-modal-icon { font-size: 50px; margin-bottom: 20px; }
.auth-modal-content h3 { font-size: 24px; margin-bottom: 10px; font-weight: 700; }
.auth-modal-content p { color: #666; margin-bottom: 30px; line-height: 1.4; }

.auth-modal-actions { display: flex; flex-direction: column; gap: 10px; }

.btn-auth-confirm {
    background: #000; color: #fff; padding: 15px;
    border-radius: 14px; text-decoration: none; font-weight: 600;
}

.btn-auth-cancel {
    background: #f0f0f0; border: none; padding: 15px;
    border-radius: 14px; font-weight: 600; cursor: pointer;
}

/* Стили модалки фаворита */
.gyt-modal-overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gyt-modal-overlay.active { display: flex; }
.gyt-modal-content {
    background: #fff;
    padding: 40px 30px;
    border-radius: 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.gyt-modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 20px; color: #ccc; cursor: pointer; }
.gyt-btn-primary { background: #000; color: #fff; padding: 16px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 16px; }
.gyt-btn-secondary { background: #f4f4f4; color: #000; padding: 16px; border-radius: 14px; border: none; font-weight: 600; cursor: pointer; }

/* Запрет прокрутки страницы */
body.no-scroll { overflow: hidden !important; height: 100vh !important; }


/* Аккордеон блоки */

.faq-accordion .accordion-item {
  border: 1px solid #E4EBF1 !important;
}
.faq-accordion .accordion-item .accordion-button {
  font-size: 16px;
  border-radius: 5px;
}
.faq-accordion .accordion-item .accordion-button:not(.collapsed) {
  color: #CF3425;
  background-color: transparent;
  box-shadow: none;
}
.faq-accordion .accordion-item .accordion-button:not(.collapsed):after {
  content: "\ea47";
  color: #CF3425;
}
.faq-accordion .accordion-item .accordion-button:after {
  font-family: "iconsax";
  content: "\ea48";
  -webkit-transform: none;
  transform: none;
  -ms-transform: none;
}
.faq-accordion .accordion-item .accordion-body {
  border-top: 1px solid #E4EBF1;
  padding-top: 16px;
  font-size: 14px;
}
.faq-accordion .accordion-item.show {
  box-shadow: 0px 4px 24px 0px rgba(194, 194, 194, 0.25);
}
.accordion-button {
  background-color: #FFF;
  color: #000;
  padding: 1rem 1rem;
  font-size: 20px;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .accordion-button {
    font-size: 16px;
  }
}
.accordion-button:not(.collapsed) {
  color: #000;
  background-color: transparent;
  box-shadow: none;
}
.accordion-button:not(.collapsed):after {
  content: "\f068";
  color: #4E5561;
  background-image: none;
}
.accordion-button:focus {
  border-color: rgba(207, 52, 37, 0.3);
  box-shadow: none;
}
.accordion-button:after {
  background-image: none;
}
.accordion-button:after {
  content: "+";
  font-family: "Fontawesome";
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3.125rem;
  color: #4E5561;
}

.accordion-body {
  padding: 0 1rem 1rem;
  font-size: 16px;
  color: #4E5561;
}

.accordion-item {
  color: #4E5561;
  background-color: #FFF;
  border: 1px solid #E4EBF1;
  border-radius: 5px;
  position: relative;
}

/* Стрелка у ссылки отзывов и частыхз вопросов */

.btn-border {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
}

/* Модалка поиска туров на мобилке */
.filter-modal .modal-header {
  border-bottom: none;
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
          box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
  justify-content: space-between;
}
.filter-modal .modal-header i {
  font-size: 18px;
  color: #222222;
}

.filter-modal .modal-header a {
  font-size: 16px;
  font-weight: 500;
  color: #FF4C3B !important;
}

.close-modal {
  text-decoration: none;
}

.clear-icon {
  position: absolute;
  right: 30px;
  top: 44%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: #999;
  z-index: 10;
}
.clear-icon:hover {
  color: #333;
}

.similar-post-content a:hover {
    color: #c45e4c !important;
    text-decoration: none !important;
}

.similar-post-content a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Контейнер для плиток — на десктопе сетка, на мобилке скролл */
.categories-tiles-grid {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.categories-tiles-grid::-webkit-scrollbar { display: none; }

/* На десктопе превращаем в аккуратную сетку, если категорий мало */
@media (min-width: 992px) {
    .categories-tiles-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        overflow: visible;
    }
}

.cat-tile-link {
    text-decoration: none !important;
    flex: 0 0 160px; /* Ширина на мобилке */
}

.cat-tile {
    position: relative;
    height: 120px; /* Компактная высота плитки */
    background-color: #eee;
    transition: all 0.3s ease;
}

.cat-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Оверлей (плашка с текстом) */
.cat-tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.cat-tile-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.2;
}

/* Эффекты при наведении */
.cat-tile-link:hover .cat-tile {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.cat-tile-link:hover .cat-tile-img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .cat-tile { height: 100px; }
    .cat-tile-name { font-size: 12px; }
}

/* Фоновые цвета контейнеров */
.hub-container { background-color: #fdf2d9; }
.hub-bg-green { background-color: #e8f3ee; }

/* Настройка трека для скролла */
.hub-slider-track {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.hub-slider-track::-webkit-scrollbar { display: none; }

.hub-card-item {
    flex: 0 0 300px; /* Ширина карточки как на рефе */
    scroll-snap-align: start;
}

/* Сама карточка */
.hub-card {
    position: relative;
    display: block;
    height: 400px; /* Высокая вертикальная карточка */
    text-decoration: none !important;
}

.hub-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hub-card:hover img {
    transform: scale(1.05);
}

/* Оверлей и текст внутри */
.hub-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hub-card-body h4 {
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Кнопка внутри карточки (стиль из image_3.png) */
.hub-card-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hub-card:hover .hub-card-btn {
    background: #fff;
    color: #000;
}

/* Ссылка в левой части */
.hub-link {
    color: #000;
    text-decoration: none;
    display: inline-block;
}

.hub-link:hover {
    text-decoration: underline;
    color: var(--primary);
}

@media (max-width: 768px) {
    .hub-card-item { flex: 0 0 260px; }
    .hub-card { height: 350px; }
}

/* --- Универсальный слайдер (Swiper) --- */

/* Контейнер слайдера */
.universal-slider {
    width: 100%;
    padding: 10px 0 30px !important; /* Отступ снизу для пагинации */
}

/* Слайд: делаем их одной высоты в ряду */
.universal-slider .swiper-slide {
    display: flex !important;
    height: auto; 
    padding: 0 10px; /* Твой зазор между карточками */
    box-sizing: border-box;
    justify-content: center;
}

/* Карточка внутри слайда: растягиваем на 100% высоты и ширины слайда */
.universal-slider .swiper-slide > * {
    width: 100% !important;
    height: auto !important;
    max-width: none !important; /* Убираем лимиты, шириной рулит Swiper */
    margin: 0 !important;
}

/* --- Внутрянка карточек (чтобы контент не прыгал) --- */

/* Для отзывов и туров: заставляем контент занимать всё место */
.review-card, .tour-card {
    display: flex;
    flex-direction: column;
}

.review-content, .tour-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Текст отзыва/описания растягивается, толкая футер карточки вниз */
.review-text, .tour-description {
    flex-grow: 1;
}

/* --- Навигация (Стрелки) --- */

.slider-prev, .slider-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Состояние при наведении */
.slider-prev:hover, .slider-next:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Отключаем кнопки, если слайдов нет (опционально) */
.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}