/* Жирное выделение без <strong>/<b> (семантика/SEO — через класс). */
.text-bold{
    font-weight: 700;
}

/* Макет: body.site-body-layout — flex-колонка.
   DOM-контракт прямых дочерних блоков body:
   1) .site-header, 2) .site-main, 3) .top-menu-bar, 4) breadcrumbs, 5) .excursion-info, 6) .site-partner-header, 7) .footer.
   Визуальный порядок управляется через order с шагом 10, чтобы между секциями можно было вставлять новые блоки. */
body.site-body-layout{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.body-layout-scripts-holder[hidden]{
    display: none !important;
}
body.site-body-layout > *{
    order: 50;
    position: relative;
}
/* Bootstrap-модалки: не ломать position:fixed у backdrop/modal (иначе серый блок перед футером) */
body.site-body-layout > .modal-backdrop,
body.site-body-layout > .modal,
body.site-body-layout > .contact-modal{
    position: fixed !important;
    order: 1000;
}
/* Sticky «Забронировать»: кнопка переносится в body (см. excursion_detail.js), иначе fixed
   внутри .site-main/.sidebar ломается из‑за flex+position:relative у прямых детей body. */
body.site-body-layout > .btn-book-sticky{
    position: fixed !important;
    order: 980;
}
body.site-body-layout > .site-partner-header{
    order: 0;
}
body.site-body-layout > .site-header{
    order: 10;
}
body.site-body-layout > .top-menu-bar{
    order: 20;
}
body.site-body-layout > .breadcrumb-with-button,
body.site-body-layout > .breadcrumb-container{
    order: 30;
}
body.site-body-layout > .excursion-info{
    order: 40;
}
body.site-body-layout > .site-main,
body.site-body-layout > main,
body.site-body-layout > .main-content{
    flex: 1 0 auto;
    width: 1540px;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0 auto !important;
}
body.site-body-layout > .site-footer,
body.site-body-layout > .footer{
    order: 60;
}
body.site-body-layout > .body-layout-scripts-holder{
    order: 900;
}
body.site-body-layout > script{
    order: 910;
}

.mobile-nav{ padding: 0 0 20px; }
.mobile-menu-list{ list-style: none; margin: 0; padding: 0; }
/* Выравниваем вертикальные отступы для всех уровней одинаково */
.mobile-menu-list li.mobile-menu-item{ display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-link{ color: #333; text-decoration: none; font-size: 16px; display: block; padding: 8px 0; font-weight: 500; }
.mobile-menu-link.custom-color{ color: inherit; }
.mobile-menu-link:visited,
.mobile-menu-link:hover,
.mobile-menu-link:active,
.mobile-menu-link:focus{ color: #333 !important; text-decoration: none !important; }
.mobile-menu-arrow{ color: #333; text-decoration: none; font-size: 20px; padding: 0 8px; }
.mobile-menu-arrow:visited,
.mobile-menu-arrow:hover,
.mobile-menu-arrow:active,
.mobile-menu-arrow:focus{ color: #333 !important; text-decoration: none !important; }
.mobile-menu-list.hidden{ display: none; }
.mobile-menu-bottom-custom{
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid #aaa;
}
.mobile-menu-bottom-custom a{
  color: #555;
  font-size: 15px;
}
@media (min-width: 768px){ .mobile-nav{ display:none; } }
/* Подключение локальных шрифтов Roboto */
@font-face {
    font-family: 'Roboto';
    src: url('/static/fonts/roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/static/fonts/roboto/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/static/fonts/roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/static/fonts/roboto/Roboto-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

body{
    background-color: #f7f7f7;
    font-family: 'Roboto', Arial, sans-serif;
}
.partner-top-strip{
    background: #eef5ff;
    border-bottom: 1px solid #d7e7fb;
    color: #173b63;
    font-size: 13px;
    line-height: 1.2;
}
.partner-top-strip__inner{
    width: 1520px;
    max-width: 100%;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    white-space: nowrap;
}
.partner-top-strip__identity{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #173b63;
    text-decoration: none;
}
.partner-top-strip__identity:hover{
    color: #1354b9;
    text-decoration: none;
}
.partner-top-strip__identity span{
    overflow: hidden;
    text-overflow: ellipsis;
}
.partner-top-strip__user-icon{
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: currentColor;
}
.partner-top-strip__stats{
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.partner-top-strip__stat{
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #d7e7fb;
    border-radius: 999px;
    padding: 3px 8px;
}
.partner-top-strip__stat span{
    color: #5d7591;
}
.partner-top-strip__stat b{
    color: #1354b9;
}
.partner-top-strip__link{
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 160px;
    overflow: hidden;
}
.partner-top-strip__link a{
    color: #1354b9;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}
.partner-top-strip__link a:hover{
    text-decoration: underline;
}
.partner-copy-link-btn{
    width: 24px;
    height: 24px;
    border: 1px solid #b9d5f5;
    background: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 24px;
    padding: 0;
}
.partner-copy-link-btn svg{
    width: 14px;
    height: 14px;
    fill: #1354b9;
}
.partner-copy-link-btn.copied{
    background: #dff7e7;
    border-color: #8bd6a5;
}
.partner-top-strip__filter{
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.partner-top-strip__filter label{
    color: #5d7591;
}
.partner-top-strip__filter select{
    height: 26px;
    border: 1px solid #b9d5f5;
    border-radius: 6px;
    background: #fff;
    color: #173b63;
    padding: 0 6px;
    font-size: 13px;
}
@media all and (max-width: 1100px){
    .partner-top-strip__inner{
        flex-wrap: wrap;
        white-space: normal;
    }
    .partner-top-strip__filter{
        margin-left: 0;
    }
    .lt-important-may9-inner{
        z-index: initial !important;
    }
}
@media all and (max-width: 767px){
    body.site-body-layout.partner-mobile-menu-open > .site-header{
        order: -10;
    }
    .partner-top-strip__inner{
        align-items: flex-start;
        gap: 8px;
        padding: 8px 12px;
    }
    .partner-top-strip__stats{
        flex-wrap: wrap;
        width: 100%;
    }
}
*{
    margin-bottom: 0;
}
.main-content{ 
    width: 1520px;
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto 50px;
    position: relative;
    max-width: 100%;
}
.item-main-img img{
    width: 100%;
}
.top-container{
    position: relative;
}
.top-container, .top-blocks{
    display: flex;
    width: 1520px;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.h1, h1{
    font-size: 32px;
    color: #1A1A1A;
    font-weight: 700;
}

/* Стили для колонок в header */
.top-col {
    display: flex;
    align-items: center;
    width: 25%;
    min-width: 25%;
}

.top-col-1 {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
}

.top-col-2 {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.top-col-3 {
    flex: 0 0 auto;
    justify-content: center;
}

.top-col-4 {
    flex: 1;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}
.site-lang-switcher {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    padding: 3px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, .12);
    position: relative;
    right: 20px;
    z-index: 20;
}
.site-lang-btn {
    border: 0;
    background: transparent;
    color: #333;
    font-size: 13px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: lowercase;
    text-decoration: none;
    display: inline-block;
}
a.site-lang-btn:hover {
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
}
.site-lang-btn.is-active {
    background: #1a1a1a;
    color: #fff;
}
a.site-lang-btn.is-active:hover {
    color: #fff;
}
.site-lang-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
@media (max-width: 767px) {
    .site-lang-switcher {
        right: 0;
        margin-right: 8px;
        box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .1);
    }
    .site-lang-btn {
        font-size: 12px;
        padding: 5px 8px;
    }
}
.user-block{
    width: 234px;
    margin-bottom: 12px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, .15);
}
.top-blocks{
    width: initial;
    position: relative;
    margin-right: 0 !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.team-list-container .list-item{
    width:48%; 
    display:inline-block; 
    vertical-align:top; 
    margin-right:2%;
}
.address2.address-top{
    text-align: right;
    margin-bottom: 0;
}
.header{
    padding: 10px 0 10px;
    /* box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2); */
    background: #fff;
    height: 120px;
}
/* Top menu bar */
.top-menu-bar{
    width: 100%;
    background: #03a7ff; /* синяя полоса на всю ширину */
    position: relative;
}
.top-menu{
    width: 1520px;
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto;
}
.top-menu-list{
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 44px;
    align-items: center;
    justify-content: space-between;
}
.top-menu-separator{
    width: 1px;
    height: 70%;
    background: rgba(255,255,255,0.9);
    display: inline-block;
    margin: 0 10px;
}
.top-menu-link{
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    padding: 12px 0;
}
.top-menu-link:visited,
.top-menu-link:hover,
.top-menu-link:active,
.top-menu-link:focus{ color: #ffffff !important; text-decoration: none !important; }
.top-menu-item{
    position: relative;
}
/* Стрелка вниз без Unicode — CSS-треугольник (защита от сбоев кодировки) */
.top-menu-item > .top-menu-link::after{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255,255,255,0.9);
    vertical-align: middle;
    position: relative;
    top: 0px;
}
/* Убираем стрелку у элементов без подменю */
.top-menu-item:not(:has(.top-submenu)) > .top-menu-link::after{
    display: none;
}
.top-submenu{
    position: absolute;
    left: 0;
    top: 100%;
    background: #ffffff;
    color: #1f1f1f;
    min-width: 260px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    display: none;
    z-index: 50;
}
.top-submenu ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.top-submenu li a{
    display: block;
    padding: 8px 14px;
    color: #1f1f1f;
    text-decoration: none !important;
    font-size: 14px;
}
.breadcrumb-item{
    display: inline-block;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}
.licenses{ 
    width: 100% !important;
}

.licenses .col-12{
    display: flex;
    margin-top: 7px;
}

.breadcrumb-item a:hover {
    color: #222;
    text-decoration: underline;
}
.breadcrumb-item.active{
    color: #495057;
    font-weight: 500;
}
.breadcrumb-item+.breadcrumb-item {
    padding-left: .5rem;
}
/* override Bootstrap/breadcrumbs UTF-8 divider when CSS served without charset */
.breadcrumb-item+.breadcrumb-item::before{
    content: "\203A";
    color: #6c757d;
    padding-right: 0;
    margin: 0 8px;
    font-weight: bold;
}
.top-submenu li a:hover{
    background: #f0f7ff;
}
.top-menu-item:hover > .top-submenu{
    display: block;
}
.reg-info-container{
    background: #f0f0f0;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reg-info{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 1520px;
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}
.reg-info-text{
    font-size: 13px;
    color: #777;
    margin-right: 20px;
}
.header .logo{
    font-size: 15px;
    font-weight: bold;
    width: 270px;
    margin-right: 0;
    line-height: 150%;
    padding-top: 5px;
    letter-spacing: 1.7px;
}
.header .logo-img{
    position: relative;
    top: 0;
    width: 270px;
}
.header .logo-img img{
    width: 270px;
}
.top-block_phone{
    display: block;
    padding: 3px 0;
    text-align: center;
    border-radius: 6px;
    color: #03a7ff !important;
    font-weight: 600 !important;
    margin-bottom: 5px;
    text-decoration: none !important;
    min-width: 150px;
    font-size: 17px !important;
}
.subcategory-flat-list > li:first-child a{
    border-color: #03a7ff;
}
.top-block{
    position: relative;
    z-index: 5;
}
/* .top-blocks .top-block:nth-child(1):before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: url('/static/images/icons/phone.svg');
    background-size: contain;
    position: absolute;
    left: -42px;
    top: 8px;
}
.top-blocks .top-block:nth-child(2):before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: url('/static/images/icons/chat.svg');
    background-size: contain;
    position: absolute;
    left: -42px;
    top: 8px;
    z-index: 4;
} */
.top-adress{
    display: block;
}
.top-adress{
    color: #212529 !important;
    text-decoration: none !important;
}
.top-adress:before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: url('/static/images/icons/red-point.svg');
    background-size: contain;
    position: absolute;
    left: -36px;
    top: 9px;
}

.top-block_line-1{
    font-size: 14px;
}
.top-block_line-2{
    text-align: right;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
}
.top-block_line-2 a, .top-block_line-2 span{
    font-weight: bold;
    color: #000;
    transition: all .2s ease-in-out;
}
.top-block_max, .top-block_vk{
    font-size: 0 !important;
}
.top-block_line-2 a:hover{
    text-decoration: none;
    color: blue;
}
.top-block_max{
    display: block;
    width: 32px;
    height: 32px;
    background: url('/static/icons/MAX.svg') no-repeat center;
    margin: 0 5px;
    background-size: contain;
}
.top-block_vk{
    display: block;
    width: 32px;
    height: 32px;
    background: url('/static/icons/vk-icon.webp') no-repeat center;
    margin: 0 10px 0 5px;
    background-size: contain;
}
/* .top-block_line-2 a.top-block_whatsapp:before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 2px;
    background: url('/static/images/icons/whatsapp.svg');
    background-size: contain;
    position: relative;
    top: 2px;
    color: #fff;
}
.top-block_line-2 a.top-block_telegram:before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 2px;
    background: url('/static/images/icons/telegram.svg');
    background-size: contain;
    position: relative;
    top: 2px;
    color: #fff;
}
.top-block_line-2 a.top-block_chat:before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 2px;
    background: url('/static/images/icons/chat.svg');
    background-size: contain;
    position: relative;
    top: 2px;
    color: #fff;
} */
.ex-items{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 30px;
}
#agreement{
    margin-left: 0;
    margin-bottom: 10px;
    display: block;
    width: 20px;
    height: 20px;
}
.blank-item{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-item{
    width: 32%;
    box-sizing: border-box;
    background: #fff;
    padding: 0;
    border-radius: 6px;
    box-shadow: 5px 5px 12px 0 rgba(0, 0, 0, .2), -3px -3px 4px 0 rgba(255, 255, 255, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    transition: all .3s ease-in-out;
    cursor:pointer;
    margin-right: 2%;
}
.list-item:nth-child(3n){
    margin-right: 0;
}
/* .list-item:nth-child(3n){
    margin-right: 0;
} */
body .hidden{
    display: none;
}
.item-line{
    padding: 7px 14px;
}
.item-name{
    font-weight: bold;
    font-size: 17px;
    padding: 15px 14px;
    text-transform: uppercase;
}
.item-short-description{
    font-size: 14px;
    padding-bottom: 12px !important;
}
.total-discount{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 13px;
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
}
.tour-card-badges{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.tour-card-badges .total-discount{
    position: static;
}
.tour-owner-badge{
    font-size: 13px;
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
}
.stars-def, .stars-act{
    display: flex;
}
.star_def img, .star_act img{
    width: 24px;
    height: 24px;
}
.stars-act{
    position: absolute;
    margin-top: -26px;
}
.list-item-media{
    position: relative;
    width: 100%;
}
.list-item-media-link{
    display: block;
    color: inherit;
    text-decoration: none;
}
.list-item .rating-stars{
    position: absolute;
    top: auto;
    bottom: 10px;
    left: 12px;
    z-index: 2;
    background: rgba(0,0,0,.55);
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    margin: 0;
}
.list-item .item-line.transport .transport-name,
.list-item .item-line.transport .duration-line{
    display: inline-flex;
    align-items: center;
    margin: 0;
    gap: 4px;
}
.list-item .item-line.transport .transport-name{
    margin-right: 4px;
}
.list-item .list-price-container .first-price,
.list-item .offer-bottom,
.list-item .pre-start-time .date-text,
.list-item .total-discount{
    margin: 0;
}
.list-item-main-link{
    display: block;
    color: inherit;
    text-decoration: none;
}
.list-item-main-link:hover,
.list-item-main-link:focus{
    color: inherit;
    text-decoration: none;
}
.list-item .rating-stars .rating-badge-count{
    font-weight: 400;
    color: rgba(255,255,255,.85);
}
.list-item .rating-stars .card-stars-wrap{
    position: relative;
    display: flex;
    align-items: center;
    height: 14px;
}
.list-item .rating-stars .card-stars-def{
    display: flex;
    gap: 1px;
}
.list-item .rating-stars .card-stars-act{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 1px;
}
.list-item .rating-stars .card-stars-def img,
.list-item .rating-stars .card-stars-act img{
    width: 14px;
    height: 14px;
    display: block;
}
.transport{
    display: flex;
    padding: 0px 14px 15px;
    flex-wrap: wrap;
}

.transport-icon, .time-icon{
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    box-sizing: border-box;
    padding: 3px;
    border-radius: 22px;
    background:#aaa;
    margin-bottom: 10px;
}
.time-icon{
    margin-left: 5px;
}
.transport-icon + span{
    margin-right: 10px;
    margin-bottom: 10px;
}
.transport-icon img, .time-icon img{
    width: auto;
    height: auto;
    max-width: 100%;
    height: 100%;
}
.time-icon{
    padding: 0;
}
.list_price{
    font-size: 20px;
    color: #0074ff;
}
.list-price-container{
    padding: 15px 4px;
}
.filter-block{
    display: flex;
    width: 100%;
    padding: 0 0 10px;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: none;
    position: relative;
}
.filter-reset{
    position: relative;
    right: 3px;
    top: -1px;
}
#reset-filters{
    background: #eee;
    border: none;
    color: #333;
}
.list-item:hover{
    transform: scale(103%);
    /* box-shadow: 5px 5px 12px 0 rgba(0, 0, 0, .2), -3px -3px 4px 0 rgba(255, 255, 255, 1); */
    box-shadow: 7px 7px 20px 0 rgba(0, 0, 0, .15), -4px -4px 8px 0 rgba(255, 255, 255, 1);
}
.stars-num{
    position: absolute;
    margin-top: -26px;
    margin-left: 125px;
    z-index: 0;
}

.excursion-main-image{
    margin-top: 20px;
    height: 300px;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-main-image{
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-main-image img{
    border-radius: 8px;;
}
.hotel-room-name {
    font-size: 1.25rem;
    margin-bottom: 0.5em;
}
.hotel-room-short-description {
    margin-bottom: 1em;
    color: #555;
}
.hotel-room-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.5em;
}
.hotel-room-gallery-img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}
.excursion-main-image img{
    width: 100%;
    height: auto;
}
h1.exc-title{
    margin: 0;
}

/* Стили для блока с основным и дополнительными изображениями */
.excursion-main-images-block {
    margin-bottom: 30px;
}

.main-group-images {
    display: flex;
    gap: 10px;
    align-items: stretch;
    height: 350px;
}

.main-group-image {
    flex: 2;
    min-width: 0;
    position: relative;
}

.main-group-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.main-group-image a picture, .additional-image a picture{
    height: 100%;
}
.main-group-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.main-group-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
    pointer-events: none;
}

.main-group-image:hover .image-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.main-group-image:hover img {
    opacity: 0.8;
}

.main-group-image .zoom-icon {
    width: 64px;
    height: 64px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-group-image:hover .zoom-icon {
    opacity: 1;
}

.additional-group-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    height: 100%;
}

.additional-image {
    flex: 1;
    min-height: 0;
    max-height: 50%;
    overflow: hidden;
    position: relative;
}

.additional-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.additional-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.additional-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
    pointer-events: none;
}

.additional-image:hover .image-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.additional-image:hover img {
    opacity: 0.8;
}

.additional-image .zoom-icon {
    width: 64px;
    height: 64px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.additional-image:hover .zoom-icon {
    opacity: 1;
}

/* Стили для последнего изображения (3-го) с постоянным затемнением и текстом */
.additional-image.last-image .image-overlay.last-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.additional-image.last-image .more-photos-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.additional-image.last-image:hover .image-overlay.last-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Категории: плоский список подкатегорий в 4 колонки (десктоп) */
.category-tree .subcategory-flat-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 20px 0;
}
.category-tree .subcategory-flat-list li{
    margin: 0;
    padding: 0;
    margin-right: 10px;
}

/* Контейнер дерева категорий */
.category-tree{
    display: flex
    ;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

/* Сетка категорий и подкатегорий (вид по кнопке "Еще") */
.category-tree-grid{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 0 10px;
}
.category-tree-grid .category-type{
    width: 25%;
    margin: 0;
    padding: 0 0 10px 0;
}
.category-tree-grid .category-list,
.category-tree-grid .subcategory-list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.category-tree-actions{
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

/* Стили для кнопки в плоском списке */
.subcategory-flat-list .category-tree-actions {
    width: 100%;
}
.page-404 > h1{
    margin-top: 30px !important;
}

.subcategory-flat-list .category-tree-actions .category-tree-toggle, .subcategory-flat-list .category-tree-actions .category-tree-toggle:active {
    color: inherit;
    display: inline-block;
    transition: color 0.2s 
ease;
    font-size: 14px;
    text-decoration: none !important;
    background: #fff;
    padding: 3px 10px;
    margin: 0 0 5px;
    border-radius: 30px;
    border: 1px solid #00a7ff;
}

/* Стили для кнопки в сетке (последний столбец) */
.category-tree-grid .category-tree-actions {
    width: 25%;
    display: flex;
    justify-content: center;
}

.category-tree-grid .category-tree-actions .category-tree-toggle, .category-tree-grid .category-tree-actions .category-tree-toggle:active {
    color: inherit;
    display: inline-block;
    transition: color 0.2s 
ease;
    font-size: 14px;
    text-decoration: none !important;
    background: #fff;
    padding: 3px 10px;
    margin: 0 0 5px;
    border-radius: 30px;
    border: 1px solid #00a7ff;
}


#category-tree-toggle{
    color: inherit;
    display: inline-block;
    transition: color 0.2s ease;
    font-size: 14px;
    text-decoration: none !important;
    background: #fff;
    padding: 3px 10px;
    margin: 0 0 5px;
}

/* Стили для блока итоговой суммы */
.total-summary {
    margin-top: 10px;
    padding: 15px 15px 7px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    gap: 15px;
    flex-direction: row;
}
.total-summary > div{
    width: 50% !important;
}

.total-summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.total-summary-content > div{
    margin: 0 0 0 auto;
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.total-amounts {
    display: flex;
    align-items: center;
    gap: 10px;
}

.total-regular {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-decoration: line-through;
    text-decoration-color: #dc3545;
}

.total-special {
    font-size: 18px;
    font-weight: 600;
    color: #00a7ff;
}
.date-text {
    font-weight: 400;
    font-size: 14px;
    text-align: left;
    padding-left: 10px;
}
.pre-start-time > img{
    margin-left: 0;
    background: none;
}

/* Стили для иконок в кнопках бронирования */
.button-icon {
    margin-right: 8px;
    font-size: 16px;
}

.button-icon img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Иконки в суммарных кнопках шагов */
.summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}
.summary-icon img {
    width: 16px;
    height: 16px;
}

/* Иконка денег в селекте предоплаты */
#prepayment-select {
    background-image: url("../../images/icons/money.svg");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px 16px;
    padding-left: 36px;
}
.btn-secondary:hover:not(:disabled){
    color: #1f1f1f;
}


/* Стили для основного изображения на всю ширину (когда нет дополнительных) */
.main-group-image-full {
    width: 100%;
    position: relative;
}

.main-group-image-full a {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.main-group-image-full .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    border-radius: 8px;
    pointer-events: none;
}

.main-group-image-full:hover .image-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.main-group-image-full:hover img {
    opacity: 0.8;
}

.main-group-image-full .zoom-icon {
    width: 64px;
    height: 64px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-group-image-full:hover .zoom-icon {
    opacity: 1;
}

/* Сетка карточек экскурсий: 3 в ряд на десктопе */
#excursion-list{
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}
#excursion-list .list-item{
    width: 32%;
    box-sizing: border-box;
    margin: 0 0 20px 0;
}
@media (max-width: 991px){
    #excursion-list{
        gap: 3%;
    }
    #excursion-list .list-item{
        width: 48.5%;
    }
}
@media (max-width: 575px){
    #excursion-list{
        gap: 0;
    }
    #excursion-list .list-item{
        width: 100%;
    }
}

.main-group-image-full img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.excursion-gallery .gallery {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: space-between;
}
.excursion-point > ul{
    padding: 0 0 0 15px;
}
.excursion-gallery .gallery a {
    width: 48%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 3%;
}
.excursion-gallery .gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.excursion-comments{
    margin-top: 0;
}
.list-item a *{
    color: #333;
    text-decoration: none !important;
}
.ps-h2{
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.2;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.ya-mt-minus-2{
    margin-top: -2px;
}
.vk-footer a i{
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background: url("../../images/icons/vk-icon.webp");
    background-size: contain;
    position: relative;
    bottom: 1px;
    margin-left: 2px;
}
.ps-h3{
    font-size: 30px;
    margin-bottom: 25px;
    margin-top: 0 !important;
    font-weight: 500;
    line-height: 1.2;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.list-item a{
    text-decoration: none !important;
}
.excursion-badges-detail{
    position: absolute;
    top: -60px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: calc(100% - 40px);
    z-index: 2;
}
.excursion-discount{
    position: relative;
    width: fit-content;
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    color: #222;
}
.excursion-owner-badge-detail{
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
}
h1{
    margin-top: 30px;
    margin-bottom: 20px;
}
.excursion-page h1{
    margin-top: 0;
}
h2{
    margin-bottom: 20px;
    margin-top: 20px;
}
h2, h3{
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 25px;
}
.dop-info{
    display: flex;
    flex-direction: row;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-top: 50px;
}
.dop-info > div{
    width: 50%;
}
.dop-info h2, .dop-info h3{
    margin-top: 0;
}
.rating-stars.detail{
    padding-left: 0;
    position: relative;
    top: -10px;
    left: 0px;
    margin-right: 36px;
}
/* SEO-текст рейтинга в HTML для краулеров; визуал рисует rates_detail.js */
.total-rating .rating-seo-text{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.total-rating{
    position: relative;
}
.toggle-comments-container{
    text-align: center;
    margin-top: 20px;
}
.dop-info > div.dop-info_left{
    border-right: 1px solid #aaa;
    padding-right: 20px;
}
.dop-info_left h2{
    padding-top: 4px;
}
.dop-info > div.dop-info_right{
    padding-left: 18px;
}
.flatpickr-calendar{
    width: 100% !important;
}
.flatpickr-rContainer, .flatpickr-weekdays, .flatpickr-days{
    width: 100% !important;
}
.dayContainer{
    width: 33% !important;
    min-width: 33% !important;
    max-width: 33% !important;
    justify-content: flex-start;
}
.flatpickr-days{
    justify-content: space-around;
}
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay, .flatpickr-day.notAllowed, .flatpickr-day.notAllowed.prevMonthDay, .flatpickr-day.notAllowed.nextMonthDay{
    border-color: transparent !important;
}
span.flatpickr-day.today:not(.selected), span.flatpickr-day.prevMonthDay.today:not(.selected), span.flatpickr-day.nextMonthDay.today:not(.selected){
    border-color: transparent !important;
}
span.flatpickr-day, span.flatpickr-day.prevMonthDay, span.flatpickr-day.nextMonthDay{
    border: 1px solid transparent !important;
}
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover{
    cursor: not-allowed;
    color: #42434342;
}
.flatpickr-day.today{
    background: #d8f9fd;
}
.excursion-booking h3{
    text-align: center;
    margin-top: 40px;
}
/* Контентные поля экскурсии (описание / программа), не блок .excursion-booking */
.excursion-description,
.excursion-extra-block{
    max-width: 100%;
    overflow-x: hidden;
}
.excursion-description picture,
.excursion-extra-block picture{
    display: block;
    max-width: 100%;
}
.excursion-description img,
.excursion-extra-block img{
    max-width: 100%;
    height: auto;
}
.flatpickr-day.today:hover, .flatpickr-day.today:focus{
    background: #baf0a2;
    color: #000;
}
.flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange, .flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus{
    background: #c4efaa;
}
.star_num{
    background: #fff;
    padding: 2px 5px;
    border-radius: 20px;
    min-width: 28px;
    text-align: center;
}
.rating-num{
    position: absolute;
    top: 0;
    left: 125px;
}
.comment .stars{
    position: absolute;
    top: 0;
    right: 22px;
}

.comment{
    position: relative;
}
.comment-body{
    padding: 10px;
    margin-top: 15px;
    background: #e9f6fa;
}
.coment-name{
    margin-top: 20px;
}
.footer{
    width: 1520px;
    padding: 0 20px;
    max-width: 100%;
    background: #fff;
    margin: 0 auto;
    padding: 20px 40px;
    margin-bottom: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
}
.company-copyright{
    color: #aaa;
    font-size: 15px;
}
.footer a{
    color: #222;
    text-decoration: none;
    font-size: 15px;
}
.booking-selected-date{
    text-align: center;
}
.excursion-booking-calendar{
    height: 340px;
    overflow: hidden;
    transition: all .2s ease-in-out;
}
.excursion-booking-calendar.closed{
    height: 0;
    overflow: hidden;
}
.booking-date{
    display: inline-block;
    background: #ffffff;
    padding: 3px 12px;
    border-radius: 12px;
    color: #222;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
    cursor: pointer;
}
.excursion-discount img{
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-top: -5px;
}
.booking-date img{
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-top: -5px;
}
.booking-form-container{
    padding: 20px;
    background: #eeeeee;
    border-radius: 12px;
}
.booking-form-row.promocode.active .booking-form-row_block{
    background: #9ecdfb;
}
.booking-form-row.promocode.active .booking-form-row_block .success-message{
    margin: 0 auto;
    font-weight: bold;
}
.booking-form-row{
    margin-bottom: 20px;
}
.booking-form-row_block{
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 8px 8px 15px 0 rgba(0, 0, 0, .1);
    border-radius: 12px;
    padding: 10px;
    position: relative;
}
.booking-form-row_block > div{
    margin-right: 5px;
}
.booking-form-row .form-row-header{
    width: 100%;
    margin-right: 0;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
.booking-form-container input, .booking-form-container select{
    padding: 3px 4px;
    border: 1px solid #aaa;
    border-radius: 5px;
    margin-left: 10px;
}
.booking-form-container input:focus, .booking-form-container select:focus{
    box-shadow: 0 0 0 5px rgba(11, 126, 46, 0.2);
}
.booking-form-container select{
    margin-left: 0;
}
.booking-form-container .promocode input{
    margin-left: 0;
    margin-right: 10px;
}
.booking-form-row.ticket-types label{
    width: 250px;
}
.promocode button{
    background: #ed8d00;
    border: none;
    height: 35px;
    padding: 0 12px;
    border-radius: 6px;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
    color: #fff;
}
.booking-button{
    text-align: center;
}
.booking-button button{
    margin: 20px auto 0;
    border: none;
    font-size: 22px;
    padding: 10px 20px;
    background: #288ccb;
    color: #fff;
    border-radius: 5px;
    box-shadow: 8px 8px 15px 0 rgba(0, 0, 0, .1);
}
#promo_code_message{
    margin-left: 20px;
}
.excursion-booking h3{
    border-bottom: 3px solid orange;
    width: max-content;
    margin: 40px auto 30px;
    padding-bottom: 7px;
}
.booking-form-row_block p:last-child{
    margin-bottom: 0;
}
#filters-form{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
}
#filters-form > div{
    margin-right: 15px;
}
.filter-discount input{
    margin-left: 5px;
}
.filter-discount label{
    margin-bottom: 0;
}
#filters-form select{
    height: 32px;
}
.booking-detail-page{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.booking-detail-page > div{
    width: 48%;
}
.booking-detail ul{
    list-style-type: none;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
}
.booking-items, .booking-ex-info{
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
}
.booking-ex-info h3{
    font-size: 25px;
    margin-top: 0;
}
.pdf-button-container{
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    background: #fff;
    border-radius: 12px;
}
#id_rating{
    display: flex;
    flex-wrap: wrap;
}
#id_rating > div{
    margin-right: 10px;
}
[for="id_body"]{
    display: block;
    margin-bottom: 10px;
}
#id_body{
    width: 100%;
}
.more-gal-batton-container {
    margin-top: 10px;
    background: #efefef;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    font-size: 20px;
}
#loading-overlay img{
    width: 130px;
}
.loading-content {
    text-align: center;
    color: white;
}
#loading-overlay.hidden{
    display: none;
}
.booking-form-row_block > div{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.prepay-summ{
    margin-left: 10px;
}
.ticket-types .booking-form-row_block > div{
    margin-bottom: 10px;
}
.ticket-types .booking-form-row_block{
    padding-bottom: 10px;
}
.list-price-container{
    display: flex;
}
.first-price{
    order: 0;
}
.second-price{
    order: 2;
}
.flatpickr-day.prevMonthDay.hidden{
    display: inline-block !important;
    opacity: 0;
}

#phone_error_message, #ticket_error_message{
    color: red;
    position: absolute;
    bottom: -49px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, .15);
    font-size: 13px;
}
.ticket-types{
    position: relative;
}
.rate_block{
    position: relative;
    top: 0;
    right: 0;
}
.send-to-friends{
    position: relative;
    display: flex;
    margin: 0 0 0 auto;
}
.send-to-friends > span{
    font-size: 13px;
    color: #333;
    margin-right: 10px;
    margin-top: 2px;
}
.category-tree{
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px 20px 0;
    border-radius: 8px;
    box-shadow: 8px 8px 12px 0 rgba(0, 0, 0, .15);
    margin: 10px 0 30px;
    flex-direction: row-reverse;
}

