@charset "UTF-8";

/* Global Scroll Progress Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .scroll-indicator {
        height: 3px;
    }
}

.padding_top_10 {
    padding-top: 10px;
}

.margin_top_40 {
    margin-top: 25px;
}

.padding_top_20 {
    padding-top: 20px;
}

.margin_top_20 {
    margin-top: 20px;
}

.margin_bottom_20 {
    margin-bottom: 20px;
}

.padding_top_30 {
    padding-top: 30px;
}

.margin_top_30 {
    margin-top: 30px;
}

.padding_top_40 {
    padding-top: 40px;
}

.padding_top_50 {
    padding-top: 50px;
}

.padding_top_60 {
    padding-top: 60px;
}

.padding_bottom_10 {
    padding-top: 60px;
}

.padding_bottom_20 {
    padding-bottom: 20px;
}

.padding_bottom_30 {
    padding-bottom: 30px;
}

.padding_bottom_40 {
    padding-bottom: 40px;
}

.padding_bottom_50 {
    padding-bottom: 50px;
}

.padding_bottom_60 {
    padding-bottom: 60px;
}


.icons-featured {
    font-weight: bold;
    align-content: center;
}

.art-post {
    position: relative;
    font-size: 14px;
    color: #cccccc;
    padding: 0 0 0 90px;
    min-height: 56px;
    margin-bottom: 25px;
}

/* Основные стили */
.informer-icon {
    font-size: 75px;
    width: 75px;
    height: 75px;
    transition: transform 0.3s ease, color 0.4s ease;
}

/* Стили при наведении */
.informer-icon:hover {
    /* Увеличиваем иконку на 10% */
    /*transform: scale(1.1);*/
    /* Добавляем анимацию для переливания цвета */
    animation: color-shift 4s infinite linear;
}


/* FAQ Accordion Styling */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ uses single-column accordion: question only, no days/price */
.faq-accordion .accordion-header {
    grid-template-columns: 1fr;
    cursor: pointer;
}

.faq-accordion .faq-question-text {
    text-align: left !important;
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    min-height: unset;
    margin: 0;
    padding-right: 2rem;
    /* space for ::after arrow */
}

.faq-accordion .accordion-item.active .faq-question-text {
    color: var(--primary-color);
}


.faq-accordion-item {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid var(--card-bg);
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-accordion-item.active {
    box-shadow: 0 4px 20px var(--secondary-color);
    border-color: var(--primary-color);
}

.faq-accordion-header {
    padding: 0;
}

.faq-accordion-toggle {
    width: 100%;
    background: var(--card-bg);
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.faq-accordion-item.active .faq-accordion-toggle {
    background: var(--card-bg);
    color: var(--primary-color);
}

.faq-accordion-toggle:hover {
    background: var(--card-bg);
}

.faq-question-text {
    font-weight: 600;
    text-align: left;
    flex: 1;
    padding-right: 1rem;
    color: var(--secondary-color);
}

.faq-arrow {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-accordion-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-answer-text {
    padding: 1.5rem;
    border-top: 1px solid var(--card-bg);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-grey);
}

.faq-answer-text p {
    margin-bottom: 1rem;
}

.faq-answer-text p:last-child {
    margin-bottom: 0;
}

.faq-answer-text ul,
.faq-answer-text ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer-text li {
    margin-bottom: 0.5rem;
}


/*--------------LOCATIONS---------------*/
.location-container {
    position: relative;
    height: 203px;
    width: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--secondary-color);
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.location-image:hover {
    width: 120%;
    height: 120%;
    transition: 6.5s ease;
}

.location-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, var(--text-color) 0%, var(--dark-grey) 70%, var(--text-color) 100%);
    color: var(--card-bg);
}

.location-text h2 {
    margin: 0 0 -5px;
    padding-left: -5px;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--card-bg);
}

.location-subtext {
    font-size: 15px;
    font-weight: 700;
    padding-left: 5px;
}

.location-subtext>.num {
    font-size: 17px;
    color: var(--light-blue);
}


/* Slider in articles*/
.carousel-inner1>.item>img,
.carousel-inner1>.item>a>img {
    width: 100%;
    margin: auto;
}

.carousel-indicators-1:hover {
    overflow-y: auto;
}

.item {}

.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    float: right;
}

/* Titles */
.new_title {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.new_title h2 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}

.new_title p {
    font-weight: 400;
    font-size: 20px;
    color: var(--dark-grey);
}

/*Timeline --------------- */
ul.new_tmtimeline {
    margin: 45px 0 45px 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* The line */
.new_tmtimeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--card-bg);
    left: 18.5%;
    margin-left: -2px;
}

/* The date/time */
.new_tmtimeline>li {
    position: relative;
}

.new_tmtimeline>li .new_tmtime {
    display: block;
    width: 23%;
    padding-right: 80px;
    position: absolute;
}

.new_tmtimeline>li .new_tmtime span {
    display: block;
    text-align: right;
}

.new_tmtimeline>li .new_tmtime span:first-child {
    font-size: 0.9em;
    color: var(--dark-grey);
    margin-bottom: 0;
}

.new_tmtimeline>li .new_tmtime span:last-child {
    font-size: 18px;
    font-weight: 500;
}

.new_tmtimeline>li .new_tmlabel {
    margin: 0 0 15px 25%;
    background: var(--card-bg);
    padding: 20px;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.new_tmtimeline>li .new_tmlabel p {
    margin-bottom: 0;
    font-size: 0.8125rem;
}

.new_tmtimeline>li .new_tmlabel h4 {
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 1rem;
}

/* The triangle */
.new_tmtimeline>li .new_tmlabel:after {
    right: 100%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: var(--card-bg);
    border-width: 10px;
    top: 15px;
}


a.btn_tour_aside:hover,
.btn_tour_aside:hover {
    background: var(--secondary-color);
    color: var(--card-bg);
    border: solid 2px var(--deep-green);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

/*------Why Us------*/
.why-card {
    border: 1px solid var(--secondary-color);
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    background-color: var(--light-blue);
    height: fit-content;
    margin-top: 15px;
}

.why-card i {
    font-size: 55px;
    color: var(--secondary-color);
    margin-top: -10px;
    padding: 0;
}

.why-card h1 {
    font-size: 1.2em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0;
    padding: 0 0 5px 0;
}

.why-card p {
    font-size: 1em;
    text-align: center;
    color: var(--text-color);
}

.why-card:hover {
    background-color: var(--card-bg);
    box-shadow: 0 0 8px var(--card-bg);
    transition: 0.3s ease;
}

/* Стили для Owl Carousel */
.owl-carousel .owl-item {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-carousel {
    width: 100%;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
    justify-content: center;
}


.owl-no-nav {
    display: flex;
    justify-content: center;
}

/*!*------ Popular Tours------*!*/
.popular-tours {
    max-width: 600px;
    margin-top: 0;
}

.countries-container {
    padding: 0 70px 0 70px;
    margin: 0;
}

.countries-container .country-block {
    width: 100%;
    background-color: var(--card-bg);
    padding-bottom: 0;
    margin-bottom: 0;
}

.popular_list_tours_tabs {
    width: 100%;
    display: flex;
    padding: 0;
}

.country-block {
    flex: 0 0 auto;
    width: auto;
}

.popular_list_tours_tabs h1 {
    text-align: center;
    font-size: 30px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.popular_list_tours_tabs h1 span {
    color: var(--primary-color);
    font-weight: bolder;

}

.tours-container {
    width: 100%;
    padding: 0 0 7px 2px;
}

.tour-item:hover {
    background-color: var(--card-bg);
}

.tour-item {
    position: relative;
    padding: 5px 5px 10px 75px;
    margin-top: 5px;
    width: 100%;
    border-bottom: 1px solid var(--card-bg);
}

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

.tour-item a {
    text-decoration: none;
    color: inherit;
}

.tour-item a:hover {
    color: var(--primary-color);
}

.tour-image {
    width: 70px;
    height: 39px;
    overflow: hidden;
    position: absolute;
    left: 1px;
    top: 6px;
}

.tour-image img {
    width: 70px;
    height: 39px;
    object-fit: cover;
    padding: 0;
    margin: 0;
}

.tour-info {
    display: table-cell;
    vertical-align: middle;
}

.tour-info h2 {
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: var(--secondary-color);
}

.tour-info small {
    color: var(--deep-green);
    margin: 0;
    padding: 0;
    font-size: 14px;
    display: block;
    font-weight: bolder;
}

.tour-item1:hover {
    background-color: var(--card-bg);
}

.tour-item:hover h2 {
    color: var(--primary-color);
}


.go-to-btn-container {
    margin-bottom: 0;
    padding: 0 20% 0 20%;
}

.go-to-btn {
    width: 100%;
    padding: 5px;
    background-color: var(--primary-color);
    color: var(--card-bg);
    border: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: bold;
    margin-top: 25px;
}

.go-to-btn:hover {
    background-color: var(--primary-color-hover);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}


/* 4.1 Home 7: search function */
#search_container {
    width: 100%;
}

#search {
    display: block;
    padding: 120px 20% 10px 20%;
    background: var(--card-bg);
}

#search .nav-tabs {
    border-radius: 0;
    font-size: 12px;
    text-transform: uppercase;
    border: 0;
    border-bottom: 1px solid transparent;
    margin: 0 0 6px 10px;
}

#search .nav-tabs>li>a {
    border-radius: 0;
    border: 0;
    color: var(--card-bg) !important;
    padding: 10px 15px;
    margin-right: 3px;
    line-height: 20px;
    font-weight: 600;
}

#search .tab-content {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 10px;
    padding: 20px;
    color: var(--dark-grey);
}

#search .tab-content label {
    font-weight: 500;
    margin-bottom: 3px;
}

#search .nav-tabs>li>a {
    background: var(--text-color);
}

#search .nav-tabs>li>a.active,
#search .nav-tabs>li>a:hover .active,
#search .nav-tabs>li>a:focus .active {
    color: var(--card-bg);
    background-color: var(--primary-color);
}

.tab-pane h3 {
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.tab-pane h3 {
    color: var(--dark-grey);
    margin: 0 0 20px 0;
}

.dd-select {
    border-radius: 3px !important;
    border: solid 1px var(--text-secondary);
    position: relative;
    cursor: pointer;
    height: 40px;
    font-weight: bold !important;
}

.dd-desc {
    color: var(--light-bg);
    display: block;
    overflow: hidden;
    font-weight: normal;
}

.dd-selected {
    overflow: hidden;
    display: block;
    padding: 7px 0 0 10px !important;
    font-weight: bold !important;
    color: var(--dark-grey);
    !important;
}

.dd-pointer {
    width: 0;
    height: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
}

.dd-pointer-down {
    border: solid 5px transparent;
    border-top: solid 5px var(--text-secondary) !important;
}

.dd-pointer-up {
    border: solid 5px transparent !important;
    border-bottom: solid 5px var(--text-color) !important;
    margin-top: -8px;
}

.dd-options>li:last-child>.dd-option {
    border-bottom: none;
}

.dd-options li .dd-option {
    height: 45px;
    line-height: 25px !important;
}

.dd-option:hover {
    background: var(--card-bg) !important;
    color: var(--text-color);
}

.dd-option-selected {
    background: var(--card-bg) !important;
    color: var(--dark-grey) !important;
}

.dd-option-image,
.dd-selected-image {
    vertical-align: middle;
    float: left;
    margin-right: 10px !important;
    max-width: 64px;
}

.dd-image-right {
    float: right;
    margin-right: 15px;
    margin-left: 5px;
}

.dd-container {
    position: relative;
}

label.dd-selected-text {
    font-weight: normal !important;
}

.dd-option-text {
    line-height: 14px !important;
}

.dd-selected-image {
    margin-top: 7px;
}

.dd-select label,
.dd-options label {
    font-weight: normal !important;
    cursor: pointer !important;
}

.radio_fix {
    float: left;
    margin-top: 35px;
}

.tour-warning {
    width: auto;
    border-top: 1px solid var(--danger-color);
    padding-top: 5px;
    font-size: 17px;
}

.padding_top_10 {
    padding-top: 10px;
}

.padding_top_20 {
    padding-top: 20px;
}

.padding_top_30 {
    padding-top: 30px;
}

.padding_top_40 {
    padding-top: 40px;
}

.padding_top_50 {
    padding-top: 50px;
}

.padding_top_60 {
    padding-top: 60px;
}

.padding_bottom_10 {
    padding-top: 60px;
}

.padding_bottom_20 {
    padding-bottom: 20px;
}

.padding_bottom_30 {
    padding-bottom: 30px;
}

.padding_bottom_40 {
    padding-bottom: 40px;
}

.padding_bottom_50 {
    padding-bottom: 50px;
}

.padding_bottom_60 {
    padding-bottom: 60px;
}


.icons-featured {
    font-weight: bold;
    align-content: center;
}

.art-post {
    position: relative;
    font-size: 14px;
    color: #cccccc;
    padding: 0 0 0 90px;
    min-height: 56px;
    margin-bottom: 25px;
}

/* Основные стили */
.informer-icon {
    font-size: 75px;
    width: 75px;
    height: 75px;
    transition: transform 0.3s ease, color 0.4s ease;
}

/* Стили при наведении */
.informer-icon:hover {
    /* Увеличиваем иконку на 10% */
    /*transform: scale(1.1);*/
    /* Добавляем анимацию для переливания цвета */
    animation: color-shift 4s infinite linear;
}

/*--------------LOCATIONS---------------*/
.location-container {
    position: relative;
    height: 203px;
    width: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.location-image:hover {
    width: 120%;
    height: 120%;
    transition: 6.5s ease;
}

.location-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
    color: var(--card-bg);
}

.location-text h2 {
    margin: 0 0 -5px;
    padding-left: -5px;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--card-bg);
}

