@charset "UTF-8";

/* Global Scroll Progress Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    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-accordion-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e9ecef;
    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 rgba(42, 93, 176, 0.15);
    border-color: var(--primary-color);
}

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

.faq-accordion-toggle {
    width: 100%;
    background: #f8f9fa;
    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: white;
    color: var(--primary-color);
}

.faq-accordion-toggle:hover {
    background: #e9ecef;
}

.faq-question-text {
    font-weight: 600;
    text-align: left;
    flex: 1;
    padding-right: 1rem;
    color: #2c3e50;
}

.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 #e9ecef;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.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 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: #ffffff;
}

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

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

.location-subtext>.num {
    font-size: 17px;
    color: #b2ebf2;
}


/* 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: #555;
}

/*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: #ebeef3;
    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: #888;
    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: #eef3f7;
    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: #eef3f7;
    border-width: 10px;
    top: 15px;
}


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

/*------Why Us------*/
.why-card {
    /*position: relative;*/
    border: 1px solid var(--secondary-color);
    /*display: inline-block;*/
    /*flex-direction: column;*/
    /*justify-content: space-between;*/
    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 img {*/
/*    width: 55px;*/
/*    height: 55px;*/
/*    margin-bottom: 10px;*/
/*    filter: invert(15%) sepia(44%) saturate(2139%) hue-rotate(164deg) brightness(96%) contrast(102%);*/
/*}*/

.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: white;
    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: #f8f8f8;
}

.tour-item {
    position: relative;
    padding: 5px 5px 10px 75px;
    margin-top: 5px;
    width: 100%;
    border-bottom: 1px solid #ededed;
}

.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: #023234;
    margin: 0;
    padding: 0;
    font-size: 14px;
    display: block;
    font-weight: bolder;
}

.tour-item1:hover {
    background-color: #f8f8f8;
}

.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: white;
    border: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: bold;
    margin-top: 25px;
}

.go-to-btn:hover {
    background-color: #f34c4c;
    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: rgb(248, 229, 228);
}

#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: #fff !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: #333;
}

#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: #fff;
    background-color: #e14d67;
}

.tab-pane h3 {
    color: #999;
    margin: 0 0 20px 0;
}

.tab-pane h3 {
    color: #999;
    margin: 0 0 20px 0;
}

.dd-select {
    border-radius: 3px !important;
    border: solid 1px #ccc;
    position: relative;
    cursor: pointer;
    height: 40px;
    font-weight: bold !important;
}

.dd-desc {
    color: #aaa;
    display: block;
    overflow: hidden;
    font-weight: normal;
}

.dd-selected {
    overflow: hidden;
    display: block;
    padding: 7px 0 0 10px !important;
    font-weight: bold !important;
    color: #444 !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 #999 !important;
}

.dd-pointer-up {
    border: solid 5px transparent !important;
    border-bottom: solid 5px #000 !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: #f9f9f9 !important;
    color: #000;
}

.dd-option-selected {
    background: #f9f9f9 !important;
    color: #333 !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 red;
    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: #ffffff;
}

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

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

.location-subtext>.num {
    font-size: 17px;
    color: #b2ebf2;
}


/* 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: #555;
}

/*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: #ebeef3;
    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: #888;
    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 #fff;
    margin-top: -5px;
    float: right;
    margin-left: 15px;
}


.new_tmtimeline>li .new_tmlabel {
    margin: 0 0 15px 25%;
    background: #eef3f7;
    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: #eef3f7;
    border-width: 10px;
    top: 15px;
}

/* The icons */
.new_tmtimeline>li .new_tmicon {
    width: 48px;
    height: 48px;
    font-weight: 500;
    background-color: #fff;
    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 #999;
    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: white;
    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: #fff;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    min-width: 70px;
    font-weight: bold;
}

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

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

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

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

.date-option:hover {
    background: #f1f9fa;
    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: white;
    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: #1d1b1b;
}

.ticket-type .description {
    font-weight: bolder;
    font-size: 14px;
    line-height: 1.1em;
    color: #424242;
}

.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: white;
    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: #f1f9fa;
    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: white;
}

.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: #f8f9fa;
    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: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    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: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 16px;
}

.contacts-booking-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    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 #ddd;
    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(--text-color, #333);
    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: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #f34c4c;
    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: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

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

.terms {
    font-size: 12px;
    color: #888;
    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: green;
}

/*Tour Aside*/
a.btn_tour_aside,
.btn_tour_asidel {
    width: 100%;
    border: solid #b2ebf2 2px;
    font-family: inherit;
    font-size: inherit;
    color: white;
    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: #ffffff;
    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: white;
    border: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: bold;
    margin-top: 25px;
}

.go-to-btn:hover {
    background-color: #f34c4c;
    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: #333;
    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 #ddd;
    border-top: 1px solid #ddd;
    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: #023234;
    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: white;
    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: rgb(248, 229, 228);
}

#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: #fff !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: #333;
}

#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: #fff;
    background-color: #e14d67;
}

.tab-pane h3 {
    color: #999;
    margin: 0 0 20px 0;
}

.tab-pane h3 {
    color: #999;
    margin: 0 0 20px 0;
}

.dd-select {
    border-radius: 3px !important;
    border: solid 1px #ccc;
    position: relative;
    cursor: pointer;
    height: 40px;
    font-weight: bold !important;
}

.dd-desc {
    color: #aaa;
    display: block;
    overflow: hidden;
    font-weight: normal;
}

.dd-selected {
    overflow: hidden;
    display: block;
    padding: 7px 0 0 10px !important;
    font-weight: bold !important;
    color: #444 !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 #999 !important;
}

.dd-pointer-up {
    border: solid 5px transparent !important;
    border-bottom: solid 5px #000 !important;
    margin-top: -8px;
}

.dd-option {
    padding: 10px;
    display: block;
    border-bottom: solid 1px #ddd;
    overflow: hidden;
    text-decoration: none;
    color: #777 !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: #f9f9f9 !important;
    color: #000;
}

.dd-option-selected {
    background: #f9f9f9 !important;
    color: #333 !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;
}


/* Reviews on Main page */
.main-review-card {
    background-color: #fffcf6;
    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: #ffffff;
}

.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: #555;
    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: #333;
    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: #666;
    font-size: 12px;
    margin: 2px 0 0;
}

.main-rating {
    color: var(--primary-color);
    font-size: 20px;
    /*text-shadow: 0 0 2px #000000;*/
}

