/* =========================================================
   ESPAGLOBAL - TOUR LIST
========================================================= */

.espa-tour-list {
    --tl-primary: var(--espa-primary, #ef233c);
    --tl-heading: var(--espa-heading, #102a43);
    --tl-text: var(--espa-text, #334155);
    --tl-muted: var(--espa-text-muted, #64748b);
    --tl-border: var(--espa-border, #e5e7eb);
    --tl-bg: var(--espa-body-bg, #f5f7fa);
    --tl-soft: #f8fafc;
    background: var(--tl-bg);
    color: var(--tl-text);
}

/* =========================================================
   HERO / HEADING / SEARCH
========================================================= */

.espa-tour-list__top {
    position: relative;
    z-index: 20;
    overflow: visible;
    padding: 42px 0 46px;
    border-bottom: 1px solid var(--tl-border);
    background: linear-gradient(120deg, #103753 0%, #1d4263 48%, #313a59 100%);
    color: #fff;
}

.espa-tour-list__hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.espa-tour-list__top.has-image .espa-tour-list__hero-bg {
    background:
            linear-gradient(90deg, rgba(8,35,57,.93) 0%, rgba(15,53,83,.84) 48%, rgba(40,47,74,.72) 100%),
            var(--tour-list-hero-image) center 46% / cover no-repeat;
}

.espa-tour-list__hero-bg::before,
.espa-tour-list__hero-bg::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
}

.espa-tour-list__hero-bg::before {
    width: 410px;
    height: 410px;
    right: -160px;
    top: -245px;
}

.espa-tour-list__hero-bg::after {
    width: 240px;
    height: 240px;
    left: -150px;
    bottom: -145px;
}

.espa-tour-list__hero-inner {
    position: relative;
    z-index: 2;
}

.espa-tour-list__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.66);
    font-size: 11px;
}

.espa-tour-list__breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.espa-tour-list__breadcrumb a:hover { color: #fff; }
.espa-tour-list__breadcrumb iconify-icon { width: 13px; height: 13px; }

.espa-tour-list__heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.espa-tour-list__kicker {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.72);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.espa-tour-list__heading-row h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.espa-tour-list__heading-row p {
    max-width: 720px;
    margin: 11px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.7;
}

.espa-tour-list__result-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.68);
    font-size: 11px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.espa-tour-list__result-count strong { color: #fff; }
.espa-tour-list__result-count iconify-icon { width: 16px; height: 16px; color: #fff; }

.espa-tour-list__search-zone {
    position: relative;
    z-index: 100;
    margin-top: 34px;
}

.espa-tour-list__search-zone .espa-tour-search {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 5;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
}

.espa-tour-list__search-zone .espa-tour-search__form { width: 100%; }
.espa-tour-list__search-zone .espa-tour-search__dropdown { z-index: 9999 !important; }
.espa-tour-list__search-zone .espa-tour-search__field { z-index: 1; }
.espa-tour-list__search-zone .espa-tour-search__field:focus-within,
.espa-tour-list__search-zone .espa-tour-search__field:has(.espa-tour-search__dropdown:not([hidden])) { z-index: 500; }

/* =========================================================
   PAGE BODY / LAYOUT
========================================================= */

.espa-tour-list__body {
    padding: 28px 0 76px;
}

.espa-tour-list__layout {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.espa-tour-list__sidebar,
.espa-tour-list__results {
    min-width: 0;
}

/* =========================================================
   FILTER CARD
========================================================= */

.espa-tour-list__filter-card {
    position: sticky;
    top: 18px;
    overflow: hidden;
    border: 1px solid var(--tl-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .045);
}

.espa-tour-list__filter-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 17px;
    border-bottom: 1px solid var(--tl-border);
}

.espa-tour-list__filter-head > div > span {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.espa-tour-list__filter-head h2 {
    margin: 0;
    color: var(--tl-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.espa-tour-list__clear-filters {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tl-primary);
    font-size: 11px;
    font-weight: 700;
}

.espa-tour-list__filter-group {
    padding: 0 20px;
    border-bottom: 1px solid #eef2f5;
}

.espa-tour-list__filter-group:last-child {
    border-bottom: 0;
}

.espa-tour-list__filter-toggle {
    width: 100%;
    min-height: 54px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tl-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
}

.espa-tour-list__filter-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 750;
}

.espa-tour-list__filter-toggle-label iconify-icon {
    width: 17px;
    height: 17px;
    color: var(--tl-primary);
}

.espa-tour-list__filter-chevron {
    width: 15px;
    height: 15px;
    color: #94a3b8;
    transition: transform .2s ease;
}

.espa-tour-list__filter-toggle[aria-expanded="false"] .espa-tour-list__filter-chevron {
    transform: rotate(-90deg);
}

.espa-tour-list__facet-search {
    height: 40px;
    margin: 2px 0 11px;
    padding: 0 11px;
    border: 1px solid var(--tl-border);
    border-radius: 10px;
    background: var(--tl-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.espa-tour-list__facet-search iconify-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

.espa-tour-list__facet-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tl-text);
    font-size: 12px;
}

.espa-tour-list__facet-list {
    padding-bottom: 15px;
}

.espa-tour-list__facet-list.is-scrollable {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.espa-tour-list__facet-item {
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--tl-text);
    cursor: pointer;
    font-size: 12px;
}

.espa-tour-list__facet-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.espa-tour-list__facet-main input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.espa-tour-list__custom-check {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    border: 1px solid #d7dee7;
    border-radius: 6px;
    background: #fff;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

.espa-tour-list__custom-check iconify-icon {
    width: 13px;
    height: 13px;
}

.espa-tour-list__facet-main input:checked + .espa-tour-list__custom-check {
    border-color: var(--tl-primary);
    background: var(--tl-primary);
    color: #fff;
}

.espa-tour-list__facet-main input:focus-visible + .espa-tour-list__custom-check {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tl-primary) 12%, transparent);
}

.espa-tour-list__facet-item:hover .item-text {
    color: var(--tl-heading);
}

.espa-tour-list__facet-count {
    flex: 0 0 auto;
    min-width: 25px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--tl-soft);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
}

.espa-tour-list__more-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: -4px 0 15px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tl-primary);
    font-size: 10px;
    font-weight: 750;
}

.espa-tour-list__more-filter iconify-icon {
    width: 14px;
    height: 14px;
}

/* =========================================================
   RESULTS WHITE AREA
========================================================= */

.espa-tour-list__results-panel {
    padding: 18px;
    border: 1px solid var(--tl-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .035);
}

.espa-tour-list__desktop-sort {
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 5px;
    border: 1px solid var(--tl-border);
    border-radius: 14px;
    background: #f8fafc;
}

.espa-tour-list__sort-label {
    height: 38px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tl-muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.espa-tour-list__sort-label iconify-icon {
    width: 15px;
    height: 15px;
}

.espa-tour-list__sort-item {
    min-height: 38px;
    flex: 1 1 0;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--tl-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: all .15s ease;
}

.espa-tour-list__sort-item:hover {
    color: var(--tl-heading);
    background: #fff;
}

.espa-tour-list__sort-item.is-active {
    background: var(--tl-heading);
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 42, 67, .12);
}

.espa-tour-list__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity .18s ease;
}

.espa-tour-list__cards.is-loading {
    opacity: .45;
    pointer-events: none;
}

/* =========================================================
   TOUR CARD - PREMIUM UPGRADES
========================================================= */

.espa-tour-card {
    position: relative;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    min-width: 0;
    min-height: 238px;
    align-items: stretch;
    overflow: visible;
    isolation: isolate;

    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.espa-tour-card:hover {
    border-color: rgba(226, 232, 240, 1);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    transform: translateY(-3px);
    z-index: 3;
}

.espa-tour-card:has(.dropdown-menu.show) {
    z-index: 80;
}

.espa-tour-card__media-col {
    min-width: 0;
    padding: 8px 0 8px 8px;
    align-self: stretch;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
}

.espa-tour-card__media {
    position: relative;
    width: 100%;
    height: 222px !important;
    min-height: 222px !important;
    max-height: 222px;
    overflow: hidden;
    border-radius: 16px;
    background: #eef2f6;
}

/* Daha net slider dot'lar için alt gradient */
.espa-tour-card__media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
    border-radius: 0 0 16px 16px;
}

.espa-tour-card__media .swiper-wrapper,
.espa-tour-card__media .swiper-slide,
.espa-tour-card__media .swiper-slide > a {
    height: 222px !important;
    min-height: 222px !important;
    max-height: 222px;
}

.espa-tour-card__media img {
    display: block;
    width: 100%;
    height: 222px !important;
    min-height: 222px !important;
    max-height: 222px;
    object-fit: cover;
}

.espa-tour-card__slider-btn {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--tl-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(15,23,42,.12);
    opacity: 0;
    transition: opacity .16s ease, transform .16s ease;
}

.espa-tour-card:hover .espa-tour-card__slider-btn {
    opacity: 1;
}

.espa-tour-card__slider-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

.espa-tour-card__slider-btn.is-prev { left: 10px; }
.espa-tour-card__slider-btn.is-next { right: 10px; }
.espa-tour-card__slider-btn iconify-icon { width: 16px; height: 16px; }

.espa-tour-card__media .swiper-pagination {
    bottom: 8px !important;
    z-index: 10;
}

.espa-tour-card__media .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,.85);
    opacity: .7;
}