.location-subtext {
    font-size: 15px;
    font-weight: 700;
    padding-left: 5px;
}

.location-subtext>.num {
    font-size: 17px;
    color: var(--light-blue);
}


/* Slider in articles*/
.carousel-inner1>.item>img,
.carousel-inner1>.item>a>img {
    width: 100%;
    margin: auto;
}

.carousel-indicators-1:hover {
    overflow-y: auto;
}

.item {}

.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    float: right;
}

/* Titles */
.new_title {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.new_title h2 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
}

.new_title p {
    font-weight: 400;
    font-size: 20px;
    color: var(--dark-grey);
}

/*Timeline --------------- */
ul.new_tmtimeline {
    margin: 45px 0 45px 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* The line */
.new_tmtimeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--card-bg);
    left: 18.5%;
    margin-left: -2px;
}

/* The date/time */
.new_tmtimeline>li {
    position: relative;
}

.new_tmtimeline>li .new_tmtime {
    display: block;
    width: 23%;
    padding-right: 80px;
    position: absolute;
}

.new_tmtimeline>li .new_tmtime span {
    display: block;
    text-align: right;
}

.new_tmtimeline>li .new_tmtime span:first-child {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.new_tmtimeline>li .new_tmtime span:last-child {
    font-size: 18px;
    font-weight: 500;
}

/* Right content */
img.thumb_visit {
    width: 70px;
    height: 70px;
    border: 2px solid var(--card-bg);
    margin-top: -5px;
    float: right;
    margin-left: 15px;
}


.new_tmtimeline>li .new_tmlabel {
    margin: 0 0 15px 25%;
    background: var(--card-bg);
    padding: 20px;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.new_tmtimeline>li .new_tmlabel p {
    margin-bottom: 0;
    font-size: 0.8125rem;
}

.new_tmtimeline>li .new_tmlabel h4 {
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 1rem;
}

/* The triangle */
.new_tmtimeline>li .new_tmlabel:after {
    right: 100%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: var(--card-bg);
    border-width: 10px;
    top: 15px;
}

/* The icons */
.new_tmtimeline>li .new_tmicon {
    width: 48px;
    height: 48px;
    font-weight: 500;
    background-color: var(--card-bg);
    text-transform: none;
    font-size: 1.5rem;
    line-height: 50px;
    position: absolute;
    color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--dark-grey);
    text-align: center;
    left: 18.5%;
    top: 0;
    margin: 0 0 0 -25px;
}

/* Booking form */
.new-booking-form {
    padding: 1% 2% 1% 2%;
    margin-bottom: 20px;
    background: var(--card-bg);
    ;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pay-on-tour-price {
    padding: 1px 2px;
    font-size: 1em;
    font-weight: bolder;
    color: var(--primary-color);
    border-radius: 4px;
    text-transform: uppercase;
}

.form-section {
    margin-bottom: 20px;
}

.form-section .booking-form-sections {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: left;
    color: var(--primary-color);
}

.date-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: space-between;
}

.date-option {
    flex-basis: calc(25% - 8px);
    flex-grow: 1;
    padding: 10px;
    border: 1px solid var(--primary-color);
    background: var(--card-bg);
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    min-width: 70px;
    font-weight: bold;
}

.date-option.active {
    background: var(--primary-color);
    color: var(--card-bg);
    border-color: var(--primary-color);
}

.date-option.active:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    border-color: var(--primary-color);
}

.date-option:last-child {
    background: var(--card-bg);
    border-color: var(--primary-color);
    place-content: center;
}

.date-option:last-child.active {
    background: var(--primary-color);
    color: var(--card-bg);
    border-color: var(--primary-color);
}

.date-option:hover {
    background: var(--card-bg);
    ;
    color: var(--secondary-color);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.time-picker {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: left;
}

.time-option {
    padding: 5px 10px;
    border: 1px solid var(--secondary-color);
    background: var(--card-bg);
    cursor: pointer;
    border-radius: 5px;
    flex-grow: 1;
    text-align: center;
    min-width: 70px;
    max-width: 70px;
    font-weight: bold;
}

.time-option.active {
    background: var(--primary-color);
    color: var(--card-bg);
    border-color: var(--primary-color);
}

.time-option.active:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    border-color: var(--primary-color);
}

.time-option:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    border-color: var(--secondary-color);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.ticket-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    flex: 1 1 auto;
    border-bottom: var(--card-bg);
    border-top: var(--card-bg);
    border-left: none;
    border-right: none;
    border-bottom-style: groove;
    border-top-style: groove;
}

.not-included-inform {
    position: inherit;
    display: inline-block;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    padding: 0 3px 0 3px;
    font-size: 0.9em;
    font-weight: bold;
    margin: 0;
}

.ticket-type .title {
    font-weight: bolder;
    text-align: left;
    font-size: 17px;
    line-height: 1.2em;
    color: var(--text-color);
    ;
}

.ticket-type .description {
    font-weight: bolder;
    font-size: 14px;
    line-height: 1.1em;
    color: var(--dark-grey);
}

.ticket-type .name {
    flex-basis: 53%;
}

.ticket-type .price {
    flex-basis: 17%;
    text-align: center;
    color: var(--secondary-color);
}

.small-converted-price {
    display: inline-block;
    border: 1px dotted var(--secondary-color);
    border-radius: 4px;
    padding: 1px 3px 0 3px;
    color: var(--secondary-color);
    rotate: -3deg;
    font-size: 0.6em;
    font-weight: bold;
}

.ticket-type .quantity-control-wrapper {
    flex-basis: 15%;
    display: flex;
    justify-content: flex-end;
}

.ticket-type .sub-total-price {
    margin-right: 10px;
    flex-basis: 10%;
    text-align: center;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    text-align: center;
}

.quantity-btn:hover {
    background: var(--card-bg);
    color: var(--secondary-color);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.quantity-btn:active {
    background: var(--secondary-color);
    color: var(--card-bg);
}

.quantity {
    margin: 0 10px;
    font-size: 20px;
    font-weight: bold;
}

.price {
    font-weight: bold;
}

.total-price {
    padding: 3px 0;
    font-size: 1.2em;
    font-weight: bolder;
    text-align: right;
    color: var(--deep-green);
    border-bottom: 2px dotted var(--deep-green);
    border-top: 2px dotted var(--deep-green);
}

.total-small-converted-price {
    display: inline-block;
    border: 1px dotted var(--secondary-color);
    border-radius: 4px;
    padding: 2px 3px;
    color: var(--secondary-color);
    font-size: 0.8em;
}

.pay-on-tour-form-price {
    padding: 3px 0;
    font-size: 1.2em;
    font-weight: bolder;
    text-align: right;
    color: var(--primary-color);
    border-bottom: 2px dotted var(--primary-color);
}

.grand-total-combined-price {
    margin-top: 10px;
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: right;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.form-section .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-grey);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--card-bg);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.ask {
    border: 0;
    background: none;
    color: var(--primary-color);
}

.book-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.book-button button {
    width: 40%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--card-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 16px;
}

.contacts-booking-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 20px;
}

.form-header {
    text-align: center;
    font-weight: bolder;
    text-transform: uppercase;

}

.form-section>label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    box-sizing: border-box;
}

.input-hint {
    font-size: 12px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.phone-input {
    display: flex;
    align-items: center;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

/* Messenger Selection Styles */
.messenger-selection {
    margin: 15px 0;
    text-align: center;
}

.messenger-selection__label {
    display: block;
    font-size: 16px;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.messenger-selection__icons {
    display: flex;
    justify-content: center;
    gap: 20px;

}

.messenger-icon {
    cursor: pointer;
    position: relative;
}

.messenger-icon input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.messenger-icon__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    filter: grayscale(50%);
    opacity: 0.6;
}

.messenger-icon__img img {
    width: 32px;
    height: 32px;
}

/* Hover effect */
.messenger-icon:hover .messenger-icon__img {
    filter: grayscale(50%);
    opacity: 0.8;
    transform: scale(1.1);
}

/* Selected state */
.messenger-icon input[type="checkbox"]:checked+.messenger-icon__img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Active click animation */
.messenger-icon:active .messenger-icon__img {
    transform: scale(0.95);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .messenger-icon__img {
        transition: none;
    }
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--card-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: var(--primary-color-hover);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--secondary-color);
    color: var(--card-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

.add-to-cart-btn:hover {
    background-color: var(--secondary-color-hover);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.terms {
    font-size: 12px;
    color: var(--dark-grey);
    text-align: center;
    margin-top: 15px;
}

.terms a {
    text-decoration: underline;
}

.free-cancel {
    display: flex;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--success-color);
}

/*Tour Aside*/
a.btn_tour_aside,
.btn_tour_asidel {
    width: 100%;
    border: solid #b2ebf2 2px;
    font-family: inherit;
    font-size: inherit;
    color: var(--card-bg);
    background: #04b5bc;
    cursor: pointer;
    padding: 12px 20px;
    display: inline-block;
    outline: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 15px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

a.btn_tour_aside:hover,
.btn_tour_aside:hover {
    background: #02868c;
    color: var(--card-bg);
    border: solid #b2ebf2 2px;
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}


/* Стили для Owl Carousel */
.owl-carousel .owl-item {
    margin: 10px;
    display: inherit;
    justify-content: center;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.owl-carousel .owl-item .why-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.owl-no-nav {
    display: flex;
    justify-content: center;
}


.go-to-btn-container {
    margin-bottom: 0;
    padding: 0 20% 0 20%;
}

.go-to-btn {
    width: 100%;
    padding: 5px;
    background-color: var(--primary-color);
    color: var(--card-bg);
    border: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: bold;
    margin-top: 25px;
}

.go-to-btn:hover {
    background-color: var(--primary-color-hover);
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

/*------Popular Tours Table------*/
.tab-container {
    width: 90%;
    margin: 0;
    padding: 0;
}

.tab-main-title {
    text-align: center;
    font-size: 28px;
    font-weight: bolder;
    color: var(--text-primary);
    padding-bottom: 10px;
}

.tab-main-title span {
    color: var(--primary-color);
}

.tab-table-container {
    padding: 0 150px;
    margin: 0;
    /*overflow-x: auto;*/
}

.tab-tours-table {
    position: relative;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.tab-tours-table table {
    vertical-align: top;
}

.tab-tours-table thead {
    margin: 0;
    padding: 0;
}

.tab-tours-table th {
    text-transform: uppercase;
    text-align: center;
    color: var(--secondary-color);
    font-size: 2em;
    font-weight: bolder;
    letter-spacing: 14px;
    padding: 0;
    margin: 0;
}

.tab-tours-table td {
    border-bottom: 1px solid var(--light-grey);
    border-top: 1px solid var(--light-grey);
    padding: 5px;
    vertical-align: middle;
}

.tab-tour-info ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1.1;
}

.tab-tour-info ul li {
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;

}

.tab-tour-info ul li .price {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bolder;
}

.tab-tour-item {
    display: flex;
}


.tab-tour-image {
    display: flex;
    width: 50px !important;
    height: 50px !important;
    border-radius: 5px;
    margin-right: 10px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tab-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}


.tab-tour-info h3 {
    font-size: 16px;
    font-weight: bolder;
    margin: 0 0 5px 0;
    color: var(--secondary-color);
}

.tab-tour-info p {
    font-size: 12px;
    color: var(--secondary-color);
    margin: 0;
}


/* 4.1 Home 7: search function */
#search_container {
    width: 100%;
}

.main_search_btn {
    width: 100%;
    border: solid #011d21 2px;
    font-family: inherit;
    font-size: inherit;
    color: var(--card-bg);
    background: #04b5bc;
    cursor: pointer;
    padding: 7px 0 7px 0;
    display: inline-block;
    outline: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 10px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

#search {
    display: block;
    padding: 120px 20% 10px 20%;
    background: var(--card-bg);
}

#search .nav-tabs {
    border-radius: 0;
    font-size: 12px;
    text-transform: uppercase;
    border: 0;
    border-bottom: 1px solid transparent;
    margin: 0 0 6px 10px;
}

#search .nav-tabs>li>a {
    border-radius: 0;
    border: 0;
    color: var(--card-bg) !important;
    padding: 10px 15px;
    margin-right: 3px;
    line-height: 20px;
    font-weight: 600;
}

#search .tab-content {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 10px;
    padding: 20px;
    color: var(--dark-grey);
}

#search .tab-content label {
    font-weight: 500;
    margin-bottom: 3px;
}

#search .nav-tabs>li>a {
    background: rgba(0, 0, 0, 0.40);
}

