/* =====================================================================
   Happy Thai Food — shared stylesheet
   Every token below is declared once here. Page files contain no
   hard-coded colour, size, spacing, radius, shadow or duration values.
   ===================================================================== */

/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio.
   Put this @layer first; product CSS outside the layer always wins. */
@layer od-layout {
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
/* /OD-LAYOUT-PRIMITIVES v1 */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  /* colour — derived from the logo: gold, charcoal, sage */
  --ink: #1C1811;
  --ground: #F1F3F2;
  --surface: #FFFFFF;
  --surface-alt: #E8EFE6;
  --brand: #8A5200;
  --brand-deep: #1A150E;
  --brand-bright: #DD9100;
  --brand-line: #A9A396;
  --on-dark: #FFFFFF;
  --on-dark-soft: #E9E7E1;
  --on-dark-quiet: #B9B3A6;
  --on-dark-line: #5C5346;
  --accent: #A32A16;
  --accent-deep: #7E200F;
  --accent-soft: #FBEDEA;
  --muted: #5A5750;
  --line: #D8D4CA;
  --error: #A32A16;
  --error-soft: #FBEDEA;
  --focus: #8A5200;
  --focus-dark: #F0B429;
  --scrim: rgba(26, 21, 14, 0.72);

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-30: 1.875rem;
  --fs-38: 2.375rem;
  --fs-48: 3rem;
  --fs-60: 3.75rem;
  --h1-size: clamp(2.25rem, 1.55rem + 3.1vw, 3.75rem);
  --h2-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.375rem);
  --h3-size: clamp(1.1875rem, 1.08rem + 0.5vw, 1.375rem);
  --lh-body: 1.6;
  --lh-tight: 1.15;
  --measure: 68ch;

  /* spacing — 4px base */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --pad-x: 20px;
  --section-y: clamp(48px, 32px + 5vw, 96px);
  --gap: 16px;

  /* shape */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow-low: 0 1px 2px rgba(28, 24, 17, 0.07);
  --shadow-overlay: 0 8px 24px rgba(28, 24, 17, 0.12);

  /* motion */
  --dur-micro: 160ms;
  --dur-enter: 240ms;
  --dur-overlay: 400ms;
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);

  --header-h: 68px;
}

@media (min-width: 768px) { :root { --pad-x: 32px; --gap: 20px; } }
@media (min-width: 1024px) { :root { --pad-x: 48px; --gap: 24px; --header-h: 76px; } }

/* ---------------------------------------------------------------------
   2. Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--s5));
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); font-weight: 600; }

p { margin: 0; }
img { max-width: 100%; }

a { color: var(--brand); }

ul { margin: 0; padding: 0; list-style: none; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.on-dark {
  --focus: var(--focus-dark);
  color: var(--on-dark-soft);
}
.on-dark a { color: var(--on-dark); }
.on-dark :focus-visible { outline-color: var(--focus-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.shell--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(32px, 24px + 3vw, 64px); }

.band { background: var(--surface); }
.band--alt { background: var(--surface-alt); }
.band--deep { background: var(--brand-deep); }

.section-head {
  max-width: var(--measure);
  margin-bottom: var(--s6);
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s4); }
.prose p { max-width: var(--measure); }

/* long-form legal prose (privacy policy) */
.policy { max-width: var(--measure); }
.policy > * + * { margin-top: var(--s4); }
.policy h2 { margin-top: var(--s7); }
.policy > h2:first-child { margin-top: 0; }
.policy h3 { margin-top: var(--s5); }
.policy ul { list-style: disc; padding-inline-start: var(--s5); }
.policy li + li { margin-top: var(--s2); }
.policy li::marker { color: var(--brand); }
.policy .note { margin-top: var(--s5); }

.lede {
  font-size: var(--fs-18);
  color: var(--muted);
  max-width: var(--measure);
}