.espa-tour-card__media .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 999px;
    opacity: 1;
}

.espa-tour-card__discount {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    min-height: 26px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(239, 35, 60, 0.95);
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(239,35,60,.2);
    backdrop-filter: blur(4px);
}

.espa-tour-card__visa-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    min-height: 26px;
    padding: 4px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(239, 35, 60, 0.95);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 6px 16px rgba(239, 35, 60, .20);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.espa-tour-card__visa-badge iconify-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    color: #fff;
}

.espa-tour-card__content {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: stretch;
    border-radius: 0 20px 20px 0;
}

.espa-tour-card__main {
    min-width: 0;
    padding: 18px 18px 16px;
}

.espa-tour-card__title {
    display: block;
    color: var(--tl-heading);
    text-decoration: none;
    font-size: 17px;
    font-weight: 780;
    line-height: 1.35;
    letter-spacing: -.018em;
}

.espa-tour-card__title:hover {
    color: var(--tl-primary);
}

.espa-tour-card__location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 9px;
    color: var(--tl-muted);
    font-size: 11px;
    line-height: 1.45;
}

.espa-tour-card__location iconify-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    color: var(--tl-primary);
}

.espa-tour-card__facts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 16px;
    margin-top: 16px;
}

.espa-tour-card__facts .dropdown {
    position: relative;
    z-index: 5;
}