#search .nav-tabs>li>a.active,
#search .nav-tabs>li>a:hover .active,
#search .nav-tabs>li>a:focus .active {
    color: var(--card-bg);
    background-color: var(--primary-color);
}

.tab-pane h3 {
    color: var(--text-secondary);
    margin: 0 0 20px 0;
}

.tab-pane h3 {
    color: var(--text-secondary);
    margin: 0 0 20px 0;
}

.dd-select {
    border-radius: 3px !important;
    border: solid 1px var(--light-grey);
    position: relative;
    cursor: pointer;
    height: 40px;
    font-weight: bold !important;
}

.dd-desc {
    color: var(--light-grey);
    display: block;
    overflow: hidden;
    font-weight: normal;
}

.dd-selected {
    overflow: hidden;
    display: block;
    padding: 7px 0 0 10px !important;
    font-weight: bold !important;
    color: var(--text-primary) !important;
}

.dd-pointer {
    width: 0;
    height: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
}

.dd-pointer-down {
    border: solid 5px transparent;
    border-top: solid 5px var(--text-secondary) !important;
}

.dd-pointer-up {
    border: solid 5px transparent !important;
    border-bottom: solid 5px var(--text-color) !important;
    margin-top: -8px;
}

.dd-option {
    padding: 10px;
    display: block;
    border-bottom: solid 1px var(--light-grey);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-secondary) !important;
    cursor: pointer;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
}

.dd-options>li:last-child>.dd-option {
    border-bottom: none;
}

.dd-options li .dd-option {
    height: 45px;
    line-height: 25px !important;
}

.dd-option:hover {
    background: var(--card-bg) !important;
    color: var(--text-color);
}

.dd-option-selected {
    background: var(--card-bg) !important;
    color: var(--dark-grey);
}

.dd-option-image,
.dd-selected-image {
    vertical-align: middle;
    float: left;
    margin-right: 10px !important;
    max-width: 64px;
}

.dd-image-right {
    float: right;
    margin-right: 15px;
    margin-left: 5px;
}

.dd-container {
    position: relative;
}

label.dd-selected-text {
    font-weight: normal !important;
}

.dd-option-text {
    line-height: 14px !important;
}

.dd-selected-image {
    margin-top: 7px;
}

.dd-select label,
.dd-options label {
    font-weight: normal !important;
    cursor: pointer !important;
}

.radio_fix {
    float: left;
    margin-top: 35px;
}


/* Reviews on Main page */
.main-review-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 12px;
    max-width: 400px;
    height: fit-content;
    width: 100%;
    margin: 15px 0;
    border: 1px solid var(--secondary-color);
}

.main-review-card:hover {
    background-color: var(--card-bg);
}

.main-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.main-user-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.main-user-info-container {
    display: flex;
}

.main-tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: bolder;
}

.main-tour-city {
    display: flex;
    align-items: center;
}

.main-tour-city::before {
    content: "📍";
    margin-right: 4px;
    padding-left: 0;
}

.main-tour-rating {
    display: flex;
    align-items: center;
}

.main-tour-rating::before {
    content: "⭐";
    margin-right: 4px;
}

.main-review-text {
    font-size: 14px;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 7px 10px 10px 10px;
}

.main_review_button {
    text-align: center;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    padding-bottom: 0;
    margin-bottom: 0;
}

.main-avatar {
    overflow: hidden;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.main-user-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.main-user-name {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.main-review-date {
    color: var(--text-secondary);
    font-size: 12px;
    margin: 2px 0 0;
}

.main-rating {
    color: var(--primary-color);
    font-size: 20px;
}

.main-tour-info {
    background: var(--card-bg);
    border-radius: 6px;
    border: 1px solid var(--light-grey);
    padding: 12px;
    margin-bottom: 16px;
}

.main_review_button {
    text-align: center;
    vertical-align: middle;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.main-tour-name {
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 4px;
}

.main-tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--dark-grey);
    font-weight: bolder;
}

.main-tour-city {
    display: flex;
    align-items: center;
}

.main-tour-city::before {
    content: "📍";
    margin-right: 4px;
    padding-left: 0;
}

.main-tour-rating {
    display: flex;
    align-items: center;
}

.main-tour-rating::before {
    content: "⭐";
    margin-right: 4px;
}

.main-review-text {
    font-size: 14px;
    line-height: 1.3;
    color: var(--text-primary);
    margin-top: 7px;
}


/* New Review Form*/
.new-review-form {
    max-width: 100%;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.new-review-form h2 {
    margin: 0 0 20px;
    color: var(--secondary-color);
    font-size: 1.4em;
    font-weight: bolder;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    text-align: center;
}

.new-review-form span {
    color: var(--primary-color);
}

.new-tour-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--card-bg);
    border-radius: 5px;
}

.new-tour-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 15px;
}

.new-tour-details {
    flex-grow: 1;
}

.new-tour-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.new-tour-description {
    font-size: 14px;
    color: var(--dark-grey);
}

.new-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.new-star-rating input {
    display: none;
}

.new-star-rating label {
    cursor: pointer;
    font-size: 30px;
    color: var(--light-grey);
    transition: color 0.2s ease-in-out;
}

.new-star-rating label:hover,
.new-star-rating label:hover~label,
.new-star-rating input:checked~label {
    color: var(--yellow);
}

.new-review-text {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--light-grey);
    border-radius: 5px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.new-submit-button {
    background-color: var(--deep-green);
    color: var(--card-bg);
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 5px;
}

.reply-link {
    color: var(--deep-green);
    font-weight: bold;
    text-decoration: underline;
    border: 0;
    background: none;
    margin-bottom: 5px;
}

.new-submit-button:hover {
    background-color: var(--success-color);
}

.new-rating-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
    text-align: center;
}

/* New Comments View */
.reviews-section {
    width: 100%;
    margin: 20px auto;
    /*font-family: Arial, sans-serif;*/
}

.review-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    padding: 20px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex-grow: 1;
}

.user-name {
    font-weight: bold;
    margin: 0 0 5px;
    font-size: 16px;
}

.review-dates {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.stars {
    color: var(--yellow);
    margin-right: 10px;
    font-size: 18px;
}

.review-language {
    font-size: 12px;
    color: var(--success-color);
    border: 1px solid var(--success-color);
    border-radius: 4px;
    padding: 1px 4px;
    display: block;
    width: fit-content;
    font-weight: bold;
}

.rating-number {
    font-weight: bold;
    font-size: 16px;
}

.review-text {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 15px;
}

.review-actions a {
    color: var(--deep-green);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.review-actions a:hover {
    text-decoration: underline;
}

.nested-reviews {
    margin-left: 20px;
    border-left: 2px solid var(--bg-color);
    padding-left: 10px;
    margin-top: 10px;
}

.detailed-title h1 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    margin-top: 0;
    font-weight: bolder;
}

/* Summary Box Tour */
.tour-summary {
    width: 100%;
    background-color: var(--card-bg);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    font-family: Roboto, sans-serif;
}

.tour-info-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.tour-info-item {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}

.tour-info-item i {
    color: var(--success-color);
    margin-right: 4px;
    font-size: 1em;
    flex-shrink: 0;
}

.tour-info-content {
    flex-grow: 1;
}

.tour-info-content span {
    font-weight: bold;
}

.tour-address {
    margin-top: -10px;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: var(--dark-grey);
}

.booking-btn {
    display: block;
    background-color: var(--deep-green);
    color: var(--card-bg);
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
}

.booking-btn:hover {
    background-color: var(--success-color);
    color: var(--card-bg);
}

.booking-cancel-btn {
    width: 100%;
    display: block;
    background-color: var(--primary-color-hover);
    color: var(--card-bg);
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--danger-color);
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
}

.booking-cancel-btn:hover {
    background-color: var(--primary-color-hover);
    color: var(--card-bg);
    border: 1px solid var(--primary-color-hover);
}


/*Tour Warning Message Container*/
.tour-warning {
    margin: 5px 0 15px 0;
    width: auto;
    border: 1px solid var(--primary-color-hover);
    border-radius: 10px;
    padding: 15px 15px 0 15px;
    font-size: 17px;
    background-color: var(--card-bg);
}

.tour-warning h3 {
    border-bottom: 1px solid var(--primary-color-hover);
    padding-bottom: 5px;
    color: var(--primary-color-hover);
    font-weight: bold;
    text-transform: uppercase;
    background-color: var(--card-bg);
}

.tour-warning h3:before {
    content: "🛑";
    margin-right: 5px;
}

/*Tabs on detailed tour*/
.nav-tabs .nav-link {
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));
    color: var(--card-bg);
    width: fit-content;
    padding: 8px 15px;
    border: 1px solid var(--card-bg);
    background-color: var(--primary-color);
    border-top-left-radius: var(--bs-nav-tabs-border-radius);
    border-top-right-radius: var(--bs-nav-tabs-border-radius);
    font-weight: 700;

}

.nav-link.active {
    background-color: var(--card-bg);
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    isolation: isolate;
    color: var(--secondary-color);
    background-color: var(--card-bg);
    transition: all 0.4s ease;

}

.nav-link {
    display: block;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.nav-tabs {
    --bs-nav-tabs-border-width: 1px;
    --bs-nav-tabs-border-color: var(--primary-color);
    --bs-nav-tabs-border-radius: 0.375rem;
    --bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;
    --bs-nav-tabs-link-active-color: var(--dark-grey);
    --bs-nav-tabs-link-active-bg: var(--card-bg);
    --bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 var(--card-bg);
    border-bottom: var(--bs-nav-tabs-border-width) solid var(--primary-color);
}

.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: 700;
    --bs-nav-link-color: var(--primary-color);
    --bs-nav-link-hover-color: var(--secondary-color);
    --bs-nav-link-disabled-color: var(--dark-grey);
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

p {
    margin-bottom: 10px;
}

/*Lists*/
.list-container {
    border-left: 1px solid var(--primary-color);
    padding: 10px -12px;
    margin: 0 0 15px -10px;
    border-radius: 5px;
    background-color: var(--card-bg);
}

.list-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 0;
}

ul.list_ok {
    list-style: none;
    margin: 0 0 0 15px;
    padding: 0;
    align-items: center;
}

ul.list_ok li {
    position: relative;
    line-height: 1.3;
    margin-right: 15px;
    font-size: 1em;
    color: var(--secondary-color);
}

ul.list_ok li:last-child {
    margin-bottom: 0;
}

ul.list_ok li:before {
    margin-right: 4px;
    content: "✅";
    left: 0;
    top: 0;
}

ul.list_not {
    list-style: none;
    margin: 0 0 0 15px;
    padding: 0;
    align-items: center;
}

ul.list_not li {
    position: relative;
    line-height: 1.3;
    margin-right: 15px;
    font-size: 1em;
    color: var(--secondary-color);
}

ul.list_not li:last-child {
    margin-bottom: 0;
}

ul.list_not li:before {
    margin-right: 4px;
    content: "❌";
    left: 0;
    top: 0;
}

ul.list_bag {
    list-style: none;
    margin: 0 0 0 15px;
    padding: 0;
    align-items: center;
}

