/* ==========================================================================
   Tour detail (tour-detail.html) — builds on site.css (.theme-oz tokens, .oz-*)
   Mobile: stacked, booking card after the content + fixed "Book now" bar.
   ≥1024px: content column + sticky booking card. Behaviour: assets/js/tour.js
   ========================================================================== */

/* tour.js hides blocks a tour has no data for: [hidden] must beat the display values below */
.td-page [hidden] { display: none !important; }

/* ---- Breadcrumb + title ---------------------------------------------- */
.td-steps { margin: 0; padding: 0; list-style: none; } /* base.css only resets ul[role=list] */

.td-head { padding-bottom: var(--s-3); }
.td-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; font-size: .875rem; color: var(--oz-text-2); }
.td-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.td-meta .icon { color: var(--oz-navy); }
.td-head h1 { max-width: 30ch; font-size: clamp(1.625rem, 1.15rem + 2vw, 2.5rem); line-height: 1.2; text-wrap: balance; }
.td-head__cta { display: none; }
@media (min-width: 1024px) {
  .td-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
  .td-head__cta { display: grid; justify-items: end; gap: 10px; padding-bottom: 8px; text-align: right; }
  .td-head__cta p { line-height: 1.2; }
  .td-head__cta b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
  .td-head__cta small { font-size: .875rem; color: var(--oz-text-2); }
}
.td-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 10px; font-size: .875rem; }
.td-trust li { display: inline-flex; align-items: center; gap: 6px; }
.td-trust a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--c-text); text-decoration: none; }
.td-trust a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.td-trust .icon { color: var(--oz-orange); }
.td-trust b { font-weight: 800; }
.td-trust span { color: var(--oz-text-2); }

