/* booking.css — supplementary widget styles for the booking subsystem.
   Brand tokens (palette, radius, shadow) come from global.css. The legacy
   `--booking-*` names are kept as aliases so widget-specific rules below
   continue to work without churn; new rules should reference the global
   tokens (--forest, --cream, --brass) directly. */

:root {
  --booking-forest:        var(--forest-2);
  --booking-forest-deep:   var(--forest);
  --booking-cream:         var(--cream);
  --booking-cream-warm:    var(--cream-2);
  --booking-brass:         var(--brass);
  --booking-ink:           var(--ink);
  --booking-muted:         var(--muted);
  --booking-border:        var(--line);
  --booking-error:         #a4351a;
  --booking-success:       #2e6b3a;
  --booking-radius:        var(--radius);
  --booking-shadow:        var(--shadow-sm);
}

/* ===================================================================
   Auth shell — editorial split (login / signup / forgot / reset).
   "Lantern in the Forest" — full-bleed photograph + cream card.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --auth-pride: linear-gradient(90deg,#E40303 0%,#FF8C00 18%,#FFED00 36%,#008026 58%,#004DFF 80%,#750787 100%);
}

/* Lock the page to the viewport on desktop so the two-column layout
 * looks like a destination "lobby" — but allow body scroll on smaller
 * widths so the stacked form can grow taller than 100vh without
 * being trapped behind a hidden overflow.
 *
 * `overflow-x: clip` everywhere stops horizontal scroll-bars from
 * appearing when sub-pixel rounding pushes a child a hair past the
 * viewport edge. */
body:has(.auth-shell) {
  overflow-x: clip;
  background: #F6F1E7;
}
@media (min-width: 1101px) {
  body:has(.auth-shell) { overflow: hidden; height: 100vh; }
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  background: #F6F1E7;
  color: #1E1F1B;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Lock to viewport height on big screens so the right panel can
   * own its own scroll. Stacked mode below releases this. */
  height: 100vh;
  max-width: 100vw;
  overflow: hidden;
}
/* Stack columns earlier — narrow desktops / large tablets were
 * crowding the form (signup button cropping). Below 1100px the form
 * gets the full viewport and the photo collapses above it. */
@media (max-width: 1100px) {
  .auth-shell {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }
  body:has(.auth-shell) { overflow: auto; }
  .auth-shell__hero { min-height: clamp(280px, 42vh, 460px); }
  .auth-shell__quote { bottom: clamp(2rem, 5vw, 3.5rem); }
  .auth-shell__card { overflow-y: visible; height: auto; }
}
/* Phone */
@media (max-width: 540px) {
  .auth-shell__hero { min-height: clamp(220px, 36vh, 360px); }
  .auth-shell__mark { top: 1.1rem; left: 1.1rem; }
  .auth-shell__quote {
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1.6rem;
    max-width: 100%;
  }
  .auth-shell__quote blockquote { font-size: clamp(1.4rem, 7vw, 2rem); }
  .auth-shell__quote-mark { font-size: clamp(3rem, 11vw, 4.5rem); }
  .auth-shell__pride { left: 1.1rem; bottom: 0.9rem; width: 64px; }
  .auth-shell__card-head { padding: 1rem 1.1rem 0.25rem; }
  .auth-shell__card-inner { padding: 0.75rem 1.1rem 2rem; max-width: 100%; }
  .auth-shell__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .auth-form__submit { padding: 0.95rem 1rem; font-size: 0.72rem; }
  .auth-shell__tabs { width: 100%; }
  .auth-shell__tab { flex: 1; text-align: center; }
}

/* ── Left panel: full-bleed forest photograph ───────────────────── */
.auth-shell__hero {
  position: relative;
  overflow: hidden;
  color: #f6f1e7;
  isolation: isolate;
  min-height: 320px;
  min-width: 0; /* let grid track shrink without pushing the page */
}
@media (max-width: 980px) {
  .auth-shell__hero { min-height: 56vh; }
}
.auth-shell__hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--auth-hero);
  background-size: cover;
  /* Pin photo to the right edge so resizing the viewport keeps the
   * subject (swimmer) in frame instead of cropping it out as the
   * panel narrows. */
  background-position: right center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: auth-hero-drift 36s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes auth-hero-drift {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.2%, -0.8%); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-shell__hero-bg { animation: none; }
}
.auth-shell__hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(0,0,0,0) 30%, rgba(11,22,18,.65) 100%),
    linear-gradient(180deg, rgba(11,22,18,.25) 0%, rgba(11,22,18,.4) 45%, rgba(11,22,18,.85) 100%);
}
.auth-shell__mark {
  position: absolute;
  top: clamp(2rem, 4vw, 3.5rem);
  left: clamp(2rem, 4vw, 3.75rem);
  z-index: 3;
  color: #f6f1e7;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.auth-shell__mark-line {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
/* Authentic transparent PNG wordmark (rainbow + sun + trees + water
 * reflection). The asset is hosted locally at /images/the-woods-
 * logo.png with its own alpha channel — no chip, no background. A
 * double drop-shadow keeps it readable over busy areas of the
 * photograph. */
.auth-shell__mark-img {
  display: block;
  width: clamp(180px, 20vw, 260px);
  height: auto;
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.45))
    drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55));
  transition: transform 220ms ease, filter 220ms ease;
}
.auth-shell__mark:hover .auth-shell__mark-img {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.5))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65));
}
.auth-shell__mark-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.78);
  margin-top: 0.6rem;
}
.auth-shell__quote {
  position: absolute;
  z-index: 3;
  left: clamp(2rem, 4vw, 3.75rem);
  right: clamp(2rem, 4vw, 3.75rem);
  bottom: clamp(3rem, 6vw, 5.5rem);
  margin: 0;
  max-width: 24ch;
}
.auth-shell__quote-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.8;
  font-weight: 400;
  display: block;
  margin-bottom: -0.2em;
  color: #B08D57;
  font-style: italic;
  opacity: 0.95;
}
.auth-shell__quote blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  color: #f6f1e7;
}
.auth-shell__quote blockquote em {
  font-style: italic;
  color: #E4D8BF;
  display: inline;
}
.auth-shell__quote figcaption {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.68);
}
/* Pride hairline — tasteful, bottom-anchored signature. */
.auth-shell__pride {
  position: absolute;
  z-index: 3;
  left: clamp(2rem, 4vw, 3.75rem);
  bottom: clamp(1.5rem, 3vw, 2rem);
  display: block;
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: var(--auth-pride);
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

/* ── Right panel: form card on cream ────────────────────────────── */
.auth-shell__card {
  display: flex;
  flex-direction: column;
  background: #F6F1E7;
  position: relative;
  /* Own the scroll: when the form is taller than the viewport the
   * card scrolls inside its column instead of pushing the page out
   * sideways. min-width: 0 lets the grid track actually shrink to
   * its content. */
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  height: 100%;
  scrollbar-gutter: stable;
  /* Tasteful brass scrollbar to match the brand. */
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 141, 87, 0.45) transparent;
}
.auth-shell__card::-webkit-scrollbar { width: 8px; }
.auth-shell__card::-webkit-scrollbar-track { background: transparent; }
.auth-shell__card::-webkit-scrollbar-thumb {
  background: rgba(176, 141, 87, 0.35);
  border-radius: 999px;
}
.auth-shell__card::-webkit-scrollbar-thumb:hover { background: rgba(176, 141, 87, 0.6); }
.auth-shell__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(176,141,87,0.10) 0%, transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(27,58,47,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.auth-shell__card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
}
.auth-shell__back,
.auth-shell__help {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B6F64;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 160ms ease, gap 200ms ease;
}
.auth-shell__back:hover,
.auth-shell__help:hover {
  color: #1B3A2F;
}
.auth-shell__back:hover { gap: 0.7rem; }