ul.list_bag li {
    position: relative;
    line-height: 1.3;
    margin-right: 15px;
    font-size: 1em;
    color: var(--secondary-color);
}

ul.list_bag li:last-child {
    margin-bottom: 0;
}

ul.list_bag li:before {
    margin-right: 4px;
    content: "🎒";
    left: 0;
    top: 0;
}

ul.list_order {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
}

ul.list_order li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
}

ul.list_order li span {
    background-color: var(--primary-color);
    color: var(--card-bg);
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    font-size: 18px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.padding_right_left_3 {
    padding-right: 3%;
    padding-left: 3%;
}

/*Messages*/

.messages-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000000;
    width: 90%;
    max-width: 400px;
}

.message {
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--card-bg);
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message-content {
    flex-grow: 1;
    margin-right: 15px;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.message-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    transition: color 0.2s ease;
}

.message-close:hover {
    color: var(--card-bg);
}

.message-debug {
    background: var(--dark-grey);
}

.message-info {
    background: var(--secondary-color);
}

.message-success {
    background: var(--success-color);
}

.message-warning {
    background: var(--warning-color);
}

.message-error {
    background: var(--danger-color);
}

/* change currency & lang in footer */
.form-top select {
    appearance: none;
    background-color: var(--primary-color);
    color: var(--card-bg);
    border-radius: 5px;
    border: none;
    font-size: 1em;
    font-weight: bolder;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    width: 100%;
    /* for adaptiveness */
    padding: 3px 30px 3px 10px;
}

.form-top::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--card-bg);
    transform: translateY(-50%);
    pointer-events: none;
}

.bottom-countries {
    padding-left: 10px;
}

.bottom-countries h3 {
    color: var(--card-bg);
    font-size: 0.9em;
}

.bottom-countries ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.bottom-countries ul li {
    margin-right: 5px;
    font-size: 0.9em;
}

.bottom-countries ul li:before {
    content: "🌍";
    margin-right: 5px;
    padding-left: 0;
}

.bottom-countries ul li a {
    color: var(--card-bg);
    font-weight: bolder;
}

.bottom-countries ul li a:hover {
    color: var(--primary-color);
    margin-left: 7px;
    transition: all 0.3s ease;
}

/* Hover эффект */
.form-top select:hover {
    background-color: var(--secondary-color);
}

.not_visible_on_desktop {
    display: none;
}

/* Общие стили для обоих select элементов */
.select-wrapper select {
    display: inline-block;
    width: 100%;
    padding: 4px;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--card-bg);
    font-size: 1em;
    font-weight: bolder;
    text-transform: uppercase;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* Стили при наведении и фокусе */
.select-wrapper select:hover,
.select-wrapper select:focus {
    border-color: var(--card-bg);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
    outline: none;
}

/* Стили для иконки */
.select-wrapper::after {
    content: '\25BC';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--card-bg);
    pointer-events: none;
    font-size: 16px;
}

/* Modal Login Sign In */
#open-modal {
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.login-modal {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.close-button {
    background: none;
    border: none;
    font-size: 40px;
    font-weight: bolder;
    cursor: pointer;
    color: var(--primary-color);
}

.close-button:hover {
    color: var(--secondary-color);
    transition-duration: 0.2s;
}

#modal-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0;
}

#modal-title-socials {
    margin: 0;
    text-align: center;
}

#modal-title-socials h3 {
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: bold;
    color: var(--secondary-color);
}

.login-modal-content {
    margin-top: 20px;
}

.modal-form {
    display: flex;
    flex-direction: column;
}

.modal-form .modal-title-socials div {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-primary);
    align-items: center;
    margin-bottom: 10px;
}

.modal-form input {
    margin-bottom: 15px;
    padding: 20px;
    font-size: 17px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
}

.primary-button {
    padding: 20px;
    font-size: 18px;
    background-color: var(--primary-color);
    color: var(--card-bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    margin-top: 5px;
    text-transform: uppercase;
}

.primary-button:hover {
    transition: ease-in-out 0.2s;
    background-color: var(--secondary-color);
}

.social-login {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    margin-bottom: 10px;
}

.vk-login-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.social-login-review {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: left;
    margin-bottom: 10px;
}

.social-button {
    justify-content: center;
    padding: 20px;
    border: none;
    cursor: pointer;
    color: var(--card-bg);
    border-radius: 4px;
    width: 25px;
    height: 25px;
}

.social-button.google {
    border: 1px solid;
    border-image: linear-gradient(45deg, #4285F4, #EA4335, #FBBC05, #34A853) 1;
    background-color: var(--card-bg);
    background-image: url(../img/socials/google.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    baseline-shift: baseline;
    content-visibility: hidden;
}

.social-button.facebook {
    background-color: #0467f9;
    background-image: url(../img/socials/facebook.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    baseline-shift: baseline;
    content-visibility: hidden;
}

.social-button.twitter {
    background-color: #212121ff;
    background-image: url(../img/socials/x.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    baseline-shift: baseline;
    content-visibility: hidden;

}

.social-button.vk {
    background-color: #1774ff;
    background-image: url(../img/socials/vk.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    baseline-shift: baseline;
    content-visibility: hidden;
}

.social-button.ok {
    background-color: #ff9800ff;
    background-image: url(../img/socials/ok.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    baseline-shift: baseline;
    content-visibility: hidden;
}

.social-button.yandex {
    background-color: #fc3f1dff;
    background-image: url(../img/socials/yandex.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    baseline-shift: baseline;
    content-visibility: hidden;
}

.switch-form,
.forgot-password {
    text-align: center;
    font-weight: bolder;
}


.booking-container {
    width: 100%
}

.booking-container h1 {
    text-align: center;
    color: var(--success-color);
    font-size: 1.7em;
    font-weight: bolder;
    padding: 5px 7px;
    margin: 5px 0 20px 0;
    text-transform: uppercase;
}

.booking-container h3 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.2em;
    font-weight: bold;
    padding: 0;
    margin: 0 0 20px 0;
}

.destinations-container {
    align-items: center;
    align-content: center;
    padding: 40px 0;
    margin: 0;
    /*background: var(--bg-destination);*/
}

.reviews-container {

    padding: 0 100px;
    margin-bottom: 10px;
    /*background: var(--bg-review);*/
}

.articles-container {

    padding: 0 100px;
    margin-bottom: 10px;
    /*background: var(--bg-articles);*/
}

.tour-container {
    background-color: var(--card-bg);
}

.faq-container {
    padding: 0 150px;
    margin-top: 0;
    background-color: var(--card-bg);
}

.faq-inner-container {
    margin-top: 20px;
}


.tip-container {
    padding: 0 150px 20px 150px;
    margin-top: 0;
    background-color: var(--card-bg);
}

/* Parallax bg */
.parallax-window-new {
    min-height: 100px;
    background: var(--secondary-color);
    position: relative;
    z-index: -999;
    margin-top: 0;
    padding: 15px;
}

.parallax-content-new {
    display: table;
    width: 100%;
    height: auto;
}

.parallax-content-new>div {
    display: table-cell;
    padding: 0;
    vertical-align: middle;
    text-align: center;
    color: var(--card-bg);
    font-size: 16px;
}

.parallax-content-new div h1 {
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--light-blue);
}

.parallax-content-new div h1 span {
    color: var(--primary-color);
}


.booking-container {
    width: 100%
}

.booking-container h1 {
    text-align: center;
    color: var(--success-color);
    font-size: 1.7em;
    font-weight: bolder;
    padding: 5px 7px;
    margin: 5px 0 20px 0;
    text-transform: uppercase;
}

.booking-container h3 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.2em;
    font-weight: bold;
    padding: 0;
    margin: 0 0 20px 0;
}

.participants {
    display: block;
    gap: 15px;
    font-size: 1.1em;
    margin: 0 0 10px 0;
}

.participants ul {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}

.participants ul li {
    border: 1px solid var(--secondary-color);
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 0 5px;
    border-radius: 5px;
}

.participant-group {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
}

.booking-card .opt-var-group {
    display: block;
    align-items: center;
    color: var(--primary-color);
}

.booking-card .opt-var-group ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
}

.booking-card .opt-var-group ul li {
    color: var(--secondary-color);
    font-weight: bolder;
    font-size: 0.9em;
}

.booking-card .opt-var-group i {
    color: var(--primary-color);
}

.actions {
    display: flex;
    flex-direction: column;
    grid-row: span 2;
}

.btnn {
    display: block;
    text-align: center;
    align-content: center;
    font-size: 1.1em;
    color: var(--card-bg);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bolder;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.btn-edit {
    display: block;
    background-color: var(--success-color);
    border: 1px solid var(--success-color);
}

.btn-edit:hover {
    color: var(--success-color);
    border: 1px solid var(--success-color);
    background-color: var(--card-bg);
}

.btn-cancel {
    display: block;
    background-color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.btn-cancel:hover {
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    background-color: var(--card-bg);
}

/* Old booking-details styles removed - using dashboard-bookings.css */

.dashboard_currency {
    width: 100%;
    text-align: center;
}

.dashboard_currency button {
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    color: var(--card-bg);
    border-radius: 5px;
    padding: 10px 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    margin: 5px 5px;
}

.dashboard_currency button:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}


.login-btn {
    background: var(--primary-color);
    color: var(--card-bg);
    border-radius: 5px;
    border: none;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
    padding: 4px 10px;
}

.login-btn:hover {
    background: var(--secondary-color);
    color: var(--card-bg);
    border-radius: 5px;
    border: none;
    font-size: 1em;
    text-transform: uppercase;
    transition-duration: 0.5s;

}

@media only screen and (max-width: 991px) {


    .dashboard_currency {
        margin: 0 5px 25px 5px;
    }

    /* Old booking mobile styles removed - using dashboard-bookings.css */

    .date-box {
        width: 100%;
        border-radius: 5px 5px 0 0;
        margin-bottom: -10px;
    }

    .month,
    .day,
    .weekday {
        vertical-align: middle;
        font-size: 1.2em;
        display: inline;
        color: var(--card-bg);
        margin-right: 10px;
        padding: 0;
    }

    .day {
        font-size: 2em;
    }

    .booking-tour-info h2 {
        text-align: center;
    }

    .booking-tour-info {
        margin: 10px;
        padding: 5px;
    }

    .booking-tour-details,
    .participants {
        font-size: 0.9em;
    }

    .actions {
        display: block;
    }

    .edit-booking-buttons {
        display: flex;
        justify-content: space-between;
        margin: 10px 0 10px 0;
    }

    .btnn {
        font-size: 1em;
        padding: 10px 20px;
        margin: 0 10px;
        width: 45%;
    }

    .booking-details {
        font-size: 0.8em;

        margin: 5px 0 0 0;
        padding: 5px 4px;
        border-top: 1px solid var(--primary-color);
    }
}

@media (max-width: 991px) {

    .avatar {
        width: 40px;
        height: 40px;
    }

    .review-dates {
        font-size: 10px;
    }

    .stars {
        font-size: 16px;
    }

    .rating-number {
        font-size: 14px;
    }

    .review-text {
        font-size: 13px;
    }

    .nested-reviews {
        margin-left: 15px;
        padding-left: 15px;
    }

    .why-card {
        padding: 0;
        margin: 0;
    }

    .why-card i {
        margin: 0;
    }

    .why-card h1 {
        margin-top: 5px;
    }

    .why-card p {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text-color);
        padding: 0;
        margin: 0 7px 10px 7px;
    }

    .why-card img {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .countries-container {
        padding-left: 0;
        padding-right: 0;
    }

    .tab-container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .tab-tours-table th,
    .tab-tours-table td {
        display: block;
    }

    .tab-tours-table tr {
        margin-bottom: 20px;
        display: block;
    }

    .tab-tours-table td {
        border-bottom: 1px solid var(--light-grey);
        border-top: 1px solid var(--light-grey);
    }

    #search_container {
        width: 100%;
        vertical-align: center;
    }

    #search {
        display: block;
        padding: 100px 20px 10px 20px;
        background: rgba(0, 0, 0, 0.6);
    }

    #position {
        display: none;
    }

    .review-item {
        padding: 15px;
    }

    .user-name {
        font-size: 14px;
    }

    img.thumb_visit {
        display: none;
    }

    .new_title {
        font-size: 14px;
    }

    .new_title h2 {
        font-size: 24px;
    }

    .new_title p {
        font-size: 16px
    }

    .popular_list_tours_tabs {
        width: 100%;
    }

    .country-block {
        width: 100%;
    }

    .tours-container {
        width: 100%;
    }

    .countries-container {
        padding-left: 0;
        padding-right: 0;
    }

    .select-wrapper select {
        font-size: 18px;
        padding: 15px 40px 15px 15px;
    }

    .new-search-container {
        position: relative;
        width: 100%;
        padding-right: 10px;

    }

    .not_visible_on_mobile {
        display: none;
    }

    .not_visible_on_desktop {
        display: block;
    }

}

@media only screen and (max-width: 1200px) {
    .location-container {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .country-block {
        padding-top: 0;
        width: 100%;
    }

    .popular_list_tours_tabs h1 {
        text-transform: uppercase;
        color: var(--primary-color);
    }

    .tour-image {
        width: 70px;
        height: 39px;
    }

    .tour-image img {
        width: 70px;
        height: 39px;
    }

    .tour-item {
        padding: 0 0 0 80px;
    }

    .tour-info h2 {
        font-size: 14px;
    }

    .tour-info small {
        font-size: 10px;
    }
}

@media screen and (max-width: 65.375em) {
    .new_tmtimeline>li .new_tmtime span:last-child {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 47.2em) {
    .new_tmtimeline:before {
        display: none;
    }

    .new_tmtimeline>li .new_tmtime {
        width: 100%;
        position: relative;
        padding: 0 0 20px 0;
    }

    .new_tmtimeline>li .new_tmtime span {
        text-align: left;
    }

    .new_tmtimeline>li .new_tmlabel {
        margin: 0 0 30px 0;
        padding: 1em;
    }

    .new_tmtimeline>li .new_tmlabel:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: var(--card-bg);
        top: -20px;
    }

    .new_tmtimeline>li:nth-child(odd) .new_tmlabel:after {
        border-right-color: transparent;
        border-bottom-color: var(--card-bg);
    }

    .new_tmtimeline>li .new_tmicon {
        position: relative;
        float: right;
        left: auto;
        margin: -65px 5px 0 0;
    }
}

@media (max-width: 687px) {
    .new-booking-form {
        padding: 10px;
    }

    .time-picker {
        flex-basis: calc(25% - 2px);
    }

    .date-option {
        flex-basis: calc(32% - 2px);
    }

    .date-option:last-child {
        flex-basis: 100%;
        margin-top: 10px;
    }

    .ticket-type {
        flex-wrap: wrap;
    }

    .ticket-type .name {
        flex-basis: 80%;
        order: 1;
        margin-bottom: 5px;
    }

    .ticket-type .price {
        flex-basis: 30%;
        order: 2;
        text-align: left;
    }

    .ticket-type .quantity-control-wrapper {
        flex-basis: 20%;
        order: 3;
        justify-content: flex-end;
        align-self: center;
        align-content: center;
    }

    .ticket-type .sub-total-price {
        display: none;
    }

    .tab-container {
        width: 100%;
        margin: -10px;
        padding: 0;
    }

    .tab-tours-table th,
    .tab-tours-table td {
        display: block;
    }

    .tab-tours-table tr {
        margin-bottom: 20px;
        display: block;
    }

    .tab-tours-table td {
        border-bottom: 1px solid var(--light-grey);
        border-top: 1px solid var(--light-grey);
    }
}

@media only screen and (max-width: 480px) {


    #position {
        margin-bottom: 10px;
    }

    /* Parallax bg */
    .parallax-window-new {
        min-height: 50px;
        margin-top: 0;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    .parallax-content-new {
        height: auto;
    }

    .parallax-content-new>div {
        color: var(--card-bg);
        font-size: 1em;
    }

    .parallax-content-new div h1,
    .parallax-content-new div h3 {
        font-size: 1.5em;
    }
}

@media only screen and (min-width: 992px) {

    /* Opacity mask when left open */
    .layer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        min-width: 100%;
        min-height: 100%;
        background-color: #000;
        z-index: 99;
        background-color: rgba(0, 0, 0, 0.8);
        -webkit-transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, visibility 0s ease 0.3s;
        -moz-transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, visibility 0s ease 0.3s;
        -ms-transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, visibility 0s ease 0.3s;
        -o-transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, visibility 0s ease 0.3s;
        transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, visibility 0s ease 0.3s;
        opacity: 0;
        visibility: hidden;
    }

    .layer-is-visible {
        opacity: 1;
        visibility: visible;
        -webkit-transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
        -moz-transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
        -ms-transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
        -o-transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
        transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
    }
}

@media (max-width: 600px) {
    .login-modal {
        width: 90%;
    }
}

/* Sort container */
.price-list-section .sort-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.price-list-section .sort-label {
    font-size: 16px !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
    var(--card-bg)-space: nowrap !important;
}

.price-list-section .sort-select,
.price-list-section #tour-sort {
    padding: 2px 45px 2px 18px !important;
    background-color: var(--card-bg) !important;
    border: 2px solid var(--light-grey) !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232a5db0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
    min-width: 240px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    line-height: 1.5 !important;
}

.price-list-section .sort-select:hover,
.price-list-section #tour-sort:hover {
    border-color: var(--dark-blue) !important;
    box-shadow: 0 4px 12px rgba(42, 93, 176, 0.2) !important;
}