.main-tour-info {
    background: var(--card-bg);
    border-radius: 6px;
    border: 1px solid #d4d3d3;
    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: #555;
    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: #333;
    margin-top: 7px;
}


/* New Review Form*/
.new-review-form {
    max-width: 100%;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #ffffff;
    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: #f8f8f8;
    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: #666;
}

.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: #ddd;
    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: #ffd700;
}

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

.new-submit-button {
    background-color: var(--deep-green);
    color: white;
    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: #45a049;
}

.new-rating-info {
    font-size: 14px;
    color: #666;
    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: #ffffff;
    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: #667;
}

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

.stars {
    color: #ffd700;
    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 #f7d3bf;
    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: #4CAF50;
    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: white;
}

.booking-cancel-btn {
    width: 100%;
    display: block;
    background-color: #fa4444;
    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(--danger-color);
    color: var(--card-bg);
    border: 1px solid var(--danger-color);
}


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

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

.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);
    /*border-color: var(--secondary-color);*/
}

.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 #fff;
    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);
}

/* Header  plain*/
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
    padding-bottom: 5px;
    box-shadow: 0 1px 5px rgba(255, 107, 97, 0.19);
    margin-bottom: 10px;

}

#logo_home h1 {
    margin: 7px;
    padding: 0;
}

/* Logo for desktop */
header#plain #logo_home h1 a {
    background-repeat: no-repeat;
    display: block;
    background-image: url(../img/logo.svg);
    background-size: 100%;
    padding: 1px;
    text-indent: -9999px;

}

header#plain {
    background-color: var(--card-bg);
    padding-bottom: 5px;
}

header#plain ul#top_tools a {
    margin-top: -20px;
    /*color: var(--primary-color);*/
}


#cart-container #top_tools .login_header a {
    margin-top: 0;
    text-transform: uppercase;
    color: var(--card-bg);
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-weight: bolder;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.9em;
}

#cart-container #top_tools .login_header a:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.form-top {
    margin: 0;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* <select> styles */
.form-top select {
    appearance: none;
    background-color: var(--primary-color);
    color: white;
    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);
}

nav {
    margin-top: 20px !important;
    position: relative;
}

.sticky nav {
    margin-top: 20px !important;
}

ul#top_tools {
    list-style: none;
    padding: 0;
    position: absolute;
    right: 10px;
    top: -5px;
    z-index: 999;
}

ul#top_tools li {
    display: inline-block;
    padding: 0;
    margin-right: 5px;
}

ul#top_tools li i {
    font-size: 2em;
}

ul#top_tools li i:hover {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.dropdown-cart .dropdown-menu {
    border: none;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    min-width: 0;
    padding: 15px;
    width: 350px;
    top: 100%;
    margin-left: -217px;
    font-size: 16px;
    font-weight: normal;
    text-shadow: none;
    text-transform: none !important;
    border-top: 2px solid var(--primary-color);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown-cart .dropdown-menu:before {
    bottom: 100%;
    right: 32%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: var(--primary-color);
    border-width: 7px;
    margin-left: -7px;
}

.dropdown-cart .dropdown-menu {
    margin-top: 8px;
}

a.cart_bt {
    top: -10px;
    position: relative;
    padding: 0;
    margin: 0;
}

a.cart_bt strong {
    font-size: 18px;
    width: 23px;
    height: 23px;
    display: block;
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    position: absolute;
    bottom: -7px;
    right: -14px;
    line-height: 23px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

ul#cart_items {
    padding: 5px 0 0 0;
    list-style: none;
}

ul#cart_items li {
    border-bottom: 1px dotted var(--secondary-color);
    position: relative;
    margin: 0;
    padding: 10px;
    width: 100%;
    clear: both;
}

ul#cart_items li:last-child {
    border-bottom: none;
}

ul#cart_items li .image {
    overflow: hidden;
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 10px;
    margin-top: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

ul#cart_items li .image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

ul#cart_items li strong {
    float: left;
    color: var(--secondary-color);
    margin-top: -5px;
    width: 270px;
    line-height: 1.4;
    font-weight: bolder;
}

ul#cart_items li strong>a {
    margin-top: 0;
    color: #333;
    display: block;
    font-weight: bolder;
}

ul#cart_items li strong>a:hover {
    color: var(--primary-color);
    font-weight: bolder;
}

ul#cart_items li a.action {
    position: absolute;
    right: 10px;
}

ul#cart_items li a.action i {
    font-size: 1em;
    text-shadow: none;
    font-weight: normal;
}

ul#cart_items li a.action:hover {
    color: var(--secondary-color);
    background: none;
}

ul#cart_items li:last-child div {
    color: #999;
    text-align: right;
    font-size: 14px;
    padding: 10px 0 15px 0;
    display: block;
}

ul#cart_items li:last-child span {
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

.dropdown-cart .dropdown-menu a.button_drop {
    display: inline-block;
}

.dropdown- .dropdown-menu {
    margin-top: 7px;
}

.input-group button {
    background-color: #333;
    color: #fff;
    border-color: #333;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-size: 14px;
    outline: none;
}

/*-------- 5.3 Header versions --------*/
#opening {
    display: inline-block;
    margin-left: 15px;
    font-weight: 600;
}


.dropdown-menu#log_out {
    text-align: center;
}

.dropdown-menu#log_out p {
    color: #999;
}

/* Header 6*/
.dropdown-mini .dropdown-menu {
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    float: right;
    left: auto;
    text-align: left;
    padding: 0;
    right: 0;
    min-width: 100px;
    width: auto;
    top: 100%;
    margin: 7px 0 0 -50px;
    font-size: 12px;
    font-weight: normal;
    text-shadow: none;
    text-transform: none !important;
    border-top: 2px solid var(--primary-color);
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-radius: 0 0 5px 5px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown-mini .dropdown-menu:before {
    bottom: 100%;
    right: 48%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: var(--primary-color);
    border-width: 7px;
    margin-left: -7px;
}

.dropdown-mini .dropdown-menu ul li a {
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-color);
}

.not_visible_on_desktop {
    display: none;
}

/* Общие стили для обоих select элементов */
.select-wrapper select {
    display: inline-block;
    width: 100%;
    padding: 4px;
    /*border: 1px solid var();*/
    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: #fff;
    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: #333;
    align-items: center;
    margin-bottom: 10px;
}

