/*
Theme Name: Flatsome Child
Description: Child theme Flatsome cho website Du Lịch Vàng: hệ thống tour trên WooCommerce
Author: UX Themes
Template: flatsome
Version: 1.28.1
*/

/*************** WEBSITE GENERAL STYLES ***************/

.nav-pagination>li>a,
.nav-pagination>li>span {
    border-radius: 5px;
    border: 1px solid;
}

.ux-menu-link--active .ux-menu-link__link,
.ux-menu-link:hover .ux-menu-link__link {
    color: black;
}

.ux-menu-link__link {
    color: black;
}

.nav-dropdown h3 {
    font-size: 25px;
    color: var(--primary-color);
}

.nav-dropdown img,
.nav-dropdown .box-image {
    border-radius: 20px;
}

div.nav-dropdown {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.related-post .box-text {
    padding-left: 0px;
    padding-right: 0px;
}

.related-post .post-item h5.post-title {
    font-size: 21px;
    border-bottom: unset;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.blog-archive .post-item .col-inner .box-text {
    padding: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

.blog-archive .post-item .col-inner {
    background-color: #fff;
    border-radius: 1rem;

}

.post-item .cat-label {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    padding: 0.1875rem 0.875rem;
    text-decoration: none;
    border-radius: 6.25rem;
    background: #0071bb33;
    opacity: 1;
    color: var(--primary-color);
    text-transform: initial;
    font-size: 15px;
}

h1.product-title,
h1.entry-title {
    color: var(--primary-color);

}

.post-sidebar aside {
    border: 1px solid #e6e6e6;
    padding: 20px;
    border-radius: 10px;
}

.header.transparent a span {
    color: white !important;
}

.nav-column>li>a,
.nav-dropdown>li>a,
.nav-vertical-fly-out>li>a,
.nav>li>a {
    color: black;
}

#search-lightbox .ux-search-submit {
    border-radius: 99px !important;
    font-size: 20px;
    background: var(--primary-color);
    padding: 10px 35px;
    min-height: 50px;
    font-weight: normal;
}

select.search_categories {
    min-width: 150px;
    border: unset !important;
    border-radius: 99px;
}

.mfp-bg.mfp-ready {
    opacity: .8;
}

/* CSS cho dấu X */

/* CSS cho row từ khóa - mặc định ẩn */

/* CSS cho row tìm kiếm - mặc định ẩn */

#search-lightbox {
    min-width: 800px;
}

#search-lightbox .searchform {

    background: white;
    padding: 6px 6px;
    border-radius: 99px;
}

#search-lightbox .search-field {
    font-size: 20px;
    min-height: 40px;
    border: unset !important;
    box-shadow: unset !important;
}

h5.mt {
    text-transform: initial;
}

section.woocommerce-customer-details {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 15px
}

.is-well {
    padding-top: 30px !important;
    border: 1px solid #d7cece;
    border-radius: 1em;
    box-shadow: none;
}

#footer li {
    list-style-type: disc;
}

#footer ul li::marker {
    color: var(--primary-color) !important;
}

#footer ul li {
    border-top: none;
}

#shop-sidebar {
    border: 1px solid #e6e6e6;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.blog-archive {
    padding-top: 0px;
}

span.amount {
    white-space: nowrap;

    font-weight: bold;
}

.col-divided {
    border-right: unset;
}

.page-left-sidebar .large-3 {
    padding-right: 0px !important;
}

.page-left-sidebar #secondary aside {
    border: 1px solid #e6e6e6;
    padding: 20px;
    border-radius: 10px;
}

.blog-archive .post-item .box {
    padding-bottom: 10px;

}

.blog-archive .post-item {
    padding-bottom: 28px;
}

.nav-dropdown-default {
    padding: 8px;
    min-width: 250px;
}

.flickity-prev-next-button {
    opacity: 1 !important;
}

h5.mt.description {
    font-size: 28px;
    color: #231F20;
    margin-top: 0px;

}

.about-text p {
    margin-bottom: 0px;
}

.about-text {
    background: #e6572517;
    padding: 20px;
    border-radius: 10px;
    font-size: 17px;
}

.shop_table thead th,
.shop_table .order-total td,
.shop_table .order-total th {
    border-width: 1px;
}