.price-list-section .sort-select:focus,
.price-list-section #tour-sort:focus {
    outline: none !important;
    border-color: var(--dark-blue) !important;
    box-shadow: 0 0 0 5px rgba(42, 93, 176, 0.2) !important;
}

.price-list-section .sort-select option,
.price-list-section #tour-sort option {
    padding: 14px 18px !important;
    font-size: 16px !important;
    background-color: var(--card-bg) !important;
    color: var(--text-primary) !important;
}

.price-list-section .sort-select option:checked,
.price-list-section #tour-sort option:checked {
    background-color: var(--dark-blue) !important;
    color: var(--card-bg) !important;
}

/* Additional browser-specific styling */
.price-list-section select#tour-sort::-ms-expand {
    display: none !important;
}

.price-list-section select.sort-select::-ms-expand {
    display: none !important;
}

/* Force override any bootstrap or vendor styles */
select#tour-sort {
    padding: 12px 45px 12px 18px !important;
    font-size: 16px !important;
    border: 2px solid var(--light-grey) !important;
    border-radius: 10px !important;
    background-color: var(--card-bg) !important;
    min-height: 44px !important;
}

/* Mobile override */
@media (max-width: 576px) {
    select#tour-sort {
        font-size: 17px !important;
        padding: 16px 50px 16px 18px !important;
        min-height: 52px !important;
    }
}

/* Аккордеон */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.accordion-item {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    margin-bottom: 5px;
}

.accordion-header {
    background-color: #f3f9fa;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 9px 50px 9px 20px;
    cursor: pointer;
    gap: 15px;
    position: relative;
}

.accordion-header::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.accordion-item.active .accordion-header::after {
    transform: translateY(-50%) rotate(180deg);
}

.tour-title {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-primary);
}

.tour-days {
    font-size: 1em;
    color: var(--dark-grey);
    margin-left: 3px;
    margin-right: 3px;
}

.tour-price {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
}

/* Контент аккордеона */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
    border-top: 1px solid transparent;
}

.accordion-item.active .accordion-content {
    border-top-color: var(--border-color);
}

.content-wrapper {
    padding: 10px 30px;
}

.content-subtitle {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Расписание */
.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.schedule-list time {
    display: inline;
    color: var(--primary-color);
    var(--card-bg)-space: nowrap;
    font-size: 1.1em;
    font-weight: bold;
}

.schedule-title {
    display: inline;
    font-size: 1em;
    font-weight: bolder;

}
.schedule-price-description{
    font-size: 0.9em;
}

.schedule-list li {
    padding: 3px 0;
    display: block;
    gap: 10px;
    line-height: 1.3;
}

.day-price-list {
    border: 1px solid var(--secondary-color);
    padding: 0 3px;
    margin-bottom: 5px;
    border-radius: 2px;
    color: var(--secondary-color);
    font-weight: bold;
}

.schedule-description {
    display: inherit;
    font-size: 0.9em;
    padding-left: 10px;
}

/* Tour Program Timeline */
.tour-timeline-compact {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tour-timeline-item {
    position: relative;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 24px 36px;
    margin: 0;
    border-radius: 0 !important;
}

.tour-timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 2px;
    background: rgba(1, 55, 73, 0.12);
    z-index: 1;
}

.tour-timeline-item:last-child::before {
    bottom: auto;
    height: 12px;
}

.tour-timeline-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 4px;
}

.tour-timeline-number {
    position: absolute;
    left: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--secondary-color, #013749);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px #fff;
    flex-shrink: 0;
}