.auth-shell__card-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.auth-shell__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9A7846;
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.auth-shell__eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: #B08D57;
  display: inline-block;
}
.auth-shell__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #1B3A2F;
  margin: 0 0 0.85rem;
}
.auth-shell__title::after {
  content: '.';
  color: #B08D57;
}
.auth-shell__subtitle {
  font-family: 'Inter', sans-serif;
  color: #33352D;
  margin: 0 0 2.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
}

.auth-shell__tabs {
  display: inline-flex;
  gap: 0;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(30,31,27,0.10);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 2.25rem;
}
.auth-shell__tab {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  color: #6B6F64;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.auth-shell__tab:hover { color: #1B3A2F; }
.auth-shell__tab.is-active {
  background: #1B3A2F;
  color: #F6F1E7;
  box-shadow: 0 6px 14px -8px rgba(27, 58, 47, 0.55);
}

.auth-shell__slot { position: relative; }

.auth-shell__card-foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(30,31,27,0.14);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #6B6F64;
}
.auth-shell__card-foot p { margin: 0.4rem 0 0; }
.auth-shell__card-foot a {
  color: #1B3A2F;
  text-decoration: underline;
  text-decoration-color: rgba(176,141,87,0.6);
  text-underline-offset: 3px;
}
.auth-shell__card-foot a:hover { text-decoration-color: #B08D57; }
.auth-shell__pride-rule {
  display: block;
  width: 80px;
  height: 2px;
  border-radius: 2px;
  background: var(--auth-pride);
  margin-bottom: 0.9rem;
}

/* ── Form fields — editorial polish ─────────────────────────────── */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* Box-sizing safety: any descendant input/button will compute its
   * width inclusive of padding + border so no field can ever stretch
   * past its parent. */
  min-width: 0;
}
.auth-form *,
.auth-form *::before,
.auth-form *::after { box-sizing: border-box; }
.auth-form input,
.auth-form button { max-width: 100%; }
.auth-form__field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.auth-form__field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1B3A2F;
}
.auth-form__field input[type='email'],
.auth-form__field input[type='password'],
.auth-form__field input[type='text'],
.auth-form__field input[type='date'] {
  border: 1px solid rgba(30,31,27,0.16);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #1E1F1B;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.auth-form__field input::placeholder { color: rgba(30,31,27,0.36); }
.auth-form__field input:hover {
  border-color: rgba(176,141,87,0.5);
}
.auth-form__field input:focus-visible {
  outline: none;
  border-color: #B08D57;
  box-shadow: 0 0 0 4px rgba(176,141,87,0.18);
}
.auth-form__field--inline { flex-direction: row; align-items: flex-start; gap: 0.7rem; }
.auth-form__field--inline label {
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: #33352D;
}
.auth-form__hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #33352D;
}
.auth-form__help {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9A7846;
  text-decoration: none;
  margin-top: 0.35rem;
}
.auth-form__help:hover { color: #1B3A2F; text-decoration: underline; }
.auth-form__error {
  background: #faece8;
  border: 1px solid #e2b9ac;
  color: #842310;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  border-left: 3px solid #a4351a;
}
.auth-form__success {
  background: #e9f1ea;
  border: 1px solid #b8d2bc;
  color: #1f5b30;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  border-left: 3px solid #2e6b3a;
}
.auth-form__submit {
  position: relative;
  background: #1B3A2F;
  color: #F6F1E7;
  border: 1px solid #1B3A2F;
  border-radius: 999px;
  padding: 1.05rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: background 200ms ease, transform 160ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 24px -10px rgba(27,58,47,0.6);
  overflow: hidden;
}
.auth-form__submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(246,241,231,0.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.auth-form__submit:hover {
  background: #24503F;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(27,58,47,0.7);
}
.auth-form__submit:hover::after { transform: translateX(120%); }
.auth-form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.auth-form__divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #9A7846;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0.5rem 0;
}
.auth-form__divider::before,
.auth-form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(30,31,27,0.12);
}
.auth-form__alt {
  background: transparent;
  color: #1B3A2F;
  border: 1px solid rgba(27,58,47,0.25);
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.auth-form__alt:hover {
  background: rgba(176,141,87,0.08);
  border-color: #B08D57;
}
.auth-form__alt-form { display: block; }
.auth-form__alt-form .auth-form__alt { width: 100%; }
.auth-form__footer {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #6B6F64;
  margin-top: 1.5rem;
  text-align: center;
}
.auth-form__footer a {
  color: #1B3A2F;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(176,141,87,0.55);
  text-underline-offset: 3px;
}
.auth-form__footer a:hover { text-decoration-color: #B08D57; }

/* ── Social sign-in (Apple, Google) ─────────────────────────────── */
.auth-form__social-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9A7846;
}
.auth-form__social-divider::before,
.auth-form__social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(30,31,27,0.12);
}
.auth-form__social-divider span { white-space: nowrap; }
.auth-form__social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.auth-form__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 160ms ease, box-shadow 200ms ease;
}
.auth-form__social-btn:focus-visible {
  outline: 2px solid #B08D57;
  outline-offset: 2px;
}
.auth-form__social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.auth-form__social-btn--apple {
  background: #000000;
  color: #fff;
  border: 1px solid #000000;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.6);
}
.auth-form__social-btn--apple:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.7);
}
.auth-form__social-btn--google {
  background: #fff;
  color: #1E1F1B;
  border: 1px solid rgba(30,31,27,0.20);
}
.auth-form__social-btn--google:hover {
  background: #f8f6ef;
  border-color: #B08D57;
  transform: translateY(-1px);
}

