.tour-card.position-relative .card-content {
    will-change: auto;
}

.tour-card:focus-within,
.destination-content__item:focus-visible {
    outline: 2px solid hsl(var(--base));
    outline-offset: 3px;
}

.tour-filter__title-icon,
.tour-filter__currency-icon {
    color: hsl(var(--base));
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.tour-filter .input-group-addon .material-icons {
    color: hsl(var(--secondary) / 0.7);
    font-size: 20px;
}

.tour-filter .form-check-input {
    flex: 0 0 auto;
    margin-top: 0;
}

.tour-filter .form-check-input:focus {
    border-color: hsl(var(--secondary) / 0.25);
    outline: 0;
    box-shadow: none;
}

.tour-filter__submit {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    font-size: 1.063rem;
}

.tour-filter__submit svg {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.tour-filter .sliders_control .fromSlider {
    height: 0;
    z-index: 2;
}

.tour-filter .sliders_control .toSlider {
    z-index: 1;
}

.tour-filter .sliders_control input[type="range"]::-webkit-slider-thumb {
    position: relative;
    z-index: 3;
}

.tour-filter .sliders_control input[type="range"]::-moz-range-thumb {
    position: relative;
    z-index: 3;
}

.tour-filter .form_control > span {
    width: 100%;
}

.tour-results__toolbar h6,
.tour-results__controls h6 {
    margin-bottom: 0;
}

.tour-results__controls {
    gap: 6px;
}

.tour-results__controls .featured-select .nice-select {
    min-width: 190px;
}

.tour-card .card-image {
    position: relative;
}

.tour-category {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 5px;
    background: hsl(var(--white) / 0.92);
    color: hsl(var(--secondary));
    box-shadow: 0 4px 14px hsl(var(--secondary) / 0.12);
    font-size: 0.813rem;
    font-weight: 600;
    line-height: 1;
    z-index: 2;
}

.tour-category .material-icons {
    color: hsl(var(--base));
    font-size: 17px;
}

.tour-card .card-info {
    flex-wrap: wrap;
    gap: 8px 14px;
}

.tour-dates,
.tour-card .card-footer > span:first-child {
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.tour-dates .material-icons,
.tour-card .card-footer .material-icons {
    font-size: 18px;
}

.tour-card .price strong {
    white-space: nowrap;
}

.tour-filter-modal .modal-dialog {
    max-width: 540px;
}

.tour-filter-modal .modal-body {
    padding: 20px;
}

.tour-filter-modal .tour-filter {
    gap: 18px;
}

@media screen and (max-width: 575px) {
    .tour-results__controls {
        width: auto;
        flex-wrap: wrap;
    }

    .tour-results__controls .featured-select {
        flex: 1 1 170px;
    }

    .tour-results__controls .featured-select .nice-select {
        width: 100%;
        min-width: 0;
    }

    .tour-filter-modal .modal-body {
        padding: 14px;
    }

    .tour-filter-modal .search-filter-left__item {
        padding: 18px;
    }
}

.tour-filter__currency-icon {
    display: inline-flex;
    flex: 0 0 24px;
    width: 24px;
    justify-content: center;
}

.tour-filter input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.tour-filter input[type="number"]::-webkit-inner-spin-button,
.tour-filter input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}

.tour-card-column {
    padding: 0.75rem;
    display: flex;
}

.tour-card {
    width: 100%;
    height: 100%;
}

.tour-card:not(.card__list) {
    display: flex;
    flex-direction: column;
}

.tour-card .card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
}

.tour-filter-modal__header {
    justify-content: flex-end;
    border-bottom: 0;
    padding-bottom: 10px;
}

.tour-filter-modal button.btn-close {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}

@media screen and (max-width: 575px) {
    .tour-results__toolbar {
        gap: 12px;
    }

    .tour-results__controls {
        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .tour-results__controls h6 {
        white-space: nowrap;
    }

    .tour-results__controls .featured-select {
        width: 190px;
        min-width: 0;
        max-width: 100%;
        justify-self: start;
    }

    .tour-results__controls .featured-select .nice-select {
        width: 100%;
        min-width: 0;
    }

    .tour-results__controls .nice-select .current {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.tour-results.list-view .tour-card-column {
    flex: 0 0 100%;
    width: 100%;
}

.tour-results.list-view .tour-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.tour-results.list-view .tour-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tour-results.list-view .tour-card .card-image {
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.tour-results.list-view .tour-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-results.list-view .tour-card .card-image .tour-category {
    position: absolute;
    top: 12px;
    left: 12px;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.92);
    color: hsl(var(--secondary));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    font-size: 0.813rem;
    font-weight: 600;
    line-height: 1;
    z-index: 2;
    backdrop-filter: none;
}

.tour-results.list-view .tour-card .card-image .tour-category i {
    font-size: 17px;
    color: hsl(var(--base));
}

.tour-results.list-view .tour-card .card-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.tour-results.list-view .tour-card .card-content .card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.tour-results.list-view .tour-card .card-content .card-info .tour-dates,
.tour-results.list-view .tour-card .card-content .card-info .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
}

.tour-results.list-view .tour-card .card-content .card-info .rating i {
    color: #f5a623;
}

.tour-results.list-view .tour-card .card-content h6.card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0 12px 0;
    line-height: 1.3;
}

.tour-results.list-view .tour-card .card-content h6.card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.tour-results.list-view .tour-card .card-content h6.card-title a:hover {
    color: #eb662b;
}

.tour-results.list-view .tour-card .card-content .d-none {
    display: block !important;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

.tour-results.list-view .tour-card .card-footer {
    display: flex;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.tour-results.list-view .tour-card .card-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #555;
}

.tour-results.list-view .tour-card .card-footer .price {
    font-size: 20px;
    font-weight: 700;
    color: #eb662b;
}

@media (max-width: 768px) {
    .tour-results.list-view .tour-card {
        flex-direction: column;
    }
    
    .tour-results.list-view .tour-card .card-image {
        flex: 0 0 auto;
        max-width: 100%;
        min-height: 180px;
    }
    
    .tour-results.list-view .tour-card .card-image img {
        height: 180px;
    }
    
    .tour-results.list-view .tour-card .card-content {
        padding: 16px;
        min-height: auto;
    }
    
    .tour-results.list-view .tour-card .card-content h6.card-title {
        font-size: 18px;
    }
    
    .tour-results.list-view .tour-card .card-footer {
        flex-wrap: wrap;
        gap: 8px;
    }
}

.pagination .page-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid rgba(108, 117, 125, 0.1);
    color: #6c757d;
    font-weight: 600;
    background: transparent;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: rgba(235, 102, 43, 0.08);
    border-color: hsl(var(--base));
    color: hsl(var(--base));
}

.pagination .page-link.active,
.pagination .page-link[aria-current="page"] {
    background: hsl(var(--base)) !important;
    border-color: hsl(var(--base)) !important;
    color: hsl(var(--white)) !important;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

.pagination .page-item:not(:first-child) .page-link {
    margin-left: -1px;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    width: auto;
    padding: 0 12px;
}

.pagination .page-item .page-link .material-icons {
    font-size: 20px;
}

.tour-card .card-image {
    position: relative;
    height: 16.6rem;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.tour-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-results.list-view .tour-card {
    flex-direction: row !important;
}
.tour-results.list-view .tour-card .card-image {
    height: 282px;
    flex: 0 0 387px;
    width: 387px;
    border-radius: 5px 5px 5px 5px;
}
.tour-results.list-view .tour-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#bx_incl_area_6_2 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    row-gap: var(--bs-gutter-y, 1.5rem);
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.tour-results {
    row-gap: 0rem !important;
}

.tour-card-column,
.tour-card,
.tour-card .card-image,
.tour-card .card-content,
.tour-card .card-image img {
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tour-card {
    transition: flex-direction 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
}

.tour-card .card-image {
    transition: flex 0.35s ease, height 0.35s ease, width 0.35s ease, border-radius 0.35s ease;
}

.tour-card .card-content {
    transition: padding 0.35s ease, min-height 0.35s ease;
}

.tour-card-column {
    transition: flex 0.35s ease, max-width 0.35s ease, width 0.35s ease;
}

.tour-card .card-image img {
    transition: transform 0.35s ease;
}

.tour-card {
    will-change: transform, flex-direction;
}
.tour-card .card-image,
.tour-card .card-content {
    will-change: transform, height, padding;
}

.featured-content-two .featured-content__card .card-image{
    margin:20px !important;
}

.tour-filter__actions {
    position: relative;
    z-index: 10;
    background: #fff;
    display: flex;
    gap: 10px;
    align-items: center;
}

.tour-filter__submit {
    width: 50%;
}

.tour-filter__reset {
    width: 50%;
    background: transparent;
    border: 1px solid hsl(var(--secondary) / 0.2);
    color: hsl(var(--secondary));
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 6px;
    text-decoration: none;
}

.tour-results__empty {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.tour-results__empty-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tour-results__empty-icon .material-icons {
    font-size: 64px;
    color: hsl(var(--secondary) / 0.35);
}

.tour-list-page aside,
.tour-list-page .search-filter-left {
    position: static !important;
    top: auto !important;
    height: auto !important;
    max-height: none !important;
}

.sort-direction-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid hsl(var(--secondary) / 0.15) !important;
    border-radius: 6px !important;
    background: transparent !important;
    pointer-events: none !important;
    flex: 0 0 auto !important;
}

.sort-direction-toggle .material-icons {
    font-size: 20px !important;
    transition: transform 0.2s ease !important;
}

.sort-direction-toggle[data-order="ASC"] .material-icons {
    transform: rotate(180deg) !important;
}

.tour-list-page aside,
.tour-list-page .search-filter-left {
    transform: none !important;
    will-change: auto !important;
    position: static !important;
}

.tour-card .card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
    justify-content: flex-start !important;
}

.tour-card .card-footer > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.tour-card .card-footer .price {
    flex: 0 0 auto;
    margin-left: auto !important;
    white-space: nowrap;
}

.tour-results.list-view .tour-card .card-footer {
    justify-content: flex-start !important;
}

.nice-select .current .sort-direction-icon {
    font-size: 18px;
    vertical-align: middle;
}

.tour-results__controls h6 {
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.tour-results__controls .featured-select {
    display: flex;
    align-items: center;
}

.tour-results__controls .featured-select .nice-select {
    height: 40px;
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.tour-results__controls .featured-select .nice-select .current {
    line-height: 40px;
    display: inline-block;
    vertical-align: middle;
}

.tour-results__controls .featured-select .nice-select .current .sort-direction-icon {
    line-height: 1;
    vertical-align: middle;
}

.featured-select .nice-select::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    line-height: normal;
    width: 8px;
    height: 8px;
    right: 9px;
    border-color: hsl(var(--secondary));
}

.tour-card .card-content {
    width: 100%;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 20px !important;
}

.tour-card .card-footer {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 12px !important;
    margin-top: auto !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

.tour-card .card-footer {
    justify-content: flex-start !important;
}
.tour-card .card-footer .price {
    margin-left: auto !important;
}

.tour-sort-select + .nice-select .current {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.sort-direction-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
}

.sort-direction-icon .material-icons {
    font-size: 18px;
    line-height: 1;
}

.nice-select .option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.nice-select .option .option-sort-icon {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nice-select .option .option-sort-icon .material-icons {
    font-size: 18px;
    color: hsl(var(--secondary) / 0.5);
}

.featured-content__card.tour-card.position-relative { border-color: hsl(var(--secondary) / 0.1); }
.tour-results__controls { gap: 8px; flex-wrap: wrap; }
.tour-sort-label { margin: 0 4px 0 0; font-size: 14px; font-weight: 400; }
.tour-results__controls .featured-select .nice-select { width: 264px; min-width: 0; height: 42px; line-height: 40px; padding: 0 42px 0 18px; border: 1px solid hsl(var(--secondary) / 0.1); border-radius: 5px; background: #fff; font-size: 16px; font-weight: 400; }
.tour-results__controls .featured-select .nice-select:focus, .tour-results__controls .featured-select .nice-select.open { border-color: hsl(var(--secondary) / 0.3); }
.tour-results__controls .featured-select .nice-select::after { right: 20px; border-color: #999; transform: rotate(45deg); }
.tour-results__controls .featured-select .nice-select.open::after { transform: rotate(-135deg); }
.tour-results__controls .nice-select .list { width: 100%; }
.tour-results__controls .toggle-grid { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; }
.tour-results__controls .toggle-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 42px; }
.tour-results__controls .toggle-btn .material-icons { font-size: 24px; line-height: 1; }
.tour-other-dates label { margin: 0; font: inherit; }
.tour-other-dates .nice-select { float: none; width: 100%; height: 42px; padding: 0 36px 0 12px; border-color: hsl(var(--secondary) / 0.1); color: hsl(var(--secondary)); font-size: 14px; }
.tour-other-dates .nice-select:focus, .tour-other-dates .nice-select.open { border-color: hsl(var(--secondary) / 0.3); }
.tour-other-dates .nice-select .current { display: block; overflow: hidden; text-overflow: ellipsis; }
.tour-other-dates .nice-select .list { width: 100%; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.tour-other-dates .nice-select .option { padding: 0 12px; }
@media (max-width: 991px) { .tour-results__controls .toggle-grid { display: none; } }
@media (max-width: 575px) { .tour-sort-label { grid-column: 1 / -1; } .tour-results__controls { width: 100%; grid-template-columns: minmax(0, 1fr); } .tour-results__controls .featured-select { width: 100%; } .tour-results__controls .toggle-grid { grid-column: 1 / -1; justify-self: end; } .tour-results__controls .featured-select .nice-select { width: 100%; } }
