/* ============================================================
   CAFÉ FUEGO — styles
   Palette from the café's interior + printed menu.
   ============================================================ */

:root {
  --navy: #1E4A5F;        /* "Castled Rhine" — headings, nav, buttons */
  --navy-deep: #163A4B;
  --blush: #EDD5C8;       /* "Puppy Love" — accents, warm sections */
  --blush-light: #FDF0F2; /* printed-menu paper */
  --charcoal: #1C1C1E;    /* interior walls */
  --charcoal-soft: #29292d;
  --brick: #D9C3A5;       /* brick/sand accents */
  --stone: #F4F2EE;       /* floor tiles — default page bg */

  --ink: #23282c;
  --muted: #5b6470;
  --danger: #8f2f2f;
  --line: rgba(30, 74, 95, 0.18);

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 64px;
  --radius: 3px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  /* room for sticky header + sticky menu tabs when jumping to anchors */
  scroll-padding-top: calc(var(--header-h) + 66px);
}
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.5rem; }

/* ---------- shared type ---------- */
.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .eyebrow { color: var(--muted); margin-bottom: 0.75rem; }
.section-head h2 { color: var(--navy); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
/* the ring would otherwise inherit the button's text colour and vanish
   against the surrounding surface */
.btn-primary:focus-visible { outline-color: var(--navy); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: rgba(30, 74, 95, 0.08); }
.btn-ghost { color: inherit; text-decoration: underline; text-underline-offset: 4px; border: none; }
.btn-block { display: block; width: 100%; }

/* hero variants sit on charcoal */
.hero .btn-primary { background: var(--blush); color: var(--charcoal); }
.hero .btn-primary:hover { background: var(--blush-light); }
.hero .btn-primary:focus-visible { outline-color: var(--blush); }
.hero .btn-outline { color: var(--blush); }
.hero .btn-outline:hover { background: rgba(237, 213, 200, 0.12); }
.hero .btn-ghost { color: var(--brick); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(237, 213, 200, 0.14);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  color: var(--stone);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--blush); border-bottom-color: var(--blush); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.site-nav + .header-actions { margin-left: 0; }

.cart-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--blush);
  border-radius: 999px;
  color: var(--blush);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}
.cart-button:hover { background: var(--blush); color: var(--charcoal); }
.cart-count {
  min-width: 1.4rem;
  padding: 0.05rem 0.35rem;
  background: var(--blush);
  color: var(--charcoal);
  border-radius: 999px;
  font-size: 0.78rem;
  text-align: center;
}
.cart-button:hover .cart-count { background: var(--charcoal); color: var(--blush); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--stone);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars i { width: 18px; height: 2px; background: currentColor; }

@media (max-width: 819px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--charcoal);
    border-bottom: 1px solid rgba(237, 213, 200, 0.14);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(237, 213, 200, 0.08); }
  .nav-toggle { display: flex; }
  .site-nav { margin-left: 0; }
  .header-actions { margin-left: auto; }
  .cart-button-label { display: none; }
  .cart-button::before { content: 'Order'; }
}

/* very small screens — keep the sticky header on one line */
@media (max-width: 480px) {
  .header-inner { padding: 0 1rem; gap: 0.75rem; }
  .brand { font-size: 1.05rem; letter-spacing: 0.14em; }
  .cart-button { padding: 0.45rem 0.75rem; }
  .nav-toggle { padding: 0.5rem 0.25rem; font-size: 0; gap: 0; }
  .nav-toggle .nav-toggle-bars i { width: 20px; }
  .nav-toggle::after { content: ''; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(88vh - var(--header-h));
  padding: 5rem 1.25rem 0;
  text-align: center;
  color: var(--stone);
  /* Layer order: dark overlay → optional interior photo (set --hero-photo) */
  background:
    linear-gradient(rgba(28, 28, 30, 0.86), rgba(28, 28, 30, 0.95)),
    var(--hero-photo, radial-gradient(ellipse 90% 60% at 50% 20%, rgba(30, 74, 95, 0.55), transparent 65%)),
    var(--charcoal);
  background-size: cover;
  background-position: center;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero .eyebrow { color: var(--brick); margin-bottom: 1.75rem; }
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blush);
  /* nudge centred optically against the tracking's trailing space */
  margin-right: -0.14em;
}
.hero-tagline {
  max-width: 36rem;
  margin: 1.5rem auto 2.5rem;
  font-size: 1.1rem;
  color: rgba(244, 242, 238, 0.88);
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.hero-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  margin-top: 4.5rem;
  padding: 1.4rem 1rem;
  border-top: 1px solid rgba(237, 213, 200, 0.22);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--brick);
}
.hero-info a { color: var(--blush); text-underline-offset: 3px; }
/* signage keyline at the hero's foot */
.hero::after {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0 33.4%, var(--blush) 33.4% 66.7%, var(--brick) 66.7% 100%);
}