/* Subtle entrance — only on first load, respects reduced motion. */
.auth-shell__card-inner > * {
  opacity: 0;
  transform: translateY(8px);
  animation: auth-fade-in 600ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.auth-shell__card-inner > *:nth-child(1) { animation-delay: 60ms; }
.auth-shell__card-inner > *:nth-child(2) { animation-delay: 120ms; }
.auth-shell__card-inner > *:nth-child(3) { animation-delay: 180ms; }
.auth-shell__card-inner > *:nth-child(4) { animation-delay: 240ms; }
.auth-shell__card-inner > *:nth-child(5) { animation-delay: 300ms; }
.auth-shell__card-inner > *:nth-child(6) { animation-delay: 360ms; }
@keyframes auth-fade-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-shell__card-inner > * { animation: none; opacity: 1; transform: none; }
}

/* ===================================================================
   Catalog (Phase 7) — /book search page
   =================================================================== */

.catalog-body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--booking-cream);
  color: var(--booking-ink);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--booking-forest-deep);
  color: var(--booking-cream);
  position: sticky;
  top: 0;
  z-index: 20;
}
.catalog-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--booking-cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.catalog-nav { display: flex; gap: 1.5rem; align-items: center; }
.catalog-nav a {
  color: var(--booking-cream);
  text-decoration: none;
  font-size: 0.9375rem;
  opacity: 0.92;
}
.catalog-nav a:hover { opacity: 1; text-decoration: underline; }
.catalog-nav__cart {
  border: 1px solid var(--booking-brass);
  padding: 0.375rem 0.875rem;
  border-radius: var(--booking-radius);
}

.catalog-search-header {
  background: #fff;
  border-bottom: 1px solid var(--booking-border);
  padding: 1.25rem 2rem;
  position: sticky;
  top: 64px;
  z-index: 15;
  box-shadow: var(--booking-shadow);
}
.catalog-search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) auto;
  gap: 1rem;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto;
}
.catalog-search-field { display: flex; flex-direction: column; gap: 0.25rem; }
.catalog-search-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--booking-forest-deep);
  letter-spacing: 0.02em;
}
.catalog-search-field input,
.catalog-search-field select {
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 0.625rem 0.75rem;
  font: inherit;
  background: #fff;
  color: var(--booking-ink);
}
.catalog-search-field input:focus-visible,
.catalog-search-field select:focus-visible {
  outline: 2px solid var(--booking-brass);
  outline-offset: 1px;
  border-color: var(--booking-brass);
}
.catalog-search-field--narrow { max-width: 90px; }
.catalog-search-submit {
  background: var(--booking-forest-deep);
  color: var(--booking-cream);
  border: 0;
  border-radius: var(--booking-radius);
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.catalog-search-submit:hover { background: var(--booking-forest); }

.catalog-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) {
  .catalog-main { grid-template-columns: 1fr; }
}

.catalog-rail {
  background: #fff;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 1.25rem;
  align-self: start;
  position: sticky;
  top: 200px;
}
.catalog-rail__heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--booking-forest-deep);
  font-weight: 500;
}
.catalog-rail__muted { color: var(--booking-muted); font-size: 0.875rem; margin: 0.25rem 0; }
.catalog-rail__muted a { color: var(--booking-forest); }
.catalog-rail__group { margin: 1.25rem 0; }
.catalog-rail__group h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--booking-muted);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.catalog-rail__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  cursor: pointer;
}
.catalog-rail__checkbox input { accent-color: var(--booking-brass); }
.catalog-rail__apply {
  background: var(--booking-forest);
  color: var(--booking-cream);
  border: 0;
  border-radius: var(--booking-radius);
  padding: 0.625rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
}
.catalog-rail__apply:hover { background: var(--booking-forest-deep); }
.catalog-rail__range { width: 100%; accent-color: var(--booking-brass); }
.catalog-rail__range-value { font-weight: 500; color: var(--booking-forest-deep); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.catalog-card {
  background: #fff;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.catalog-card:hover {
  box-shadow: var(--booking-shadow);
  border-color: var(--booking-brass);
  transform: translateY(-2px);
}
.catalog-card__hero {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--booking-cream-warm), var(--booking-border));
  background-size: cover;
  background-position: center;
}
.catalog-card__hero[data-photo] {
  background-image: var(--card-photo);
}
.catalog-card__body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.catalog-card__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--booking-muted);
  margin: 0;
  font-weight: 600;
}
.catalog-card__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: var(--booking-forest-deep);
  margin: 0;
  font-weight: 500;
}
.catalog-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0.25rem 0 0.5rem;
}
.catalog-card__chip {
  background: var(--booking-cream-warm);
  color: var(--booking-forest-deep);
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  font-weight: 500;
}
.catalog-card__price { margin: 0.25rem 0; display: flex; align-items: baseline; gap: 0.25rem; }
.catalog-card__price-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--booking-forest-deep);
}
.catalog-card__price-suffix { color: var(--booking-muted); font-size: 0.875rem; }
.catalog-card__muted { font-size: 0.8125rem; color: var(--booking-muted); margin: 0; }
.catalog-card__cta {
  display: inline-block;
  margin-top: 0.5rem;
  align-self: flex-start;
  background: var(--booking-forest-deep);
  color: var(--booking-cream);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--booking-radius);
  border-bottom: 2px solid transparent;
}
.catalog-card__cta:hover { background: var(--booking-forest); border-bottom-color: var(--booking-brass); }

.catalog-empty {
  background: #fff;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 3rem 2rem;
  text-align: center;
  grid-column: 1 / -1;
}
.catalog-empty h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--booking-forest-deep);
  margin: 0 0 0.75rem;
  font-weight: 500;
}
.catalog-empty p { color: var(--booking-muted); margin: 0.25rem 0; }
.catalog-empty__detail { font-family: monospace; font-size: 0.8125rem; color: var(--booking-error); }

/* ===================================================================
   Catalog detail (/book/[unit])
   =================================================================== */