.modal-form input {
    margin-bottom: 15px;
    padding: 20px;
    font-size: 17px;
    border: 1px solid rgba(1, 55, 73, 0.64);
    border-radius: 10px;
}

.primary-button {
    padding: 20px;
    font-size: 18px;
    background-color: var(--primary-color);
    color: #fff;
    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;
}

.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: #fff;
    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: white;
    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: #ececfc;
}

.faq-container {
    padding: 0 150px;
    margin-top: 0;
    background-color: #e6f5fa;
}

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


.tip-container {
    padding: 0 150px 20px 150px;
    margin-top: 0;
    background-color: #e6f5fa;
}

/* 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: #fff;
    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: white;
    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: white;
    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: white;
    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) {

    header#plain {
        padding-bottom: 15px;
    }

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

    #logo_home h1 {
        padding: 0;
        margin: 10px 0 0 -2px;
    }

    /*logo for mobile*/
    header#plain #logo_home h1 a {

        background-image: url(../img/logo.svg);
        background-size: 65px auto;
        padding: 20px 0 0 0;
        background-position: center;
    }

    .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: #151414;
        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 #ddd;
        border-top: 1px solid #ddd;
    }

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

}

/* Logo for Retina */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    header#plain #logo_home h1 a {
        right: 6px;
        top: 7px;
        position: relative;
        width: 150px;
        margin-top: 1px;
        background-image: url(../img/logo.svg);
        padding: 0 0 0 0;
        background-position: left top;
    }
}

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

    header#plain {
        padding-bottom: 15px;
    }
}

