@import url('https://fonts.googleapis.com/css?family=Philosopher:400,700&subset=cyrillic,cyrillic-ext');

/* ========================================
   БАЗОВЫЕ СТИЛИ И СБРОС
   ======================================== */

* {
    box-sizing: border-box; /* чтобы padding не ломал ширину */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Philosopher', Verdana, sans-serif; /* основной шрифт */
    color: #262626;
    font-size: 14px;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased; /* сглаживание для webkit */
    -moz-osx-font-smoothing: grayscale; /* сглаживание для firefox */
}

/* ========================================
   КАСТОМНЫЙ СКРОЛЛБАР
   ======================================== */
/* TODO: проверить работу в Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d20c11; /* красный цвет компании */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a00a0d; /* темнее при наведении */
}

/* Скроллбар для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #d20c11 #f1f1f1;
}

/* ========================================
   КОНТЕЙНЕР
   ======================================== */

.container {
    max-width: 1210px; /* макс ширина по макету */
    margin: 0 auto; /* центрирование */
    padding: 0 15px;
}

/* ========================================
   ШАПКА САЙТА (HEADER)
   ======================================== */
header.simple {
    background: #fff;
}

header .cont {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 12px;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.logo {
    width: 227px;
    height: 49px;
    display: inline-block;
    background: url('https://www.kompass-komfort.de/bundles/applicationsonataproject/images/logo.png') no-repeat center;
    background-size: contain;
}

/* Верхнее меню пользователя */
.user-menu {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin-top: 0;
}

.user-menu > li {
    padding: 0 12px;
}

.user-menu > li + li {
    border-left: 1px solid #dbdbdb; /* разделитель между пунктами */
}

.user-menu > li:last-of-type {
    padding-right: 0;
}

.user-menu > li > a {
    display: block;
    font-size: 14px;
    color: #262626;
    font-family: 'Philosopher', Verdana, sans-serif;
    cursor: default;
    text-decoration: none;
    pointer-events: none;
}

.user-menu > li a > img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -2px; /* выравнивание иконок */
}

.lang-select + li {
    border-left: none; /* убираем границу после селектора языка */
}

/* Выбор языка */
.lang-select {
    position: relative;
    cursor: default;
    pointer-events: none;
}

.lang-select > div {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 10px;
}

.lang-select > div > i:last-of-type {
    margin-left: 6px;
}

.lang-select > ul {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
    width: 110px;
    padding: 10px 0;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 5px rgba(1,1,1,.17);
    z-index: 9;
    list-style: none;
    margin: 0;
    display: none;
}

.lang-select > ul a {
    display: block;
    padding: 6px 13px;
    text-decoration: none;
    color: #262626;
    pointer-events: none;
}

.lang-select > ul a:hover {
    background: #e7e7e7;
}

.lang-select > div:before {
    content: "";
    width: 40px;
    height: 40px;
    background: #fff;
    transform: rotate(45deg);
    top: 98%;
    left: 27px;
    box-shadow: 0 1px 5px rgba(1,1,1,.17);
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: .2s ease;
}

.lang-select:hover > ul:before {
    content: '';
    display: block;
    height: 2px;
    width: 15px;
    position: absolute;
    top: -2px;
    background: #fff;
    left: 28px;
}