.detail-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem;
}
.detail-back { display: inline-block; color: var(--booking-muted); text-decoration: none; margin-bottom: 1rem; }
.detail-back:hover { color: var(--booking-forest); }
.detail-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--booking-forest-deep);
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.detail-eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--booking-muted);
  font-weight: 600;
  margin: 0 0 1rem;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.detail-gallery__photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--booking-cream-warm), var(--booking-border));
  background-size: cover;
  background-position: center;
  border-radius: var(--booking-radius);
}
.detail-gallery__photo--hero { aspect-ratio: 16 / 10; grid-row: span 2; grid-column: 1 / 2; }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 880px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.detail-section { margin-bottom: 2rem; }
.detail-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: var(--booking-forest-deep);
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.detail-amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.detail-amenities li {
  font-size: 0.9rem;
  color: var(--booking-ink);
  padding-left: 1.25rem;
  position: relative;
}
.detail-amenities li::before {
  content: '✓';
  color: var(--booking-brass);
  position: absolute;
  left: 0;
  font-weight: 600;
}
.detail-cart {
  background: #fff;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 1.5rem;
  position: sticky;
  top: 200px;
  height: fit-content;
  box-shadow: var(--booking-shadow);
}
.detail-cart h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.125rem;
  color: var(--booking-forest-deep);
  margin: 0 0 1rem;
  font-weight: 500;
}
.detail-cart__row {
  display: flex;
  justify-content: space-between;
  padding: 0.375rem 0;
  font-size: 0.9rem;
}
.detail-cart__row--total {
  font-weight: 600;
  border-top: 1px solid var(--booking-border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}
.detail-cart__cta {
  background: var(--booking-forest-deep);
  color: var(--booking-cream);
  border: 0;
  border-radius: var(--booking-radius);
  padding: 0.875rem 1.25rem;
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
}
.detail-cart__cta:hover { background: var(--booking-forest); }

.catalog-empty--rich {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.catalog-empty--rich p { max-width: 52ch; }
.catalog-empty__mascot { margin-bottom: 0.5rem; }
.catalog-empty__suggestions { color: var(--booking-muted); font-size: 0.95rem; }
.catalog-empty__suggestions strong { color: var(--booking-forest-deep); }

/* ===================================================================
 * /book/[unit] — Campspot-style two-column detail page
 * =================================================================== */

.cs-detail__crumbs {
  font-size: 0.875rem;
  margin: 0 0 0.5rem;
}
.cs-detail__crumbs a {
  color: var(--booking-forest);
  text-decoration: none;
  font-weight: 500;
}
.cs-detail__crumbs a:hover { text-decoration: underline; }
.cs-detail__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--booking-brass);
  margin: 0.25rem 0 0.5rem;
}
.cs-detail__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--booking-forest-deep);
  margin: 0 0 1.5rem;
  line-height: 1.15;
}
.cs-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
@media (max-width: 880px) {
  .cs-detail__layout { grid-template-columns: 1fr; }
}
.cs-detail__left { min-width: 0; }
.cs-detail__right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* Stretch to the full row height (the left column is much taller)
   * so the sticky child widget has room to actually stick within its
   * containing block. Without this the cell collapses to widget height
   * and `position: sticky` degrades to static. */
  align-self: stretch;
  height: 100%;
}
/* When the table follows the widget, drop the table's bottom margin so
 * the gap is owned by the right-column flex stack. */
.cs-detail__right .cs-detail__sites { margin-bottom: 0; }

/* Gallery */
.cs-detail__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.cs-detail__gallery-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--booking-cream-warm), var(--booking-border));
  background-size: cover;
  background-position: center;
  border-radius: var(--booking-radius);
  overflow: hidden;
}
.cs-detail__gallery-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--booking-forest-deep);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.cs-detail__gallery-cta:hover { background: #fff; }
.cs-detail__gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.cs-detail__gallery-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--booking-cream-warm), var(--booking-border));
  background-size: cover;
  background-position: center;
  border-radius: var(--booking-radius);
  cursor: pointer;
  transition: transform 120ms ease;
}
.cs-detail__gallery-thumb:hover { transform: scale(1.02); }
@media (max-width: 600px) {
  .cs-detail__gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .cs-detail__gallery-thumb:nth-child(n+4) { display: none; }
}

/* Section headings + copy */
.cs-detail__section { margin: 0 0 2rem; }
.cs-detail__h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--booking-forest-deep);
  margin: 0 0 0.75rem;
}
.cs-detail__copy {
  margin: 0;
  color: var(--booking-ink);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 65ch;
}

/* Amenity tiles */
.cs-detail__amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
@media (max-width: 720px) {
  .cs-detail__amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cs-amenity-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  font-size: 0.9rem;
}
.cs-amenity-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--booking-cream-warm);
  color: var(--booking-forest-deep);
  flex-shrink: 0;
}
.cs-amenity-tile__label {
  color: var(--booking-ink);
  font-weight: 500;
}