.eyebrow {
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.on-dark .eyebrow { color: var(--on-dark-quiet); }

.grid-cards {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .grid-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

/* ---------------------------------------------------------------------
   4. Buttons, links, chips
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 12px var(--s5);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--brand);
  color: var(--on-dark);
  transition: background-color var(--dur-micro) var(--ease-enter),
              border-color var(--dur-micro) var(--ease-enter),
              color var(--dur-micro) var(--ease-enter);
}

.btn--secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--secondary:hover { background: var(--brand); color: var(--on-dark); }

.btn--quiet {
  background: transparent;
  color: var(--brand);
  border-color: transparent;
  padding-inline: var(--s3);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--quiet:hover { color: var(--ink); }

.btn--accent {
  background: var(--accent);
  color: var(--on-dark);
}
.btn--accent:hover { background: var(--accent-deep); }

.on-dark .btn { background: var(--brand-bright); color: var(--brand-deep); }
.on-dark .btn:hover { background: var(--on-dark); }
.on-dark .btn--secondary {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--on-dark-line);
}
.on-dark .btn--secondary:hover { background: var(--on-dark); color: var(--brand-deep); }
.on-dark .btn--quiet { color: var(--on-dark); }
.on-dark .btn--quiet:hover { color: var(--on-dark); text-decoration-thickness: 2px; }

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--surface-alt);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}

.btn .icon { flex: none; }

.link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 2px; color: var(--ink); }
.on-dark .link:hover { color: var(--on-dark); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-14);
  font-weight: 500;
  white-space: nowrap;
}
.chip--plain { background: var(--surface-alt); border-color: transparent; }

.chip-btn {
  font-family: var(--font-body);
  cursor: pointer;
  min-height: 40px;
  padding-inline: 16px;
}
.chip-btn:hover { border-color: var(--brand); }
.chip-btn[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-dark);
}

/* ---------------------------------------------------------------------
   5. Header
   --------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 12px var(--s4);
  background: var(--brand);
  color: var(--on-dark);
  font-weight: 600;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  min-height: var(--header-h);
  padding-block: var(--s2);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.wordmark__logo {
  display: block;
  flex: none;
  width: auto;
  height: 44px;
  object-fit: contain;
}
/* The footer band is dark, so the logo sits on a light chip to stay legible. */
.site-footer .wordmark__logo {
  height: 60px;
  padding: 4px;
  border-radius: var(--r-sm);
  background: #fff;
}
.wordmark__text {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.site-nav { flex: 0 1 auto; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.site-nav__link {
  display: block;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: var(--fs-16);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.site-nav__link[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
  border-bottom-color: var(--brand);
}

.header-actions { display: flex; align-items: center; gap: var(--s2); }
.header-actions .btn { padding-inline: var(--s4); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--brand); }

@media (max-width: 899px) {
  .site-header__inner { padding-block: var(--s3); }
  .nav-toggle { display: inline-flex; }
  .site-header__cta-label { display: none; }
  .site-nav { order: 3; flex: 1 0 100%; display: none; }
  .site-nav[data-open="true"] { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: var(--s2);
  }
  .site-nav__link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-18);
  }
  .site-nav__link:hover { text-decoration: none; }
  .site-nav__link[aria-current="page"] { border-bottom-color: var(--line); }
  .site-nav__actions { padding-top: var(--s4); padding-bottom: var(--s2); }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-header__cta-label { display: inline; }
}

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
/* Hero: the Chef Pair banner opens the page full-bleed, then the headline block,
   then the dish spread closes the hero — never two images touching. */
.hero-banner {
  margin: 0;
  background: var(--brand-deep);
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.hero { background: var(--brand-deep); color: var(--on-dark); }
.hero__figure {
  margin: 0;
  background: var(--brand-deep);
}
.hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(280px, 50vh, 560px);
  object-fit: contain;
  object-position: center;
}
.hero__inner {
  display: grid;
  gap: var(--s5);
  justify-items: center;
  text-align: center;
  padding-block: clamp(40px, 24px + 6vw, 88px) clamp(28px, 20px + 3vw, 48px);
}
.hero__copy {
  display: grid;
  gap: var(--s5);
  justify-items: center;
  max-width: 60ch;
}
.hero .eyebrow { color: var(--brand-bright); }
.hero .actions { justify-content: center; }
.hero__title { color: var(--on-dark); }
.hero__title em { font-style: normal; color: var(--brand-bright); }
.hero__text { color: var(--on-dark-soft); font-size: var(--fs-18); }

.hero__note {
  font-size: var(--fs-14);
  color: var(--on-dark-quiet);
}

/* ---------------------------------------------------------------------
   7. Cards, tiles, stats
   --------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  height: 100%;
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.card__title { font-size: var(--h3-size); }
.card__meta { font-size: var(--fs-14); color: var(--muted); }
.card__actions { margin-top: auto; padding-top: var(--s2); }

.card--link { transition: border-color var(--dur-micro) var(--ease-enter), box-shadow var(--dur-micro) var(--ease-enter); }
.card--link:hover { border-color: var(--brand-line); box-shadow: var(--shadow-low); }

.tile {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.tile__body {
  display: grid;
  gap: var(--s4);
  align-content: start;
  padding: var(--s5);
}
.tile .od-media { background: var(--surface-alt); }

.feature { display: grid; gap: var(--s6); }
.feature__media {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-alt);
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
  .feature--media-end .feature__media { order: 2; }
  .feature--narrow-media { grid-template-columns: 0.8fr 1.2fr; }
}

.tile-media {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-alt);
  aspect-ratio: 4 / 3;
}
.tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-media--portrait { aspect-ratio: 3 / 4; }

.outlet-card { --od-gap: 4px; }
.outlet-card__name { font-size: var(--h3-size); }
.outlet-card__address { color: var(--muted); font-size: var(--fs-16); }
.outlet-card__unit { font-size: var(--fs-14); color: var(--muted); }

.stat {
  display: grid;
  gap: var(--s1);
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.375rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.stat__label { font-size: var(--fs-16); font-weight: 600; }
.stat__note { font-size: var(--fs-14); color: var(--muted); }
.band--deep .stat {
  background: transparent;
  border-color: var(--on-dark-line);
}
.band--deep .stat__value { color: var(--on-dark); }
.band--deep .stat__label { color: var(--on-dark-soft); }
.band--deep .stat__note { color: var(--on-dark-quiet); }

.reward {
  display: grid;
  gap: var(--s3);
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.reward__head {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  flex-wrap: wrap;
}
.reward__amount {
  font-family: var(--font-display);
  font-size: var(--fs-30);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand);
  white-space: nowrap;
}
.reward__title {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.reward__text { color: var(--muted); font-size: var(--fs-16); }
.reward__cadence {
  display: inline-block;
  margin-top: var(--s1);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   8. Hours
   --------------------------------------------------------------------- */
.hours {
  display: grid;
  gap: var(--s5);
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 6px 14px;
  border: 1px solid var(--brand);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--brand-deep);
  font-size: var(--fs-14);
  font-weight: 600;
  white-space: nowrap;
}
.status__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}
.status[data-state="closed"] { border-color: var(--brand-line); color: var(--muted); }
.status[data-state="closed"] .status__dot { border-radius: 1px; }