.stars a:hover:after,
.stars a.active:after {
    color: #ffd938;
}

#respond span#reply-title {
    display: none;
}

.header-main .header-search a.icon {
    height: 40px !important;
    width: 40px !important;
    line-height: 42px !important;
    font-size: 18px;
}

.wpcf7-spinner {
    display: none;
}

.wc-item-meta li p {
    display: inline-block;
}

.woocommerce-checkout-review-order-table thead {
    display: none !important;
}

.slide-cam-nhan .flickity-page-dots {
    bottom: -46px;
}

.slide-cam-nhan .img img {
    border-radius: 20px;
}

.slide-cam-nhan .icon-box .icon-box-text h3,
.slide-cam-nhan .icon-box .icon-box-text p,
.slide-cam-nhan .icon-box .icon-box-text a {
    color: white;
}

.slide-cam-nhan .dot {
    background: black;
    border-color: black !important;
}

.slide-cam-nhan .dot.is-selected {
    border-color: var(--primary-color) !important;
    width: 50px;
    border-radius: 8px;
    background: var(--primary-color) !important;
}

.slide-cam-nhan .img .img-inner {
    border-radius: 20px !important;
}

.slide-cam-nhan .img .img-inner:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 224px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.80) 75.5%);
    pointer-events: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.slide-cam-nhan .icon-box .icon-box-text img {
    margin-bottom: 0px;
}

.home .flickity-prev-next-button .arrow,
.home .flickity-prev-next-button svg {
    fill: white;
    border-color: white;
}

.product-small.box-overlay .box-text {
    text-align: left;
}

.product-small.box-overlay .price-wrapper {

    height: 55px !important;
}

.product-small.box-overlay .box-text {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.80) 75.5%);
}

.product-small.box-overlay .price-wrapper span.amount {
    color: white;
}

.mfp-close {
    mix-blend-mode: unset;
}

#dat-tour {
    border-radius: 15px;
}

.header-bottom-nav>li {
    margin: 0px !important;
}

.header-bottom-nav>li>a {
    padding: 8px 25px;
}

.header-bottom-nav>li>a {
    line-height: 25px !important;
}

.header-bottom-nav>li:hover>a,
.header-bottom-nav>li.current-menu-item>a {
    background: #222222;
}

.woocommerce-breadcrumb {
    text-transform: initial;
}

.product-page-sections .entry-content {
    padding-bottom: 0px;
}

aside .is-divider {
    display: none;
}

h4.title-sub {
    font-size: 22px;
    font-family: "satisfy" !important;
    color: var(--primary-color) !important;
    margin: 0;
    margin-bottom: 10px;
    font-weight: 500;
}

.title-home {
    color: var(--primary-color);
    font-size: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-small span.amount {
    font-weight: normal;
}

#main .buttons_added .minus,
#main .buttons_added .plus {
    background: transparent;
    width: 30px;
    height: 30px;
    min-height: unset;
    border-radius: 99% !important;
    line-height: 30px;
    border: 1px solid !important;
}

#main .buttons_added .input-text {
    border: none;
    box-shadow: none;
    background: transparent;
    transition: unset;
    line-height: 30px !important;
    min-height: unset !important;
    height: 30px;
}

.related-products-wrapper {
    padding-top: 20px;
}

.product-section {

    border-top: none;
}

/* 
form.cart {
    display: none;
} */

.div-thoi-gian {
    margin-top: -45px;
    padding: 3px 5px;
    position: absolute;
    background: white;
    border: 1px solid var(--fs-color-primary);
    border-radius: 5px;
    z-index: 999;
}

.div-thoi-gian p {
    margin: 0;
    color: var(--fs-color-primary);
    font-size: 1em;
}

.product-small .star-rating span:before,
.product-small .star-rating,
.product-small .star-rating:before {
    color: #FDB816 !important;

    font-size: 14px;

    margin-bottom: 0px;
}

#footer .social-icons a {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

a.back-to-top {
    border-radius: 4px !important;
}

.section-title i {
    opacity: 1;
}

i.fa {
    padding-right: 3px;
}

