/* ═══════════════════════════════════════════════════════════
   Top Tier Tours — v7.3.0
   Carousel (layout="carousel") + Grid + Category Archive Page
   Grid & archive use dark overlay .ttt-card (v3 style).
   Carousel keeps .ttt-wcard (white card design).
   ═══════════════════════════════════════════════════════════ */

/* ── Box sizing reset for all plugin elements ───────────── */
.ttt-wrapper *,
.ttt-wcard *,
.ttt-card *,
.ttt-archive *,
.ttt-single *,
.ttt-cat-grid * {
    box-sizing: border-box;
}

/* ── Wrapper base ───────────────────────────────────────── */
.ttt-wrapper {
    --ttt-primary:  #0a2540;
    --ttt-accent:   #c8a951;
    --ttt-card-bg:  #ffffff;
    --ttt-text:     #1a1a2e;
    --ttt-btn:      #c8a951;
    --ttt-btn-text: #0a2540;

    width: 100%;
    max-width: 100%;
    font-family: inherit;
    position: relative;
}

.ttt-wrapper--carousel {
    /* Carousel outer handles horizontal overflow */
}

.ttt-wrapper--grid {
    /* Grid is full visible by default */
}

/* ── Empty state ────────────────────────────────────────── */
.ttt-empty {
    padding: 48px 16px;
    text-align: center;
    color: #aaa;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   FILTER BAR  (grid mode only)
   ═══════════════════════════════════════════════════════════ */
.ttt-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding: 0 2px;
}