/* Контентная обёртка (не body.simple-page — у body тот же класс как маркер страницы) */
.main-content > .simple-page{
    background: #fff;
    padding: 1px 20px;
}
.simple-page h1{
    text-align: center;
}

/* На всех внутренних страницах добавляем верхний отступ */
.excursion-page .category-tree,
.booking-page .category-tree,
.category-page .category-tree,
.simple-page .category-tree{
    padding-top: 20px;
}
.category-list{
    padding-left: 0;
}

.category-type {
    margin-bottom: 0;
}
.custom-admin ul{
    padding: 0;
    list-style-type: none;
}
.custom-admin ul li ul{
    margin-top: 10px !important;
    display: block;
}
.custom-admin h2{
    margin-top: 50px;
}
.custom-admin ul li {
    font-size: 18px;
    margin-bottom: 10px !important;
    display: inline-block;
}
.custom-admin ul a{
    background: #03a7ff;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none !important;
    transition: all .2s ease-in-out;
    font-size: 15px;
}
.custom-admin ul a:hover{
    background: #28b4ff;
}

.category-type-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
    margin-top: 0;
}

.category-list {
    list-style: none;
    padding-left: 0;
}

.category-item {
    margin-bottom: 1px;
    margin-right: 3%;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: color 0.2s ease;
    font-size: 14px;
    text-decoration: none !important;
    background: #fff;
    padding: 3px 10px;
    margin: 0 0 5px;
    border-radius: 30px;
    border: 1px solid #c4c4c4;
}