.flag-icon {
    width: 16px;
    height: 12.5px;
    border: 1px solid #dcdcdc;
    margin-right: 6px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.flag-icon-ru {
    background-image: url('https://www.kompass-komfort.de/bundles/applicationsonataproject/images/flags/4x3/ru.svg');
}

.user-menu-phone {
    font-family: 'Philosopher', Verdana, sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

.user-menu-phone img {
    width: 18px;
    height: 12px;
    margin: 0 4px; /* отступы для флага */
}

/* ========================================
   ГЛАВНОЕ МЕНЮ
   ======================================== */
.main-menu {
    background: #d20c11;
    position: relative;
}

.main-menu ul.menu {
    display: flex;
    justify-content: space-between;
    line-height: 18px;
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.main-menu li {
    display: block;
}

.main-menu ul.menu > li > a {
    display: block;
    color: #fff;
    padding: 16px 0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    cursor: default;
    pointer-events: none;
}

.main-menu ul.menu > li > a:hover {
    opacity: 1;
}

/* ========================================
   ХЛЕБНЫЕ КРОШКИ (BREADCRUMB)
   ======================================== */
.white {
    background: #fff;
}

.white.p-0 {
    margin-top: 15px;
}

.white.pb-0 {
    padding-bottom: 0;
}

.only-breadcrumb {
    height: 40px;
    padding: 20px 0;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    font-size: 13px;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #999;
    margin: 0 8px;
}

.breadcrumb-item a {
    color: #3662ae;
    text-decoration: none;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item span {
    color: #262626; /* текущая страница */
}

/* ========================================
   ЗАГОЛОВКИ СТРАНИЦ
   ======================================== */
h1.f-30 {
    font-size: 30px;
    font-weight: 700;
    margin: 20px 0;
    color: #262626;
}

/* ========================================
   ОРАНЖЕВАЯ ПОЛОСА
   ======================================== */
.orange {
    background: #ff892e;
    color: #fff;
    padding: 15px 0;
}

.orange.p-3 {
    padding: 15px 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.f-24 {
    font-size: 24px;
    font-weight: 600;
}

.f-16 {
    font-size: 16px;
    font-weight: 400;
}

/* ========================================
   ФОРМА ПОИСКА
   ======================================== */
/* ВАЖНО: форма должна быть адаптивной! */
.search-form-wrapper {
    background: #e5e5e5;
    padding: 33px 0;
    overflow: hidden;
}

.search-form-wrapper.other {
    padding: 33px 0 18px 0;
}

.search-form-wrapper .row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.search-form-wrapper .row:last-child {
    margin-bottom: 0;
}

.search-form-wrapper .col-sm,
.search-form-wrapper .col-12 {
    flex: 1;
    min-width: 0;
}

.search-form-wrapper .col-sm-5 {
    flex: 1.5;
}

.search-form-wrapper .col-lg-4,
.search-form-wrapper .col-md-5 {
    flex: 0 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.inline-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group.inline-label label {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #262626;
    white-space: normal;
    min-width: 85px;
    line-height: 1.3;
    padding-top: 8px;
}

.form-group.inline-label label.w85 {
    width: 85px;
}

.form-group.inline-label label.dummy {
    visibility: hidden;
}

.form-group.inline-label > div {
    flex: 1;
    display: flex;
    gap: 10px;
}

.form-control {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    font-family: 'Philosopher', Verdana, sans-serif;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3662ae; /* синяя рамка при фокусе */
    box-shadow: 0 0 0 3px rgba(54, 98, 174, 0.1); /* тень вокруг */
}

/* Поле с датой */
.search-form-wrapper .date input {
    padding-right: 40px;
    background: url("https://www.kompass-komfort.de/bundles/applicationsonataproject/images/icons/ico-26.png") no-repeat right 12px center, #fff;
}

.search-form-wrapper button {
    background: #d20c11;
    border: none;
}

.search-form-wrapper button:hover {
    background: #ec393e; /* светлее при наведении */
}

/* ========================================
   КНОПКИ
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    font-family: 'Philosopher', Verdana, sans-serif;
    text-transform: uppercase;
    color: #fff;
    background-color: #3662ae;
}

.btn:hover {
    opacity: .8;
}

.btn-primary {
    background-color: #3662ae;
    color: #fff;
}

.btn-primary:hover {
    opacity: .8;
}

.btn-primary img {
    height: 14px;
    filter: brightness(0) invert(1);
}

.btn-md {
    padding: 1em 3em;
    font-size: 12px;
}

.btn-lg {
    padding: 1.157em 1em;
    font-size: 12px;
}

.btn.red {
    background: #d70b0f;
}

.btn.red:hover {
    opacity: .8;
}

.btn.full-w {
    width: 100%;
}

.btn > i {
    margin-left: 8px; /* отступ для иконки-стрелки */
}

.f-12 {
    font-size: 12px;
}

/* ========================================
   СПИСОК РЕЗУЛЬТАТОВ (ТУРЫ)
   ======================================== */
.pt-35 {
    padding-top: 35px;
}

.pb-35 {
    padding-bottom: 35px;
}

.results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.result-item {
    display: flex;
    padding: 24px;
    background: #fff;
    align-items: center;
    box-shadow: 0 1px 5px rgba(1,1,1,.17);
}

.result-item.list {
    margin-bottom: 11px;
}

.result-item .img-block {
    margin: -24px 30px -24px -24px;
}

.result-item .img-wrapper {
    display: block;
    width: 230px;
    min-width: 230px;
    height: 160px;
    position: relative;
    overflow: hidden;
    margin: -24px 30px -24px -24px;
    align-self: stretch;
}

.result-item.list .img-wrapper {
    margin: 0;
}

.result-item .img-wrapper img {
    max-width: 100%;
}

.result-item .img-block .price-block {
    width: 100%;
    background: #ff892e;
    font-size: 16px;
    color: #fff;
    padding: 9px 0;
    text-align: center;
}

.result-item .img-block .price-block .price {
    width: 100%!important;
    background: #ff892e;
    font-size: 26px!important; /* большой размер для цены */
    font-weight: bold;
    padding: 0;
    color: white!important;
}

/* Разделители между блоками */
.result-item > * + * {
    border-left: 1px solid #e5e5e5;
    align-self: stretch;
}

.result-item .img-wrapper + * {
    border-left: none;
}

.result-item .cont {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    min-width: 0;
}

.result-item.list .cont {
    flex-direction: column;
    border-left: none;
}

.result-item .cont > div {
    width: 100%;
}

.result-item.list .cont > div:last-of-type {
    margin-top: auto;
}

.result-item .title {
    font-size: 18px;
    font-weight: bold;
    color: #262626;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.result-item .title:hover {
    color: #d20c11;
}

.result-item .cont .text {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 24px;
}

.result-item .cont .text {
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    display: -webkit-box;
}

.result-item .cont .text p {
    margin: 0;
}

.text-right {
    text-align: right;
    margin-top: 15px;
}

.text-nowrap {
    white-space: nowrap;
}

.result-item .dates {
    padding: 0 30px;
    width: 320px;
    max-width: 320px;
    min-width: 320px;
}

.result-item.list .dates {
    width: auto;
    max-width: none;
    min-width: auto;
}

.result-item .dates > div > span {
    font-size: 16px;
    font-weight: bold;
    color: #d20c11;
}

.result-item .block-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #d20c11;
    margin-bottom: 10px;
    margin-right: auto;
    line-height: 1;
}

.result-item .dates-list {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 24px;
}

.result-item .dates-list > div {
    margin-bottom: 5px;
}

.result-item .dates > div > span.more-dates-modal-trigger {
    font-size: 14px;
    color: #3662ae;
    font-weight: normal;
    cursor: pointer;
}

.result-item .dates > div > span.more-dates-modal-trigger:hover {
    text-decoration: underline;
}

.result-item .booking-block {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    width: 360px;
    min-width: 360px;
}

.result-item .booking-block .block-title {
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
    font-size: 13px;
    color: #d20c11;
}

.result-item .booking-block .form-group {
    margin-bottom: 15px;
}

.result-item .booking-block .form-group:last-child {
    margin-bottom: 0;
}

.result-item .booking-block .form-group.other {
    margin-bottom: 12px;
}

.result-item .booking-block .form-group.inline-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.result-item .booking-block .form-group.inline-label label {
    display: block;
    margin-bottom: 0;
    font-size: 12px;
    color: #666;
    width: 85px;
    min-width: 85px;
    text-transform: none;
    font-weight: normal;
    white-space: normal;
    line-height: 1.4;
    padding-top: 8px;
}

.result-item .booking-block .form-group.inline-label > div {
    flex: 1;
    width: 100%;
}

.result-item .booking-block .form-control {
    width: 100%;
    height: 34px;
    padding: 6px 10px;
    font-size: 13px;
}

.result-item .booking-block .btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
}

.result-item .booking-block .row {
    display: flex;
    gap: 6px;
}

.result-item .booking-block .row.gutter-6 {
    gap: 6px;
}

.result-item .booking-block .row .col {
    flex: 1;
}

.hidden {
    display: none; /* скрытый элемент */
}

/* Утилиты для текста */
.f-white {
    color: #fff;
}

.f-19 {
    font-size: 19px;
}

.font-weight-bold {
    font-weight: bold;
}

.bg-orange {
    background: #ff892e;
}

.p-5 {
    padding: 5px;
}

/* ========================================
   ПОДВАЛ САЙТА (FOOTER)
   ======================================== */
.footer {
    font-family: 'Philosopher', Verdana, sans-serif;
    color: #444;
    background: #f9f9f9;
    line-height: 1.6;
}

/* Блок подписки на рассылку */
.newsletter {
    background: #c8102e url('https://www.kompass-komfort.de/bundles/applicationsonataproject/images/etc/pattern-3.png');
    color: #fff;
    padding: 15px 0;
    height: 121px;
    display: flex;
    align-items: center;
}

.newsletter-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.newsletter-text img {
    width: 22px;
    height: 22px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.newsletter-form input {
    padding: 10px 15px;
    border: none;
    border-radius: 3px 0 0 3px;
    width: 300px;
    outline: none;
    font-family: 'Philosopher', Verdana, sans-serif;
    transition: all 0.2s ease;
}

.newsletter-form input:focus {
    box-shadow: inset 0 0 0 2px #fff;
}

.newsletter-form button {
    background: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}



.newsletter-form button img {
    width: 20px;
    display: block;
}

.footer-main {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-column a {
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-column p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin: 8px 0;
}

.footer-column img {
    width: 18px;
}

.logo-column {
    text-align: center;
}

.logo-column .logo {
    width: 160px;
    margin-bottom: 10px;
    background: none;
    height: auto;
}

.social-icons {
    margin: 10px 0;
}

.social-icons a {
    margin: 0 5px;
    color: #444;
    font-size: 16px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #d20c11;
}

.logo-column h5 {
    font-size: 13px;
    font-weight: bold;
    margin: 15px 0 5px 0;
    text-transform: uppercase;
}

.payments {
    width: 200px !important;
    height: auto !important;
    margin-top: 10px;
    display: block;
}

.footer-bottom {
    background: #fff;
    border-top: 1px solid #ddd;
    font-size: 13px;
    color: #666;
    text-align: center;
    padding: 15px 0 25px;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}



/* ========================================
   АДАПТИВНОСТЬ (RESPONSIVE)
   ======================================== */

@media (max-width: 1199px) {
    .result-item .booking-block {
        min-width: 320px;
    }

    .result-item .booking-block .btn.btn-md {
        padding: 1em;
    }
}

@media (max-width: 1024px) {
    .result-item {
        flex-wrap: wrap;
    }

    .result-item .img-block {
        margin: -24px -24px 0 -24px;
        width: 100%;
    }

    .result-item .img-wrapper {
        width: 100%;
        height: 250px;
    }

    .result-item .dates,
    .result-item .booking-block {
        width: 100%;
        min-width: auto;
        border-left: none;
        border-right: none;
        border-top: 1px solid #e0e0e0;
        padding: 20px 0;
    }
}

/* Планшеты и мобильные */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header .cont {
        flex-direction: column-reverse;
        gap: 15px;
        padding-top: 0;
    }

    .user-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .user-menu > li {
        border: none;
        padding: 5px 10px;
    }

    .user-menu-phone {
        text-align: center;
        font-size: 16px;
    }

    .main-menu ul.menu {
        flex-direction: column;
        gap: 0;
    }

    .main-menu ul.menu > li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .search-form-wrapper .row {
        flex-direction: column;
    }

    .search-form-wrapper .col-sm,
    .search-form-wrapper .col-12,
    .search-form-wrapper .col-sm-5 {
        width: 100%;
    }

    .form-group.inline-label {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group.inline-label label {
        width: 100%;
    }

    .result-item .booking-block {
        min-width: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .newsletter-content {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }
}

/* ========================================
   СТРАНИЦА ДЕТАЛЬНОГО ПРОСМОТРА ТУРА
   ======================================== */
.mb-15 {
    margin-bottom: 15px;
}

.mb-15 a {
    color: #3662ae;
    text-decoration: none;
    font-size: 14px;
}

.mb-15 a:hover {
    text-decoration: underline;
}

.view-title {
    margin-bottom: 30px;
}

.view-title h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #262626;
}

.view-title h1 + div {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
}

.view-title ul.socials {
    flex: 1 0 auto;
}

ul.socials {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    font-size: 13px;
}

ul.socials > li.first {
    margin-right: 8px;
    margin-top: 2px;
    font-size: 15px;
    color: #727272;
}

.social-share {
    display: flex;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3662ae;
    color: #fff;
}

.view-price-block {
    float: right;
    margin-top: 10px;
    margin-bottom: -48px;
}

.view-title .view-price-block {
    float: none;
    margin-bottom: 0;
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 1 auto;
    margin-left: auto;
}

.view-price-block.bottom {
    float: none;
    margin-bottom: 10px;
}

.view-price-block > .duration {
    width: 177px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    margin-right: 18px;
    text-transform: uppercase;
    font-weight: bold;
    padding: .875em 1em;
    color: #fff;
    background-color: #3662ae;
    border: none;
    border-radius: 3px;
    font-size: 12px;
}

.view-title .view-price-block > .duration {
    margin-right: 0;
}

.view-title .view-price-block > .duration + div {
    margin-left: 18px;
}

.view-price-block > .duration.small {
    width: 130px;
    padding: 8px 4px;
}

.view-price-block > div {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    color: #727272;
    text-transform: uppercase;
}

.view-price-block > div > span:not(:last-of-type):not(.not-this) {
    font-size: 28px;
    font-weight: bold;
    color: #d20c11;
}

.view-price-block > div > span:last-of-type {
    font-size: 12px;
}

.view-price-block > .btn {
    display: none;
}

.price-btn {
    white-space: nowrap;
}

.icon-fix {
    height: 16px;
    width: auto; /* автоматическая ширина */
}

.mr-8 {
    margin-right: 8px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* ========================================
   ТАБЫ (ВКЛАДКИ)
   ======================================== */
.nav-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 0 0;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.nav-item + .nav-item {
    margin-left: 1px;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
    position: relative;
}

.nav-tabs .nav-item:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-top: 16px solid #f5f5f5;
    position: absolute;
    top: 0;
    right: 0;
}

.nav-link {
    display: block;
    color: #727272;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

.nav-tabs .nav-link {
    height: 100%;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    font-family: 'Philosopher', Verdana, sans-serif;
    font-weight: bold;
    font-size: 17px;
    background: #fff;
    color: #262626;
    padding: 16px 26px;
    border: none;
    display: flex;
    align-items: center;
    outline: none;
}

.nav-tabs .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.nav-tabs .nav-link:hover {
    background: #fff8f0;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background: #ff9933;
    color: #fff;
}

.nav-tabs .nav-link img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.nav-tabs .nav-link:not(.active) img:last-of-type {
    display: none;
}

.nav-tabs .nav-link.active img:first-of-type {
    display: none; /* скрываем обычную иконку у активного таба */
}

/* ========================================
   ВЫДЕЛЕНИЕ ТЕКСТА
   ======================================== */
::selection {
    background: #d20c11;
    color: #fff;
}

::-moz-selection {
    background: #d20c11;
    color: #fff;
}

/* Убираем outline */
*:focus {
    outline: none;
}



/* ========================================
   КОНТЕНТ ТАБОВ
   ======================================== */

.tab-content {
    padding: 16px 18px;
    background: #fff;
    margin-bottom: 40px;
    box-shadow: 0 1px 5px rgba(1,1,1,.17);
}

.mb-55 {
    margin-bottom: 55px;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

.fade.show {
    opacity: 1;
}

.row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0;
}

.col-md-8 {
    flex: 1;
    min-width: 0;
}

.col-12 {
    width: 100%;
}

.col-4 {
    width: 320px;
    flex-shrink: 0;
}

.col-md-4,
.col-sm-6 {
    flex: 1;
    min-width: 200px;
}

.col-lg-6,
.col-md-12 {
    flex: 1;
    min-width: 0;
}

.hidden-sm-down {
    display: block;
}

.align-items-center {
    align-items: center;
}

/* ========================================
   ГАЛЕРЕЯ ИЗОБРАЖЕНИЙ
   ======================================== */
.view-gallery {
    margin-bottom: 38px;
}

.view-gallery > div:first-of-type {
    margin-bottom: 1px;
}

.view-gallery .item {
    position: relative;
}

.view-gallery-owl {
    position: relative;
    overflow: hidden;
}

.view-gallery-owl .item {
    display: none;
}

.view-gallery-owl .item:first-child {
    display: block;
}

.view-gallery-owl .item a {
    display: block;
    position: relative;
}

.view-gallery-owl .item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.view-gallery .alt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.6);
    font-size: 18px;
    color: #fff;
    padding: 14px 22px;
}

.owl-thumbs {
    display: flex;
    gap: 1px;
    margin-top: 1px;
    flex-wrap: wrap;
}

.owl-thumbs .item {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.owl-thumbs .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.owl-thumbs .item:hover img {
    opacity: 0.8;
}

.owl-thumbs .item.active {
    border: 2px solid #ff9933; /* оранжевая рамка у активной миниатюры */
    box-sizing: border-box;
}

/* ========================================
   ЗАГОЛОВКИ H3, H4
   ======================================== */

h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    color: #262626;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    color: #262626;
}

.f-21 {
    font-size: 21px;
}

.f-22 {
    font-size: 22px;
}

.tour-description {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 25px;
    font-size: 14px;
}

.tour-description > div {
    flex: 1;
    padding: 0 15px;
}

.tour-description > div:first-child {
    padding-left: 0;
}

.tour-description > div:last-child {
    padding-right: 0;
}

.tour-description > div + div:not(:last-of-type) {
    border-left: 1px solid #e5e5e5;
}

.tour-description a {
    color: #3662ae;
    text-decoration: none;
}

.tour-description a:hover {
    text-decoration: underline;
}

.page-module {
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 16px;
    color: #4a4a4a;
}

.page-module p {
    margin: 15px 0;
    color: #4a4a4a;
}

.page-module strong {
    font-weight: 700;
    color: #262626;
}

.page-module em {
    font-style: italic;
}

.page-module ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-module li > ul {
    padding-left: 0;
}

.page-module ul > li {
    padding-left: 20px;
    background: url("https://www.kompass-komfort.de/bundles/applicationsonataproject/images/icons/ico-68.png") no-repeat left top 4px;
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.5;
}

.page-module ul > li + li {
    margin-top: 15px;
}

.page-module h2 {
    font-size: 24px;
    margin: 25px 0 15px 0;
}

.page-module h3 {
    font-size: 22px;
    margin: 25px 0 15px 0;
}

/* Блоки с иконками (преимущества тура) */
.summary-blocks {
    padding-bottom: 15px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
}

.summary-blocks .row > div {
    margin-bottom: 15px;
}

.summary-blocks .row > div > div {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #4a4a4a;
}

.summary-blocks img {
    margin-right: 15px;
    width: 40px;
    height: 40px;
}

.summary-blocks span {
    font-size: 16px;
    color: #4a4a4a;
}

.w-100 {
    width: 100%;
}

.text-gray {
    color: #666;
}

.bold {
    font-weight: 700;
}

.f-20 {
    font-size: 20px;
}

.f-22 {
    font-size: 22px;
}

.mt-25 {
    margin-top: 25px;
}

.mb-25 {
    margin-bottom: 25px;
}

.contact-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.phone-link {
    color: #d20c11;
    text-decoration: none;
    font-weight: 700;
}

.phone-link:hover {
    text-decoration: underline;
}

.map {
    margin-top: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    display: block;
}

/* ========================================
   ДОПОЛНИТЕЛЬНАЯ АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 900px) {
    .view-title {
        flex-direction: column;
    }

    .view-price-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .col-4 {
        width: 100%;
    }

    .hidden-sm-down {
        display: none;
    }

    .tour-description {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========================================
   ОПИСАНИЕ ДНЯ ТУРА
   ======================================== */
.day-wrap {
    margin-bottom: 50px;
}

.day-wrap .title {
    padding-bottom: 7px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 18px;
    font-weight: bold;
    color: #262626;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.day-wrap .title > div {
    display: inline-block;
    vertical-align: middle;
}

.day-wrap .title .day-nr {
    width: 36px;
    height: 35px;
    background: url("https://www.kompass-komfort.de/bundles/applicationsonataproject/images/icons/ico-38.png") no-repeat center;
    font-weight: bold;
    color: #262626;
    font-size: 14px;
    line-height: 48px;
    margin-right: 12px;
    text-align: center;
    margin-top: -5px;
}

.day-wrap .cont {
    display: flex;
    align-items: flex-start;
}

.day-wrap .cont > .page-module {
    flex: 1 1 auto;
    max-width: 100%;
    margin-right: 20px;
}

.day-wrap .cont > .page-module + div {
    width: 240px;
    min-width: 240px;
    text-align: center;
}

.day-wrap .cont > .page-module + div img {
    margin-bottom: 8px;
}

.day-wrap .cont > .page-module + div > a {
    display: block;
}

.day-wrap .cont .row {
    margin-top: 20px;
}

.day-wrap .cont .row img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ========================================
   СПИСКИ "ВКЛЮЧЕНО/НЕ ВКЛЮЧЕНО"
   ======================================== */
.page-module.bor {
    border: 1px solid #e5e5e5;
    padding: 28px 30px;
    margin-bottom: 20px;
}

.f-21 {
    font-size: 21px;
}

.mb-20 {
    margin-bottom: 20px;
}

.included,
.not-included {
    list-style: none;
    padding: 0;
    margin: 0;
}

.included li,
.not-included li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}

.included li::before {
    content: '\f00c'; /* галочка FontAwesome */
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #28a745; /* зеленый */
    font-size: 16px;
}

.not-included li::before {
    content: '\f067'; /* плюс FontAwesome */
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #ff892e; /* оранжевый */
    font-size: 14px;
}

/* Список дней в сайдбаре */
.day-list {
    list-style: none;
    padding: 0;
    margin: 41px 0 20px 0;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.day-list li {
    border-bottom: 1px solid #e5e5e5;
}

.day-list li:last-child {
    border-bottom: none;
}

.day-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    text-decoration: none;
    color: #262626;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

.day-list li a:hover {
    background: #f9f9f9;
    color: #d20c11;
}

.day-list li a span:first-child {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    display: inline-block;
}

.day-list li a span img {
    width: 24px;
    height: 24px;
}

.day-list li a span img:first-child {
    display: block;
}

.day-list li a span img:last-child {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.day-list li a:hover span img:first-child {
    display: none;
}

.day-list li a:hover span img:last-child {
    display: block; /* показываем цветную иконку при наведении */
}

/* ========================================
   ВАЖНОЕ УВЕДОМЛЕНИЕ
   ======================================== */
.important-notice-block {
    display: flex;
    align-items: flex-start;
    margin: 40px 0;
}

.important-notice-block > div:first-of-type {
    margin-right: 40px;
    flex: 1 1 auto;
}

.important-notice-block > div:last-of-type {
    white-space: nowrap;
    width: 100%;
    max-width: 360px;
}

.important {
    white-space: normal;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.important strong {
    color: #d20c11;
}

.text-danger {
    color: #d8232a;
}

.view-price-block.bottom {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.view-price-block.bottom .duration.small {
    font-size: 16px;
}

.view-price-block.bottom .not-this {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

/* Fancy Gallery */
body .fancy-gallery {
    padding: 0;
    display: block;
    position: relative;
    overflow: hidden;
}

.fancy-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* Видео YouTube */
.page-module iframe {
    max-width: 100%;
    border-radius: 4px;
    margin: 10px 0;
}

/* Адаптивность для детальной страницы */
@media (max-width: 768px) {
    .day-wrap .title {
        flex-direction: column;
        text-align: center;
    }

    .day-wrap .cont {
        padding: 20px 15px;
    }

    .important-notice-block {
        flex-direction: column;
        padding: 20px;
    }

    .page-module iframe {
        width: 100%;
        height: 250px;
    }
}

/* Contact Info Sidebar */
.contact-info {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
}

.contact-info .text-center {
    text-align: center;
}

.not-this {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}

.mt-15 {
    margin-top: 15px;
}

.pt-20 {
    padding-top: 20px;
}

/* Улучшения адаптивности */
@media (max-width: 991px) {
    .view-title h1 {
        margin-bottom: 6px;
    }

    .view-title ul.socials {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-price-block {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .day-wrap .title {
        flex-direction: column;
        text-align: left;
    }

    .day-wrap .title .day-nr {
        margin-bottom: 10px;
    }

    .day-wrap .cont {
        flex-direction: column-reverse;
    }

    .day-wrap .cont > .page-module {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
    }

    .day-wrap .cont > .page-module + div {
        margin-bottom: 20px;
        width: 100%;
    }

    .important-notice-block {
        flex-direction: column;
    }

    .important-notice-block > div:first-of-type {
        margin-right: 0;
    }

    .important-notice-block > div:last-of-type {
        margin-top: -25px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .view-price-block > .duration.small {
        width: auto;
        padding: 6px;
    }

    .view-price-block > div,
    .view-price-block > div > span:last-of-type {
        font-size: 9px;
        margin-top: 6px;
    }

    .view-price-block > div > span:not(:last-of-type) {
        font-size: 18px;
        line-height: 1;
    }

    .view-price-block > div > span.not-this {
        display: block;
        font-size: 9px;
    }

    .col-lg-6,
    .col-md-12 {
        width: 100%;
    }
}

/* ========================================
   УТИЛИТАРНЫЕ КЛАССЫ
   ======================================== */

.d-flex {
    display: flex !important;
}

.justify-content-end {
    justify-content: flex-end;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d20c11;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #262626;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #262626 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ========================================
   БЕЙДЖИ (ЗНАЧКИ)
   ======================================== */

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 3px;
}

.badge-primary {
    background-color: #3662ae;
}

.badge-danger {
    background-color: #d20c11;
}

.badge-warning {
    background-color: #ff892e;
}

.badge-success {
    background-color: #28a745;
}

.badge-info {
    background-color: #17a2b8;
}

/* ========================================
   УВЕДОМЛЕНИЯ (ALERTS)
   ======================================== */

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* ========================================
   КАРТОЧКИ (CARDS)
   ======================================== */

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}



.card-header {
    padding: 15px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

/* ========================================
   ОВЕРЛЕЙ (ЗАТЕМНЕНИЕ)
   ======================================== */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* ========================================
   МОДАЛЬНЫЕ ОКНА
   ======================================== */

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    display: none;
}

.modal.active {
    display: block;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #d20c11;
}

/* ========================================
   СПИСОК СЕЗОНОВ И ТАБЛИЦА ЦЕН
   ======================================== */

.seasons-list {
    padding: 20px;
    border: 1px solid #e5e5e5;
    list-style: none;
    margin: 0;
}

.seasons-list > li .title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.seasons-list > li .title .img-wrapper {
    width: 48px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.months-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    list-style: none;
    padding: 0;
}

.months-list > li a {
    font-size: 16px;
    color: #3662ae;
    text-decoration: none;
}

.months-list > li {
    font-size: 16px;
    white-space: nowrap;
    padding: 0 10px;
}

.months-list > li span {
    color: #9f9f9f;
}

.date-price-table {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.date-price-table .title {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    padding: 5px 20px;
    border-bottom: 3px solid #e5e5e5;
}

.date-price-table .title > div {
    width: 100%;
}

.date-price-table .title > div:first-of-type {
    min-width: 48%;
    width: 48%;
}

.date-price-table .toggle-next,
.date-price-table .toggle-next + div > div {
    display: flex;
}

.date-price-table .toggle-next + div {
    display: none;
    background: #fff;
    padding: 10px;
    margin-top: 20px;
    width: 100%;
}

.date-price-table .toggle-next > div:last-of-type {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.date-price-table .toggle-next > div,
.date-price-table .toggle-next + div > div > div {
    width: 52%;
}

.date-price-table .toggle-next > div:first-of-type,
.date-price-table .toggle-next + div > div > div:first-of-type {
    width: 48%;
}

.date-price-table .price + .btn {
    padding: .875em 1em;
    width: 128px;
}

.date-price-table .date,
.date-price-table .price,
.date-price-table .tooltips-list {
    display: inline-block;
    vertical-align: middle;
}

.date-price-table > div:not(.title) {
    padding: 10px;
}

.date-price-table > div:not(.title),
.date-price-table .toggle-next + div > div + div {
    border-top: 1px solid #e5e5e5;
}

.date-price-table .toggle-next + div > div + div {
    padding-top: 8px;
    margin-top: 8px;
}

.date-price-table > div:not(.title).active,
.date-price-table > div:not(.title):hover {
    background: #f5f5f5;
    transition: .2s ease;
}

.date-price-table .toggle-next {
    padding: 15px 20px;
    margin: -10px;
    cursor: pointer;
}

.date-price-table .toggle-next .price {
    margin-right: 25px;
    padding-right: 25px;
    position: relative;
}

.date-price-table .toggle-next .price:after {
    content: '';
    display: block;
    width: 8px;
    height: 5px;
    background: url("https://www.kompass-komfort.de/bundles/applicationsonataproject/images/icons/ico-6.png") no-repeat center;
    position: absolute;
    right: 0;
    top: 13px;
    transition: .2s ease;
    opacity: .7;
}

.date-price-table .active .toggle-next .price:after {
    transform: rotate(180deg);
}

.date-price-table .toggle-next .price > span:last-of-type {
    font-size: 20px;
}

.date-price-table .price {
    font-size: 16px;
    color: #727272;
    white-space: nowrap;
}

.date-price-table .price > span.label {
    margin-right: 4px;
}

.date-price-table .price > span.full-price {
    font-size: 16px;
    font-weight: bold;
    color: #d20c11;
    text-decoration: none;
}

.date-price-table .price > span.discount {
    font-size: 14px;
    font-weight: normal;
    color: #727272;
    text-decoration: line-through;
    margin-right: 12px;
}

.departure-date-block {
    cursor: pointer; /* показываем что можно кликнуть */
}

.tab-content {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* тень для объема */
}

/* ========================================
   НИЖНЯЯ НАВИГАЦИЯ
   ======================================== */
.view-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.view-bottom > .menu {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.view-bottom > .menu > li + li {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #e5e5e5;
}

.view-bottom > .menu > li a {
    color: #3662ae;
    text-decoration: none;
    font-size: 14px;
}

.view-bottom > .menu > li a:hover {
    text-decoration: underline;
}

.view-bottom > div {
    display: flex;
    align-items: center;
}

.view-bottom .socials {
    margin-right: 35px;
}

.view-bottom .socials + a {
    padding-left: 60px;
    padding-right: 60px;
}

/* ========================================
   РЕКОМЕНДУЕМЫЕ ТУРЫ
   ======================================== */
.mb-75 {
    margin-bottom: 75px;
}

.recommended-offers .offer-block {
    box-shadow: 0 1px 5px rgba(1,1,1,.17);
    border: none;
}

.offer-block {
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.offer-block .img-wrapper {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.offer-block .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-block .cont {
    padding: 26px 28px;
    background: #fff;
}

.offer-block .title {
    font-size: 22px;
    color: #d20c11;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 28px;
    min-height: 56px;
    display: block;
    text-decoration: none;
}

.offer-block .title:hover {
    text-decoration: underline;
}

.offer-block .title + div {
    min-height: 60px;
    font-size: 14px;
    color: #4a4a4a;
    margin: 0 -15px;
}

.offer-block .title + div > div {
    padding: 0 15px;
    flex: 0 1 auto;
}

.offer-block .title + div > div:last-of-type {
    white-space: nowrap;
    margin-left: auto;
}

.offer-block .price {
    font-size: 16px;
    color: #727272;
    text-align: right;
}

.offer-block .price > span {
    font-size: 26px;
    font-weight: bold;
    color: #d20c11;
}

.offer-block .button-wrap {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}

/* Адаптивность для нижней навигации и предложений */
@media (max-width: 991px) {
    .offer-block .cont {
        padding: 16px 18px;
    }

    .offer-block .title {
        font-size: 18px;
    }

    .offer-block .title + div {
        font-size: 12px;
        margin: 0 -6px;
    }

    .offer-block .title + div > div {
        padding: 0 6px;
    }

    .offer-block .price {
        font-size: 14px;
    }

    .offer-block .price > span {
        font-size: 22px;
    }

    .view-bottom .socials + a {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    .view-bottom {
        flex-direction: column;
    }

    .view-bottom > .menu {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .view-bottom > .menu > li {
        padding: 0 10px;
    }

    .view-bottom > .menu > li + li {
        padding-left: 10px;
        margin-left: 0;
    }

    .view-bottom .socials {
        margin-right: 0;
    }

    .view-bottom .socials + a {
        display: none;
    }
}

.nav-tabs {
    border-bottom: 2px solid #fa9632; /* оранжевая линия под табами */
    width: 100%;
}

/* Адаптивность табов */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }

    .nav-item + .nav-item {
        margin-left: 0;
        margin-top: 1px;
    }

    .nav-tabs .nav-item:after {
        display: none;
    }

    .nav-tabs .nav-link {
        font-size: 15px;
        padding: 12px 20px;
    }
}

#page {
    background-color: #f8f8f8; /* светло-серый фон */
}

/* ========================================
   АВТОДОПОЛНЕНИЕ
   ======================================== */
.autocomplete-wrapper {
    display: flex;
    margin-bottom: 35px;
    gap: 10px;
}

.autocomplete-wrapper input {
    flex: 1;
    border-radius: 0;
    border: 1px solid #c4c4c4;
    padding: 0 42px 0 12px;
}

.autocomplete-wrapper button {
    width: 128px;
}

.input-group {
    display: flex;
    width: 100%;
}

/* ========================================
   СПИСОК С ЧЕКБОКСАМИ
   ======================================== */
.checks-list {
    list-style: none;
    padding: 0;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.checks-list > li > div {
    display: flex;
    align-items: flex-start;
    padding: 6px 10px;
    font-size: 16px;
    color: #4a4a4a;
    text-decoration: none;
}

.checks-list > li > div:first-of-type > span {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}

.checks-list > li:first-of-type > div:first-of-type {
    border: none !important;
}

.checks-list > li:first-of-type > div:first-of-type > * {
    display: inline-block;
    vertical-align: middle;
}

.checks-list > li:not(:hover):not(.active) > div:first-of-type span > img:last-of-type {
    display: none !important;
}

.checks-list > li + li > div:first-of-type {
    border-top: 1px solid #e5e5e5;
}

.checks-list > li.active > div:first-of-type,
.checks-list > li:hover > div:first-of-type {
    background: #ff9933;
    color: #fff;
    border-top: 1px solid #ff9933;
    cursor: pointer;
}

.checks-list > li:hover > div:first-of-type span > img:first-of-type,
.checks-list > li.active > div:first-of-type span > img:first-of-type {
    display: none !important;
}

.checks-list > li > div.toggle-next + div {
    display: none;
    width: 100% !important;
    font-size: 14px;
    color: #4a4a4a;
    padding: 16px 20px;
    background: #fff8f0;
}

.checks-list > li.active > div.toggle-next + div {
    display: block; /* показываем детали при активации */
}

/* Стили для карты */
.map-style2 {
    background: #f0f0f0;
    border: 1px solid #ddd;
}

/* ========================================
   БЛОК НАПИСАНИЯ ОТЗЫВА
   ======================================== */
.review-write-block {
    margin-bottom: 15px;
}

.review-write-block > div:first-of-type {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    padding: 20px 35px;
}

.review-write-block > * {
    width: 100% !important;
}

.review-write-block > div > div {
    background: #f7f7f7;
    display: flex;
    align-items: center;
    margin-right: 35px;
}

.review-write-block > div > div span {
    font-size: 18px;
    font-weight: bold;
}

.review-write-block img {
    margin-right: 12px;
}

.review-write-block .form-group.other label {
    font-size: 14px;
}

/* ========================================
   FLEX УТИЛИТЫ
   ======================================== */
/* Вспомогательные классы для flexbox */
.flex-column-reverse {
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .flex-md-row {
        flex-direction: row !important;
    }
}