/* ============================================================
   Fish & Co. — Purveyors of Fine Fish & Chips
   Brand: navy #0F2340 · gold #C9A44C · cream #F5EFE0
   ============================================================ */

:root {
  --navy: #0F2340;
  --navy-deep: #0A1830;
  --navy-soft: #1B3358;
  --gold: #C9A44C;
  --gold-bright: #DDBC6A;
  --gold-dim: rgba(201, 164, 76, 0.35);
  --cream: #F5EFE0;
  --cream-warm: #FAF6EC;
  --paper: #FFFDF7;
  --ink: #22314A;
  --ink-soft: #5A6A85;
  --line: rgba(15, 35, 64, 0.12);
  --success: #2E7D52;
  --danger: #B4423A;

  --font-display: "Cinzel", serif;
  --font-body: "Source Sans 3", "Segoe UI", -apple-system, sans-serif;

  --shadow-sm: 0 1px 3px rgba(15, 35, 64, 0.08);
  --shadow-md: 0 6px 24px rgba(15, 35, 64, 0.12);
  --shadow-lg: 0 18px 48px rgba(15, 35, 64, 0.22);

  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.menu-section { scroll-margin-top: 140px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-warm);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

button { font: inherit; cursor: pointer; }

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0.35em 0 0.4em;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 58ch;
}

/* Gold rule flourish, echoes the logo lockup */
.flourish {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.flourish::before, .flourish::after {
  content: "";
  height: 1px;
  width: 54px;
  background: var(--gold);
}
.flourish.left::after { display: none; }
.flourish.center { justify-content: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { background: var(--gold-bright); box-shadow: var(--shadow-md); }

.btn-outline-light {
  border-color: rgba(245, 239, 224, 0.55);
  color: var(--cream);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--cream); background: rgba(245, 239, 224, 0.08); }

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); }

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--cream); }

.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 164, 76, 0.28);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}
.brand svg { height: 40px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.main-nav a {
  color: rgba(245, 239, 224, 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--cream); }
.main-nav a.active { color: var(--gold-bright); border-bottom-color: var(--gold); }

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 164, 76, 0.14);
  border: 1.5px solid var(--gold-dim);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cart-button:hover { background: rgba(201, 164, 76, 0.26); border-color: var(--gold); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.nav-toggle:hover { background: rgba(245,239,224,0.08); }

/* ---------- Announcement ribbon ---------- */

.ribbon {
  background: var(--gold);
  color: var(--navy-deep);
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(201, 164, 76, 0.16), transparent 60%),
    radial-gradient(800px 420px at 12% 110%, rgba(27, 51, 88, 0.9), transparent 65%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0 5.5rem;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin: 0.4em 0 0.45em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}

.hero .lede { color: rgba(245, 239, 224, 0.78); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(201, 164, 76, 0.3);
  font-size: 0.95rem;
  color: rgba(245, 239, 224, 0.72);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 0.15rem;
}

.hero-art {
  justify-self: center;
  width: min(420px, 100%);
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.35));
}

/* ---------- Sections ---------- */

section { padding: 4.5rem 0; }

.section-head { margin-bottom: 2.4rem; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* Featured dishes */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.dish-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.dish-art {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-bottom: 2px solid var(--gold);
}

.dish-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.dish-body h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.dish-body p { color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.dish-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
}
.price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--navy);
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

/* Info band (hours / find us) */
.info-band {
  background: var(--navy);
  color: var(--cream);
}
.info-band .section-title { color: var(--cream); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.info-card {
  border: 1px solid rgba(201, 164, 76, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  background: rgba(245, 239, 224, 0.04);
}
.info-card h3 {
  color: var(--gold-bright);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.info-card p, .info-card li { color: rgba(245, 239, 224, 0.82); font-size: 0.98rem; }
.info-card ul { list-style: none; }
.info-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(245, 239, 224, 0.14);
}
.info-card li:last-child { border-bottom: none; }

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 4.5rem 0 5rem;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.5em; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(245, 239, 224, 0.7);
  padding: 3.2rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.4rem;
}
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}
.site-footer a { color: rgba(245, 239, 224, 0.7); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.site-footer ul { list-style: none; }
.site-footer li { padding: 0.22rem 0; }
.footer-logo { width: 200px; margin-bottom: 0.6rem; }
.footer-base {
  border-top: 1px solid rgba(201, 164, 76, 0.22);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(245, 239, 224, 0.45);
}

/* ---------- Menu page ---------- */

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 3.2rem 0 2.8rem;
  text-align: center;
}
.page-hero h1 { color: var(--cream); font-size: clamp(2rem, 4vw, 2.9rem); margin: 0.3em 0 0.25em; }
.page-hero p { color: rgba(245, 239, 224, 0.75); }