.category-link:hover {
    color: #007bff;
}

.category-name {
    font-weight: 500;
    color: #444;
}

.category-count {
    color: #666;
    font-size: 0.9em;
    margin-left: 5px;
}

.subcategory-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

.subcategory-item {
    margin-bottom: 5px;
    font-size: 0.95em;
}
.short-name{
    font-size: 19px;
    padding: 5px 15px 6px;
    background: #e7e7e7;
    border-radius: 5px;
    font-weight: 400;
    margin-bottom: 25px;
}
.excursion-description * {
    background: initial !important;
}
.excursion-extra-block {
    margin-top: 15px;
}

label{
    margin-bottom: 0;
}
.category-tree h2{
    margin-left: 0;
    margin-right: auto;
}
.list-item-actions{
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}
/* Выше .no-dates-overlay (z-index:10), чтобы «Забронировать…» кликалась */
.list-item-actions--inactive{
    position: relative;
    z-index: 20;
}
.list-item-actions .view-tour-btn,
.list-item-actions .buy-tour-btn{
    /* flex: 1 1 0; */
    width: 100%;
    margin-top: 0;
    min-width: 0;
}
.list-item-actions--inactive .book-inactive-btn{
    cursor: pointer;
    border: none;
}
.buy-tour-btn{
    display: flex;
    background: #02a7fc;
    color: #fff;
    text-align: center;
    text-decoration: none !important;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    height: 47px;
    cursor: pointer;
    transition: background-color .2s ease, font-size .2s ease;
}
.buy-tour-btn span{
    color: #fff;
}
.buy-tour-btn:hover:not(:disabled):not(.is-disabled){
    background: #0caeff;
    font-size: 15px;
}
.buy-tour-btn:disabled,
.buy-tour-btn.is-disabled{
    background: #9e9e9e;
    cursor: not-allowed;
    opacity: .75;
}
/* !important: body.site-body-layout > * { position:relative } иначе ломает fixed */
body.site-body-layout > .card-booking-overlay,
.card-booking-overlay{
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 100000 !important;
    order: 1000;
    /* как .calendar-overlay на странице экскурсии */
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 16px 0;
    margin: 0;
    box-sizing: border-box;
}
body.site-body-layout > .card-booking-overlay[hidden],
.card-booking-overlay[hidden]{
    display: none !important;
}
.card-booking-overlay.is-loading::before{
    content: "Загрузка…";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100002;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    pointer-events: none;
}
/* iframe = только белый диалог 960px; затемнение — вокруг, на родителе */
.card-booking-iframe{
    width: min(960px, 100%);
    height: min(90vh, 900px);
    max-height: 90vh;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
/* как .calendar-popup на странице экскурсии (мобилка) */
@media (max-width: 768px) {
    body.site-body-layout > .card-booking-overlay,
    .card-booking-overlay{
        padding: 10px 2.5vw 0;
        /* dvh после vh — учитывает адресную строку мобильных браузеров */
        height: 100vh !important;
        height: 100dvh !important;
    }
    .card-booking-iframe{
        width: 95vw;
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
        max-height: none;
    }
}
.view-tour-btn{
    display: flex;
    width: 100%;
    background: #00a7ff;
    color: #fff;
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    padding: 10px 16px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: font-size .2s ease, background-color .2s ease;
    align-items: center;
    justify-content: center;
    height: 47px;
}
.address-top span{
    font-size: 18px;
}
.view-tour-btn span{
    color: #fff;
    background: transparent;
}
/* Скрытие упоминаний транспорта в пользовательской части */
/* ВАЖНО: Элементы остаются в DOM для работы JavaScript (фильтры, получение продолжительности) */
/* querySelector все еще находит скрытые элементы, data-transport атрибут остается доступным */


/* Скрытие транспорта на страницах бронирования по классу */
/* Скрываем параграфы с классом transport-info */
.transport-info {
    display: none !important;
}

/* Скрытие колонки "Транспорт" в таблицах профиля по классу */
.transport-column {
    display: none !important;
}

.view-tour-btn::after{
    content: "\279E";
    display: inline-block;
    flex: 0 0 auto;
    width: 0;
    max-width: 0;
    overflow: hidden;
    margin-left: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: margin-left .25s ease, width .25s ease, max-width .25s ease, opacity .25s ease, transform .25s ease, font-size .25s ease;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}
body .breadcrumb-container{
    margin: 20px auto 0;
    width: 1520px;
    max-width: 100%;
    padding: 0 20px;
}
.breadcrumb-with-button.bc-mp-container{
    margin: 0 auto;
}
.breadcrumb-with-button .show-cats-button.bc-mp-button{
    position: absolute;
    right: 20px;
    top: 35px;
}
.breadcrumb-nav{
    background-color: #f8f9fa;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: none;
}
.breadcrumb{
    background: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.list-item .view-tour-btn span{
    display: inline-block;
    position: relative;
    background: transparent;
    font-size: 14px;
    left: 0;
    transition: font-size .25s ease-in-out;
}
.view-tour-btn:hover,
.list-item:hover .view-tour-btn{
    background: #0096e6;
    font-size: 18px;
    color: #fff;
}
.list-item:hover .view-tour-btn span{
    font-size: 18px;
    color: #fff;
}
.list-item:hover .view-tour-btn::after,
.view-tour-btn:hover::after{
    opacity: 1;
    width: 1em;
    max-width: 1.2em;
    margin-left: 8px;
    transform: translateX(0);
    font-size: 18px;
}
.list-item_bottom_part{
    width: 100%;
    padding: 10px;
}
.offer-bottom{
    background: #e9f7ea;
    border: 1px solid #d8e6da;
    color: #468854;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 14px;
}
.footer{
    display: flex;
    flex-wrap: wrap;
}
.footer > div {
    width: 33%;
}
.footer > div.footer-last-line{
    width: 100%;
}
.footer > div.footer-last-line span{
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 0;
    background: url(/static/images/icons/red-point.svg);
    background-size: contain;
    position: relative;
    bottom: -9px;
    left: -5px;
}
/* Слот адреса: клон/перенос блока из шапки (#site-address-block) */
.footer-address-slot .top-block.top-adress{
    position: relative;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    padding-left: 40px;
    margin: 0;
    top: auto;
    right: auto;
    left: auto;
}
.footer-address-slot .top-block_line-1,
.footer-address-slot .top-block_line-2{
    display: block !important;
    text-align: left;
}
.footer-address-slot .top-block_line-2{
    display: flex !important;
    justify-content: flex-start;
}
.footer-address-slot .top-adress:before,
.footer-address-slot .top-block.top-adress:before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: url(/static/images/icons/red-point.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 4px;
    z-index: 1;
}
.category-tree .subcategory-flat-list{
    padding: 0 0 20px 0 !important;
}

/* Стили для информации о ближайших датах */
.nearest-dates-info {
    margin-bottom: -5px;
    margin-top: -10px;
}

.pre-start-time {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
}

.pre-start-time:last-child {
    margin-bottom: 0;
}

.pre-start-time .date-text {
    font-weight: 500;
    color: #333;
}

.pre-start-time .times-text {
    font-weight: 500;
    color: #333;
    display: flex;
    margin-left: 7px;
}

.pre-start-time .calendar-icon,
.pre-start-time .time-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pre-start-time .calendar-icon {
    opacity: 0.7;
}

.pre-start-time .time-icon {
    opacity: 0.8;
}
.pre-start-time .each-time {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 6px;
    background-color: #e8eff5;
    border-radius: 3px;
    font-weight: 500;
    color: #333;
}
.pre-start-time .each-time:last-child {
    margin-right: 0;
}
.blog-page-main h1{
    margin: 0;
}
.video-embed-block{
    margin: 30px 0 0;
}
.blog-page-sidebar{
    margin-left: 30px;
}
body .pagination-nav{
    display: flex;
    justify-content: center;
}
body #apply-promo-btn{
    padding: 8px;
}
body .promo-input{
    max-width: 190px;
}
.reviews-button{
    padding: 10px;
    background: #ffcb45;
    margin: 0 0 10px 0;
    border-radius: 4px;
    display: inline-block;
    color: #fff !important;
}
body .wrap__NJoN_{
    z-index: 100 !important;
}

.rate_block{
    display:flex; 
    align-items:center;
}
.rate-container{
    font-family:sans-serif;
}
.rate-container > a{
    display:block;
    color:#333;
    border-radius:6px;
    text-decoration:none;
    font-weight:500;
}
.stars-container{
    margin-bottom: 0;
}
.stars-container i{
    display: inline-block;
    margin-right: 2px;
    width: 16px;
    height: 16px;
    background: url(/static/images/icons/star-new.svg) no-repeat center;
    background-size: contain;
}
.ya-text{
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 0;
}

/* Оверлей для карточек экскурсий без доступных дат */
.no-dates-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-decoration: none !important;
}