@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: #eef3f7;
        top: -20px;
    }

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

    .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 #ddd;
        border-top: 1px solid #ddd;
    }
}

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

    .main-menu {
        width: 100%;
    }

    a#close_in {
        display: block;
        position: absolute;
        right: 15px;
        top: 10px;
        width: 20px;
        height: 20px;
    }

    #close_in i {
        color: #555 !important;
        font-size: 16px;
    }
}

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

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

    header#plain {
        padding-bottom: 12px;
    }

    .main-menu ul {
        display: flex;
        align-items: center;
    }

    .main-menu ul li {
        display: inline-block;
        position: relative;
    }

    .main-menu ul li a {
        color: var(--secondary-color);
        padding: 15px;
        font-weight: bolder;
        display: block;
    }

    /* First level dropdown */
    .main-menu ul ul {
        position: absolute;
        background: var(--card-bg);
        min-width: 230px;
        top: 100%;
        left: 0;
        visibility: hidden;
        opacity: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(1px);
        /* to avoid flickering */
        transition: all 0.3s ease;
    }

    .main-menu ul li:hover>ul {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    /*-------- 1.4 menu --------*/
    .main-menu {
        position: relative;
        z-index: 9;
        width: 100%;
    }

    .main-menu a {
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }

    .main-menu ul,
    .main-menu ul li,
    .main-menu ul li a {
        position: relative;
        margin: 0 0 0 0;
        padding: 0;
    }

    /* Submenu styles */
    .main-menu ul li a {
        display: block;
        line-height: 20px;
        padding: 10px;
    }

    /*First level styles header plain */
    header#plain .main-menu>ul>li>a {
        color: var(--secondary-color);
        font-weight: bolder;
        font-size: 1.3em;
        padding: 0 0 0 0;
        margin: 0 0 5px 0;
    }

    .icon-down-open-mini {
        margin-left: -10px;

    }

    header#plain .main-menu>ul>li:hover>a {
        color: var(--primary-color);
    }

    /* 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;
    }

    #close_in,
    #header_menu,
    .cmn-toggle-switch {
        display: none;
    }

    a.dropdown-toggle.icon-search {
        display: inline-block;

    }


    /* User controls for desktop */
    .menu-controls {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    .menu-controls>* {
        margin-left: 10px;
    }

    .menu-controls select {
        padding: 5px 10px;
        border: 1px solid var(--primary-color);
        border-radius: 4px;
    }

    .user-controls a {
        padding: 8px 15px;
        border-radius: 4px;
        font-weight: 700;
    }


    .profile-btn {
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
    }

    .main-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .nav-links {
        display: flex;
        gap: 300px;
    }

    .nav-item {
        position: relative;
    }

    .nav-item>a {
        color: #333;
        font-weight: 500;
        padding: 10px 0;
    }

    /* User controls */
    .user-controls {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: 30px;
    }

    .btn-login,
    .btn-signup {
        padding: 8px 20px;
        border-radius: 4px;
    }

    .btn-signup {
        background: #fff;
        border: 1px solid #F08080;
        color: #F08080;
    }

    .btn-login {
        background: #F08080;
        color: white;
    }

    .main-menu {
        width: auto;
    }

    .main-menu a {
        white-space: nowrap;

    }

    .main-menu ul li {
        display: inline-block;
        margin-right: 1.5rem;

    }

    .main-menu ul li.submenu:hover>a:before,
    .main-menu ul li.submenu:hover>a:after {
        bottom: -20px;
        opacity: 0;

    }

    /* Submenu + megamenu*/
    .main-menu ul ul,
    .main-menu ul li .menu-wrapper {
        position: absolute;
        border-top: 2px solid var(--primary-color);
        z-index: 1;
        visibility: hidden;
        left: 0;
        top: 100%;
        margin: 0;
        display: block;
        padding: 0;
        background: #fff;
        min-width: 210px;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 0;
    }

    .main-menu ul li .menu-wrapper {
        padding: 10px 15px !important;
        box-sizing: border-box;

    }

    .main-menu ul li:hover>ul,
    .main-menu ul li:hover .menu-wrapper {
        padding: 0;
        visibility: visible;
        -ms-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;

    }

    .main-menu ul .menu-wrapper ul {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border-top: none;
        margin: 0;
        position: static;
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    .main-menu ul .menu-wrapper ul:before {
        border: 0;
    }

    .main-menu ul ul li {
        display: block;
        height: auto;
        width: 100%;
        border-bottom: 1px solid var(--primary-color);

    }

    .main-menu ul ul li a {
        font-size: 1.1em;
        color: var(--secondary-color);
        display: block;
        font-weight: 700;
    }

    .main-menu ul ul li:hover>a {
        background-color: var(--secondary-color);
        color: var(--card-bg);
        padding-left: 25px;
        transition: padding-left 0.5s ease;
    }

    /* Megamenu*/
    .main-menu ul li.megamenu {
        position: static;
    }

    .main-menu ul li.megamenu .menu-wrapper {
        width: 1115px;
        left: auto;
        right: 0;
        padding: 10px 30px 15px 30px !important;
    }

    .main-menu ul li:hover.megamenu .menu-wrapper {
        visibility: visible;
        opacity: 1;

    }

    /* Submenu 3rd level */
    .main-menu ul ul ul {
        position: absolute;
        border-top: 0;
        z-index: 1;
        height: auto;
        left: 100%;
        top: 0;
        margin: 0;
        padding: 3px;
        background: var(--card-bg);
        min-width: 195px;
    }

    .main-menu ul ul li.third-level>a:hover {
        position: relative;
        background-color: var(--secondary-color);
        color: var(--card-bg);
        padding-left: 35px;
        opacity: 1;
    }

    .main-menu ul ul li.third-level>a:after {
        font-family: 'ElegantIcons', serif;
        content: "\35";
        float: right;
        font-size: 1.4rem;
        font-weight: bolder;
        margin-top: -1px;
    }

    .toggle-submenu {
        display: none;
    }
}

@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);
    }

    /* User controls section */
    .menu-controls {
        padding: 20px;
        border-top: 1px solid #eee;
    }

    .user-controls {
        margin-bottom: 20px;
    }

    .user-controls a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        margin-bottom: 10px;
        border-radius: 4px;
        font-weight: 500;
    }

    .user-controls i {
        margin-right: 10px;
        font-size: 18px;
    }

    .profile-btn {
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
    }

    /* User controls */
    .menu-user-controls {
        padding: 20px;
    }

    .menu-user-controls a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        margin-bottom: 10px;
        border-radius: 4px;
        color: #333;
        text-decoration: none;
    }

    .menu-user-controls a i {
        margin-right: 10px;
    }

    .mobile-login {
        background: #F08080;
        color: white !important;
        text-align: center;
        justify-content: center;
    }

    .mobile-profile {
        border: 1px solid #F08080;
        color: #F08080 !important;
        text-align: center;
        justify-content: center;
    }

    /* Language and Currency selectors */
    .mobile-controls {
        padding: 0 20px;
    }

    .control-label {
        display: block;
        margin-bottom: 8px;
        color: #333;
        font-size: 14px;
    }

    .mobile-controls select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 15px;
        background: #fff;
    }

    ul#top_tools {
        display: none;
    }

    /* ------------------------------------
          Мобильное меню
       ------------------------------------ */
    .main-menu {
        vertical-align: middle;
        overflow: auto;
        transform: translateX(-105%);
        top: 0;
        left: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        position: fixed;
        background-color: #fff;
        z-index: 9999991;
        transition: transform 0.3s ease-in-out;
    }

    .main-menu.show {
        transform: translateX(0);
    }

    /* ------------------------------------
       Заголовок/шапка внутри меню
    ------------------------------------ */
    #header_menu {
        text-align: center;
        padding: 15px 15px 10px 15px;
        position: relative;
        display: block;
        border-bottom: 1px solid #ddd;
    }

    #header_menu img {
        height: 60px;
    }

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

    .main-menu ul li {
        background-color: var(--primary-color);
        position: relative;
        border-bottom: 2px solid var(--card-bg);
    }

    .main-menu ul li a {
        display: block;
        font-weight: bolder;
        font-size: 1.6em;
        padding: 10px 15px;
        color: var(--card-bg);
    }

    /* Top-level headers (TOURS, ARTICLES) */
    .main-menu>ul>li>a.show-submenu {
        position: relative;
        background: #e56a55;
        color: #fff !important;
        padding: 14px 56px 14px 20px;
        min-height: 52px;
        display: flex;
        align-items: center;
        font-size: 1.5em;
        letter-spacing: 0.5px;
        transition: background-color 0.2s ease;
    }

    .main-menu>ul>li>a.show-submenu:active {
        background: #d45a45;
    }

    .main-menu>ul>li>a.show-submenu::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        width: 11px;
        height: 11px;
        border-right: 3px solid currentColor;
        border-bottom: 3px solid currentColor;
        transform: translateY(-60%) rotate(45deg);
        opacity: .95;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    }

    .main-menu>ul>li>a.show-submenu[aria-expanded="true"]::after {
        transform: translateY(-40%) rotate(-135deg);
        opacity: 1;
    }

    /* Hover + Focus */
    .main-menu ul li a:hover,
    .main-menu ul li a:focus {
        color: var(--card-bg) !important;
        background-color: var(--secondary-color);
        text-align: center;
    }

    /* ------------------------------------
       Субменю (2-й уровень) - по умолчанию скрыто
    ------------------------------------ */
    .main-menu ul ul {
        background: #f7f8fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-menu ul ul.show_normal {
        max-height: 1000px;
    }

    .main-menu ul ul li {
        border: 0;
        background-color: #f7f8fa;
    }

    .main-menu ul ul li a {
        font-size: 1.15em;
        font-weight: 600;
        color: var(--primary-color);
        padding: 14px 20px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background-color 0.2s ease, padding-left 0.2s ease;
    }

    /* ------------------------------------
       3-й уровень
    ------------------------------------ */
    .main-menu ul ul ul {
        background-color: var(--card-bg);
    }

    .main-menu ul ul ul li a {
        text-transform: uppercase;
        font-size: 1.1em;
        padding: 8px 30px;
        color: var(--secondary-color);
        /*font-weight: bolder;*/
    }

    .main-menu ul ul ul ul li a {
        text-transform: uppercase;
        font-weight: bolder;
        font-size: 1em;
        padding: 4px 0 4px 20px;
        margin: 0 20px 0 20px;
        color: var(--primary-color);
        border-bottom: 1px solid var(--primary-color);
    }

    .main-menu ul ul ul ul li i {
        margin: 0;
        padding: 0;
        vertical-align: middle;
        float: right;
    }

    /* ------------------------------------
       Иконка раскрытия справа
    ------------------------------------ */
    .main-menu ul>li i {
        padding: 0;
        vertical-align: middle;
        float: right;
        margin: 0;
    }

    /* --- Mobile submenu UI/UX improvements --- */
    /* Hide toggle buttons (we tap titles directly) */
    .main-menu .toggle-submenu {
        display: none !important;
    }

    /* Add chevron for second-level titles (countries) */
    .main-menu ul ul>li>a.show-submenu {
        position: relative;
        padding-right: 50px;
        font-weight: 700;
    }

    .main-menu ul ul>li>a.show-submenu::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        width: 9px;
        height: 9px;
        border-right: 2.5px solid currentColor;
        border-bottom: 2.5px solid currentColor;
        transform: translateY(-60%) rotate(45deg);
        opacity: 0.85;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    }

    /* Rotate chevron when expanded */
    .main-menu ul ul>li>a.show-submenu[aria-expanded="true"]::after {
        transform: translateY(-40%) rotate(-135deg);
        opacity: 1;
    }

    /* Item states - smooth hover/focus */
    .main-menu ul ul li a:hover,
    .main-menu ul ul li a:focus {
        color: var(--primary-color) !important;
        background-color: #e8ecf1;
        padding-left: 24px;
    }

    /* Third-level cities - cleaner look */
    .main-menu ul ul ul li a {
        font-size: 1.05em;
        font-weight: 500;
        padding: 12px 20px 12px 32px;
        color: var(--secondary-color);
        text-transform: none;
        min-height: 44px;
    }

    .main-menu ul ul ul li a:hover,
    .main-menu ul ul ul li a:focus {
        background-color: #fff;
        padding-left: 36px;
    }

    /* Special styling for "ALL TOURS/ARTICLES IN COUNTRY" links */
    .main-menu ul ul ul li.all-tours-link a,
    .main-menu ul ul ul li.all-articles-link a {
        font-weight: 700;
        color: var(--primary-color);
        background-color: #fff;
        border-bottom: 2px solid var(--secondary-color);
        font-size: 1.1em;
        padding: 14px 20px 14px 32px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .main-menu ul ul ul li.all-tours-link a:hover,
    .main-menu ul ul ul li.all-articles-link a:hover,
    .main-menu ul ul ul li.all-tours-link a:focus,
    .main-menu ul ul ul li.all-articles-link a:focus {
        background-color: #fffbf0;
        padding-left: 36px;
        color: var(--secondary-color);
    }

    /* Dividers between items */
    .main-menu ul ul>li {
        border-bottom: 1px solid #e3e8ed;
    }

    .main-menu ul ul>li:last-child {
        border-bottom: 0;
    }

    /* Nested cities dividers */
    .main-menu ul ul ul>li {
        border-bottom: 1px solid #f0f2f5;
    }

    .main-menu ul ul ul>li:last-child {
        border-bottom: 0;
    }

    /* ------------------------------------
       Кнопки "Закрыть" и "Гамбургер"
    ------------------------------------ */
    .open_close {
        display: inline-block;
        text-decoration: none;
    }

    .open_close .close-button {
        color: var(--secondary-color);

    }

    /* Bigger close icon inside panel */
    #header_menu #close_in i {
        font-size: 34px;
        line-height: 1;
        color: var(--secondary-color);
    }

    .cmn-toggle-switch {
        display: block;
        position: absolute;
        bottom: -2px;
        right: 9px;
        width: 50px;
        height: 50px;
        cursor: pointer;
        z-index: 100;
    }

    .cmn-toggle-switch:focus {
        outline: none;
    }

    /* Switch to font icon instead of span bars on mobile */
    .cmn-toggle-switch i {
        display: inline-block;
        font-size: 47px;
        color: var(--primary-color);
    }

    /* Различные header-варианты */
    /* Remove legacy bar styling when using icon */
    header#plain .cmn-toggle-switch span,
    .cmn-toggle-switch span,
    .cmn-toggle-switch span::before,
    .cmn-toggle-switch span::after {
        display: none;
    }

    /* Анимация при active (иконка превращается в крестик) */
    .cmn-toggle-switch__htx span::before,
    .cmn-toggle-switch__htx span::after {
        transition: 0.3s;
    }

    /* Active state handled by JS swapping icon classes */

    /* Общий стиль для кнопок-иконок раскрытия подменю */
    .toggle-submenu {
        background: none;
        /* убираем фон */
        border: none;
        /* убираем рамку */
        cursor: pointer;
        /* делаем курсор "указатель" */
        padding: 0;
        /* убираем отступы */
        margin-left: 0.5em;
        /* небольшой отступ слева от текста */
        font-size: 1em;
        /* размер шрифта - «по умолчанию» */
        line-height: 1;
        display: inline-flex;
        /* чтобы иконка была на одной линии со ссылкой */
        align-items: center;
        color: inherit;
        /* чтобы иконка автоматически принимала цвет родителя */
    }

    .main-menu ul ul button {
        display: inline-block;
        float: right;
        font-size: 1.2em;
        align-content: center;
        align-items: center;
        vertical-align: middle;
    }

    /* Hide legacy toggle buttons (we toggle by tapping the title) */
    .main-menu .toggle-submenu {
        display: none !important;
    }

    .main-menu ul ul button:focus {
        border: 0;
    }

    /* Стили для самой иконки внутри кнопки */
    .toggle-submenu i {
        display: inline-block;
        color: var(--primary-color);
    }

    /* При наведении/фокусе можно сделать лёгкий эффект */
    .toggle-submenu:focus i {
        border: none;
        color: var(--card-bg);
    }

    /* Блок, содержащий элементы пользователя/логина  и форм
    смены валюты и языка в мобильном меню */
    .mobile-user-block {
        width: 100%;
        position: inherit;
        padding: 5px 0 10px 0;
        background-color: var(--card-bg);
    }

    /* Общий контейнер для ссылок авторизованного пользователя */
    .mobile-user-links {
        padding: 10px;
        margin: 0;
        text-align: center;
    }

    .mobile-user-links a {
        border: 1px solid var(--secondary-color);
        background-color: var(--secondary-color);
        border-radius: 4px;
        display: block;
        padding: 5px 15px;
        margin: 5px;
        font-size: 1.2em;
        color: var(--card-bg);
        text-transform: uppercase;
        text-decoration: none;
        font-weight: bolder;
    }

    .mobile-user-links a:hover {
        border: 1px solid var(--card-bg);
        background-color: var(--primary-color);
        border-radius: 4px;
        display: block;
        padding: 5px 15px;
        margin: 5px;
        font-size: 1.2em;
        color: var(--card-bg);
        text-transform: uppercase;
        text-decoration: none;
        font-weight: bolder;
    }

    /* Иконки плюс текст */
    .mobile-user-links a i {
        /*margin-right: 8px;*/
        font-size: 1.1em;
    }

    .mobile-cart-link a.cart_bt {
        display: inline-block;
        position: relative;
        font-size: 1.2em;
        text-decoration: none;
        color: var(--primary-color);
    }

    /* Счётчик items */
    .mobile-cart-link a.cart_bt strong {
        position: absolute;
        top: -8px;
        right: -10px;
        font-size: 0.8em;
        background-color: var(--secondary-color);
        color: #fff;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        text-align: center;
        line-height: 20px;
    }

    /* Блок с формами языка и валюты */
    .mobile-lang-currency-forms {
        padding: 10px;
        text-align: center;
        border: 1px solid var(--secondary-color);
        border-radius: 5px;
        margin: 10px;
    }

    /* Немного общее оформление для <form.form-top> внутри мобильного меню */
    .mobile-user-block .form-top {
        width: 47%;
        display: inline-block;
        margin: 0;
        padding: 0;
    }

    .mobile-user-block .form-top :after {
        content: "";
        display: block;
        clear: both;
        color: var(--card-bg);
    }

    /* Стили для <select> можно подправить под мобильный вид */
    .mobile-user-block select {
        width: 100%;
        padding: 2px;
        background-color: var(--secondary-color);
        color: var(--card-bg);
        font-size: 1.2em;
        font-weight: bolder;
        text-align: center;
        border-radius: 5px;
        margin-top: 5px;
        border: none;
    }

    /*  Login button if not authenticated */
    .mobile-login-link {
        display: block;
        text-align: center;
        align-items: center;
        align-content: center;
        width: 100%;
    }

    .mobile-login-link button {

        display: inline;
        font-size: 1.2em;
        font-weight: bolder;
        color: var(--card-bg);
        background-color: var(--secondary-color);
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
        text-transform: uppercase;
        padding: 10px 20px;
        margin: 25px 15px;
        letter-spacing: 3px;
    }

    .mobile-login-link button:hover {
        background-color: #03516b;
        color: var(--card-bg);
    }

    .mobile-login-h {
        border-top: 1px solid var(--secondary-color);
        text-align: center;
        font-size: 1.2em;
        color: var(--secondary-color);
        text-transform: uppercase;
        padding: 5px 15px;
        margin: 5px 15px 0 15px;
        font-weight: bold;
    }
}