/* ---------- sections ---------- */
main section { padding: clamp(4rem, 8vw, 6.5rem) 1.25rem; }
.menu-section, .about-inner, .find-grid, .book-card { margin-inline: auto; }

/* ---------- menu (the printed menu, on screen) ---------- */
.menu-section { background: var(--blush-light); max-width: none; padding-inline: 0; }
.menu-section > * { padding-inline: 1.25rem; }
.menu-section .section-head, .allergen-legend, #menu-root { max-width: 1080px; margin-inline: auto; }

.menu-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.8rem 1.25rem;
  margin-bottom: 2.5rem;
  background: var(--blush-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: 0 0 auto;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.menu-tab:hover { background: rgba(30, 74, 95, 0.08); }
.menu-tab.active { background: var(--navy); border-color: var(--navy); color: var(--blush-light); }

.allergen-legend {
  max-width: 860px;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}
.allergen-legend h3 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.allergen-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.badge {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  border: 1px solid rgba(30, 74, 95, 0.35);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.allergen-notice { font-weight: 600; color: var(--navy); font-size: 0.95rem; }

.menu-category { padding-top: 3.5rem; }
.menu-category-head { text-align: center; margin-bottom: 1.5rem; }
.menu-category-head h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy);
  letter-spacing: 0.04em;
}
.menu-category-head h3::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 0.8rem auto 0;
  background: var(--brick);
}
.menu-group { margin-top: 2.4rem; }
.menu-group > h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.menu-items {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3.5rem;
}
@media (min-width: 780px) {
  .menu-items { grid-template-columns: 1fr 1fr; }
}