h3.title-home {
    text-transform: uppercase;
    font-size: 30px;
    color: #f99b1c;
    font-weight: 400;
    text-align: center;
}

.entry-content {
    padding-top: 0px;
}

.lightbox-by-id {
    padding: 10px;
}

.related h3.product-section-title {
    text-transform: initial;
    margin-left: 0px;
    font-size: 26px;
}

.footer .widget-title {
    display: block;
    font-size: 19px;
    color: #faab3b;
    margin-bottom: 15px;
    text-transform: none;
}

.footer ul {
    margin-left: 15px;
}

.footer .is-divider {
    display: none;
}

.tour,
.tour .row {
    margin-left: 0px !important;
    margin-right: 0px !important
}

.stars a {
    font-family: 'fl-icons' !important;
}

.product-small .box-text .product-title {
    min-height: 40px;
    font-weight: bold
}

.woocommerce-tabs .tab-panels {
    border: 1px solid #ddd;
    padding: 15px;
}

.product-small .box-text {
    padding: 10px 20px 20px 20px;
}

/*Menu */




/*end Menu*/
.category_box ul li::before {
    font-family: FontAwesome;
    content: "\f041";
    padding-right: 5px;
    color: #1D9E74;

}

.product_list_widget .star-rating {
    display: none;
}

#secondary .widget-title {
    font-size: 22px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-transform: inherit;
    display: block;
    font-weight: bold !important;
    color: var(--primary-color);
}

.post-item a.button {

    text-transform: initial;
    font-size: 14px;
}

.post-item a.button:after {
    font-family: FontAwesome;
    content: "\f061";
    padding-right: 5px;

}

.post-item .is-divider {
    display: none;
}

.back-to-top {
    bottom: 57px !important
}

#footer h3 {
    font-size: 20px;
}

#footer .icon-box.text-left {
    align-items: center;
    margin-bottom: 8px;
}

.absolute-footer .container {
    padding-top: 20px;

}

.absolute-footer p {

    margin-bottom: 0px;
}

input:hover,
textarea:hover,
select:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}

p.form-row-first,
p.form-row-last {
    width: 100%;
    float: left;
}

.blog-archive .post-item .box-text .post-title {

    font-size: 20px;
}

.box-overlay .box-image {
    border-radius: 20px !important;
}

.box-overlay .box-text {
    border-bottom-right-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

b,
strong {
    font-weight: bold !important;
}

.post-sidebar {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.post-sidebar #text-4 {
    background: #2D9AD9;
    padding: 10px;
}

.post-sidebar #text-4 p {
    color: white !important;
}

span.amount {
    white-space: nowrap;
}

/*CSS Phần Tab chi tiết sản phẩm*/
.product-footer .woocommerce-tabs {
    border-top: none;
}

.nav-line>li>a:before {
    display: none
}

.woocommerce-tabs ul.product-tabs {
    display: none;
}

.tour .gia-giam {
    font-weight: bold;
    color: #00c0c0;
    font-size: 20px;
}

.flex-right ul li a {
    text-transform: initial !important;
    font-size: 17px;
    font-weight: bold;
}

/*Màu sắc button*/
.woocommerce-additional-fields h3 {
    display: none;
}

form.woocommerce-checkout {
    margin-bottom: 0px;
}

.badge-container {
    margin-top: 0px;
}

.badge-container .badge-inner {
    border-radius: 0rem 6.25rem 6.25rem 0rem;
    background: #D7172F;
    width: 3.375rem;
    height: 1.375rem;
    z-index: 10;
    position: absolute;
    left: 0;
    top: 1.6rem;
    color: #FFF;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-left: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.box-image .image-tools.top {
    display: block;
    left: 10px;
    right: unset;

    opacity: 1;
}