.espa-tour-card__facts .dropdown:has(.dropdown-menu.show) {
    z-index: 90;
}

.espa-tour-card__facts > span,
.espa-tour-card__secondary > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tl-text);
    font-size: 11px;
    font-weight: 650;
}

.espa-tour-card__facts iconify-icon,
.espa-tour-card__secondary iconify-icon {
    width: 15px;
    height: 15px;
    color: var(--tl-primary);
}

.espa-tour-card__date-btn {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #d9e6ef;
    border-radius: 9px;
    background: #f8fbfd;
    color: var(--tl-heading);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 650;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.espa-tour-card__date-btn span {
    text-decoration: none;
}

.espa-tour-card__date-btn:hover,
.espa-tour-card__date-btn[aria-expanded="true"] {
    border-color: color-mix(in srgb, var(--tl-primary) 35%, #d9e6ef);
    background: color-mix(in srgb, var(--tl-primary) 6%, #ffffff);
    color: var(--tl-primary);
}

.espa-tour-card__route-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tl-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 650;
}

.espa-tour-card__route-btn span {
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 3px;
}

.espa-tour-card__route-btn:hover {
    color: var(--tl-primary);
}

.espa-tour-card__date-chevron {
    width: 12px !important;
    height: 12px !important;
    color: #94a3b8 !important;
}

.espa-tour-card__date-menu {
    z-index: 9999 !important;
    min-width: 360px;
    max-height: 430px;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #dceaf3;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
}

.espa-tour-date-menu__head {
    position: sticky;
    top: -12px;
    z-index: 2;
    margin: -12px -12px 10px;
    padding: 15px 16px 12px;
    border-bottom: 1px solid #e3edf3;
    background: #ffffff;
}

.espa-tour-date-menu__head > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tl-heading);
}

.espa-tour-date-menu__head iconify-icon {
    width: 18px;
    height: 18px;
    color: var(--tl-primary);
}

.espa-tour-date-menu__head strong {
    font-size: 14px;
    font-weight: 800;
}

.espa-tour-date-menu__item + .espa-tour-date-menu__item {
    margin-top: 7px;
}

.espa-tour-card__date-loading,
.espa-tour-date-empty {
    min-height: 66px;
    padding: 12px;
    color: var(--tl-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
}

.espa-tour-date-empty.is-error {
    color: var(--tl-primary);
}

.espa-tour-date-option {
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #dceaf3;
    border-radius: 10px;
    background: #f8fbfd;
    color: var(--tl-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-decoration: none;
    font-size: 11px;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.espa-tour-date-option:hover {
    border-color: color-mix(in srgb, var(--tl-primary) 34%, #dceaf3);
    background: color-mix(in srgb, var(--tl-primary) 5%, #ffffff);
    color: var(--tl-heading);
    transform: translateY(-1px);
}

.espa-tour-date-option__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.espa-tour-date-option__date iconify-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--tl-primary);
}

.espa-tour-date-option__date strong {
    color: var(--tl-heading);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
}

.espa-tour-date-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.espa-tour-date-price del {
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 9px;
}

.espa-tour-date-price strong,
.espa-tour-date-price__single {
    color: var(--tl-primary);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.espa-tour-card__secondary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 15px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #eef2f5;
}

.espa-tour-card__itinerary-popover {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 240px;
}

.espa-tour-card__itinerary-popover li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 5px;
    font-size: 11px;
}

.espa-tour-card__itinerary-popover iconify-icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--tl-primary);
}

/* Premium Tags */
.espa-tour-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.espa-tour-card__tags > span,
.espa-tour-card__tag {
    min-height: 27px;
    padding: 4px 10px;
    border: 1px solid rgba(207, 234, 247, 0.5);
    background: rgba(233, 248, 255, 0.7);
    color: #1a4d66;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
}

.espa-tour-card__tag iconify-icon {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    color: var(--tl-primary);
}

.espa-tour-card__tag--more {
    min-width: 31px;
    justify-content: center;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: #dff4ff !important;
    color: var(--tl-primary) !important;
    font-weight: 800 !important;
}

