/**
 * Global theme overrides.
 *
 * bootstrap-select dropdowns (hero-search Location / Activity selects, and any
 * other <select> the theme upgrades via jQuery('select').selectpicker()) render
 * a Bootstrap dropdown whose selected option inherits Bootstrap's default blue
 * .active background. Recolour the open menu to the theme teal and round it,
 * matching the tour-listing sort dropdown. The toggle/field itself is already
 * styled by the hero-search CSS, so only the menu is themed here.
 */
/* When a .form-select upgrades to bootstrap-select, the wrapper keeps the
   .form-select class — so Bootstrap's native background arrow shows on top of
   bootstrap-select's own caret (double chevron). Drop the native one. */
/* Service detail — sidebar widgets (search / recent tours / destinations / categories). */
.side-bar .widget-title {
    font-size: 20px;
    color: #066168;
    margin-bottom: 16px;
}

.side-bar .trv-sidebar-search .form-control {
    border: 1px solid #e4e9ee;
    border-radius: 30px 0 0 30px;
}

.side-bar .trv-sidebar-search .site-button {
    border-radius: 0 30px 30px 0;
    padding: 0 18px;
}

.side-bar .trv-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-bar .trv-recent-name {
    color: #066168;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    display: block;
}

.side-bar .trv-recent-price {
    color: #ffaa0d;
    font-weight: 600;
    font-size: 14px;
}

.git-wrap {
    padding: 70px 0;
}

.git-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .git-grid {
        grid-template-columns: 1fr;
    }
}

.git-eyebrow {
    display: inline-block;
    color: var(--secondary-color, #ffaa0d);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.git-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--heading-color, #443935);
    margin: 0 0 16px;
}

.git-highlight {
    color: var(--primary-color, #066168);
}

.git-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color, #346065);
    margin-bottom: 28px;
}

.git-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.git-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-color, #346065);
}

.git-info-list i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color, #066168);
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.git-info-list a {
    color: inherit;
    text-decoration: none;
}