/* Reset default button styles for header toggle/close buttons */
.cmn-toggle-switch.open_close,
#header_menu #close_in {
    background: none;
    border: 0;
    padding: 0;
    float: right;
}


/* PRICE LIST COUNTRY MAIN PAGE */
.price-list-container {
    padding: 30px 0;
    background-color: var(--light-bg);
}

.price-list-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
}

.price-container {
    max-width: 1200px;
    margin: 0;
    padding: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: var(--text-primary);
}

/* Navigation */
.category-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 20px 0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.category-nav::-webkit-scrollbar {
    height: 8px;
    margin-top: 10px;
}

.category-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.category-nav::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-btn {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

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

.category-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 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 15px !important;
}

.price-list-section .sort-label {
    font-size: 16px !important;
    color: #333 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.price-list-section .sort-select,
.price-list-section #tour-sort {
    padding: 2px 45px 2px 18px !important;
    background-color: #ffffff !important;
    border: 2px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333 !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: #2a5db0 !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: #2a5db0 !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: #ffffff !important;
    color: #333 !important;
}

.price-list-section .sort-select option:checked,
.price-list-section #tour-sort option:checked {
    background-color: #2a5db0 !important;
    color: white !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 #ddd !important;
    border-radius: 10px !important;
    background-color: white !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 40px;
    align-items: center;
    padding: 9px 20px;
    cursor: pointer;
    gap: 15px;
}

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

