/* =========================================================
   WildRoute public.css — full shared system
   Sections:
   1.  Tokens
   2.  Reset + base
   3.  Layout
   4.  Type scale
   5.  Icons
   6.  Buttons
   7.  Pills & badges
   8.  Sections
   9.  Skip link
   10. Loader
   11. Header
   12. Footer + scroll-top
   13. Home hero + search
   14. Metric strip (trust bar)
   15. Listing cards
   16. Destination cards
   17. CTA panel
   18. Empty state
   19. Pagination
   20. Listing header
   21. Listing filters
   22. Product detail
   23. Product layout
   24. Itinerary
   25. Mobile dock
   26. Responsive
   ========================================================= */

/* ----------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------- */
:root {
  --white: #FFFFFF;
  --black: #0B0B0B;
  --lime: #BAFF29;
  --lime-hover: #A7EB12;
  --lime-wash: #F4FFD6;
  --lime-edge: #E3F5AE;
  --pink: #FF3366;
  --pink-hover: #E62A5A;
  --pink-wash: #FFE9EF;
  --pink-edge: #FFC7D5;

  --bg: #FFFFFF;
  --bg-soft: #F6F6F4;
  --bg-tint: #FBFBFA;
  --hairline: #E8E8E6;
  --hairline-strong: #D6D6D2;

  --ink: #0B0B0B;
  --ink-soft: #55585E;
  --ink-faint: #93979E;

  --r-1: 6px;
  --r-2: 8px;
  --r-3: 14px;
  --r-4: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11,11,11,.04);
  --shadow-md: 0 8px 24px rgba(11,11,11,.08);
  --shadow-lg: 0 24px 60px rgba(11,11,11,.28);

  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: 120ms;
  --t-base: 180ms;
  --t-slow: 280ms;

  --gutter: 24px;
  --container: 1200px;
  --container-wide: 1440px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-bar-h: 64px;

  /* Mobile nav breakpoint must match the 900px value used in header.php's JS */
  --nav-breakpoint: 900px;
}

/* ----------------------------------------------------------
   2. RESET + BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open, html.nav-open body { overflow: hidden; height: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -.02em; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  border-radius: var(--r-2);
}

/* ----------------------------------------------------------
   3. LAYOUT
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: var(--container-wide); }

/* ----------------------------------------------------------
   4. TYPE SCALE
   ---------------------------------------------------------- */
.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.4;
}
.display {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.h1 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.h2 {
  font-size: clamp(16.5px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.h3 {
  font-size: clamp(14px, 1.2vw, 15.5px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.body {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
}
.small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.caption {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.4;
}
.text-lime { color: var(--lime); }

/* ----------------------------------------------------------
   5. ICONS
   ---------------------------------------------------------- */
.ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn .ico { width: 14px; height: 14px; }

.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: var(--lime-hover); }

.btn-secondary { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-secondary:hover { background: var(--bg-soft); }

.btn-outline { background: var(--white); color: var(--ink); border-color: var(--hairline-strong); }
.btn-outline:hover { border-color: var(--black); background: var(--bg-tint); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-danger { background: var(--pink); color: var(--white); }
.btn-danger:hover { background: var(--pink-hover); }

.btn-sm { height: 34px; padding: 0 13px; font-size: 12.5px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ----------------------------------------------------------
   7. PILLS & BADGES
   ---------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}
.pill-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.78);
}
.pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

.badge {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-lime { background: var(--lime); color: var(--black); }
.badge-pink { background: var(--pink); color: var(--white); }

/* ----------------------------------------------------------
   8. SECTIONS
   ---------------------------------------------------------- */
.section { padding-block: 40px; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--hairline); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head-text {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ----------------------------------------------------------
   9. SKIP LINK
   ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2000;
  padding: 8px 14px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  border-radius: var(--r-2);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ----------------------------------------------------------
   10. LOADER
   ---------------------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-spinner { position: relative; width: 42px; height: 42px; }
.loader-spinner .circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: wrSpin 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
}
.loader-spinner .circle:nth-child(1) { border-top-color: var(--black); animation-delay: 0s; }
.loader-spinner .circle:nth-child(2) { border-right-color: var(--lime); animation-delay: .15s; }
.loader-spinner .circle:nth-child(3) { border-bottom-color: var(--black); animation-delay: .3s; }
.loader-spinner .circle:nth-child(4) { border-left-color: var(--lime); animation-delay: .45s; }
@keyframes wrSpin { to { transform: rotate(360deg); } }

.loader-text {
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.loader-dots { display: inline-block; width: 20px; text-align: left; }
.loader-dots::after {
  content: '';
  animation: wrDots 1.5s steps(4, end) infinite;
}
@keyframes wrDots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* ----------------------------------------------------------
   11. HEADER
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
  padding: calc(10px + var(--safe-top)) 0 10px;
  transition:
    box-shadow var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 30px -12px rgba(11,11,11,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex-shrink: 0;
}
.site-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: transform var(--t-base) var(--ease);
}
.site-logo:hover .site-logo-img { transform: scale(1.03); }

/* Toggle button: two svgs are cross-faded/rotated with CSS instead of
   display:none, so opening/closing animates instead of snapping. */
.mobile-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-2);
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.mobile-toggle:hover { border-color: var(--black); }
.mobile-toggle:active { transform: scale(.94); }
.mobile-toggle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.mobile-toggle .icon-open { opacity: 1; }
.mobile-toggle .icon-close { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg); }
.mobile-toggle.is-open .icon-open { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.mobile-toggle.is-open .icon-close { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--r-2);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.nav-link .nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  color: var(--ink-faint);
  transition: color var(--t-fast) var(--ease);
}
.nav-link .nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-link:hover .nav-icon { color: var(--ink); }
.nav-link.active { background: var(--lime); color: var(--black); }
.nav-link.active .nav-icon { color: var(--black); }

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--hairline);
  margin: 0 5px;
  flex-shrink: 0;
}

.nav-cta {
  margin-left: 4px;
  height: 34px;
  padding: 0 15px;
  font-size: 12.5px;
}
.nav-cta .nav-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.dropdown-toggle:hover { border-color: var(--black); background: var(--bg-tint); }

.user-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.dropdown-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown-arrow {
  width: 12px;
  height: 12px;
  color: var(--ink-faint);
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
}

/* Hover-to-open is desktop-only behaviour (pointer devices with real
   hover). Without this guard, some touch browsers latch a :hover state
   after a tap and the dropdown appears to "stick" open on mobile. */
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-arrow,
  .dropdown.open .dropdown-arrow { transform: rotate(180deg); }

  .dropdown:hover .dropdown-menu,
  .dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  list-style: none;
  padding: 6px 5px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    visibility var(--t-base) var(--ease);
  z-index: 1100;
}
.dropdown-menu li { margin: 0; }
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: var(--r-2);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.dropdown-menu li a:hover { background: var(--bg-soft); color: var(--ink); }
.dropdown-menu .dropdown-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  color: var(--ink-faint);
  transition: color var(--t-fast) var(--ease);
}
.dropdown-menu .dropdown-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dropdown-menu li a:hover .dropdown-icon { color: var(--black); }

.dropdown-label {
  padding: 7px 11px 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.dropdown-sep {
  height: 1px;
  background: var(--hairline);
  margin: 5px 7px;
}
.dropdown-menu li a.dropdown-logout { color: var(--pink); }
.dropdown-menu li a.dropdown-logout:hover {
  background: var(--pink-wash);
  color: var(--pink);
}
.dropdown-menu li a.dropdown-logout .dropdown-icon { color: var(--pink); }

/* Full-screen dimmer behind the mobile nav panel. It's a sibling of
   .site-header with a lower z-index, so the header itself always stays
   crisp/undimmed above it, while the page content below is dimmed. */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 11, 11, .45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
}
html.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ----------------------------------------------------------
   12. FOOTER + SCROLL-TOP
   ---------------------------------------------------------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  padding: 48px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}
.footer-brand { min-width: 0; }
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p,
.footer-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 320px;
  margin: 0;
}

.footer-section { min-width: 0; }
.footer-section h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-section ul li {
  font-size: 13px;
  color: var(--ink-soft);
  min-width: 0;
}
.footer-section ul a {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
  word-break: break-word;
}
.footer-section ul a:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--lime-hover);
  text-decoration-thickness: 2px;
}
.footer-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.footer-contact-line svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ink-faint);
}
.footer-section ul a.footer-contact-line:hover { text-decoration: none; }
.footer-section ul a.footer-contact-line:hover svg { color: var(--black); }

.footer-bottom {
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--ink-faint);
  margin: 0;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--lime);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: var(--shadow-md);
  transition:
    opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    visibility var(--t-base) var(--ease),
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.scroll-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }

/* ============================================================
   ADDENDUM — MOBILE NAVIGATION (fixes the non-working toggle)
   Everything below only fires at/under the 900px breakpoint the
   header.php JS already uses. Above 900px the header, nav, and
   dropdown behave exactly as in section 11 — untouched.
   ============================================================ */
@media (max-width: 900px) {

  .mobile-toggle { display: inline-flex; }

  /* .site-header has position:sticky, which makes it a positioned
     containing block — so the nav panel below can anchor to
     "bottom edge of header" with top:100%, no matter how tall the
     header ends up (safe-area insets, different logo sizes, etc). */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    max-height: calc(100vh - 100% - 8px);
    max-height: calc(100dvh - 100% - 8px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    border-top: 1px solid var(--hairline);
    border-radius: 0 0 var(--r-4) var(--r-4);
    box-shadow: var(--shadow-lg);
    padding: 14px 16px calc(20px + var(--safe-bottom));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity var(--t-slow) var(--ease),
      transform var(--t-slow) var(--ease),
      visibility var(--t-slow) var(--ease);
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 14px;
    border-radius: var(--r-2);
    font-size: 14.5px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-link:last-of-type { border-bottom: none; }
  .nav-link .nav-icon { width: 18px; height: 18px; }
  .nav-link.active { border-bottom-color: transparent; }

  .nav-divider { width: 100%; height: 1px; margin: 8px 0; }

  .nav-cta {
    margin: 4px 0 0;
    width: 100%;
    height: 46px;
    font-size: 14px;
  }

  /* Dropdown becomes a full-width accordion row instead of a
     hover flyout, opened/closed by the existing JS (.dropdown.open) */
  .dropdown { width: 100%; }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: var(--r-2);
  }
  .dropdown-name { max-width: none; flex: 1; text-align: left; font-size: 14px; }

  .dropdown.open .dropdown-arrow { transform: rotate(180deg); }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    border-radius: var(--r-2);
    margin-top: 6px;
    padding: 0 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow) var(--ease), padding var(--t-slow) var(--ease);
  }
  .dropdown.open .dropdown-menu {
    max-height: 480px;
    padding: 6px 4px;
  }
}

@media (max-width: 480px) {
  .site-logo-img { height: 32px; }
  .header-inner { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------
   13. HOME HERO + SEARCH
   ---------------------------------------------------------- */
.home-hero-wrap { padding-top: 14px; }
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-4);
  padding: 56px 28px 76px;
  text-align: center;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(186,255,41,.16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%);
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.home-hero .display { color: var(--white); }
.home-hero .body {
  color: rgba(255,255,255,.72);
  max-width: 400px;
  font-size: 13.5px;
}

.hero-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  border: 1px solid rgba(186,255,41,.5);
  background: radial-gradient(circle, rgba(186,255,41,.18) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: wrRippleOut 1.15s var(--ease) forwards;
}
@keyframes wrRippleOut {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: .9; }
  65%  { opacity: .35; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.hero-search {
  position: relative;
  z-index: 20;
  max-width: 580px;
  margin: -28px auto 0;
}
.search-container { position: relative; width: 100%; }
.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 14px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-md);
  overflow: visible;
  transition:
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.search-box:focus-within {
  border-color: var(--black);
  box-shadow: 0 0 0 3px var(--lime), var(--shadow-md);
}
.search-box .ico {
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  stroke: currentColor;
}
.search-box input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 4px;
  width: auto;
  border: 0;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  text-overflow: ellipsis;
}
.search-box input::placeholder { color: var(--ink-faint); }
.search-box .btn {
  flex-shrink: 0;
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
  border-radius: var(--r-2);
}
.search-box .btn-primary { background: var(--lime); color: var(--black); }
.search-box .btn-primary:hover { background: var(--lime-hover); }

.autocomplete-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin-top: 0;
  z-index: 50;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.autocomplete-results.active { display: block; }
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--hairline);
  transition: background var(--t-fast) var(--ease);
}
.autocomplete-item:last-child { border-bottom: 0; }
.autocomplete-item:hover { background: var(--bg-tint); }
.autocomplete-item .autocomplete-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--r-2);
  background: var(--lime-wash);
  border: 1px solid var(--lime-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}
.autocomplete-item .autocomplete-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.autocomplete-item .autocomplete-sub {
  font-size: 11.5px;
  color: var(--ink-faint);
}
.autocomplete-empty {
  padding: 14px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
}

/* ----------------------------------------------------------
   14. METRIC STRIP (trust bar under search)
   Always one line — never stacks
   ---------------------------------------------------------- */
.metric-section { padding-top: 22px; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
  align-items: stretch;
}
.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--lime-wash);
  border: 1px solid var(--lime-edge);
  border-radius: var(--r-3);
  min-width: 0;
}
.metric:nth-child(2) {
  background: var(--bg-soft);
  border-color: var(--hairline);
}
.metric:nth-child(3) {
  background: var(--pink-wash);
  border-color: var(--pink-edge);
}
.metric-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--r-2);
  background: var(--white);
  border: 1px solid var(--hairline);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.metric-icon .ico { width: 14px; height: 14px; }
.metric-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.metric-number {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.metric-label {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------
   15. LISTING CARDS
   ---------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.listing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-tint);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--hairline-strong);
}

.card-grid .listing-card:nth-child(3n+1) .listing-card-body {
  background: linear-gradient(180deg, #FBFFEF 0%, #FFFFFF 60%);
}
.card-grid .listing-card:nth-child(3n+2) .listing-card-body {
  background: linear-gradient(180deg, #F5F7F9 0%, #FFFFFF 60%);
}
.card-grid .listing-card:nth-child(3n+3) .listing-card-body {
  background: linear-gradient(180deg, #FFF4F6 0%, #FFFFFF 60%);
}

.listing-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-soft);
  overflow: hidden;
}
.listing-card-media-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.listing-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--lime-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}
.listing-card-placeholder .ico {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}
.listing-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.card-save {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--hairline);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.card-save:hover { background: var(--white); }
.card-save:active { transform: scale(.94); }
.card-save .ico {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  transition: fill var(--t-fast) var(--ease);
}
.card-save.saved .ico { fill: var(--lime); stroke: var(--black); }

.listing-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  flex: 1;
}
.listing-card-type { color: var(--ink-soft); }
.listing-card-title {
  line-height: 1.35;
  font-size: 14.5px;
}
.listing-card-title a {
  color: var(--ink);
  text-decoration: none;
}
.listing-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.listing-card-title a:focus-visible { outline: none; }
.listing-card-title a:focus-visible::after {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  border-radius: var(--r-3);
}
.listing-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
}
.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--ink-soft);
}
.listing-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.listing-card-meta .ico {
  width: 13px;
  height: 13px;
  color: var(--ink-faint);
}

.listing-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.listing-card-operator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.operator-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--t-fast) var(--ease);
}
.operator-link:hover { color: var(--ink); }
.operator-avatar {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lime-wash);
  border: 1px solid var(--lime-edge);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.operator-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  height: 21px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--hairline);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.rating .stars {
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 1px;
}
.listing-card-buy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.listing-card-buy .btn {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.listing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 5px;
  min-width: 0;
}
.listing-price-label { flex-basis: 100%; }
.listing-price-amount {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.listing-price-unit {
  color: var(--ink-faint);
  font-size: 11.5px;
}

/* ----------------------------------------------------------
   16. DESTINATION CARDS
   ---------------------------------------------------------- */
.dest-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}
.dest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 5 / 4;
  padding: 16px;
  overflow: hidden;
  background: var(--bg-tint);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.dest-grid .dest-card:nth-child(4n+1) { background: linear-gradient(180deg, #FBFFEF 0%, #FFFFFF 70%); }
.dest-grid .dest-card:nth-child(4n+2) { background: linear-gradient(180deg, #F5F7F9 0%, #FFFFFF 70%); }
.dest-grid .dest-card:nth-child(4n+3) { background: linear-gradient(180deg, #FFF4F6 0%, #FFFFFF 70%); }
.dest-grid .dest-card:nth-child(4n+4) { background: linear-gradient(180deg, #FBFBFA 0%, #FFFFFF 70%); }

.dest-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--hairline-strong);
}
.dest-card-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-2);
  background: var(--white);
  border: 1px solid var(--hairline);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dest-card-icon .ico { width: 14px; height: 14px; }
.dest-card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: block;
}
.dest-card-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.25;
}
.dest-card-country {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-faint);
  margin-top: 2px;
}
.dest-card-photo {
  border-color: transparent;
  color: var(--white);
  background: var(--black);
}
.dest-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0) 45%, rgba(11,11,11,.72) 100%);
}
.dest-card-photo .dest-card-name { color: var(--white); }
.dest-card-photo .dest-card-country { color: rgba(255,255,255,.78); }

