/* Modern Tour Cards - Container wrapper */
.modern-tour-container {
    margin: 0 auto;
    padding: 16px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pagination{
    display: flex!important;
    margin: 0!important;
}

.tour-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
    display: flex;
    height: 190px; /* Tăng chiều cao từ 150px lên 160px */
    align-items: stretch; /* Đảm bảo tất cả children có cùng chiều cao */
    margin-left: auto;
    margin-right: auto;
}

.tour-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.tour-image-container {
    position: relative;
    width: 180px;
    min-width: 180px;
    overflow: hidden;
    background: #f99d1c;
    flex-shrink: 0;
    /* Sẽ tự động có chiều cao 160px nhờ align-items: stretch */
}

.tour-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Xử lý ảnh bị lỗi hoặc thiếu */
.tour-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f99d1c 0%, #396b71 100%);
    z-index: 1;
}

/* Hiển thị ảnh khi load thành công */
.tour-image[src]:not([src=""]) {
    z-index: 2;
}

.tour-item:hover .tour-image {
    transform: scale(1.05);
}

/* Fallback/Placeholder cho ảnh bị lỗi hoặc thiếu */
.tour-image-container .image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    text-align: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-image-container .tour-image[src=""], 
.tour-image-container .tour-image:not([src]) {
    opacity: 0;
}

.tour-image-container .tour-image[src=""]:not([alt]) + .image-placeholder,
.tour-image-container .tour-image:not([src]) + .image-placeholder {
    opacity: 1;
}

.tour-ribbon {
    position: absolute;
    top: 12px;
    left: -8px;
    z-index: 10;
}

.tour-ribbon .rib {
    background: #f99d1c;
    color: white;
    padding: 6px 16px 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.tour-ribbon .rib::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-top: 8px solid #e88a15;
}

.tour-content {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0; /* Prevents flex overflow */
    overflow: hidden;
    /* Sẽ tự động có chiều cao 160px nhờ align-items: stretch */
}

.tour-header {
    flex: 0 0 auto;
    margin-bottom: 8px;
}

.tour-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 36px; /* 2 lines * 18px line-height */
}

.tour-title:hover {
    color: #f99d1c;
    text-decoration: none;
}

.tour-details {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 3px 8px;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    max-height: 100px;
    margin-top: 10px;
}

.tour-detail-item {
    display: flex;
    align-items: flex-start;
    min-height: 16px;
    overflow: hidden;
}

.tour-detail-label {
    font-weight: 600;
    color: #333;
    min-width: 65px;
    max-width: 85px;
    margin-right: 4px;
    font-size: 14px; /* Tăng từ 10px lên 11px */
    flex-shrink: 0;
}

.tour-detail-value {
    color: #666;
    flex: 1;
    word-break: break-word;
    font-size: 14px; /* Tăng từ 10px lên 11px */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.tour-sidebar {
    width: 130px;
    min-width: 150px;
    padding: 12px 8px;
    background: #f8f9fa;
    border-left: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    /* Sẽ tự động có chiều cao 160px nhờ align-items: stretch */
    overflow: visible !important;
}

.tour-date {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 11px;
    margin-bottom: 6px;
    background: white;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    flex-shrink: 0;
    min-width: fit-content;
}

.tour-date i {
    margin-right: 3px;
    color: #f99d1c;
    font-size: 9px;
}

.tour-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: fit-content;
}

.tour-price-label {
    font-size: 9px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-price {
    font-size: 16px;
    font-weight: 700;
    color: #396b71;
    margin-bottom: 8px;
    line-height: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tour-cta {
    background: #f99d1c;
    color: white;
    padding: 6px 10px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(249, 157, 28, 0.3);
    margin-bottom: 6px;
    display: inline-block;
    width: 100%;
    text-align: center;
    max-width: 110px;
}

.tour-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 157, 28, 0.4);
    background: #396b71;
    color: white;
    text-decoration: none;
}

.tour-icons {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cấu trúc sidebar layout */
.tour-sidebar-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    width: 100%;
}

.tour-sidebar-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    width: 100%;
}

.tour-icon {
    width: 24px;
    height: 24px;
    background: #f99d1c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    flex-shrink: 0;
    min-width: 22px;
    min-height: 22px;
}

/* Modern Pagination */
.modern-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    background: white;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.page-number:hover {
    background: #f99d1c;
    color: white;
    border-color: #f99d1c;
    transform: translateY(-1px);
    text-decoration: none;
}

.page-number.current {
    background: #f99d1c;
    color: white;
    border-color: #f99d1c;
}

.page-prev, .page-next {
    padding: 0 12px;
    border-radius: 8px;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #f99d1c;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.page-prev:hover, .page-next:hover {
    color: #396b71;
    text-decoration: none;
}