.category-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}
.category-nav .wrap {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav .wrap::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.15s ease;
}
.cat-pill:hover { border-color: var(--gold); color: var(--navy); }
.cat-pill.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.menu-section { padding: 2.6rem 0 0.6rem; }
.menu-section:last-of-type { padding-bottom: 3.5rem; }
.menu-cat-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.menu-cat-head h2 { font-size: 1.6rem; }
.menu-cat-head p { color: var(--ink-soft); font-size: 0.95rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.menu-item {
  display: flex;
  gap: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.menu-item:hover { border-color: var(--gold-dim); box-shadow: var(--shadow-md); }
.menu-item-emoji {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}
.menu-item h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; color: var(--navy); }
.menu-item .price { font-size: 1.05rem; white-space: nowrap; }
.menu-item p { color: var(--ink-soft); font-size: 0.92rem; margin: 0.15rem 0 0.7rem; }
.menu-item .badge-pop {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 0.4rem;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--navy);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 0.42rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease, transform 0.1s ease;
}
.add-btn:hover { background: var(--navy-soft); }
.add-btn:active { transform: scale(0.96); }
.add-btn.added { background: var(--success); }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  width: 34px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-stepper button:hover { background: rgba(15, 35, 64, 0.08); }
.qty-stepper .qty-val {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ---------- Cart drawer ---------- */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 48, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 80;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--paper);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  background: var(--navy);
  color: var(--cream);
}
.cart-drawer-head h2 { color: var(--cream); font-size: 1.25rem; }
.drawer-close {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.drawer-close:hover { background: rgba(245, 239, 224, 0.1); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.cart-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 3rem 1rem;
}
.cart-empty .big { font-size: 2.6rem; margin-bottom: 0.6rem; }

.cart-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line);
}
.cart-line-emoji {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.cart-line-body { flex: 1; min-width: 0; }
.cart-line-body h4 { font-size: 0.98rem; color: var(--navy); }
.cart-line-body .unit { font-size: 0.85rem; color: var(--ink-soft); }
.cart-line-right { text-align: right; }
.cart-line-right .price { font-size: 1rem; }
.cart-line-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0;
  text-decoration: underline;
}
.cart-line .qty-stepper { margin-top: 0.45rem; }
.cart-line .qty-stepper button { width: 28px; height: 26px; font-size: 0.95rem; }

.cart-drawer-foot {
  border-top: 1px solid var(--line);
  padding: 1.2rem 1.5rem 1.5rem;
  background: var(--cream-warm);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.cart-note { font-size: 0.82rem; color: var(--ink-soft); text-align: center; margin-top: 0.7rem; }

/* ---------- Checkout ---------- */

.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
  padding: 2.8rem 0 4rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.9rem;
}
.panel + .panel { margin-top: 1.4rem; }
.panel h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.panel h2 .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Order-type toggle */
.order-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.order-type-btn {
  border: 2px solid var(--line);
  background: var(--cream-warm);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
  transition: all 0.15s ease;
}
.order-type-btn .icon { font-size: 1.7rem; display: block; margin-bottom: 0.3rem; }
.order-type-btn strong { display: block; color: var(--navy); font-size: 1.02rem; }
.order-type-btn span.sub { font-size: 0.85rem; color: var(--ink-soft); }
.order-type-btn.selected {
  border-color: var(--gold);
  background: rgba(201, 164, 76, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.98rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.2);
}
.field input.invalid { border-color: var(--danger); }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* Card payment mock */
.card-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 70%, #27436e 100%);
  border-radius: var(--radius-lg);
  color: var(--cream);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.4rem;
  font-family: "Courier New", monospace;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 164, 76, 0.35);
}
.card-visual .card-chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  margin-bottom: 1.2rem;
}
.card-visual .card-number {
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  min-height: 1.6rem;
}
.card-visual .card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.75);
}
.card-visual .card-row strong { display: block; font-size: 0.95rem; color: var(--cream); letter-spacing: 0.06em; }

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.pay-row { margin-top: 1.6rem; }

/* Order summary side */
.summary-panel { position: sticky; top: 96px; }
.summary-lines { margin-bottom: 1.1rem; }
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.97rem;
  border-bottom: 1px dashed var(--line);
}
.summary-line .qty { color: var(--gold); font-weight: 700; margin-right: 0.4rem; }
.summary-line:last-child { border-bottom: none; }
.summary-totals { border-top: 2px solid var(--navy); padding-top: 0.9rem; }
.summary-totals .row {
  display: flex;
  justify-content: space-between;
  padding: 0.22rem 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.summary-totals .row.grand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  padding-top: 0.5rem;
}