/* ----------------------------------------------------------
   17. CTA PANEL
   ---------------------------------------------------------- */
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-4);
  padding: 44px 28px;
  text-align: center;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(50% 70% at 50% 0%, rgba(186,255,41,.14), transparent 70%);
}
.cta-panel-inner {
  max-width: 500px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta-panel .h1 { color: var(--white); }
.cta-panel .body {
  color: rgba(255,255,255,.72);
  font-size: 13.5px;
}
.cta-panel .btn:focus-visible { outline-color: var(--lime); }
.cta-panel .btn-primary { margin-top: 4px; }
.cta-note {
  color: rgba(255,255,255,.56);
  font-size: 11.5px;
}

/* ----------------------------------------------------------
   18. EMPTY STATE
   ---------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-tint);
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hairline);
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.empty-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.empty-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.empty-text {
  font-size: 12.5px;
  color: var(--ink-soft);
  max-width: 380px;
}
.empty-state .btn { margin-top: 8px; }

/* ----------------------------------------------------------
   19. PAGINATION
   ---------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 28px 0 4px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-2);
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  background: var(--white);
  transition:
    background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.pagination a:hover {
  background: var(--bg-soft);
  border-color: var(--black);
  color: var(--black);
}
.pagination .current {
  background: var(--black);
  color: var(--lime);
  border-color: var(--black);
}
.pagination .pagination-nav svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pagination .pagination-dots {
  border: none;
  background: transparent;
  color: var(--ink-faint);
  min-width: 18px;
  cursor: default;
}

/* ----------------------------------------------------------
   20. LISTING HEADER (breadcrumbs + heading)
   ---------------------------------------------------------- */
.listing-header { padding: 22px 0 6px; }
.breadcrumbs { margin-bottom: 14px; }
.breadcrumbs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-faint);
  min-width: 0;
}
.breadcrumbs-list a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.breadcrumbs-list a:hover { color: var(--black); }
.breadcrumbs-sep {
  display: inline-flex;
  align-items: center;
  color: var(--ink-faint);
}
.breadcrumbs-sep svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.breadcrumbs-current {
  color: var(--ink);
  font-weight: 600;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.listing-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  max-width: 560px;
}
.listing-header-meta { flex-shrink: 0; }
.listing-count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
}
.listing-count strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------
   21. LISTING FILTERS
   ---------------------------------------------------------- */
.listing-filters {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 4px;
}
.filters-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-field { min-width: 0; }
.filter-field--search {
  flex: 1 1 240px;
  min-width: 180px;
  position: relative;
}
.filter-field--search .filter-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--ink-faint);
  pointer-events: none;
  display: inline-flex;
}
.filter-field--search .filter-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.filter-field--search input {
  width: 100%;
  height: 36px;
  padding: 0 11px 0 32px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-2);
  font: inherit;
  font-size: 12.5px;
  color: var(--ink);
  background: var(--white);
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.filter-field--search input:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}
.filter-field--search input::placeholder { color: var(--ink-faint); }

.filter-field select {
  height: 36px;
  padding: 0 28px 0 11px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-2);
  font: inherit;
  font-size: 12.5px;
  color: var(--ink);
  background-color: var(--white);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2355585E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 9px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  min-width: 140px;
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.filter-field select:hover { border-color: var(--ink-faint); }
.filter-field select:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}
.filter-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.active-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.active-filters-label {
  font-weight: 600;
  color: var(--ink-faint);
  margin-right: 2px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--lime-wash);
  border: 1px solid var(--lime-edge);
  font-weight: 600;
  color: var(--black);
  font-size: 11.5px;
}

/* ----------------------------------------------------------
   22. PRODUCT DETAIL (breadcrumbs, hero, gallery, summary)
   ---------------------------------------------------------- */
.product-hero { padding: 6px 0 20px; }
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.product-gallery { min-width: 0; }
.product-gallery-main {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  overflow: hidden;
}
.product-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery-empty {
  aspect-ratio: 16 / 11;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
}
.product-gallery-empty .ico {
  width: 42px;
  height: 42px;
  stroke-width: 1.5;
}
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: var(--r-2);
  overflow: hidden;
  background: var(--bg-soft);
  padding: 0;
  cursor: pointer;
  transition:
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-thumb:hover { transform: translateY(-1px); }
.product-thumb.is-active { border-color: var(--black); }