/* Narrow phones: "Closed now · opens 11:00am tomorrow" is wider than the card,
   and nowrap let it spill past the pill's border so the dot and label drifted
   out of line. Let the label wrap and stay inside the pill instead. */
@media (max-width: 599px) {
  .status {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    align-items: flex-start;
  }
  .status__dot { margin-top: 6px; }
}

.hours__windows {
  display: grid;
  gap: var(--s2);
  font-size: var(--fs-16);
}
.hours__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}
.hours__row:last-child { border-bottom: 0; padding-bottom: 0; }
.hours__day { font-weight: 600; }
.hours__time { color: var(--muted); white-space: nowrap; }

/* ---------------------------------------------------------------------
   9. Notes
   --------------------------------------------------------------------- */
.note {
  display: grid;
  gap: var(--s2);
  padding: var(--s5);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-sm);
  font-size: var(--fs-16);
  color: var(--ink);
  max-width: var(--measure);
}
.note__title {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}
.note--accent { border-top-color: var(--accent); }
.note--accent .note__title { color: var(--accent-deep); }

.callout {
  display: grid;
  gap: var(--s4);
  padding: var(--s6);
  background: var(--brand);
  color: var(--on-dark-soft);
  border-radius: var(--r-lg);
}
.callout h2, .callout h3 { color: var(--on-dark); }
.callout p { max-width: 58ch; }
.callout .btn { background: var(--ground); color: var(--brand-deep); }
.callout .btn--secondary { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }
.callout .btn--secondary:hover { background: var(--on-dark); color: var(--brand-deep); }
.callout .link { color: var(--on-dark); }