/* Park map */
.cs-detail__map {
  position: relative;
  aspect-ratio: 5 / 2;
  border-radius: var(--booking-radius);
  overflow: hidden;
  border: 1px solid var(--booking-border);
}
.cs-detail__map svg { display: block; width: 100%; height: 100%; }
.cs-detail__map-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--booking-forest-deep);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.cs-detail__map-cta:hover { background: #fff; }

/* Park map (live image-overlay markers; ParkMap.astro also scopes
   matching styles for the component-local cases. The booking.css
   copy covers the admin coord-picker reuse where Astro scoping
   wouldn't apply.) */
.cs-parkmap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--booking-border);
  background: var(--booking-cream-warm);
}
.cs-parkmap__img { display: block; width: 100%; height: auto; }
.cs-parkmap__marker {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.cs-parkmap__marker--available { background: var(--booking-brass, #b08d57); }
.cs-parkmap__marker--selected {
  background: var(--booking-forest, #1b3a2f);
  width: 28px;
  height: 28px;
  z-index: 2;
}
.cs-parkmap__marker--unavailable {
  background: #999;
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.cs-parkmap__marker:hover { transform: translate(-50%, -50%) scale(1.18); }
.cs-parkmap__marker[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translate(-50%, -100%);
  background: var(--booking-forest-deep, #1f3a2e);
  color: var(--booking-cream, #f6f1e6);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.cs-parkmap__marker:hover[data-tooltip]::after { opacity: 1; }

/* Site Numbers table */
.cs-detail__sites { margin-bottom: 2rem; }
.cs-detail__sites-help {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--booking-muted);
}
.cs-sites-table {
  background: #fff;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  overflow: hidden;
}
.cs-sites-table__head {
  display: grid;
  grid-template-columns: 1fr 2fr 110px;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: var(--booking-cream-warm);
  border-bottom: 1px solid var(--booking-border);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--booking-forest-deep);
}
.cs-sites-row {
  display: grid;
  grid-template-columns: 1fr 2fr 110px;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--booking-border);
  align-items: center;
  text-decoration: none;
  color: var(--booking-ink);
  background: #fff;
  transition: background 120ms ease;
}
.cs-sites-row:first-of-type { border-top: 0; }
.cs-sites-row:hover { background: var(--booking-cream-warm); }
.cs-sites-row--selected {
  background: rgba(176, 141, 87, 0.08);
  box-shadow: inset 3px 0 0 var(--booking-brass);
}
.cs-sites-row--selected:hover { background: rgba(176, 141, 87, 0.12); }
.cs-sites-row--unavailable {
  background: #fafafa;
  color: var(--booking-muted);
  pointer-events: none;
}
.cs-sites-row__num {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--booking-forest-deep);
}
.cs-sites-row__radio {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border: 2px solid var(--booking-border);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}
.cs-sites-row__radio[aria-checked="true"] { border-color: var(--booking-brass); }
.cs-sites-row__radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}
.cs-sites-row__radio[aria-checked="true"] .cs-sites-row__radio-dot { background: var(--booking-brass); }
.cs-sites-row__amenities {
  font-size: 0.875rem;
  color: var(--booking-muted);
  line-height: 1.4;
}
.cs-sites-row__action {
  display: flex;
  justify-content: flex-end;
  font-size: 0.9rem;
  font-weight: 600;
}
.cs-sites-row__select-link { color: var(--booking-forest); }
.cs-sites-row__selected { color: var(--booking-brass); }
.cs-sites-row__unavail { color: var(--booking-muted); font-weight: 500; }
.cs-sites-row__note {
  display: block;
  padding: 0.55rem 1rem 0.7rem 3rem;
  font-size: 0.82rem;
  color: #8b4f6a;
  background: #fdf3f6;
  border-top: 1px solid #f4dde5;
}

/* Right-column widget */
.cs-widget {
  position: sticky;
  /* Pin just below the fixed site header. Header runs ~80px tall in its
   * default state and ~56px once scrolled; 96px gives a small buffer
   * either way so the widget never tucks under the header. */
  top: 96px;
  background: #fff;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 1.25rem;
  box-shadow: var(--booking-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 880px) {
  .cs-widget { position: static; }
}
.cs-widget__section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cs-widget__section + .cs-widget__section {
  padding-top: 1rem;
  border-top: 1px solid var(--booking-border);
}
.cs-widget__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--booking-forest-deep);
  margin: 0 0 0.25rem;
}
.cs-widget__field { display: flex; flex-direction: column; gap: 0.15rem; }
.cs-widget__field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--booking-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cs-widget__field-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--booking-ink);
  font-weight: 500;
}
.cs-widget__edit {
  font-size: 0.82rem;
  color: var(--booking-forest);
  font-weight: 600;
  text-decoration: none;
}
.cs-widget__edit:hover { text-decoration: underline; }
.cs-widget__sites {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  /* Cap visible to ~6 rows (~44px each + 0.3rem gap) and scroll past that. */
  max-height: 280px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 4px;
}
/* Match SiteNumbersTable scroll cap when many siblings */
.cs-sites-rows {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
/* Dim swap target during fetch */
[data-cs-detail][data-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 120ms ease-out;
}

/* Detail page has no pagehero behind the site header — default
   cream nav-link color would be invisible on cream bg. Force the
   "scrolled" treatment (forest-ink text on translucent cream) even
   at scrollY=0 so links stay readable. */
body:has([data-cs-detail]) .site-header:not(.scrolled) {
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
body:has([data-cs-detail]) .site-header:not(.scrolled) .nav a.navlink {
  color: var(--ink-soft);
  text-shadow: none;
}
body:has([data-cs-detail]) .site-header:not(.scrolled) .nav a.navlink:hover {
  color: var(--forest);
}
body:has([data-cs-detail]) .site-header:not(.scrolled) .nav-toggle span {
  background: var(--ink);
}
.cs-widget__site {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  font-size: 0.9rem;
  color: var(--booking-ink);
  text-decoration: none;
  font-weight: 500;
  background: #fff;
  transition: background 120ms ease, border-color 120ms ease;
}
.cs-widget__site:hover {
  background: var(--booking-cream-warm);
  border-color: var(--booking-brass);
}
.cs-widget__site--selected {
  background: rgba(176, 141, 87, 0.08);
  border-color: var(--booking-brass);
}
.cs-widget__site-radio {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--booking-border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.cs-widget__site--selected .cs-widget__site-radio { border-color: var(--booking-brass); }
.cs-widget__site--selected .cs-widget__site-radio::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--booking-brass);
}
.cs-widget__empty {
  margin: 0;
  font-size: 0.85rem;
  color: var(--booking-muted);
}
.cs-widget__selected-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  background: var(--booking-cream-warm);
  border: 1px solid var(--booking-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--booking-forest-deep);
  align-self: flex-start;
}
.cs-widget__pricing { gap: 0.4rem; }
.cs-widget__line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--booking-ink);
}
.cs-widget__line--muted { color: var(--booking-muted); }
.cs-widget__line--total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--booking-forest-deep);
  padding-top: 0.55rem;
  border-top: 1px solid var(--booking-border);
  margin-top: 0.25rem;
}
.cs-widget__cta {
  background: var(--booking-forest-deep);
  color: var(--booking-cream);
  border: 0;
  border-radius: var(--booking-radius);
  padding: 0.95rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease;
}
.cs-widget__cta:hover:not(:disabled) { background: var(--booking-forest); }
.cs-widget__cta:disabled {
  background: var(--booking-muted);
  cursor: not-allowed;
  opacity: 0.7;
}
.cs-widget__hold-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--booking-muted);
  text-align: center;
}
.cs-widget__msg {
  margin: 0;
  font-size: 0.85rem;
  color: var(--booking-forest);
  min-height: 1.2em;
}
.catalog-empty__suggestions a { color: var(--booking-forest); }

/* ────────────────────────────────────────────────────────────────────────
   Phase 8 — /cart page (Tasks 8.3 – 8.7)
   ──────────────────────────────────────────────────────────────────── */

.cart-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  color: var(--booking-ink);
}

.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) {
  .cart-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.cart-content { display: flex; flex-direction: column; gap: 1.75rem; }
.cart-content__head { display: flex; flex-direction: column; gap: 0.5rem; }
.cart-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--booking-brass);
  font-weight: 600;
}
.cart-title { font-family: Fraunces, serif; font-size: 2.25rem; margin: 0; }
.cart-sub { color: var(--booking-muted); margin: 0; }

.cart-section {
  background: white;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 1.25rem 1.5rem;
}
.cart-section h2 { font-family: Fraunces, serif; font-size: 1.25rem; margin: 0 0 1rem; }

.cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  background: white;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 0.75rem;
  align-items: stretch;
}
@media (max-width: 640px) {
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line__money { grid-column: 1 / -1; }
}
.cart-line__photo {
  background-color: var(--booking-cream-warm);
  background-size: cover;
  background-position: center;
  border-radius: var(--booking-radius);
  min-height: 96px;
  display: flex; align-items: center; justify-content: center;
}
.cart-line__photo-placeholder { color: var(--booking-muted); font-size: 0.75rem; }
.cart-line__body { display: flex; flex-direction: column; gap: 0.25rem; }
.cart-line__title { font-family: Fraunces, serif; font-size: 1.05rem; margin: 0; }
.cart-line__meta { font-size: 0.85rem; color: var(--booking-muted); margin: 0; }
.cart-line__sep { margin: 0 0.4rem; }
.cart-line__rate { font-size: 0.9rem; margin: 0; }
.cart-line__muted { color: var(--booking-muted); margin-left: 0.5rem; font-size: 0.8rem; }
.cart-line__addons { list-style: none; padding: 0.25rem 0 0; margin: 0; font-size: 0.85rem; color: var(--booking-muted); }
.cart-line__addons li { display: flex; justify-content: space-between; gap: 0.5rem; }
.cart-line__money { display: flex; flex-direction: column; gap: 0.15rem; min-width: 140px; text-align: right; }
.cart-line__money-row { margin: 0; display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.9rem; }
.cart-line__money-row--muted { color: var(--booking-muted); font-size: 0.8rem; }

/* Flex toggle */
.cart-flex { background: white; border: 1px solid var(--booking-border); border-radius: var(--booking-radius); padding: 1.25rem 1.5rem; }
.cart-flex h2 { font-family: Fraunces, serif; font-size: 1.25rem; margin: 0 0 0.75rem; }
.cart-flex__row { display: flex; align-items: flex-start; gap: 0.85rem; cursor: pointer; }
.cart-flex__row input { margin-top: 0.25rem; transform: scale(1.15); accent-color: var(--booking-forest); }
.cart-flex__label { display: flex; flex-direction: column; gap: 0.25rem; }
.cart-flex__help { color: var(--booking-muted); font-size: 0.85rem; }

/* Add-ons */
.cart-addons__list { display: flex; flex-direction: column; gap: 0.85rem; }
.cart-addon {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  background: var(--booking-cream);
}
.cart-addon__title { font-weight: 600; margin: 0; }
.cart-addon__unit { color: var(--booking-muted); font-weight: 400; margin-left: 0.5rem; font-size: 0.85rem; }
.cart-addon__desc { color: var(--booking-muted); font-size: 0.85rem; margin: 0.2rem 0 0; }
.cart-addon__qty select {
  padding: 0.4rem 0.5rem; border: 1px solid var(--booking-border); border-radius: var(--booking-radius);
  background: white; font-family: inherit;
}
.cart-addon__toggle { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.cart-addon__toggle input { accent-color: var(--booking-forest); }

/* Promo */
.cart-promo { background: white; border: 1px solid var(--booking-border); border-radius: var(--booking-radius); padding: 1.25rem 1.5rem; }
.cart-promo h2 { font-family: Fraunces, serif; font-size: 1.25rem; margin: 0 0 0.75rem; }
.cart-promo__form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cart-promo__form input {
  flex: 1 1 200px;
  padding: 0.55rem 0.75rem; border: 1px solid var(--booking-border); border-radius: var(--booking-radius);
  font-family: inherit; font-size: 0.95rem;
}
.cart-promo__btn {
  padding: 0.55rem 1.1rem; border: 1px solid var(--booking-forest); background: var(--booking-forest); color: var(--booking-cream);
  border-radius: var(--booking-radius); cursor: pointer; font-family: inherit; font-weight: 500;
}
.cart-promo__btn:hover { background: var(--booking-forest-deep); }
.cart-promo__btn--ghost { background: transparent; color: var(--booking-forest); }
.cart-promo__btn--ghost:hover { background: var(--booking-cream); }
.cart-promo__status { margin: 0.5rem 0 0; font-size: 0.85rem; min-height: 1.2em; }
.cart-promo__status.is-error { color: var(--booking-error); }
.cart-promo__status.is-success { color: var(--booking-success); }

/* Countdown */
.cart-countdown {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: var(--booking-forest);
  color: var(--booking-cream);
  border-radius: var(--booking-radius);
  font-family: Fraunces, serif;
  align-self: flex-start;
}
.cart-countdown__label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; opacity: 0.85; }
.cart-countdown__value { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.cart-countdown.is-expiring { background: var(--booking-error); }

/* Summary aside */
.cart-summary {
  position: sticky; top: 1.5rem;
  background: white;
  border: 1px solid var(--booking-border);
  border-radius: var(--booking-radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.cart-summary__title { font-family: Fraunces, serif; font-size: 1.25rem; margin: 0; }
.cart-summary__list { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 1rem; }
.cart-summary__row dt, .cart-summary__row dd { margin: 0; }
.cart-summary__row dd { font-variant-numeric: tabular-nums; }
.cart-summary__row--discount dd { color: var(--booking-success); }
.cart-summary__row--total {
  border-top: 1px solid var(--booking-border); padding-top: 0.55rem; margin-top: 0.3rem;
  font-family: Fraunces, serif; font-size: 1.15rem;
}
.cart-summary__notice { margin: 0; font-size: 0.85rem; min-height: 1.2em; color: var(--booking-muted); }
.cart-summary__notice.is-error { color: var(--booking-error); }
.cart-summary__cta {
  display: block; text-align: center; padding: 0.85rem;
  background: var(--booking-forest); color: var(--booking-cream); text-decoration: none;
  border-radius: var(--booking-radius); font-weight: 600;
}
.cart-summary__cta:hover { background: var(--booking-forest-deep); }
.cart-summary__back { text-align: center; color: var(--booking-forest); font-size: 0.9rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Campspot-style booking widget (Phase 7 restructure)
   ------------------------------------------------------------
   New BEM-ish namespace: .cs-*  ("camp search")
   Replaces the legacy .catalog-* layout with the vertical-list +
   left-rail Campspot pattern. Brand tokens come from global.css.
   ============================================================ */

/* --- Search header bar -------------------------------------- */
.cs-search {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.cs-search__title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.cs-search__bar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}
@media (max-width: 800px) {
  .cs-search__bar { grid-template-columns: 1fr; }
}
.cs-search__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  padding: 0;
}
.cs-search__label {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.cs-search__field__box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}
.cs-search__field__box:focus-within,
button.cs-search__field__box:focus-visible {
  border-color: var(--forest);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 58, 47, 0.12);
}
.cs-search__date-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.cs-search__date-range input[type="date"] {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.15rem 0;
  min-width: 0;
}
.cs-search__date-range input[type="date"]:focus { outline: none; }
.cs-search__arrow { color: var(--muted); }

/* When .cs-search__guests-trigger also has .cs-search__field__box, the box
   class handles bg/border/padding/height. Trigger only adds caret spacing. */
.cs-search__guests-trigger {
  justify-content: space-between;
  gap: 0.5rem;
}
.cs-search__caret { color: var(--muted); font-size: 0.85rem; }
.cs-search__popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cs-search__popover[hidden] {
  display: none !important;
}

/* Date wrap: caption is the visible label; native input is an invisible
   overlay that catches clicks anywhere on the wrapper and opens the
   browser calendar picker. */
.cs-search__date-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0.2rem 0;
  flex: 1;
  cursor: pointer;
}
.cs-search__date-wrap input[type="date"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  /* Some browsers anchor the picker to the indicator; keep it tappable. */
  z-index: 1;
}
.cs-search__date-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}
.cs-search__date-caption {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  width: 100%;
}
.cs-search__date-caption:empty::before {
  content: 'Select date';
  color: var(--muted);
  font-weight: 400;
}