.page-dots {
    color: #999;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-tour-container {
        padding: 8px;
        max-width: 100%;
    }
    
    .tour-item {
        flex-direction: column;
        margin-bottom: 20px;
        height: auto;
        min-height: auto;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .tour-image-container {
        width: 100%;
        height: 180px;
        min-width: auto;
        border-radius: 0;
        position: relative;
    }
    
    .tour-content {
        padding: 16px;
        height: auto;
        min-height: auto;
        order: 2;
    }

    .tour-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 10px;
        max-height: none;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        line-height: 1.4;
    }
    
    .tour-details {
        max-height: none;
        gap: 8px 12px;
        grid-template-columns: 1fr 1fr;
    }

    .tour-detail-item {
        min-height: 18px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .tour-detail-label {
        min-width: 70px;
        max-width: 70px;
        font-size: 11px;
        font-weight: 600;
        color: #666;
        margin-right: 8px;
    }

    .tour-detail-value {
        font-size: 11px;
        color: #333;
        font-weight: 500;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        flex: 1;
    }
    
    /* Mobile Sidebar - Sửa overflow */
    .tour-sidebar {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        padding: 16px;
        border-left: none;
        border-top: 1px solid #e9ecef;
        background: #ffffff;
        order: 3;
        gap: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .tour-sidebar-left {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
        padding-bottom: 16px;
        box-sizing: border-box;
    }

    .tour-sidebar-right {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .tour-date {
        margin-bottom: 0;
        font-size: 12px;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: 20px;
        background: white;
        color: #666;
        border: 1px solid #ddd;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tour-date i {
        font-size: 10px;
        margin-right: 6px;
        color: #f99d1c;
    }

    .tour-price-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        flex-shrink: 0;
        min-width: fit-content;
        max-width: 50%;
    }

    .tour-price-label {
        font-size: 10px;
        color: #666;
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 500;
    }

    .tour-price {
        font-size: 18px;
        font-weight: 700;
        color: #396b71;
        margin-bottom: 0;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .tour-cta {
        padding: 12px 20px;
        font-size: 12px;
        font-weight: 700;
        width: auto;
        min-width: 100px;
        max-width: 140px;
        margin-bottom: 0;
        flex-shrink: 0;
        border-radius: 24px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(249, 157, 28, 0.3);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tour-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(249, 157, 28, 0.4);
    }

    .tour-icons {
        display: flex !important;
        gap: 6px;
        justify-content: flex-end;
        flex-wrap: wrap;
        flex-shrink: 0;
        min-width: fit-content;
        max-width: 30%;
        overflow: visible;
        align-items: center;
    }

    .tour-icon {
        width: 28px;
        height: 28px;
        font-size: 11px;
        flex-shrink: 0 !important;
        min-width: 28px;
        min-height: 28px;
        box-shadow: 0 2px 6px rgba(249, 157, 28, 0.3);
    }

    /* Ribbon responsive */
    .tour-ribbon {
        top: 12px;
        left: 12px;
        z-index: 15;
    }

    .tour-ribbon .rib {
        font-size: 10px;
        font-weight: 700;
        padding: 6px 12px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(249, 157, 28, 0.4);
    }

    .tour-ribbon .rib::after {
        display: none; /* Ẩn tail trên mobile */
    }
}

/* Mobile enhancements */
@media (max-width: 768px) {
    /* Touch-friendly hover effects */
    .tour-item:hover {
        transform: none; /* Disable hover transform on mobile */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }
    
    .tour-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Better image aspect ratio handling */
    .tour-image-container::before {
        border-radius: 0;
    }
    
    /* Improved typography for mobile readability */
    .tour-title {
        color: #2c3e50;
        text-shadow: none;
    }
    
    .tour-detail-label {
        color: #7f8c8d;
        letter-spacing: 0.5px;
    }
    
    .tour-detail-value {
        color: #2c3e50;
        line-height: 1.4;
    }
    
    /* Modern card spacing */
    .tour-list {
        margin-bottom: 40px;
    }
    
    /* Better visual hierarchy */
    .tour-price {
        background: linear-gradient(135deg, #396b71 0%, #2c5a61 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
    }
    
    /* Improved CTA button */
    .tour-cta {
        background: linear-gradient(135deg, #f99d1c 0%, #e88a15 100%);
        border: none;
        position: relative;
        overflow: hidden;
    }
    
    .tour-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .tour-cta:hover::before {
        left: 100%;
    }
    
    /* Better pagination for mobile */
    .modern-pagination {
        padding: 20px 0;
        gap: 8px;
    }
    
    .page-number {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    
    .page-prev, .page-next {
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }
}

/* Loading Animation */
.tour-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #f99d1c;
    font-size: 16px;
}

.tour-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #f99d1c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

/* Empty State */
.tour-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.tour-empty h3 {
    color: #333;
    margin-bottom: 8px;
}


/* filter  */


.box-filter .item-filter {
    padding: 15px;
    border-bottom: 1px solid #dddddd;
}
.filterTitle {
    font-size: 15px;
    line-height: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}
.filterTitle .btn-more-less {
    position: absolute;
    top: 5px;
    right: 0;
    width: 30px;
    height: 20px;
    z-index: 10;
    cursor: pointer;
}
.filterTitle .btn-more-less span {
    display: block;
    width: 30px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    position: relative;
}
.filterTitle .btn-more-less span::before {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: '\f078';
    left: 0;
    top: 0;
    width: 30px;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
}
.item-filter.open .filterTitle .btn-more-less span::before {
    content: '\f077';
}
ul.ul_filter{
    padding: 0;
    margin: 0;
}
.ul_filter li {
    position: relative;
    font-size: 14px;
    line-height: 23px;
}

.ul_filter li .arr-sub {
    right: 7px !important;
}
.ul_filter li .arr-sub {
    position: absolute;
    right: 20px;
    z-index: 10;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #000;
}
.ul_filter li .arr-sub i {
    line-height: 20px;
    font-size: 14px;
}
.fa-angle-down:before {
    content: "\f107";
}
.ul_filter li label {
    font-weight: normal;
    padding-left: 23px;
    position: relative;
}
.ul_filter li label input[type="checkbox"] {
    outline: 2px solid red; 
}

.ul_filter li label input[type="checkbox"]:checked ~ .check {
    color: #0099ff;
}

.ul_filter li label input[type="checkbox"]:checked ~ .check:before {
    content: '\f14a';
    color: #0099ff;
}
.ul_filter li label input[type=checkbox] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.ul_filter li label .check {
    position: absolute;
    top: 0;
    left: 1px;
    color: #666666;
}
.ul_filter li label .check:before {
    font-family: "Font Awesome 5 Free";
    content: '\f0c8';
    font-size: 16px;
    line-height: inherit;
    font-weight: normal;
}
.ul_filter li .count {
    color: var(--e-global-color-1ce5480);
}
.ul_filter li ul {
    padding-left: 25px;
}
.ul_filter li.li-hide {
    display: none;
}
.item-filter.open .ul_filter li.li-hide {
    display: block;
}
.div-more-less {
    padding-top: 5px;
    position: relative;
}
.div-more-less span {
    display: block;
    cursor: pointer;
    color: var(--e-global-color-1ce5480);
    position: relative;
}
.div-more-less span::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: '\f077';
    top: 2px;
    right: 10px;
    line-height: 20px;
    font-weight: 900;
    font-size: 16px;
    color: #333333;
}
.item-filter.open .div-more-less .txt-more {
    display: none;
}
.item-filter.open .div-more-less .txt-less {
    display: block;
}
.div-more-less .txt-more::after {
    content: '\f078';
}
.div-more-less .txt-less::after {
    content: '\f077';
}
.div-more-less .txt-less {
    display: none;
}


/* Filter order by  */

.mw270 {
    min-width: 270px;
}
.list-filter {
    margin-top: 10px;
    float: right;
}
.list-filter ul {
    padding-left: 0px;
}
.list-filter ul:after {
    display: block;
    content: '';
    clear: both;
}
.list-filter ul li {
    float: left;
    margin-right: 10px;
    position: relative;
}
.list-filter ul li:after {
    content: '|';
    padding-left: 10px;
}
.list-filter ul li:first-child:after {
    display: none;
}
.list-filter ul li:last-child {
    margin-right: 0;
}
.list-filter ul li:last-child:after {
    display: none;
}
.list-filter ul li.current a{
    color: var(--e-global-color-1ce5480);
}
.list-filter ul li a:hover,
.list-filter ul li.current a:hover {
    color: #9c1320;
    text-decoration: none;
}


/* Filter price  */
.process-price {
    width: 40%;
    padding: 10px 10px 20px;
    float: right;
    text-align: right;
}
.filter-title {
    font-size: 15px;
    line-height: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    text-align: right;
    cursor: pointer;
    display: inline-block;
}
.filter-tour{
    display: none;
}
.container-price{
    display: none;
}
.price-input {
    width: 100%;
    display: flex;
    margin: 10px 0 20px;
}
.price-input .field {
    display: flex;
    width: 100%;
    height: 35px;
    align-items: center;
}
.field input {
    width: 100%;
    height: 100%;
    outline: none;
    font-size: 14px;
    margin-left: 12px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #999;
    -moz-appearance: textfield;
    appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.price-input .separator {
    width: 80px;
    display: flex;
    font-size: 14px;
    align-items: center;
    justify-content: center;
}
.slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
}
.slider .progress {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #17a2b8;
}
.range-input {
    position: relative;
}
.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: #17a2b8;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: #17a2b8;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
button#apply-price-filter {
    margin-top: 15px;
    float: right;
    background-color: #eb1b24;
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: 0;
}
button#apply-price-filter:hover {
    background-color: #666666;
    color: #fff;
}
@media only screen and (max-width: 1024px) {
    .process-price{
        width: 50%;
    }
    .filter-tour {
        display: inline-block;
    }
    .filter-title {
        padding: 10px 25px;
        border: 1px solid;
        background-color: #d82726;
        color: #fff;
    }
    .elementor-534 .elementor-element.elementor-element-009a1d9 {
        opacity: 0;
        pointer-events: none;  /* Thay thế visibility */
        transform: translatex(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute !important;
        width: 35% !important;
        background-color: #fff !important;
        z-index: 9999 !important;
        display: block !important;
    }
/*     
    .filter-mobile-active {
    } */
    .elementor-534 .elementor-element.elementor-element-009a1d9.filter-mobile-active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }
}
@media only screen and (max-width: 767px) {
    .process-price{
        width: 70%;
    }
    .elementor-534 .elementor-element.elementor-element-009a1d9 {
        width: 50% !important;
    }
    .tour-detail {
        display: flex    ;
        flex-direction: column;
        gap: 10px;
    }
    .tour-detail .i-img, 
    .tour-detail .i-desc, 
    .tour-detail .i-info {
        width: 100%;
    }
    .tour-detail .i-info .i-link {
        display: inline-block;
        width: 30%;
        text-align: right;
    }
}
@media only screen and (max-width: 587px) {
    .process-price{
        width: 100%;
    }
    .elementor-534 .elementor-element.elementor-element-009a1d9 {
        width: 70% !important;
    }
}

/* Highlight active taxonomy filter section */
.item-filter.active-taxonomy-filter {
    border: 2px solid #007cba;
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 10px;
}

.item-filter.active-taxonomy-filter .filterTitle {
    color: #007cba;
    font-weight: bold;
}

/* Highlight active filter items */
.ul_filter li.active,
.ul_filter li.active-archive-term,
.ul_filter li.active-archive-filter {
    background-color: #e3f2fd;
    /*border-left: 4px solid #007cba;*/
    /*padding-left: 8px;*/
}

.ul_filter li.li-show.active > label,
.ul_filter li.active-archive-term label,
.ul_filter li.active-archive-filter label {
    color: #007cba;
    font-weight: bold;
}

.ul_filter li.active input[type="checkbox"],
.ul_filter li.active-archive-term input[type="checkbox"],
.ul_filter li.active-archive-filter input[type="checkbox"] {
    accent-color: #007cba;
}

/* Minimal Active Archive Highlighting - không ảnh hưởng layout hiện tại */
.item-filter.active-taxonomy-filter .filterTitle {
    color: #007cba;
}

.ul_filter li.active,
.ul_filter li.active-archive-term {
    background-color: #f0f8ff;
}

.ul_filter li.li-show.active > label,
.ul_filter li.active-archive-term label {
    color: #007cba;
    font-weight: 600;
}

/* Auto-expanded state cho active archive */
.ul_filter .collapse.show {
    display: block !important;
}

/* Style for wrapper when active */
.knv-tour-items-wrapper.active-taxonomy-filter,
.knv-sidebar-filter-wrapper.knv-sidebar-filter-active {
    position: relative;
}

.knv-tour-items-wrapper.active-taxonomy-filter::before,
.knv-sidebar-filter-wrapper.knv-sidebar-filter-active::before {
    content: "Đang lọc theo: " attr(data-default-taxonomy);
    position: absolute;
    top: -25px;
    left: 0;
    background: #007cba;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

/* Loading state */
.tour-list.loading {
    opacity: 0.6;
    position: relative;
}

.tour-list.loading::after {
    content: "Đang tải tours theo archive...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 100;
}

/* =========================
   LEGACY CSS (giữ nguyên để backward compatibility)
   ========================= */
.tour-expediency-icons {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.tour-expediency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
}

.tour-expediency-icon:hover {
    background-color: #007cba;
    color: white;
}

/* Màu riêng cho từng loại phương tiện */
.tour-expediency-icon.bus-icon {
    background-color: #4CAF50;
    color: white;
}

.tour-expediency-icon.train-icon {
    background-color: #FF9800;
    color: white;
}

.tour-expediency-icon.plane-icon {
    background-color: #2196F3;
    color: white;
}

.tour-expediency-icon.default-icon {
    background-color: #9E9E9E;
    color: white;
}