.no-dates-overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.no-dates-text-block {
    border: 2px solid #00a7ff;
    padding: 15px;
    text-align: center;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    max-width: 80%;
    background-color: #ffffff;
    margin-bottom: 220px;
}
.excursion-info{
    background-color: transparent;
    border-radius: 8px;
    width: 1520px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    max-width: 100%;
    z-index: 35;
}
.booking-detail-page .excursion-info{
    display: initial;
    margin-left: 0;
    padding: 0 !important;
}
.partner-card.partner-join-card{
    margin-top: 30px;
}
.user-menu-dropdown{
    position: relative;
    display: inline-block;
}
button.u-login-link,
button.u-registration-link{
    display: inline-flex;
    align-items: center;
    vertical-align: baseline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    text-align: inherit;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}
/* Под языковым блоком в footer-right — как бывший .user-block в шапке */
.footer-tourist-auth{
    margin-top: 16px;
    width: 304px;
    max-width: 100%;
    background: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, .15);
    color: #222;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}
.footer-tourist-auth .u-login-link,
.footer-tourist-auth .u-registration-link{
    color: #222 !important;
    text-decoration: none !important;
    cursor: pointer;
}
.user-menu-toggle, .u-login-link, .u-registration-link{
    color: #222 !important;
    text-decoration: none !important;
    cursor: pointer;
}
.user-menu-toggle i, .u-login-link i{
    width: 16px;
    height: 16px;
    background: url(/static/images/icons/user-circle.svg) no-repeat center;
    background-size: contain;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
.u-registration-link i{
    width: 16px;
    height: 16px;
    background: url(/static/images/icons/key.svg) no-repeat center;
    background-size: contain;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* Модальные окна входа и регистрации */
#loginModal.show,
#registerModal.show{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 24px 0 !important;
    overflow-y: auto !important;
    background: rgba(0, 0, 0, 0.55) !important;
    z-index: 1055 !important;
}

#loginModal.show .modal-dialog,
#registerModal.show .modal-dialog{
    width: 100% !important;
    max-width: 500px !important;
    margin: auto !important;
    position: relative !important;
    z-index: 1056 !important;
}

