:root {
  --ink: #0d1b2a;
  --deep: #10263f;
  --gold: #f5a623;
  --card-radius: 18px;
  --shadow: 0 12px 30px rgba(13, 27, 42, 0.12);
}

.hero-tabs {
    display: flex;
    gap: 10px;
    border-radius: 10px;

    overflow-x: auto;        /* Enable horizontal scroll */
    flex-wrap: nowrap;       /* Prevent wrapping */
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (optional for clean UI) */
.hero-tabs::-webkit-scrollbar {
    display: none;
}

.hero-tab {
    flex: 0 0 auto;          /* Prevent shrinking */
    white-space: nowrap;     /* Prevent text wrap */

    padding: 10px 18px;
    border-radius: 25px;
    border: none;
    background: #e4e7ec;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
    text-decoration: none;
}

.hero-tab.active {
    background: #4f46e5;
    color: #fff;
}

.filter-bar { background: #fff; box-shadow: 0 4px 24px rgba(13,27,42,.08); padding: 20px 0; }
.filter-bar .container-xl { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.filter-group { flex: 1; min-width: 140px; }
.filter-group.search-group { min-width: 220px; flex: 2; }
.filter-group label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a96a3; margin-bottom: 5px; display: block; }
.filter-group .form-control, .filter-group .form-select { border: 1.5px solid #e4e8ee; border-radius: 10px; font-size: .85rem; padding: 8px 14px; background: #f8fafc; color: var(--ink); height: 40px; }
.search-wrap { position: relative; }
.search-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #b0bbc8; }
.filter-group .form-control.search-input { padding-left: 38px; }

.main-section { padding: 40px 0 60px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.count-badge { background: rgba(245,166,35,.15); color: var(--gold); font-weight: 700; font-size: .78rem; padding: 4px 12px; border-radius: 100px; margin-left: 10px; }

.pkg-card { background: #fff; border-radius: var(--card-radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s; height: 100%; display: flex; flex-direction: column; }
.pkg-card:hover { transform: translateY(-6px); }
.pkg-img-wrap { position: relative; overflow: hidden; height: 200px; background: linear-gradient(135deg, #1a3a5c, #0d2842); }
.pkg-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pkg-badge { position: absolute; top: 14px; left: 14px; background: gold; color: var(--deep); font-size: .68rem; font-weight: 800; padding: 4px 11px; border-radius: 100px; }
.pkg-price-overlay { position: absolute; bottom: 14px; right: 14px; background: rgba(13,27,42,.82); color: #fff; padding: 6px 14px; border-radius: 10px; font-weight: 700; }
.pkg-price-overlay span { color: gold; }
.pkg-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.pkg-desc { font-size: .82rem; color: #7a8899; line-height: 1.55; margin-bottom: 14px; flex: 1; }
.pkg-meta { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.pkg-meta-item { display: flex; align-items: center; gap: 5px; font-size: .75rem; color: #8a96a3; }
.pkg-meta-item.pkg-meta-city {
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #7c8794;
}
.btn-view { display: block; width: 100%; padding: 11px; background: var(--deep); color: #fff; border-radius: 10px; font-weight: 700; text-align: center; text-decoration: none; }
.btn-view:hover { background: gold; color: var(--deep); }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.18); font-size: 3rem; }

/* Tourism listing cards — seat-aware offer layout (min/max capacity + seats left) */
.to-offer-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    border: 1px solid #eef0f4;
}
.to-offer-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15, 23, 42, .1); }
.to-offer-card__thumb { height: 132px; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); overflow: hidden; flex-shrink: 0; }
.to-offer-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.to-offer-card__thumb-placeholder { height: 132px; background: linear-gradient(145deg, #ede9fe 0%, #fae8ff 50%, #e0e7ff 100%); display: flex; align-items: center; justify-content: center; color: #a78bfa; font-size: 2.25rem; flex-shrink: 0; }
.to-offer-card__body { padding: 1.1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.to-offer-card__title { font-size: 1.06rem; font-weight: 800; color: #0f172a; margin: 0 0 .35rem; letter-spacing: -.02em; line-height: 1.25; }
.to-offer-card__loc { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: #64748b; margin-bottom: .72rem; }
.to-offer-card__loc i { opacity: .85; }
.to-offer-card__row { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; font-size: .8rem; color: #64748b; margin-bottom: .58rem; }
.to-offer-card__row span { display: inline-flex; align-items: center; gap: .35rem; }
.to-offer-card__row i { font-size: .9rem; opacity: .75; }
.to-offer-card__seats { font-size: .8rem; color: #64748b; margin-bottom: .38rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.to-offer-card__minmax { font-size: .8rem; color: #64748b; margin-bottom: .55rem; }
.to-offer-card__purple { color: #7c3aed; font-weight: 800; }
.to-offer-card__hint { font-size: .72rem; color: #94a3b8; margin-bottom: .75rem; line-height: 1.45; }
.to-offer-card__footer { margin-top: auto; padding-top: .78rem; border-top: 1px solid #f1f5f9; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.to-offer-card__price { font-size: 1.28rem; font-weight: 800; color: #7c3aed; line-height: 1.1; }
.to-offer-card__price span { font-size: .76rem; font-weight: 600; color: #94a3b8; margin-left: .15rem; }
.to-offer-card__btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .48rem 1.2rem; border-radius: 999px;
    border: 2px solid #7c3aed; color: #7c3aed; font-weight: 700; font-size: .82rem;
    text-decoration: none; white-space: nowrap; transition: background .15s, color .15s;
}
.to-offer-card__btn:hover { background: #7c3aed; color: #fff; }
.to-offer-card__meta-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .25rem; }
.to-offer-card__rating { font-size: .72rem; font-weight: 700; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; padding: .15rem .45rem; border-radius: 999px; white-space: nowrap; }

.ride-card { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.08); margin-bottom: 12px; }
.ride-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.apply-btn, .join-btn { border-radius: 8px; }

/* —— Outstation page (ride browse) —— */
.os-page { background: #f0f2f5; min-height: 50vh; padding-bottom: 2rem; }
.os-grad-cta {
    border: 0;
    color: #fff;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(120deg, #4e54f3 0%, #8f50fb 100%);
    box-shadow: 0 4px 14px rgba(78, 84, 243, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    font-size: 0.875rem;
}
.os-grad-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(78, 84, 243, 0.45); }
.os-grad-cta:disabled { opacity: 0.5; transform: none; }

.os-vehicle-scroller {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 0.75rem;
    scrollbar-width: none;
}
.os-vehicle-scroller::-webkit-scrollbar { display: none; }

.os-vehicle-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 14px;
    border: 2px solid #d8dde6;
    background: #fff;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.os-vehicle-pill i { font-size: 1.1rem; opacity: 0.85; }
.os-vehicle-pill__media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.35rem;
    flex-shrink: 0;
}
.os-vehicle-pill__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.os-vehicle-pill__media--photo img {
    border-radius: 5px;
}
.os-vehicle-pill--veh:not(.active) .os-vehicle-pill__media--photo img {
    opacity: 0.92;
    filter: saturate(0.92);
}
.os-vehicle-pill.active .os-vehicle-pill__media--photo img {
    opacity: 1;
    filter: none;
}
.os-vehicle-pill.active .os-vehicle-pill__media:not(.os-vehicle-pill__media--photo) img {
    filter: drop-shadow(0 0 0.5px rgba(29, 78, 216, 0.35));
}
/* Vehicle-type pills: blue icon + grey label when not selected */
.os-vehicle-pill--veh:not(.active) i {
    color: #2563eb;
    opacity: 1;
}
.os-vehicle-pill:hover { border-color: #9ca3af; color: #374151; }
.os-vehicle-pill.active {
    border-color: #2563eb;
    color: #1d4ed8;
    background: #eff6ff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}
.os-vehicle-pill.active i { color: #2563eb; }

.os-filter-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}
.os-input-wrap {
    position: relative;
}
.os-input-wrap .os-field-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 1.1rem; pointer-events: none; }
.os-input-wrap .os-field-icon.text-primary { color: #2563eb !important; }
.os-input-wrap .os-field-icon.purple { color: #8f50fb; }
.os-input-wrap .form-control { padding-left: 2.4rem; border-radius: 12px; border: 1.5px solid #e5e7eb; min-height: 44px; font-size: 0.9rem; }
.os-input-wrap .form-control:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }

/* From / To cities + circular swap — single horizontal row (all breakpoints) */
.os-city-route-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0.35rem;
    margin-bottom: 0.15rem;
}
.os-city-field {
    flex: 1 1 0;
    min-width: 0;
}
.os-city-field .form-label {
    display: block;
}
.os-swap-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}
.os-swap-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    line-height: 1;
    padding: 0;
}
.os-swap-btn i {
    font-size: 1.05rem;
}
.os-swap-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #2563eb;
}

@media (max-width: 400px) {
    .os-city-route-row {
        gap: 0.25rem;
    }
    .os-swap-btn {
        width: 40px;
        height: 40px;
    }
    .os-swap-btn i {
        font-size: 0.95rem;
    }
}

.os-apply-filters {
    min-height: 44px;
    border-radius: 12px;
    background: #0f172a;
    border: 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
}
.os-apply-filters:hover { background: #1e293b; color: #fff; }

.os-results-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.os-results-title { font-weight: 700; color: #0f172a; font-size: 1.15rem; display: flex; align-items: center; gap: 0.4rem; margin: 0; }
.os-results-title i { color: #2563eb; font-size: 1.1rem; }
.os-results-sub { color: #64748b; font-size: 0.875rem; margin: 0.2rem 0 0; }
.os-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
}
.os-count-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }

.os-ride-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.os-ride-body { display: flex; flex-wrap: wrap; gap: 0.9rem; padding: 1rem 1.1rem; align-items: flex-start; }
.os-ride-avatar-wrap { position: relative; flex-shrink: 0; }
.os-ride-avatar {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.os-ride-online {
    position: absolute; top: 2px; right: 2px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}
.os-ride-crown {
    position: absolute; bottom: -2px; right: -2px;
    width: 20px; height: 20px; border-radius: 50%;
    background: linear-gradient(145deg, #fbbf24, #d97706);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    border: 2px solid #fff;
}
.os-ride-main { flex: 1; min-width: 180px; }
.os-ride-route { font-weight: 700; color: #0f172a; font-size: 1rem; margin-bottom: 0.35rem; }
.os-ride-when { color: #64748b; font-size: 0.82rem; display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.45rem; }
.os-ride-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 0.35rem; }
.os-tag-seats { color: #059669; font-weight: 600; font-size: 0.8rem; }
.os-tag-vt {
    background: #ede9fe; color: #6d28d9; font-size: 0.75rem; font-weight: 600;
    padding: 0.2rem 0.55rem; border-radius: 8px; text-transform: capitalize;
}
.os-tag-shared { color: #64748b; font-size: 0.78rem; display: inline-flex; align-items: center; gap: 0.25rem; }
.os-ride-by { color: #64748b; font-size: 0.85rem; display: flex; align-items: center; gap: 0.3rem; }
.os-ride-by i { color: #2563eb; }

.os-ride-side { text-align: right; min-width: 120px; }
.os-ride-price { font-weight: 700; color: #0f172a; font-size: 1.05rem; }
.os-ride-stars {
    display: inline-flex; align-items: center; gap: 0.25rem;
    background: #fffbeb; color: #b45309;
    font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 8px; margin: 0.4rem 0;
}

.os-ride-foot {
    display: flex; flex-wrap: wrap; justify-content: space-around; gap: 0.5rem 1rem;
    background: #f8fafc;
    padding: 0.65rem 1rem; border-top: 1px solid #e2e8f0;
    font-size: 0.75rem; color: #64748b;
}
.os-ride-foot > div { display: flex; align-items: center; gap: 0.35rem; }
.os-ride-foot i { color: #94a3b8; }

/* Dual price range */
.os-price-block { margin-top: 0.5rem; }
.os-price-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.os-price-block-head label { font-size: 0.85rem; color: #64748b; margin: 0; }
.os-price-clear { font-size: 0.85rem; color: #2563eb; text-decoration: none; font-weight: 500; }
.os-price-clear:hover { text-decoration: underline; }

.os-dual-range { position: relative; height: 32px; margin: 0.5rem 0 1.75rem; }
.os-dual-range__bg { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 6px; border-radius: 6px; background: #e2e8f0; }
.os-dual-range__fill {
    position: absolute; top: 50%; transform: translateY(-50%); height: 6px; border-radius: 6px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    pointer-events: none;
    left: 0;
}
.os-dual-range input[type="range"] {
    position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 32px;
    margin: 0; background: none; -webkit-appearance: none; pointer-events: none;
    z-index: 2;
}
.os-dual-range input[type="range"]#outstationMaxPrice { z-index: 3; }
.os-dual-range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 6px; }
.os-dual-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; pointer-events: auto;
    width: 18px; height: 18px; border-radius: 50%;
    background: #2563eb; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(37, 99, 235, 0.45);
    margin-top: -6px; cursor: pointer;
}
.os-dual-range input[type="range"]::-moz-range-track { background: none; }
.os-dual-range input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: #2563eb; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(37, 99, 235, 0.45);
    pointer-events: auto; cursor: pointer;
}
.os-dual-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: #94a3b8; margin-top: -0.5rem; }

.os-row-2 { margin-top: 0.5rem; }

.join-btn.os-grad-cta, .os-grad-cta.btn { border-radius: 12px; }

@media (max-width: 576px) {
    .os-ride-side { text-align: left; width: 100%; }
}

/* —— Public /tourism filter (purple theme) —— */
:root {
    --tf-purple: #7c3aed;
    --tf-purple-dark: #6d28d9;
    --tf-lavender: #ede9fe;
    --tf-border: #e7e5f0;
    --tf-muted: #64748b;
}

.tourism-browser-form {
    position: relative;
}

.tourism-browser {
    padding-bottom: 2.5rem;
    background: #f4f6fb;
}

/* Side-by-side filter + listings from tablet up (explicit grid so it never stacks above listing on desktop) */
.tourism-layout-row > [class*="col-"] {
    min-width: 0;
}

@media (min-width: 768px) {
    .tourism-browser .tourism-layout-row {
        display: grid !important;
        grid-template-columns: minmax(260px, 31%) minmax(0, 1fr);
        gap: 1.25rem 1.5rem;
        align-items: start;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .tourism-browser .tourism-layout-row > [class*="col-"] {
        width: 100%;
        max-width: none;
        flex: none;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1200px) {
    .tourism-browser .tourism-layout-row {
        grid-template-columns: minmax(280px, 28%) minmax(0, 1fr);
        gap: 1.35rem 1.75rem;
    }
}

.tourism-filter-backdrop {
    display: none !important;
}

.tourism-inline-mobile-head {
    padding: 0.85rem 1rem 0.65rem;
    border-bottom: 1px solid var(--tf-border, #e7e5f0);
    background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

@media (min-width: 768px) {
    .tourism-inline-mobile-head {
        display: none !important;
    }
}

.tourism-mobile-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}
.tourism-mobile-sub {
    font-size: 0.8rem;
    color: var(--tf-muted, #64748b);
    margin-top: 0.15rem;
}

.tourism-sidebar-head {
    padding: 1rem 1rem 0.35rem;
    border-bottom: 1px solid var(--tf-border, #e7e5f0);
    background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}
@media (min-width: 768px) {
    .tourism-sidebar-head {
        border-bottom: none;
        background: transparent;
        padding: 1rem 0.85rem 0.5rem;
    }
}

.tourism-desktop-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tourism-found-pill-wrap {
    margin-top: 0.35rem;
}

.tourism-found-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.tourism-found-pill__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    padding: 0.18rem 0.52rem;
    border-radius: 999px;
    background: rgba(251, 146, 60, 0.2);
    color: #c2410c;
    font-weight: 800;
    font-size: 0.78rem;
    line-height: 1.2;
}

.tourism-found-pill__lbl {
    font-weight: 500;
    font-size: 0.82rem;
    color: #94a3b8;
}

.tourism-found-pill--compact .tourism-found-pill__num {
    padding: 0.15rem 0.45rem;
    font-size: 0.72rem;
}

.tourism-found-pill--compact .tourism-found-pill__lbl {
    font-size: 0.74rem;
}

.tourism-results-heading {
    gap: 0.5rem;
}

.tf-hero-search {
    margin-bottom: 0;
}

.tf-hero-search .tf-icon-input-wrap .tf-icon-input.form-control {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 500;
}

.tf-filter-inner-panel {
    border: 1px solid var(--tf-border, #e7e5f0);
    border-radius: 14px;
    padding: 1rem 0.9rem 1rem;
    background: linear-gradient(180deg, #fafbff 0%, #fff 52%);
}

@media (min-width: 768px) {
    .tf-filter-inner-panel {
        padding: 1.08rem 1rem 1.05rem;
    }
}

.tf-filter-inner-panel .tf-filter-price-block {
    margin-top: 0.85rem;
    padding-top: 0.25rem;
    border-top-color: rgba(226, 232, 240, 0.75);
}

/* Stack filter grids to one column below tablet */
@media (max-width: 767.98px) {
    .tf-filter-grid--stack-md.tf-filter-grid--2col {
        grid-template-columns: 1fr !important;
        gap: 0.95rem !important;
    }

    .tourism-filter-aside {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        z-index: auto;
        pointer-events: auto;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .tourism-filter-aside {
        position: static;
        transform: none !important;
        width: auto;
        max-width: none;
        pointer-events: auto;
    }
    .tourism-filter-aside-inner {
        position: sticky;
        top: 1rem;
        z-index: 2;
    }
}

.tourism-filter-aside-inner {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--tf-border, #e7e5f0);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.tourism-filter-wrap {
    background: #fff;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
}
.tourism-filter-wrap--in-sidebar {
    padding: 1rem 1rem 1.15rem;
}
@media (min-width: 768px) {
    .tourism-filter-wrap--in-sidebar {
        padding: 1.15rem 1.1rem 1.35rem;
    }
}
.tourism-filter-form { max-width: none; margin: 0; }

.tourism-filter-aside-inner .tf-filter-card {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0.35rem 0 0;
}
@media (min-width: 768px) {
    .tourism-filter-aside-inner .tf-filter-card {
        padding-top: 0;
    }
}

/* Tourism search card (destination + city + filters) */
.tf-filter-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--tf-border, #e7e5f0);
    padding: 1.1rem 1rem 1.05rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.tf-filter-grid--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.85rem;
    align-items: start;
}
.tf-filter-grid--2col.tf-filter-grid--tight {
    margin-top: 0.35rem;
    gap: 0.65rem 0.75rem;
}
.tf-filter-cell {
    min-width: 0;
}
.tf-filter-cap-label {
    display: block;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f2942;
    margin-bottom: 0.38rem;
}
.tf-filter-hint {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.35rem;
    line-height: 1.35;
}
.tf-icon-input-wrap {
    position: relative;
}
.tf-icon-input-wrap__ico {
    position: absolute;
    left: 0.68rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}
.tf-icon-input-wrap .tf-icon-input.form-control {
    border-radius: 12px;
    border: 1px solid #dce3eb;
    min-height: 46px;
    padding-left: 2.45rem;
    padding-right: 0.85rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: #334155;
    box-shadow: none;
}
.tf-icon-input-wrap .tf-icon-input.form-control::placeholder {
    color: #94a3b8;
}
.tf-icon-input-wrap .tf-icon-input.form-control:focus {
    border-color: var(--tf-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* Tourism city — checkbox dropdown */
.tf-city-dd {
    position: relative;
    width: 100%;
}
.tf-city-dd-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 46px;
    padding: 0.42rem 2.25rem 0.42rem 2.35rem;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 500;
    color: #334155;
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tf-city-dd-toggle:hover {
    border-color: #cbd5e1;
}
.tf-city-dd.is-open .tf-city-dd-toggle,
.tf-city-dd-toggle:focus {
    outline: none;
    border-color: var(--tf-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.tf-city-dd-toggle__ico {
    position: absolute;
    left: 0.68rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
}
.tf-city-dd-toggle__text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tf-city-dd-toggle__caret {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.78rem;
    pointer-events: none;
}
.tf-city-dd.is-open .tf-city-dd-toggle__caret {
    transform: translateY(-50%) rotate(180deg);
}
.tf-city-dd-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    max-height: 240px;
    overflow-y: auto;
    padding: 0.35rem;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 41, 66, 0.12);
}
.tf-city-dd-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.55rem;
    margin: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    transition: background 0.12s ease;
}
.tf-city-dd-option:hover {
    background: #f1f5f9;
}
.tf-city-dd-option input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--tf-purple);
    flex-shrink: 0;
    cursor: pointer;
}
.tf-city-dd-option span {
    flex: 1;
    min-width: 0;
}

.tf-filter-price-block {
    margin-top: 1rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}
.tf-filter-price-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}
.tf-price-slider-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.tf-price-corner-input {
    width: 4.35rem;
    flex-shrink: 0;
    text-align: center;
    padding: 0.42rem 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #dce3eb;
    color: #334155;
}
.tf-price-corner-input:focus {
    border-color: var(--tf-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.tf-dual-range--strip {
    flex: 1 1 140px;
    min-width: 120px;
    margin: 0;
}
.tf-filter-actions {
    margin-top: 1rem;
    padding-top: 0.15rem;
}
.tf-search-packages-btn {
    background: #0f2942;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.68rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.tf-search-packages-btn:hover {
    background: #0a1f35;
    color: #fff;
}
.tf-clear-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}
.tf-clear-link:hover {
    color: var(--tf-purple);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .tf-filter-grid--2col .tf-filter-cap-label {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
    }
    .tf-filter-card {
        padding: 1rem 0.85rem 0.95rem;
    }
    .tf-filter-grid--2col .tf-icon-select-wrap .tf-icon-select.form-select {
        min-height: 42px;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
        padding-left: 2rem;
        padding-right: 1.75rem;
        font-size: 0.82rem;
    }
    .tf-filter-grid--2col .tf-icon-select-wrap__ico {
        left: 0.5rem;
        font-size: 0.88rem;
    }
    .tf-filter-grid--2col .tf-icon-select-wrap__caret {
        right: 0.45rem;
        font-size: 0.72rem;
    }
    .tf-icon-input-wrap .tf-icon-input.form-control {
        min-height: 42px;
        font-size: 0.88rem;
        padding-left: 2.15rem;
    }
}

.tf-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}
.tf-icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tf-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tf-purple);
    font-size: 1.15rem;
}
.tf-field-block { flex: 1; min-width: 0; }
.tf-field-label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: #1e293b;
    margin-bottom: 0.45rem;
}

/* Tourism People / Days — compact icon selects (match search-bar style) */
.tf-pax-dur-row {
    margin-bottom: 1.15rem;
}
.tf-pax-dur-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.75rem;
    align-items: start;
}
.tf-pax-dur-cell {
    min-width: 0;
}
@media (max-width: 576px) {
    .tf-pax-dur-grid {
        gap: 0.45rem 0.5rem;
    }
    .tf-cap-select-label {
        font-size: 0.65rem;
        letter-spacing: 0.05em;
        margin-bottom: 0.3rem;
    }
    .tf-icon-select-wrap .tf-icon-select.form-select {
        min-height: 42px;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
        padding-left: 2rem;
        padding-right: 1.75rem;
        font-size: 0.82rem;
    }
    .tf-icon-select-wrap__ico {
        left: 0.5rem;
        font-size: 0.88rem;
    }
    .tf-icon-select-wrap__caret {
        right: 0.45rem;
        font-size: 0.72rem;
    }
}
.tf-cap-select-label {
    display: block;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #0f2942;
    margin-bottom: 0.38rem;
}
.tf-icon-select-wrap {
    position: relative;
}
.tf-icon-select-wrap__ico {
    position: absolute;
    left: 0.68rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
}
.tf-icon-select-wrap__caret {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    font-size: 0.78rem;
    pointer-events: none;
    z-index: 2;
}
.tf-icon-select-wrap .tf-icon-select.form-select {
    border-radius: 12px;
    border: 1px solid #dce3eb;
    background-color: #fff;
    min-height: 46px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    padding-left: 2.45rem;
    padding-right: 2.35rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: #64748b;
    box-shadow: none;
    background-image: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.tf-icon-select-wrap .tf-icon-select.form-select:focus {
    border-color: var(--tf-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
    color: #1e293b;
}

.tf-input-combo { position: relative; }
.tf-input-combo .tf-control {
    border-radius: 10px;
    border: 1.5px solid var(--tf-border);
    min-height: 46px;
    padding-right: 2.25rem;
    font-size: 0.92rem;
}
.tf-input-combo .tf-control:focus {
    border-color: var(--tf-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.tf-combo-caret {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--tf-muted);
    font-size: 0.9rem;
}

.tf-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.tf-seg, .tf-vehicle-card, .tf-tour-card {
    border: 1.5px solid var(--tf-border);
    border-radius: 10px;
    background: #fff;
    color: var(--tf-muted);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tf-seg.is-active {
    background: var(--tf-purple);
    border-color: var(--tf-purple);
    color: #fff;
}
.tf-segments-soft .tf-seg-soft {
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
}
.tf-seg-soft.is-active-soft {
    background: var(--tf-lavender);
    border-color: var(--tf-purple);
    color: var(--tf-purple-dark);
}

.tf-price-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.tf-price-range-label {
    font-weight: 700;
    color: var(--tf-purple);
    font-size: 0.95rem;
}
.tf-dual-range {
    position: relative;
    height: 36px;
    margin: 0.55rem 0 0.75rem;
}
.tf-dual-range__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    border-radius: 6px;
    background: #e2e8f0;
}
.tf-dual-range__fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--tf-purple), #a78bfa);
    pointer-events: none;
    left: 0;
    width: 0;
}
.tf-dual-range input[type="range"] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 36px;
    margin: 0;
    background: none;
    -webkit-appearance: none;
    pointer-events: none;
    z-index: 2;
}
.tf-dual-range input[type="range"]#tourismMaxPrice { z-index: 3; }
.tf-dual-range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 6px; }
.tf-dual-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--tf-purple);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.45);
    margin-top: -6px;
    cursor: pointer;
}
.tf-dual-range input[type="range"]::-moz-range-track { background: none; }
.tf-dual-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--tf-purple);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.45);
    pointer-events: auto;
    cursor: pointer;
}
.tf-mini-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--tf-muted);
    margin-bottom: 0.2rem;
    display: block;
}
.tf-mini-input .input-group-text {
    background: #f8fafc;
    border-color: var(--tf-border);
    font-size: 0.8rem;
}
.tf-mini-input .form-control {
    border-radius: 0 8px 8px 0;
    border-color: var(--tf-border);
    font-size: 0.85rem;
}

.tf-card-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.tf-vehicle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 0.5rem 0.45rem 0.45rem;
    border-radius: 12px;
}
.tf-vehicle-card img {
    width: 64px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.35rem;
}
.tf-vehicle-card span { font-size: 0.78rem; font-weight: 600; color: #475569; }
.tf-vehicle-card.is-active {
    background: var(--tf-lavender);
    border-color: var(--tf-purple);
}
.tf-vehicle-card.is-active span { color: var(--tf-purple-dark); }

.tf-tour-picks .tf-tour-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 72px;
    padding: 0.55rem 0.35rem;
    border-radius: 12px;
    font-size: 0.72rem;
}
.tf-tour-card i { font-size: 1.15rem; color: var(--tf-purple); }
.tf-tour-card.is-active {
    background: var(--tf-lavender);
    border-color: var(--tf-purple);
}
.tf-tour-card.is-active i { color: var(--tf-purple-dark); }

.tf-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    padding-left: calc(44px + 0.85rem);
}
.tf-apply-btn {
    background: var(--tf-purple);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
}
.tf-apply-btn:hover { background: var(--tf-purple-dark); color: #fff; }
.tf-reset-btn {
    border: 1.5px solid var(--tf-border);
    color: var(--tf-muted);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 1rem;
    text-decoration: none;
}
.tf-reset-btn:hover { background: #f8fafc; color: #334155; }

.pkg-rating-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.82);
    color: #fde68a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pkg-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.5rem; }
.pkg-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--tf-lavender);
    color: var(--tf-purple-dark);
    padding: 2px 8px;
    border-radius: 6px;
}
.pkg-tag-outline {
    background: transparent;
    border: 1px solid var(--tf-border);
    color: var(--tf-muted);
}

/* Admin add form (same tokens) */
.tourism-admin-tf .tf-row { margin-bottom: 1rem; }
.tourism-admin-tf .tf-icon-wrap { width: 40px; height: 40px; font-size: 1rem; }
.tourism-admin-tf .tf-field-label { font-size: 0.8rem; }
.tourism-admin-tf .tf-apply-btn { display: none; }
.tourism-admin-tf input[type="number"].tf-inline-num {
    max-width: 120px;
    border-radius: 8px;
    border: 1.5px solid var(--tf-border);
    margin-top: 0.35rem;
}
.tourism-admin-tf label.tf-vehicle-card:has(input:checked),
.tourism-admin-tf label.tf-tour-card:has(input:checked) {
    background: var(--tf-lavender);
    border-color: var(--tf-purple);
}
@media (max-width: 767.98px) {
    .tourism-filter-aside .tf-actions {
        padding-left: 0;
        flex-direction: column;
    }
    .tourism-filter-aside .tf-actions .btn {
        width: 100%;
    }
}
@media (max-width: 575.98px) {
    .tourism-sort-wrap {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .tourism-sort-wrap .tourism-sort-select {
        width: 100%;
    }
    .tourism-results-toolbar.tourism-results-toolbar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
    }
}

.tourism-main-section {
    background: transparent !important;
    padding-top: 0;
    padding-bottom: 0;
}

.tourism-listing-shell {
    background: #fff;
    border: 1px solid var(--tf-border, #e7e5f0);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 1.1rem 1rem 1.35rem;
}

@media (min-width: 768px) {
    .tourism-listing-shell {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}

.tourism-hero-tabs.hero-tabs {
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tourism-hero-tabs .hero-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    user-select: none;
}

.tourism-filter-aside .tf-filter-advanced {
    margin-top: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.tourism-filter-aside .tf-filter-advanced .tf-row.tf-row--compact {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.tourism-filter-aside .tf-filter-advanced .tf-row.tf-row--compact .tf-icon-wrap {
    display: none;
}

@media (min-width: 576px) {
    .tourism-filter-aside .tf-filter-advanced .tf-row.tf-row--compact {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.55rem;
        margin-bottom: 0.85rem;
    }

    .tourism-filter-aside .tf-filter-advanced .tf-row.tf-row--compact .tf-icon-wrap.d-sm-flex {
        display: flex !important;
    }
}

.tourism-filter-aside .tf-card-picks-vehicles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
}

.tourism-filter-aside .tf-vehicle-card {
    min-width: 0;
    width: 100%;
    padding: 0.45rem 0.2rem 0.4rem;
}

.tourism-filter-aside .tf-vehicle-card img {
    width: 44px;
    height: 30px;
}

.tourism-filter-aside .tf-tour-picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
}

.tourism-filter-aside .tf-tour-picks .tf-tour-card {
    min-width: 0;
}

@media (max-width: 360px) {
    .tourism-filter-aside .tf-tour-picks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tourism-sort-wrap {
    min-width: min(100%, 280px);
}

.tourism-packages-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.tourism-results-bar {
    margin-bottom: 1.25rem;
}
.tourism-sort-select {
    min-width: min(100%, 240px);
    max-width: 100%;
    border-radius: 10px;
    border: 1.5px solid var(--tf-border, #e7e5f0);
    font-size: 0.88rem;
}
.tourism-main-section .tourism-results-title {
    font-size: 1.35rem;
}

/* —— Tourism package detail: itinerary accordion —— */
.tourism-itinerary-wrap .tid-itinerary-heading {
    font-weight: 800;
    font-size: 1.35rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tid-itinerary-acc .tid-acc-item {
    padding: 0.95rem 1.1rem;
    margin-bottom: 0.85rem !important;
    border-radius: 12px;
    border: 1px solid rgba(56, 178, 120, 0.35);
    background: linear-gradient(160deg, #f6fffb 0%, #edfaf3 48%, #e8faf1 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tid-itinerary-acc .tid-acc-item:last-child {
    margin-bottom: 0 !important;
}

.tid-acc-trigger {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.65rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.tid-acc-trigger:hover {
    background: rgba(255, 255, 255, 0.92);
}

.tid-acc-trigger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.25);
}

.tid-day-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #0f172a;
    font-weight: 800;
    font-size: 0.82rem;
    color: #0f172a;
}

.tid-acc-title {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
}

.tid-acc-chevron {
    flex-shrink: 0;
    font-size: 1.05rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.tid-acc-trigger:not(.collapsed) .tid-acc-chevron {
    transform: rotate(180deg);
}

.tid-acc-collapse {
    margin-top: 0.5rem;
}

.tid-acc-body {
    padding: 0.55rem 0.35rem 0.25rem 0.35rem;
    margin-left: 0;
    border-left: none;
}

.tid-acc-prose ul,
.tid-acc-prose ol {
    padding-left: 1.35rem;
    margin: 0 0 0.65rem;
}

.tid-acc-prose li {
    margin-bottom: 0.35rem;
}

.tid-acc-prose strong {
    font-weight: 700;
    color: #0f172a;
}

.tid-acc-prose p {
    margin: 0 0 0.5rem;
}

.tid-acc-prose p:last-child {
    margin-bottom: 0;
}

.tid-acc-img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    margin-bottom: 0;
}

.cursor-pointer { cursor: pointer; }

/* —— Tourism package detail: FAQ accordion —— */
.tourism-faq-wrap .tid-faq-heading {
    font-weight: 800;
    font-size: 1.35rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tid-faq-acc .tid-faq-card {
    border-radius: 10px;
    border: 1px solid rgba(56, 178, 120, 0.28);
    background: linear-gradient(165deg, #f7fffb 0%, #ebfaf4 55%, #e5f9f2 100%);
    overflow: hidden;
}

.tid-faq-acc .tid-faq-card:last-child {
    margin-bottom: 0 !important;
}

.tid-faq-h3 {
    font-size: inherit;
}

.tid-faq-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    text-align: left;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    transition: background 0.15s ease;
}

.tid-faq-trigger:hover {
    background: rgba(255, 255, 255, 0.88);
}

.tid-faq-trigger:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(72, 187, 120, 0.45);
}

.tid-faq-q {
    flex: 1;
    min-width: 0;
}

.tid-faq-chevron {
    flex-shrink: 0;
    font-size: 1rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.tid-faq-trigger:not(.collapsed) .tid-faq-chevron {
    transform: rotate(180deg);
}

.tid-faq-panel {
    padding: 0 1rem 0.95rem 1rem;
    font-size: 0.925rem;
    line-height: 1.55;
    color: #334155;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.tid-faq-answer {
    white-space: normal;
}