.product-small .product-title a {

    font-weight: 600;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-small .price-wrapper {


    min-height: 68px;
}

.product-small .box-text {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.product-small .price-wrapper br {
    display: none;
}

.product-small .price-wrapper ins {
    display: block;
    margin-top: 10px;
}

.product-small .price-wrapper del span.amount {
    color: #404040;
    font-size: 0.875rem;
    font-weight: 400;
}

.product-small .price-wrapper span.amount {
    color: #dc2626;
    font-weight: bold;
    margin-left: 5px;
    font-size: 21px;
}

.product_list_widget ins span.amount {
    color: #dc2626;

}

.product_list_widget del {
    font-size: 15px;
}

.product-small.box {
    box-shadow: 3px 5px 35px rgba(86, 68, 169, .1);
    border-radius: 10px;
    border-radius: 10px;
}

.product-small .box-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.woocommerce-billing-fields {
    padding-top: 0px !important;
    border: none !important;
}

#order_review_heading,
.woocommerce-billing-fields h3 {
    text-align: center;
}

.woocommerce-form-coupon .flex-grow {
    margin-right: 5px;
}

.woocommerce-additional-fields #_place_order {
    background-color: var(--primary-color) !important;
}

.woocommerce-form-coupon input {
    height: 2.3em;
    border: 1px solid #ddd !important;
    line-height: 2.3em;
}

.woocommerce-form-coupon button {
    min-height: 2.3em;
    border: none !important;
    line-height: 2.3em;

}

.post-item .from_the_blog_excerpt {
    font-size: 18px;
}

.post-item h5.post-title a {
    min-height: 54px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-item h5.post-title {
    font-size: 18px;

}

.post-item .box-vertical img,
.post-item .box-vertical .image-cover {
    border-radius: 10px !important;
}

.post-item .col-inner {
    border-radius: 10px;
}

.post-item .col-inner img,
.post-item .box-image .image-cover {
    border-radius: 10px;
}

.post-item .col-inner .box-text {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.post-item .box {
    border-radius: 10px;
}

.woocommerce-checkout-review-order-table {
    font-size: 18px;
    text-align: center;
}

.woocommerce-checkout-review-order-table a {
    color: #138e21;
}

.woocommerce-checkout-review-order-table .variation {
    text-align: left;
}

/*Kết thúc màu sắc*/
input[type=email],
input[type=date],
input[type=search],
input[type=number],
input[type=text],
input[type=tel],
input[type=url],
input[type=password],
textarea,
select,
.select-resize-ghost,
.select2-container .select2-selection {
    -webkit-box-shadow: unset;
    box-shadow: unset;
    -webkit-transition: unset;
}

.woocommerce-checkout .has-border {
    border: 1px solid #ddd !important;
    border-radius: 4px;
}

.woocommerce-breadcrumb a,
.woocommerce-breadcrumb span {
    color: black;
}

.woocommerce-checkout-review-order-table .product-name a {
    color: #D4232B;
}

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    border-bottom: none !important;

}

footer.entry-meta {

    border-top: none !important;
    border-bottom: 1px dashed #ececec !important;

}

.product-section .entry-content img {
    width: auto !important
}

.related-post h3 {
    font-weight: bold;


}

.p-cat {
    font-size: 14px;
}


.row-icon .icon-box h4 {
    color: #D4232B;
    font-size: 16px;
}

.row-icon .icon-box p {
    font-size: 13px;
}

.row-divided>.col+.col:not(.large-12) {
    border-left: none;
}

.product-title a {

    font-size: 16px;
}

@media(max-width: 1025px) {
    .html_topbar_left {
        display: none !important
    }
}

@media(min-width: 1023px) {


    #post-list .row .post-item h5.post-title a {
        min-height: unset;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #post-list .row .post-item:nth-child(1) .col-inner {
        background-color: unset !important;
    }

    #post-list .row .post-item:nth-child(1) .box-image,
    #post-list .row .post-item:nth-child(2) .box-image {
        width: 100% !important;
    }

    #post-list .row .post-item:nth-child(1) .box .box-image .image-cover {
        padding-top: 56% !important;
    }

    #post-list .row .post-item:nth-child(2) .box .box-image .image-cover {
        padding-top: 107% !important;
    }

    #post-list .row .post-item:nth-child(1) .box-text,
    #post-list .row .post-item:nth-child(2) .box-text {
        position: absolute;
        bottom: 16px;

        padding: 33px;
        border-radius: 10px;
        width: 80%;
        left: 0px;
        color: white;
    }

    #post-list .row .post-item:nth-child(1) .box-text p,
    #post-list .row .post-item:nth-child(1) .box-text h5,
    #post-list .row .post-item:nth-child(2) .box-text p,
    #post-list .row .post-item:nth-child(2) .box-text h5 {
        color: white;
    }

    #post-list .row .post-item:nth-child(1) {
        flex-basis: 65%;
        max-width: 65%;
    }

    #post-list .row .post-item:nth-child(2) {
        flex-basis: 35%;
        max-width: 35%;
    }

    #post-list .row .post-item:nth-child(1) .overlay,
    #post-list .row .post-item:nth-child(2) .overlay {
        display: block !important;
    }

    .blog-archive .post-item .overlay {
        display: none;
    }

    .cart_item .product-quantity {
        display: none;
    }
}