.product-summary { min-width: 0; }
.product-summary-inner {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(52px + var(--safe-top) + 14px);
}
.product-summary-type {
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product-title {
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 800;
  color: var(--ink);
}
.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.product-price-label { flex-basis: 100%; }
.product-price-amount {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.product-price-unit {
  font-size: 12px;
  color: var(--ink-faint);
  font-weight: 500;
}
.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 0;
}
.product-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.product-meta-item dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.product-meta-item dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-lede {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.product-summary-op {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-align: center;
}
.product-summary-op strong {
  color: var(--ink);
  font-weight: 700;
}

/* ----------------------------------------------------------
   23. PRODUCT LAYOUT (main + aside)
   ---------------------------------------------------------- */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.product-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-section-block {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.product-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.product-rich {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  word-break: break-word;
}
.product-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(52px + var(--safe-top) + 14px);
}
.product-aside-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-aside-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  flex-wrap: wrap;
}
.product-aside-amount {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.product-aside-unit {
  font-size: 11.5px;
  color: var(--ink-faint);
}
.product-aside-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  margin: 0;
}
.product-aside-op {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.product-aside-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--r-2);
  background: var(--lime);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.product-aside-op-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.product-aside-op-text strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-aside-op-text span {
  font-size: 11px;
  color: var(--ink-faint);
}

/* ----------------------------------------------------------
   24. ITINERARY
   ---------------------------------------------------------- */
.itinerary {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.itinerary-day {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  background: var(--bg-tint);
  border: 1px solid var(--hairline);
  border-radius: var(--r-3);
  padding: 14px 16px;
  transition:
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.itinerary-day:hover {
  background: var(--white);
  border-color: var(--hairline-strong);
}
.itinerary-day-marker {
  display: flex;
  align-items: flex-start;
}
.itinerary-day-num {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.itinerary-day-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.itinerary-day-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0;
}
.itinerary-day-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.itinerary-day-meta {
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}
.itinerary-day-meta li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 500;
  min-width: 0;
}
.itinerary-meta-icon {
  width: 12px;
  height: 12px;
  color: var(--ink-faint);
  flex-shrink: 0;
  display: inline-flex;
}
.itinerary-meta-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------
   25. MOBILE DOCK
   ---------------------------------------------------------- */
.mobile-dock { display: none; }

/* ----------------------------------------------------------
   26. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-link { padding: 7px 10px; font-size: 12.5px; }
  .nav-link .nav-icon { display: none; }
  .dropdown-name { max-width: 80px; }

  .site-logo-img { height: 38px; max-width: 170px; }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .product-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-summary-inner { position: static; }
  .product-layout { grid-template-columns: 1fr; gap: 20px; }
  .product-aside { position: static; }

  .metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .metric { padding: 12px 13px; gap: 9px; }
  .metric-number { font-size: 15px; }
  .metric-label { font-size: 9.5px; }
}

@media (max-width: 900px) {
  .mobile-toggle { display: inline-flex; }
  .header-inner { gap: 10px; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 16px 32px rgba(11,11,11,.10);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity var(--t-base) var(--ease),
      transform var(--t-base) var(--ease),
      visibility var(--t-base) var(--ease);
  }
  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    justify-content: flex-start;
    padding: 12px 12px;
    font-size: 14px;
  }
  .nav-link .nav-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
  }
  .nav-divider { display: none; }
  .nav-cta {
    margin: 6px 0 0;
    width: 100%;
    height: 42px;
    justify-content: center;
    font-size: 14px;
  }
  .dropdown { width: 100%; }
  .dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 12px;
    font-size: 14px;
    border-radius: var(--r-2);
  }
  .dropdown-name {
    max-width: none;
    flex: 1;
    text-align: left;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 14px;
    margin-top: 4px;
    background: var(--bg-soft);
    border-radius: var(--r-2);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    min-width: 0;
  }
  .dropdown.open .dropdown-menu { display: block; }

  .site-footer { padding: 40px 0 calc(84px + var(--safe-bottom)); }
  .scroll-top {
    right: 14px;
    bottom: calc(84px + var(--safe-bottom));
    width: 38px;
    height: 38px;
  }

  .mobile-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid var(--hairline);
    padding: 7px 7px calc(7px + var(--safe-bottom));
  }
  .mobile-dock a {
    flex: 1;
    min-height: 44px;
    padding: 3px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: var(--r-2);
    text-decoration: none;
    color: var(--ink-faint);
    font-size: 10.5px;
    font-weight: 600;
    transition: color var(--t-fast) var(--ease);
  }
  .mobile-dock a svg { width: 20px; height: 20px; }
  .mobile-dock a.active { color: var(--ink); }
  .mobile-dock a:active { transform: scale(.94); }
  .mobile-dock-cta .mobile-dock-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-dock-cta .mobile-dock-icon svg { width: 16px; height: 16px; }
  body { padding-bottom: calc(var(--tab-bar-h) + var(--safe-bottom)); }

  .listing-header { padding: 18px 0 4px; }
  .listing-header-inner { gap: 12px; }
  .filter-field--search { flex: 1 1 100%; }
  .filter-field { flex: 1 1 0; }
  .filter-field select { min-width: 0; width: 100%; }

  /* Metric strip stays on ONE line — tighter icons and type */
  .metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .metric {
    padding: 10px 10px;
    gap: 8px;
    border-radius: var(--r-2);
  }
  .metric-icon { width: 26px; height: 26px; }
  .metric-icon .ico { width: 12px; height: 12px; }
  .metric-number { font-size: 14px; }
  .metric-label { font-size: 9px; letter-spacing: .06em; margin-top: 1px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding-block: 32px; }
  .section-head { margin-bottom: 18px; }

  .site-header { padding: calc(9px + var(--safe-top)) 0 9px; }
  .site-logo-img { height: 34px; max-width: 150px; }
  .mobile-toggle { width: 36px; height: 36px; }

  .home-hero { padding: 44px 18px 68px; }
  .home-hero .display { font-size: clamp(22px, 6vw, 30px); }
  .home-hero .body { font-size: 13px; }
  .hero-search { padding-inline: 6px; margin-top: -24px; }
  .search-box { padding: 4px 4px 4px 11px; }
  .search-box input { font-size: 13px; }
  .search-box .btn { padding: 0 14px; font-size: 12.5px; }

  /* Metric strip — still one line, shrunk to fit */
  .metric-section { padding-top: 16px; }
  .metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .metric {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 6px;
    gap: 4px;
    border-radius: var(--r-2);
  }
  .metric-icon { display: none; }
  .metric-text { align-items: center; }
  .metric-number { font-size: 13px; line-height: 1.1; }
  .metric-label {
    font-size: 8.5px;
    letter-spacing: .04em;
    margin-top: 1px;
    line-height: 1.15;
  }

  .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dest-card { aspect-ratio: 1 / 1; padding: 12px; }
  .dest-card-name { font-size: 12.5px; }
  .dest-card-country { font-size: 11px; }

  .cta-panel { padding: 40px 18px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 22px;
  }
  .footer-bottom { text-align: left; }

  .listing-header { padding: 14px 0 2px; }
  .listing-header-text .h1 { font-size: 22px; }
  .listing-header-text .body { font-size: 13px; }

  .listing-filters { padding: 12px 0 14px; }
  .filter-field { flex: 1 1 100%; }
  .filter-actions { width: 100%; }
  .filter-actions .btn { flex: 1; }

  .breadcrumbs { margin-bottom: 10px; }
  .breadcrumbs-current { max-width: 160px; }

  .product-hero { padding: 4px 0 14px; }
  .product-gallery-main { aspect-ratio: 4 / 3; border-radius: var(--r-2); }
  .product-gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .product-summary-inner { padding: 16px; border-radius: var(--r-2); }
  .product-title { font-size: 20px; }
  .product-price-amount { font-size: 20px; }
  .product-meta { grid-template-columns: 1fr; }

  .product-section-block { padding: 16px; border-radius: var(--r-2); }

  .itinerary-day {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
  .itinerary-day-marker { align-items: flex-start; }
  .itinerary-day-meta { gap: 5px 10px; }

  .product-aside-card { padding: 14px; border-radius: var(--r-2); }
}

@media (max-width: 380px) {
  .site-logo-img { height: 30px; max-width: 130px; }
  .product-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }

  .metric-strip { gap: 4px; }
  .metric { padding: 7px 4px; }
  .metric-number { font-size: 12px; }
  .metric-label { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-ripple { display: none; }
  .loader-spinner .circle { animation: none !important; }
}

/* ==========================================================
   WildRoute — Tours Page Styles
   Appended to assets/css/style.css
   Scoped under .tours-page so nothing leaks to other pages.
   ========================================================== */

/* ---------- Hero banner ---------- */
.tours-page .hero-banner {
    background: var(--brand, #F95738);
    color: #FFFFFF;
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tours-page .hero-banner::before {
    content: '';
    position: absolute;
    inset: -50% -20% auto auto;
    width: 60%;
    height: 200%;
    background: radial-gradient(closest-side, rgba(255,255,255,0.08), transparent 70%);
    pointer-events: none;
}

.tours-page .hero-banner > .container {
    position: relative;
    z-index: 1;
}

.tours-page .hero-banner h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.tours-page .hero-banner p {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin: 0 auto;
}

/* ---------- Filters ---------- */
.tours-page .filters-section {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border, #E9E9E9);
    padding: 20px 0;
    position: sticky;
    top: 76px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(28, 28, 28, 0.05);
}

.tours-page .filters-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.tours-page .filter-field {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
}

.tours-page .filters-form input,
.tours-page .filters-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border, #E9E9E9);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    background: var(--bg-soft, #FAFAFA);
    color: var(--ink, #1C1C1C);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.4;
    height: 44px;
}

.tours-page .filters-form input::placeholder {
    color: var(--ink-faint, #9AA0A6);
    font-weight: 400;
}

.tours-page .filters-form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2362666B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

.tours-page .filters-form input:hover,
.tours-page .filters-form select:hover {
    border-color: var(--border-strong, #DDDDDD);
    background: #FFFFFF;
}

.tours-page .filters-form input:focus,
.tours-page .filters-form select:focus {
    outline: none;
    border-color: var(--brand, #F95738);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(249, 87, 56, 0.18);
}

.tours-page .filters-form .btn {
    padding: 0 26px;
    height: 44px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: var(--brand, #F95738);
    color: #FFFFFF;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    font-family: inherit;
    letter-spacing: -0.005em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.tours-page .filters-form .btn:hover {
    background: var(--brand-dark, #D9432A);
    box-shadow: 0 4px 12px rgba(249, 87, 56, 0.25);
}

.tours-page .filters-form .btn:active {
    transform: translateY(1px);
}

.tours-page .filters-form .btn-clear {
    background: var(--bg-soft, #FAFAFA);
    color: var(--ink-soft, #62666B);
    border: 1px solid var(--border, #E9E9E9);
    font-weight: 600;
}

.tours-page .filters-form .btn-clear:hover {
    background: var(--border, #E9E9E9);
    box-shadow: none;
    color: var(--ink, #1C1C1C);
}

.tours-page .results-count {
    color: var(--ink-faint, #9AA0A6);
    font-size: 14px;
    margin-left: auto;
    font-weight: 500;
    white-space: nowrap;
}

.tours-page .results-count strong {
    color: var(--ink, #1C1C1C);
    font-weight: 700;
}

/* ---------- Tours wrapper ---------- */
.tours-page .tours-section {
    padding: 40px 0 60px;
    background: #FFFFFF;
}

.tours-page .tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* ---------- Tour card ---------- */
.tours-page .tour-card {
    background: #FFFFFF;
    border: 1px solid var(--border, #E9E9E9);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 1px 3px rgba(28, 28, 28, 0.06), 0 1px 2px rgba(28, 28, 28, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}

.tours-page .tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 28, 28, 0.12), 0 4px 12px rgba(28, 28, 28, 0.06);
    border-color: var(--border-strong, #DDDDDD);
}

.tours-page .tour-card:focus-within {
    outline: 2px solid var(--brand, #F95738);
    outline-offset: 3px;
}

.tours-page .tour-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft, #FAFAFA);
}

.tours-page .tour-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--bg-soft, #FAFAFA);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.tours-page .tour-card:hover .tour-image {
    transform: scale(1.04);
}

.tours-page .tour-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #FAFAFA 0%, #EFEFEF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C6C9CD;
}

.tours-page .tour-image-placeholder svg {
    width: 64px;
    height: 64px;
}

.tours-page .tour-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    background: var(--brand, #F95738);
    color: #FFFFFF;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(249, 87, 56, 0.35);
    z-index: 2;
}

/* ---------- Tour content ---------- */
.tours-page .tour-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.tours-page .tour-type {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 12px;
    background: var(--brand-tint, #FDEEE9);
    color: var(--brand-darker, #B93A22);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.tours-page .tour-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink, #1C1C1C);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.tours-page .tour-title a {
    color: var(--ink, #1C1C1C);
    text-decoration: none;
    transition: color 0.15s;
    display: inline-block;
}

.tours-page .tour-title a:hover {
    color: var(--brand, #F95738);
}

.tours-page .tour-description {
    color: var(--ink-soft, #62666B);
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    min-height: 44px;
}

/* ---------- Meta row ---------- */
.tours-page .tour-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border, #E9E9E9);
    align-items: center;
    margin-top: auto;
}

.tours-page .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--ink-soft, #62666B);
    font-weight: 500;
    white-space: nowrap;
}

.tours-page .meta-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--ink-faint, #9AA0A6);
    fill: none;
    flex-shrink: 0;
}

.tours-page .meta-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin-left: auto;
    white-space: nowrap;
}

.tours-page .price-amount {
    font-weight: 800;
    color: var(--ink, #1C1C1C);
    font-size: 18px;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.tours-page .price-unit {
    font-weight: 500;
    font-size: 13px;
    color: var(--ink-faint, #9AA0A6);
}

/* ---------- Tour footer ---------- */
.tours-page .tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border, #E9E9E9);
    gap: 12px;
}

.tours-page .tour-footer .operator {
    font-size: 13px;
    color: var(--ink-faint, #9AA0A6);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tours-page .tour-footer .btn-sm {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    background: var(--brand, #F95738);
    color: #FFFFFF;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    letter-spacing: -0.005em;
    line-height: 1;
    flex-shrink: 0;
}

.tours-page .tour-footer .btn-sm svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.tours-page .tour-footer .btn-sm:hover {
    background: var(--brand-dark, #D9432A);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 87, 56, 0.28);
}

.tours-page .tour-footer .btn-sm:hover svg {
    transform: translateX(2px);
}

.tours-page .tour-footer .btn-sm:active {
    transform: translateY(0);
}

/* ---------- Pagination ---------- */
.tours-page .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px 0 20px;
    flex-wrap: wrap;
}

.tours-page .pagination a,
.tours-page .pagination span {
    min-width: 42px;
    height: 42px;
    text-align: center;
    padding: 0 12px;
    border: 1px solid var(--border, #E9E9E9);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ink, #1C1C1C);
    font-size: 14px;
    font-weight: 600;
    background: #FFFFFF;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tours-page .pagination a:hover {
    background: var(--bg-soft, #FAFAFA);
    border-color: var(--border-strong, #DDDDDD);
    transform: translateY(-1px);
    color: var(--brand, #F95738);
}

.tours-page .pagination .current {
    background: var(--brand, #F95738);
    color: #FFFFFF;
    border-color: var(--brand, #F95738);
    box-shadow: 0 2px 8px rgba(249, 87, 56, 0.25);
}

.tours-page .pagination .pagination-nav svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.tours-page .pagination .pagination-dots {
    border: none;
    background: transparent;
    color: var(--ink-faint, #9AA0A6);
    min-width: 20px;
    cursor: default;
    font-weight: 500;
}

.tours-page .pagination .pagination-dots:hover {
    transform: none;
    color: var(--ink-faint, #9AA0A6);
    background: transparent;
    border-color: transparent;
}

/* ---------- Empty state ---------- */
.tours-page .empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #FFFFFF;
    border: 1px solid var(--border, #E9E9E9);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tours-page .empty-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-tint, #FDEEE9);
    color: var(--brand, #F95738);
    border-radius: 50%;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.tours-page .empty-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
}

.tours-page .empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink, #1C1C1C);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.tours-page .empty-state p {
    color: var(--ink-soft, #62666B);
    max-width: 460px;
    margin: 0 auto 24px;
    font-size: 16px;
    line-height: 1.6;
}

.tours-page .empty-state .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--brand, #F95738);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: -0.005em;
    line-height: 1;
}

.tours-page .empty-state .btn:hover {
    background: var(--brand-dark, #D9432A);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 87, 56, 0.28);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .tours-page .hero-banner { padding: 48px 0 40px; }
    .tours-page .hero-banner h1 { font-size: 36px; }
    .tours-page .hero-banner p { font-size: 17px; }
}

@media (max-width: 900px) {
    .tours-page .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .tours-page .tour-image,
    .tours-page .tour-image-placeholder { height: 200px; }
}

@media (max-width: 768px) {
    .tours-page .hero-banner { padding: 40px 0 32px; }
    .tours-page .hero-banner h1 { font-size: 30px; }
    .tours-page .hero-banner p { font-size: 16px; }

    .tours-page .filters-section { position: static; padding: 18px 0; }
    .tours-page .filters-form { flex-direction: column; align-items: stretch; gap: 10px; }
    .tours-page .filter-field { min-width: 100%; width: 100%; }
    .tours-page .filters-form input,
    .tours-page .filters-form select,
    .tours-page .filters-form .btn { min-width: 100%; width: 100%; }
    .tours-page .results-count { margin-left: 0; text-align: center; padding-top: 6px; width: 100%; }

    .tours-page .tour-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    .tours-page .hero-banner { padding: 32px 0 26px; }
    .tours-page .hero-banner h1 { font-size: 26px; margin-bottom: 8px; }
    .tours-page .hero-banner p { font-size: 15px; }

    .tours-page .tours-section { padding: 28px 0 48px; }
    .tours-page .tour-image,
    .tours-page .tour-image-placeholder { height: 180px; }
    .tours-page .tour-content { padding: 18px; }
    .tours-page .tour-title { font-size: 18px; }

    .tours-page .tour-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
    .tours-page .meta-price { margin-left: 0; }

    .tours-page .tour-footer { flex-direction: column; align-items: stretch; gap: 10px; }
    .tours-page .tour-footer .operator { text-align: center; }
    .tours-page .tour-footer .btn-sm { justify-content: center; width: 100%; }

    .tours-page .pagination { gap: 6px; padding: 32px 0 16px; }
    .tours-page .pagination a,
    .tours-page .pagination span { min-width: 38px; height: 38px; font-size: 13px; padding: 0 10px; }

    .tours-page .empty-state { padding: 60px 20px; }
    .tours-page .empty-icon { width: 60px; height: 60px; margin-bottom: 14px; }
    .tours-page .empty-icon svg { width: 26px; height: 26px; }
    .tours-page .empty-state h3 { font-size: 20px; }
    .tours-page .empty-state p { font-size: 15px; }
}

@media (max-width: 380px) {
    .tours-page .hero-banner h1 { font-size: 22px; }
    .tours-page .tour-content { padding: 16px; }
    .tours-page .tour-title { font-size: 17px; }
    .tours-page .tour-type { font-size: 10px; padding: 2px 10px; }
    .tours-page .tour-badge { font-size: 10px; padding: 4px 10px; }
    .tours-page .pagination a,
    .tours-page .pagination span { min-width: 34px; height: 34px; font-size: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .tours-page *,
    .tours-page *::before,
    .tours-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    .tours-page .tour-card:hover { transform: none; }
    .tours-page .tour-card:hover .tour-image { transform: none; }
    .tours-page .tour-footer .btn-sm:hover { transform: none; }
    .tours-page .tour-footer .btn-sm:hover svg { transform: none; }
    .tours-page .pagination a:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
    .tours-page .filters-section,
    .tours-page .pagination,
    .tours-page .tour-badge,
    .tours-page .tour-footer .btn-sm { display: none !important; }
    .tours-page .hero-banner { background: #f0f0f0 !important; color: #000 !important; padding: 20px 0; }
    .tours-page .hero-banner h1,
    .tours-page .hero-banner p { color: #000 !important; }
    .tours-page .tour-card { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; page-break-inside: avoid; }
    .tours-page .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tours-page .tour-image,
    .tours-page .tour-image-placeholder { height: 140px; }
}

/* ==========================================================
   WildRoute — Destination Detail Page
   Appended to assets/css/style.css
   Scope:  Public destination page (destination.php)
   Uses:   existing tokens from §1 (--lime, --black, --hairline,
           --r-3, --shadow-md, --t-base, --ease, etc.)
   ========================================================== */


/* ----------------------------------------------------------
   27. DESTINATION HERO
   Photo-first hero with dark gradient scrim. Falls back to
   solid black when no primary image is set (matches home hero).
   ---------------------------------------------------------- */
.dest-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    border-radius: var(--r-4);
    margin: 14px 0 0;
    padding: 64px 28px 72px;
    text-align: left;
}

/* When there's no photo, show subtle brand glow like home hero */
.dest-hero:not(.dest-hero--photo)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 70% at 50% 0%, rgba(186,255,41,.16), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%);
}

.dest-hero--photo {
    padding: 108px 28px 88px;
    border-radius: var(--r-4);
}

.dest-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: .62;
}

.dest-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(55% 70% at 50% 0%, rgba(186,255,41,.10), transparent 60%),
        linear-gradient(180deg, rgba(11,11,11,.35) 0%, rgba(11,11,11,.78) 100%);
}

.dest-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.dest-hero .display {
    color: var(--white);
    margin-top: 12px;
    font-size: clamp(28px, 4.4vw, 46px);
    line-height: 1.05;
}

/* Force breadcrumbs to read well on dark hero */
.dest-hero .breadcrumbs-list,
.dest-hero .breadcrumbs-list a,
.dest-hero .breadcrumbs-current,
.dest-hero .breadcrumbs-sep {
    color: rgba(255,255,255,.78);
}
.dest-hero .breadcrumbs-list a:hover {
    color: var(--white);
}
.dest-hero .breadcrumbs-current {
    color: var(--white);
    font-weight: 700;
}

.dest-hero .breadcrumbs {
    margin-bottom: 10px;
}

/* Meta chips row */
.dest-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.chip-light {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
}

.chip-light .ico {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}


/* ----------------------------------------------------------
   28. DESTINATION LAYOUT
   Two-column: main content (left), sticky facts rail (right).
   ---------------------------------------------------------- */
.dest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
    padding-top: 40px;
}

.dest-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dest-side {
    position: sticky;
    top: calc(52px + var(--safe-top) + 20px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}


/* ----------------------------------------------------------
   29. DESTINATION CONTENT BLOCKS
   Reusable "section within a page" card.
   ---------------------------------------------------------- */
.dest-block {
    background: transparent;
    min-width: 0;
}

.dest-block .h2 {
    margin-bottom: 14px;
    color: var(--ink);
}

/* Prose: paragraphs inside the description */
.prose {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    word-break: break-word;
}

.prose p + p {
    margin-top: 12px;
}

/* Highlights list */
.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-tint);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.55;
    transition:
        border-color var(--t-fast) var(--ease),
        background var(--t-fast) var(--ease);
}

.highlight-list li:hover {
    background: var(--white);
    border-color: var(--hairline-strong);
}

.highlight-list .ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lime-hover);
    stroke-width: 2.4;
    margin-top: 2px;
}


/* ----------------------------------------------------------
   30. DESTINATION GALLERY
   Auto-fill square-ish grid; clickable to open full image.
   ---------------------------------------------------------- */
.dest-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.dest-gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-3);
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    text-decoration: none;
    transition:
        transform var(--t-base) var(--ease),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
}

.dest-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
}

.dest-gallery-item:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
}

.dest-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.dest-gallery-item:hover img {
    transform: scale(1.05);
}


/* ----------------------------------------------------------
   31. DESTINATION SIDEBAR (fact cards)
   Sticky rail with quick facts, getting there, and a CTA.
   ---------------------------------------------------------- */
.fact-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 18px 18px 16px;
    min-width: 0;
}

.fact-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 12px;
    line-height: 1.3;
}

.fact-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    gap: 0;
}

.fact-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
    min-width: 0;
}

.fact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-row:first-child {
    padding-top: 0;
}

.fact-row dt {
    font-size: 12px;
    color: var(--ink-faint);
    font-weight: 500;
    letter-spacing: .01em;
    margin: 0;
    flex-shrink: 0;
}

.fact-row dd {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* "Getting there" card uses .small from global */
.fact-card .small {
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}

/* Brand CTA variant (dark) */
.fact-card--brand {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.fact-card--brand::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(60% 70% at 50% 0%, rgba(186,255,41,.18), transparent 70%);
}

.fact-card--brand .fact-title {
    color: var(--lime);
}

.fact-card--brand .small {
    color: rgba(255,255,255,.72);
}

.fact-card--brand .btn {
    margin-top: 12px;
}


/* ----------------------------------------------------------
   32. RELATED TOURS SECTION
   Reuses .section, .section-soft, .card-grid, .listing-card
   from the home page — this block only adds small extras.
   ---------------------------------------------------------- */

/* Optional caption under the related tours heading */
.dest-related-empty {
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-tint);
    border: 1px dashed var(--hairline-strong);
    border-radius: var(--r-3);
    color: var(--ink-soft);
    font-size: 13.5px;
}


/* ----------------------------------------------------------
   33. RESPONSIVE — destination page
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .dest-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 28px;
    }
    .dest-side {
        top: calc(48px + var(--safe-top) + 16px);
    }
}

@media (max-width: 900px) {
    .dest-hero {
        padding: 52px 22px 60px;
        border-radius: var(--r-3);
    }
    .dest-hero--photo {
        padding: 84px 22px 72px;
    }
    .dest-hero-inner {
        max-width: none;
    }
    .dest-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 32px;
    }
    .dest-side {
        position: static;
        top: auto;
    }
    .dest-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 640px) {
    :root {
        /* nothing to override — inherits from public.css */
    }
    .dest-hero {
        padding: 40px 18px 48px;
        border-radius: var(--r-2);
        margin-top: 8px;
    }
    .dest-hero--photo {
        padding: 68px 18px 56px;
    }
    .dest-hero .display {
        font-size: clamp(24px, 7vw, 32px);
        margin-top: 8px;
    }
    .dest-hero-meta {
        gap: 6px;
        margin-top: 12px;
    }
    .chip-light {
        height: 26px;
        padding: 0 10px;
        font-size: 11.5px;
    }
    .chip-light .ico {
        width: 12px;
        height: 12px;
    }

    .dest-layout {
        padding-top: 24px;
        gap: 22px;
    }
    .dest-main {
        gap: 24px;
    }

    .dest-block .h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .prose {
        font-size: 14px;
        line-height: 1.7;
    }

    .highlight-list li {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: var(--r-2);
    }
    .highlight-list .ico {
        width: 14px;
        height: 14px;
    }

    .dest-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .dest-gallery-item {
        border-radius: var(--r-2);
    }

    .fact-card {
        padding: 16px;
        border-radius: var(--r-2);
    }
    .fact-row {
        padding: 8px 0;
    }
    .fact-row dt {
        font-size: 11.5px;
    }
    .fact-row dd {
        font-size: 12.5px;
    }
}

@media (max-width: 380px) {
    .dest-hero {
        padding: 34px 16px 42px;
    }
    .dest-hero--photo {
        padding: 60px 16px 48px;
    }
    .dest-hero .display {
        font-size: 24px;
    }
    .dest-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .fact-card {
        padding: 14px;
    }
}


/* ----------------------------------------------------------
   34. REDUCED MOTION — destination page
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .dest-hero-img,
    .dest-gallery-item,
    .dest-gallery-item img,
    .highlight-list li,
    .fact-card,
    .fact-card--brand .btn {
        transition: none !important;
        animation: none !important;
    }
    .dest-gallery-item:hover,
    .highlight-list li:hover {
        transform: none !important;
    }
    .dest-gallery-item:hover img {
        transform: none !important;
    }
}


/* ----------------------------------------------------------
   35. PRINT — destination page
   ---------------------------------------------------------- */
@media print {
    .dest-hero,
    .dest-hero-overlay,
    .dest-hero-img {
        position: static !important;
        background: none !important;
        color: #000 !important;
        padding: 20px 0 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    .dest-hero-img { display: none !important; }
    .dest-hero .display,
    .dest-hero .breadcrumbs-list,
    .dest-hero .breadcrumbs-list a,
    .dest-hero .breadcrumbs-current,
    .dest-hero .chip-light {
        color: #000 !important;
        background: none !important;
        border-color: #ccc !important;
    }
    .dest-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-top: 20px !important;
    }
    .dest-side {
        position: static !important;
        top: auto !important;
    }
    .fact-card,
    .fact-card--brand {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    .fact-card--brand::before { display: none !important; }
    .fact-card--brand .fact-title,
    .fact-card--brand .small {
        color: #000 !important;
    }
    .dest-gallery-item {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .fact-card--brand .btn {
        display: none !important;
    }
}

/* ==========================================================
   §36 — DESTINATIONS INDEX  (destinations.php)
   Editorial listing: hero → filter → featured → grid → CTA.
   ========================================================== */

/* ---------- 36.1 Hero ---------- */
.dest-index-hero {
    padding: 40px 0 12px;
}

.dest-index-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
    margin-top: 20px;
}

.dest-index-hero .eyebrow {
    color: var(--ink-faint);
}

.dest-index-hero .display {
    color: var(--ink);
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.08;
    max-width: 14ch;
    margin: 0;
}

.dest-index-lede {
    max-width: 54ch;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}

.dest-index-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.dest-index-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 6px 12px;
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 500;
    line-height: 1.4;
}

.dest-index-chip strong {
    color: var(--ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}


/* ---------- 36.2 Filter bar ---------- */
.dest-index-filters {
    padding: 22px 0;
    border-bottom: 1px solid var(--hairline);
}

.dest-index-filters .filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.dest-index-filters .filter-field {
    min-width: 0;
}

.dest-index-filters .filter-field--search {
    position: relative;
    flex: 1 1 260px;
    min-width: 200px;
}

.dest-index-filters .filter-field--search .filter-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--ink-faint);
    pointer-events: none;
    display: inline-flex;
}

.dest-index-filters .filter-field--search .filter-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dest-index-filters .filter-field--search input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--white);
    font: inherit;
    font-size: 13px;
    color: var(--ink);
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.dest-index-filters .filter-field--search input::placeholder {
    color: var(--ink-faint);
}

.dest-index-filters .filter-field--search input:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}

.dest-index-filters select {
    height: 40px;
    padding: 0 34px 0 13px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background-color: var(--white);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2355585E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    font: inherit;
    font-size: 13px;
    color: var(--ink);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    min-width: 180px;
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.dest-index-filters select:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}

.dest-index-filters .filter-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dest-index-filters .results-count {
    margin-left: auto;
    font-size: 12.5px;
    color: var(--ink-soft);
    white-space: nowrap;
    line-height: 1.4;
}

.dest-index-filters .results-count strong {
    color: var(--ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}


/* ---------- 36.3 Featured row ---------- */
.dest-featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 14px;
}

.dest-feature {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-3);
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.dest-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.dest-feature[data-hero="true"] {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
}

.dest-feature-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.dest-feature:hover .dest-feature-img {
    transform: scale(1.04);
}

.dest-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,11,11,0) 42%, rgba(11,11,11,.85) 100%);
    pointer-events: none;
}

.dest-feature-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.dest-feature-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
    line-height: 1.4;
}

.dest-feature-name {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--white);
}

.dest-feature[data-hero="true"] .dest-feature-name {
    font-size: clamp(22px, 2.6vw, 32px);
}

.dest-feature-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.dest-feature-count {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--lime);
    font-variant-numeric: tabular-nums;
}

.dest-feature-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--t-base) var(--ease);
}

.dest-feature-arrow svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dest-feature:hover .dest-feature-arrow {
    transform: translateX(3px);
}


/* ---------- 36.4 Main grid ---------- */
.dest-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

.dest-index-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.dest-index-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
}

.dest-index-card:focus-within {
    border-color: var(--black);
}

.dest-index-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
    overflow: hidden;
}