#loginModal.show .modal-content,
#registerModal.show .modal-content{
    position: relative !important;
    z-index: 1057 !important;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

/* Бывший h5.modal-title Bootstrap: вид без heading-тега */
.modal-header .modal-title{
    margin: 0;
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    color: inherit;
}

#loginModal + .modal-backdrop.show,
#registerModal + .modal-backdrop.show,
body.modal-open .modal-backdrop.show{
    opacity: 0.55 !important;
}

@media all and (max-width: 767px){
    #loginModal.show,
    #registerModal.show{
        padding: 20px !important;
    }

    #loginModal.show .modal-dialog,
    #registerModal.show .modal-dialog{
        max-width: calc(100vw - 40px) !important;
        margin: auto !important;
    }

    #loginModal.show .modal-content,
    #registerModal.show .modal-content{
        max-height: calc(100vh - 40px);
    }
}
.user-menu-dropdown-content{
    position: absolute;
    right: -44px;
    top: calc(100% + 2px);
    background-color: #fff;
    min-width: 234px;
    width: 100%;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    padding-top: 10px;
    display: none;
    z-index: 1000;
}
.user-menu-dropdown-content a{
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.user-menu-dropdown-content a:hover{
    background-color: #f1f1f1;
}
.user-menu-dropdown.open .user-menu-dropdown-content{
    display: block;
}
.booking-spinner{
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    animation: booking-spinner-rotate 0.8s linear infinite;
}
.exc-detail{
    width: 100%;
}
.time-option {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.time-option.selected{
    border-color: #00a7ff;
    background: #e6f3ff;
}
.selected-date-summary {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 10px;
}
.selected-date-info, .selected-time-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
    border-radius: 6px;
}
.summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}
.selected-date-label, .selected-time-label {
    font-weight: 600;
    color: #333;
}
.selected-date-value, .selected-time-value {
    font-weight: 700;
    color: #00a7ff;
    font-size: 16px;
}
.toggle-arrow {
    display: inline-block;
    margin-left: auto;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.2s ease;
}
.toggle-arrow.expanded {
    transform: rotate(180deg);
}
.btn-outline {
    background-color: transparent;
    color: #00a7ff;
    border: 2px solid #00a7ff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.promo-input {
    flex: 1;
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}
#contacts-step .booking-form-row_block {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
#contacts-step .booking-form-row_block label {
    font-size: 15px;
    color: #555;
    display: inline-block;
    margin-right: 3px;
}
.booking-form-row_block > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#contacts-step .booking-form-row_block input[type="text"], #contacts-step .booking-form-row_block input[type="email"] {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.date-button {
    width: 100%;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px !important;
}
.date-button:hover {
    border-color: #00a7ff;
    background: #f8f9ff;
}
#contacts-step .required-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}
#next-step-button{
    width: 100% !important;
}
#next-step-button:focus{
    box-shadow: none !important;
}
.time-options{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.promo-qr-multiple > p.text-muted{
    margin-bottom: 0;
}
#bookingDetailContent .excursion-main-image{
    margin-top: 0;
}
#bookingDetailContent .excursion-info{
    flex-direction: column;
}
#bookingDetailContent .excursion-info strong{
    margin-bottom: 20px;
    display: block;
}
#bookingDetailContent .booking-detail h4{
    margin-bottom: 20px;
    margin-top: -30px;
}
.actual-bookings{
    .booking-detail-btn{
        width: 100%;
    }
    .booking-detail-btn + form{
        display: inline-block;
        margin-left: 0 !important;
        margin-top: 5px;
        margin-top: 5px;
        width: 100%;
    }
    .booking-detail-btn + form .btn-danger{
        width: 100%;
    }
}
#lt-petergof-premium .lt-wrap{
    width: 1540px !important;
    max-width: 100% !important;
    padding: 0 !important;
}
@keyframes booking-spinner-rotate{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
.partner-login-button{
    margin-top: 20px !important;
}

@media all and (min-width: 768px){
    .mobile-top{
        display: none;
    }
    .mobile-ya-rating{
        display: none !important;
    }
    .excursion-page .category-tree, .booking-page .category-tree, .category-page .category-tree, .simple-page .category-tree{
        display: none;
    }
    /* Показываем рубрикатор на страницах категорий, если нет класса cats-hidden */
    .category-page .category-tree:not(.cats-hidden){
        display: flex !important;
    }
    /* Скрываем мобильный рубрикатор на десктопе */
    .mobile-category-tree {
        display: none;
    }
}
@media all and (max-width:767px){
    .list-item .rating-stars{
        bottom: 8px;
    }
    #lt-petergof-premium .lt-wrap{
        padding: 0;
    }
    .selected-time-label, .selected-time-label, .selected-date-label{
        display: none !important;
    }
    .stars-container i{
        display: none;
    }
    .stars-container i:first-child{
        display: inline-block;
        width: 24px;
        height: 30px;
        position: relative;
        top: 0px;
    }
    .time-options{
        gap: 10px !important;
    }
    .top-col.top-col-3{
        position: absolute;
        z-index: 1000;
        height: 32px;
        width: 32px;
        min-width: 32px;
        top: -58px;
        left: 197px;
    }
    .top-block.top-adress{
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 28px;
        height: 28px;
    }
    .ya-text{
        display: none;
    }
    .stars-container > strong{
        display: flex;
        flex-direction: column;
    }
    .stars-container span{
        font-size: 10px;
        text-align: center;
        display: none;
    }
    .reviews-button{
        margin: 10px 0;
    }
    .ps-h2{
        font-size: 19px;
        margin-top: 30px;
        margin-bottom: 20px;
        font-weight: 500;
        line-height: 1.2;
    }
    .ps-h3{
        font-size: 20px;
        font-weight: 500;
        line-height: 1.2;
        margin-top: 0;
    }
    .exc-detail, .blog-page-inner{
        padding: 15px;
    }
    .blog-page-inner h1{
        margin: 0;
    }
    .team-list-container .list-item{
        width: 100%; 
        display: inline-block; 
        vertical-align: top; 
        margin-right: 0;
    }
    .blog-intro-text{
        padding: 0 15px;
    }
    .pre-start-time {
        font-size: 12px;
        padding: 5px 8px;
        gap: 6px;
    }
    .pre-start-time .date-text{
        padding-left: 5px;
    }
    .pre-start-time .each-time {
        margin-right: 6px;
        padding: 1px 4px;
        font-size: 11px;
    }    
    .pre-start-time .calendar-icon,
    .pre-start-time .time-icon {
        width: 12px;
        height: 12px;
    }
    .excursion-sub-header{
        font-size: 19px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .category-page .mobile-category-tree{
        display: none !important;
    }
    .category-page .ex-items{
        margin-top: 20px;
    }
    .booking-form-row.ticket-types label{
        width: 220px;
    }
    #promo_code_message{
        margin-top: 10px;
        margin-left: 0;
    }
    .filter-block{
        box-shadow: none;
        padding: 15px 15px 0;
        display: none !important;
    }
    .address2.address-top{
        text-align: left;
    }
    
    /* Стили для регистрационной информации в футере на мобильном */
    .footer .reg-info-container {
        background: #f0f0f0;
        padding: 10px;
        margin-top: 15px;
        display: none;
    }
    .licenses{
        order: -5;
    }
    .licenses > .col-12{
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer .reg-info {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .footer .reg-info-text {
        font-size: 12px;
        color: #666;
        text-align: center;
    }
    
    .footer .send-to-friends {
        display: none; /* Скрываем кнопки соцсетей в футере */
    }
    .send-to-friends{
        top: 61px;
        z-index: 60;
        right: 60px;
    }
    .send-to-friends > span{
        display: none;
    }
    .category-tree{
        flex-wrap: wrap;
        padding: 0;
        box-shadow: none;
    }
    /* Принудительно скрываем дерево категорий внутри mobile-menu на мобильных */
    .mobile-menu .category-tree{ display: none !important; }
    /* Info-страницы: рубрикатор в контенте не показываем (он уже в меню) */
    .simple-page .main-content .category-tree{ display: none !important; }
    h1.mp-h1{
        padding: 0 15px;
    }
    .rate_block {
        /* ponytail: рейтинг в мобильной шапке — отдельный .mobile-ya-rating */
        display: none !important;
    }
    .mobile-ya-rating{
        position: absolute;
        top: 14px;
        /* сразу слева от .mob-connection (left:233), не у логотипа */
        left: auto;
        right: calc(100% - 229px);
        z-index: 60;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        height: 32px;
        padding: 0;
        text-decoration: none !important;
        color: #333;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
    }
    .mobile-ya-rating i{
        display: inline-block;
        width: 20px;
        height: 20px;
        background: url(/static/images/icons/star-new.svg) no-repeat center;
        background-size: contain;
        flex: 0 0 20px;
    }
    .mobile-ya-rating span{
        color: #333;
        font-weight: 700;
    }
    .mob-connection{
        position: absolute;
        top: -5px;
        left: 233px;
        display: flex;
    }
    .mob-connection .top-block_max{
        margin: 0;
    }
    .mob-connection .top-block_vk{
        margin: 0 2px 0 2px;
    }
    .mob-connection .top-block_phone{
        font-size: 0 !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        display: block;
        position: relative;
        left: 0px;
        top: -3px;
    }
    .mob-connection .top-block_phone:before{
        content: "";
        display: block;
        width: 32px !important;
        height: 32px;
        background-image: url("../../images/icons/phone-color.svg");
        background-size: contain;
    }
    .dop-info > div.dop-info_right{
        margin-top: 0;
    }
    .dop-info{
        margin-top: 30px;
    }
    .logo-img{
        left: 0;
        width: 100%;
        display: none;
    }
    .header .logo-img img{
        width: 100%;
        height: auto;
    }
    .mobile-company-name{
        position: absolute;
        text-align: center;
        font-weight: bold;
        width: 200px;
        left: 0;
        margin-left: 0;
        top: 18px;
        font-size: 18px;
        display: flex;
    }
    .top-block_line-2{
        text-align: left;
    }
    .mobile-company-name span, .mobile-company-name:hover span, .mobile-company-name:active span, .mobile-company-name, .mobile-company-name:hover, .mobile-company-name:active{
        color: #333;
        text-decoration: none !important;
    }
    .mobile-company-name:before{
        content: "";
        width: 44px;
        height: 32px;
        display: block;
        background: url(/static/images/logo-ship2.png) no-repeat;
        background-size: contain;
        background-position: center top;
        margin-left: 6px;
        margin-right: 6px;
        position: relative;
        top: -4px;
    }
    .logo-mob-text-contaner{
        text-align: left;
        height: 32px;
        display: flex;
        flex-direction: column;
        margin-top: 4px;
    }
    .logo-mob-text-contaner > span{
        position: relative;
        top: -10px;
        line-height: 20px;
    }
    .logo-mob-text-contaner > span + span{
        font-size: 8px;
    }
    .logo-mob-text-contaner > b{
        font-size: 8px;
        position: relative;
        top: -21px;
    }
    .mobile-menu-button{
        position: absolute;
        width: 32px;
        height: 32px;
        top: 13px;
        right: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-menu-button span{
        display: block;
        width: 20px;
        height: 3px;
        background: #333;
        border-radius: 1px;
        position: relative;
    }
    .category-info-top{
        margin-bottom: 20px !important;
        margin-top: 20px;
    }
    .mobile-menu-button span:after{
        content: "";
        display: block;
        position: absolute;
        top: -6px;
        width: 20px;
        height: 3px;
        background: #333;
        border-radius: 1px;
    }
    .mobile-menu-button span:before{
        content: "";
        display: block;
        position: absolute;
        bottom: -6px;
        width: 20px;
        height: 3px;
        background: #333;
        border-radius: 1px;
    }
    .logo{
        display: none;
    }
    .top-blocks{
        position: fixed;
        top: 49px;
        width: 100vw;
        padding: 27px 15px 15px 15px;
        z-index: 10;
        background: #fff;
        height: 100vh;
        box-sizing: border-box;
        margin: 0;
        display: none;
        bottom: initial;
        left: 0;
    }
    .top-block-phone:after{
        content: "";
        display: none;
    }
    .top-blocks.show-menu{
        display: block;
        overflow-y: scroll;
        padding-bottom: 100px;
        z-index: 1000;
    }
    body.lock-scroll{
        height: 100vh;
        overflow: hidden;
    }
    .top-block{
        width: 100%;
        margin-bottom: 5px;
    }
    .top-adress{
        position: relative;
        left: 0;
    }
    .top-block_line-1, .top-block_line-2{
        display: none;
    }
    .top-block.top-adress:before{
        content: "";
        display: block;
        width: 31px;
        height: 24px;
        background: url(/static/images/icons/red-point.svg) no-repeat center;
        background-size: cover;
        position: relative;
        z-index: 1000;
        left: -2px;
        top: 4px;
    }
    .item-short-description + .transport{
        padding: 15px !important;
    }
    .mobile-top{
        position: relative;
        z-index: 50;
        top: -10px;
        height: 62px;
        background: #fff;
        border-bottom: 3px solid #449cf9;
    }
    .header{
        height: 64px;
        margin-bottom: 0;
    }
    .top-menu-bar{
        display: none; /* скрываем десктопное меню на мобильных */
    }
    #filters-form > div{
        margin-bottom: 10px;
    }
    #filters-form > div.filter-discount{
        margin-bottom: 0;
    }
    .ex-items{
        padding: 0 15px;
    }
    .ex-items .list-item{
        width: 100%;
        margin-right: 0;
    }
    .footer{
        flex-wrap: wrap;
        margin-bottom: 0;
        border-radius: 0;
        padding: 15px;
        flex-direction: column;
        background: initial !important;
        box-shadow: none !important;
    }
    .footer-agent-cabinet-btn{
        width: 100% !important;
    }
    .reviews-button{
        color: #000000 !important;
        width: 100%;
        text-align: center;
    }
    .vk-footer a i, .footer > div.footer-last-line span, .licenses > div{
        z-index: -1;
    }
    .excursion-sidebar, .booking-block{
        padding-bottom: 0 !important;
    }
    .footer .company-copyright{
        font-size: 13px;
    }
    .footer > div{
        width: 100%;
        display: flex;
        flex-direction: column;
        font-size: 13px;
    }
    .booking-actions{
        margin-bottom: 25px;
    }
    .main-content{
        margin-bottom: 10px;
        padding: 0;
    }
    .excursion-main-image{
        margin-top: -22px;
    }
    h1{
        font-size: 20px;
        margin-top: 20px;
    }
    .mobile-menu .top-block.top-adress{
        display: none;
    }
    .excursion-main-image{
        margin-top: 0;
        margin-bottom: 0;
        height: 150px;
    }
    .excursion-page .excursion-main-image{
        margin-top: -2px;
    }
    .ex-main, .excursion-container, .booking-detail-page, .booking-rate, .custom-admin, .simple-page{
        padding: 0;
    }
    .ex-main .main-content, .excursion-container .main-content, .booking-detail-page .main-content, .booking-rate .main-content, .custom-admin .main-content, .simple-page .main-content{
        padding: 0 15px;
    }
    .dop-info{
        flex-direction: column;
        padding: 15px;
    }
    .dop-info > div{
        width: 100% !important;
        padding: 0 !important;
    }
    .dop-info h2, .dop-info h3{
        font-size: 20px;
    }
    .excursion-point ul{
        padding-left: 15px;
    }
    .mob-menu-back-button{
        padding: 5px 0;
    }
    .mob-menu-back-button span{
        margin-right: 10px;
        font-size: 20px;
    }
    .top-adress:before{
        display: none;
    }
    .dop-info > div.dop-info_left{
        border-left: none;
    }
    .excursion-gallery{
        margin-top: 0;
    }
    .excursion-gallery .gallery a {
        width: 31%;
        height: 100px;
        overflow: hidden;
        border-radius: 8px;
    }
    .excursion-booking h3{
        width: 100%;
        font-size: 20px;
        padding-bottom: 27px;
    }
    .dayContainer{
        width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    }
    .calendar-contaner{
        margin-bottom: 50px;
    }
    .flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after{
        display: none !important;
    }
    .booking-selected-date{
        font-size: 20px;
    }
    .booking-selected-date span{
        margin-left: 10px;
    }
    .booking-form-container select{
        width: 100%;
        margin-right: 0;
    }
    .booking-form-row_block > div{
        margin-right: 0;
    }
    .excursion-booking-calendar h4{
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    .excursion-booking-calendar{
        height: 370px;
    }
    .booking-form-row .form-row-header{
        font-size: 16px;
        text-align: center;
        font-weight: 500;
    }
    .booking-form-row_block > div{
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 10px;
        font-size: 14px;
    }
    .booking-form-row_block > div:last-child{
        margin-bottom: 0;
    }
    .booking-form-row.ticket-types input{
        width: 50px;
    }
    .booking-form-row.prepayment-options .booking-form-row_block > div{
        flex-direction: column;
    }
    .booking-form-row.prepayment-options .booking-form-row_block select{
        margin-bottom: 10px;
    }
    .booking-form-row.promocode .booking-form-row_block > div{
        flex-direction: column;
    }
    .booking-form-row.promocode .booking-form-row_block input{
        margin-bottom: 10px;
        margin-right: 0;
    }
    .booking-form-row_block > p{
        font-size: 14px;
        font-weight: bold;
    }
    .prepay-summ{
        font-weight: bold;
    }
    .booking-form-container{
        margin-bottom: 40px;
    }
    .booking-form-row.booking-button button{
        font-size: 20px;
    }
    .pdf-button-container{
        background: initial;
    }
    .booking-detail-page{
        flex-direction: column-reverse;
    }
    .booking-detail-page > div{
        width: 100%;
    }
    .booking-detail-page h2, .booking-detail-page h3, .custom-admin h2{
        font-size: 20px;
        text-align: center;
    }
    .booking-ex-info ul{
        padding-left: 15px;
    }
    .booking-rate h2{
        font-size: 20px;
        text-align: center;
    }
    .booking-rate-button-container{
        text-align: center;
        margin-bottom: 40px;
    }
    [for="id_name"]{
        margin-right: 10px;
    }
    .custom-admin ul{
        padding-left: 15px;
    }
    .custom-admin form{
        margin-bottom: 40px;
    }
    .custom-admin.custom-admin-add-many form{
        margin-bottom: 0;
    }
    .custom-admin.custom-admin-add-many .add-many-form-container{
        margin-bottom: 40px;
    }
    .custom-admin-add-many select{
        max-width: 100%;
    }
    .custom-admin-add-many #id_days_of_week {
        flex-direction: column;
    }
    .add-many-form-container form > div{
        justify-content: space-evenly;
    }
    .custom-admin-add-many .add-many-form-container form > div label{
        margin-right: 0;
        margin-bottom: 10px;
    }
    [for="id_start_date"], [for="id_end_date"]{
        margin-bottom: 0 !important;
    }
    .list-price-container span{
        font-size: 15px;
    }
    .list-price-container span b{
        font-size: 17px;
    }
    .footer a{
        font-size: 13px;
    }
    .dop-info h3 {
        margin-top: 0px;
    }
    .comment .stars{
        right: 27px;
    }
    .rating-stars.detail{
        left: 10px;
    }
    .excursion-discount{
        right: 10px;
    }
    .prepay-summ{
        margin-left: 0;
    }
    .top-blocks .category-tree h2{
        display: none;
    }
    .category-tree-flat{
        display: none !important;
    }
    .category-tree-grid{
        display: block !important;
    }
    .category-tree-actions{
        display: none !important;
    }
    .category-tree-grid .category-type-title{
        display: block !important;
    }
    .category-tree-grid .category-type{
        width: 100%;
    }
    .top-block_phone{
        margin-bottom: 20px;
    }
    .breadcrumb-container{
        display: none;
    }
    .excursion-page .ya-share2_inited{
        bottom: initial;
    }
    .main-content{
        flex-direction: column-reverse !important;
    }
    .transport{
        display: flex;
        padding: 15px !important;
    }
    .dop-info > div.dop-info_left{
        border: none;
    }
    .dop-info_left{
        display: flex;
        flex-direction: column;
    }
    .dop-info_left h2{
        order: 4;
        margin-top: 20px;
    }
    .dop-info_left .excursion-point{
        order: 6;
    }
    .dop-info_left .excursion-comments{
        order: 3;
        margin-top: 0;
    }
    .dop-info_left .excursion-comments h2{
        margin-top: 0;
        margin-bottom: 0;
    }
    .excursion-comments{
        margin-top: 20px;
    }
    .excursion-gallery h2{
        margin-top: 0 !important;
    }
    .excursion-price-block{
        margin: 0 0 15px !important;
    }
    .booking-block{
        margin: 0 0 10px;
    }
    .calendar-content{
        max-height: 100%;
        overflow-y: auto;
        padding-bottom: 400px;
    }
    #contacts-step .booking-form-row_block{
        flex-wrap: wrap !important;
    }
    #contacts-step .booking-form-row_block label{
        min-width: 91px;
    }
    .booking-form-row_block{
        padding: 17px 0px;
        box-shadow: none;
    }
    .rating-stars.detail{
        top: 7px;
    }
    .excursion-discount{
        left: 0;
        right: initial;
        top: 0;
        position: relative;
    }
    .rating-stars.detail{
        left: 0;
    }
    .transport{
        padding: 15px 15px 0 !important;
    } 
    .excursion-page .transport{
        padding: 15px 15px 0 0;
    }
    .category-tree{
        padding-top: 0;
        margin-top: 0px;
    }
    .excursion-info{
        display: none !important;
    }
    .excursion-page h1{
        margin-top: 20px;
        margin-bottom: 0;
    }
    #mobile-info-container{
        margin-top: 0;
    }
    #mobile-info-container .excursion-owner-badge-detail{
        position: relative;
        top: 0;
        right: auto;
        display: block;
        margin: 8px 0 13px;
        width: fit-content;
    }
    .excursion-main-images-block + .excursion-badges-detail,
    .excursion-main-images-block + .excursion-discount{
        display: none !important;
    }
    .footer > div.licenses {
        order: 5;
    }
    
    /* Мобильный рубрикатор */
    .mobile-category-tree {
        display: block;
        margin: -2px 0;
        padding: 10px 15px 0;
        background: #e6e6e6;
    }
    .mobile-category-tree-flat {
        width: 100%;
    }
    .mobile-subcategory-flat-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 12px;
    }
    .mobile-subcategory-flat-list li {
        margin: 0;
        padding: 0;
    }
    .mobile-category-link {
        display: inline-block;
        padding: 8px 12px;
        background: #f0f7ff;
        border-radius: 20px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        white-space: nowrap;
        border: 1px solid #e0e0e0;
        transition: all 0.2s ease;
    }
    .mobile-category-link:hover,
    .mobile-category-link:active,
    .mobile-category-link:focus {
        text-decoration: none;
        color: #333;
        background: #e0f0ff;
    }
    .mobile-category-link.active {
        background: #03a7ff;
        border-color: #03a7ff;
    }
    .mobile-category-link.active > span{
        color: #fff;
    }
    .mobile-category-link .category-name {
        font-weight: 500;
    }
    .mobile-category-link .category-count {
        font-size: 12px;
        opacity: 0.8;
    }
    .excursion-page .main-content{
        padding: 0 15px;
        z-index: 1;
    }
    .user-block{
        position: fixed;
        bottom: 0;
        width: 100vw;
        margin-bottom: 0;
        border-radius: 0;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
        background: #fff;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        left: 0;
    }
    .user-menu-dropdown.open .user-menu-dropdown-content{
        top: initial !important;
        bottom: 50px;
        width: 100vw;
        right: 0;
        position: fixed;
        border-radius: 0;
        box-shadow: 0 -8px 8px rgba(0, 0, 0, 0.15);
    }
    .total-summary{
        margin-top: 10px;
        padding: 3px 12px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        gap: 0;
        flex-wrap: wrap;
    }
    .ticket-discount-info{
        margin-left: 0px !important;
        white-space: nowrap;
    }
    .discount-on{
        padding-top: 43px !important;
    }
    .selected-date-summary {
        padding: 0 5px !important;
        margin-bottom: 10px !important;
    }
    .modal-step {
        min-height: initial !important;
    }
    .ticket-types-container{
        gap: 10px !important;
    }
    .top-block_max, .top-block_vk{
        font-size: 0 !important;
    }
}
@media all and (min-width: 1024px){
    #contacts-step .booking-form-row_block{
        margin: 20px 0;
    }
    .ticket-discount-info{
        margin-left: 5px;
    }
}
/* Стили для правого столбца с ценой на странице экскурсии */
:root {
    --auth-panel-height: 72px;
}