/* In-flight filter swap: dim results during fetch. */
[data-cs-results][data-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 120ms ease-out;
}
.cs-search__counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.cs-search__counter-name { font-weight: 600; }
.cs-search__counter-sub { font-size: 0.8rem; color: var(--muted); }
.cs-search__counter-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cs-search__counter-controls button {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--forest);
  background: var(--white);
  color: var(--forest);
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cs-search__counter-controls button:hover { background: var(--forest); color: var(--cream); }
.cs-search__counter-controls input {
  width: 36px;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  -moz-appearance: textfield;
}
.cs-search__counter-controls input::-webkit-outer-spin-button,
.cs-search__counter-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

.cs-search__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 56px;
  border-radius: 10px;
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.cs-search__submit:hover { background: var(--forest-2); border-color: var(--forest-2); }
.cs-search__submit-icon { display: inline-flex; }
@media (max-width: 800px) {
  .cs-search__submit { width: 100%; justify-content: center; }
}

/* --- Left filter rail --------------------------------------- */
.cs-rail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  font-size: 0.875rem;
}
.cs-rail__map {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.85rem 0.5rem;
}
.cs-rail__map-thumb {
  width: 100%;
  /* Slightly taller than landscape so the real park-map image
   * (roughly portrait) reads cleanly without too much crop. */
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line, #e3e1d8);
}
.cs-rail__map-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.cs-rail__map-cta {
  display: block;
  text-align: center;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--forest);
  color: var(--forest);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cs-rail__map-cta:hover { background: var(--forest); color: var(--cream); }

.cs-rail__form { padding: 0.5rem 0.85rem 1rem; }
.cs-rail__group {
  border: 0;
  margin: 0;
  padding: 0.85rem 0 0.6rem;
  border-top: 1px solid var(--line);
}
.cs-rail__group:first-of-type { border-top: 0; padding-top: 0.25rem; }
.cs-rail__group--hidden { display: none; }
.cs-rail__legend {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 0.35rem;
  padding: 0;
  line-height: 1.1;
}
.cs-rail__check {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.1;
  cursor: pointer;
  color: var(--ink);
}
.cs-rail__check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--forest);
  margin: 0;
}
.cs-rail__count {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Dual-handle slider */
.cs-rail__slider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
}
.cs-rail__slider-sep { color: var(--muted); }
.cs-rail__dual-slider {
  position: relative;
  height: 24px;
  display: grid;
  grid-template-rows: 1fr;
}
.cs-rail__dual-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  height: 24px;
}
.cs-rail__dual-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; background: var(--sand); border-radius: 999px;
}
.cs-rail__dual-slider input[type="range"]::-moz-range-track {
  height: 4px; background: var(--sand); border-radius: 999px;
}
.cs-rail__dual-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  pointer-events: auto;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--forest);
  border: 2px solid var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  margin-top: -7px;
  cursor: pointer;
}
.cs-rail__dual-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--forest);
  border: 2px solid var(--white);
  cursor: pointer;
}

.cs-rail__rv-length {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cs-rail__rv-length-input {
  width: 60px;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.85rem;
  text-align: center;
}
.cs-rail__rv-length input[type="range"] { flex: 1; accent-color: var(--forest); }

.cs-rail__more {
  background: none;
  border: 0;
  padding: 0.35rem 0;
  margin-top: 0.4rem;
  color: var(--forest);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.cs-rail__apply {
  width: 100%;
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.cs-rail__apply:hover { background: var(--forest-2); border-color: var(--forest-2); }
.cs-rail__reset {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.8rem;
}
.cs-rail__reset a { color: var(--forest); text-decoration: underline; }

/* --- Horizontal result card --------------------------------- */
.cs-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 30%) minmax(0, 1fr) minmax(150px, 170px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.cs-card:hover {
  box-shadow: 0 12px 28px -16px rgba(20,24,18,0.32);
  transform: translateY(-2px);
}
.cs-card + .cs-card { margin-top: 16px; }
.cs-card--unavailable { opacity: 0.78; }
.cs-card--unavailable:hover { transform: none; box-shadow: var(--shadow-sm); }

@media (max-width: 800px) {
  .cs-card { grid-template-columns: 1fr; }
}

.cs-card__fav {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 241, 231, 0.92);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cs-card__fav:hover {
  color: var(--brass);
  border-color: var(--brass);
  background: var(--white);
}

.cs-card__photo {
  display: block;
  background: var(--cream-2);
  min-height: 180px;
  overflow: hidden;
}
/* Stretched link: photo <a>'s ::after spans the whole .cs-card (which is
   position: relative). Body + price stay at default z-index (0) so the
   overlay catches clicks on whitespace. Only the elements that need
   their OWN click target (fav, title link, availability link) lift
   above the overlay via z-index. Critically: do NOT change position
   on .cs-card__fav — it MUST stay absolute or the grid breaks. */
.cs-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cs-card__fav { z-index: 3; }
.cs-card__title a,
.cs-card__price-availability { position: relative; z-index: 2; }
.cs-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 180px;
}
.cs-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
}

.cs-card__body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.cs-card__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cs-card__preferred {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--brass);
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}
.cs-card__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0;
  color: var(--forest);
}
.cs-card__title a {
  color: inherit;
}
.cs-card__title a:hover { text-decoration: underline; }
.cs-card__star { color: var(--brass); font-size: 0.85em; }
.cs-card__desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 0;
}
.cs-card__amenities {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}
.cs-card__amenities strong { color: var(--forest); font-weight: 600; }
.cs-card__fits {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}
.cs-card__callout {
  margin-top: 0.4rem;
  padding: 0.6rem 0.85rem;
  background: var(--cream-2);
  border-left: 3px solid var(--brass);
  border-radius: 4px;
  font-size: 0.83rem;
  color: var(--ink-soft);
}
.cs-card__callout p { margin: 0; }
.cs-card__callout p + p { margin-top: 0.25rem; }