.dest-index-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.dest-index-card:hover .dest-index-media img {
    transform: scale(1.05);
}

.dest-index-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-wash);
    color: var(--black);
}

.dest-index-media-fallback svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dest-index-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    flex: 1;
    min-width: 0;
}

.dest-index-loc {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0;
    line-height: 1.4;
}

.dest-index-loc-sep {
    color: var(--ink-faint);
}

.dest-index-name {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.28;
}

.dest-index-name a {
    color: var(--ink);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}

.dest-index-name a:hover {
    color: var(--lime-hover);
}

.dest-index-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dest-index-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid var(--hairline);
}

.dest-index-stats {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.dest-index-count {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.4;
}

.dest-index-count strong {
    color: var(--ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.dest-index-from {
    font-size: 12px;
    color: var(--ink-faint);
    line-height: 1.4;
}

.dest-index-from strong {
    color: var(--ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.dest-index-cta {
    flex-shrink: 0;
}

.dest-index-cta .ico {
    width: 13px;
    height: 13px;
    transition: transform var(--t-base) var(--ease);
}

.dest-index-cta:hover .ico {
    transform: translateX(2px);
}


/* ---------- 36.5 Responsive ---------- */
@media (max-width: 1024px) {
    .dest-featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }
    .dest-feature[data-hero="true"] {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 900px) {
    .dest-index-hero {
        padding: 30px 0 8px;
    }
    .dest-index-hero-inner {
        margin-top: 16px;
        gap: 12px;
    }
    .dest-index-hero .display {
        font-size: clamp(24px, 5vw, 32px);
        max-width: none;
    }
    .dest-index-lede {
        font-size: 14px;
    }
    .dest-index-filters {
        padding: 18px 0;
    }
}

@media (max-width: 640px) {
    .dest-index-filters .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    .dest-index-filters .filter-field,
    .dest-index-filters select,
    .dest-index-filters .filter-actions {
        width: 100%;
    }
    .dest-index-filters .filter-actions {
        flex-direction: row;
    }
    .dest-index-filters .filter-actions .btn {
        flex: 1;
    }
    .dest-index-filters .results-count {
        margin-left: 0;
        padding-top: 6px;
    }

    .dest-featured-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .dest-feature,
    .dest-feature[data-hero="true"] {
        aspect-ratio: 4 / 3;
        grid-column: auto;
        grid-row: auto;
    }
    .dest-feature-body {
        padding: 18px;
    }

    .dest-index-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .dest-index-body {
        padding: 16px;
    }
    .dest-index-name {
        font-size: 16px;
    }
}


/* ==========================================================
   §37 — DESTINATION DETAIL  (destination.php)
   Photo hero + bookable-first layout.
   ========================================================== */

/* ---------- 37.1 Hero ---------- */
.dest-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    border-radius: var(--r-4);
    margin: 14px 0 0;
    padding: 56px 28px 60px;
}

.dest-hero:not(.dest-hero--photo)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 70% at 50% 0%, rgba(186,255,41,.16), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%);
}

.dest-hero--photo {
    padding: 104px 28px 84px;
}

.dest-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: .58;
}

.dest-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(55% 70% at 50% 0%, rgba(186,255,41,.10), transparent 60%),
        linear-gradient(180deg, rgba(11,11,11,.30) 0%, rgba(11,11,11,.80) 100%);
}

.dest-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.dest-hero .display {
    color: var(--white);
    margin-top: 14px;
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.06;
    letter-spacing: -.03em;
}

.dest-hero .breadcrumbs {
    margin-bottom: 10px;
}

.dest-hero .breadcrumbs-list,
.dest-hero .breadcrumbs-list a,
.dest-hero .breadcrumbs-current,
.dest-hero .breadcrumbs-sep {
    color: rgba(255,255,255,.78);
}

.dest-hero .breadcrumbs-list a:hover {
    color: var(--white);
}

.dest-hero .breadcrumbs-current {
    color: var(--white);
    font-weight: 700;
}

.dest-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.chip-light {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 13px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
}

.chip-light .ico {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.chip-light strong {
    color: var(--white);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.dest-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.dest-hero-ghost {
    background: rgba(255,255,255,.10);
    color: var(--white);
    border-color: rgba(255,255,255,.22);
}

.dest-hero-ghost:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.36);
}


/* ---------- 37.2 Story block ---------- */
.dest-story {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.dest-story-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dest-story-prose {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-soft);
    word-break: break-word;
}

.dest-story-prose p {
    margin: 0;
}

.dest-story-prose p + p {
    margin-top: 14px;
}

.dest-story-side {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    padding: 20px;
    min-width: 0;
}

.dest-story-side-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 14px;
    line-height: 1.4;
}

.dest-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dest-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink);
    padding: 10px 12px;
    background: var(--bg-tint);
    border: 1px solid var(--hairline);
    border-radius: var(--r-2);
}

.dest-highlights li .ico {
    width: 15px;
    height: 15px;
    color: var(--lime-hover);
    stroke-width: 2.4;
    flex-shrink: 0;
    margin-top: 2px;
}


/* ---------- 37.3 Practical info ---------- */
.dest-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.dest-info-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dest-info-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--r-2);
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.dest-info-icon .ico {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.dest-info-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
    margin: 0;
}

.dest-info-body {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}


/* ---------- 37.4 Gallery ---------- */
.dest-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.dest-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-3);
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.dest-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
}

.dest-gallery-item:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
}

.dest-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.dest-gallery-item:hover img {
    transform: scale(1.05);
}


/* ---------- 37.5 Related destinations ---------- */
.dest-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.dest-related-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.dest-related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
}

.dest-related-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
    overflow: hidden;
}

.dest-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.dest-related-card:hover .dest-related-media img {
    transform: scale(1.05);
}

.dest-related-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-wash);
    color: var(--black);
}

.dest-related-media-fallback .ico {
    width: 28px;
    height: 28px;
}

.dest-related-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 16px;
}

.dest-related-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
    line-height: 1.3;
}

.dest-related-meta {
    font-size: 11.5px;
    color: var(--ink-faint);
    font-weight: 600;
    line-height: 1.4;
}


/* ---------- 37.6 CTA panel actions ---------- */
.cta-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}


/* ---------- 37.7 Responsive ---------- */
@media (max-width: 1024px) {
    .dest-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .dest-hero {
        padding: 46px 22px 50px;
        border-radius: var(--r-3);
    }
    .dest-hero--photo {
        padding: 78px 22px 66px;
    }
    .dest-hero .display {
        font-size: clamp(24px, 5vw, 34px);
    }
    .dest-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 640px) {
    .dest-hero {
        padding: 36px 18px 40px;
        border-radius: var(--r-2);
        margin-top: 8px;
    }
    .dest-hero--photo {
        padding: 64px 18px 54px;
    }
    .dest-hero .display {
        font-size: 26px;
        margin-top: 10px;
    }
    .dest-hero-meta {
        gap: 6px;
        margin-top: 14px;
    }
    .chip-light {
        height: 26px;
        padding: 0 11px;
        font-size: 11px;
    }
    .chip-light .ico {
        width: 12px;
        height: 12px;
    }
    .dest-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dest-story-side {
        padding: 16px;
        border-radius: var(--r-2);
    }
    .dest-highlights li {
        padding: 9px 11px;
        font-size: 13px;
    }

    .dest-info-card {
        padding: 18px;
        border-radius: var(--r-2);
    }

    .dest-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .dest-gallery-item {
        border-radius: var(--r-2);
    }

    .cta-panel-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ---------- 37.8 Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .dest-feature,
    .dest-feature-img,
    .dest-feature-arrow,
    .dest-index-card,
    .dest-index-media img,
    .dest-index-cta .ico,
    .dest-hero-img,
    .dest-gallery-item,
    .dest-gallery-item img,
    .dest-related-card,
    .dest-related-media img {
        transition: none !important;
        animation: none !important;
    }
    .dest-feature:hover,
    .dest-index-card:hover,
    .dest-gallery-item:hover,
    .dest-related-card:hover {
        transform: none !important;
    }
    .dest-feature:hover .dest-feature-img,
    .dest-index-card:hover .dest-index-media img,
    .dest-gallery-item:hover img,
    .dest-related-card:hover .dest-related-media img {
        transform: none !important;
    }
}


/* ---------- 37.9 Print ---------- */
@media print {
    .dest-index-filters,
    .dest-index-hero,
    .dest-hero-overlay,
    .dest-hero-img,
    .cta-panel,
    .dest-hero-actions,
    .pagination {
        display: none !important;
    }
    .dest-hero {
        position: static !important;
        background: none !important;
        color: #000 !important;
        padding: 16px 0 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    .dest-hero .display,
    .dest-hero .breadcrumbs-list,
    .dest-hero .breadcrumbs-list a,
    .dest-hero .breadcrumbs-current {
        color: #000 !important;
    }
    .chip-light {
        background: #f2f2f2 !important;
        color: #000 !important;
        border-color: #ccc !important;
    }
    .dest-index-card,
    .dest-feature,
    .dest-related-card,
    .dest-info-card,
    .dest-gallery-item {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        transform: none !important;
    }
}

/* ==========================================================
   §38 — BOOKING FLOW  (book.php + confirmation.php)
   Checkout + post-booking handoff.
   ========================================================== */

/* ---------- 38.1 Checkout head ---------- */
.book-head {
    padding: 32px 0 8px;
}

.book-head-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
    margin-top: 20px;
}

.book-head .display {
    color: var(--ink);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -.03em;
    margin: 0;
}

.book-head-lede {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 60ch;
    margin: 0;
}

.book-head-lede strong {
    color: var(--ink);
    font-weight: 700;
}

/* Steps indicator */
.book-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}

.book-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 8px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.2;
}

.book-step.is-active {
    background: var(--lime-wash);
    border-color: var(--lime-edge);
    color: var(--black);
}

.book-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--hairline);
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.book-step.is-active .book-step-num {
    background: var(--black);
    color: var(--lime);
    border-color: var(--black);
}

.book-step-text {
    white-space: nowrap;
}

/* ---------- 38.2 Layout ---------- */
.book-body {
    padding: 32px 0 60px;
}

.book-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.book-form-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-summary-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: calc(52px + var(--safe-top) + 20px);
}

/* ---------- 38.3 Form card ---------- */
.book-form {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 24px 24px 4px;
}

.book-section {
    border: 0;
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-bottom: 1px solid var(--hairline);
}

.book-section:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.book-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
    margin: 0 0 18px;
    padding: 0;
    line-height: 1.3;
}

.book-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--black);
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.book-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .01em;
}

.field label .req {
    color: var(--pink);
    margin-left: 2px;
    font-weight: 800;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--white);
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
    -webkit-appearance: none;
    appearance: none;
}

.field textarea {
    height: auto;
    min-height: 96px;
    padding: 12px 14px;
    line-height: 1.55;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--ink-faint);
    font-weight: 400;
}

.field input:hover,
.field textarea:hover {
    border-color: var(--ink-faint);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}

.field input[type="date"] {
    cursor: pointer;
}

.field-hint {
    font-size: 11.5px;
    color: var(--ink-faint);
    line-height: 1.5;
}

/* Stepper */
.stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--white);
    overflow: hidden;
    height: 44px;
    width: 100%;
    max-width: 200px;
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.stepper:focus-within {
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}

.stepper-btn {
    flex: 0 0 40px;
    border: 0;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.stepper-btn:hover {
    background: var(--lime);
    color: var(--black);
}

.stepper-btn:active {
    background: var(--lime-hover);
}

.stepper input[type="number"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    border-left: 1px solid var(--hairline);
    border-right: 1px solid var(--hairline);
    border-radius: 0;
    height: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    padding: 0 8px;
    background: var(--white);
    -moz-appearance: textfield;
    appearance: textfield;
}

.stepper input[type="number"]::-webkit-outer-spin-button,
.stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper input[type="number"]:focus {
    outline: none;
    box-shadow: none;
}

/* ---------- 38.4 Submit ---------- */
.book-submit {
    padding: 20px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book-submit-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.book-submit-btn .ico {
    width: 15px;
    height: 15px;
    transition: transform var(--t-base) var(--ease);
}

.book-submit-btn:hover .ico {
    transform: translateX(2px);
}

.book-submit-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
    padding: 10px 12px;
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    border-radius: var(--r-2);
}

.book-submit-note .ico {
    width: 14px;
    height: 14px;
    color: var(--black);
    flex-shrink: 0;
    margin-top: 2px;
    stroke-width: 2;
}

/* ---------- 38.5 Summary card ---------- */
.book-summary {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.book-summary-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
    overflow: hidden;
}

.book-summary-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-summary-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-wash);
    color: var(--black);
}

.book-summary-media-fallback svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.book-summary-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.book-summary-type {
    color: var(--ink-faint);
}

.book-summary-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}

.book-summary-meta {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.book-summary-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 500;
}

.book-summary-meta .ico {
    width: 14px;
    height: 14px;
    color: var(--ink-faint);
}

.book-summary-price {
    margin: 6px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.book-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
}

.book-summary-row dt {
    color: var(--ink-soft);
    margin: 0;
    font-weight: 500;
}

.book-summary-row dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.book-summary-row dd .muted {
    color: var(--ink-faint);
    font-weight: 500;
    font-size: 11.5px;
}