/* Основной контейнер для двухколоночной структуры */

/* Левый столбец с основным контентом */
.ex-main {
    flex: 1;
    max-width: calc(100% - 360px);
}
.blog-page .ex-main, .exc-page .ex-main {
    flex: 1;
    max-width: 100%;
    display: flex !important;
}
.blog-page-inner {
    width: 100%;
}
.blog-page-inner .blog-main-image img{
    width: 100%;
    border-radius: 8px;
}

/* Правый столбец с ценой */
.excursion-sidebar, .exc-page-sidebar, .blog-page-sidebar {
    width: 340px !important;
    flex-shrink: 0;
    position: sticky !important;
    top: 20px !important;
    margin-left: 30px !important;
    height: max-content;
}
.excursion-sidebar ul, .exc-page-sidebar ul, .blog-page-sidebar ul{
    padding: 0;
    list-style-type: none;
}
.excursion-sidebar ul a, .exc-page-sidebar ul a, .blog-page-sidebar ul a{
    text-decoration: none !important;
    color: #333;
}

/* Блок с ценой */
.excursion-price-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Контейнер для цены */
.price-container {
    text-align: center;
}

/* Отображение цены в одну строчку */
.price-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Обычная цена */
.regular-price {
    font-size: 24px;
    font-weight: 700;
    color: #00a7ff;
}