@media(max-width: 767px) {
    .mfp-container {
        padding: 15px;
    }
}

@media(max-width: 855px) {

    .category-page-row .product-small .box-text {
        padding: 10px;
    }

    .category-page-row .product-small.col {
        padding: 0 2.8px 9.6px;
    }

    .product-small .price-wrapper span.amount {

        margin-left: 5px;
        font-size: 15px;
    }

    .product-small .product-title a {
        font-weight: 600;
        font-size: 14px;
    }

    .banner h1 {
        font-size: 30px;
    }

    #header .stuck #logo img {
        max-height: 65px !important;
    }

    #header.show-on-scroll,
    #header .stuck .header-main {
        height: 60px !important;
    }

    .header-main .header-search a.icon {
        height: 34px !important;
        width: 32px !important;
        line-height: 46px !important;
        font-size: 18px;
        border: unset;
        min-width: unset;
    }

    .slide-cam-nhan .slider .flickity-viewport {
        min-height: unset !important;
    }

    select.search_categories {
        min-width: 90px;
    }

    .title-home {

        font-size: 26px;
        margin-bottom: 15px;
    }




}

/*************** TOUR SYSTEM STYLES ***************/

/* Tour Cards Grid */
.tour-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tour-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.tour-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tour-card-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
    /* 3:2 aspect ratio */
}

.tour-card-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.tour-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 100%);
}

.tour-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.tour-card-content {
    padding: 25px;
}

.tour-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-title a:hover {
    color: #667eea;
}

.tour-destination,
.tour-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #111;
}

/* .tour-destination i,
.tour-duration i {
    color: #667eea;
} */

.tour-excerpt {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-price span.amount {
    color: #dc2626;
    font-weight: bold;
    font-size: 21px;
}

.tour-price del span.amount {
    color: #404040;
    font-size: 0.875rem;
    font-weight: 400;
}

.tour-footer .button {
    padding: 2px 10px;
    border-radius: 5px;
    border-top: 1px solid #eee;
    font-size: 13px;
}

/* Tour Search Widget Styling */
.tour-search-widget {
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.search-form-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-search-widget .search-field {
    flex: 4;
    border: none !important;
    background: #fff !important;
    /* Màu trắng */
    padding: 0 20px;
    height: 50px;
    font-size: 16px;
    box-shadow: none !important;
    border-right: 1px solid #eee !important;
    border-radius: 50px 0 0 50px !important;
    /* Bo tròn góc trái */
    margin-bottom: 0px;
}

.tour-search-widget .tour-destination-select {
    flex: 1;
    border: none !important;
    background: #fff !important;
    /* Màu trắng */
    padding: 0 20px;
    height: 50px;
    font-size: 16px;
    box-shadow: none !important;
    cursor: pointer;
    color: #333;
    margin-bottom: 0px;
}

/* Sidebar Filter Styling */
.tour-filter-sidebar {
    background: #fff;
    padding: 5px;
    margin-bottom: 30px;
}

.tour-filter-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: #555;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}

.radio-container:hover input~.checkmark {
    background-color: #ccc;
}

.radio-container input:checked~.checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked~.checkmark:after {
    display: block;
}

.radio-container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-container .count {
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}

/* Price Slider */
.price-range-slider {
    width: 100%;
}

.price-range-slider .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.price-range-slider .slider:hover {
    opacity: 1;
}

.price-range-slider .slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.price-value {
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.tour-search-widget .search-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    height: 46px;
    padding: 0 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
}

.tour-search-widget .search-submit:hover {
    background: #5a6fd6;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tour-search-widget .search-submit i {
    font-size: 16px;
}

.section-shop-title {
    background: RGB(3, 158, 157);
    background: linear-gradient(90deg, rgba(3, 158, 157, 1) 0%, rgba(3, 158, 157, 1) 23%, rgba(3, 122, 158, 1) 100%);
    padding: 60px 0;
    text-align: center;
}

.section-shop-title h2.category-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Responsive for Search Widget */
@media (max-width: 768px) {
    .tour-search-widget {
        border-radius: 15px;
        padding: 15px;
    }

    .search-form-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .tour-search-widget .search-field,
    .tour-search-widget .tour-destination-select {
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
        padding: 0 10px;
    }

    .tour-search-widget .search-submit {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
}

/* Tour Search Autocomplete Dropdown */
.tour-search-widget {
    position: relative;
}

.tour-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100000;
    display: none;
    margin-top: -1px;
}

.autocomplete-loading,
.autocomplete-error,
.autocomplete-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.autocomplete-item:hover {
    background: #f8f9fa;
}

.autocomplete-item:last-of-type {
    border-bottom: none;
}

.autocomplete-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 6px;
    overflow: hidden;
}

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

.autocomplete-content {
    flex: 1;
    min-width: 0;
}

.autocomplete-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.autocomplete-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    font-size: 12px;
    color: #666;
}