.book-summary-total {
    margin-top: 12px;
    padding: 14px;
    border-radius: var(--r-2);
    background: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.book-summary-total-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}

.book-summary-total-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--lime);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    line-height: 1.1;
}

.book-summary-total-note {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
    line-height: 1.5;
}

/* ---------- 38.6 Trust list ---------- */
.book-trust {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 6px 0;
    display: flex;
    flex-direction: column;
}

.book-trust-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
}

.book-trust-row + .book-trust-row {
    border-top: 1px solid var(--hairline);
}

.book-trust-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: var(--r-2);
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.book-trust-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.book-trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    line-height: 1.45;
}

.book-trust-text strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.book-trust-text span {
    font-size: 12px;
    color: var(--ink-soft);
}


/* ==========================================================
   §39 — CONFIRMATION PAGE  (confirmation.php)
   ========================================================== */

.book-done {
    padding: 40px 0 60px;
}

/* ---------- 39.1 Success banner ---------- */
.book-done-hero {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.book-done-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 6px rgba(186,255,41,.2),
        0 0 0 14px rgba(186,255,41,.08);
    animation: bookDonePop .5s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes bookDonePop {
    0%   { transform: scale(.5); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

.book-done-badge svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.book-done-hero .display {
    color: var(--ink);
    font-size: clamp(28px, 4.4vw, 46px);
    line-height: 1.06;
    letter-spacing: -.03em;
    margin: 0;
}

.book-done-lede {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 62ch;
    margin: 0;
}

.book-done-lede strong {
    color: var(--ink);
    font-weight: 700;
}

/* Reference pill */
.book-done-ref {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    padding: 10px 12px 10px 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    background: var(--bg-tint);
    align-self: flex-start;
    flex-wrap: wrap;
}

.book-done-ref-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.book-done-ref-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .04em;
    padding: 2px 8px;
    background: var(--white);
    border-radius: var(--r-1);
    border: 1px solid var(--hairline);
}

.book-done-ref-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.book-done-ref-copy svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.book-done-ref-copy:hover {
    border-color: var(--black);
    background: var(--bg-soft);
}

.book-done-ref-copy.is-copied {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--black);
}

/* ---------- 39.2 Two-column layout ---------- */
.book-done-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    align-items: start;
}

.book-done-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.book-done-card--accent {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.book-done-card--accent::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(60% 70% at 50% 0%, rgba(186,255,41,.16), transparent 70%);
}

.book-done-card-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0;
    line-height: 1.4;
}

.book-done-card--accent .book-done-card-title {
    color: var(--lime);
}

/* Booking summary list */
.book-done-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.book-done-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
}

.book-done-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.book-done-row:first-child {
    padding-top: 0;
}

.book-done-row dt {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 500;
    margin: 0;
    flex-shrink: 0;
}

.book-done-row dd {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}

.book-done-total {
    font-size: 15px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.book-done-note {
    font-size: 12px;
    line-height: 1.6;
    color: var(--ink-faint);
    margin: 0;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-radius: var(--r-2);
    border: 1px solid var(--hairline);
}

/* Status badge reuse */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.6;
    white-space: nowrap;
}

.status-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.status-pending {
    background: var(--lime-wash);
    color: #4B7A0F;
    border: 1px solid var(--lime-edge);
}

/* ---------- 39.3 What next steps ---------- */
.book-next {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.book-next-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.book-next-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.book-next-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    line-height: 1.5;
}

.book-next-body strong {
    color: var(--white);
    font-size: 13.5px;
    font-weight: 700;
}

.book-next-body span {
    font-size: 12.5px;
    color: rgba(255,255,255,.65);
}

.book-done-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.book-done-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 180px;
}

.book-done-card--accent .btn-outline {
    background: rgba(255,255,255,.10);
    color: var(--white);
    border-color: rgba(255,255,255,.22);
}

.book-done-card--accent .btn-outline:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.36);
}

/* ---------- 39.4 Help strip ---------- */
.book-help {
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    padding: 18px;
}

.book-help-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.book-help-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--hairline);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.book-help-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.book-help-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 260px;
    min-width: 0;
    line-height: 1.5;
}

.book-help-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.book-help-text span {
    font-size: 12.5px;
    color: var(--ink-soft);
}

.book-help .btn {
    flex-shrink: 0;
}


/* ---------- 39.5 Responsive ---------- */
@media (max-width: 1024px) {
    .book-grid,
    .book-done-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .book-summary-col {
        position: static;
        top: auto;
    }
    .book-form {
        padding: 22px 20px 4px;
    }
}

@media (max-width: 900px) {
    .book-head { padding: 26px 0 4px; }
    .book-head-inner { margin-top: 16px; gap: 12px; }
    .book-head .display { font-size: clamp(24px, 5vw, 32px); }
    .book-head-lede { font-size: 14px; }
    .book-done-hero { margin-bottom: 28px; }
    .book-done .display { font-size: clamp(24px, 5vw, 32px); }
    .book-done-lede { font-size: 14px; }
}

@media (max-width: 640px) {
    .book-head { padding: 22px 0 4px; }
    .book-head .display { font-size: 26px; }
    .book-head-lede { font-size: 13.5px; }
    .book-steps { gap: 6px; }
    .book-step { padding: 6px 11px 6px 6px; font-size: 11.5px; }
    .book-step-num { width: 20px; height: 20px; font-size: 10.5px; }

    .book-body { padding: 24px 0 40px; }
    .book-form { padding: 20px 16px 4px; border-radius: var(--r-2); }
    .book-section { padding-bottom: 18px; margin-bottom: 18px; }
    .book-section-title { font-size: 14px; }
    .book-fields { grid-template-columns: 1fr; gap: 14px; }

    .book-summary-body { padding: 18px 16px; }
    .book-summary-title { font-size: 16px; }
    .book-summary-total-value { font-size: 20px; }

    .book-trust-row { padding: 11px 14px; }

    .book-done { padding: 26px 0 40px; }
    .book-done-badge { width: 48px; height: 48px; }
    .book-done-badge svg { width: 22px; height: 22px; }
    .book-done-hero .display { font-size: 26px; }
    .book-done-lede { font-size: 13.5px; }
    .book-done-ref { padding: 10px 12px; }
    .book-done-ref-value { font-size: 13px; }

    .book-done-card { padding: 18px; border-radius: var(--r-2); }
    .book-done-card-title { font-size: 12px; }
    .book-done-row { padding: 9px 0; }
    .book-done-row dt { font-size: 12px; }
    .book-done-row dd { font-size: 13px; }

    .book-done-actions { flex-direction: column; }
    .book-done-actions .btn { width: 100%; min-width: 0; }

    .book-help { padding: 16px; }
    .book-help-inner { gap: 12px; }
    .book-help .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .book-steps { flex-direction: column; align-items: stretch; }
    .book-step { justify-content: flex-start; }
}


/* ---------- 39.6 Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .book-done-badge {
        animation: none !important;
    }
    .book-submit-btn .ico,
    .book-done-badge,
    .book-done-ref-copy {
        transition: none !important;
    }
}


/* ---------- 39.7 Print ---------- */
@media print {
    .book-head,
    .book-form-col,
    .book-help,
    .book-done-actions {
        display: none !important;
    }
    .book-done-hero .display { color: #000 !important; }
    .book-done-card,
    .book-done-card--accent {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    .book-done-card--accent::before { display: none !important; }
    .book-done-card--accent .book-done-card-title,
    .book-done-card--accent .book-next-body strong,
    .book-done-card--accent .book-next-body span {
        color: #000 !important;
    }
}

/* ==========================================================
   §40 — CUSTOMER DASHBOARD  (dashboard.php)
   ========================================================== */

/* ---------- 40.1 Dashboard header ---------- */
.dash-head-section {
    padding: 32px 0 8px;
}

.dash-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dash-head-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 620px;
}

.dash-head .display {
    color: var(--ink);
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0;
}

.dash-head .body {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dash-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.dash-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dash-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.dash-user-logout {
    font-size: 12.5px;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--t-fast) var(--ease);
}

.dash-user-logout:hover {
    color: var(--pink);
}

/* ---------- 40.2 Bookings list ---------- */
.bk-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bk-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--t-base) var(--ease),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
}

.bk-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
}

.bk-media {
    position: relative;
    background: var(--bg-soft);
    overflow: hidden;
    min-height: 160px;
}

.bk-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bk-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-wash);
    color: var(--black);
}

.bk-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    min-width: 0;
}

.bk-ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink-faint);
    line-height: 1.4;
}

.bk-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    line-height: 1.28;
    margin: 0;
}

.bk-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}

.bk-title a:hover {
    color: var(--lime-hover);
}

.bk-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 2px;
}

.bk-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.bk-meta svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--ink-faint);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.bk-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bk-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.bk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.6;
    white-space: nowrap;
}

.bk-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.bk-badge-pending   { background: #FBF1DF; color: #7A5210; border: 1px solid #F0DDB5; }
.bk-badge-confirmed { background: var(--lime-wash); color: #4B7A0F; border: 1px solid var(--lime-edge); }
.bk-badge-completed { background: var(--black); color: var(--lime); border: 1px solid var(--black); }
.bk-badge-cancelled { background: var(--pink-wash); color: #8C2C2C; border: 1px solid var(--pink-edge); }
.bk-badge-paid      { background: #E6F4EE; color: #1D5A41; border: 1px solid #C4E3D4; }
.bk-badge-refunded  { background: #EAF0F8; color: #2F4E75; border: 1px solid #C9D8EC; }

.bk-price {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 700;
    margin-left: 6px;
    font-variant-numeric: tabular-nums;
}

.bk-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--r-2);
    background: var(--lime);
    color: var(--black);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background var(--t-fast) var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.bk-cta:hover {
    background: var(--lime-hover);
}

.bk-cta svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 40.3 Responsive ---------- */
@media (max-width: 900px) {
    .dash-head {
        align-items: flex-start;
    }
    .dash-head .display {
        font-size: clamp(22px, 5vw, 30px);
    }
}

@media (max-width: 700px) {
    .bk-card {
        grid-template-columns: 1fr;
    }
    .bk-media {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }
    .bk-body {
        padding: 18px;
    }
    .bk-title {
        font-size: 16px;
    }
    .dash-user-name {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .dash-head-section {
        padding: 22px 0 4px;
    }
    .dash-head .display {
        font-size: 22px;
    }
    .bk-foot {
        flex-direction: column;
        align-items: stretch;
    }
    .bk-cta {
        justify-content: center;
        width: 100%;
    }
}

/* ---------- 40.4 Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .bk-card {
        transition: none !important;
    }
    .bk-card:hover {
        transform: none !important;
    }
}

/* ==========================================================
   §41 — CUSTOMER BOOKING DETAIL  (booking-detail-customer.php)
   ========================================================== */

.bd-head-section {
    padding: 32px 0 4px;
}

.bd-head-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.bd-head-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-width: 640px;
}

.bd-head .display {
    color: var(--ink);
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0;
}

.bd-head-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bd-ref {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--r-2);
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: #4B7A0F;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.bd-head-actions {
    flex-shrink: 0;
}

/* Grid */
.bd-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.bd-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.bd-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    position: sticky;
    top: calc(52px + var(--safe-top) + 20px);
}

/* Cards */
.bd-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 22px 24px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bd-card--accent {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.bd-card--accent::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(60% 70% at 50% 0%, rgba(186,255,41,.16), transparent 70%);
}

.bd-card-title {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
    line-height: 1.4;
}

.bd-card--accent .bd-card-title {
    color: var(--lime);
    border-bottom-color: rgba(255,255,255,.14);
}

.bd-side-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.72);
    margin: 0;
}

/* Rows */
.bd-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
    min-width: 0;
}

.bd-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bd-row:first-of-type {
    padding-top: 0;
}

.bd-label {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 500;
    flex-shrink: 0;
}

.bd-value {
    font-size: 13.5px;
    color: var(--ink);
    font-weight: 600;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bd-value strong {
    font-weight: 800;
}

.bd-link {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--lime-hover);
    transition: color var(--t-fast) var(--ease);
}

.bd-link:hover {
    color: var(--lime-hover);
}

.bd-prose {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
}

/* Status badges (safe to redeclare — scoped inside §41) */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.6;
    white-space: nowrap;
}

.status-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.status-pending   { background: #FBF1DF; color: #7A5210; border: 1px solid #F0DDB5; }
.status-confirmed { background: var(--lime-wash); color: #4B7A0F; border: 1px solid var(--lime-edge); }
.status-completed { background: var(--black); color: var(--lime); border: 1px solid var(--black); }
.status-cancelled { background: var(--pink-wash); color: #8C2C2C; border: 1px solid var(--pink-edge); }
.status-paid      { background: #E6F4EE; color: #1D5A41; border: 1px solid #C4E3D4; }
.status-refunded  { background: #EAF0F8; color: #2F4E75; border: 1px solid #C9D8EC; }

/* Guests */
.bd-guests {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bd-guest {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: var(--bg-tint);
    border: 1px solid var(--hairline);
    border-radius: var(--r-2);
    font-size: 13px;
    line-height: 1.55;
    min-width: 0;
}

.bd-guest-name {
    font-weight: 700;
    color: var(--ink);
}

.bd-guest-line {
    font-size: 12.5px;
    color: var(--ink-soft);
    overflow-wrap: anywhere;
}

/* Responsive */
@media (max-width: 900px) {
    .bd-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .bd-side {
        position: static;
        top: auto;
    }
}

@media (max-width: 640px) {
    .bd-head-section { padding: 22px 0 4px; }
    .bd-head .display { font-size: 22px; }
    .bd-head-inner { margin-top: 14px; gap: 12px; }
    .bd-head-actions { width: 100%; }
    .bd-head-actions .btn { width: 100%; justify-content: center; }

    .bd-card { padding: 18px; border-radius: var(--r-2); }
    .bd-card-title { font-size: 11px; }
    .bd-row { flex-direction: column; gap: 4px; padding: 9px 0; }
    .bd-value { text-align: left; }
    .bd-ref { font-size: 11px; padding: 4px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .bd-card, .bd-guest, .bd-link { transition: none !important; }
}

/* ==========================================================
   §42 — HOMEPAGE CATEGORY NAVIGATION
   (experience type tiles + featured category pills)
   Appended to assets/css/style.css
   ========================================================== */

/* ----------------------------------------------------------
   42.1 Browse-by-type section
   ---------------------------------------------------------- */
.experience-nav-section {
    padding-top: 8px;
}

.experience-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 12px;
}

/* ----------------------------------------------------------
   42.2 Experience tile
   A large, tappable, accessible card. Whole surface is the link,
   so on mobile the target exceeds 60px height even with 2-col layout.
   ---------------------------------------------------------- */
.experience-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--ink);
    min-height: 76px;
    overflow: hidden;
    transition:
        transform var(--t-base) var(--ease),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease),
        background var(--t-base) var(--ease);
}

/* Subtle brand glow on hover — stays inside the tile */
.experience-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(120% 90% at 0% 50%, rgba(186,255,41,.14), transparent 60%);
    transition: opacity var(--t-base) var(--ease);
}

.experience-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
    background: var(--bg-tint);
}

.experience-tile:hover::before {
    opacity: 1;
}

.experience-tile:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
}

/* Icon */
.experience-tile-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--r-2);
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.experience-tile:hover .experience-tile-icon {
    background: var(--lime);
    border-color: var(--lime);
}

.experience-tile-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Alternate tile colours for visual rhythm without going rainbow */
.experience-tile:nth-child(3n+2) .experience-tile-icon {
    background: var(--bg-soft);
    border-color: var(--hairline);
}
.experience-tile:nth-child(3n+2):hover .experience-tile-icon {
    background: var(--black);
    border-color: var(--black);
    color: var(--lime);
}

.experience-tile:nth-child(3n+3) .experience-tile-icon {
    background: var(--pink-wash);
    border-color: var(--pink-edge);
}
.experience-tile:nth-child(3n+3):hover .experience-tile-icon {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--white);
}

/* Body */
.experience-tile-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    position: relative;
    z-index: 1;
}

.experience-tile-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
    line-height: 1.3;
}

.experience-tile-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-faint);
    font-variant-numeric: tabular-nums;
    padding: 1px 7px;
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    line-height: 1.5;
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.experience-tile:hover .experience-tile-count {
    background: var(--white);
    color: var(--ink);
}