/* Оригинальная цена (зачеркнутая) */
.original-price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
    margin-right: 10px;
}

/* Специальная цена */
.special-price {
    font-size: 24px;
    font-weight: 700;
    color: #00a7ff;
}

/* Текст "от" и "за человека" */
.price-text {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

/* Случай когда цена не указана */
.no-price {
    font-size: 16px;
    color: #999;
    font-style: italic;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .ex-main {
        max-width: 100%;
    }
    
    .excursion-sidebar, .blog-page-sidebar {
        width: 100%;
        position: static;
        order: -1; /* Перемещаем цену в начало на мобильных */
    }
    
    .excursion-price-block {
        margin-bottom: 0;
    }
}

/* Дополнительные стили для лучшего отображения */
.excursion-price-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Стили для акцентирования специальной цены */
.price-display:has(.special-price) {
    background: transparent;
    padding: 10;
    border: none;
}

/* Блок бронирования */
.booking-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-block h2, .booking-block h3,
.booking-block .sidebar-heading {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Селектор даты и времени */
.date-selector, .time-selector {
    margin-bottom: 10px;
}

.people-selector {
    margin-bottom: 10px;
}

.date-button {
    width: 100%;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px !important;
}

.date-button:hover {
    border-color: #00a7ff;
    background: #f8f9ff;
}

.date-button:focus {
    outline: none;
    border-color: #00a7ff;
    box-shadow: 0 0 0 3px rgba(0, 167, 255, 0.1);
}

.date-text {
    font-weight: 400;
    font-size: 14px;
}

/* Стрелка даты/селекта — CSS-треугольник (без Unicode) */
.date-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.3s ease;
}

.date-button.active .date-arrow {
    transform: rotate(180deg);
}

/* Модальное окно календаря */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
}

.calendar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.calendar-popup {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.calendar-header #modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-calendar {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close-calendar:hover {
    background: #e0e0e0;
}

.calendar-content {
    padding: 20px;
}

/* Шаги модального окна */


/* Кнопки модального окна */
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 0;

}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: #00a7ff;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: #1354b9;
    color: #fff;
    border: none;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover:not(:disabled) {
    background: #e9ecef;
}

.btn-full-width {
    width: 100%;
    margin: 0;
}

/* (удалено) Верхние вкладки-индикаторы */

/* ====== Шаг 4: Ваши данные (стили как на странице бронирования) ====== */
#contacts-step .form-row-header {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

#contacts-step .booking-form-row_block label {
    font-size: 15px;
    color: #555;
    display: inline-block;
    margin-right: 3px; /* уменьшили отступ примерно в 3 раза */
}

#contacts-step .booking-form-row_block input[type="text"],
#contacts-step .booking-form-row_block input[type="email"] {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contacts-step .booking-form-row_block input[type="text"]::placeholder,
#contacts-step .booking-form-row_block input[type="email"]::placeholder {
    color: #9aa3ab;
}

#contacts-step .booking-form-row_block input[type="text"]:focus,
#contacts-step .booking-form-row_block input[type="email"]:focus {
    outline: none;
    border-color: #00a7ff;
    box-shadow: 0 0 0 3px rgba(0, 167, 255, 0.1);
}

/* Убрали текстовое сообщение об ошибке телефона */

#contacts-step .required-star {
    color: #e53935;
    font-weight: 700;
    margin: 0 5px;
}

#contacts-step .required-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    #contacts-step .booking-form-row_block {
        grid-template-columns: 1fr;
    }

    #contacts-step .booking-form-row_block label {
        margin: 0 0 6px 0;
    }
}

/* Коррекции раскладки контактов */
#contacts-step .booking-form-row_block {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

#contacts-step .booking-form-row_block > div {
    width: auto;
}

#contacts-step .booking-form-row.user-contacts {
    padding: 0;
}

/* Стили для выбранной даты */
.selected-date-summary {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 10px;
}

/* Стили для выбранного времени */
.selected-time-summary {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 10px;
}

.selected-date-info, .selected-time-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
    border-radius: 6px;
}

.selected-date-info:hover, .selected-time-info:hover {
    background: #e9ecef;
}

.selected-date-label, .selected-time-label {
    font-weight: 600;
    color: #333;
}

.selected-date-value, .selected-time-value {
    font-weight: 700;
    color: #00a7ff;
    font-size: 16px;
}

/* Стили для отображения билетов и цен на мобильной версии */
.people-display-tickets-count,
.people-display-prices {
    display: inline;
}
.people-display-prices > span{
    margin-left: 10px;
}

@media all and (max-width: 767px) {
    .calendar-header #modal-title{
        font-size: 12px;
        padding: 5px 0px;
    }
    .ticket-types-wrapper.tickets-step-tour-layout{
        gap: 4px;
    }
    .selected-time-value {
        display: flex;
        line-height: 1.4;
        font-size: 15px;
    }
    .selected-date-value {
        display: flex;
        line-height: 1.4;
        font-size: 15px;
    }
    .selected-date-info, .selected-time-info{
        padding: 0 5px;
        height: 36px;
    }
    
    .people-display-tickets-count {
        display: block;
        margin-bottom: 4px;
    }
    
    .people-display-prices {
        display: block;
    }
}

.toggle-arrow {
    display: inline-block;
    margin-left: auto;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.2s ease;
}
.toggle-arrow.expanded {
    transform: rotate(180deg);
}

.btn-secondary:disabled {
    background: #f8f9fa;
    color: #999;
    cursor: not-allowed;
}

/* Опции времени */
.time-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.time-option {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-option:hover {
    border-color: #00a7ff;
    background: #f8f9ff;
}

.time-option.selected {
    border-color: #00a7ff;
    background: #e6f3ff;
}

.time-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.no-times {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

/* ====== Типы билетов (2 колонки, красивые карточки) ====== */
.ticket-types-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ticket-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 5px 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.ticket-type-row:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.ticket-type-info {
    display: flex;
    flex-direction: column;
}

.ticket-type-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ticket-type-price {
    display: flex;
    align-items: baseline;
}

.ticket-type-price .currency {
    font-size: 12px;
    color: #777;
}

.ticket-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9fbfd;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f0f7ff;
    border-color: #00a7ff;
    color: #00a7ff;
}

.ticket-quantity {
    width: 56px;
    height: 34px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    padding: 0 6px;
}

/* Селект предоплаты как .date-button */
#prepayment-select.date-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    padding-right: 36px; /* место под стрелку как у кнопок */
}

/* псевдо-стрелка как у .date-arrow */
#prepayment-select-wrapper{
    position: relative;
}
/* Стрелка селекта — CSS-треугольник (без Unicode) */
#prepayment-select-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666666;
    pointer-events: none;
}

/* скрыть системную стрелку */
#prepayment-select::-ms-expand { display: none; }

/* Стили для скидок на билетах: на десктопе показываем полный текст, на мобильных - короткий */
.ticket-discount-info {
    margin-left: 5px;
}
.ticket-discount-info .ticket-discount-full {
    display: inline;
}
.ticket-discount-info .ticket-discount-mobile {
    display: none;
}

/* Адаптив для мобильных: 1 колонка */
@media (max-width: 768px) {
    .ticket-types-container {
        grid-template-columns: 1fr;
    }
}