.tour-days {
    font-size: 1em;
    color: var(--dark-grey);
}

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

.accordion-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accordion-toggle svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

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

/* Контент аккордеона */
.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);
    white-space: nowrap;
    font-size: 1.1em;
    font-weight: bold;
}

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

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

/* Примечание */
.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-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;
    }

    .accordion-toggle {
        grid-row: 1;
        grid-column: 4;
    }
}

@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 accordion mobile layout - title/days left, price right, toggle far right */
    .price-list-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 {
        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;
    }

    .price-list-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 {
        order: 3;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-color);
        white-space: nowrap;
        margin-left: auto;
    }

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

    /* Toggle button positioned absolutely on right edge */
    .price-list-section .accordion-toggle {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        padding: 0;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .price-list-section .accordion-toggle .icon-arrow {
        width: 20px;
        height: 20px;
        fill: var(--dark-grey);
        transition: transform 0.2s ease;
    }

    .price-list-section .accordion-item.active .accordion-toggle .icon-arrow {
        transform: 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;
    }

    .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 {
        padding-right: 38px;
        gap: 3px;
    }

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

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

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

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

    .price-list-section .accordion-toggle .icon-arrow {
        width: 16px;
        height: 16px;
    }

    .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: #333 !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 #ccc !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;
        white-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: white;
    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: 80px;
    height: 80px;
    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(--danger-color);
    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);

}

/* ====================================
   MODERN DROPDOWN MENUS - USER & CART
   ==================================== */

/* Common dropdown styling */
.dropdown-user,
.dropdown-cart {
    position: relative;
}

/* Toggle links styling */
.user-link,
.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.user-link:hover,
.cart-link:hover {
    background-color: rgba(255, 107, 97, 0.1);
    color: var(--primary-color);
}

.user-link i,
.cart-link i {
    font-size: 1em;
}

/* Cart counter badge */
.cart-link .cart-count {
    position: absolute;
    top: 45px;
    right: -3px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transform: translate(25%, -25%);
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cart-link:hover .cart-count {
    transform: translate(25%, -25%) scale(1.9);
    z-index: 5000;
}

/* Common dropdown menu styles */
.dropdown-menu.user-dropdown-menu,
.dropdown-menu.cart-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 90%;
    min-width: 200px;
    background: var(--card-bg);
    border-radius: 7px;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0;
    overflow: hidden;
    border: none;
    margin-top: 2px;
    transform-origin: top right;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e1e1e1 transparent;
}

.dropdown-menu.user-dropdown-menu::-webkit-scrollbar,
.dropdown-menu.cart-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu.user-dropdown-menu::-webkit-scrollbar-track,
.dropdown-menu.cart-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-menu.user-dropdown-menu::-webkit-scrollbar-thumb,
.dropdown-menu.cart-dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #e1e1e1;
    border-radius: 20px;
}