.experience-tile-tagline {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow */
.experience-tile-arrow {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition:
        background var(--t-base) var(--ease),
        color var(--t-base) var(--ease),
        transform var(--t-base) var(--ease);
}

.experience-tile-arrow svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.experience-tile:hover .experience-tile-arrow {
    background: var(--lime);
    color: var(--black);
    transform: translateX(3px);
}

/* ----------------------------------------------------------
   42.3 Featured category pills
   Horizontal scroll strip on mobile, wrapping row on desktop.
   Replaces the old single "View all" button.
   ---------------------------------------------------------- */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding-bottom: 4px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border-radius: var(--r-pill);
    border: 1px solid var(--hairline-strong);
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.005em;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    transition:
        background var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease),
        color var(--t-fast) var(--ease),
        transform var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease);
}

.category-pill:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--lime);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.category-pill:active {
    transform: translateY(0) scale(.98);
}

.category-pill:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
}

.category-pill-label {
    display: inline-block;
}

.category-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    color: var(--ink-soft);
    font-size: 10.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.category-pill:hover .category-pill-count {
    background: rgba(186,255,41,.2);
    color: var(--lime);
}

/* Ghost variant — the "View all" trailing pill */
.category-pill--ghost {
    background: transparent;
    border-color: var(--hairline);
    color: var(--ink-soft);
    font-weight: 600;
}

.category-pill--ghost .ico {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
    transition: transform var(--t-fast) var(--ease);
}

.category-pill--ghost:hover .ico {
    transform: translateX(2px);
}

/* ----------------------------------------------------------
   42.4 Responsive — tiles & pills
   ---------------------------------------------------------- */

/* Tablet: keep tiles in a comfortable two-column grid */
@media (max-width: 1024px) {
    .experience-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .experience-tile {
        padding: 14px 15px;
        gap: 12px;
        min-height: 72px;
    }
    .experience-tile-icon {
        width: 40px;
        height: 40px;
    }
    .experience-tile-icon svg {
        width: 18px;
        height: 18px;
    }
    .experience-tile-title {
        font-size: 14.5px;
    }
    .experience-tile-tagline {
        font-size: 12px;
    }
}

/* Small tablet / large phone: still two columns, tighter */
@media (max-width: 720px) {
    .experience-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .experience-tile {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px;
        min-height: 0;
    }
    .experience-tile-body {
        width: 100%;
    }
    .experience-tile-title {
        font-size: 14px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .experience-tile-tagline {
        font-size: 11.5px;
        -webkit-line-clamp: 2;
    }
    .experience-tile-arrow {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 26px;
        height: 26px;
    }
    .experience-tile-icon {
        width: 38px;
        height: 38px;
    }
    .experience-tile-icon svg {
        width: 17px;
        height: 17px;
    }

    /* Pills become a horizontal snap-scroll strip on small screens */
    .category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        padding-bottom: 8px;
        margin-bottom: 18px;
    }
    .category-pills::-webkit-scrollbar {
        display: none;
    }
    .category-pill {
        flex: 0 0 auto;
        scroll-snap-align: start;
        height: 34px;
        padding: 0 13px;
        font-size: 12.5px;
    }
    .category-pill-count {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Phone: stack tiles to one column, keep the icon inline again */
@media (max-width: 480px) {
    .experience-nav {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .experience-tile {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        min-height: 68px;
    }
    .experience-tile-arrow {
        position: static;
        width: 24px;
        height: 24px;
    }
    .experience-tile-title {
        font-size: 14.5px;
    }
    .experience-tile-tagline {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }
    .experience-tile-icon {
        width: 40px;
        height: 40px;
    }
    .experience-tile-icon svg {
        width: 18px;
        height: 18px;
    }

    .category-pill {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .experience-tile-title {
        font-size: 13.5px;
    }
    .experience-tile-tagline {
        font-size: 11px;
    }
    .category-pill {
        font-size: 11.5px;
        padding: 0 11px;
    }
}

/* ----------------------------------------------------------
   42.5 Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .experience-tile,
    .experience-tile::before,
    .experience-tile-icon,
    .experience-tile-arrow,
    .experience-tile-count,
    .category-pill,
    .category-pill-count,
    .category-pill--ghost .ico {
        transition: none !important;
        animation: none !important;
    }
    .experience-tile:hover,
    .category-pill:hover {
        transform: none !important;
    }
    .experience-tile:hover .experience-tile-arrow,
    .category-pill--ghost:hover .ico {
        transform: none !important;
    }
}

/* ----------------------------------------------------------
   42.6 Print
   ---------------------------------------------------------- */
@media print {
    .experience-nav-section,
    .category-pills {
        display: none !important;
    }
}



/* ==========================================================
   §43 — EXPERIENCE TYPE TABS  (safaris.php)
   Horizontal tab strip that sits between the listing header
   and the filter bar. Replaces the old "product_type = 'safari'"
   hardcoded page title behaviour.
   Appended to assets/css/style.css
   ========================================================== */

.type-tabs {
    border-bottom: 1px solid var(--hairline);
    background: var(--white);
    padding: 0;
    position: relative;
    z-index: 1;
}

.type-tabs-track {
    display: flex;
    align-items: stretch;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 0;
    margin: 0 0 -1px 0;
    scroll-snap-type: x proximity;
}

.type-tabs-track::-webkit-scrollbar {
    display: none;
}

.type-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 14px;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    line-height: 1.2;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition:
        color var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease);
}

.type-tab:hover {
    color: var(--ink);
    border-bottom-color: var(--hairline-strong);
}

.type-tab:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: -3px;
    border-radius: var(--r-2);
}

.type-tab.is-active {
    color: var(--ink);
    border-bottom-color: var(--lime);
    font-weight: 800;
}

.type-tab-label {
    display: inline-block;
}

.type-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 7px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    color: var(--ink-soft);
    font-size: 10.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.type-tab:hover .type-tab-count {
    background: var(--hairline);
}

.type-tab.is-active .type-tab-count {
    background: var(--lime);
    color: var(--black);
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 720px) {
    .type-tab {
        padding: 11px 13px 13px;
        font-size: 13px;
        gap: 6px;
    }
    .type-tab-count {
        min-width: 18px;
        height: 18px;
        padding: 0 6px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .type-tab {
        padding: 10px 11px 12px;
        font-size: 12.5px;
    }
    .type-tab-count {
        min-width: 17px;
        height: 17px;
        padding: 0 5px;
        font-size: 9.5px;
    }
}

/* ----------------------------------------------------------
   Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .type-tab,
    .type-tab-count {
        transition: none !important;
    }
}

/* ----------------------------------------------------------
   Print — hide tabs, they're navigation only
   ---------------------------------------------------------- */
@media print {
    .type-tabs {
        display: none !important;
    }
}


/* ==========================================================
   §44 — TOURS LISTING PAGE  (tours.php)
   Scoped variant of the shared listing shell. Only adds the
   cross-link tab (Safaris →) plus a couple of spacing rules
   so tours.php and safaris.php render identically.
   ========================================================== */

/* Cross-link tab in the type tabs strip — subtle arrow affordance
   telling the user "there are also safaris over there". */
.type-tab--cross {
    margin-left: auto;
    color: var(--ink-soft);
    font-weight: 600;
    padding-right: 4px;
}

.type-tab--cross:hover {
    color: var(--ink);
    border-bottom-color: transparent;
}

.type-tab--cross .type-tab-cross-icon {
    width: 12px;
    height: 12px;
    transition: transform var(--t-fast) var(--ease);
}

.type-tab--cross:hover .type-tab-cross-icon {
    transform: translateX(2px);
}

/* On narrow screens the cross-link shouldn't hog the auto margin */
@media (max-width: 720px) {
    .type-tab--cross {
        margin-left: 8px;
    }
    .type-tab--cross .type-tab-label {
        display: none;
    }
    .type-tab--cross::before {
        content: 'Safaris';
        font-size: 12.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .type-tab--cross .type-tab-cross-icon {
        transition: none !important;
    }
    .type-tab--cross:hover .type-tab-cross-icon {
        transform: none !important;
    }
}

/* ----------------------------------------------------------
   Legacy tours-page class — kept on <body> by some cached
   templates. Neutralise it so it can't fight the shared shell.
   ---------------------------------------------------------- */
.tours-page .hero-banner,
.tours-page .filters-section,
.tours-page .tour-grid,
.tours-page .tour-card,
.tours-page .tour-image-wrapper,
.tours-page .tour-image,
.tours-page .tour-image-placeholder,
.tours-page .tour-badge,
.tours-page .tour-content,
.tours-page .tour-type,
.tours-page .tour-title,
.tours-page .tour-description,
.tours-page .tour-meta,
.tours-page .tour-footer,
.tours-page .results-count,
.tours-page .empty-icon {
    all: unset;
    display: revert;
}


/* ==========================================================
   §45 — CONTACT PAGE  (contact.php)
   Rebuilt on the shared shell. Scoped under .contact-* names
   so nothing leaks to other pages.
   ========================================================== */

/* ----------------------------------------------------------
   45.1 Alert banners (success / error)
   ---------------------------------------------------------- */
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: var(--r-3);
    border: 1px solid var(--hairline);
    background: var(--bg-tint);
    line-height: 1.5;
}

.contact-alert--success {
    background: var(--lime-wash);
    border-color: var(--lime-edge);
    color: var(--black);
}

.contact-alert--error {
    background: var(--pink-wash);
    border-color: var(--pink-edge);
    color: #8C2C2C;
}

.contact-alert-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    box-shadow: var(--shadow-sm);
}

.contact-alert-icon svg {
    width: 16px;
    height: 16px;
}

.contact-alert-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 13.5px;
}

.contact-alert-body strong {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -.01em;
}

.contact-alert-body span {
    font-weight: 500;
    font-size: 13px;
    line-height: 1.55;
}

/* ----------------------------------------------------------
   45.2 Layout — sticky info rail + form card
   ---------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    position: sticky;
    top: calc(52px + var(--safe-top) + 20px);
}

/* ----------------------------------------------------------
   45.3 Info cards
   ---------------------------------------------------------- */
.contact-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.contact-card-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.contact-card-lede {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

/* Dark brand card */
.contact-card--brand {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.contact-card--brand::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(60% 70% at 50% 0%, rgba(186,255,41,.16), transparent 70%);
}

.contact-card-title--light {
    color: var(--white);
}

.contact-card-lede--light {
    color: rgba(255,255,255,.72);
}

.contact-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.contact-card-actions .btn {
    justify-content: center;
    width: 100%;
}

.contact-card-btn-outline {
    background: rgba(255,255,255,.10);
    color: var(--white);
    border-color: rgba(255,255,255,.22);
}

.contact-card-btn-outline:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.36);
}

.contact-card--brand .btn-primary:focus-visible,
.contact-card--brand .btn-outline:focus-visible {
    outline-color: var(--lime);
}

/* ----------------------------------------------------------
   45.4 Contact info list
   ---------------------------------------------------------- */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline);
    min-width: 0;
}

.contact-info-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item:first-child {
    padding-top: 0;
}

.contact-info-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: var(--r-2);
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 16px;
    height: 16px;
}

.contact-info-item:nth-child(2) .contact-info-icon {
    background: var(--bg-soft);
    border-color: var(--hairline);
}

.contact-info-item:nth-child(3) .contact-info-icon {
    background: var(--pink-wash);
    border-color: var(--pink-edge);
}

.contact-info-item:nth-child(4) .contact-info-icon {
    background: var(--bg-soft);
    border-color: var(--hairline);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding-top: 2px;
    line-height: 1.35;
}

.contact-info-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.contact-info-value {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    word-break: break-word;
}

.contact-info-link {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--lime-hover);
    transition: color var(--t-fast) var(--ease);
    align-self: flex-start;
}

.contact-info-link:hover {
    color: var(--lime-hover);
}

/* ----------------------------------------------------------
   45.5 Form card
   ---------------------------------------------------------- */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hairline);
}

.contact-form-head .h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0;
}

.contact-form-head .req {
    color: var(--pink);
    font-weight: 800;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.contact-fields .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-fields .field--full {
    grid-column: 1 / -1;
}

.contact-fields label,
.contact-fields legend {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .01em;
    padding: 0;
    margin: 0;
}

.contact-fields .req {
    color: var(--pink);
    font-weight: 800;
    margin-left: 2px;
}

.field-hint-inline {
    font-weight: 500;
    color: var(--ink-faint);
    margin-left: 3px;
    font-size: 11.5px;
    text-transform: none;
    letter-spacing: 0;
}

.field-hint {
    font-size: 11.5px;
    color: var(--ink-faint);
    line-height: 1.5;
    margin-top: 2px;
}

.contact-fields input[type="text"],
.contact-fields input[type="email"],
.contact-fields input[type="tel"],
.contact-fields textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--white);
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
    transition:
        border-color var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease);
    -webkit-appearance: none;
    appearance: none;
}

.contact-fields input::placeholder,
.contact-fields textarea::placeholder {
    color: var(--ink-faint);
    font-weight: 400;
}

.contact-fields input:hover,
.contact-fields textarea:hover {
    border-color: var(--ink-faint);
}

.contact-fields input:focus,
.contact-fields textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}

.contact-fields textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
    padding-top: 12px;
}

/* ----------------------------------------------------------
   45.6 Interest checkbox group
   ---------------------------------------------------------- */
.contact-interest {
    border: 0;
    padding: 0;
    margin: 0;
}

.contact-interest legend {
    display: block;
    margin-bottom: 10px;
}

.contact-interest-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-interest-option {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-pill);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    line-height: 1.2;
    transition:
        background var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease),
        color var(--t-fast) var(--ease);
    user-select: none;
}

.contact-interest-option:hover {
    background: var(--bg-soft);
    border-color: var(--ink-faint);
}

/* Hide native checkbox but keep it focusable/clickable */
.contact-interest-option input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-interest-box {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1.5px solid var(--hairline-strong);
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition:
        background var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease),
        color var(--t-fast) var(--ease);
}

.contact-interest-box svg {
    width: 10px;
    height: 10px;
    stroke-width: 3;
}

.contact-interest-option input[type="checkbox"]:checked ~ .contact-interest-box {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--black);
}

.contact-interest-option:has(input[type="checkbox"]:checked) {
    background: var(--lime-wash);
    border-color: var(--lime-edge);
    color: var(--black);
}

.contact-interest-option input[type="checkbox"]:focus-visible ~ .contact-interest-box {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

/* ----------------------------------------------------------
   45.7 Form footer / submit
   ---------------------------------------------------------- */
.contact-form-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
    align-items: flex-start;
}

.contact-submit {
    min-width: 200px;
    justify-content: center;
    gap: 8px;
}

.contact-submit .ico {
    width: 15px;
    height: 15px;
    transition: transform var(--t-base) var(--ease);
}

.contact-submit:hover .ico {
    transform: translateX(2px);
}

.contact-form-privacy {
    font-size: 11.5px;
    color: var(--ink-faint);
    line-height: 1.55;
    margin: 0;
    max-width: 380px;
}

/* ----------------------------------------------------------
   45.8 Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-aside {
        position: static;
        top: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .contact-card--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .contact-aside {
        grid-template-columns: 1fr;
    }
    .contact-fields {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 20px;
        border-radius: var(--r-2);
    }
    .contact-form-head .h2 {
        font-size: 18px;
    }
    .contact-info-item {
        padding: 10px 0;
    }
    .contact-interest-grid {
        gap: 6px;
    }
    .contact-interest-option {
        padding: 7px 12px;
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 20px;
        border-radius: var(--r-2);
    }
    .contact-form-card {
        padding: 18px;
    }
    .contact-info-icon {
        width: 30px;
        height: 30px;
    }
    .contact-info-icon svg {
        width: 14px;
        height: 14px;
    }
    .contact-form-foot {
        align-items: stretch;
    }
    .contact-submit {
        width: 100%;
        min-width: 0;
    }
    .contact-interest-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .contact-interest-option {
        justify-content: flex-start;
    }
}

/* ----------------------------------------------------------
   45.9 Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .contact-alert-icon,
    .contact-info-link,
    .contact-interest-option,
    .contact-interest-box,
    .contact-fields input,
    .contact-fields textarea,
    .contact-submit .ico {
        transition: none !important;
    }
    .contact-submit:hover .ico {
        transform: none !important;
    }
}

/* ----------------------------------------------------------
   45.10 Print
   ---------------------------------------------------------- */
@media print {
    .contact-aside,
    .contact-form,
    .contact-submit {
        display: none !important;
    }
    .contact-form-card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}


/* ==========================================================
   §46 — ABOUT PAGE  (about.php)
   Editorial problem/solution layout + stats + steps + values.
   Scoped under .about-* so nothing leaks to other pages.
   ========================================================== */

/* ----------------------------------------------------------
   46.1 Story block — copy + 3 numbered side cards
   ---------------------------------------------------------- */
.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.about-story-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.about-story-copy .eyebrow {
    color: var(--ink-faint);
}

.about-story-title {
    margin: 0 0 4px;
    color: var(--ink);
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.about-story-p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0;
}

.about-story-p + .about-story-p {
    margin-top: 4px;
}