/* Адаптивность для мобильных устройств */
@media all and (max-width: 768px) {
    .regular-price{
        font-size: 15px;
    }
    .time-option{
        padding: 3px 15px;
    }
    .selected-date-summary{
        margin-bottom: 10px;
        padding: 0 5px;
    }
    .selected-time-summary{
        margin-bottom: 10px !important;
        padding: 0 5px !important;
    }
    .modal-buttons{
        padding-top: 0;
        border-top: none;
        margin-top: 10px;
    }
    .ticket-type-row{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        border: 1px solid #e6e6e6;
        border-radius: 10px;
        padding: 0 9px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.2s ease, transform 0.1s ease;
    }
    .ticket-type-info{
        flex-direction: row;
        align-items: center;
        gap: 10px;
        position: relative;
        height: 36px;
    }
    .ticket-discount-info{
        /* position: absolute;
        bottom: -23px; */
        background: #fff;
        /* padding: 2px;
        border-radius: 3px;
        box-shadow: 2px 2px 4px; */
    }
    /* Скрываем полный текст скидки на мобильных, показываем короткий */
    .ticket-discount-info .ticket-discount-full {
        display: none;
    }
    .ticket-discount-info .ticket-discount-mobile {
        display: inline;
    }
    .total-summary{
        gap: 0px;
        flex-wrap: wrap;
        padding: 10px;
        flex-direction: column;
    }
    .total-summary > div{
        width: 100% !important;
    }
    body .promo-input{
        max-width: 170px;
    }
    .ticket-type-name{
        font-size: 13px;
        width: 85px;
    }
    .ticket-discount-amount{
        margin-right: 0px;
    }
    .ticket-type-price{
        display: flex;
        align-items: baseline;
        gap: 5px;
    }
    .original-price{
        font-size: 15px;
        margin-right: 0;
    }
    .special-price{
        font-size: 15px;
    }
    .ticket-type-price .currency{
        font-size: 12px;
        margin-right: 0;
    }
    .ticket-type-price > *:last-child{
        margin-right: 5px !important;
    }
    .ticket-quantity-controls{
        gap: 3px;
    }
    .ticket-quantity{
        padding: 0;
    }
    .quantity-btn{
        width: 24px;
        height: 24px;
    }
    .ticket-quantity{
        width: 32px;
        height: 24px;
    }
    .ticket-types-container{
        gap: 8px;
    }
    .excursion-sidebar, .exc-page-sidebar, .blog-page-sidebar{
        margin-left: 0 !important;
        width: 100% !important;
    }
    .calendar-popup {
        max-width: 95vw;
        max-height: initial;
        height: calc(100vh - 20px);
        overflow-y: auto;
    }
    
    .calendar-header {
        padding: 2px 15px;
    }
    
    .calendar-content {
        padding: 15px;
        padding-bottom: 400px;
    }
    
    .date-button {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Смещение блока шаринга на мобильных */
    .ya-share2_inited {
        position: relative;
        bottom: -20px;
    }
    
    .promo-input-group {
        flex-direction: column;
    }
    
    /* Блок способа оплаты и промокода в диалоговом окне на мобильных */
    .modal-payment-promo-block {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Кнопки бронирования и связи */
.booking-actions {
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1023px) {
    body.site-body-layout > .site-footer,
    body.site-body-layout > .footer{
        z-index: 0;
    }
    body.site-body-layout .footer,
    body.site-body-layout .footer > div{
        z-index: auto;
    }
    body {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--auth-panel-height, 72px) + 120px);
    }

    .excursion-sidebar,
    .booking-block {
        padding-bottom: calc(var(--auth-panel-height, 72px) + 40px);
    }

    .booking-actions {
        position: relative;
        margin-bottom: calc(var(--auth-panel-height, 72px) + 40px);
    }

    /* После portal на body селектор без .booking-actions */
    .btn-book.btn-book-sticky,
    .booking-actions .btn-book.btn-book-sticky {
        display: block;
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        bottom: env(safe-area-inset-bottom, 0px);
        width: 100%;
        width: 100vw;
        margin: 0;
        z-index: 1000001 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        border-radius: 0;
        height: 50px;
    }

    .btn-book.btn-book-sticky:disabled,
    .booking-actions .btn-book.btn-book-sticky:disabled {
        box-shadow: none;
    }

    .booking-actions .btn-book:not(.btn-book-sticky) {
        margin-bottom: 8px;
    }
}

.btn-book, .btn-contact {
    width: 100%;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book {
    background-color: #00a7ff;
    color: white;
}

.btn-book:hover {
    background-color: #0088cc;
}

.btn-book:disabled, .btn-book[disabled] {
    background-color: #b5e5ff;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-contact {
    background-color: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-contact:hover {
    background-color: #e9ecef;
    border-color: #00a7ff;
}

.btn-book-sticky {
    display: none;
}

/* Промокод */
.promo-code-section {
    margin: 10px 0 0;
    padding: 0px;
    background-color: transparent;
    border-radius: 8px;
}

.promo-input-group {
    display: flex;
    flex-direction: row; /* Кнопка под полем */
    gap: 10px;
}

.promo-input {
    flex: 1;
    padding: 8px 20px; /* как у кнопок */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px; /* как у кнопок */
}

.btn-outline {
    background-color: transparent;
    color: #00a7ff;
    border: 2px solid #00a7ff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #00a7ff;
    color: white;
}

/* Сумма заказа */
.order-summary {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.total-amount {
    font-weight: 600;
    font-size: 16px;
}

.original-total .original-amount {
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
}

.final-total .final-amount {
    color: #00a7ff;
    font-size: 18px;
}

/* Информация об экскурсии */

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #666;
    font-size: 14px;
    width: 100%;
}

.info-value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-align: right;
}

/* Модальное окно для связи */
/* !important: body.site-body-layout > * { position:relative } ломает fixed */
.contact-modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 100001 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-modal[hidden] {
    display: none !important;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-popup {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    z-index: 2001;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-header .contact-title {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.close-contact {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-contact:hover {
    color: #333;
}

.contact-content {
    padding: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00a7ff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.form-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    background-color: #00a7ff;
    color: white;
}

.form-actions .btn-primary:hover {
    background-color: #0088cc;
}

.form-actions .btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

/* Скрытое поле для защиты от ботов */
.mailfield {
    display: none;
}

.form-actions .btn-secondary:hover {
    background-color: #e9ecef;
}

/* Скрытое поле для защиты от ботов */
.mailfield {
    display: none;
}
#createAliasBtnб .partner-filters .btn-primary{
    max-width: fit-content;
}
.partner-checkbox + .btn-outline-primary{
    background: #29a745;
    color: #fff;
}

@media all and (max-width: 767px){
    .btn-outline{
        padding: 6px 16px;
    }
    .promo-input{
        padding: 5px 20px;
    }
    .blog-page .ex-main, .exc-page .ex-main {
        flex-direction: column-reverse;
    }
    .video-embed-block iframe{
        max-width: 100% !important;
    }
    .exc-page-sidebar, .blog-page-sidebar{
        margin: 0 !important;
        width: 100% !important;
        padding: 15px;
    }
    .modal-step {
        min-height: initial !important;
    }
}
@media all and (min-width: 768px){
    body .calendar-modal .promo-input{
        max-width: initial;
    }
}

/* Бронирование от партнёра — фиолетовая кнопка вместо стандартной «Забронировать».
   Ставим !important, чтобы переопределить инлайновые цвета из base.html
   (.btn-book:not(:disabled){ background-color: ... } и .btn-book{ color: ... }). */
.btn-book.btn-book-partner:not(:disabled),
.btn-book.btn-book-partner:not(:disabled):hover,
.btn-book.btn-book-partner:not(:disabled):focus,
.booking-actions .btn-book.btn-book-partner:not(:disabled),
.booking-actions .btn-book.btn-book-partner.btn-book-sticky:not(:disabled) {
    background-color: #9500ff !important;
    color: #fff !important;
    border-color: #9500ff !important;
}
.btn-book.btn-book-partner:not(:disabled):hover {
    background-color: #7d00d6 !important;
    border-color: #7d00d6 !important;
}


/* === TZ 2026-08-28 === */
body.site-body-layout > .site-search-bar{
    order: 25;
    width: 100%;
    background: #f3f6f9;
    border-bottom: 1px solid #e4eaf0;
}
.site-search-bar__label{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.site-search-bar__inner{
    width: 1220px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}
.site-search-bar__icon{
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: url('/static/images/icons/search.svg') center/contain no-repeat;
    opacity: .55;
}
.site-search-bar__input{
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    border: 1px solid #d5dde6;
    border-radius: 4px;
    padding: 0 12px 0 12px;
    font-size: 15px;
    background: #fff;
}
.site-search-bar__submit{
    flex: 0 0 auto;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    background: #03a7ff;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.item-line.item-departure{
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 0 0;
    font-size: 13px;
    color: #444;
    line-height: 1.35;
}
.item-line.item-departure .departure-pin{
    flex: 0 0 14px;
    margin-top: 2px;
}
.excursion-mobile-price-badge{
    display: none;
}
@media (max-width: 767px){
    .excursion-mobile-price-badge{
        display: inline-flex;
        align-items: center;
        margin: 8px 0 12px;
        padding: 6px 14px;
        border-radius: 999px;
        background: #03a7ff;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
    }
}
.auto-toc{
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #f5f8fb;
    border: 1px solid #e3ebf3;
}
.auto-toc__title{
    font-weight: 700;
    margin: 0 0 8px;
    font-size: 16px;
}
.auto-toc__list{
    margin: 0;
    padding-left: 18px;
}
.auto-toc__item{
    margin: 4px 0;
}
.auto-toc__item a{
    color: #03a7ff;
    text-decoration: none;
}
.auto-toc__item a:hover{
    text-decoration: underline;
}
.auto-toc__item--h3{
    margin-left: 12px;
    list-style: circle;
}
.excursion-guides-block{
    margin: 0 0 20px;
}
.excursion-guides-block__title{
    font-size: 22px;
    margin: 0 0 14px;
}
.excursion-guides-block__list{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.excursion-guide-card{
    width: calc(25% - 12px);
    min-width: 180px;
    background: #fff;
    border: 1px solid #e8eef4;
    box-sizing: border-box;
    padding: 10px;
}
.excursion-guide-card__media img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.excursion-guide-card__name{
    display: block;
    margin-top: 8px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}
.excursion-guide-card__spec{
    margin: 4px 0;
    font-size: 13px;
    color: #666;
}
.excursion-guide-card__rating{
    margin: 4px 0 8px;
    color: #f5a623;
    font-size: 14px;
}
.excursion-guide-card__count{
    color: #555;
    margin-left: 4px;
}
.excursion-guide-card__link{
    display: inline-block;
    font-size: 13px;
    color: #03a7ff;
}
@media (max-width: 900px){
    .excursion-guide-card{ width: calc(50% - 8px); }
}
@media (max-width: 520px){
    .excursion-guide-card{ width: 100%; }
}
.blog-post-dates{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin: 0 0 16px;
    font-size: 14px;
    color: #666;
}
.blog-post-dates__icon{
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
    background: url('/static/images/icons/calendar2.svg') center/contain no-repeat;
}
.blog-post-dates__icon--upd{
    background-image: url('/static/images/icons/time2.svg');
}

/* TZ п.7: цена наверху карточки списка на mobile */
.list-card-mobile-price,
.list-card-mobile-price-wrap{
    display: none;
}
@media (max-width: 767px){
    .list-item .item-line.transport{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 10px;
    }
    .list-card-mobile-price-wrap{
        display: block;
        padding-top: 0;
        padding-bottom: 8px;
    }
    .list-card-mobile-price{
        display: inline-flex;
        align-items: center;
        margin: 0;
        padding: 5px 12px;
        border-radius: 999px;
        background: #03a7ff;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
    }
    .list-item .list-price-container--desktop{
        display: none;
    }
}

/* Экскурсия: ровно 20px между вертикальными блоками контента */
.excursion-detail > .auto-toc,
.excursion-detail > .excursion-description,
.excursion-detail > .excursion-extra-block,
.excursion-detail > .excursion-guides-block,
.excursion-detail > .dop-info {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}
.excursion-description,
.excursion-extra-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* margin из шаблонов полей (overview/service/schema…) иначе складываются с gap */
.excursion-description > *:not(style),
.excursion-extra-block > *:not(style) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