.autocomplete-meta i {
    color: #667eea;
    margin-right: 3px;
}

.autocomplete-price {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
}

.autocomplete-price .price-label {
    font-size: 11px;
    font-weight: 400;
    color: #999;
}

.autocomplete-view-all {
    display: block;
    padding: 12px 15px;
    text-align: center;
    background: #f8f9fa;
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: background 0.2s ease;
}

.autocomplete-view-all:hover {
    background: #667eea;
    color: #fff;
}

.autocomplete-view-all i {
    margin-right: 5px;
}

/* Filter Sidebar */
.tour-filter-sidebar {
    position: sticky;
    top: 100px;
}

.price-range-display {
    text-align: center;
    margin: 15px 0;
    font-weight: 600;
    color: #667eea;
    font-size: 16px;
}

#price-slider {
    margin: 20px 0;
}

/* Search Widget */
.tour-search-widget {
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 65%;
}

.tour-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0px;
    align-items: end;
    margin-bottom: 0px;
}

/* Loading State */
.tour-loading {
    text-align: center;
    padding: 60px 20px;
}

.tour-loading::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
}

.tour-results.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Pagination */
.tour-pagination {
    margin: 50px 0;
    text-align: center;
}

.tour-pagination ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-pagination li a {
    display: block;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.tour-pagination li a:hover,
.tour-pagination li.active a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
}

/* Result Count */
#result-count {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Booking Form */
.tour-booking-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.booking-field {
    margin-bottom: 20px;
}

.booking-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.quantity-selector .qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #667eea;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector .qty-btn:hover {
    background: #764ba2;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px;
    font-weight: 600;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .tour-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tour-search-form {
        grid-template-columns: 1fr;
    }

    .tour-filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .tour-booking-form {
        position: static;
    }

    .tour-card-content {
        padding: 20px;
    }

    .tour-title {
        font-size: 18px;
    }

    .tour-price {
        font-size: 20px;
    }

    .quantity-selector {
        flex-direction: column;
        gap: 10px;
    }
}

/**
 * ==========================================
 * SINGLE TOUR DETAIL PAGE
 * ==========================================
 */

/* Tour Gallery Grid */

/* Tour Gallery */
.tour-gallery {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

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

/* Tour Header */

.tour-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.tour-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #666;
}

.tour-meta .meta-item i {
    color: #667eea;
    font-size: 18px;
}

.tour-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tour Tabs */
.tour-tabs {
    margin: 40px 0;
}

.tour-tabs .nav-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tour-tabs .nav-link {
    display: block;
    padding: 15px 25px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease;
    position: relative;
    top: 2px;
}

.tour-tabs .nav-link:hover {
    color: #667eea;
}

.tour-tabs .nav-link.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tour-tabs .tab-content {
    padding: 30px 0;
}

.tour-tabs .tab-pane {
    display: none;
}