.ttt-filter-btn {
    padding: 7px 18px;
    border: 1.5px solid rgba(200,169,81,0.4) !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #666 !important;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.22s ease;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
}
.ttt-filter-btn:hover,
.ttt-filter-btn--active {
    background: var(--ttt-accent, #c8a951) !important;
    background-color: var(--ttt-accent, #c8a951) !important;
    border-color: var(--ttt-accent, #c8a951) !important;
    color: var(--ttt-primary, #0a2540) !important;
    box-shadow: none !important;
}
.ttt-filter-btn:focus,
.ttt-filter-btn:focus-visible,
.ttt-filter-btn:active {
    outline: none !important;
    box-shadow: none !important;
}
.ttt-filter-btn--active:focus,
.ttt-filter-btn--active:active {
    background: var(--ttt-accent, #c8a951) !important;
    background-color: var(--ttt-accent, #c8a951) !important;
    color: var(--ttt-primary, #0a2540) !important;
}
.ttt-filter-count { font-size: 10px; opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════
   GRID WRAP  [ttt_tours] default / filtered shortcodes
   ═══════════════════════════════════════════════════════════ */
.ttt-grid-wrap {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(var(--ttt-cols, 3), 1fr);
    gap: 28px;
    align-items: start;
}

/* ═══════════════════════════════════════════════════════════
   CAROUSEL  [ttt_tours layout="carousel"]
   ═══════════════════════════════════════════════════════════ */

/* Outer container clips horizontal overflow so carousel slides */
.ttt-carousel-outer {
    overflow: hidden;
    padding: 4px 0 12px;   /* bottom pad lets card shadows breathe */
    margin: 0 0 -8px;      /* compensate */
}

.ttt-carousel-track {
    display: flex;
    width: 100%;
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    align-items: stretch; /* all cards same height in a row */
}
.ttt-carousel-track:active { cursor: grabbing; }

/* Card width formula — uses --ttt-cols set inline by PHP */
.ttt-carousel-track .ttt-wcard {
    flex: 0 0 calc((100% - (var(--ttt-cols, 3) - 1) * 24px) / var(--ttt-cols, 3));
    min-width: 0;
}

/* ── Carousel Nav ──────────────────────────────────────── */
.ttt-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.ttt-carousel-prev,
.ttt-carousel-next {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ttt-accent, #c8a951) !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--ttt-accent, #c8a951) !important;
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.22s, color 0.22s, transform 0.15s;
    flex-shrink: 0;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    /* Kill any theme pink/purple button defaults */
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
}
.ttt-carousel-prev:hover,
.ttt-carousel-next:hover {
    background: var(--ttt-accent, #c8a951);
    color: var(--ttt-primary, #0a2540) !important;
    transform: scale(1.08);
    opacity: 1 !important;
}
.ttt-carousel-prev:focus,
.ttt-carousel-next:focus,
.ttt-carousel-prev:focus-visible,
.ttt-carousel-next:focus-visible,
.ttt-carousel-prev:active,
.ttt-carousel-next:active {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--ttt-accent, #c8a951) !important;
    border-color: var(--ttt-accent, #c8a951) !important;
}

.ttt-carousel-dots { display: flex; gap: 7px; align-items: center; }

.ttt-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(200,169,81,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.ttt-carousel-dot--active {
    background: var(--ttt-accent, #c8a951);
    transform: scale(1.4);
}

/* ═══════════════════════════════════════════════════════════
   DARK OVERLAY CARD  .ttt-card
   Used in grid shortcodes (non-carousel). Full-bleed tall image
   with smooth entrance animations + hover reveal.
   ═══════════════════════════════════════════════════════════ */

/* ── Entrance animation keyframes ────────────────────────── */
@keyframes ttt-fade-up {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes ttt-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Cards start invisible; JS adds .ttt-card--visible on scroll */
.ttt-card {
    position: relative;
    overflow: visible;          /* buttons can extend outside card bottom */
    cursor: pointer;
    background: #0d1f35;
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.16);
    transition: transform 0.42s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.42s cubic-bezier(0.22,1,0.36,1);
    height: 440px;          /* taller — like the reference */

    /* entrance: start hidden */
    opacity: 0;
    transform: translateY(36px);
}

/* When IntersectionObserver fires .ttt-card--visible */
.ttt-card.ttt-card--visible {
    animation: ttt-fade-up 0.65s cubic-bezier(0.22,1,0.36,1) both;
}

/* Staggered siblings via CSS custom property set by JS */
.ttt-card.ttt-card--visible { animation-delay: var(--ttt-delay, 0ms); }

/* After animation completes — stay visible */
.ttt-card.ttt-card--done {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.ttt-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 22px 60px rgba(0,0,0,0.28);
}

/* ── Image — clipped to card shape ───────────────────────── */
.ttt-card__img-wrap {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    overflow: hidden;           /* clip zoom & overlay to card bounds */
    border-radius: 12px;        /* match card radius */
}
.ttt-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.85s cubic-bezier(0.22,1,0.36,1),
                filter 0.5s ease;
}
.ttt-card:hover .ttt-card__img-wrap img {
    transform: scale(1.08);
    filter: brightness(0.72);
}

/* ── Gradient overlay — stronger at bottom ───────────────── */
.ttt-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,24,48,0.82)  0%,
        rgba(8,24,48,0.38)  45%,
        rgba(0,0,0,0.04)    72%,
        transparent         100%
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.ttt-card:hover .ttt-card__overlay {
    opacity: 0.88;
}

/* ── Badge ───────────────────────────────────────────────── */
.ttt-card__badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--ttt-accent, #c8a951);
    color: var(--ttt-primary, #0a2540);
    font-size: 9px; font-weight: 900;
    letter-spacing: 1.2px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 4px;
    z-index: 3; pointer-events: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* ── Category tag ────────────────────────────────────────── */
.ttt-card__cat-tag {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.92);
    font-size: 9px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 4px;
    z-index: 3; pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    max-width: 52%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Card body — pinned to bottom, overflow visible so buttons never clip ── */
.ttt-card__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 0 22px 22px;
    pointer-events: none;
    /* extend past card bottom so revealed buttons aren't clipped */
    padding-bottom: 22px;
}

/* ── Title — always visible ──────────────────────────────── */
.ttt-card__title {
    font-size: 19px; font-weight: 900;
    color: #fff; margin: 0;
    line-height: 1.22;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.ttt-card__title a { color: inherit; text-decoration: none; }
.ttt-card:hover .ttt-card__title { transform: translateY(-4px); }

/* ── Meta (duration + price) — translateY reveal, NO max-height clipping ─ */
.ttt-card__meta {
    display: flex; align-items: center;
    gap: 12px; flex-wrap: wrap;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.32s ease 0.06s,
                transform 0.38s cubic-bezier(0.22,1,0.36,1) 0.04s,
                margin 0.38s cubic-bezier(0.22,1,0.36,1);
    margin-top: 0;
    /* hide but keep in flow so it doesn't collapse layout */
    visibility: hidden;
    height: 0; overflow: hidden;
}
.ttt-card:hover .ttt-card__meta {
    opacity: 1; transform: translateY(0);
    margin-top: 10px;
    visibility: visible;
    height: auto; overflow: visible;
}

.ttt-card__duration {
    font-size: 12px; color: rgba(255,255,255,0.82);
    font-weight: 600; display: flex; align-items: center; gap: 5px;
}
.ttt-card__duration::before {
    content: '⏱';
    font-size: 11px;
}
.ttt-card__price {
    font-size: 14px; font-weight: 900;
    color: var(--ttt-accent, #c8a951);
    margin-left: auto;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ── Excerpt — REMOVED from display ─────────────────────── */
.ttt-card__excerpt { display: none !important; }

/* ── Actions — translateY reveal, NO max-height clipping ──── */
.ttt-card__actions {
    display: flex; gap: 10px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease 0.1s,
                transform 0.4s cubic-bezier(0.22,1,0.36,1) 0.06s,
                margin 0.38s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
    margin-top: 0;
    /* hide but preserve space calculation */
    visibility: hidden;
    height: 0; overflow: visible;
}
.ttt-card:hover .ttt-card__actions {
    opacity: 1; transform: translateY(0);
    margin-top: 14px; pointer-events: all;
    visibility: visible;
    height: auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.ttt-card__btn {
    flex: 1; display: inline-block;
    padding: 10px 14px; border-radius: 7px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 1px; text-align: center;
    text-decoration: none; text-transform: uppercase;
    transition: background 0.22s ease, color 0.22s ease,
                transform 0.22s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.22s ease;
    cursor: pointer; pointer-events: all; white-space: nowrap;
}
.ttt-card__btn--outline {
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff; background: rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
}
.ttt-card__btn--outline:hover {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.85);
    transform: translateY(-2px);
}
.ttt-card__btn--solid {
    background: var(--ttt-btn, #c8a951);
    color: var(--ttt-btn-text, #0a2540);
    border: 1.5px solid var(--ttt-btn, #c8a951);
    box-shadow: 0 4px 16px rgba(200,169,81,0.35);
}
.ttt-card__btn--solid:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,169,81,0.45);
}

/* ═══════════════════════════════════════════════════════════
   WHITE CARD  .ttt-wcard
   Used in both carousel AND grid (new DePalm-style card design)
   ═══════════════════════════════════════════════════════════ */
.ttt-wcard {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ttt-wcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

/* ── Image Section ─────────────────────────────────────── */
.ttt-wcard__img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}

.ttt-wcard__img-wrap img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.ttt-wcard:hover .ttt-wcard__img-wrap img { transform: scale(1.06); }

.ttt-wcard__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
}

/* ── Top Labels (badge + category tag bar) ─────────────── */
.ttt-wcard__top-labels {
    position: none;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ttt-wcard__badge {
    display: inline-block;
    margin-top: 14px;
    background: var(--ttt-accent, #c8a951);
    color: var(--ttt-primary, #0a2540);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.ttt-wcard__tag-bar {
    width: 100%;
    background: #b91c1c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 12px;
    margin-top: 6px;
    pointer-events: none;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* When no badge — tag bar sits at top edge */
.ttt-wcard__top-labels:not(:has(.ttt-wcard__badge)) .ttt-wcard__tag-bar {
    margin-top: 0;
}

/* ── Bottom Footer of Image ────────────────────────────── */
.ttt-wcard__img-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 28px 12px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    gap: 8px;
}

.ttt-wcard__meta-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.ttt-wcard__pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.ttt-wcard__pill svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* Price box — white pill bottom-right of image */
.ttt-wcard__price-box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 6px;
    padding: 6px 10px;
    text-align: center;
    flex-shrink: 0;
    min-width: 66px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

.ttt-wcard__price-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
    line-height: 1;
    margin-bottom: 2px;
}

.ttt-wcard__price-val {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #111;
    line-height: 1;
}

/* ── Card Body ─────────────────────────────────────────── */
.ttt-wcard__body {
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    min-height: 0;
}

.ttt-wcard__title {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

.ttt-wcard__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.ttt-wcard__title a:hover {
    color: var(--ttt-accent, #c8a951);
}

.ttt-wcard__excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Action Buttons ──────────────────────────────────────── */
.ttt-wcard__actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.ttt-wcard__btn {
    flex: 1;
    display: inline-block;
    padding: 11px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

.ttt-wcard__btn--solid {
    background: var(--ttt-btn, #c8a951);
    color: var(--ttt-btn-text, #0a2540);
    border: 2px solid var(--ttt-btn, #c8a951);
}
.ttt-wcard__btn--solid:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.ttt-wcard__btn--outline {
    background: transparent;
    color: var(--ttt-btn, #c8a951);
    border: 2px solid var(--ttt-btn, #c8a951);
}
.ttt-wcard__btn--outline:hover {
    background: var(--ttt-btn, #c8a951);
    color: var(--ttt-btn-text, #0a2540);
}

/* Hidden when filtered */
.ttt-wcard--hidden,
.ttt-card--hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY ARCHIVE PAGE  /tour-category/explore-the-sea/
   ═══════════════════════════════════════════════════════════ */
.ttt-archive {
    --ttt-accent:   #c8a951;
    --ttt-primary:  #0a2540;
    --ttt-btn:      #c8a951;
    --ttt-btn-text: #0a2540;
    font-family: inherit;
}

/* ── Hero ──────────────────────────────────────────────── */
.ttt-archive__hero {
    position: relative;
    height: 500px;
    background-color: #0a2540;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.ttt-archive__hero-overlay {
    position: absolute;
    inset: 0;
    //background: linear-gradient(
        to bottom,
        rgba(10,37,64,0.55) 0%,
        rgba(10,37,64,0.78) 100%
    );
}

.ttt-archive__hero-body {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 24px;
    max-width: 860px;
}

.ttt-archive__hero-eyebrow {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ttt-accent, #c8a951);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ttt-archive__hero-eyebrow::before,
.ttt-archive__hero-eyebrow::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--ttt-accent, #c8a951);
    opacity: 0.6;
}

.ttt-archive__hero-title {
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 900;
    margin: 0 0 14px;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
    color: #fff;
}

.ttt-archive__hero-count {
    display: none;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.4px;
}

.ttt-archive__hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 640px;
}

/* Subtle wave divider at bottom of hero */
.ttt-archive__hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 3;
}
.ttt-archive__hero-wave svg {
    display: block;
    width: 100%;
}

/* ── Breadcrumb ────────────────────────────────────────── */
.ttt-archive__breadcrumb {
    padding: 14px 48px;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ttt-archive__breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.ttt-archive__breadcrumb a:hover {
    color: var(--ttt-accent, #c8a951);
}
.ttt-archive__breadcrumb .sep {
    color: #ccc;
}
.ttt-archive__breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* ── Subcategory Section (shown on parent categories) ──── */
.ttt-archive__subcats {
    background: #F4F1EA;
    padding: 52px 48px;
    border-bottom: 1px solid #eee;
}

.ttt-archive__subcats-head {
    text-align: center;
    margin-bottom: 36px;
}
.ttt-archive__subcats-title {
    font-size: 26px; font-weight: 800;
    color: var(--ttt-primary, #0a2540);
    margin: 0 0 8px;
    display:none;
}
.ttt-archive__subcats-sub {
    font-size: 15px; color: #666;
    margin: 0;
    display:none;
}

/* Subcategory card grid */
.ttt-subcat-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--tttsc-cols, 4), 1fr) !important;
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto;
}

/* Individual subcategory card */
/* ── Subcategory card — identical structure to .ttt-cat-card ── */
.ttt-subcat-card {
    position: relative !important;
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: visible !important;
    height: 280px;
    background: #1a1f35;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    transition: transform 0.42s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.42s cubic-bezier(0.22,1,0.36,1);
    opacity: 0;
    transform: translateY(28px);
}
.ttt-subcat-card.ttt-card--visible {
    animation: ttt-fade-up 0.6s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: var(--ttt-delay, 0ms);
}
.ttt-subcat-card.ttt-card--done {
    opacity: 1; transform: translateY(0); animation: none;
}
.ttt-subcat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 52px rgba(0,0,0,0.24);
}

/* Image wrapper — clips zoom, NOT the card */
.ttt-subcat-card__img {
    position: absolute; inset: 0;
    overflow: hidden;
    border-radius: 10px;
}
.ttt-subcat-card__img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.85s cubic-bezier(0.22,1,0.36,1), filter 0.5s ease;
}
.ttt-subcat-card:hover .ttt-subcat-card__img img {
    transform: scale(1.1);
    filter: brightness(0.75);
}
.ttt-subcat-card__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
}

.ttt-subcat-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,20,45,0.82) 0%,
        rgba(8,20,45,0.28) 52%,
        rgba(0,0,0,0.02)   100%
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.ttt-subcat-card:hover .ttt-subcat-card__overlay { opacity: 1; }

/* Body — pinned to bottom, z-index above img wrapper */
.ttt-subcat-card__body-legacy { display: none; }

/* (subcat Read More button — see cat card section below) */

/* ── Content Section ──────────────────────────────────── */
.ttt-archive__content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 52px 48px 88px;
}

/* ── Section Header ──────────────────────────────────── */
.ttt-archive__section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 10px;
}

.ttt-archive__section-title {
    font-size: 26px;
    font-weight: 900;
    color: #111;
    margin: 0 0 4px;
    line-height: 1.2;
    text-align:center;
}

.ttt-archive__section-tagline {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-style: italic;
    text-align:center;
}

.ttt-archive__section-subtitle {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    display:none;
}

/* ── Tour Grid ───────────────────────────────────────── */
.ttt-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

/* Dark overlay card overrides for archive context */
.ttt-archive__grid .ttt-card {
    --ttt-btn:      #c8a951;
    --ttt-btn-text: #0a2540;
    --ttt-accent:   #c8a951;
    --ttt-primary:  #0a2540;
    height: 460px; /* taller in the wider archive layout */
}

/* ── Empty State ────────────────────────────────────── */
.ttt-archive__empty {
    text-align: center;
    padding: 80px 24px;
    color: #aaa;
}
.ttt-archive__empty p {
    font-size: 16px;
    margin: 0 0 12px;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE TOUR PAGE
   ═══════════════════════════════════════════════════════════ */
.ttt-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 80px;
    font-family: inherit;
    color: #222;
}

/* ── Gallery Slider ──────────────────────────────────── */
.ttt-gallery-slider {
    position: relative;
    width: 100%;
    margin-bottom: 36px;
    overflow: hidden;
}
.ttt-gallery-slider__track {
    display: flex;
    gap: 4px;
    transition: transform 0.4s ease;
}
.ttt-gallery-slider__slide {
    flex: 0 0 calc(25% - 3px);
    height: 260px;
    overflow: hidden;
}
.ttt-gallery-slider__slide img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.ttt-gallery-slider__slide:hover img { transform: scale(1.04); }
.ttt-gallery-slider__slide:first-child { flex: 0 0 calc(40% - 3px); }

.ttt-gallery-slider__btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.9);
    border: none; border-radius: 50%;
    font-size: 16px; cursor: pointer; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    color:#C79A4A;
}
.ttt-gallery-slider__btn:hover { background: #fff;
color:#C8A951;}
.ttt-gallery-slider__btn:focus,
.ttt-gallery-slider__btn:focus-visible,
.ttt-gallery-slider__btn:active {
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    background: rgba(255,255,255,0.9);
    color:#C79A4A;
}
.ttt-gallery-slider__btn--prev { left: 12px; }
.ttt-gallery-slider__btn--next { right: 12px; }

/* ── Tour Header ────────────────────────────────────── */
.ttt-single__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 32px;
    margin-bottom: 32px;
}
.ttt-single__thumb {
    width: 64px; height: 64px;
    border-radius: 50%; object-fit: cover;
    flex-shrink: 0; border: 3px solid #eee;
}
.ttt-single__header-text h1 {
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 900; color: #111;
    margin: 0 0 6px; line-height: 1.2;
}
.ttt-single__header-meta {
    display: none; gap: 14px; flex-wrap: wrap;
    font-size: 13px; color: #888; align-items: center;
}
.ttt-single__header-meta .ttt-badge {
    background: var(--ttt-accent, #c8a951); color: #0a2540;
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.6px;
    padding: 3px 10px; border-radius: 2px;
}

/* ── Breadcrumb ─────────────────────────────────────── */
.ttt-breadcrumb {
    padding: 14px 32px;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ttt-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.ttt-breadcrumb a:hover { color: var(--ttt-accent, #c8a951); }
.ttt-breadcrumb .sep { color: #ccc; }
.ttt-breadcrumb .current { color: #333; font-weight: 600; }

/* ── Two-column body ─────────────────────────────────── */
.ttt-single__body {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    padding: 0 32px;
    align-items: start;
}

.ttt-single__section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
    margin-bottom: 0px;
   
}
.ttt-single__section-title {
    font-size: 20px; font-weight: 800; color: #111; margin: 0 0 16px;
    display:none;
}
.ttt-single__highlights{
display:none;
}

/* Quick details */
.ttt-quick-details {
    display: none; gap: 24px; flex-wrap: wrap;
    margin-bottom: 18px; padding: 16px;
    background: #fafafa; border-radius: 4px;
    border: 1px solid #f0f0f0;
}
.ttt-quick-detail { display: flex; flex-direction: column; gap: 2px; }
.ttt-quick-detail__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #999; }
.ttt-quick-detail__value { font-size: 14px; font-weight: 600; color: #222; }

.ttt-single__description { font-size: 15px; line-height: 1.8; color: #444; }
.ttt-single__description p { margin: 0 0 14px; }

/* Highlights */
.ttt-single__highlights h3 {
    font-size: 14px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.6px; color: #333; margin: 0 0 12px;
}
.ttt-single__highlights ul { list-style: none; padding: 0; margin: 0; columns: 2; gap: 8px; }
.ttt-single__highlights li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 14px; color: #444; line-height: 1.5;
    padding: 4px 0; break-inside: avoid;
}
.ttt-single__highlights li::before {
    content: '';
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300a32a'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* FAQ */
/* ── FAQ Accordion ───────────────────────────────────── */
.ttt-faq-section { margin-top: 0; }

.ttt-faq-list {
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px;
    overflow: hidden;
}

.ttt-faq__item {
    border-bottom: 1px solid #f0f0f0 !important;
}
.ttt-faq__item:last-child { border-bottom: none; }

.ttt-faq__question {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: #fff !important;
    background-color: #fff !important;
    border: 1px solid black !important;
   
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e !important;
    transition: background 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    text-align:left !important;
}
.ttt-faq__question:hover {
    background: #fafafa !important;
    background-color: #fafafa !important;
    color: var(--ttt-accent, #c8a951) !important;
    box-shadow: none !important;
    outline: none !important;
   
}
.ttt-faq__question:focus,
.ttt-faq__question:focus-visible,
.ttt-faq__question:active {
    background: #fafafa !important;
    background-color: #fafafa !important;
    color: var(--ttt-accent, #c8a951) !important;
    box-shadow: none !important;
    outline: none !important;
    
    border: 1px solid black !important;
}
.ttt-faq__item--open .ttt-faq__question {
    background: #fafafa !important;
    background-color: #fafafa !important;
    color: var(--ttt-accent, #c8a951) !important;
    border: 1px solid black !important;
}

.ttt-faq__icon {
    flex-shrink: 0;
    color: var(--ttt-accent, #c8a951);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.ttt-faq__item--open .ttt-faq__icon {
    transform: rotate(180deg);
}

.ttt-faq__answer {
    padding: 20px 20px 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    background: #fafafa;
    animation: ttt-faq-open 0.28s ease both;
}
.ttt-faq__answer-body p { margin: 0 0 8px; }
.ttt-faq__answer-body p:last-child { margin-bottom: 0; }
.ttt-faq__answer-body ul,
.ttt-faq__answer-body ol {
    margin: 4px 0 8px 20px;
    padding: 0;
}
.ttt-faq__answer-body li { margin: 4px 0; }
.ttt-faq__answer-body strong,
.ttt-faq__answer-body b { color: #333; }

@keyframes ttt-faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
    }
/* Sections list — outer wrapper same as faq-list but full width */
.ttt-sections-list {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0;
}

/* Nested FAQ items inside a section body — slight indent, no outer border */
.ttt-faq__answer-body--nested {
    padding: 0;
    border-top: 1px solid #efefef;
}
.ttt-faq__item--sub {
    border-bottom: 1px solid #efefef;
}
.ttt-faq__item--sub:last-child { border-bottom: none; }
.ttt-faq__item--sub .ttt-faq__question {
    padding-left: 28px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}
.ttt-faq__item--sub.ttt-faq__item--open .ttt-faq__question { background: #f5f5f5; }
.ttt-faq__item--sub .ttt-faq__answer { padding-left: 28px; background: #f5f5f5; }

/* Quick details inside section body — remove top margin */
.ttt-faq__answer-body .ttt-quick-details { margin-top: 0; }


.ttt-single__gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px; margin-top: 16px;
    display:none;
}
.ttt-single__gallery img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 2px; cursor: pointer; transition: opacity 0.2s;
}
.ttt-single__gallery img:hover { opacity: 0.85; }

/* ── Booking box ─────────────────────────────────────── */
.ttt-single__right { position: sticky; top: 24px; }
.ttt-single__booking-box {
    border: 1px solid #e8e8e8; border-radius: 8px;
    overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.ttt-booking-box__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid #f0f0f0;
}
.ttt-booking-box__label {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: #999;
    display: flex; align-items: center; gap: 6px;
}
.ttt-booking-box__label::before { content: '🔖'; font-size: 14px; }
.ttt-booking-box__price { font-size: 22px; font-weight: 900; color: #222; }
.ttt-booking-box__price span { font-size: 13px; font-weight: 400; color: #999; }
.ttt-booking-box__body { padding: 20px; }

.ttt-booking-btn {
    display: block; width: 100%; padding: 15px 20px;
    background: var(--ttt-btn, #c8a951); color: var(--ttt-btn-text, #0a2540);
    border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 900;
    text-align: center; text-transform: uppercase; letter-spacing: 1px;
    transition: filter 0.2s, transform 0.2s; margin-bottom: 16px;
}
.ttt-booking-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ttt-booking-calendar-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: #aaa; margin-bottom: 12px; padding-top: 4px;
}
.ttt-booking-partner {
    margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0f0f0;
    font-size: 12px; color: #aaa; text-align: center;
}
.ttt-booking-partner strong { color: #777; }

/* ── Related tours ──────────────────────────────────── */
.ttt-related { padding: 48px 32px 0; }
.ttt-related__title { font-size: 22px; font-weight: 900; color: #111; margin: 0 0 28px; }
.ttt-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ttt-related__card {
    position: relative; overflow: hidden; aspect-ratio: 3/2;
    background: #111; cursor: pointer; text-decoration: none; display: block;
    border-radius: 4px;
}
.ttt-related__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ttt-related__card:hover img { transform: scale(1.06); }
.ttt-related__card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }
.ttt-related__card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; color: #fff; }
.ttt-related__card-title { font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.ttt-related__card-price { font-size: 12px; color: var(--ttt-accent, #c8a951); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY GRID SHORTCODE  [ttt_categories]
   ═══════════════════════════════════════════════════════════ */
.ttt-cat-grid {
    --tttcat-accent:   #c8a951;
    --tttcat-primary:  #0a2540;
    --tttcat-btn:      #c8a951;
    --tttcat-btn-text: #0a2540;

    display: grid !important;
    grid-template-columns: repeat(var(--tttcat-cols, 4), 1fr) !important;
    gap: 8px;
    width: 100%;
}

.ttt-cat-card {
    position: relative !important;
    overflow: visible !important;
    height: 280px;
    background: #1a1f35;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    transition: transform 0.42s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.42s cubic-bezier(0.22,1,0.36,1);
    opacity: 0;
    transform: translateY(28px);
}
.ttt-cat-card.ttt-card--visible {
    animation: ttt-fade-up 0.6s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: var(--ttt-delay, 0ms);
}
.ttt-cat-card.ttt-card--done {
    opacity: 1; transform: translateY(0); animation: none;
}
.ttt-cat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 52px rgba(0,0,0,0.24);
}

/* Image wrapper — this is what clips the zoom, NOT the card */
.ttt-cat-card__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;               /* clips zoom and overlay to card bounds */
    border-radius: 10px;            /* match card */
}
.ttt-cat-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.85s cubic-bezier(0.22,1,0.36,1), filter 0.5s ease;
}
.ttt-cat-card:hover .ttt-cat-card__img-wrap img {
    transform: scale(1.1);
    filter: brightness(0.75);
}
.ttt-cat-card__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
}
.ttt-cat-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,20,45,0.82) 0%,
        rgba(8,20,45,0.28) 52%,
        rgba(0,0,0,0.02)   100%
    );
    transition: opacity 0.4s ease; pointer-events: none;
}
.ttt-cat-card:hover .ttt-cat-card__overlay { opacity: 1; }

/* Body — pinned to bottom, z-index above img-wrap */
.ttt-cat-card__body,
.ttt-subcat-card__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 0 22px 22px;
    pointer-events: none;
}

/* Title — always visible, slides up slightly on hover */
.ttt-cat-card__name,
.ttt-subcat-card__name {
    display: block;
    font-size: 20px; font-weight: 900; color: #fff; margin: 0;
    line-height: 1.18; text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    transition: transform 0.42s cubic-bezier(0.22,1,0.36,1);
}
.ttt-cat-card:hover .ttt-cat-card__name,
.ttt-subcat-card:hover .ttt-subcat-card__name {
    transform: translateY(-36px);
}
.ttt-cat-card__count { display: none !important; }

/* Description — hidden by default, slides up on hover */
.ttt-cat-card__desc,
.ttt-subcat-card__desc {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    line-height: 1.45;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.32s ease 0.06s,
                transform 0.38s cubic-bezier(0.22,1,0.36,1) 0.04s;
    pointer-events: none;
    /* keep out of flow until hovered */
    max-height: 0;
    overflow: hidden;
    display:none;
}
.ttt-cat-card:hover .ttt-cat-card__desc,
.ttt-subcat-card:hover .ttt-subcat-card__desc {
    opacity: 1;
    transform: translateY(-36px);
    max-height: 60px;
}

/* Arrow / Read More button — slides up from below card on hover */
.ttt-cat-card__arrow,
.ttt-subcat-card__arrow {
    position: absolute;
    bottom: 22px; left: 7px !important;
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px !important;
    background: none !important;
    color: white ;
    border-radius: 50px;
    font-size: 13px; font-weight: 700;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease 0.08s,
                transform 0.42s cubic-bezier(0.22,1,0.36,1) 0.05s,
                box-shadow 0.3s ease;
    
    pointer-events: all;
    cursor: pointer;
    z-index: 4;
    white-space: nowrap;
    text-decoration: none;
}
.ttt-cat-card:hover .ttt-cat-card__arrow,
.ttt-subcat-card:hover .ttt-subcat-card__arrow {
    opacity: 1;
    transform: translateY(0);
   
}
.ttt-cat-card:hover .ttt-cat-card__arrow:hover,
.ttt-subcat-card:hover .ttt-subcat-card__arrow:hover {
    
}

/* The inner arrow icon rotates on arrow-button hover */
.ttt-cat-card__arrow span,
.ttt-subcat-card__arrow span,
.ttt-cat-card__arrow-icon,
.ttt-subcat-card__arrow-icon {
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1) !important;
}
.ttt-cat-card__arrow:hover .ttt-cat-card__arrow-icon,
.ttt-cat-card__arrow:hover span,
.ttt-subcat-card__arrow:hover .ttt-subcat-card__arrow-icon,
.ttt-subcat-card__arrow:hover span {
    transform: translateX(10px) !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 1200px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .ttt-archive__content { padding: 44px 32px 72px; }
    .ttt-archive__breadcrumb { padding: 12px 32px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* Archive: 2 columns */
    .ttt-archive__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .ttt-archive__content { padding: 36px 24px 60px; }
    .ttt-archive__breadcrumb { padding: 12px 24px; }

    /* Grid wrap: 2 columns */
    .ttt-grid-wrap { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Category grid: 3 cols on tablet */
    .ttt-cat-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }

    /* Single page: stack */
    .ttt-single__body {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }
    .ttt-single__right { position: static; }
    .ttt-single__booking-box { max-width: 480px; }
    .ttt-gallery-slider__slide { height: 200px; }
    .ttt-related__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ttt-related { padding: 40px 24px 0; }
    .ttt-single__gallery { display:none; 
    grid-template-columns: repeat(3, 1fr); }
    .ttt-single__header { padding: 0 24px; }
    .ttt-breadcrumb { padding: 12px 24px; }

    /* Carousel: show fewer cols */
    .ttt-carousel-track .ttt-wcard {
        flex: 0 0 calc((100% - 24px) / 2) !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Archive */
    .ttt-archive__hero { height: 360px; }
    .ttt-archive__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .ttt-archive__content { padding: 28px 20px 52px; }
    .ttt-archive__breadcrumb { padding: 10px 20px; }
    .ttt-archive__hero-title { font-size: 32px; }
    .ttt-archive__section-title { font-size: 20px; }

    /* Subcategory grid — 2 columns on tablet */
    .ttt-archive__subcats { padding: 36px 20px; }
    .ttt-subcat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
    .ttt-subcat-card { height: 180px; }
    .ttt-subcat-card__name { font-size: 14px; }

    /* Grid: 2 cols */
    .ttt-grid-wrap { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }

    /* Dark overlay grid card */
    .ttt-card { height: 380px; }
    .ttt-card__title { font-size: 16px; }
    .ttt-cat-card { height: 240px; }

    /* Card img shorter on tablet */
    .ttt-wcard__img-wrap { height: 190px; }

    /* Filter */
    .ttt-filter-btn { padding: 6px 12px; font-size: 11px; }

    /* Carousel */
    .ttt-carousel-track .ttt-wcard {
        flex: 0 0 calc((100% - 24px) / 2) !important;
    }
    .ttt-carousel-prev, .ttt-carousel-next { width: 38px; height: 38px; }
    /* Hide dots at tablet — arrows only */
    .ttt-carousel-dots { display: none !important; }
    .ttt-carousel-dot { width: 7px; height: 7px; }

    /* Single */
    .ttt-single__header { padding: 0 16px; flex-wrap: wrap; }
    .ttt-single__header-text h1 { font-size: 22px; }
    .ttt-breadcrumb { padding: 10px 16px; }
    .ttt-single__body { padding: 0 16px; gap: 24px; }
    .ttt-related { padding: 28px 16px 0; }
    .ttt-related__title { font-size: 18px; }
    .ttt-related__grid { grid-template-columns: repeat(2, 1fr); }
    .ttt-single__highlights ul { columns: 1; }
    .ttt-single__gallery { grid-template-columns: repeat(2, 1fr); }
    .ttt-gallery-slider__slide,
    .ttt-gallery-slider__slide:first-child {
        flex: 0 0 calc(50% - 2px) !important;
        height: 180px;
    }

    /* Category grid: 2 cols */
    .ttt-cat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px; }
    .ttt-cat-card__name { font-size: 16px; }
    .ttt-cat-card__body { padding: 0 14px 12px !important; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 640px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    /* Archive: 1 col */
    .ttt-archive__hero { height: 300px; }
    .ttt-archive__grid { grid-template-columns: 1fr; gap: 20px; }
    .ttt-archive__content { padding: 24px 16px 48px; }
    .ttt-archive__breadcrumb { padding: 10px 16px; }

    /* Grid: 1 col on small screens */
    .ttt-grid-wrap { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Carousel: 1 card full width */
    .ttt-carousel-track .ttt-wcard {
        flex: 0 0 100% !important;
        height: auto !important;
    }
    .ttt-carousel-track { gap: 16px; }

    /* Dark overlay grid card on mobile */
    .ttt-card { height: 320px; }
    .ttt-card__title { font-size: 15px; }
    .ttt-cat-card { height: 200px; }
    .ttt-card__body { padding: 0 16px 16px; }
    /* Always show meta & actions on mobile (no hover on touch) */
    .ttt-card__meta {
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin-top: 6px !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
    .ttt-card__actions {
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin-top: 8px !important;
        pointer-events: all !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Subcategory grid — 1 column on mobile */
    .ttt-subcat-grid { grid-template-columns: 1fr !important; gap: 12px; }
    .ttt-subcat-card { height: 160px; }    /* Reduce body shift for shorter cards on mobile */
    /* subcat body transform handled by name/desc animations */
    .ttt-cat-card:hover .ttt-cat-card__body { transform: translateY(-45px); }

    /* Hide dots on mobile — too many when 1 card per view */
    .ttt-carousel-dots { display: none !important; }

    /* Card img shorter on mobile */
    .ttt-wcard__img-wrap { height: 200px; }
    .ttt-wcard__title { font-size: 16px; }
    .ttt-wcard__body { padding: 16px 16px 18px; }

    /* Filter */
    .ttt-filter-bar { gap: 6px; }
    .ttt-filter-btn { padding: 5px 10px; font-size: 10px; }

    /* Single page */
    .ttt-single__header { padding: 0 12px; gap: 10px; }
    .ttt-single__thumb { width: 48px; height: 48px; }
    .ttt-single__header-text h1 { font-size: 18px; }
    .ttt-breadcrumb { padding: 8px 12px; font-size: 12px; }
    .ttt-single__body { padding: 0 12px; }
    .ttt-single__section-title { font-size: 17px; }
    .ttt-single__description { font-size: 14px; }
    .ttt-single__highlights li { font-size: 13px; }
    .ttt-related { padding: 24px 12px 0; }
    .ttt-related__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .ttt-related__card-title { font-size: 12px; }
    .ttt-single__gallery {display:none;
    grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .ttt-gallery-slider__slide,
    .ttt-gallery-slider__slide:first-child {
        flex: 0 0 90% !important;
        height: 200px;
    }
    .ttt-booking-box__header { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
    .ttt-booking-box__price { font-size: 18px; }
    .ttt-booking-box__body { padding: 14px; }
    .ttt-booking-btn { font-size: 13px; padding: 13px 16px; }
    .ttt-quick-details { gap: 16px; padding: 12px;
    display:none;}
    .ttt-quick-detail__value { font-size: 13px; }
    .ttt-carousel-nav { gap: 10px; margin-top: 16px; }
    .ttt-carousel-prev, .ttt-carousel-next { width: 36px; height: 36px; font-size: 14px; }
    .ttt-carousel-dot { width: 6px; height: 6px; }

    /* Category grid: 2 cols */
    .ttt-cat-grid { grid-template-columns: repeat(1, 1fr) !important; gap: 4px;
    width:100%;}
    .ttt-cat-card {
    width:100%;}
    .ttt-cat-card__name { font-size: 13px; }
    .ttt-cat-card__body { padding: 0 12px 10px !important; }
    .ttt-cat-card__count { display: none !important; }
}