.git-social-icons {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.git-social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: var(--heading-color, #443935);
    text-decoration: none;
    transition: all 0.2s ease;
}

.git-social-icons li a:hover {
    background: var(--primary-color, #066168);
    border-color: var(--primary-color, #066168);
    color: #fff;
}

.git-form-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.git-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color, #443935);
    margin-bottom: 24px;
}

.git-form-group {
    margin-bottom: 18px;
}

.git-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color, #443935);
    margin-bottom: 6px;
}

.git-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.git-input:focus {
    outline: none;
    border-color: var(--primary-color, #066168);
    background: #fff;
}

.git-textarea {
    min-height: 110px;
    resize: vertical;
}

.git-submit {
    padding: 13px 32px;
    background: var(--primary-color, #066168);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.git-submit:hover {
    background: var(--primary-color-hover, #054c52);
}

.side-bar .trv-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.side-bar .trv-tag-list li a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #e4e9ee;
    border-radius: 30px;
    color: #346065;
    font-size: 14px;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.side-bar .trv-tag-list li a:hover {
    border-color: #066168;
    background: #eafafa;
    color: #066168;
}

/* Blog detail — author bio box (post author). */
.trv-author-box {
    background: #f4fbfb;
    border: 1px solid #e4e9ee;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 30px 0;
}

.trv-author-box .trv-author-avatar img {
    border-radius: 50%;
}

.trv-author-box .trv-author-label {
    font-size: 13px;
    color: #66868a;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.trv-author-box .trv-author-name {
    margin: 2px 0 6px;
    color: #066168;
    font-size: 20px;
}

.trv-author-box .trv-author-info p {
    margin: 0;
    color: #346065;
    font-size: 14px;
}

.bootstrap-select.form-select {
    background-image: none;
    padding-right: 0;
}

.bootstrap-select .dropdown-menu {
    border: 1px solid #e4e9ee;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.bootstrap-select .dropdown-menu li a.dropdown-item {
    border-radius: 8px;
    padding: 9px 14px;
    color: #346065;
    transition: background-color .15s ease, color .15s ease;
}

.bootstrap-select .dropdown-menu li a.dropdown-item:hover,
.bootstrap-select .dropdown-menu li a.dropdown-item:focus {
    background: #eafafa;
    color: #066168;
}

/* Selected option → theme teal (was Bootstrap blue) */
.bootstrap-select .dropdown-menu li.selected a.dropdown-item,
.bootstrap-select .dropdown-menu li a.dropdown-item.active,
.bootstrap-select .dropdown-menu li a.dropdown-item.selected {
    background: #066168 !important;
    color: #fff !important;
}

.bootstrap-select .dropdown-menu li.selected a.dropdown-item small,
.bootstrap-select .dropdown-menu li a.dropdown-item.active small {
    color: rgba(255, 255, 255, .6) !important;
}

/* bootstrap-select live-search box (when present) */
.bootstrap-select .dropdown-menu .bs-searchbox .form-control {
    border: 1px solid #e4e9ee;
    border-radius: 8px;
}

.bootstrap-select .dropdown-menu .bs-searchbox .form-control:focus {
    border-color: #066168;
    box-shadow: 0 0 0 .15rem rgba(6, 97, 104, .15);
}

/* ── Banner-2 hero (hero-search style-2): robust height ───────────────────────
   The template hero uses a fixed height (950px) tuned for a 1–2 word title.
   CMS titles vary in length; a long title overflowed the fixed box and the
   in-flow search bar spilled into the next section. Use min-height so the hero
   grows with its content instead of overflowing. */
.trv-banner-2-wrap { height: auto; min-height: 950px; }
.trv-banner-2-wrap .trv-banner-2-overlay { height: auto; min-height: 880px; }
.trv-banner-2-wrap .trv-banner-2-content-section { height: auto; min-height: 880px; }

/* ── Header style-2 (centered-logo): pin the logo to the true horizontal centre
   (aligned with the circular badge) regardless of menu length. Menu flows on the
   left, action icons pushed right; the centred logo sits in the gap. Menu is
   width-capped so it never runs under the logo. */
.header-style-2 .main-bar { position: relative; }
.header-style-2 .main-bar .logo-header {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); margin: 0; order: 0;
}
.header-style-2 .main-bar .header-nav { flex: 0 0 auto; }
.header-style-2 .main-bar .header-nav .nav { flex-wrap: nowrap; }
.header-style-2 .main-bar .extra-nav { margin-left: auto; }
@media (max-width: 1399px) {
    .header-style-2 .main-bar .logo-header { position: static; transform: none; }
}

/* ── hero search: the Location/Date/Traveler label icons render oversized
   (Botble outputs explicit 36x36 width/height attrs). Constrain them across every
   hero style — all variants share the .trv-search-st1-column column markup. */
.trv-search-st1-column label i img,
.trv-search-st1-column .form-group label img {
    width: 20px;
    height: auto;
    margin-inline-end: 5px;
}

/* ── Botble admin bar offset ──────────────────────────────────────────────────
   When an admin is logged in, Botble shows a 40px fixed bar at the top and adds
   body.show-admin-bar. The theme's overlay (absolute) and sticky (fixed) headers
   sit relative to the viewport, so they hide under the admin bar. Push them down
   by the 40px admin-bar height. */
body.show-admin-bar .site-header.is-fixed,
body.show-admin-bar .site-header.is-fixed .main-bar {
    top: 40px !important;
}
@media (min-width: 992px) {
    body.show-admin-bar .site-header.header-style-1:not(.is-fixed),
    body.show-admin-bar .site-header.header-style-2:not(.is-fixed) {
        top: 75px; /* 35px design offset + 40px admin bar */
    }
}

/* ── Comment form (fob-comment) — match theme primary color ───────────── */
.fob-comment-form-section .btn-primary,
.fob-comment-form-section button[type="submit"] {
    background-color: var(--primary-color, #066168);
    border-color: var(--primary-color, #066168);
}
.fob-comment-form-section .btn-primary:hover,
.fob-comment-form-section .btn-primary:focus,
.fob-comment-form-section .btn-primary:active,
.fob-comment-form-section button[type="submit"]:hover {
    background-color: var(--primary-color-hover, #054c52);
    border-color: var(--primary-color-hover, #054c52);
}
.fob-comment-form-section .form-control:focus,
.fob-comment-list-section .form-control:focus {
    border-color: var(--primary-color, #066168);
    box-shadow: 0 0 0 .15rem rgba(6, 97, 104, .15);
}

/* ── Gallery detail comment area — themed inputs, constrained width ───── */
.trv-gallery-comments {
    max-width: 920px;
    margin: 40px auto 0;
    padding-top: 40px;
    border-top: 1px solid #eef0f2;
}
.fob-comment-form-section .form-control {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    background-color: #fff;
    padding: 12px 16px;
}
.fob-comment-form-section textarea.form-control {
    min-height: 130px;
}
.fob-comment-form-section label,
.fob-comment-form-section .form-label {
    font-weight: 600;
    margin-bottom: 6px;
}
.fob-comment-form-section .fob-comment-form-note {
    margin-bottom: 24px;
}
.fob-comment-form-section .btn-primary {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
}

/* ── a11y target-size: expand carousel pagination dot tap area (no visual change) ── */
.swiper-pagination-bullet {
    position: relative;
}
.swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    inset: -12px;
}

/* ── Achievement counters: shrink stat labels so each stays on one line ── */
.trv-achivment-section .trv-icon-title {
    font-size: 18px;
    line-height: 26px;
    white-space: nowrap;
}

.trv-search-suggestions {
    list-style: none;
    margin: 8px 0 0;
    padding: 6px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 20;
}

.trv-search-suggestion-item {
    padding: 12px 20px;
    font-size: 15px;
    color: var(--heading-color, #443935);
    cursor: pointer;
    transition: background 0.15s ease;
}

.trv-search-suggestion-item:hover {
    background: #f2f7f7;
    color: var(--primary-color, #066168);
}

.trv-search-suggestion-empty {
    padding: 12px 20px;
    font-size: 14px;
    color: #999;
    cursor: default;
}

.trv-popular-destination-grid {
    background: #fff;
}

.trv-dest-grid-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trv-dest-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.trv-dest-grid-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.trv-dest-grid-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.trv-dest-grid-card:hover .trv-dest-grid-media img {
    transform: scale(1.05);
}

.trv-dest-grid-title {
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
}

.trv-dest-grid-title a {
    color: var(--heading-color, #443935);
    text-decoration: none;
}

.trv-dest-grid-card:hover .trv-dest-grid-title a {
    color: var(--primary-color, #066168);
}

.git-wrap {
    padding: 70px 0;
}

.git-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .git-grid {
        grid-template-columns: 1fr;
    }
}

.git-eyebrow {
    display: inline-block;
    color: var(--secondary-color, #ffaa0d);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.git-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--heading-color, #443935);
    margin: 0 0 16px;
}

.git-highlight {
    color: var(--primary-color, #066168);
}

.git-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color, #346065);
    margin-bottom: 28px;
}

.git-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.git-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-color, #346065);
}

.git-info-list i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color, #066168);
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.git-info-list a {
    color: inherit;
    text-decoration: none;
}

.git-social-icons {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.git-social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: var(--heading-color, #443935);
    text-decoration: none;
    transition: all 0.2s ease;
}

.git-social-icons li a:hover {
    background: var(--primary-color, #066168);
    border-color: var(--primary-color, #066168);
    color: #fff;
}

.git-form-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.git-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color, #443935);
    margin-bottom: 24px;
}

.git-form-group {
    margin-bottom: 18px;
}

.git-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color, #443935);
    margin-bottom: 6px;
}

.git-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.git-input:focus {
    outline: none;
    border-color: var(--primary-color, #066168);
    background: #fff;
}

.git-textarea {
    min-height: 110px;
    resize: vertical;
}

.git-submit {
    padding: 13px 32px;
    background: var(--primary-color, #066168);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.git-submit:hover {
    background: var(--primary-color-hover, #054c52);
}

.git-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.git-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 13px 20px;
    background: #25D366;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.git-whatsapp-btn:hover {
    opacity: 0.9;
    color: #fff;
}

.tcv-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tcv-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.tcv-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tcv-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tcv-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tcv-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tcv-title a {
    color: var(--heading-color, #443935);
    text-decoration: none;
}

.tcv-title a:hover {
    color: var(--primary-color, #066168);
}

.tcv-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-color, #346065);
    margin-bottom: 12px;
}

.tcv-duration-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    background: #f2f2f2;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--heading-color, #443935);
    margin-bottom: 14px;
}

.tcv-excerpt {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-color, #346065);
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tcv-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.tcv-price {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tcv-price-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color, #443935);
}

.tcv-price-label {
    font-size: 11px;
    color: #999;
}

.tcv-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #e63b6b;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.tcv-view-btn:hover {
    opacity: 0.9;
    color: #fff;
}


/* ==========================================================================
   Tour detail — hero photo grid
   platform/themes/travlla/public/css/tour-detail-hero-grid.css

   The tour detail page suppresses the default breadcrumb banner
   (Theme::set('breadcrumbEnabled', false)), so this grid is the first element
   on the page and must clear the floating site header itself.

   --tdh-header-offset  distance from the viewport top to the BOTTOM edge of
                        the floating header bar. Set automatically by the
                        inline script in style-1.blade.php; the values below
                        are the fallback if that script can't find the header.
   --tdh-hero-gap       the visible breathing room between header and photos.
   ========================================================================== */

.tour-detail-page {
    --tdh-header-offset: 195px;
    --tdh-hero-gap: 40px;
    --tdh-grid-gap: 8px;
    --tdh-grid-radius: 16px;
}

/* --------------------------------------------------------------------------
   Wrapper — clears the header, stays below it in the stacking order
   -------------------------------------------------------------------------- */
.tdh-grid-wrap {
    position: relative;
    z-index: 1; /* header sits above this */
    padding-top: calc(var(--tdh-header-offset) + var(--tdh-hero-gap));
    padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   Grid
   -------------------------------------------------------------------------- */
.tdh-grid {
    display: grid;
    gap: var(--tdh-grid-gap);
    border-radius: var(--tdh-grid-radius);
    overflow: hidden;
    /* Fluid instead of a hard 420px: sane crops from 1280 through 1920+ */
    height: clamp(320px, 34vw, 520px);
}

.tdh-grid-item {
    display: block;
    position: relative;
    overflow: hidden;
    background: #e9edf0;
    /* Neutralise theme scroll-reveal defaults if `elem` is ever re-added */
    opacity: 1;
    transform: none;
}

/* Force the fill regardless of what classes RvMedia::image() emits */
.tdh-grid-item img,
.tdh-grid-item picture,
.tdh-grid-item picture img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.tdh-grid-item:hover img {
    transform: scale(1.04);
}

/* Extra fancybox anchors for photos 4+ — in the gallery, out of the layout */
.tdh-grid-hidden {
    display: none !important;
}

.tdh-grid-item:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
}

/* --------------------------------------------------------------------------
   Overlay badge
   -------------------------------------------------------------------------- */
.tdh-grid-more {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Counts — one large left, up to two stacked right
   -------------------------------------------------------------------------- */
.tdh-grid-count-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.tdh-grid-count-3 .tdh-grid-item-1 {
    grid-row: 1 / span 2;
}

.tdh-grid-count-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.tdh-grid-count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .tour-detail-page {
        --tdh-header-offset: 170px;
        --tdh-hero-gap: 32px;
    }
}

@media (max-width: 991px) {
    .tour-detail-page {
        --tdh-header-offset: 130px;
        --tdh-hero-gap: 24px;
    }
}

@media (max-width: 767px) {
    .tour-detail-page {
        --tdh-header-offset: 90px;
        --tdh-hero-gap: 16px;
        --tdh-grid-gap: 4px;
        --tdh-grid-radius: 10px;
    }

    .tdh-grid {
        height: 260px;
    }

    /* Show only the first photo; the rest stay in the Gallery section below */
    .tdh-grid-count-3,
    .tdh-grid-count-2 {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .tdh-grid-count-3 .tdh-grid-item-2,
    .tdh-grid-count-3 .tdh-grid-item-3,
    .tdh-grid-count-2 .tdh-grid-item-2 {
        display: none;
    }

    .tdh-grid-count-3 .tdh-grid-item-1 {
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tdh-grid-item img,
    .tdh-grid-item:hover img {
        transition: none;
        transform: none;
    }
}

.tour-filter-overlay{position:fixed;inset:0;background:rgba(11,45,41,.55);opacity:0;visibility:hidden;transition:opacity .3s;z-index:2050}
.tour-filter-drawer{position:fixed;top:0;left:0;bottom:0;width:min(360px,88vw);background:#fff;z-index:2051;display:flex;flex-direction:column;transform:translateX(-100%);transition:transform .3s ease;box-shadow:0 0 40px rgba(0,0,0,.18)}

body.tour-filter-open{overflow:hidden}
body.tour-filter-open .tour-filter-overlay{opacity:1;visibility:visible}
body.tour-filter-open .tour-filter-drawer{transform:translateX(0)}

.tour-filter-drawer__head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eef1f4;font-weight:600;color:#0d3b36}
.tour-filter-drawer__x{border:0;background:transparent;color:#5b6b74;padding:4px;line-height:0}
.tour-filter-drawer__body{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 20px}
.tour-filter-drawer__foot{flex:0 0 auto;display:flex;gap:10px;padding:14px 20px;border-top:1px solid #eef1f4}

/* Defensive: neutralise sidebar OR nested-offcanvas styling from filters.blade.php */
.tour-filter-drawer__body > *{width:100%;max-width:none}
.tour-filter-drawer__body .offcanvas,
.tour-filter-drawer__body [class*="offcanvas-"]{
    position:static!important;visibility:visible!important;transform:none!important;
    width:100%!important;max-width:none!important;height:auto!important;
    border:0!important;box-shadow:none!important;background:transparent!important;z-index:auto!important
}
.tour-filter-drawer__body .offcanvas-header,
.tour-filter-drawer__body .offcanvas-backdrop{display:none!important}
.tour-filter-drawer__body .offcanvas-body{padding:0!important;overflow:visible!important}