/* Active dropdown state */
.dropdown-menu.user-dropdown-menu.show,
.dropdown-menu.cart-dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Dropdown menu arrow indicator */
.dropdown-menu.user-dropdown-menu::before,
.dropdown-menu.cart-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 18px;
    width: 16px;
    height: 16px;
    background: transparent;
    transform: rotate(45deg);
    border-radius: 3px;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.04);
    z-index: -1;
}

/* Dropdown menu items - общие стили */
.dropdown-menu.user-dropdown-menu li,
.dropdown-menu.cart-dropdown-menu li {
    width: 100%;
    color: var(--secondary-color);
    font-weight: bold;
    transition: all 0.25s ease;
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    border-bottom: 1px solid var(--primary-color);
}

.dropdown-menu.user-dropdown-menu li:last-child,
.dropdown-menu.cart-dropdown-menu li:last-child {
    border-bottom: 0;
}

/* Специфичные стили для меню пользователя */
.dropdown-menu.user-dropdown-menu {
    min-width: 180px;
    background-color: var(--card-bg) !important;
}

.dropdown-menu.user-dropdown-menu li a {
    padding: 20px 0 5px 5px;
    display: flex;
    align-items: center;
    vertical-align: center;
    text-decoration: none !important;
    font-size: 0.9em;
    color: var(--secondary-color) !important;
    width: 100%;
}

.dropdown-menu.user-dropdown-menu li:hover {
    background-color: var(--secondary-color);
}

.dropdown-menu.user-dropdown-menu li:hover a,
.dropdown-menu.user-dropdown-menu li:hover a i {
    color: white !important;
}

.dropdown-menu.user-dropdown-menu li a i {
    margin: 0 10px 0 0;
    color: var(--secondary-color);
}

/* Специфичные стили для меню корзины */
.dropdown-menu.cart-dropdown-menu {
    min-width: 300px;
    background-color: var(--card-bg) !important;
}

.dropdown-menu.cart-dropdown-menu li:hover {
    background-color: #f9f7f5
}

.cart-item-wrapper {
    display: flex;
    align-items: center;
    padding: 0;
}