.contact-list { --od-gap: var(--s3); }
.contact-list__item {
  display: grid;
  gap: var(--s1);
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
}
a.contact-list__item:hover { border-color: var(--brand); }
.contact-list__label {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--muted);
}
.contact-list__value { font-size: var(--fs-18); font-weight: 600; color: var(--brand); overflow-wrap: anywhere; }
a.contact-list__item:hover .contact-list__value { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------
   10. Social
   --------------------------------------------------------------------- */
.social-list { --od-gap: var(--s3); }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 12px var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: var(--fs-16);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.social-btn:hover { border-color: var(--brand); color: var(--brand); }
.on-dark .social-btn { background: transparent; border-color: var(--on-dark-line); color: var(--on-dark); }
.on-dark .social-btn:hover { border-color: var(--on-dark-quiet); color: var(--on-dark); }

/* ---------------------------------------------------------------------
   11. Enquiry form
   The enquiry form is rendered by the Ninja Forms plugin, which brings
   its own field styles, so no local form rules are needed here.
   --------------------------------------------------------------------- */
.btn[data-loading="true"] { color: transparent; position: relative; }
.btn[data-loading="true"]::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--on-dark-line);
  border-top-color: var(--on-dark);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
.btn--secondary[data-loading="true"]::after,
.btn--secondary[data-loading="true"] { color: transparent; }
.btn--secondary[data-loading="true"]::after { border-color: var(--brand-line); border-top-color: var(--brand); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   12. Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-deep);
  color: var(--on-dark-soft);
  padding-block: var(--s8) var(--s6);
  margin-top: 0;
}
.site-footer h2, .site-footer h3 { color: var(--on-dark); }
.footer-grid {
  display: grid;
  gap: var(--s7);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: var(--s6); } }

.footer-list { display: grid; gap: var(--s2); font-size: var(--fs-16); }
.footer-list a { color: var(--on-dark); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-address { font-style: normal; font-size: var(--fs-14); color: var(--on-dark-quiet); }
.footer-hours { display: grid; gap: var(--s1); font-size: var(--fs-14); }
.footer-note {
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid var(--on-dark-line);
  font-size: var(--fs-14);
  color: var(--on-dark-quiet);
  max-width: 72ch;
}
.footer-bottom {
  margin-top: var(--s4);
  font-size: var(--fs-14);
  color: var(--on-dark-quiet);
}
.footer-social { --od-gap: var(--s2); }

/* ---------------------------------------------------------------------
   13. Media / helpers
   --------------------------------------------------------------------- */
.photo {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-alt);
}
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption {
  margin-top: var(--s2);
  font-size: var(--fs-14);
  color: var(--muted);
}

.rail { --od-gap: var(--s2); --od-rail-pad: 0; }