.tour-timeline-day {
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color, #013749);
    background: rgba(1, 55, 73, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.tour-timeline-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color, #bb3d24);
    background: rgba(187, 61, 36, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.tour-timeline-time i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.tour-timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color, #013749);
    margin: 2px 0 0 0;
    text-align: left;
}

.tour-timeline-description {
    margin: 4px 0 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.tour-timeline-description p {
    margin: 0;
}

@media (min-width: 768px) {
    .tour-timeline-item {
        padding: 0 0 28px 44px;
    }

    .tour-timeline-item::before {
        left: 12px;
    }

    .tour-timeline-item:last-child::before {
        height: 16px;
    }

    .tour-timeline-number {
        left: 0;
        top: 3px;
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
        box-shadow: 0 0 0 5px #fff;
    }

    .tour-timeline-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 3px;
    }

    .tour-timeline-title {
        margin: 0;
        font-size: 1.15rem;
    }
}

/* Примечание */
.note-block {
    margin-bottom: 20px;
}

.important-note {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: var(--radius);
    color: var(--text-secondary);
    gap: 10px;
}

.icon-info {
    width: 20px;
    height: 20px;
    fill: var(--warning-color);
}

/* Таблицы цен */
.price-tabs {
    margin-bottom: 25px;
}

.price-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1em;
    color: var(--text-secondary);
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.price-tab-content {
    display: none;
}

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

.group-price {
    font-size: 1.1em;
    margin: 0;
}


/* Таблицы цен (как для индивидуальных, так и для групповых туров) */
.individual-price-table,
.group-price-table {
    border-collapse: collapse;
    margin-top: 7px;
    width: 100%;
}

.individual-price-table th,
.individual-price-table td,
.group-price-table th,
.group-price-table td {
    padding: 3px 15px;
    font-weight: bold;
    color: var(--dark-grey);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.individual-price-table th,
.group-price-table th {
    background-color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: bold;
    color: var(--card-bg);
}

.individual-price-table tr:last-child td,
.group-price-table tr:last-child td {
    border-bottom: none;
}

/* Задаём цвет фона для каждой чётной строки */
.individual-price-table tr:nth-child(even),
.group-price-table tr:nth-child(even) {
    background-color: var(--light-blue);
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 1em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-details {
    background-color: var(--card-bg);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-details:hover {
    background-color: rgba(46, 134, 222, 0.1);
}

.btn-booking {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--card-bg);
}

.btn-booking:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    color: var(--card-bg);
}
.btn-booking-edit {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: var(--card-bg);
    padding: 0 8px;
    border-radius: 50%;
}
.btn-booking-edit i{
    font-size: 1.6rem;
}
.btn-booking-edit:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    color: var(--card-bg);
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.icon-question,
.icon-arrow {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.main_title_popular_tours {
    text-align: center;
    /*background: var(--bg-devider);*/
    margin-top: 0;
    padding-bottom: 10px;
    padding-top: 10px;
}

.main_title_popular_tours h2 {
    text-transform: uppercase;
    font-weight: bolder;
    letter-spacing: -1px;
    font-size: 1.7em;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--card-bg)
}

/* Адаптивность */
@media (max-width: 992px) {
    .accordion-header {
        grid-template-columns: 1fr auto auto;
    }

    .tour-days {
        grid-column: 2;
    }

    .tour-price {
        grid-column: 3;
    }
}

@media (max-width: 768px) {

    .faq-accordion-toggle {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer-text {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .why-card {
        margin: 0;
    }

    .main-review-card {
        max-width: 100%;
    }

    .accordion-header {
        grid-template-columns: 1fr auto;
        padding: 6px 10px;
        gap: 2px;
    }

    .tour-title {
        grid-column: 1;
        grid-row: 1;
    }

    /* Price list & shared accordion mobile layout – title top, days+price bottom, arrow right */
    .price-list-section .accordion-header,
    .accordion-section .accordion-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 16px;
        padding-right: 44px;
        position: relative;
        gap: 4px;
    }

    .price-list-section .tour-title,
    .accordion-section .tour-title {
        flex: 1 1 100%;
        order: 1;
        text-align: left !important;
        font-size: 1rem !important;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.3;
        margin: 0;
    }

    .tour-badge-featured {
        display: inline-block;
        background: #4caf50;
        color: #fff !important;
        font-size: 0.55rem !important;
        font-weight: 600;
        padding: 1px 4px;
        border-radius: 2px;
        vertical-align: middle;
        margin-left: 5px;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .tour-badge-unpublished {
        display: inline-block;
        background: #ff9800;
        color: #fff !important;
        font-size: 0.55rem !important;
        font-weight: 600;
        padding: 1px 4px;
        border-radius: 2px;
        vertical-align: middle;
        margin-left: 5px;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .price-list-section .tour-days,
    .accordion-section .tour-days {
        flex: 1 1 auto;
        order: 2;
        font-size: 0.8rem;
        color: var(--dark-grey);
        line-height: 1.3;
    }

    .price-list-section .tour-price,
    .accordion-section .tour-price {
        order: 3;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-color);
        var(--card-bg)-space: nowrap;
        margin-left: auto;
    }

    .price-list-section .tour-price sup,
    .accordion-section .tour-price sup {
        font-size: 0.65rem;
        font-weight: 500;
        color: var(--dark-grey);
        margin-left: 2px;
        vertical-align: super;
    }

    .price-list-section .accordion-header::after,
    .accordion-section .accordion-header::after {
        right: 12px;
        width: 28px;
        height: 28px;
        background: var(--dark-grey);
    }

    .price-list-section .accordion-item.active .accordion-header::after,
    .accordion-section .accordion-item.active .accordion-header::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Расписание */
    .schedule-title {
        font-size: 0.9em;
        padding: 0;
    }

    .schedule-list time {
        font-size: 1em;
    }

    .schedule-list li {
        padding: 5px 10px;
        line-height: 1.1;
    }

    .tour-timeline-item {
        padding: 0 0 24px 30px;
    }

    .tour-timeline-item::before {
        left: 9px;
    }

    .tour-timeline-item:last-child::before {
        height: 12px;
    }

    .tour-timeline-number {
        left: 0;
        top: 2px;
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
        box-shadow: 0 0 0 3px #fff;
    }

    .tour-timeline-day {
        font-size: 0.7rem;
        padding: 1px 5px;
    }

    .tour-timeline-time {
        font-size: 0.8rem;
        padding: 1px 5px;
    }

    .tour-timeline-title {
        font-size: 0.95rem;
        margin-top: 1px;
    }

    .tour-timeline-description {
        font-size: 0.85rem;
        margin-top: 3px;
    }

    .day-price-list {
        font-size: 0.8em;
        padding: 0 2px;
        margin-bottom: 2px;
        border-radius: 2px;
    }

    .action-buttons {
        display: block;
    }

    .btn {
        width: 100%;
        margin: 0 0 10px 0;
    }


    .main_title_popular_tours {
        padding: 5px 0;
        margin: 0;
    }

    .main_title_popular_tours h2 {
        font-size: 1.2em;
    }

    .destinations-container {
        padding: 30px 0;
        margin: 0;
    }

    .reviews-container {
        padding: 0;
        margin: 0;
    }

    .articles-container {
        padding: 0;
        margin: 0;
    }

    .tour-container {
        padding: 0;
        margin: 0;
    }

    .faq-container {
        padding: 0;
        margin: 0;
    }

    .tip-container {
        padding: 0;
        margin: 0;
    }

}

@media (max-width: 576px) {


    .tab-table-container {
        padding: 0;

    }

    .price-list-container {
        padding: 10px 0;
        margin: 10px 0;

    }

    .price-list-section {
        padding: 10px 0;
        margin: 0;
    }

    /* Extra small screens - tighter accordion layout */
    .price-list-section .accordion-header,
    .accordion-section .accordion-header {
        padding-right: 38px;
        gap: 3px;
    }

    .price-list-section .tour-title,
    .accordion-section .tour-title {
        font-size: 0.95rem !important;
    }

    .price-list-section .tour-days,
    .accordion-section .tour-days {
        font-size: 1rem;
    }

    .price-list-section .tour-price,
    .accordion-section .tour-price {
        font-size: 1.2rem;
    }

    .price-list-section .accordion-header::after,
    .accordion-section .accordion-header::after {
        right: 8px;
        width: 24px;
        height: 24px;
    }

    .content-subtitle {
        font-size: 0.9em;
        text-align: center;
    }

    .category-nav {
        gap: 6px;
    }

    .price-list-section .sort-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        background-color: rgba(255, 255, 255, 0.6) !important;
        border-radius: 10px !important;
    }

    .price-list-section .sort-label {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: var(--text-primary) !important;
    }

    .price-list-section .sort-select,
    .price-list-section #tour-sort {
        width: 100% !important;
        min-width: unset !important;
        font-size: 17px !important;
        padding: 16px 50px 16px 18px !important;
        border-radius: 10px !important;
        background-position: right 18px center !important;
        background-size: 18px !important;
        /* Larger touch target for mobile */
        min-height: 52px !important;
        border: 2px solid var(--light-grey) !important;
    }

    .price-list-section .sort-select option,
    .price-list-section #tour-sort option {
        font-size: 17px !important;
        padding: 16px !important;
    }

    .category-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .content-wrapper {
        padding: 0 7px;
        margin: 0;
    }

    .tabs-nav {
        overflow-x: auto;
        var(--card-bg)-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .price-container {
        margin: 0 5px;
        padding: 0;
    }

}

/* Tablet styles for sort container */
@media (min-width: 577px) and (max-width: 768px) {
    .price-list-section .sort-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        background-color: rgba(255, 255, 255, 0.4) !important;
        border-radius: 10px !important;
    }

    .price-list-section .sort-label {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .price-list-section .sort-select,
    .price-list-section #tour-sort {
        min-width: 260px !important;
        max-width: 340px !important;
        padding: 13px 45px 13px 18px !important;
        font-size: 16px !important;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.accordion-item.active .content-wrapper {
    animation: fadeIn 0.4s ease forwards;
}

/* Дополнительные утилиты */
.hidden {
    display: none !important;
}


/* Modal Tour Detailed */
#tour-detailed-contact-popup-trigger {
    position: relative;
    cursor: pointer;
    z-index: 1000000;
}

#tour-detailed-contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
    justify-content: center;
    align-items: center;
}

.tour-detailed-modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.tour-detailed-contact-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.tour-detailed-contact-icon {
    width: 65px;
    height: 65px;
    cursor: pointer;
    transition: transform 0.2s;
}

.tour-detailed-contact-icon:hover {
    transform: scale(1.1);
}

.tour-detailed-modal-close {
    float: right;
    font-size: 1em;
    rotate: 45deg;
    cursor: pointer;
}

.tour-detailed-modal-close:hover {
    rotate: 225deg;
    color: var(--primary-color);
    transition: 0.3s;
}

/* Activation Pages */
.activation-page-container {
    padding: 10px 10%;
    background-color: var(--light-bg);
}

.activation-row h2 {
    font-size: 2em;
    background-color: var(--primary-color-hover);
    color: var(--card-bg);
    padding: 10px 10px;
    font-weight: bolder;
    text-align: center;
    border: 4px dotted var(--card-bg);
    border-radius: 5px;
    margin: 0;
}

.activation-row h3 {
    font-size: 1.6em;
    font-weight: bolder;
    margin: 0;
    padding: 0;
    color: var(--primary-color);
}

.activation-row h4 {
    font-size: 1.3em;
    font-weight: bolder;
    margin: 0;
    padding: 0;
    color: var(--secondary-color);
}

.activation-row h5 {
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 10px 0 0 0;
    padding: 5px 10px;
    color: var(--card-bg);
    background-color: var(--secondary-color);
    border: 2px dotted var(--card-bg);
    rotate: -2deg;
}

.activation-row {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.activation-row ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;

}

.activation-row ul li {
    display: inline-block;
    margin: 20px 7px;

}

.activation-row ul li a {
    border-radius: 5px;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--card-bg);
    font-size: 1em;
}

.activation-row ul li a:hover {
    border: 1px solid var(--secondary-color);
    background-color: var(--secondary-color);

}

/* Touch feedback for mobile */
.touch-active {
    background-color: rgba(0, 0, 0, 0.05);
    transition: background-color 0.15s ease;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    var(--card-bg)-space: nowrap;
    border: 0;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Active filters on tours searching page */

.reset-filter-button {
    text-align: center;
    margin: 10px auto;
    padding: 0;
    width: fit-content;
}

.reset-filter-button a {
    display: block;
    padding: 10px 15px;
    font-size: 0.9em;
    font-weight: bold;
    color: var(--card-bg);
    background-color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin: 10px auto;
    text-transform: uppercase;
}

.reset-filter-button :hover {
    opacity: 0.85;
}

.selected-filters {
    text-align: center;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.selected-filters h6 {
    font-size: 1.4em;
    color: var(--text-primary);
}

.filter-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--card-bg);
    padding: 3px 8px;
    border-radius: 3px;
    margin: 2px;
    font-size: 12px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .list-container {
        padding: 0 0 0 10px;
    }

    ul.list_ok {
        margin: 0 0 10px 0;
    }

    ul.list_ok li:before {
        margin-right: 5px;
        margin-left: 0;
        font-size: 0.9em;
    }

    ul.list_not {
        margin: 0 0 10px 0;
    }

    ul.list_not li:before {
        margin-right: 5px;
        margin-left: 0;
        font-size: 0.9em;
    }

    ul.list_bag {
        margin: 0 0 10px 0;
    }

    ul.list_bag li:before {
        margin-right: 5px;
        margin-left: 0;
        font-size: 0.9em;
    }

    .new-review-form {
        padding: 5px 10px;
    }

}

/* ===== SEARCH STYLES ===== */
.new-search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    top: 10px;
}

.new-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.new-search-input {
    position: relative;
    flex: 1;
    width: 100% !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 10px !important;
    font-size: 13px;
    outline: none;
    padding: 12px 50px 12px 16px;
    background: transparent;
    font-weight: bold;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    box-sizing: border-box !important;
}

.new-search-input:focus {
    border-color: var(--secondary-color) !important;
    outline: none !important;
    /*box-shadow: 0 0 0 3px rgba(255, 107, 97, 0.2) !important;*/
}

.new-search-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--card-bg);
    padding: 8px 15px;
    margin: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 17px;
    height: 100%;
}

.new-search-button i {
    font-size: 1.2em;
}

.new-search-button:hover {
    background: var(--secondary-color);
}

.htmx-indicator {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    display: none;
}

.htmx-request .htmx-indicator {
    display: block;
}

.new-search-input::placeholder {
    color: var(--secondary-color);
    font-weight: normal;
}

.new-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.suggestion-category {
    padding: 0;
}

.suggestion-category h3 {
    margin: 0;
    padding: 5px;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    background: #f8f9fa;
    border-bottom: 1px solid #e3e9f0;
}

.suggestion-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestion-category li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e3e9f0;
}

.suggestion-category li.selected {
    background-color: #f0f0f0;
}

.suggestion-category li:focus {
    outline: none;
}

.suggestion-category li a:hover {
    color: var(--primary-color);
}

.suggestion-category li a {
    display: block;
    padding: 12px 16px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1em;
    line-height: 1.4;
}

.suggestion-category li a:hover {
    background: #f1f7fd;
    text-decoration: none;
    padding-left: 20px;
}

.suggestion-category .result-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.suggestion-category .result-meta {
    font-size: 12px;
    color: var(--secondary-color);
}

.no-results {
    padding: 20px 16px;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .new-search-container {
        max-width: 100%;
    }

    .new-search-input {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 10px 12px;
    }

    .new-search-button {
        padding: 10px 12px;
        min-width: 45px;
    }

    .suggestion-category li a {
        padding: 10px 12px;
    }

    .suggestion-category li a:hover {
        padding-left: 16px;
    }
}

/* Child price info tooltip */
.question-popup-info {
    position: relative;
    display: inline-block;
    margin-left: 0;
    cursor: pointer;
    vertical-align: middle;
    top: 25%;
}

.question-popup-info i {
    font-size: 1rem;
    color: var(--primary-color);
}