/* Confirmation */
.confirmation {
  max-width: 620px;
  margin: 3.5rem auto 4.5rem;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 3rem 2.4rem;
}
.confirmation .check {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}
.confirmation h1 { font-size: 2rem; margin-bottom: 0.4em; }
.confirmation .order-ref {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin: 0.8rem 0 1.2rem;
}
.confirmation p { color: var(--ink-soft); }
.confirmation .eta-box {
  background: var(--cream);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin: 1.6rem 0;
  font-weight: 600;
  color: var(--navy);
}

/* Demo banner */
.demo-note {
  background: rgba(201, 164, 76, 0.12);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 1.2rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--navy);
  color: var(--cream);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--gold-dim);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 100;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 3.4rem 0 4rem; }
  .hero .lede { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-meta { justify-content: center; text-align: left; }
  .hero-art { display: none; }
  .flourish.left { justify-content: center; }
  .flourish.left::after { display: flex; }
  .steps, .dish-grid, .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .checkout-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; order: -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(201, 164, 76, 0.3);
    padding: 0.6rem 1.25rem 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 0.4rem; border-bottom: 1px solid rgba(245, 239, 224, 0.08); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand-name { font-size: 1.15rem; }
}

@media (max-width: 700px) {
  .menu-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .order-type-toggle { grid-template-columns: 1fr; }
  section { padding: 3.2rem 0; }
}

/* ============================================================
   Staff screens — POS till, Range board, Customer dash
   ============================================================ */

.staff-body {
  background: var(--navy-deep);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.staff-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 164, 76, 0.35);
  flex-shrink: 0;
}
.staff-header .brand svg { height: 30px; }
.staff-header .brand-name { font-size: 1.05rem; }
.staff-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-left: 1px solid rgba(201, 164, 76, 0.4);
  padding-left: 1rem;
}
.staff-header .spacer { flex: 1; }
.staff-clock {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(245, 239, 224, 0.85);
}
.staff-nav { display: flex; gap: 0.4rem; }
.staff-nav a {
  color: rgba(245, 239, 224, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  border: 1px solid transparent;
}
.staff-nav a:hover { color: var(--cream); }
.staff-nav a.active {
  color: var(--gold-bright);
  border-color: rgba(201, 164, 76, 0.4);
  background: rgba(201, 164, 76, 0.1);
}

/* ---------- POS till ---------- */

.pos-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 0;
}

.pos-left {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.pos-cats {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1rem 0.6rem;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}
.pos-cats::-webkit-scrollbar { display: none; }
.pos-cat-btn {
  flex-shrink: 0;
  background: rgba(245, 239, 224, 0.07);
  color: rgba(245, 239, 224, 0.8);
  border: 1.5px solid rgba(245, 239, 224, 0.15);
  border-radius: 10px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.pos-cat-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.pos-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.7rem;
  padding: 0.4rem 1rem 1rem;
  align-content: start;
}
.pos-item-btn {
  background: var(--paper);
  border: none;
  border-radius: 12px;
  padding: 0.9rem 0.95rem;
  text-align: left;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.08s ease;
}
.pos-item-btn:active { transform: scale(0.96); }
.pos-item-btn .pi-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--navy);
}
.pos-item-btn .pi-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.pos-item-btn .pi-price { font-weight: 700; color: var(--ink-soft); }

/* Ticket panel */
.ticket {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 3px solid var(--gold);
}
.ticket-head {
  padding: 0.9rem 1.2rem 0.7rem;
  border-bottom: 1px dashed var(--line);
  flex-shrink: 0;
}
.ticket-head h2 {
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.ticket-type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.ticket-type button {
  border: 1.5px solid var(--line);
  background: var(--cream-warm);
  border-radius: 8px;
  padding: 0.5rem 0.3rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.ticket-type button.selected {
  border-color: var(--gold);
  background: rgba(201, 164, 76, 0.15);
  color: var(--navy);
}
.ticket-name-field { margin-top: 0.6rem; }
.ticket-name-field input {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
}

.ticket-lines {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.2rem;
}
.ticket-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 2.5rem 1rem;
  font-size: 0.95rem;
}
.ticket-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.ticket-line .tl-qty {
  font-weight: 700;
  color: var(--gold);
  min-width: 2em;
  font-size: 1rem;
}
.ticket-line .tl-name { flex: 1; font-weight: 600; font-size: 0.94rem; color: var(--navy); }
.ticket-line .tl-price { font-weight: 700; font-size: 0.94rem; white-space: nowrap; }
.tl-controls { display: flex; gap: 0.25rem; }
.tl-controls button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--cream-warm);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-controls button:active { background: var(--gold-dim); }