.about-story-p em {
    color: var(--ink);
    font-style: italic;
    font-weight: 500;
}

.about-story-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.about-story-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    min-width: 0;
    transition:
        border-color var(--t-fast) var(--ease),
        transform var(--t-fast) var(--ease);
}

.about-story-card:hover {
    border-color: var(--hairline-strong);
    transform: translateY(-1px);
}

.about-story-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    padding: 0 8px;
    border-radius: var(--r-pill);
    background: var(--lime);
    color: var(--black);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
    align-self: flex-start;
}

.about-story-card:nth-child(2) .about-story-card-num {
    background: var(--black);
    color: var(--lime);
}

.about-story-card:nth-child(3) .about-story-card-num {
    background: var(--pink);
    color: var(--white);
}

.about-story-card-title {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.about-story-card-body {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

/* ----------------------------------------------------------
   46.2 Stats band
   ---------------------------------------------------------- */
.about-stats-section {
    padding-block: 34px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    min-width: 0;
    box-shadow: var(--shadow-sm);
}

.about-stat:nth-child(2) {
    background: var(--lime-wash);
    border-color: var(--lime-edge);
}

.about-stat:nth-child(4) {
    background: var(--pink-wash);
    border-color: var(--pink-edge);
}

.about-stat-number {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.about-stat-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1.3;
    margin-top: 2px;
}

/* ----------------------------------------------------------
   46.3 How-it-works steps
   ---------------------------------------------------------- */
.about-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    min-width: 0;
    position: relative;
    transition:
        border-color var(--t-fast) var(--ease),
        transform var(--t-base) var(--ease),
        box-shadow var(--t-base) var(--ease);
}

.about-step:hover {
    border-color: var(--hairline-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.about-step-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--r-2);
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-step:nth-child(2) .about-step-icon {
    background: var(--bg-soft);
    border-color: var(--hairline);
}

.about-step:nth-child(3) .about-step-icon {
    background: var(--pink-wash);
    border-color: var(--pink-edge);
}

.about-step-icon svg {
    width: 18px;
    height: 18px;
}

.about-step-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.about-step-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.about-step-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

/* ----------------------------------------------------------
   46.4 Values grid
   ---------------------------------------------------------- */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
}

.about-value {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 22px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    min-width: 0;
    transition:
        border-color var(--t-fast) var(--ease),
        transform var(--t-base) var(--ease),
        box-shadow var(--t-base) var(--ease);
}

.about-value:hover {
    border-color: var(--hairline-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.about-value-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--r-2);
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-value:nth-child(2n) .about-value-icon {
    background: var(--bg-soft);
    border-color: var(--hairline);
}

.about-value:nth-child(3n) .about-value-icon {
    background: var(--pink-wash);
    border-color: var(--pink-edge);
}

.about-value-icon svg {
    width: 18px;
    height: 18px;
}

.about-value-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.about-value-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}

/* ----------------------------------------------------------
   46.5 CTA panel actions (shared with destination page — safe to re-declare)
   ---------------------------------------------------------- */
.cta-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.cta-panel-actions .btn-outline {
    background: rgba(255,255,255,.10);
    color: var(--white);
    border-color: rgba(255,255,255,.22);
}

.cta-panel-actions .btn-outline:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.36);
}

.cta-panel .eyebrow {
    color: var(--lime);
}

/* ----------------------------------------------------------
   46.6 Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .about-story-aside {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    .about-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 720px) {
    .about-story-aside {
        grid-template-columns: 1fr;
    }
    .about-stat {
        padding: 16px 18px;
    }
    .about-stat-number {
        font-size: 24px;
    }
    .about-stat-label {
        font-size: 10.5px;
    }
    .about-step,
    .about-value {
        padding: 20px 18px;
        border-radius: var(--r-2);
    }
    .about-steps {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .about-story-title {
        font-size: 22px;
    }
    .about-stat {
        padding: 14px 14px;
    }
    .about-stat-number {
        font-size: 22px;
    }
    .about-stat-label {
        font-size: 10px;
    }
    .about-step,
    .about-value {
        padding: 18px 16px;
    }
    .cta-panel-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-panel-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------------------------
   46.7 Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .about-story-card,
    .about-step,
    .about-value {
        transition: none !important;
    }
    .about-story-card:hover,
    .about-step:hover,
    .about-value:hover {
        transform: none !important;
    }
}

/* ----------------------------------------------------------
   46.8 Print
   ---------------------------------------------------------- */
@media print {
    .cta-panel,
    .site-footer .footer-section,
    .mobile-dock {
        display: none !important;
    }
    .about-step,
    .about-value,
    .about-story-card,
    .about-stat {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .about-stats,
    .about-steps {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================
   §47 — REVIEW SUBMISSION & MODERATION
   Covers review.php (public) and admin/reviews.php (moderation).
   ========================================================== */

/* ----------------------------------------------------------
   47.1 Review result states (thank-you / error)
   ---------------------------------------------------------- */
.review-result {
    max-width: 620px;
    margin: 0 auto;
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-4);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.review-result-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    animation: reviewPop .45s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes reviewPop {
    0%   { transform: scale(.5); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

.review-result-icon svg {
    width: 28px;
    height: 28px;
}

.review-result-icon--success {
    background: var(--lime);
    color: var(--black);
    box-shadow: 0 0 0 6px rgba(186,255,41,.2), 0 0 0 14px rgba(186,255,41,.08);
}

.review-result-icon--error {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(255,51,102,.15), 0 0 0 14px rgba(255,51,102,.06);
}

.review-result-title {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}

.review-result-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
    max-width: 52ch;
}

.review-result-text strong {
    color: var(--ink);
    font-weight: 700;
}

.review-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
}

.review-result-actions .btn {
    justify-content: center;
    gap: 8px;
}

/* ----------------------------------------------------------
   47.2 Review context card (above the form)
   ---------------------------------------------------------- */
.review-context {
    max-width: 720px;
    margin: 0 auto 22px;
    padding: 20px 24px;
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    border-radius: var(--r-3);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-context-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.review-context-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.review-context-meta {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.review-context-meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
}

.review-context-meta li strong {
    color: var(--ink);
    font-weight: 700;
}

.review-context-meta svg {
    width: 14px;
    height: 14px;
    color: var(--ink-faint);
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   47.3 Review form
   ---------------------------------------------------------- */
.review-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.review-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .01em;
}

.review-label .req {
    color: var(--pink);
    font-weight: 800;
    margin-left: 2px;
}

.review-help {
    font-size: 12px;
    color: var(--ink-faint);
    margin: 0;
    line-height: 1.5;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--white);
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.5;
    transition:
        border-color var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease);
}

.review-form input::placeholder,
.review-form textarea::placeholder {
    color: var(--ink-faint);
    font-weight: 400;
}

.review-form input:hover,
.review-form textarea:hover {
    border-color: var(--ink-faint);
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}

.review-form textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.65;
}

/* Star rating */
.review-rating {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.review-star {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: var(--r-2);
    transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.review-star:hover {
    transform: translateY(-2px);
    background: var(--bg-soft);
}

.review-star input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    inset: 0;
}

.review-star-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    color: var(--hairline-strong);
    transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.review-star-icon svg {
    width: 100%;
    height: 100%;
}

.review-star-text {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ink-faint);
    opacity: 0;
    transition: opacity var(--t-fast) var(--ease);
    pointer-events: none;
    letter-spacing: .04em;
}

.review-star:hover .review-star-text {
    opacity: 1;
}

.review-star:has(input:checked) .review-star-icon,
.review-star input:checked ~ .review-star-icon {
    color: var(--lime-hover);
}

.review-star input:checked ~ .review-star-text {
    opacity: 1;
    color: var(--ink);
}

.review-star input:focus-visible ~ .review-star-icon {
    outline: 2px solid var(--black);
    outline-offset: 3px;
    border-radius: var(--r-2);
}

/* Highlight all stars UP TO the checked one (sibling trick via JS-free CSS is limited,
   so we rely on :has() for modern browsers and the plain :checked for fallback) */
.review-rating:has(.review-star:nth-child(1) input:checked) .review-star:nth-child(-n+1) .review-star-icon,
.review-rating:has(.review-star:nth-child(2) input:checked) .review-star:nth-child(-n+2) .review-star-icon,
.review-rating:has(.review-star:nth-child(3) input:checked) .review-star:nth-child(-n+3) .review-star-icon,
.review-rating:has(.review-star:nth-child(4) input:checked) .review-star:nth-child(-n+4) .review-star-icon,
.review-rating:has(.review-star:nth-child(5) input:checked) .review-star:nth-child(-n+5) .review-star-icon {
    color: var(--lime-hover);
}

/* Form footer */
.review-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
}

.review-foot .btn {
    align-self: flex-start;
    gap: 8px;
}

.review-privacy {
    font-size: 11.5px;
    color: var(--ink-faint);
    line-height: 1.55;
    margin: 0;
    max-width: 480px;
}

/* Error alerts inside the form */
.review-alert {
    max-width: 720px;
    margin: 0 auto 20px;
    padding: 14px 18px;
    border-radius: var(--r-2);
    font-size: 13.5px;
    line-height: 1.55;
}

.review-alert ul {
    margin: 0;
    padding-left: 18px;
}

.review-alert--error {
    background: var(--pink-wash);
    border: 1px solid var(--pink-edge);
    color: #8C2C2C;
}

/* ----------------------------------------------------------
   47.4 Admin review moderation list
   ---------------------------------------------------------- */
.admin-review-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-review {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-sm);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-review-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-review-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.admin-review-title strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
}

.admin-review-rating {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    color: var(--lime-hover);
    letter-spacing: .05em;
    line-height: 1;
}

.admin-review-rating span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-soft);
    letter-spacing: 0;
}

.admin-review-meta {
    display: inline-flex;
    gap: 6px;
    font-size: 11.5px;
    color: var(--ink-faint);
    font-weight: 600;
    white-space: nowrap;
}

.admin-review-body {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    word-break: break-word;
}

.admin-review-context {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 20px;
    margin: 0;
    padding: 0;
}

.admin-review-context > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.admin-review-context dt {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.admin-review-context dd {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
}

/* ----------------------------------------------------------
   47.5 Responsive
   ---------------------------------------------------------- */
@media (max-width: 720px) {
    .review-result { padding: 32px 22px; border-radius: var(--r-3); }
    .review-result-icon { width: 54px; height: 54px; }
    .review-result-icon svg { width: 24px; height: 24px; }

    .review-form { padding: 22px; border-radius: var(--r-2); }
    .review-context { padding: 16px 18px; border-radius: var(--r-2); }
    .review-context-title { font-size: 16px; }

    .review-star { width: 40px; height: 40px; }
    .review-star-icon { width: 24px; height: 24px; }

    .admin-review { padding: 18px; border-radius: var(--r-2); }
    .admin-review-context { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .review-result { padding: 26px 18px; }
    .review-result-actions { flex-direction: column; align-items: stretch; }
    .review-result-actions .btn { width: 100%; }

    .review-form { padding: 18px; }
    .review-star { width: 38px; height: 38px; }
    .review-foot .btn { width: 100%; justify-content: center; }

    .admin-review-context { grid-template-columns: 1fr; }
    .admin-review-actions .btn { flex: 1; }
}

/* ----------------------------------------------------------
   47.6 Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .review-result-icon { animation: none !important; }
    .review-star,
    .review-star-icon,
    .review-star-text,
    .review-form input,
    .review-form textarea {
        transition: none !important;
    }
    .review-star:hover { transform: none !important; }
}

/* ----------------------------------------------------------
   47.7 Print
   ---------------------------------------------------------- */
@media print {
    .review-form,
    .review-result-actions,
    .admin-review-actions { display: none !important; }
    .review-result,
    .review-context,
    .admin-review {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}



/* ==========================================================
   §48 — AUTH PAGES  (login.php, register.php, forgot.php)
   Centered card shell without the site-wide nav.
   ========================================================== */

.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 60px;
    background:
        radial-gradient(60% 50% at 15% 10%, rgba(186,255,41,.08), transparent 60%),
        radial-gradient(60% 50% at 85% 90%, rgba(186,255,41,.06), transparent 60%),
        var(--bg);
}

.auth-wrap {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
}

/* ----------------------------------------------------------
   48.1 Brand mark (centered above the card)
   ---------------------------------------------------------- */
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: center;
    text-decoration: none;
    color: var(--ink);
    transition: opacity var(--t-fast) var(--ease);
}

.auth-brand:hover {
    opacity: .85;
}

.auth-brand:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
    border-radius: var(--r-2);
}

.auth-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: var(--r-2);
    background: var(--black);
    color: var(--lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.auth-brand-mark svg {
    width: 22px;
    height: 22px;
}

.auth-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
}

.auth-brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}

.auth-brand-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* ----------------------------------------------------------
   48.2 Auth card
   ---------------------------------------------------------- */
.auth-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-4);
    box-shadow: var(--shadow-md);
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lime), var(--lime-hover));
    border-radius: var(--r-4) var(--r-4) 0 0;
}

.auth-card-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 4px;
}

.auth-card-head .eyebrow {
    color: var(--ink-faint);
}

.auth-title {
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--ink);
    margin: 0;
}

.auth-lede {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

/* ----------------------------------------------------------
   48.3 Auth form
   ---------------------------------------------------------- */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .01em;
}

.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--white);
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
    transition:
        border-color var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease);
    -webkit-appearance: none;
    appearance: none;
}

.auth-form input::placeholder {
    color: var(--ink-faint);
    font-weight: 400;
}

.auth-form input:hover {
    border-color: var(--ink-faint);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(11,11,11,.08);
}

.auth-submit {
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.auth-submit .ico {
    width: 15px;
    height: 15px;
    transition: transform var(--t-base) var(--ease);
}

.auth-submit:hover .ico {
    transform: translateX(2px);
}

/* ----------------------------------------------------------
   48.4 Note strip below the form
   ---------------------------------------------------------- */
.auth-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    border-radius: var(--r-2);
}

.auth-note-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: var(--r-1);
    background: var(--white);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.auth-note-icon svg {
    width: 12px;
    height: 12px;
}

.auth-note-text {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
}

/* ----------------------------------------------------------
   48.5 Card footer / secondary link
   ---------------------------------------------------------- */
.auth-card-foot {
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    text-align: center;
}

.auth-card-foot p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-soft);
}

.auth-card-foot a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid var(--lime-hover);
    padding-bottom: 1px;
    transition: color var(--t-fast) var(--ease);
}

.auth-card-foot a:hover {
    color: var(--lime-hover);
}

/* ----------------------------------------------------------
   48.6 Footer links below the card
   ---------------------------------------------------------- */
.auth-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ink-faint);
    flex-wrap: wrap;
}

.auth-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--t-fast) var(--ease);
}

.auth-links a:hover {
    color: var(--ink);
}

/* ----------------------------------------------------------
   48.7 Responsive
   ---------------------------------------------------------- */
@media (max-width: 480px) {
    .auth-page {
        padding: 32px 16px 48px;
    }
    .auth-card {
        padding: 28px 22px 22px;
        border-radius: var(--r-3);
    }
    .auth-brand-name {
        font-size: 17px;
    }
    .auth-title {
        font-size: 22px;
    }
    .auth-lede {
        font-size: 13.5px;
    }
}

/* ----------------------------------------------------------
   48.8 Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .auth-brand,
    .auth-form input,
    .auth-submit .ico,
    .auth-card-foot a {
        transition: none !important;
    }
    .auth-submit:hover .ico {
        transform: none !important;
    }
}

/* ----------------------------------------------------------
   48.9 Print
   ---------------------------------------------------------- */
@media print {
    .auth-links {
        display: none !important;
    }
    .auth-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}


/* ==========================================================
   §42 — EXPERIENCE NAV — compact one-line strip
   Small horizontal pills. Thumbnail + label + count.
   ========================================================== */

.experience-nav-section {
    padding: 22px 0 8px;
}

.experience-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ----------------------------------------------------------
   Base tile — one-line pill
   ---------------------------------------------------------- */
.experience-tile {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 14px 6px 6px;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform var(--t-fast) var(--ease),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease),
        background var(--t-base) var(--ease);
}

.experience-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--hairline-strong);
}

.experience-tile:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
}

/* ----------------------------------------------------------
   Thumbnail (photo variant)
   ---------------------------------------------------------- */
.experience-tile-thumb {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
}

.experience-tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.experience-tile:hover .experience-tile-thumb img {
    transform: scale(1.08);
}

/* ----------------------------------------------------------
   Icon (fallback variant)
   ---------------------------------------------------------- */
.experience-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--lime-wash);
    border: 1px solid var(--lime-edge);
    color: var(--black);
}

.experience-tile--icon:nth-child(3n+2) .experience-tile-icon {
    background: var(--bg-soft);
    border-color: var(--hairline);
}