.dropdown-menu.cart-dropdown-menu .item-image {
    width: 65px;
    height: 50px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 5px;
    margin-left: 0;
    box-shadow: 5px 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.item-details {
    display: block;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.item-details h6 {
    width: 100%;
    display: block;
    margin: 0;
    float: left;
    font-size: 1em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.item-details h6 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.item-price {
    display: block;
    font-weight: bold;
    width: 100%;
    float: left;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1em;
}

.item-date {
    display: block;
    color: var(--secondary-color);
}

.item-date i {
    font-size: 0.8em;
}

.item-actions {
    margin-right: 5px;
    display: flex;
    margin-left: auto;
    float: right;
    align-items: center;
    font-size: 0.8em;
}

.item-actions i {
    font-size: 0.8em;
}

.remove-item {
    color: #ccc;
    font-size: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: transparent;
}

/* Cart total and actions */
.cart-total {
    padding: 16px 20px;
    margin: 10px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.cart-total-price {
    color: var(--secondary-color);
    font-weight: bolder;
    font-size: 1em;
}

.btn_cart {
    /*background-color: var(--secondary-color);*/
    display: inline-block;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    width: 49%;
}

.btn_cart a:hover {
    background-color: var(--primary-color);
    color: var(--card-bg);
}

.cart-actions {
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    color: var(--card-bg);
}

.cart-actions .btn_cart {
    flex: 1;
    text-align: center;
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Empty cart state */
.empty-cart {
    padding: 40px 20px;
    text-align: center;
}

.empty-cart p {
    color: #777;
    margin-bottom: 20px;
    font-size: 15px;
}

.empty-cart .btn_1 {
    margin: 0 auto;
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
}

/* Mobile adjustments */
@media (max-width: 767px) {

    .dropdown-menu.user-dropdown-menu,
    .dropdown-menu.cart-dropdown-menu {
        position: fixed;
        top: 60px;
        right: 10px;
        left: auto;
        transform-origin: top right;
        max-width: calc(100vw - 20px);
        max-height: 70vh;
    }

    .dropdown-menu.user-dropdown-menu::before,
    .dropdown-menu.cart-dropdown-menu::before {
        right: 12px;
    }

    .user-link span {
        display: none;
    }

    .item-image {
        width: 55px;
        height: 45px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .remove-item {
        width: 36px;
        height: 36px;
    }
}

/* Add animation for items being added/removed from cart */
@keyframes cartItemAdded {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cartItemRemoved {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(30px);
        opacity: 0;
    }
}

.cart-item-added {
    animation: cartItemAdded 0.4s ease forwards;
}

.cart-item-removing {
    animation: cartItemRemoved 0.3s ease forwards;
}

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

/* Focus styles for keyboard navigation */
.dropdown-item:focus-visible,
.cart-link:focus-visible,
.user-link:focus-visible {
    outline: 2px solid rgba(231, 76, 60, 0.5);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.25);
}

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

/* Empty cart icon styling */
.empty-cart-icon {
    font-size: 40px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-cart-icon i {
    animation: float 3s ease-in-out infinite;
}

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

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

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

/* Cart item container */
.cart-dropdown-menu .cart-item {
    position: relative;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.cart-dropdown-menu .cart-item:hover {
    background-color: rgba(249, 247, 245, 0.8);
}

.cart-dropdown-menu .cart-item:last-child {
    border-bottom: none;
}

/* Cart item wrapper */
.cart-dropdown-menu .cart-item-wrapper {
    display: flex;
    align-items: center;
    padding: 5px 0;
    gap: 5px;
}

/* Cart item image */
.cart-dropdown-menu .item-image {
    flex-shrink: 0;
    width: 65px;
    height: 50px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cart-dropdown-menu .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cart item details */
.cart-dropdown-menu .item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-dropdown-menu .item-details h6 {
    margin: 0;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: initial;
}

.cart-dropdown-menu .item-details h6 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-dropdown-menu .item-details h6 a:hover {
    color: var(--primary-color);
}

.cart-dropdown-menu .item-price {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1em;
    margin-bottom: 0;
}

.cart-dropdown-menu .item-date {
    color: var(--dark-grey);
    font-size: 1em;
    margin: 0;
}

/* Cart item actions */
.cart-dropdown-menu .item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-dropdown-menu .remove-item {
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.2s ease;
    padding: 6px;
    border-radius: 50%;
    background-color: transparent;
}

.cart-dropdown-menu .remove-item:hover {
    color: var(--danger-color);
    background-color: rgba(231, 76, 60, 0.1);
}

/* Cart total section */
.cart-dropdown-menu .cart-total {
    padding: 16px 20px;
    background-color: rgba(248, 249, 250, 0.8);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cart-dropdown-menu .cart-total-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1em;
}

/* Cart actions */
.cart-dropdown-menu .cart-actions {
    padding: 16px 20px;
    display: flex;
    gap: 12px;
}

.cart-dropdown-menu .btn_cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--card-bg);
    background-color: var(--secondary-color);
    border: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cart-dropdown-menu .btn_cart:hover {
    background-color: var(--primary-color);
    color: var(--card-bg);
    transform: translateY(-1px);
}

/* Empty cart state */
.cart-dropdown-menu .empty-cart {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-primary);
}

.cart-dropdown-menu .empty-cart-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* 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: #2a5db0;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    margin: 2px;
    font-size: 12px;
}

/* Mobile adjustments */
@media (max-width: 767px) {



    .cart-dropdown-menu .cart-item-wrapper {
        padding: 8px 12px;
    }

    .cart-dropdown-menu .item-image {
        width: 55px;
        height: 45px;
    }

    .cart-dropdown-menu .cart-actions {
        flex-direction: column;
    }

    .cart-dropdown-menu .btn_cart {
        width: 100%;
    }

    .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: #fff;
    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;
    width: 100% !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    transition: all 0.3s ease;
    /*padding: 0 60px 10px 15px !important; !* Добавлено пространство для кнопки *!*/
    box-sizing: border-box !important;
}

.new-search-input:focus {
    border-color: var(--primary-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: white;
    padding: 8px 15px;
    margin: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 17px;
}

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

.new-search-button:hover {
    background: #f35249;
}

.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 {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 1em;
    background: transparent;
    font-weight: bold;
    color: #25546a;
}

.new-search-input::placeholder {
    color: #25546a;
    font-weight: normal;
}

.new-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    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: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-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;
    }
}

/* ========================================
   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: #fff;
    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: #333;
    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: #fff;
    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-rgb), 0.1);
}

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

.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 #ddd;
    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 #eee;
    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: #1d1b1b;
    line-height: 1.2;
}

.aside-booking-form__ticket-req {
    font-size: 0.7em;
    color: #666;
    line-height: 1.2;
}

.aside-booking-form__ticket-desc {
    font-size: 0.7em;
    color: #666;
    line-height: 1.2;
}

.aside-booking-form__ticket-price {
    font-size: 1em;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    white-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;
    white-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 #ccc;
    border-radius: 50%;
    background: #fff;
    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-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;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Tour Variations */
.aside-booking-form__variations {
    border-top: 1px dashed #ddd;
    padding-top: 8px;
}

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

/* Tour Options */
.aside-booking-form__options {
    border-top: 1px dashed #ddd;
    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: #666;
    line-height: 1.2;
}

.aside-booking-form__option-price {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    white-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;
    white-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: #ccc;
    transition: 0.3s;
    border-radius: 20px;
}

.aside-booking-form__slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    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: #f8f8f8;
    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: #666;
    margin-bottom: 8px;
}

/* Contact Form */
.aside-booking-form__contacts {
    margin-top: 12px;
    border-top: 1px dashed #ddd;
    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(--link-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: #333;
    margin-bottom: 3px;
}

.aside-booking-form__input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    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-rgb), 0.1);
}

.aside-booking-form__input.is-invalid {
    border-color: #dc3545;
}

.aside-booking-form__hint {
    display: block;
    font-size: 0.7em;
    color: #595959;
    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: #333;
    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 {
    border-color: var(--success-color);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(var(--success-color-rgb), 0.2);
}

.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: #666;
    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: #fff;
}

.aside-booking-form__cart-btn:hover {
    background: var(--primary-color-hover, #a85a46);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aside-booking-form__submit-btn {
    background: var(--deep-green);
    color: #fff;
}

.aside-booking-form__submit-btn:hover {
    background: #0d3d3e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aside-booking-form__cart-btn:active,
.aside-booking-form__submit-btn:active {
    transform: translateY(0);
}

.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: #595959;
    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: #1B5E20;
    padding: 6px;
    background: #e8f5e9;
    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: #f0f0f0;
    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: #fff;
    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: #666;
    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: #fff;
    color: #666;
    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: #fff;
    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, #28a745 0%, #20c997 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: #fff;
}

.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: #555;
    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 #ffc107;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
}

.cart-confirmation-modal__notice i {
    font-size: 1.3rem;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-confirmation-modal__notice p {
    font-size: 0.9rem;
    color: #92400e;
    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: #fff;
    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 #e0e0e0;
}

.cart-confirmation-modal__btn--secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* 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: #333;
    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 #ddd;
    border-radius: 6px;
    font-size: 0.95em;
    background: #fff;
    color: #333;
    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-rgb), 0.1);
}

.edit-profile-form__input::placeholder {
    color: #999;
}

.edit-profile-form__input.is-invalid {
    border-color: #dc3545;
}

/* 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: #333;
    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: #f5f5f5;
}

.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 {
    border-color: var(--success-color, #4CAF50);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    background: #fff;
}

.edit-profile-form__messenger-icon:hover .edit-profile-form__messenger-img {
    opacity: 0.8;
    background: #fff;
}

/* 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, #164849);
    color: #fff;
    transition: all 0.3s ease;
}

.edit-profile-form__submit-btn:hover {
    background: #0d3d3e;
    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: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 15px;
}

.edit-profile-form__error {
    color: #dc2626;
    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: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.edit-profile-form__field-error {
    display: block;
    color: #dc2626;
    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: #f5f5f5;
    border-right: 1px solid #ddd;
}

.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: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    color: #666;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    /*border-bottom: 3px solid transparent;*/
    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: #e8e8e8;
    color: #333;
}

.booking-tab.active {
    background: var(--primary-color);
    color: #fff;
    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 #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    min-height: 45px;
    font-size: 1em;
    font-weight: 500;
    color: #333;
}

.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: #333;
    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: #999;
    font-weight: 400;
}

.private-date-pick:hover,
.private-time-pick:hover {
    border-color: var(--primary-color);
    background: #f9f9f9;
}

.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: #fff;
}

.private-time-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    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: #f0f0f0;
}

.private-time-option.active {
    background: var(--secondary-color);
    color: #fff;
    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;
    }
}