.stack-lg { --od-gap: var(--s5); }
.stack-sm { --od-gap: var(--s2); }
.mt-6 { margin-top: var(--s6); }
.mt-5 { margin-top: var(--s5); }
.mt-4 { margin-top: var(--s4); }
.text-muted { color: var(--muted); }
.on-dark .text-muted { color: var(--on-dark-quiet); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:target { scroll-margin-top: calc(var(--header-h) + var(--s5)); }

.tile-media--square { aspect-ratio: 1 / 1; }
.tile-media--landscape { aspect-ratio: 3 / 2; }

/* Google reviews: a few reviews from across our four outlets. */
.review__head {
  display: grid;
  gap: var(--s4);
  align-items: end;
}
@media (min-width: 900px) {
  .review__head { grid-template-columns: 1fr auto; }
}
.review__score {
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.review__score[hidden] { display: none; }
.review__score strong { font-size: var(--h3-size); line-height: 1.1; }
.rating {
  font-size: var(--fs-20);
  letter-spacing: 2px;
  color: var(--brand);
  line-height: 1;
}
.review__list {
  display: grid;
  gap: var(--s4);
  margin: var(--s6) 0 0;
}
.review__list[hidden] { display: none; }
@media (min-width: 780px) {
  .review__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The best review leads at full width; the rest pair up beneath it. */
  .review__card--lead { grid-column: 1 / -1; }
}
.review__card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin: 0;
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.review__stars { font-size: var(--fs-16); }
.review__quote { margin: 0; flex: 1; }
.review__quote p {
  font-family: var(--font-display);
  font-size: var(--h3-size);
  line-height: 1.35;
  text-wrap: pretty;
}
.review__card:not(.review__card--lead) .review__quote p {
  font-size: var(--fs-18);
}
/* Long reviews clamp to three lines; this reveals the rest in place. */
.review__more {
  margin-top: var(--s3);
  border: 0;
  padding: 0;
  background: none;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.review__more:hover { color: var(--ink); }
.review__more[hidden] { display: none; }
.review__byline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  margin-top: 0;
  font-size: var(--fs-14);
  font-weight: 600;
}
.review__note {
  margin: var(--s5) 0 0;
  font-size: var(--fs-14);
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   13. FAQ — native <details> disclosure, so it works without JS and
   stays keyboard accessible. Rows sit on the page surface with hairline
   rules so 13 questions read as one list, not 13 cards.
   --------------------------------------------------------------------- */
.faq {
  max-width: var(--measure);
  border-top: 1px solid var(--line);
}

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s4);
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }

.faq__chevron {
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}
@media (prefers-reduced-motion: no-preference) {
  .faq__chevron { transition: transform var(--dur-enter) var(--ease-enter); }
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); }

.faq__a {
  padding-bottom: var(--s5);
  color: var(--muted);
}
.faq__a > * + * { margin-top: var(--s3); }
.faq__a p { max-width: 62ch; }
.faq__a ul {
  list-style: disc;
  padding-inline-start: var(--s5);
}
.faq__a li + li { margin-top: var(--s2); }
.faq__a li::marker { color: var(--brand); }

/* Pointer-only feedback never fires on touch-only devices. */
@media (hover: hover) {
  .card--link:hover { border-color: var(--brand-line); box-shadow: var(--shadow-low); }
  .btn:hover { filter: brightness(0.94); }
  .btn--secondary:hover { filter: none; }
  .social-btn:hover { border-color: var(--brand); color: var(--brand); }
  .link:hover { text-decoration-thickness: 2px; color: var(--ink); }
}

/* =====================================================================
   Outlet page
   ===================================================================== */

/* Breadcrumb */
.breadcrumb {
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s4);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .875rem;
  color: var(--muted);
}
.breadcrumb__list li + li::before {
  content: "›";
  margin-right: var(--s2);
  color: var(--brand-line);
}
.breadcrumb__list a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb__list a:hover {
  color: var(--brand);
}
.breadcrumb__list li[aria-current] {
  color: var(--ink);
  font-weight: 500;
}

/* Outlet hero */
.outlet-hero {
  display: grid;
  gap: var(--s6);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .outlet-hero {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    /* Keep real air between the copy/buttons column and the photo; the
       default 32px gap read as "sticking together" once they sit side by side. */
    column-gap: var(--s8);
  }
}
/* The <figure> default margin was pushing the photo down on stacked (phone)
   layouts and shoving it against the buttons above. Reset it and let the
   grid gap own the vertical rhythm. */