.ticket-foot {
  border-top: 2px solid var(--navy);
  padding: 0.9rem 1.2rem 1.1rem;
  flex-shrink: 0;
  background: var(--cream-warm);
}
.ticket-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.ticket-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.ticket-pay button {
  border: none;
  border-radius: 10px;
  padding: 1rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.ticket-pay .pay-cash { background: var(--navy); color: var(--cream); }
.ticket-pay .pay-card { background: var(--gold); color: var(--navy-deep); }
.ticket-pay button:disabled { opacity: 0.4; }
.ticket-clear {
  width: 100%;
  margin-top: 0.55rem;
  background: none;
  border: none;
  color: var(--danger);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
}

/* POS confirmation overlay */
.pos-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 48, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.pos-confirm {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--gold);
  padding: 2.4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.pos-confirm .big-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--navy);
  line-height: 1.1;
}
.pos-confirm .sub { color: var(--ink-soft); font-weight: 600; margin: 0.4rem 0 1.4rem; }

/* ---------- Range board ---------- */

.range-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  min-height: 0;
}
.range-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1rem 1.2rem;
  overflow-y: auto;
}
.range-col + .range-col { border-left: 1px solid rgba(201, 164, 76, 0.25); }
.range-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}
.range-col-head h2 {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.range-count {
  background: rgba(201, 164, 76, 0.18);
  border: 1px solid rgba(201, 164, 76, 0.4);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: 0.1rem 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.range-empty {
  color: rgba(245, 239, 224, 0.45);
  text-align: center;
  padding: 3rem 1rem;
  font-size: 1rem;
}

.order-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.order-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--cream);
}
.order-card-head .oc-number {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-bright);
}
.order-card-head .oc-type { font-size: 0.85rem; font-weight: 700; }
.order-card-head .oc-name {
  font-size: 0.85rem;
  color: rgba(245, 239, 224, 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-card-head .oc-age {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  color: rgba(245, 239, 224, 0.85);
}
.order-card-head .oc-age.late { color: #FF9E80; }
.order-card ul {
  list-style: none;
  padding: 0.6rem 1rem;
}
.order-card li {
  display: flex;
  gap: 0.6rem;
  padding: 0.28rem 0;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px dashed var(--line);
}
.order-card li:last-child { border-bottom: none; }
.order-card li .qty { color: var(--gold); font-weight: 700; min-width: 2em; }
.order-card-actions { padding: 0 1rem 0.9rem; }
.order-card-actions button {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.btn-mark-cooked { background: var(--success); color: #fff; }
.btn-handover { background: var(--gold); color: var(--navy-deep); }

/* ---------- Customer dash ---------- */

.dash-body { cursor: none; }
.dash-header {
  text-align: center;
  padding: 1.6rem 1rem 1.1rem;
  flex-shrink: 0;
}
.dash-header .brand-mark { height: 54px; margin: 0 auto 0.5rem; }
.dash-header h1 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
}
.dash-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}
.dash-col {
  padding: 0.6rem 2rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dash-col + .dash-col { border-left: 1px solid rgba(201, 164, 76, 0.3); }
.dash-col h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid rgba(201, 164, 76, 0.4);
  flex-shrink: 0;
}
.dash-col.preparing h2 { color: rgba(245, 239, 224, 0.75); }
.dash-col.ready h2 { color: var(--gold-bright); }
.dash-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
  align-content: flex-start;
  overflow: hidden;
}
.dash-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border-radius: 16px;
  padding: 0.55rem 1.4rem;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.2;
}
.dash-col.preparing .dash-num {
  color: rgba(245, 239, 224, 0.85);
  background: rgba(245, 239, 224, 0.07);
  border: 1.5px solid rgba(245, 239, 224, 0.18);
}
.dash-col.ready .dash-num {
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 0 0 34px rgba(201, 164, 76, 0.45);
  animation: dash-pop 0.5s ease;
}
@keyframes dash-pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.dash-empty {
  width: 100%;
  text-align: center;
  color: rgba(245, 239, 224, 0.4);
  font-size: 1.1rem;
  padding-top: 2.5rem;
}
.dash-footer {
  text-align: center;
  padding: 0.8rem;
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-top: 1px solid rgba(201, 164, 76, 0.25);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .pos-layout { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .ticket { border-left: none; border-top: 3px solid var(--gold); max-height: 45vh; }
  .range-layout { grid-template-columns: 1fr; }
  .range-col + .range-col { border-left: none; border-top: 1px solid rgba(201, 164, 76, 0.25); }
}