.tour-tabs .tab-pane.active {
    display: block;
}

.tour-tabs h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.tour-tabs h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 15px;
    color: #444;
}

.tour-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.tour-highlights li {
    padding: 12px 20px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 4px;
    list-style: none;
}

.price-table {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-table p {
    margin: 10px 0;
    font-size: 16px;
}

/* Sidebar Sticky */

/* Booking Form in Sidebar */

/* Related Tours */

/* Tour Contact Info */

@media (min-width:768px) {
    .footer-2 .widget {
        margin-bottom: 0;
    }

    .footer-2 .widget:first-child {
        flex-basis: 33%;
        max-width: 33%;
    }

    .footer-2 .widget:nth-child(2) {
        flex-basis: 25%;
        max-width: 25%;
    }

    .footer-2 .widget:nth-child(3) {
        flex-basis: 16.6%;
        max-width: 16.6%;
    }

    .footer-2 .widget:nth-child(4) {
        flex-basis: 25%;
        max-width: 25%;
    }

    .absolute-footer {
        padding-top: 0px;
    }
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .tour-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tour-search-form {
        grid-template-columns: 1fr;
    }

    .tour-filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .tour-booking-form {
        position: static;
    }

    .tour-card-content {
        padding: 20px;
    }

    .tour-title {
        font-size: 18px;
    }

    .tour-price {
        font-size: 20px;
    }

    .quantity-selector {
        flex-direction: column;
        gap: 10px;
    }

    /* Single Tour Mobile */

    .tour-meta {
        gap: 15px;
    }

    /* Gallery Grid Mobile */

    .tour-tabs .nav-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .tour-tabs .nav-link {
        padding: 12px 20px;
        white-space: nowrap;
    }

    .tour-highlights {
        grid-template-columns: 1fr;
    }

}

/* Tour Booking Form Styling */
.tour-booking-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.tour-booking-field {
    margin-bottom: 20px;
}

.tour-booking-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.tour-booking-field input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    margin-bottom: 0;
}

.tour-qty-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.tour-qty-item {
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-qty-item label {
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 600;
    flex: 1;
}

.tour-qty-item .price-hint {
    display: block;
    font-size: 12px;
    color: #777;
    margin: 0 10px 0 0;
}

.tour-qty-item input {
    width: 80px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 5px;
    font-weight: 600;
    margin-bottom: 0;
}

.tour-total-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0px;
    border-top: 1px solid #eee;
    margin-top: 0px;
    font-size: 18px;
    font-weight: 700;
}

.tour-booking-actions {
    margin-top: 0 !important;
}

.tour-total-wrapper .price {
    color: #dc2626;
    font-size: 24px;
}

@media (max-width: 480px) {
    .tour-qty-row {
        grid-template-columns: 1fr;
    }
}

/* Tour Banner Grid */

/* Tour Description Content */

/* Single Product Tour Styles */

.tour-meta-info {
    margin: 20px 0;
}

.tour-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.tour-meta-grid .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 15px 20px;
    background: transparent;
    border-radius: 0;
    transition: background 0.2s ease;
    flex: 1 1 33.333%;
    min-width: 200px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.tour-meta-grid .meta-item:nth-child(3n) {
    border-right: none;
}

.tour-meta-grid .meta-item:hover {
    background: #f9fafb;
}

.tour-meta-grid .meta-item i {
    color: #f97316;
    font-size: 20px;
    min-width: 20px;
    flex-shrink: 0;
}

.tour-meta-grid .meta-item strong {
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
}

.tour-meta-grid .meta-item span {
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}

.tour-status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-box-text .portfolio-avatar {
    border: 2px dashed white;
    border-radius: 99px;
    padding: 5px;
}

@media (max-width: 1024px) {
    .tour-meta-grid .meta-item {
        flex: 1 1 50%;
    }

    .tour-meta-grid .meta-item:nth-child(3n) {
        border-right: 1px solid #e5e7eb;
    }

    .tour-meta-grid .meta-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {

    .tour-meta-grid .meta-item {
        flex: 1 1 100%;
        border-right: none;
    }

    .tour-meta-grid .meta-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 480px) {
    .tour-meta-grid {
        grid-template-columns: 1fr;
    }
}