.outlet-hero__media { margin: 0; }
.outlet-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  object-fit: cover;
}

/* Menu tabs */
.menu-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 2px solid var(--line);
}
.menu-tabs__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.menu-tabs__btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.menu-tabs__btn[aria-selected="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.menu-tabs__panel[hidden] {
  display: none;
}
.menu-grid {
  display: grid;
  gap: 0 var(--s6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item__name {
  font-size: .9375rem;
  color: var(--ink);
}
.menu-item__price {
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 500;
  color: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Glance rows */
.glance {
  display: grid;
  gap: 0;
  margin-top: var(--s5);
}
.glance__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s4);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
}
.glance__row:last-child {
  border-bottom: 0;
}
.glance__k {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.glance__v {
  font-size: .9375rem;
}

/* Outlet enhancement components */
.outlet-tagline {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--brand);
  line-height: 1.35;
}

.dish-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.dish-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-14);
  color: var(--ink);
  line-height: 1.4;
}

.dish-pill strong {
  font-weight: 600;
  margin-right: var(--s1);
}

.dish-pill .dish-pill__price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand);
}

.value-callout {
  padding: var(--s5);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.value-callout__title {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s2);
}

.value-callout__desc {
  font-size: var(--fs-16);
  color: var(--muted);
  line-height: var(--lh-body);
}

.travel-card {
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.travel-card__label {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s2);
}

.travel-card__text {
  font-size: var(--fs-16);
  color: var(--ink);
  line-height: var(--lh-body);
}

.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.outlet-card__tagline {
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--brand);
  margin-top: 2px;
}

/* ---------------------------------------------------------------------
   19. Dedicated Reserve page
   --------------------------------------------------------------------- */
.booking-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.booking-frame {
  width: 100%;
  height: 980px;
  min-height: 850px;
  border: 0;
  display: block;
  background: var(--surface);
}

.booking-policy-card {
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.booking-policy-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--surface-alt);
  color: var(--brand);
  margin-bottom: var(--s1);
}

.booking-policy-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.booking-policy-card__text {
  font-size: var(--fs-16);
  color: var(--muted);
  line-height: var(--lh-body);
  margin: 0;
}

.booking-policy-card__note {
  font-size: var(--fs-14);
  color: var(--brand);
  font-weight: 500;
  margin-top: auto;
}

.btn--sm {
  min-height: 38px;
  padding: 8px var(--s4);
  font-size: var(--fs-14);
}

@media (max-width: 640px) {
  .booking-frame-wrap {
    border-radius: var(--r-md);
    margin-inline: -12px;
    width: calc(100% + 24px);
  }
  .booking-frame {
    height: 1100px;
    min-height: 980px;
  }
}


/* Dish card headers and pricing for unified recommended signatures */
.dish-card {
  display: flex;
  flex-direction: column;
}

.dish-card .tile__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s5);
}

.dish-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
}

.dish-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.dish-card__price {
  font-family: var(--font-mono, monospace);
  font-size: var(--fs-15, 15px);
  font-weight: 600;
  color: var(--brand, #b8860b);
  background: var(--surface-alt, #f7f4ee);
  padding: 3px 8px;
  border-radius: var(--r-sm, 4px);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------------
   18. Spin & Win Component
   --------------------------------------------------------------------- */
.spin-page {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, #FFFDF8 0%, #F5F1E9 100%);
  min-height: calc(100vh - 120px);
  padding-bottom: var(--s8);
}

.spin-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: #FBEDEA;
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-14);
  border: 1px solid rgba(163, 42, 22, 0.2);
}

.spin-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
}

.spin-subtitle {
  color: var(--muted);
  font-size: var(--fs-16);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.5;
}

/* 3-Step Visual Guide (3 boxes left-to-right) */
.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  width: 100%;
}
.guide-step-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 6px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.guide-step-card__badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 4px rgba(138, 82, 0, 0.2);
}
.guide-step-card__title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}
.guide-step-card__desc {
  font-size: 9.5px;
  color: var(--muted);
  line-height: 1.35;
}