.question-popup-info:hover i {
    color: var(--secondary-color);
}

/* Fallback tooltip styles (hidden, used only if JS fails) */
.question-popup-info::after,
.question-popup-info::before {
    display: none;
}

/* Portal Tooltip - Created via JavaScript and appended to body */
.question-tooltip-portal {
    position: fixed;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    will-change: transform;
}

.question-tooltip-portal.visible {
    opacity: 1;
    visibility: visible;
}

.question-tooltip-content {
    background: var(--secondary-color);
    color: var(--card-bg);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    var(--card-bg)-space: normal;
    max-width: 200px;
    min-width: 120px;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.question-tooltip-arrow {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--secondary-color);
}

/* Mobile tooltip - click to show */
@media (max-width: 768px) {
    .question-popup-info {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    .question-tooltip-content {
        max-width: 280px;
        min-width: 150px;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .question-tooltip-arrow {
        bottom: -6px;
        top: auto;
        left: 50%;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid var(--secondary-color);
        border-bottom: none;
    }
}

/* ========================================
   BOOKING UNAVAILABLE OVERLAY
   ======================================== */

.booking-forms-wrapper {
    position: relative;
}

.booking-forms-wrapper--disabled {
    pointer-events: none;
    user-select: none;
}

.booking-unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.booking-unavailable-overlay__content {
    text-align: center;
    padding: 20px;
}

.booking-unavailable-overlay__content i {
    font-size: 2.5em;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

.booking-unavailable-overlay__content p {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   ASIDE BOOKING FORM - Desktop Sidebar
   ======================================== */

.aside-booking-form {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
}

.aside-booking-form__title {
    background-color: var(--primary-color);
    color: var(--card-bg);
    padding: 8px 12px;
    margin: -15px -15px 15px -15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aside-booking-form__section {
    margin-bottom: 12px;
}

.aside-booking-form__label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.aside-booking-form__section-title {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--primary-color);
}

/* Date Picker */
.aside-booking-form__date-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.aside-booking-form__date-option {
    padding: 6px 4px;
    border: 1px solid var(--primary-color);
    background: var(--card-bg);
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    font-size: 0.75em;
    font-weight: 600;
    transition: all 0.2s ease;
}

.aside-booking-form__date-option:hover {
    background: rgba(var(--primary-color), 0.1);
}

.aside-booking-form__date-option.active {
    background: var(--primary-color);
    color: var(--card-bg);
}

.aside-booking-form__date-pick {}

/* Time Picker */
.aside-booking-form__time-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aside-booking-form__time-option,
.aside-booking-form__time-picker .time-option {
    padding: 6px 10px;
    border: 1px solid var(--secondary-color);
    background: var(--card-bg);
    color: var(--secondary-color);
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    font-size: 0.8em;
    font-weight: 600;
    transition: all 0.2s ease;
}

.aside-booking-form__time-option:hover,
.aside-booking-form__time-picker .time-option:hover {
    background: var(--primary-color);
    color: var(--card-bg);
}

.aside-booking-form__time-option.active,
.aside-booking-form__time-picker .time-option.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--card-bg);
}

/* Ticket Rows */
.aside-booking-form__tickets {
    border-top: 1px dashed var(--light-grey);
    padding-top: 10px;
}

.aside-booking-form__ticket-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 4px 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--light-grey);
    align-items: center;
}

.aside-booking-form__ticket-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aside-booking-form__ticket-title {
    font-weight: 700;
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.2;
}

.aside-booking-form__ticket-req {
    font-size: 0.7em;
    color: var(--dark-grey);
    line-height: 1.2;
}

.aside-booking-form__ticket-desc {
    font-size: 0.7em;
    color: var(--dark-grey);
    line-height: 1.2;
}

.aside-booking-form__ticket-price {
    font-size: 1em;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    var(--card-bg)-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aside-booking-form__converted-price {
    display: inline-block;
    font-size: 0.65em;
    color: var(--secondary-color);
    border: 1px dotted var(--secondary-color);
    border-radius: 3px;
    padding: 0 2px;
    margin-top: 1px;
    var(--card-bg)-space: nowrap;
}

.aside-booking-form__quantity-wrapper {
    display: flex;
    justify-content: center;
}

.aside-booking-form__quantity-control {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aside-booking-form__qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--light-grey);
    border-radius: 50%;
    background: var(--card-bg);
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.aside-booking-form__qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.aside-booking-form__qty-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    border-color: var(--light-grey);
    color: var(--text-secondary);
}

.aside-booking-form__qty-value {
    min-width: 18px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
}

.aside-booking-form__subtotal {
    font-size: 0.8em;
    font-weight: 600;
    text-align: center;
    min-width: 55px;
    var(--card-bg)-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Tour Variations */
.aside-booking-form__variations {
    border-top: 1px dashed var(--light-grey);
    padding-top: 8px;
}

.aside-booking-form__variation-row {
    border-bottom: 1px solid #eee;
}

/* Tour Options */
.aside-booking-form__options {
    border-top: 1px dashed var(--light-grey);
    padding-top: 8px;
}

.aside-booking-form__option-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 4px 6px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.aside-booking-form__option-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aside-booking-form__option-title {
    font-weight: 600;
    font-size: 0.8em;
    line-height: 1.2;
}

.aside-booking-form__pay-on-site {
    display: inline-block;
    font-size: 0.8em;

    background: var(--card-bg);
    border: 1px dotted var(--primary-color);
    padding: 0 4px;
    border-radius: 3px;
    color: var(--primary-color);
    width: fit-content;
    margin-top: 3px;
}

.aside-booking-form__option-desc {
    font-size: 0.7em;
    color: var(--dark-grey);
    line-height: 1.2;
}

.aside-booking-form__option-price {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    var(--card-bg)-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aside-booking-form__option-subtotal {
    font-size: 0.75em;
    font-weight: 600;
    text-align: center;
    min-width: 45px;
    var(--card-bg)-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Switch Toggle */
.aside-booking-form__switch-wrapper {
    display: flex;
    justify-content: center;
}

.aside-booking-form__switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.aside-booking-form__switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.aside-booking-form__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-grey);
    transition: 0.3s;
    border-radius: 20px;
}

.aside-booking-form__slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--card-bg);
    transition: 0.3s;
    border-radius: 50%;
}

.aside-booking-form__switch input:checked+.aside-booking-form__slider {
    background-color: var(--success-color);
}

.aside-booking-form__switch input:checked+.aside-booking-form__slider:before {
    transform: translateX(16px);
}

/* Total Price */
.aside-booking-form__total {
    background: var(--card-bg);
    padding: 4px 8px;
    margin: 10px 0;
    text-align: right;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px dotted var(--primary-color);
    border-left: none;
    border-right: none;
}

.aside-booking-form__total-converted {
    font-size: 1em;
    color: var(--secondary-color);
    border: 1px dotted var(--secondary-color);
    border-radius: 5px;
    padding: 1px 4px;
    margin-left: 5px;
    display: inline-block;
}

.aside-booking-form__pay-on-tour {
    text-align: right;
    font-size: 0.8em;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

/* Contact Form */
.aside-booking-form__contacts {
    margin-top: 12px;
    border-top: 1px dashed var(--light-grey);
    padding-top: 10px;
}

.aside-booking-form__ask-btn {
    text-align: center;
    margin-bottom: 10px;
}

.aside-booking-form__ask-btn button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.8em;
    text-decoration: underline;
}

.aside-booking-form__ask-btn button:hover {
    color: var(--primary-color);
}

.aside-booking-form__field {
    margin-bottom: 8px;
}

.aside-booking-form__field label {
    display: block;
    font-size: 0.8em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.aside-booking-form__input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-size: 0.85em;
    transition: border-color 0.2s ease;
}

.aside-booking-form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color), 0.1);
}

.aside-booking-form__input.is-invalid {
    border-color: var(--primary-color-hover);
}

.aside-booking-form__hint {
    display: block;
    font-size: 0.7em;
    color: var(--text-secondary);
    margin-top: 2px;
}

.aside-booking-form__field-row {
    display: flex;
    gap: 8px;
}

.aside-booking-form__field--residence {
    flex: 1 1 70%;
}

.aside-booking-form__field--unit {
    flex: 1 1 30%;
}

/* Messengers */
.aside-booking-form__messengers {
    margin-bottom: 10px;
}

.aside-booking-form__messengers-label {
    display: block;
    font-size: 0.8em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    text-align: center;
}

.aside-booking-form__messengers-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.aside-booking-form__messenger-icon {
    cursor: pointer;
}

.aside-booking-form__messenger-icon input {
    display: none;
}

.aside-booking-form__messenger-img {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.aside-booking-form__messenger-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aside-booking-form__messenger-icon input:checked+.aside-booking-form__messenger-img {
    opacity: 1;
    transform: scale(1.15);
}

.aside-booking-form__messenger-icon:hover .aside-booking-form__messenger-img {
    opacity: 1;
}

/* Checkbox */
.aside-booking-form__checkbox {
    margin-bottom: 10px;
}

.aside-booking-form__checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.75em;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.3;
}

.aside-booking-form__checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Submit Buttons */
.aside-booking-form__buttons {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.aside-booking-form__cart-btn,
.aside-booking-form__submit-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aside-booking-form__cart-btn {
    background: var(--primary-color);
    color: var(--card-bg);
}

.aside-booking-form__cart-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aside-booking-form__submit-btn {
    background: var(--secondary-color);
    color: var(--card-bg);
}

.aside-booking-form__submit-btn:hover {
    transform: translateY(-1px);
}

.aside-booking-form__cart-btn:active,
.aside-booking-form__submit-btn:active {
    transform: translateY(0);
}

.aside-booking-form__submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.aside-booking-form__field-error {
    display: block;
    color: var(--primary-color-hover);
    font-size: 0.8rem;
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.aside-booking-form__field-error.visible {
    opacity: 1;
}

.aside-booking-form__cart-btn.htmx-request,
.aside-booking-form__submit-btn.htmx-request {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Terms */
.aside-booking-form__terms {
    font-size: 0.65em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.3;
}

.aside-booking-form__terms a {
    color: var(--primary-color);
    text-decoration: underline;
}

.aside-booking-form__terms a:hover,
.aside-booking-form__terms a:focus {
    text-decoration: none;
}

/* Free Cancellation */
.aside-booking-form__free-cancel {
    text-align: center;
    font-size: 0.8em;
    font-weight: 600;
    color: var(--success-color-hover);
    padding: 6px;
    background: var(--card-bg);
    border-radius: 4px;
}

/* ========================================
   ASIDE BOOKING FORM - Responsive Styles
   ======================================== */

@media (max-width: 1199px) {
    .aside-booking-form__ticket-row {
        grid-template-columns: 1fr auto auto;
    }

    .aside-booking-form__subtotal {
        display: none;
    }

    .aside-booking-form__option-row {
        grid-template-columns: 1fr auto auto;
    }

    .aside-booking-form__option-subtotal {
        display: none;
    }
}

@media (max-width: 991px) {

    /* Hide aside form on mobile - use mobile sticky button instead */
    /* TEMPORARILY DISABLED FOR TESTING
    .aside-booking-form {
        display: none;
    }
    */
}

/* ========================================
   ASIDE BOOKING MODAL - Contact Form Modal
   ======================================== */

.aside-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.aside-booking-modal__content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.aside-booking-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--card-bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.aside-booking-modal__close:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    transform: rotate(90deg);
}

.aside-booking-modal__close i {
    font-size: 0.9em;
    transform: rotate(45deg);
}

.aside-booking-modal__title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 5px 0;
    padding-right: 40px;
}

.aside-booking-modal__subtitle {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin: 0 0 20px 0;
}

.aside-booking-modal__form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.aside-booking-modal__form .aside-booking-form__field label .required {
    color: var(--primary-color);
}

.aside-booking-modal__form .aside-booking-form__input {
    padding: 12px 14px;
    font-size: 0.95em;
    border-radius: 6px;
}

.aside-booking-modal__form .aside-booking-form__field-row {
    gap: 12px;
}

.aside-booking-modal__summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px dashed var(--primary-color);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.aside-booking-modal__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary-color);
}

.aside-booking-modal__submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 1em;
    margin-top: 10px;
}

/* Modal form messengers styling */
.aside-booking-modal__form .aside-booking-form__messengers {
    margin: 10px 0;
}

.aside-booking-modal__form .aside-booking-form__messengers-icons {
    gap: 15px;
}