/* Premium Price Box */
.espa-tour-card__price-box {
    min-width: 0;
    border-left: none;
    background: linear-gradient(180deg, #fafcfd 0%, #f4f7fa 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    border-radius: 0 20px 20px 0;
}

.espa-tour-card__price-content {
    margin: 0;
    text-align: right;
}

.espa-tour-card__price-label {
    display: block;
    margin-bottom: 6px;
    color: var(--tl-muted);
    font-size: 9px;
}

.espa-tour-card__old-price {
    display: block;
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 11px;
}

.espa-tour-card__price {
    color: var(--tl-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.espa-tour-card__price.is-discounted {
    color: var(--tl-primary);
}

.espa-tour-card__price small {
    font-size: 14px;
    font-weight: 700;
    color: var(--tl-muted);
}

.espa-tour-card__ask-price {
    color: var(--tl-muted);
    font-size: 15px;
    font-weight: 750;
}

/* Premium CTA */
.espa-tour-card__cta {
    min-height: 48px;
    padding: 0 13px;
    border-radius: 12px;
    background: var(--tl-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px -5px color-mix(in srgb, var(--tl-primary) 40%, transparent);
    transition: all 0.2s ease;
}

.espa-tour-card__cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 25px -5px color-mix(in srgb, var(--tl-primary) 50%, transparent);
}

.espa-tour-card__cta iconify-icon {
    width: 16px;
    height: 16px;
}

/* Travel Icons */
.espa-tour-card__travel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.espa-tour-card__travel iconify-icon {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: var(--espa-primary, #ef233c);
}

.espa-tour-card__depart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--tl-primary) 8%, #fff);
    color: var(--tl-heading) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
}

.espa-tour-card__depart iconify-icon {
    width: 15px;
    height: 15px;
    color: var(--tl-primary);
}


/* =========================================================
   NATIVE LIST GALLERY - SWIPER INDEPENDENT
========================================================= */

.espa-tour-card__media.is-native-gallery .swiper-wrapper {
    display: block !important;
    width: 100% !important;
    height: 222px !important;
    transform: none !important;
    transition: none !important;
}

.espa-tour-card__media.is-native-gallery .swiper-slide {
    width: 100% !important;
    height: 222px !important;
    margin: 0 !important;
    transform: none !important;
}

.espa-tour-card__media.is-native-gallery .swiper-slide[hidden] {
    display: none !important;
}

.espa-tour-card__media.is-native-gallery .swiper-slide.is-active {
    display: block !important;
    animation: espaTourGalleryFade .22s ease;
}

.espa-tour-card__media.is-native-gallery .swiper-pagination {
    position: absolute;
    left: 50%;
    bottom: 9px !important;
    z-index: 7;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transform: translateX(-50%);
}

.espa-tour-card__gallery-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
    transition: width .18s ease, background .18s ease;
}

.espa-tour-card__gallery-dot.is-active {
    width: 18px;
    background: #fff;
}

@keyframes espaTourGalleryFade {
    from { opacity: .35; }
    to { opacity: 1; }
}


/* =========================================================
   LOAD MORE / EMPTY
========================================================= */

.espa-tour-list__load-more {
    padding-top: 22px;
    text-align: center;
}

.espa-tour-list__load-more:empty {
    display: none;
}

.espa-tour-list__load-more-btn,
.espa-tour-list__empty-btn {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--tl-primary);
    border-radius: 999px;
    background: #fff;
    color: var(--tl-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
}

.espa-tour-list__load-more-btn:hover,
.espa-tour-list__empty-btn:hover {
    background: var(--tl-primary);
    color: #fff;
}

.espa-tour-list__load-more-btn iconify-icon {
    width: 17px;
    height: 17px;
}

.espa-tour-list__empty {
    padding: 66px 24px;
    text-align: center;
}

.espa-tour-list__empty-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--tl-soft);
    color: var(--tl-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.espa-tour-list__empty-icon iconify-icon {
    width: 28px;
    height: 28px;
}

.espa-tour-list__empty h3 {
    margin: 0;
    color: var(--tl-heading);
    font-size: 20px;
    font-weight: 800;
}

.espa-tour-list__empty p {
    max-width: 520px;
    margin: 8px auto 20px;
    color: var(--tl-muted);
    font-size: 12px;
    line-height: 1.65;
}

/* =========================================================
   MOBILE TOOLBAR
========================================================= */

.espa-tour-list__mobile-toolbar {
    position: sticky;
    top: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
    padding: 9px 0;
    background: color-mix(in srgb, var(--tl-bg) 94%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.espa-tour-list__mobile-action {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--tl-border);
    border-radius: 12px;
    background: #fff;
    color: var(--tl-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
}

.espa-tour-list__mobile-action iconify-icon {
    width: 18px;
    height: 18px;
    color: var(--tl-primary);
}

.espa-tour-list__mobile-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--tl-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}


/* =========================================================
   SEO
========================================================= */

.espa-tour-list__seo {
    overflow: hidden;
    margin-top: 28px;
    border: 1px solid var(--tl-border);
    border-radius: 22px;
    background: #fff;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    box-shadow: 0 10px 32px rgba(15,23,42,.035);
}

.espa-tour-list__seo-side {
    padding: 30px;
    background: linear-gradient(145deg, #102f4a 0%, #293651 100%);
    color: #fff;
}

.espa-tour-list__seo-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 13px;
    background: rgba(255,255,255,.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.espa-tour-list__seo-icon iconify-icon {
    width: 21px;
    height: 21px;
}

.espa-tour-list__seo-side > span {
    display: block;
    color: rgba(255,255,255,.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.espa-tour-list__seo-side h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.espa-tour-list__seo-content {
    padding: 32px;
    color: var(--tl-text);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   SCROLLBARS
========================================================= */

.espa-tour-list__facet-list.is-scrollable::-webkit-scrollbar,
.espa-tour-card__date-menu::-webkit-scrollbar {
    width: 5px;
}
.espa-tour-list__facet-list.is-scrollable::-webkit-scrollbar-track,
.espa-tour-card__date-menu::-webkit-scrollbar-track {
    background: transparent;
}
.espa-tour-list__facet-list.is-scrollable::-webkit-scrollbar-thumb,
.espa-tour-card__date-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d8dee7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1399.98px) {
    .espa-tour-list__layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 20px;
    }
    .espa-tour-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    .espa-tour-card__content {
        grid-template-columns: minmax(0, 1fr) 200px;
    }
}

@media (max-width: 1199.98px) {
    .espa-tour-list__layout {
        grid-template-columns: 1fr;
    }
    .espa-tour-list__results-panel {
        padding: 14px;
    }
}

@media (max-width: 991.98px) {
    .espa-tour-list__top {
        padding-top: 24px;
    }
    .espa-tour-list__heading-row {
        align-items: flex-start;
    }
    .espa-tour-card {
        grid-template-columns: 210px minmax(0, 1fr);
    }
    .espa-tour-card__content {
        grid-template-columns: 1fr;
    }
    .espa-tour-card__price-box {
        background: transparent;
        border-top: 1px dashed #eef2f5;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-radius: 0 0 20px 20px;
    }
    .espa-tour-card__price-content {
        text-align: left;
    }
    .espa-tour-card__cta {
        min-width: 140px;
        min-height: 44px;
    }
    .espa-tour-list__seo {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   MOBILE FILTER / SORT MODALS
========================================================= */

@media (max-width: 991.98px) {
    .espa-tour-list__modal .modal-dialog { margin: 0; }
    .espa-tour-list__modal .modal-content {
        position: relative;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: #f4f7fa;
        box-shadow: none;
    }
    .espa-tour-list__modal .modal-header {
        position: sticky;
        top: 0;
        z-index: 30;
        min-height: 88px;
        padding: 18px 74px 17px 20px;
        border: 0;
        border-bottom: 1px solid #e7edf3;
        background: rgba(255,255,255,.98);
        box-shadow: 0 5px 18px rgba(15,23,42,.04);
    }
    .espa-tour-list__modal-kicker {
        margin-bottom: 5px;
        color: #8a97a8;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .10em;
    }
    .espa-tour-list__modal .modal-title {
        margin: 0;
        color: var(--tl-heading);
        font-size: 25px;
        font-weight: 850;
        line-height: 1;
        letter-spacing: -.035em;
    }
    .espa-tour-list__modal-close {
        position: absolute !important;
        top: 18px !important;
        right: 18px !important;
        left: auto !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
        padding: 0 !important;
        margin: 0 !important;
        border: 1px solid #dce4ec !important;
        border-radius: 14px !important;
        background: #f8fafc !important;
        color: var(--tl-heading) !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: none !important;
        opacity: 1 !important;
    }
    .espa-tour-list__modal-close iconify-icon {
        width: 23px !important;
        height: 23px !important;
        color: var(--tl-heading);
    }
    .espa-tour-list__modal-close:active {
        background: #edf2f7 !important;
        transform: scale(.96);
    }
    .espa-tour-list__modal .modal-body {
        padding: 14px !important;
        background: #f4f7fa;
    }
    #tourFilterModal .espa-tour-list__modal-clear {
        min-height: 46px;
        margin: 0 0 12px;
        border: 1px solid #f0c7cd;
        border-radius: 12px;
        background: #fff;
        color: var(--tl-primary);
        font-size: 11px;
        box-shadow: 0 4px 14px rgba(15,23,42,.025);
    }
    #tourFilterModal .espa-tour-list__filter-group {
        overflow: hidden;
        margin: 0 0 10px;
        padding: 0 16px !important;
        border: 1px solid #e2e8ef !important;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 5px 16px rgba(15,23,42,.025);
    }
    #tourFilterModal .espa-tour-list__filter-group:last-child { margin-bottom: 0; }
    #tourFilterModal .espa-tour-list__filter-toggle { min-height: 58px; padding: 0; }
    #tourFilterModal .espa-tour-list__filter-toggle-label { gap: 10px; font-size: 14px; font-weight: 800; }
    #tourFilterModal .espa-tour-list__filter-toggle-label iconify-icon { width: 18px; height: 18px; color: var(--tl-primary); }
    #tourFilterModal .espa-tour-list__filter-chevron { width: 16px; height: 16px; }
    #tourFilterModal .espa-tour-list__facet-search {
        height: 44px;
        margin: 0 0 10px;
        padding: 0 12px;
        border: 1px solid #dce5ed;
        border-radius: 11px;
        background: #f8fafc;
    }
    #tourFilterModal .espa-tour-list__facet-search input { font-size: 13px; }
    #tourFilterModal .espa-tour-list__facet-list { padding-bottom: 10px; }
    #tourFilterModal .espa-tour-list__facet-item {
        min-height: 46px;
        padding: 0 2px;
        border-top: 1px solid #f0f3f6;
        font-size: 13px;
    }
    #tourFilterModal .espa-tour-list__facet-item:first-child { border-top: 0; }
    #tourFilterModal .espa-tour-list__facet-main { gap: 10px; }
    #tourFilterModal .espa-tour-list__custom-check { width: 21px; height: 21px; flex-basis: 21px; border-radius: 6px; }
    #tourFilterModal .espa-tour-list__facet-count { min-width: 28px; height: 25px; padding: 0 7px; background: #f4f7fa; color: #8290a3; font-size: 10px; }
    #tourFilterModal .espa-tour-list__more-filter { min-height: 38px; margin: 0 0 10px; padding: 0 4px; color: var(--tl-heading); font-size: 11px; }
    #tourFilterModal .modal-footer {
        position: sticky;
        bottom: 0;
        z-index: 30;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid #e1e8ef;
        background: rgba(255,255,255,.98);
        box-shadow: 0 -8px 22px rgba(15,23,42,.06);
    }
    #tourFilterModal .espa-tour-list__modal-apply { min-height: 50px; border-radius: 13px; font-size: 13px; }

    #tourSortModal .modal-dialog { margin: auto 12px; }
    #tourSortModal .modal-content {
        overflow: hidden;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 24px 70px rgba(15,23,42,.24);
    }
    #tourSortModal .modal-header {
        position: relative;
        min-height: 92px;
        padding: 20px 72px 18px 20px;
        border-bottom: 1px solid #edf1f5;
        background: #fff;
        box-shadow: none;
    }
    #tourSortModal .modal-body { padding: 10px 12px 14px !important; background: #f7f9fb; }
    #tourSortModal .espa-tour-list__mobile-sort { display: flex; flex-direction: column; gap: 8px; }
    #tourSortModal .espa-tour-list__mobile-sort-item {
        min-height: 56px;
        padding: 0 14px;
        border: 1px solid #e2e8ef;
        border-radius: 13px;
        background: #fff;
        color: #27364a;
        font-size: 13px;
        font-weight: 750;
        box-shadow: 0 3px 10px rgba(15,23,42,.02);
        transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
    }
    #tourSortModal .espa-tour-list__mobile-sort-item:active { transform: scale(.99); }
    #tourSortModal .espa-tour-list__mobile-sort-item iconify-icon { width: 20px; height: 20px; color: transparent; }
    #tourSortModal .espa-tour-list__mobile-sort-item.is-active {
        border-color: color-mix(in srgb, var(--tl-primary) 35%, #e2e8ef);
        background: color-mix(in srgb, var(--tl-primary) 7%, #fff);
        color: var(--tl-primary);
    }
    #tourSortModal .espa-tour-list__mobile-sort-item.is-active iconify-icon { color: var(--tl-primary); }
}