/* Wheel Stage */
.wheel-stage {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 10px;
}

.wheel-outer-ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #2C2419 62%, #1A150E 100%);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(26, 21, 14, 0.28), 0 0 0 4px #8A5200, 0 0 0 8px #F5BA13;
}

.wheel-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

#wheel-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

/* Top Pointer */
.wheel-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  transition: transform 0.05s ease;
  pointer-events: none;
}

.wheel-pointer.is-ticking {
  transform: translateX(-50%) scale(1.12) rotate(3deg);
}

/* Center Hub */
.wheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE485 0%, #DD9100 65%, #8A5200 100%);
  border: 4px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wheel-center-hub:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 8px 24px rgba(221, 145, 0, 0.5);
}

.wheel-center-hub:active:not(:disabled) {
  transform: translate(-50%, -50%) scale(0.96);
}

.wheel-center-hub__text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #1A150E;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

/* Spin Button */
.btn--spin-action {
  font-size: var(--fs-18);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 999px;
  min-height: 54px;
  box-shadow: 0 8px 24px rgba(163, 42, 22, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn--spin-action:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(163, 42, 22, 0.45);
}

.btn--spin-action:active:not(:disabled) {
  transform: translateY(1px);
}

.btn--spin-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Guide Section */
.spin-guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 12px);
  padding: var(--s6);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.spin-guide-title {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  color: var(--ink);
  margin: 0;
}

.spin-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 640px) {
  .spin-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spin-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s3);
}

.spin-step-item__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--brand);
  font-weight: 700;
  font-size: var(--fs-18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
  border: 2px solid var(--line);
}

.spin-step-item__title {
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.spin-step-item__desc {
  font-size: var(--fs-14);
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Terms Box */
.spin-terms-box {
  background: var(--surface-alt);
  border: 1px dashed var(--line);
  border-radius: var(--r-md, 8px);
  padding: var(--s5);
}

.spin-terms-title {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.spin-terms-list {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-13, 13px);
  line-height: 1.6;
}

/* Prize Modal */
.prize-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.prize-modal[hidden] {
  display: none !important;
}

.prize-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 14, 0.78);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.25s ease;
}

.prize-modal__dialog {
  position: relative;
  background: var(--surface);
  border: 2px solid #F5BA13;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  padding: 32px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  z-index: 10;
  animation: modalPop 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.prize-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.prize-modal__confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.prize-modal__content {
  position: relative;
  z-index: 2;
}

.prize-modal__celebration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF8E1;
  color: #B8860B;
  padding: 4px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prize-modal__trophy {
  font-size: 18px;
}

.prize-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

.prize-modal__terms {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-15, 15px);
  margin: 0;
}

.prize-modal__outlet-tag {
  font-size: var(--fs-13, 13px);
  color: var(--muted);
}

.prize-modal__unlock-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
}

.prize-modal__unlock-prompt {
  font-size: var(--fs-14);
  color: var(--ink);
  margin: 0;
  font-weight: 500;
  line-height: 1.45;
}

.btn--google-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: #1F1F1F;
  border: 1.5px solid #DADCE0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.btn--google-review:hover {
  background: #F8F9FA;
  border-color: #C6C8CA;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #1F1F1F;
}

/* Unlocked Voucher Box */
.voucher-unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8F5E9;
  color: #2E7D32;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.voucher-code-display {
  background: #1A150E;
  border-radius: 14px;
  padding: 16px;
  border: 2px dashed #F5BA13;
}

.voucher-code-label {
  display: block;
  color: #FFEAA7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.voucher-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.voucher-code-text {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.voucher-copy-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.voucher-copy-btn:hover {
  background: rgba(255,255,255,0.28);
}

.btn--whatsapp-redeem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  width: 100%;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn--whatsapp-redeem:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

/* Minimal Footer */
.spin-minimal-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: var(--s5) 0;
  margin-top: auto;
}

.spin-minimal-footer__copy {
  color: var(--muted);
  font-size: var(--fs-13, 13px);
  margin: 0;
}