.aside-booking-modal__form .aside-booking-form__messenger-img {
    width: 40px;
    height: 40px;
}

/* Modal form checkbox styling */
.aside-booking-modal__form .aside-booking-form__checkbox {
    margin: 10px 0;
}

.aside-booking-modal__form .aside-booking-form__checkbox label {
    font-size: 0.85em;
}

/* Responsive styles for modal */
@media (max-width: 576px) {
    .aside-booking-modal {
        padding: 10px;
    }

    .aside-booking-modal__content {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .aside-booking-modal__title {
        font-size: 1.1em;
    }

    .aside-booking-modal__subtitle {
        font-size: 0.85em;
    }

    .aside-booking-modal__form .aside-booking-form__field-row {
        flex-direction: column;
        gap: 5px;
    }

    .aside-booking-modal__form .aside-booking-form__field--residence,
    .aside-booking-modal__form .aside-booking-form__field--unit {
        flex: 1 1 100%;
    }
}

/* ========================================
   CART CONFIRMATION MODAL
   ======================================== */

.cart-confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-confirmation-modal.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.cart-confirmation-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cart-confirmation-modal__content {
    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    text-align: center;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cart-confirmation-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.cart-confirmation-modal__close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--card-bg);
    transform: rotate(90deg);
}

.cart-confirmation-modal__close i {
    font-size: 0.9em;
    transform: rotate(45deg);
}

.cart-confirmation-modal__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-color-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
}

.cart-confirmation-modal__icon i {
    font-size: 2rem;
    color: var(--card-bg);
}

.cart-confirmation-modal__title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
}

.cart-confirmation-modal__tour-info {
    font-size: 1em;
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.cart-confirmation-modal__tour-info strong {
    color: var(--secondary-color);
}

.cart-confirmation-modal__message {
    margin-bottom: 25px;
}

.cart-confirmation-modal__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 1px solid var(--warning-color);
    border-radius: 10px;
    padding: 15px;
    text-align: left;
}

.cart-confirmation-modal__notice i {
    font-size: 1.3rem;
    color: var(--warning-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-confirmation-modal__notice p {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.5;
}

.cart-confirmation-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-confirmation-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cart-confirmation-modal__btn--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c9302c 100%);
    color: var(--card-bg);
    box-shadow: 0 4px 15px rgba(217, 83, 79, 0.3);
}

.cart-confirmation-modal__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 83, 79, 0.4);
}

.cart-confirmation-modal__btn--secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--light-grey);
}

.cart-confirmation-modal__btn--secondary:hover {
    background: var(--card-bg);
    border-color: var(--light-grey);
}

/* Responsive styles for cart confirmation modal */
@media (max-width: 576px) {
    .cart-confirmation-modal {
        padding: 15px;
    }

    .cart-confirmation-modal__content {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .cart-confirmation-modal__icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .cart-confirmation-modal__icon i {
        font-size: 1.6rem;
    }

    .cart-confirmation-modal__title {
        font-size: 1.2em;
    }

    .cart-confirmation-modal__tour-info {
        font-size: 0.9em;
    }

    .cart-confirmation-modal__notice {
        padding: 12px;
        gap: 10px;
    }

    .cart-confirmation-modal__notice i {
        font-size: 1.1rem;
    }

    .cart-confirmation-modal__notice p {
        font-size: 0.85rem;
    }

    .cart-confirmation-modal__btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* ========================================
   EDIT PROFILE FORM - Dashboard Profile Form
   ======================================== */

.edit-profile-form {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.edit-profile-form__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edit-profile-form__row {
    display: flex;
    gap: 15px;
}

.edit-profile-form__field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.edit-profile-form__field label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.edit-profile-form__field label .required {
    color: var(--primary-color);
}

.edit-profile-form__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    font-size: 0.95em;
    background: var(--card-bg);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edit-profile-form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.1);
}

.edit-profile-form__input::placeholder {
    color: var(--text-secondary);
}

.edit-profile-form__input.is-invalid {
    border-color: var(--primary-color-hover);
}

/* Residence and Unit fields */
.edit-profile-form__field--residence {
    flex: 1 1 70%;
}

.edit-profile-form__field--unit {
    flex: 1 1 30%;
}

/* Messengers Section */
.edit-profile-form__messengers {
    margin: 10px 0 5px;
    text-align: center;
}

.edit-profile-form__messengers-label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.edit-profile-form__messengers-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.edit-profile-form__messenger-icon {
    cursor: pointer;
}

.edit-profile-form__messenger-icon input {
    display: none;
}

.edit-profile-form__messenger-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.5;
    background: var(--card-bg);
}

.edit-profile-form__messenger-img img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.edit-profile-form__messenger-icon input:checked+.edit-profile-form__messenger-img {
    opacity: 1;
    background: var(--card-bg);
}

.edit-profile-form__messenger-icon:hover .edit-profile-form__messenger-img {
    opacity: 0.8;
    background: var(--card-bg);
}

/* Submit Button */
.edit-profile-form__submit-btn {
    width: 100%;
    max-width: 200px;
    padding: 14px 24px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    background: var(--deep-green);
    color: var(--card-bg);
    transition: all 0.3s ease;
}

.edit-profile-form__submit-btn:hover {
    background: var(--deep-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.edit-profile-form__submit-btn:active {
    transform: translateY(0);
}

/* Form Errors */
.edit-profile-form__errors {
    background: var(--bg-color);
    border: 1px solid var(--bg-color);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 15px;
}

.edit-profile-form__error {
    color: var(--primary-color-hover);
    font-size: 0.85em;
    margin: 0 0 5px 0;
}

.edit-profile-form__error:last-child {
    margin-bottom: 0;
}

/* Field Validation */
.edit-profile-form__input.is-invalid {
    border-color: var(--primary-color-hover);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.edit-profile-form__field-error {
    display: block;
    color: var(--primary-color-hover);
    font-size: 0.75em;
    margin-top: 4px;
}

/* intlTelInput Styling for Edit Profile */
.edit-profile-form .iti {
    width: 100%;
}

.edit-profile-form .iti__flag-container {
    z-index: 10;
}

.edit-profile-form .iti__selected-flag {
    background: transparent;
    border-radius: 6px 0 0 6px;
    padding-left: 12px;
}

.edit-profile-form .iti--separate-dial-code .iti__selected-flag {
    background: var(--card-bg);
    border-right: 1px solid var(--light-grey);
}

.edit-profile-form .iti--separate-dial-code input {
    padding-left: 100px;
}

.edit-profile-form .iti__country-list {
    max-height: 250px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.edit-profile-form .iti__country {
    padding: 8px 12px;
}

.edit-profile-form .iti__country:hover {
    background: #f5f5f5;
}

.edit-profile-form .iti__country.iti__highlight {
    background: #e8f4fc;
}

/* Responsive Styles */
@media (max-width: 576px) {
    .edit-profile-form {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .edit-profile-form__row {
        flex-direction: column;
        gap: 10px;
    }

    .edit-profile-form__field--residence,
    .edit-profile-form__field--unit {
        flex: 1 1 100%;
    }

    .edit-profile-form__submit-btn {
        max-width: 100%;
    }
}

/* ========================================
   Booking Tabs Styles
   ======================================== */

.booking-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.booking-tab {
    flex: 1;
    padding: 5px 20px;
    background: var(--card-bg);
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid var(--primary-color);
    border-left: 1px solid var(--primary-color);
    border-right: 1px solid var(--primary-color);
}

.booking-tab:hover {
    background: var(--light-grey);
    color: var(--text-primary);
}

.booking-tab.active {
    background: var(--primary-color);
    color: var(--card-bg);
    border-bottom-color: var(--secondary-color);
}

.booking-tab:first-child {
    border-radius: 8px 0 0 0;
}

.booking-tab:last-child {
    border-radius: 0 8px 0 0;
}

.booking-tab-content {
    display: none;
}

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

/* Ensure the aside booking form has proper border radius when tabs are present */
.booking-tabs~.booking-tab-content .aside-booking-form {
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.booking-tabs~.booking-tab-content .aside-booking-form__title {
    display: none;
    /* Hide when tabs are present - tabs serve as the header */
}

/* Responsive adjustments for tabs */
@media (max-width: 576px) {
    .booking-tab {
        font-size: 0.85em;
        padding: 12px 10px;
        letter-spacing: 0.5px;
    }
}

/* ========================================
   Private Tour Date/Time Layout
   ======================================== */

.private-datetime-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.private-datetime-col {
    flex: 1;
    position: relative;
}

.private-date-pick,
.private-time-pick {
    width: 100%;
    padding: 2px 20px;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--card-bg);
    min-height: 45px;
    font-size: 1em;
    font-weight: 500;
    color: var(--text-primary);
}

.private-date-pick i,
.private-time-pick i {
    font-size: 1.3em;
    color: var(--primary-color);
    flex-shrink: 0;
}

.private-date-pick span,
.private-time-pick span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95em;
    flex: 1;
    text-align: left;
}

/* Placeholder style when no date/time selected */
.private-date-pick span:empty::before,
.private-time-pick span:empty::before {
    content: attr(data-placeholder);
    color: var(--text-secondary);
    font-weight: 400;
}

.private-date-pick:hover,
.private-time-pick:hover {
    border-color: var(--primary-color);
    background: var(--card-bg);
}

.private-date-pick.active,
.private-time-pick.active {
    border-color: var(--secondary-color);
    background: rgba(255, 193, 7, 0.1);
}

.private-date-pick.has-date,
.private-time-pick.has-time {
    border-color: var(--secondary-color);
    background: var(--card-bg);
}

.private-time-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 2px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
}

.private-time-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.private-time-option:hover {
    background: var(--light-grey);
}

.private-time-option.active {
    background: var(--secondary-color);
    color: var(--card-bg);
    font-weight: 600;
}

/* Keep date and time in one row even on mobile */
@media (max-width: 768px) {
    .private-datetime-row {
        gap: 8px;
    }

    .private-datetime-col {
        flex: 1;
    }

    .private-date-pick,
    .private-time-pick {
        padding: 10px 8px;
        font-size: 0.9em;
    }

    .private-date-pick i,
    .private-time-pick i {
        font-size: 1.1em;
    }

    .private-date-pick span,
    .private-time-pick span {
        font-size: 0.85em;
    }

    .aside-booking-form__label {
        font-size: 0.8em;
        margin-bottom: 3px;
    }
}

/* ========================================
   SLIDER PRO ARROWS — shadow for var(--card-bg) bg
   ======================================== */

.sp-next-arrow,
.sp-previous-arrow {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}

/* ========================================
   TOUR CARD — Staff Edit Button
   ======================================== */

.edit-tour {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--card-bg);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.edit-tour i {
    font-size: 0.85rem;
    line-height: 1;
}

.edit-tour:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    transform: scale(1.12);
    text-decoration: none;
}

/* Unpublished content badges — visible only to editors */
.tour-unpublished-badge,
.article-unpublished-badge {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background: #dc3545;
     color: #fff;
     padding: 0.15rem 0.6rem;
     border-radius: 5px;
     font-size: 1.7rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     z-index: 4;
     pointer-events: none;
     white-space: nowrap;
}

/* Banner for detail pages */
.unpublished-banner {
     background: #dc3545;
     color: #fff;
     text-align: center;
     padding: 0.6rem 1rem;
     font-weight: 700;
     font-size: 0.9rem;
     letter-spacing: 0.5px;
     border-radius: 6px;
     margin-bottom: 1rem;
}

.unpublished-banner i {
     margin-right: 0.4rem;
}
.not-published {
    display:inline-block;
    background:var(--danger-color);
    color:#fff;
    font-size:0.65rem;
    font-weight:600;
    padding:3px 3px;
    border-radius:3px;
    margin-left:6px;
    text-transform:uppercase;
    position:relative;
    top:-2px
}
.featured-accordion{
    display:inline-block;
    background:var(--success-color);
    color:#fff;
    font-size:0.65rem;
    font-weight:600;
    padding:3px 3px;
    border-radius:3px;
    margin-left:6px;
    text-transform:uppercase;
    position:relative;
    top:-2px
}

/* ===== CMS Content overflow protection (mobile) ===== */
.cms-page-content img,
.cms-page-content video {
    max-width: 100%;
    height: auto;
}
.cms-page-content table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cms-page-content pre,
.cms-page-content code {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.cms-page-content iframe,
.cms-page-content embed,
.cms-page-content object {
    max-width: 100%;
}