/* ---- Gallery: swipe row on mobile, 1 large + 4 tiles from 768px -------- */
.td-gallery { position: relative; }
.td-gal {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.td-gal::-webkit-scrollbar { display: none; }
.td-gal[data-count="1"] { grid-auto-columns: 100%; }
.td-gal li { scroll-snap-align: start; }
.td-gal__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--oz-radius); overflow: hidden; background: var(--oz-gray); cursor: zoom-in; }
.td-gal__btn img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease-out); }
.td-gal__btn:hover img { transform: scale(1.04); }
.td-gal__all {
  position: absolute;
  right: calc(var(--gutter) + 10px);
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--c-text);
  font-size: .8125rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 24, 40, .18);
}
.td-gal__all:hover { background: #fff; color: var(--oz-navy); }
@media (min-width: 768px) {
  /* minmax(0, …) rows: a photo's intrinsic height must never stretch the fixed-height grid */
  .td-gal {
    grid-auto-flow: row;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: clamp(320px, 36vw, 500px);
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .td-gal li:first-child { grid-row: 1 / span 2; }
  .td-gal li:nth-child(n+6) { display: none; }
  .td-gal__btn img { aspect-ratio: auto; }
  .td-gal li { min-height: 0; }
  .td-gal[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
  .td-gal[data-count="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); }
  .td-gal[data-count="2"] li:first-child { grid-row: auto; }
  .td-gal[data-count="3"] { grid-template-columns: 2fr 1fr; }
  .td-gal[data-count="4"] li:nth-child(4) { grid-column: span 2; }
  .td-gal__all { right: 12px; bottom: 12px; }
}

/* ---- Two-column layout ------------------------------------------------- */
/* minmax(0, …): the scrolling shortcut row must not widen the column on phones */
.td-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-top: var(--s-4); }
@media (min-width: 1024px) {
  .td-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
  .td-side { position: sticky; top: var(--td-stick, calc(var(--bar-h) + 20px)); } /* taller than the window: tour.js lowers it so its end shows (no scrolling inside the card) */
}

/* in-page shortcuts */
.td-anchors { display: flex; gap: 6px; margin-bottom: var(--s-3); overflow-x: auto; scrollbar-width: none; }
.td-anchors::-webkit-scrollbar { display: none; }
.td-anchors a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--oz-gray); color: var(--c-text); font-size: .875rem; font-weight: 600; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.td-anchors a:hover { background: var(--oz-navy); color: #fff; }

/* ---- Content sections -------------------------------------------------- */
.td-sec { padding-block: var(--s-4); border-top: 1px solid var(--oz-line); }
.td-sec:first-of-type { padding-top: 0; border-top: 0; }
.theme-oz .td-sec h2 { margin-bottom: 16px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.td-prose { max-width: 72ch; color: #374151; line-height: 1.7; } /* 60–75 characters per line reads best */
.td-prose p + p { margin-top: 12px; }

.td-facts { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 18px; border-radius: var(--oz-radius); background: var(--oz-gray); font-size: .9375rem; }
.td-facts div { display: grid; gap: 2px; }
.td-facts dt { font-weight: 700; }
.td-facts dd { margin: 0; color: var(--oz-text-2); }
@media (min-width: 480px) { .td-facts div { grid-template-columns: 10em 1fr; gap: 12px; } }

/* tick / cross lists */
.td-checks { display: grid; gap: 10px; line-height: 1.55; }
.td-checks li { position: relative; padding-left: 32px; }
.td-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E3F2EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7B4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.td-checks--x li::before {
  background: #FBE9E4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2481F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (min-width: 640px) { .td-checks--2col { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }

/* itinerary */
.td-slots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 22px; font-size: .875rem; font-weight: 600; }
.td-slots > .icon { color: var(--oz-navy); }
.td-slots ul { display: flex; flex-wrap: wrap; gap: 8px; }
.td-slots li { padding: 6px 12px; border-radius: 999px; background: var(--c-primary-soft); color: var(--oz-navy); }
.td-steps { position: relative; display: grid; gap: 24px; }
.td-steps::before { content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; border-left: 2px dashed #C9D3D1; }
.td-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.td-step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--oz-navy); color: #fff; font-size: .9375rem; font-weight: 800; box-shadow: 0 0 0 5px #fff; }
.theme-oz .td-step__body h3 { margin: 6px 0 8px; font-size: 1.0625rem; line-height: 1.35; }
.td-step__body p,
.td-step__body ul { color: #374151; font-size: .9375rem; line-height: 1.65; }
.td-step__body > * + * { margin-top: 8px; }
.td-step__body ul { margin-bottom: 0; padding-left: 1.15em; }
.td-step__body li + li { margin-top: 4px; }
.td-step__body .td-time { font-weight: 700; color: var(--c-text); }
.td-time__at { margin-right: 6px; color: var(--oz-orange); font-variant-numeric: tabular-nums; }

/* included / not included */
.td-inc { display: grid; gap: 24px; }
.theme-oz .td-inc h3 { margin-bottom: 12px; font-size: 1rem; }
@media (min-width: 640px) { .td-inc { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* good to know + policies */
.td-know { display: grid; gap: 12px; margin-bottom: var(--s-3); }
.td-know li { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); }
.td-know .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #FDEDE8; color: var(--oz-orange); }
.td-know b { display: block; margin-bottom: 2px; }
.td-know p { font-size: .875rem; line-height: 1.55; color: var(--oz-text-2); }
@media (min-width: 640px) { .td-know { grid-template-columns: 1fr 1fr; } }
.td-acc details { border: 1px solid var(--oz-line); box-shadow: none; }
.td-acc details p { font-size: .875rem; }

/* combo offer */
.td-combo { display: flex; align-items: center; gap: 14px; margin-top: var(--s-3); padding: 18px 20px; border-radius: 14px; background: linear-gradient(120deg, var(--oz-navy), var(--oz-navy-2)); color: #fff; text-decoration: none; }
.td-combo > .icon:first-child { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--c-accent); color: var(--c-text); }
.td-combo b { display: block; font-size: 1rem; }
.td-combo small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .82); }
.td-combo > .icon:last-child { flex: none; margin-left: auto; transition: transform .2s ease; }
.td-combo:hover > .icon:last-child { transform: translateX(4px); }

/* ---- Booking card ------------------------------------------------------ */
.td-book { padding: 22px; border: 1px solid var(--oz-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(16, 24, 40, .08); scroll-margin-top: 16px; } /* + the header's scroll-padding on <html> ("Book now" lands just below the header) */
.td-book__from { font-size: .8125rem; color: var(--oz-text-2); }
.td-book__price { display: flex; align-items: baseline; gap: 6px; }
.td-book__price b { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.td-book__price span { font-size: .9375rem; color: var(--oz-text-2); }
.td-book__tax { margin-bottom: 18px; font-size: .75rem; color: var(--oz-text-2); }

/* the form itself (fields, travelers, estimate, messages): booking.css — shared with the booking page */

/* ---- Rates (owner, 2026-10-28): title + "Check your date", the 12-month bar of the adult price, ONE table of prices per period
   (rows: "Most dates" then each dated period; columns Adult / Child / Infant). Phones: every period is a card with its three prices. */
.td-rates__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.theme-oz .td-rates__head h2 { margin-bottom: 0; }
.td-pt { display: block; width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.td-pt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* the cards carry their own labels */
.td-pt tbody, .td-pt tr { display: block; }
.td-pt tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; margin-bottom: 10px; padding: 14px 16px; border: 1px solid var(--oz-line); border-radius: 12px; background: #fff; }
.td-pt tbody th { grid-column: 1 / -1; font-weight: 700; text-align: left; }
.td-pt tbody th small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--oz-text-2); }
.td-pt td { display: block; }
.td-pt td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; color: var(--oz-text-2); }
.td-pt td b { font-size: 1.125rem; font-weight: 800; }
.td-pt td .is-muted { color: var(--oz-text-2); }
.td-pt__tag { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.td-pt__tag--low { background: #E3F2EF; color: #1F6B61; }
.td-pt__tag--high { background: #FCEBDD; color: #9A3412; }
.td-rates .td-note { margin-top: 2px; }
@media (min-width: 640px) {
  .td-pt { display: table; border: 1px solid var(--oz-line); border-radius: 12px; overflow: hidden; }
  .td-pt thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .td-pt thead { display: table-header-group; }
  .td-pt tbody { display: table-row-group; }
  .td-pt tr { display: table-row; margin: 0; padding: 0; border: 0; border-radius: 0; }
  .td-pt th, .td-pt td { display: table-cell; padding: 14px 16px; border-bottom: 1px solid var(--oz-line); vertical-align: middle; }
  .td-pt tbody tr:last-child > * { border-bottom: 0; }
  .td-pt td::before { content: none; }
  .td-pt thead th { background: var(--oz-gray); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--oz-text-2); text-align: left; }
  .td-pt thead th small { font-size: inherit; font-weight: 500; letter-spacing: 0; text-transform: none; }
  /* headings and prices share the right edge of each price column */
  .td-pt thead th:not(:first-child), .td-pt td { width: 17%; text-align: right; white-space: nowrap; }
  .td-pt__tag { margin-left: 0; }
  .td-rates .td-note { margin-top: 10px; }
}
.td-rate-notes { margin-top: 18px; font-size: .9375rem; }

/* the 12-month bar of the adult price (cheaper / standard / dearer); the legend says it in words too */
.td-cal { margin-bottom: 18px; }
.theme-oz .td-cal h3 { margin-bottom: 10px; font-size: 1rem; }
.td-year { margin-bottom: 10px; }
.td-year__bar { display: flex; height: 18px; overflow: hidden; border-radius: 9px; background: #E3E7EA; }
.td-year__bar span { min-width: 0; }
.td-seg--std { background: #C9D2D7; }
.td-seg--low { background: #2E8B7F; }
.td-seg--high { background: var(--oz-orange); }
.td-seg--na { background: repeating-linear-gradient(45deg, #E3E7EA 0 4px, #F4F6F7 4px 8px); }
.td-year__months { display: flex; margin-top: 6px; font-size: .75rem; font-weight: 600; color: var(--oz-text-2); }
.td-year__months span { min-width: 0; overflow: hidden; text-align: center; white-space: nowrap; }
.td-year__months span:nth-child(even) { visibility: hidden; } /* phones: every other month, so the names do not run together */
@media (min-width: 640px) { .td-year__months span:nth-child(even) { visibility: visible; } }
.td-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; font-weight: 600; }
.td-legend li { display: inline-flex; align-items: center; gap: 8px; }
.td-legend i { flex: none; width: 14px; height: 14px; border-radius: 4px; }
.td-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: .8125rem; font-weight: 600; color: var(--oz-text-2); }
.td-pay svg { width: 52px; height: 32px; padding: 2px; border: 1px solid var(--oz-line); border-radius: 6px; background: #fff; }

/* ---- Related tours band ------------------------------------------------ */
.td-related { margin-top: var(--s-6); }

/* ---- Tour not found ---------------------------------------------------- */
.td-missing { display: grid; gap: 16px; justify-items: start; padding-block: var(--s-3) var(--s-6); }
.td-missing p { max-width: 52ch; color: var(--oz-text-2); }

/* ---- Mobile "Book now" bar (fixed) + WhatsApp button moved above it ---- */
.td-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--oz-line);
  background: #fff;
  box-shadow: 0 -8px 24px rgba(16, 24, 40, .08);
  transition: transform .3s var(--ease-out);
}
.td-bar.is-hidden { transform: translateY(110%); }
.td-bar p { line-height: 1.2; }
.td-bar b { font-size: 1.25rem; font-weight: 800; }
.td-bar small { font-size: .75rem; color: var(--oz-text-2); }
.td-bar .btn { min-height: 48px; padding-inline: 24px; }
@media (max-width: 1023px) {
  .td-page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .td-page .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) { .td-bar { display: none; } }

/* ---- Lightbox ---------------------------------------------------------- */
.td-lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.td-lb::backdrop { background: rgba(6, 14, 13, .94); }
.td-lb[open] { display: grid; place-items: center; }
.td-lb__fig { display: grid; justify-items: center; gap: 12px; max-width: min(1200px, 100vw); margin: 0; padding: 72px 16px 24px; touch-action: pan-y; }
.td-lb__fig img { max-width: 100%; max-height: calc(100dvh - 150px); border-radius: 8px; object-fit: contain; }
.td-lb figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: .875rem; color: rgba(255, 255, 255, .85); text-align: center; }
.td-lb__count { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.td-lb__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .2s ease; }
.td-lb__btn:hover { background: rgba(255, 255, 255, .26); }
.td-lb__close { top: 14px; right: 14px; }
.td-lb__prev,
.td-lb__next { top: 50%; transform: translateY(-50%); }
.td-lb__prev { left: 12px; }
.td-lb__next { right: 12px; }
@media (max-width: 767px) {
  .td-lb__prev,
  .td-lb__next { top: auto; bottom: 16px; transform: none; }
  .td-lb__fig { padding-bottom: 80px; }
}

/* ==========================================================================
   Tour page (chosen design, 2026-10-20) — layers over the rules above: title row with Share / Save, meta under
   the title, gallery stage + thumbnails inside the content column, booking card level with the gallery, sticky
   section tabs, Reviews / Q&As. Rules above that only archive/tour-detail-1.html uses (mosaic gallery, .td-head,
   .td-trust, .td-anchors) can go when the WordPress theme is built.
   ========================================================================== */

/* ---- Title row: H1 + Share / Save on the right, meta underneath -------- */
.td2-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: start; padding-bottom: var(--s-3); }
.td2-head h1 { max-width: none; font-size: 2rem; line-height: 1.2; text-wrap: balance; } /* 32px at every width */
.td2-head .td-meta { grid-column: 1 / -1; margin: 0; }
.td2-actions { position: relative; display: flex; gap: 8px; margin-top: -3px; } /* centres the 44px buttons on the first title line (32px × 1.2) */
.td-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--oz-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  font-size: .875rem;
  font-weight: 600;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.td-act:hover { border-color: var(--oz-navy); color: var(--oz-navy); }
.td-act > span { display: none; }
.td-act[aria-pressed="true"] { border-color: var(--oz-red); color: var(--oz-red); }
.td-act[aria-pressed="true"] .icon { fill: currentColor; }
@media (min-width: 640px) {
  .td-act { padding: 0 16px; }
  .td-act > span.td-act__txt,
  .td-act:not([aria-pressed="true"]) > .td-act__off,
  .td-act[aria-pressed="true"] > .td-act__on { display: inline; }
}
.td2-toast { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; padding: 6px 12px; border-radius: 8px; background: var(--oz-navy); color: #fff; font-size: .8125rem; font-weight: 600; white-space: nowrap; box-shadow: var(--sh-1); }
.td2-toast:empty { display: none; }

/* ---- Gallery stage: one photo at a time + thumbnails ------------------ */
.td2-gallery { margin-bottom: var(--s-2); }
.td2-stage-wrap { position: relative; overflow: hidden; border-radius: 14px; background: var(--oz-gray); }
.td2-stage {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.td2-stage::-webkit-scrollbar { display: none; }
.td2-stage li { scroll-snap-align: start; scroll-snap-stop: always; }
.td2-stage .td-gal__btn { border-radius: 0; }
.td2-stage .td-gal__btn img { aspect-ratio: 4 / 3; }
.td2-stage .td-gal__btn:hover img { transform: none; }
@media (min-width: 768px) { .td2-stage .td-gal__btn img { aspect-ratio: 16 / 10; } }

.td2-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-text); box-shadow: 0 4px 14px rgba(16, 24, 40, .18); transform: translateY(-50%); transition: background-color .2s ease; }
.td2-nav:hover { background: #fff; color: var(--oz-navy); }
.td2-nav--prev { left: 12px; }
.td2-nav--next { right: 12px; }
.td2-count { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(12, 31, 29, .72); color: #fff; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.td2-gallery .td-gal__all { right: 12px; bottom: 10px; }
html:not(.js) .td2-nav,
html:not(.js) .td2-count { display: none; }

.td2-thumbs { display: flex; gap: 8px; margin-top: 10px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.td2-thumbs::-webkit-scrollbar { display: none; }
.td2-thumbs:empty { display: none; }
.td2-thumb { flex: none; width: 76px; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: var(--oz-gray); opacity: .62; transition: opacity .2s ease, border-color .2s ease; }
.td2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.td2-thumb:hover { opacity: 1; }
.td2-thumb[aria-current="true"] { border-color: var(--oz-navy); opacity: 1; }
@media (min-width: 768px) { .td2-thumb { width: calc((100% - 5 * 8px) / 6); } } /* 6 per row, fewer stay left-aligned */

/* ---- Booking card from the top; sticky section tabs -------------------- */
.td2-layout { padding-top: 0; }
@media (min-width: 1024px) { .td2-layout { gap: 48px; } }

.td2-tabs {
  position: sticky;
  top: var(--bar-h);
  z-index: 20;
  display: flex;
  margin: 0 0 var(--s-3);
  overflow-x: auto;
  border-bottom: 1px solid var(--oz-line);
  background: #fff;
  scrollbar-width: none;
}
.td2-tabs::-webkit-scrollbar { display: none; }
.td2-tabs a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-bottom: -1px;
  padding: 0 16px;
  border-bottom: 3px solid transparent;
  color: var(--oz-text-2);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.td2-tabs a:hover { color: var(--c-text); }
.td2-tabs a[aria-current="true"] { border-bottom-color: var(--oz-orange); color: var(--oz-navy); }
@media (min-width: 1024px) { .td2-tabs .td2-tabs__book { display: none; } } /* the card sits beside the tabs there */
.td2 .td-sec { scroll-margin-top: 56px; } /* + html scroll-padding → lands below header and tabs */
.td2 .td-sec:first-of-type { padding-top: var(--s-2); }
.td2-hl { margin-top: var(--s-3); }
.theme-oz .td2-hl h3 { margin-bottom: 12px; font-size: 1.0625rem; }

/* ---- Reviews (company-level: there are no per-tour reviews) ------------- */
.td2-revsum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-bottom: 18px; padding: 18px 20px; border-radius: 14px; background: var(--oz-gray); }
.td2-revsum__score { display: flex; align-items: center; gap: 12px; }
.td2-revsum__score > b { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.td2-revsum__score > span { display: grid; justify-items: start; gap: 6px; font-size: .8125rem; color: var(--oz-text-2); }
.td2-revsum > p { flex: 1 1 240px; font-size: .875rem; line-height: 1.55; color: var(--oz-text-2); }
.td2-revs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.td2-revlinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Formatted text from the WordPress editor (tour Overview and the text of each Itinerary stop): lists, headings, links, pictures */
.td-prose > * + * { margin-top: 12px; }
.td-prose ul, .td-prose ol { padding-left: 1.25em; }
.td-prose ul { list-style: disc; }
.td-prose ol { list-style: decimal; }
.td-prose li + li { margin-top: 4px; }
.td-prose h3, .td-prose h4 { margin-top: 20px; font-size: 1.0625rem; line-height: 1.35; color: var(--c-text); }
.td-prose a, .td-step__body a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.td-prose a:hover, .td-step__body a:hover { color: var(--c-primary-dark); }
.td-prose blockquote, .td-step__body blockquote { margin-left: 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--oz-line); color: var(--oz-text-2); }
.td-prose img, .td-step__body img { max-width: 100%; height: auto; border-radius: 10px; }
.td-prose .aligncenter, .td-step__body .aligncenter { display: block; margin-inline: auto; }
.td-prose .alignleft, .td-step__body .alignleft { float: left; margin: 4px 16px 8px 0; max-width: 50%; }
.td-prose .alignright, .td-step__body .alignright { float: right; margin: 4px 0 8px 16px; max-width: 50%; }
.td-prose::after, .td-step__body::after { content: ""; display: block; clear: both; }
.td-step__body ol { padding-left: 1.15em; list-style: decimal; }
.td-step__body ul { list-style: disc; }
.td-step__body h4 { font-size: .9375rem; line-height: 1.4; color: var(--c-text); }
.td-prose strong, .td-step__body strong { color: var(--c-text); }