/* =========================================================
   MOBILE TOUR CARD GALLERY CONTROLS - COMPACT
========================================================= */

/* =========================================================
   MOBILE RESPONSIVE - PREMIUM APP LAYOUT (SADECE MOBİL)
========================================================= */

@media (max-width: 767.98px) {
    /* KART İSKELETİ */
    .espa-tour-card {
        display: flex;
        flex-direction: column;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
        border: 1px solid #eef2f6;
        overflow: hidden;
    }

    /* GÖRSEL ALANI */
    .espa-tour-card__media-col {
        padding: 0;
        border-radius: 16px 16px 0 0;
    }

    .espa-tour-card__media,
    .espa-tour-card__media .swiper-wrapper,
    .espa-tour-card__media .swiper-slide,
    .espa-tour-card__media .swiper-slide > a,
    .espa-tour-card__media img {
        width: 100%;
        height: 220px !important;
        min-height: 220px !important;
        border-radius: 16px 16px 0 0;
    }

    .espa-tour-card__media::after { border-radius: 0; }

    /* İÇERİK ALANI (Başlık, Özellikler) */
    .espa-tour-card__content {
        display: flex;
        flex-direction: column;
        border-radius: 0 0 16px 16px;
    }

    .espa-tour-card__main {
        padding: 20px 16px 12px;
    }

    .espa-tour-card__title {
        font-size: 18px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    /* KUSURLU TEKRARI GİZLEME (2. İstanbul Çıkışlı rozetini mobilde yok ediyoruz) */
    .espa-tour-card__depart {
        display: none !important;
    }

    /* LİSTE ÖĞELERİNİ HİZALAMA VE BİRLEŞTİRME */
    .espa-tour-card__facts,
    .espa-tour-card__secondary {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding: 0;
        border: none; /* Çirkin çizgileri tamamen kaldırdık */
        gap: 0;
    }

    /* Tüm liste elemanları (Konum, Süre, Ulaşım, Güzergah) için standart app görünümü */
    .espa-tour-card__location,
    .espa-tour-card__facts > span,
    .espa-tour-card__secondary > span,
    .espa-tour-card__route-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px !important;
        color: #475569 !important;
        font-weight: 600 !important;
        margin-bottom: 12px;
        text-decoration: none !important;
    }

    .espa-tour-card__route-btn span {
        text-decoration: underline !important;
        text-underline-offset: 3px;
    }

    .espa-tour-card__location iconify-icon,
    .espa-tour-card__facts > span iconify-icon,
    .espa-tour-card__secondary > span iconify-icon,
    .espa-tour-card__route-btn iconify-icon {
        width: 18px;
        height: 18px;
        color: var(--tl-primary);
        flex: 0 0 auto;
    }

    /* TARİH SEÇİCİ - NATIVE APP INPUT GÖRÜNÜMÜ */
    .espa-tour-card__facts .dropdown {
        width: 100%;
        margin-bottom: 16px; /* Altındaki ulaşımla arasına temiz boşluk */
    }

    .espa-tour-card__date-btn {
        width: 100%;
        min-height: 46px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        padding: 0 16px;
        justify-content: space-between;
        color: #0f172a;
        font-size: 14px;
        box-shadow: 0 2px 4px rgba(15,23,42,0.02);
    }

    .espa-tour-card__tags {
        margin-top: 4px;
        gap: 6px;
    }

    /* PREMIUM APP FOOTER (Fiyat ve Buton) */
    .espa-tour-card__price-box {
        background: #ffffff;
        border-top: 1px solid #f1f5f9;
        flex-direction: row; /* Yan yana dizilim zorunlu */
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        border-radius: 0 0 16px 16px;
    }

    .espa-tour-card__price-content {
        margin: 0;
        text-align: left;
    }

    .espa-tour-card__price-label {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .espa-tour-card__price {
        font-size: 22px;
        line-height: 1;
    }

    .espa-tour-card__cta {
        flex: 0 0 auto;
        min-width: 135px; /* Butonun ekran sağında sosyal medya ikonlarına ezilmesini engeller */
        min-height: 44px;
        padding: 0 16px;
        border-radius: 10px;
        font-size: 12px;
        white-space: nowrap; /* Metnin alt alta kaymasını engeller */
        box-shadow: 0 8px 16px -4px color-mix(in srgb, var(--tl-primary) 35%, transparent);
    }

    .espa-tour-card__date-menu {
        min-width: 100%;
        width: 100%;
    }

    /* ==========================================
       MOBİL GALERİ OKLARI VE NOKTALARI (KESİN ÇÖZÜM)
       ========================================== */

    /* Oklar (Prev / Next) */
    .espa-tour-card__slider-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        opacity: 0.9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .espa-tour-card__slider-btn.is-prev { left: 10px !important; }
    .espa-tour-card__slider-btn.is-next { right: 10px !important; }
    .espa-tour-card__slider-btn iconify-icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 16px !important;
        display: block !important;
    }

    /* Noktalar (Pagination) Kapsayıcısı */
    .espa-tour-card__media.is-native-gallery .swiper-pagination {
        position: absolute !important;
        left: 50% !important;
        bottom: 12px !important;
        width: auto !important;
        height: 6px !important;
        min-height: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Standart Pasif Nokta */
    .espa-tour-card__gallery-dot {
        display: block !important;
        flex: 0 0 auto !important;
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
        max-width: 6px !important;
        max-height: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
        line-height: 0 !important;
        font-size: 0 !important;
    }

    /* Aktif (Seçili) Nokta */
    .espa-tour-card__gallery-dot.is-active {
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 6px !important;
        min-height: 6px !important;
        max-height: 6px !important;
        background: #ffffff !important;
    }

    /* Tema veya framework'ten (Bootstrap vb.) gelen tuhaf buton stillerini tamamen ez */
    .espa-tour-card__media button.espa-tour-card__gallery-dot {
        appearance: none !important;
        -webkit-appearance: none !important;
        outline: none !important;
    }
}

@media (max-width: 390px) {
    /* Çok dar ekranlar için hata payı düzeltmeleri */
    .espa-tour-card__price {
        font-size: 19px;
    }
    .espa-tour-card__cta {
        min-width: 120px;
        padding: 0 12px;
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE FILTER / SORT - FINAL FIX
========================================================= */

/*
 * Filter / Sort modalları .espa-tour-list dışında bulunduğu için
 * tema değişkenlerini modal scope'una da tanımlıyoruz.
 */
.espa-tour-list__modal {
    --tl-primary: var(--espa-primary, #ef233c);
    --tl-heading: var(--espa-heading, #102a43);
    --tl-text: var(--espa-text, #334155);
    --tl-muted: var(--espa-text-muted, #64748b);
    --tl-border: var(--espa-border, #e5e7eb);
    --tl-bg: var(--espa-body-bg, #f5f7fa);
    --tl-soft: #f8fafc;
}


@media (max-width: 991.98px) {

    /* =====================================================
       FILTER MODAL - CHECKBOX
    ===================================================== */

    #tourFilterModal
    .filter-check:checked
    + .espa-tour-list__custom-check {
        border-color: var(--tl-primary) !important;
        background: var(--tl-primary) !important;
        color: #fff !important;

        box-shadow:
                0 0 0 3px color-mix(
                        in srgb,
                        var(--tl-primary) 10%,
                        transparent
                ),
                0 4px 10px color-mix(
                        in srgb,
                        var(--tl-primary) 16%,
                        transparent
                );
    }


    #tourFilterModal
    .filter-check:checked
    + .espa-tour-list__custom-check
    iconify-icon {
        width: 14px !important;
        height: 14px !important;

        color: #fff !important;
        opacity: 1 !important;
    }


    /*
     * Seçili satırın metni de biraz belirginleşsin.
     * Layout değişmez.
     */
    #tourFilterModal
    .espa-tour-list__facet-item:has(.filter-check:checked)
    .item-text {
        color: var(--tl-heading) !important;
        font-weight: 750;
    }



    /* =====================================================
       FILTER / SORT MODAL CLOSE BUTTON
    ===================================================== */

    #tourFilterModal .espa-tour-list__modal-close,
    #tourSortModal .espa-tour-list__modal-close {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }


    #tourFilterModal
    .espa-tour-list__modal-close
    iconify-icon,

    #tourSortModal
    .espa-tour-list__modal-close
    iconify-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 30px !important;

        color: var(--tl-heading) !important;
    }



    /* =====================================================
       FILTER MODAL - SONUÇLARI GÖSTER
    ===================================================== */

    #tourFilterModal .espa-tour-list__modal-apply {
        width: 100%;

        min-height: 52px;
        padding: 0 18px;

        border: 1px solid var(--tl-primary) !important;
        border-radius: 13px;

        background: var(--tl-primary) !important;
        color: #fff !important;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        font-size: 13px;
        font-weight: 800;
        letter-spacing: .01em;

        box-shadow:
                0 10px 22px
                color-mix(
                        in srgb,
                        var(--tl-primary) 24%,
                        transparent
                );
    }


    #tourFilterModal .espa-tour-list__modal-apply:hover,
    #tourFilterModal .espa-tour-list__modal-apply:focus,
    #tourFilterModal .espa-tour-list__modal-apply:active {
        border-color: var(--tl-primary) !important;
        background: var(--tl-primary) !important;
        color: #fff !important;
    }



    /* =====================================================
       SORT MODAL
    ===================================================== */

    #tourSortModal .espa-tour-list__mobile-sort-item {
        display: flex !important;
        align-items: center;
        justify-content: space-between;

        gap: 16px;
    }


    /*
     * Pasif seçeneklerde check gizli kalır fakat
     * sağdaki alan korunur. Seçilince ortaya çıkar.
     */
    #tourSortModal
    .espa-tour-list__mobile-sort-item
    iconify-icon {
        flex: 0 0 auto;

        width: 22px !important;
        height: 22px !important;

        padding: 6px;

        box-sizing: content-box;

        border-radius: 10px;

        background: transparent;

        color: transparent;
        opacity: 0;

        transition:
                opacity .16s ease,
                color .16s ease,
                background .16s ease,
                transform .16s ease;
    }


    /*
     * SEÇİLİ SIRALAMA
     *
     * Hafif primary arka plan +
     * primary border +
     * sağ tarafta büyük check.
     */
    #tourSortModal
    .espa-tour-list__mobile-sort-item.is-active {
        border-color:
                color-mix(
                        in srgb,
                        var(--tl-primary) 38%,
                        #e2e8ef
                ) !important;

        background:
                color-mix(
                        in srgb,
                        var(--tl-primary) 9%,
                        #fff
                ) !important;

        color: var(--tl-primary) !important;

        box-shadow:
                0 6px 18px
                color-mix(
                        in srgb,
                        var(--tl-primary) 8%,
                        transparent
                );
    }


    #tourSortModal
    .espa-tour-list__mobile-sort-item.is-active
    iconify-icon {
        color: var(--tl-primary) !important;

        background:
                color-mix(
                        in srgb,
                        var(--tl-primary) 13%,
                        #fff
                ) !important;

        opacity: 1 !important;

        transform: scale(1.03);
    }
}