.experience-tile--icon:nth-child(3n+3) .experience-tile-icon {
    background: var(--pink-wash);
    border-color: var(--pink-edge);
}

.experience-tile-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ----------------------------------------------------------
   Label + count
   ---------------------------------------------------------- */
.experience-tile-label {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.experience-tile-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    color: var(--ink-soft);
    font-size: 10.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    flex-shrink: 0;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.experience-tile:hover .experience-tile-count {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--black);
}

/* ----------------------------------------------------------
   Photo variant
   ---------------------------------------------------------- */
.experience-tile--photo {
    padding-left: 6px;
}

.experience-tile--photo .experience-tile-thumb {
    box-shadow: inset 0 0 0 1px rgba(11,11,11,.04);
}

.experience-tile--photo:hover {
    background: var(--lime-wash);
    border-color: var(--lime-edge);
}

.experience-tile--photo:hover .experience-tile-count {
    background: var(--white);
    border-color: var(--lime-edge);
    color: var(--black);
}

/* ----------------------------------------------------------
   "All" tile
   ---------------------------------------------------------- */
.experience-tile--all {
    padding: 6px 12px 6px 16px;
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    justify-content: space-between;
    gap: 6px;
}

.experience-tile--all:hover {
    background: var(--black-soft, #1A1A1A);
    border-color: var(--black);
    color: var(--lime);
}

.experience-tile--all .experience-tile-label {
    color: var(--white);
    transition: color var(--t-fast) var(--ease);
}

.experience-tile--all:hover .experience-tile-label {
    color: var(--lime);
}

.experience-tile-arrow {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    transition: transform var(--t-base) var(--ease);
}

.experience-tile--all:hover .experience-tile-arrow {
    transform: translateX(2px);
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .experience-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .experience-tile {
        font-size: 12.5px;
        padding: 5px 12px 5px 5px;
        min-height: 42px;
    }
    .experience-tile-thumb,
    .experience-tile-icon {
        width: 30px;
        height: 30px;
    }
    .experience-tile-icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 720px) {
    .experience-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        gap: 8px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 8px;
    }
    .experience-nav::-webkit-scrollbar {
        display: none;
    }
    .experience-tile {
        flex: 0 0 auto;
        scroll-snap-align: start;
        font-size: 12.5px;
        padding: 5px 13px 5px 5px;
    }
    .experience-tile--all {
        padding: 5px 12px 5px 14px;
    }
}

@media (max-width: 480px) {
    .experience-nav-section {
        padding: 16px 0 4px;
    }
    .experience-tile {
        font-size: 12px;
        min-height: 40px;
        padding: 4px 11px 4px 4px;
        gap: 6px;
    }
    .experience-tile-thumb,
    .experience-tile-icon {
        width: 28px;
        height: 28px;
    }
    .experience-tile-count {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .experience-tile {
        font-size: 11.5px;
        padding: 4px 10px 4px 4px;
    }
    .experience-tile-label {
        max-width: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .experience-tile,
    .experience-tile-thumb img,
    .experience-tile-arrow,
    .experience-tile-count {
        transition: none !important;
    }
    .experience-tile:hover {
        transform: none !important;
    }
    .experience-tile:hover .experience-tile-thumb img,
    .experience-tile--all:hover .experience-tile-arrow {
        transform: none !important;
    }
}

@media print {
    .experience-nav-section {
        display: none !important;
    }
}


/* ==========================================================
   §50 — PUBLIC REVIEWS (product.php)
   Aggregate rating panel, distribution bars, review list,
   and the compact rating summary in the booking card.
   ========================================================== */

/* ---------- 50.1 Rating row under the H1 in the booking card ---------- */
.product-summary-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin-top: -6px;
    line-height: 1.2;
}

.product-summary-rating-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 13px;
    line-height: 1;
    color: var(--hairline-strong);
}

.product-summary-rating-stars .star {
    color: var(--hairline-strong);
}

.product-summary-rating-stars .star.is-on {
    color: var(--lime-hover);
}

.product-summary-rating-value {
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

.product-summary-rating-count {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--lime-hover);
    transition: color var(--t-fast) var(--ease);
}

.product-summary-rating-count:hover {
    color: var(--lime-hover);
}

/* ---------- 50.2 Reviews section ---------- */
.product-section-head .product-reviews-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    margin-left: 8px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    color: var(--ink-soft);
    font-size: 11.5px;
    font-weight: 700;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

/* ---------- 50.3 Aggregate summary ---------- */
.product-reviews-summary {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 20px 0 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--hairline);
}

.product-reviews-score {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.product-reviews-score-value {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.product-reviews-score-max {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-faint);
    margin-left: -2px;
    margin-top: -22px;
    padding-left: 46px;
}

.product-reviews-score-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 15px;
    line-height: 1;
    color: var(--hairline-strong);
}

.product-reviews-score-stars .star {
    color: var(--hairline-strong);
}

.product-reviews-score-stars .star.is-on {
    color: var(--lime-hover);
}

.product-reviews-score-count {
    font-size: 12.5px;
    color: var(--ink-faint);
    font-weight: 500;
    margin-top: 2px;
}

/* ---------- 50.4 Distribution bars ---------- */
.product-reviews-distribution {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-reviews-dist-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
}

.product-reviews-dist-label {
    color: var(--ink-soft);
    font-weight: 600;
    white-space: nowrap;
}

.product-reviews-dist-bar {
    position: relative;
    height: 6px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    overflow: hidden;
}

.product-reviews-dist-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lime) 0%, var(--lime-hover) 100%);
    transition: width .5s var(--ease);
}

.product-reviews-dist-count {
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ==========================================================
   §50 — PUBLIC REVIEWS (product.php)
   Aggregate rating panel, distribution bars, review list,
   and the compact rating summary in the booking card.
   ========================================================== */

/* ---------- 50.1 Rating row under the H1 in the booking card ---------- */
.product-summary-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin-top: -4px;
    line-height: 1.2;
}

.product-summary-rating-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 13px;
    line-height: 1;
    color: var(--hairline-strong);
}

.product-summary-rating-stars .star {
    color: var(--hairline-strong);
}

.product-summary-rating-stars .star.is-on {
    color: var(--lime-hover);
}

.product-summary-rating-value {
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

.product-summary-rating-count {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--lime-hover);
    transition: color var(--t-fast) var(--ease);
}

.product-summary-rating-count:hover {
    color: var(--lime-hover);
}

/* ---------- 50.2 Reviews section ---------- */
.product-section-head .product-reviews-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    margin-left: 8px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    border: 1px solid var(--hairline);
    color: var(--ink-soft);
    font-size: 11.5px;
    font-weight: 700;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
}

/* ---------- 50.3 Aggregate summary ----------
   Clean two-column grid: left = big score + stars,
   right = distribution bars. No more negative margins.
   ---------------------------------------------------------- */
.product-reviews-summary {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 24px 0 28px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--hairline);
}

.product-reviews-score {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    min-width: 0;
}

/* Big number row — number and /5 stay on the same baseline */
.product-reviews-score-value-row {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.product-reviews-score-value {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.product-reviews-score-max {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink-faint);
    line-height: 1;
}

/* Stars row */
.product-reviews-score-stars {
    display: inline-flex;
    gap: 3px;
    font-size: 16px;
    line-height: 1;
    color: var(--hairline-strong);
}

.product-reviews-score-stars .star {
    color: var(--hairline-strong);
}

.product-reviews-score-stars .star.is-on {
    color: var(--lime-hover);
}

/* "Based on N reviews" caption */
.product-reviews-score-count {
    font-size: 12.5px;
    color: var(--ink-faint);
    font-weight: 500;
    line-height: 1.4;
    margin-top: 2px;
}

/* ---------- 50.4 Distribution bars ----------
   Track uses a strong enough tone to be visible on white.
   Zero-count bars render as an empty grey rail, not invisible.
   ---------------------------------------------------------- */
.product-reviews-distribution {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.product-reviews-dist-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    line-height: 1;
}

.product-reviews-dist-label {
    color: var(--ink-soft);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: -.005em;
}

.product-reviews-dist-bar {
    position: relative;
    height: 8px;
    border-radius: var(--r-pill);
    background: var(--hairline);
    overflow: hidden;
    min-width: 0;
}

.product-reviews-dist-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lime) 0%, var(--lime-hover) 100%);
    transition: width .5s var(--ease);
    min-width: 2px;
}

.product-reviews-dist-count {
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.01em;
}

/* ---------- 50.5 Review list ---------- */
.product-reviews-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-review {
    padding: 22px 0;
    border-bottom: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-review:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-review:first-child {
    padding-top: 0;
}

.product-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.product-review-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--black);
    color: var(--lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.product-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    line-height: 1.35;
}

.product-review-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-review-date {
    font-size: 11.5px;
    color: var(--ink-faint);
    font-weight: 500;
}

.product-review-stars {
    display: inline-flex;
    gap: 3px;
    font-size: 14px;
    line-height: 1;
    color: var(--hairline-strong);
    flex-shrink: 0;
}

.product-review-stars .star {
    color: var(--hairline-strong);
}

.product-review-stars .star.is-on {
    color: var(--lime-hover);
}

.product-review-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.product-review-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
    word-break: break-word;
}

/* ---------- 50.6 Empty state ---------- */
.product-reviews-empty {
    padding: 28px 20px;
    text-align: center;
    background: var(--bg-tint);
    border: 1px dashed var(--hairline-strong);
    border-radius: var(--r-3);
}

.product-reviews-empty .body {
    margin: 0;
    font-size: 13.5px;
}

/* ---------- 50.7 Responsive ---------- */
@media (max-width: 720px) {
    .product-reviews-summary {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 0 22px;
        margin-bottom: 20px;
    }
    .product-reviews-score-value {
        font-size: 40px;
    }
    .product-reviews-score-max {
        font-size: 15px;
    }
    .product-reviews-score-stars {
        font-size: 15px;
    }
    .product-reviews-dist-row {
        grid-template-columns: 58px minmax(0, 1fr) 28px;
        gap: 12px;
        font-size: 12px;
    }
    .product-reviews-dist-bar {
        height: 7px;
    }
    .product-review {
        padding: 18px 0;
        gap: 10px;
    }
    .product-review-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .product-review-author {
        font-size: 13.5px;
    }
    .product-review-title {
        font-size: 14px;
    }
    .product-review-body {
        font-size: 13.5px;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .product-reviews-score-value {
        font-size: 36px;
    }
    .product-reviews-score-max {
        font-size: 14px;
    }
    .product-reviews-score-stars {
        font-size: 14px;
    }
    .product-reviews-dist-row {
        grid-template-columns: 52px minmax(0, 1fr) 24px;
        gap: 10px;
        font-size: 11.5px;
    }
    .product-review-stars {
        font-size: 13px;
    }
    .product-review-head {
        gap: 10px;
    }
}

/* ---------- 50.8 Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .product-reviews-dist-fill {
        transition: none !important;
    }
}

/* ---------- 50.9 Print ---------- */
@media print {
    .product-reviews-summary {
        border-bottom: 1px solid #ccc;
    }
    .product-reviews-dist-fill {
        background: #666 !important;
    }
    .product-review {
        border-bottom: 1px solid #ccc;
    }
}

/* ==========================================================
   §51 — CARD RATING PILL  (index.php, safaris.php, tours.php)
   Real aggregate rating fetched from the reviews table.
   Clickable to jump to the review section on the tour page.
   ========================================================== */

/* ----------------------------------------------------------
   51.1 Base pill
   ---------------------------------------------------------- */
.rating {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    white-space: nowrap;
    height: 22px;
    padding: 0 9px;
    border-radius: var(--r-pill);
    background: var(--white);
    border: 1px solid var(--hairline);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1;
    text-decoration: none;
    transition:
        background var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease),
        color var(--t-fast) var(--ease),
        transform var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease);
}

/* ----------------------------------------------------------
   51.2 Clickable variant — the star of the show
   ---------------------------------------------------------- */
.rating--link {
    cursor: pointer;
    padding-right: 10px;
}

.rating--link:hover {
    border-color: var(--black);
    background: var(--bg-tint);
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(11, 11, 11, .06);
}

.rating--link:active {
    transform: translateY(0);
    box-shadow: none;
}

.rating--link:focus-visible {
    outline: none;
    border-color: var(--black);
    box-shadow:
        0 0 0 2px var(--white),
        0 0 0 4px var(--black);
}

/* ----------------------------------------------------------
   51.3 Empty variant — no reviews yet
   ---------------------------------------------------------- */
.rating--empty {
    background: var(--bg-soft);
    border-color: var(--hairline);
    color: var(--ink-faint);
    cursor: default;
    gap: 6px;
}

.rating--empty .rating-count {
    font-style: italic;
    font-weight: 500;
}

/* ----------------------------------------------------------
   51.4 Stars — the visual heart of the pill
   ---------------------------------------------------------- */
.rating-stars,
.rating .stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--hairline-strong);
    /* Compensate for the visual weight of ✭ glyphs */
    margin-top: -1px;
}

.rating-stars .star,
.rating .stars .star {
    display: inline-block;
    color: var(--hairline-strong);
    line-height: 1;
    transition: color var(--t-fast) var(--ease);
    /* Slight letter spacing gives the row more air */
    text-shadow: 0 0 0 transparent;
}

.rating-stars .star.is-on,
.rating .stars .star.is-on {
    /* Lime hover is the brand accent, but for the pill we want
       a warmer, more trustworthy gold-adjacent tone. The lime
       reads well over dark surfaces but can look neon on white.
       This is the lime hue, slightly desaturated. */
    color: #A7EB12;
}

.rating .stars.is-off .star {
    color: var(--hairline-strong);
    opacity: .45;
}

/* On hover of a clickable pill, subtly warm the stars */
.rating--link:hover .rating-stars .star.is-on,
.rating--link:hover .stars .star.is-on {
    color: #93D400;
}

/* ----------------------------------------------------------
   51.5 Numeric rating — the bold number
   ---------------------------------------------------------- */
.rating-value {
    font-size: 11px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.015em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    /* Push it slightly up to align optically with the stars */
    margin-top: -1px;
}

.rating--link:hover .rating-value {
    color: var(--black);
}

/* ----------------------------------------------------------
   51.6 Count — the muted "(12)"
   ---------------------------------------------------------- */
.rating-count {
    font-size: 10px;
    font-weight: 600;
    color: var(--ink-faint);
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    margin-top: -1px;
}

.rating--link:hover .rating-count {
    color: var(--ink-soft);
}

/* ----------------------------------------------------------
   51.7 Distribution-aware tinting
   When a review average is 4.5+ the pill can glow slightly on
   hover. Opt-in via a data attribute so it doesn't fire on
   every pill.
   ---------------------------------------------------------- */
.rating--link[data-high-rating="true"]:hover {
    border-color: var(--lime-hover);
    background: var(--lime-wash);
    box-shadow: 0 2px 8px rgba(186, 255, 41, .35);
}

.rating--link[data-high-rating="true"]:hover .rating-stars .star.is-on {
    color: var(--black);
}

.rating--link[data-high-rating="true"]:hover .rating-value {
    color: var(--black);
}

/* ----------------------------------------------------------
   51.8 Slightly bolder pulse on first render
   A single, subtle scale animation to draw the eye once.
   Runs once per page load (browser only fires the animation
   on the first paint of that element).
   ---------------------------------------------------------- */
@keyframes ratingPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.rating--link[data-fresh="true"] {
    animation: ratingPulse .35s var(--ease) 1s 1 both;
}

/* ----------------------------------------------------------
   51.9 Responsive — tighter on small screens
   ---------------------------------------------------------- */
@media (max-width: 480px) {
    .rating {
        height: 20px;
        padding: 0 8px;
        gap: 4px;
    }
    .rating--link {
        padding-right: 9px;
    }
    .rating-stars,
    .rating .stars {
        font-size: 10px;
    }
    .rating-value {
        font-size: 10.5px;
    }
    .rating-count {
        font-size: 9.5px;
    }
}

@media (max-width: 380px) {
    .rating {
        padding: 0 7px;
        gap: 3px;
    }
    .rating-stars,
    .rating .stars {
        font-size: 9.5px;
    }
    .rating-value {
        font-size: 10px;
    }
    .rating-count {
        font-size: 9px;
    }
}

/* ----------------------------------------------------------
   51.10 Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .rating {
        transition: none !important;
    }
    .rating--link:hover {
        transform: none !important;
    }
    .rating--link[data-fresh="true"] {
        animation: none !important;
    }
}

/* ----------------------------------------------------------
   51.11 Print
   ---------------------------------------------------------- */
@media print {
    .rating {
        border: 1px solid #ccc !important;
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .rating-stars .star.is-on,
    .rating .stars .star.is-on {
        color: #000 !important;
    }
    .rating-count,
    .rating-value {
        color: #000 !important;
    }
}