.cs-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding: 1rem 1.1rem;
  border-left: 1px solid var(--line);
  background: var(--cream);
  gap: 0.2rem;
}
.cs-card__price--unavailable { background: var(--cream-2); color: var(--muted); }
.cs-card__price-main {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}
.cs-card__price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.cs-card__price-total {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.cs-card__price-status {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
}
.cs-card__price-availability {
  margin-top: 0.6rem;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
}
.cs-card__price-availability:hover { color: var(--forest-2); }

@media (max-width: 800px) {
  .cs-card__price {
    border-left: 0;
    border-top: 1px solid var(--line);
    align-items: flex-start;
    text-align: left;
  }
}

/* --- Results column --------------------------------------- */
.cs-results { min-width: 0; }
.cs-results__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.cs-results__count {
  font-size: 0.95rem;
  color: var(--ink);
}
.cs-results__count strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-right: 0.25rem;
}
.cs-results__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem 0.18rem 0.6rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink);
}
.cs-chip__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.8rem;
  line-height: 1;
  text-decoration: none;
}
.cs-chip__close:hover { background: var(--brass); }
.cs-results__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.cs-results__sort-label {
  font-size: 0.85rem;
  color: var(--muted);
}
.cs-results__sort-select {
  font-family: var(--sans);
  font-size: 0.875rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.cs-results__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* "View Park Map" / "Back to List" toggle button in the results header. */
.cs-results__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--booking-forest, #1b3a2f);
  border-radius: 6px;
  background: var(--booking-forest, #1b3a2f);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 120ms ease-out, color 120ms ease-out;
}
.cs-results__view-btn:hover,
.cs-results__view-btn:focus-visible {
  background: #122b22;
  outline: none;
}
.cs-results__view-btn--back {
  background: #fff;
  color: var(--booking-forest, #1b3a2f);
}
.cs-results__view-btn--back:hover,
.cs-results__view-btn--back:focus-visible {
  background: var(--booking-cream-warm, #f0ede2);
}
/* Map view container — keeps the ParkMap from collapsing inside the
 * narrower right column. min-height ensures the map is large enough to
 * read at default zoom. */
.cs-results__map {
  margin-top: 1rem;
  min-height: 520px;
}

/* ──────────────────────────────────────────────────────────────────
   Park-map overlay (modal). Pre-rendered SSR, opened by JS on a
   "View Park Map" click. Sits over the existing /book layout; close
   via × / backdrop / Esc returns the user to the same scroll position.
   ────────────────────────────────────────────────────────────────── */
.cs-map-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.cs-map-overlay[hidden] { display: none; }
.cs-map-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 18, 0.55);
  backdrop-filter: blur(2px);
}
.cs-map-overlay__dialog {
  position: relative;
  z-index: 1;
  margin: auto;
  width: min(96vw, 1400px);
  height: min(92vh, 900px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cs-map-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--booking-border, #e3e1d8);
  background: var(--booking-cream-warm, #f0ede2);
}
.cs-map-overlay__header h2 {
  margin: 0;
  font-family: var(--serif, 'Fraunces', serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--booking-forest-deep, #1b3a2f);
}
.cs-map-overlay__close-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--booking-forest-deep, #1b3a2f);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: background 100ms ease-out;
}
.cs-map-overlay__close-btn:hover,
.cs-map-overlay__close-btn:focus-visible {
  background: var(--booking-cream-warm, #f0ede2);
  outline: none;
}
.cs-map-overlay__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
}
.cs-map-overlay__rail {
  border-right: 1px solid var(--booking-border, #e3e1d8);
  background: #fff;
  overflow-y: auto;
  min-height: 0;
}
/* Re-skin the FilterRail when it lives inside the overlay so it fits
 * the narrower column and the overlay's panel chrome. */
.cs-map-overlay__rail .cs-rail {
  position: static;
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.cs-map-overlay__rail .cs-rail__map { display: none; }
.cs-map-overlay__map {
  position: relative;
  overflow: auto;
  background: var(--booking-cream-warm, #f0ede2);
}
/* IMPORTANT: do NOT force height:100% / object-fit:contain on the bg
 * image — markers are positioned as % of the canvas, and contain's
 * letterbox would visually drift them away from the underlying map
 * labels. Let the ParkMap size naturally and the .cs-map-overlay__map
 * column scroll if the map is taller than the dialog. */
.cs-map-overlay__map .cs-parkmap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}

/* Popup card opened on marker click inside the overlay. */
.cs-map-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: min(360px, 92%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.cs-map-popup[hidden] { display: none; }
.cs-map-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--booking-forest-deep, #1b3a2f);
  z-index: 1;
}
.cs-map-popup__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #ecede5;
  background-size: cover;
  background-position: center;
}
.cs-map-popup__photo.is-empty {
  background-image: linear-gradient(135deg, #ecede5, #c8d0bf);
}
.cs-map-popup__body {
  padding: 1rem 1.1rem 1.1rem;
  text-align: center;
}
.cs-map-popup__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--booking-muted, #6f7770);
}
.cs-map-popup__title {
  margin: 0 0 0.6rem;
  font-family: var(--serif, 'Fraunces', serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--booking-forest-deep, #1b3a2f);
}
.cs-map-popup__price,
.cs-map-popup__total {
  margin: 0;
  font-size: 0.92rem;
  color: var(--booking-ink, #1f2120);
  line-height: 1.5;
}
.cs-map-popup__total { color: var(--booking-muted, #6f7770); }
.cs-map-popup__select {
  display: block;
  margin-top: 0.9rem;
  padding: 0.7rem 1rem;
  background: #21b573;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background 120ms ease-out;
}
.cs-map-popup__select:hover,
.cs-map-popup__select:focus-visible {
  background: #189059;
  outline: none;
}
.cs-results__list > .cs-card + .cs-card { margin-top: 16px; }

/* Promo band between results */
.cs-promo {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%);
  color: var(--cream);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.cs-promo__copy { flex: 1; }
.cs-promo__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.25rem;
  font-weight: 700;
}
.cs-promo__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 0 0 0.25rem;
  color: var(--cream);
  font-weight: 500;
}
.cs-promo__desc {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}
.cs-promo__cta {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--brass);
  color: var(--ink);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.cs-promo__cta:hover { background: var(--brass-2); }
@media (max-width: 680px) {
  .cs-promo { flex-direction: column; align-items: flex-start; }
  .cs-promo__cta { align-self: stretch; text-align: center; }
}

/* Secondary "Adjust your search" section */
.cs-secondary {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
}
.cs-secondary__heading {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest);
  margin: 0 0 1rem;
}

/* Inline empty state — replaces the old catalog-empty mascot card */
.cs-empty {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}
.cs-empty h3 {
  font-family: var(--serif);
  color: var(--forest);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}
.cs-empty p { margin: 0.25rem 0; font-size: 0.9rem; }