.menu-item { padding: 0.85rem 0; }
.item-row { display: flex; align-items: baseline; gap: 0.6rem; }
.item-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--navy);
  line-height: 1.25;
}
.leader {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted rgba(30, 74, 95, 0.35);
  transform: translateY(-4px);
}
.item-price {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price-tbc { font-family: var(--sans); font-size: 0.85rem; font-style: italic; color: var(--muted); }
.add-btn {
  margin-left: 0.35rem;
  padding: 0.28rem 0.7rem;
  background: transparent;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.add-btn:hover { background: var(--navy); color: var(--blush-light); }
.item-desc { margin-top: 0.2rem; font-size: 0.9rem; color: var(--muted); max-width: 48ch; }
.item-allergens { list-style: none; padding: 0; margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.item-allergens .badge { font-size: 0.62rem; padding: 0.1rem 0.4rem; }

.noscript-note { max-width: 640px; margin: 2rem auto; text-align: center; }

/* ---------- about ---------- */
.about-section { background: var(--charcoal); color: rgba(244, 242, 238, 0.86); }
.about-inner {
  max-width: 1080px;
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 880px) {
  .about-inner { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; }
}
.about-copy .eyebrow { color: var(--brick); margin-bottom: 0.75rem; }
.about-copy h2 { color: var(--blush); margin-bottom: 1.25rem; }
.about-copy p + p { margin-top: 1rem; }
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-photos .photo-ph:first-child { grid-column: 1 / -1; }
.photo-ph-frame {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(217, 195, 165, 0.3);
  border-radius: var(--radius);
  /* brick-course placeholder texture until real photos land */
  background:
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(217, 195, 165, 0.12) 20px 22px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(217, 195, 165, 0.07) 46px 48px),
    linear-gradient(160deg, var(--charcoal-soft), #1f2226);
}
.about-photos .photo-ph:first-child .photo-ph-frame { aspect-ratio: 16 / 8; }
.photo-ph figcaption {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(217, 195, 165, 0.85);
}

/* ---------- find us ---------- */
.find-section { background: var(--stone); }
.find-grid {
  max-width: 1080px;
  display: grid;
  gap: 2rem;
}
@media (min-width: 880px) {
  .find-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.map-wrap {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.find-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.find-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.find-card address { font-style: normal; color: var(--ink); }
.find-phone { margin: 1rem 0 1.5rem; font-size: 1.3rem; font-weight: 600; }
.find-phone a { color: var(--navy); text-underline-offset: 4px; }
.find-card h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.hours-list { list-style: none; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; }
.hours-list .hours-days { font-weight: 600; }
.find-note { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- booking ---------- */
.book-section { background: var(--blush); }
.book-section .section-head .eyebrow { color: var(--navy); }
.book-card {
  max-width: 780px;
  background: var(--blush-light);
  border: 1px solid rgba(30, 74, 95, 0.2);
  border-radius: 4px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-intro { margin-bottom: 1.5rem; color: var(--muted); }
.form-intro strong { color: var(--navy); }
.field-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(30, 74, 95, 0.35);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
#booking-form .btn { margin-top: 1.5rem; }
.form-error { margin-top: 1rem; font-weight: 600; color: var(--danger); }
.form-error a { color: inherit; }

.form-success { text-align: center; padding: 1rem 0; }
.form-success .success-mark {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--blush-light);
  border-radius: 50%;
  font-size: 1.6rem;
}
.form-success h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.form-success a { color: var(--navy); font-weight: 600; }

/* honeypot — visually removed, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(253, 240, 242, 0.88); }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 3.5rem 1.25rem 2.5rem; }
.footer-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 2rem;
}
.footer-cols { display: grid; gap: 2rem; }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.6rem;
}
.footer-cols address { font-style: normal; }
.footer-cols a { color: var(--blush-light); text-underline-offset: 3px; }
.social-list { list-style: none; padding: 0; }
.social-list li { padding: 0.15rem 0; }
.footer-allergen {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 240, 242, 0.18);
  font-weight: 600;
}
.footer-fine { margin-top: 0.5rem; font-size: 0.85rem; color: rgba(253, 240, 242, 0.75); }

/* ---------- cart drawer (the kitchen ticket) ---------- */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(440px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  padding: 0;
  background: var(--stone);
  color: var(--ink);
  box-shadow: -12px 0 40px rgba(28, 28, 30, 0.35);
}
.cart-drawer[open] { display: flex; flex-direction: column; }
.cart-drawer::backdrop { background: rgba(28, 28, 30, 0.55); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: var(--charcoal);
  color: var(--blush);
}
.cart-head h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.icon-button {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.7rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.cart-view { flex: 1; overflow-y: auto; padding: 1.4rem; }

.ticket {
  position: relative;
  background: #fff;
  padding: 1.4rem 1.1rem 1.6rem;
  font-family: var(--mono);
  box-shadow: 0 2px 10px rgba(28, 28, 30, 0.08);
}
/* receipt scallop along the bottom edge */
.ticket::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 12px;
  background: radial-gradient(circle at 8px 0, transparent 6px, var(--stone) 6.5px);
  background-size: 16px 12px;
  background-position: 0 6px;
  transform: rotate(180deg);
}
.ticket-empty { font-size: 0.85rem; color: var(--muted); }
.ticket-lines { list-style: none; padding: 0; }
.ticket-lines li { padding: 0.55rem 0; border-bottom: 1px dashed rgba(28, 28, 30, 0.16); }
.ticket-lines li:last-child { border-bottom: none; }
.line-main { display: flex; gap: 0.6rem; font-size: 0.86rem; }
.line-qty { color: var(--muted); min-width: 2ch; }
.line-name { flex: 1; }
.line-price { font-variant-numeric: tabular-nums; }
.line-opts { margin: 0.15rem 0 0 2.6ch; font-size: 0.76rem; color: var(--muted); }
.line-controls { display: flex; gap: 0.4rem; margin: 0.45rem 0 0 2.6ch; }
.line-controls button {
  min-width: 1.7rem;
  padding: 0.1rem 0.45rem;
  background: none;
  border: 1px solid rgba(28, 28, 30, 0.3);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.line-controls button:hover { background: var(--blush-light); }
.line-controls .line-remove { margin-left: auto; border: none; text-decoration: underline; font-size: 0.74rem; color: var(--muted); }
.ticket-total {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(28, 28, 30, 0.3);
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.min-order-note { margin-top: 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--danger); }
.pay-notice {
  margin: 1rem 0;
  padding: 0.65rem;
  background: var(--blush);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
}
.pay-banner {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  background: var(--blush);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  color: var(--charcoal);
  font-size: 0.95rem;
  text-align: center;
}
.back-link {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#order-form .field + .field { margin-top: 1rem; }
#confirm-view .ticket-lines { margin: 1rem 0 0; text-align: left; font-family: var(--mono); }
#confirm-view .ticket-total { margin-bottom: 1rem; }
#confirm-view .btn { margin-top: 1.25rem; }
#confirm-time { font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }

/* ---------- option picker ---------- */
.options-dialog {
  width: min(420px, calc(100vw - 2rem));
  border: none;
  border-radius: 5px;
  padding: 1.6rem;
  background: var(--blush-light);
  color: var(--ink);
}
.options-dialog::backdrop { background: rgba(28, 28, 30, 0.55); }
.options-dialog h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.options-item-name { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.options-group { border: none; padding: 0; margin: 1.1rem 0 0; }
.options-group legend {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.options-choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  margin: 0.3rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-size: 0.92rem;
}
.options-choice:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--blush-light); }
.options-choice input { accent-color: var(--navy); }
.options-actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1.5rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 90;
  transform: translate(-50%, 8px);
  padding: 0.7rem 1.2rem;
  background: var(--charcoal);
  color: var(--blush-light);
  font-size: 0.9rem;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
