/* ==========================================================================
   Ramen Ye Japanese Restaurant — brand stylesheet
   Palette + type lifted from the original site:
     accent yellow #ffc400 · black · white · cream #fff1c5 · grey #383838
     Headings: Archivo Black · Body/buttons: Space Grotesk
   ========================================================================== */

/* The table QR bootstrap resolves the order profile before the catalog and
   promotions are loaded. Keep pickup copy and promotional cards from flashing
   during that short validation request. */
body.order-context-pending main,
body.order-context-pending .site-footer,
body.order-context-pending .cartbar,
body.order-context-pending .closed-banner,
body.order-context-pending .public-holiday-surcharge-banner {
  visibility: hidden;
}

body.order-context-pending .site-header {
  min-height: 84px;
}

body.order-context-blocked main,
body.order-context-blocked .site-footer,
body.order-context-blocked .cartbar {
  display: none;
}

:root {
  --yellow: #ffc400;
  --yellow-hover: #ffcf26;
  --cream: #fff1c5;
  --cream-deep: #ffe9a3;
  --black: #000000;
  --white: #ffffff;
  --grey: #383838;
  --paper: #fffdf5;

  --font-head: 'Archivo Black', 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, 'Helvetica Neue', sans-serif;

  --border: 3px solid var(--black);
  --radius: 12px;
  --radius-lg: 22px;
  --shadow: 5px 5px 0 var(--black);
  --shadow-sm: 3px 3px 0 var(--black);
  --header-h: 76px;
}

/* ---------------- Customer account ---------------- */
.account-main { min-height: 70vh; }
.account-hero { padding: 64px 0 34px; background: var(--yellow); border-bottom: 4px solid #000; }
.account-hero h1 { font-size: clamp(42px, 7vw, 82px); margin: 4px 0 12px; }
.account-hero p:last-child { max-width: 720px; font-size: 18px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.account-layout { max-width: 1050px; }
.account-card, .account-welcome, .member-order, .account-empty {
  background: #fff; border: 4px solid #000; border-radius: 26px;
  box-shadow: 8px 8px 0 #000; padding: 28px;
}
.account-card { max-width: 560px; margin: 0 auto; }
.account-card h2, .account-orders h2, .account-welcome h2 { margin: 0 0 8px; }
.account-card .field { margin: 22px 0 16px; }
.account-auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: -8px -8px 26px; padding: 7px; border: 3px solid #000;
  border-radius: 16px; background: var(--cream);
}
.account-auth-tab {
  min-height: 48px; padding: 8px 12px; border: 0; border-radius: 10px;
  background: transparent; color: #000; font: inherit; font-weight: 800; cursor: pointer;
}
.account-auth-tab.is-active { background: #000; color: var(--yellow); }
.account-auth-panel > p { color: #444; }
.account-check--compact { font-size: 15px; line-height: 1.4; }
.account-check--compact strong { white-space: nowrap; }
.account-privacy-note { margin-top: 16px; font-size: 14px; line-height: 1.45; }
.account-error { color: #c82222; font-weight: 700; min-height: 24px; margin-top: 14px; }
.account-test-code {
  background: #fff1b8; border: 2px dashed #000; border-radius: 12px;
  padding: 12px; font-weight: 800;
}
.account-back { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; cursor: pointer; }
.account-welcome {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 28px;
}
.account-grid { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: 28px; align-items: start; }
.account-grid .account-card { margin: 0; }
.account-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-weight: 600; }
.account-check input { width: 20px; height: 20px; flex: 0 0 auto; }
.account-save-status { min-height: 22px; font-weight: 700; }
.account-orders__head { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 18px; }
.member-order { padding: 22px; box-shadow: 5px 5px 0 #000; margin-bottom: 18px; }
.member-order__head, .member-order__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.member-order__head > div { display: flex; flex-direction: column; }
.member-order__head span { color: #555; font-size: 14px; }
.member-order__status {
  color: #000 !important; background: var(--yellow); border: 2px solid #000;
  border-radius: 999px; padding: 6px 10px; font-weight: 800;
}
.member-order ul { margin: 18px 0; padding: 16px 0 16px 22px; border-block: 1px solid #bbb; }
.member-order li { margin: 5px 0; }
.account-empty { box-shadow: none; text-align: center; }
.confirm-account-cta {
  display: grid; gap: 7px; margin-top: 20px; padding: 18px;
  border: 3px solid #000; border-radius: 16px; background: var(--cream);
  text-align: left;
}
.confirm-account-cta .btn { justify-self: start; margin-top: 6px; }

@media (max-width: 760px) {
  .account-hero { padding: 34px 0 24px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-card, .account-welcome, .member-order, .account-empty {
    border-width: 3px; border-radius: 20px; padding: 20px; box-shadow: 5px 5px 0 #000;
  }
  .account-welcome, .account-orders__head { align-items: flex-start; }
  .account-welcome { flex-direction: column; }
  .member-order__head { align-items: flex-start; }
  .member-order__status { white-space: nowrap; }
  .account-auth-tabs { margin-inline: -4px; }
  .account-auth-tab { min-height: 46px; padding-inline: 8px; font-size: 15px; }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--yellow);
  color: var(--black);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }

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

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

main { flex: 1 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yellow);
  background: var(--black);
  border: var(--border);
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s;
  box-shadow: var(--shadow-sm);
  min-height: 48px;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35); }
.btn:disabled, .btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: var(--shadow-sm);
}
.btn--ghost { background: var(--white); color: var(--black); }
.btn--sm { padding: 9px 18px; font-size: 14px; min-height: 40px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--yellow);
  border-bottom: var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
  padding-block: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand img { height: 56px; width: auto; mix-blend-mode: multiply; } /* white canvas melts into the yellow header */
.brand span {
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.05;
  max-width: 210px;
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a.nav-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 16.5px;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link[aria-current="page"] { border-bottom-color: var(--black); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #1db954; border: 2px solid var(--black); }
.status-pill.is-closed .dot { background: #e03131; }

.cart-btn { position: relative; }
.cart-btn .count {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--white);
  color: var(--black);
  border: var(--border);
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: var(--black);
  color: var(--yellow);
  border: var(--border);
  border-radius: var(--radius);
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  border-top: var(--border);
  background: var(--yellow);
  padding: 18px 0 26px;
}
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 26px;
  padding: 12px 4px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.18);
}
.mobile-menu .mobile-menu__cta { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }

/* Closed ribbon */
.closed-banner {
  display: none;
  background: var(--black);
  color: var(--yellow);
  text-align: center;
  font-weight: 700;
  padding: 11px 16px;
  font-size: 15.5px;
}
.closed-banner strong { text-transform: uppercase; }
body.store-closed .closed-banner { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 46px; text-align: center; }

/* Cover-photo hero (photo lifted from the original site) */
.hero--cover {
  position: relative;
  overflow: hidden;
  border-bottom: var(--border);
  padding: 96px 0 84px;
}
.hero--cover .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero--cover .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.62) 100%);
}
.hero--cover .hero-content { position: relative; z-index: 1; }
.hero--cover h1 {
  color: var(--white);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55);
}
.hero--cover h1 .accent {
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: var(--yellow);
  color: var(--yellow);
}
.hero--cover .sub {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.hero--cover .note { color: var(--white); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.hero--cover .note a { color: var(--yellow); }
.hero--cover .btn { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); border-color: var(--black); }
/* Primary CTA pops bright yellow on the dark cover photo */
.hero--cover .cta-row .btn:not(.btn--ghost) {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--black), 0 10px 28px rgba(0, 0, 0, 0.45);
}
.hero--cover .cta-row .btn:not(.btn--ghost):hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--black), 0 10px 28px rgba(0, 0, 0, 0.45);
}
.hero .kicker {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13.5px;
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero h1 .h1-intro {
  display: block;
  font-size: 0.38em;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.hero h1 .accent {
  display: block;
  -webkit-text-stroke: 2.5px var(--black);
  -webkit-text-fill-color: var(--yellow);
  paint-order: stroke fill;
}
.hero .sub {
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 700;
  margin: 18px auto 30px;
  max-width: 640px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 22px; font-weight: 600; font-size: 15.5px; }

/* ---------- Cards / sections ---------- */
.section { padding: 54px 0; }
.section--tight { padding: 34px 0; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); text-transform: uppercase; }
.section-head p { margin-top: 10px; font-weight: 600; }

.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { background: var(--cream); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; }
.step-card .num {
  width: 46px; height: 46px;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 21px; margin-bottom: 8px; }
.step-card p { font-size: 16px; }

.eta-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 22px;
  text-align: left;
}
.eta-chip .label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.eta-chip .value { font-family: var(--font-head); font-size: 21px; }

/* Hours table */
.hours-card { padding: 30px 34px; max-width: 640px; margin-inline: auto; background: var(--white); }
.hours-card table { width: 100%; border-collapse: collapse; }
.hours-card th {
  text-align: left;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
}
.hours-card th:last-child { text-align: right; }
.hours-card td { padding: 13px 0; border-bottom: 1.5px solid rgba(0, 0, 0, 0.15); font-weight: 600; vertical-align: top; }
.hours-card tr:last-child td { border-bottom: none; }
.hours-card td.day { font-family: var(--font-head); font-size: 18px; }
.hours-card td.time { text-align: right; }
.hours-card tr.today td { background: var(--cream); }
.hours-card tr.today td.day::after {
  content: 'TODAY';
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--black);
  color: var(--yellow);
  border-radius: 999px;
  padding: 3px 8px;
  margin-left: 9px;
  vertical-align: 2px;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.product-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--black); }
.product-card .imgwrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: var(--border);
  cursor: pointer;
  background: var(--cream);
  position: relative;
}
.product-card .imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.product-card:hover .imgwrap img { transform: scale(1.045); }
.product-card .flag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--yellow);
  border: 2.5px solid var(--black);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  text-transform: uppercase;
}
.product-card .flag--soldout { background: var(--black); color: var(--white); }
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card h3 { font-size: 18.5px; line-height: 1.2; cursor: pointer; }
.product-card .desc {
  font-size: 14.5px;
  color: var(--grey);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card .price { font-family: var(--font-head); font-size: 19px; }

/* ---------- Menu accordion ---------- */
.menu-accordion {
  display: grid;
  gap: 14px;
}
.menu-category {
  min-width: 0;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.menu-category__heading { margin: 0; }
.menu-category__toggle {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-head);
  text-align: left;
  cursor: pointer;
}
.menu-category__toggle:hover { background: var(--cream); }
.menu-category__label {
  min-width: 0;
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.menu-category__meta {
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.menu-category__chevron {
  width: 12px;
  height: 12px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.menu-category.is-open .menu-category__chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}
.menu-category__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  background: var(--cream);
  border-top: 0 solid var(--black);
  transition: grid-template-rows 0.22s ease, opacity 0.18s ease, visibility 0s linear 0.22s, border-top-width 0.22s ease;
}
.menu-category.is-open .menu-category__panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  border-top-width: 3px;
  transition-delay: 0s;
}
.menu-category__panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: padding 0.22s ease;
}
.menu-category.is-open .menu-category__panel-inner { padding: 18px; }
.menu-category__panel .product-grid {
  min-width: 0;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.menu-category__panel .product-card .imgwrap { aspect-ratio: 4 / 3; }
.menu-category__panel .product-card .body { padding: 12px 13px 13px; gap: 7px; }
.menu-category__panel .product-card h3 { font-size: 16px; line-height: 1.15; }
.menu-category__panel .product-card .desc { font-size: 13px; }
.menu-category__panel .product-card .price { font-size: 17px; }
.menu-category__panel .product-card .btn--sm {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 12px;
}

@media (max-width: 860px) {
  .menu-category.is-open .menu-category__panel-inner { padding: 12px; }
  .menu-category__panel .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .menu-category__panel .product-card .imgwrap { aspect-ratio: 5 / 4; }
  .menu-category__panel .product-card .flag {
    top: 8px;
    left: 8px;
    border-width: 2px;
    font-size: 9px;
    padding: 4px 7px;
  }
  .menu-category__panel .product-card .body { padding: 9px 10px 10px; gap: 6px; }
  .menu-category__panel .product-card h3 { font-size: 14px; }
  .menu-category__panel .product-card .desc { font-size: 12px; line-height: 1.25; }
  .menu-category__panel .product-card .row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  .menu-category__panel .product-card .price { font-size: 15px; }
  .menu-category__panel .product-card .btn--sm {
    width: auto;
    min-height: 32px;
    padding: 7px 8px;
    font-size: 10.5px;
  }
}

@media (max-width: 360px) {
  .menu-category__panel .product-card h3 { font-size: 13px; }
  .menu-category__panel .product-card .desc { font-size: 11.5px; }
  .menu-category__panel .product-card .btn--sm { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-category__chevron,
  .menu-category__panel,
  .menu-category__panel-inner { transition: none; }
}

/* Combo product cards */
.product-card--combo { background: var(--cream); }
.product-card .flag--combo { background: var(--black); color: var(--yellow); }
.product-card .price .was {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--grey);
  margin-left: 5px;
}

/* Combo builder modal */
.modal--bundle .combo-flag {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 4px;
  align-self: flex-start;
}
.modal--bundle .m-price s { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--grey); margin-left: 6px; }
.modal--bundle .bb-flavour-wrap { margin-top: 8px; }
.modal--bundle .bb-flavour { width: 100%; font-family: var(--font-body); font-weight: 600; font-size: 15px; border: 2.5px solid var(--black); border-radius: var(--radius); padding: 10px 12px; background: var(--cream); }

/* Combo line in the cart */
.cart-line--combo { background: var(--cream); }
/* .opt.combo-chip out-specifies the generic grey `.cart-line .opt` rule */
.cart-line--combo .opt.combo-chip {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 4px;
}

/* ---------- Menu page controls ---------- */
.menu-tools {
  position: sticky;
  top: var(--menu-tools-top, var(--header-h));
  z-index: 40;
  background: var(--yellow);
  padding: 16px 0 14px;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.12);
}
.menu-search {
  width: 100%;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  padding: 16px 20px;
}
.menu-search::placeholder { color: rgba(0, 0, 0, 0.75); }
.menu-search:focus { outline: none; box-shadow: var(--shadow-sm); }

.menu-count { margin: 20px 0 2px; font-weight: 600; font-size: 15px; }
.menu-empty { text-align: center; padding: 70px 20px; }
.menu-empty h3 { font-size: 26px; margin-bottom: 10px; }

/* ---------- Quick view modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 18px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 9px 9px 0 var(--black);
  width: min(880px, 100%);
  max-height: min(92vh, 92dvh);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.modal .m-img { border-right: var(--border); background: var(--cream-deep); min-height: 100%; }
.modal .m-img img { width: 100%; height: 100%; object-fit: cover; }
.modal .m-body { padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.modal h3 { font-size: 26px; padding-right: 40px; }
.modal .m-price { font-family: var(--font-head); font-size: 24px; }
.modal .m-desc { color: var(--grey); font-size: 16px; }
.modal .m-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: var(--border);
  background: var(--white);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.field label { display: block; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 7px; }
.field select, .field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  padding: 13px 14px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
}
.field select:focus, .field input:focus, .field textarea:focus { outline: 3px solid rgba(0, 0, 0, 0.35); outline-offset: 1px; }
.field .hint { font-size: 13.5px; color: var(--grey); margin-top: 6px; font-weight: 500; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c92a2a; background: #fff5f5; }
.field .err { display: none; color: #c92a2a; font-size: 13.5px; font-weight: 700; margin-top: 6px; }
.field.invalid .err { display: block; }

.qty-stepper { display: inline-flex; align-items: stretch; border: var(--border); border-radius: 999px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.qty-stepper button {
  width: 46px;
  border: none;
  background: var(--white);
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  min-height: 46px;
}
.qty-stepper button:hover { background: var(--cream); }
.qty-stepper .q { width: 52px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; border-inline: var(--border); }

.modal .m-actions { margin-top: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
  border-radius: 999px;
  border: 2.5px solid var(--yellow);
  padding: 13px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 120;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Sticky cart and checkout bar */
.cartbar {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 70;
  display: none;
}
.cartbar-card {
  background: var(--black);
  color: var(--white);
  border: 2.5px solid var(--yellow);
  border-radius: 18px;
  font-weight: 700;
  padding: 10px 14px 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.cartbar .cb-cart-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.cartbar .cb-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 7px;
  margin-top: 6px;
}
.cartbar .cb-lower--checkout-only {
  justify-items: center;
}
.cartbar .cb-reward {
  min-width: 0;
  width: 100%;
}
.cartbar .cb-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: none;
}
.cartbar .cb-sub strong { color: var(--yellow); }
.cartbar .cb-track {
  flex: 0 0 44px;
  height: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
}
.cartbar .cb-fill { display: block; height: 100%; background: var(--yellow); border-radius: 999px; }
.cartbar .cb-ic {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--yellow);
  background: var(--white);
  flex-shrink: 0;
}
.cartbar .cb-txt { min-width: 0; line-height: 1.35; }
.cartbar .cb-sub--done { justify-content: center; color: var(--yellow); }
.cartbar .cb-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.cartbar .cb-checkout::after {
  content: ' →';
  margin-left: 5px;
}
body.has-cart .cartbar { display: block; }
/* Desktop: a compact floating card bottom-right instead of a full-width bar */
@media (min-width: 861px) {
  .cartbar { left: auto; right: 24px; bottom: 24px; width: 430px; }
  .cartbar .cb-cart-link:hover,
  .cartbar .cb-checkout:hover { transform: translateY(-1px); }
  .cartbar .cb-cart-link,
  .cartbar .cb-checkout { transition: transform 0.15s ease; }
}

/* ---------- Rewards ladder ---------- */
.rewards-card {
  background: var(--black);
  color: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 22px 26px;
  margin-bottom: 18px;
}
.rewards-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.rewards-title {
  font-family: var(--font-head);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
}
.rewards-status { font-size: 15px; font-weight: 600; }
.rewards-status strong { color: var(--yellow); }
.rewards-track {
  position: relative;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin: 0 12px;
}
.rewards-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--yellow);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.rewards-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.rewards-marker .dot {
  position: relative;
  width: 38px; height: 38px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  overflow: visible;
}
.rewards-marker .dot img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.rewards-marker.unlocked .dot { background: var(--yellow); font-weight: 900; }
.rewards-marker.unlocked .dot::after {
  content: '✓';
  position: absolute;
  top: -7px; right: -7px;
  width: 18px; height: 18px;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Progressive rewards card — one reward pitched at a time */
.rewards-card--compact { padding: 18px 20px; }
.rewards-card--compact .rewards-head { margin-bottom: 14px; }
.rw-count {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
}
.rw-next { display: flex; gap: 14px; align-items: center; }
.rw-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 14px;
  border: 2.5px solid var(--yellow);
  background: var(--white);
}
.rw-txt { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.rw-txt strong { color: var(--yellow); }
.rw-track {
  height: 9px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.rw-fill {
  display: block;
  height: 100%;
  background: var(--yellow);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.rw-togo { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-top: 5px; }
.rw-togo strong { color: var(--yellow); }
.rw-done { font-size: 14.5px; font-weight: 700; color: var(--yellow); }

.rewards-legend .legend-thumb {
  width: 20px; height: 20px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  vertical-align: -5px;
  margin-right: 5px;
}
.rewards-legend .rewards-item { display: inline-flex; align-items: center; }
.rewards-status .status-thumb {
  width: 22px; height: 22px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  vertical-align: -6px;
  margin: 0 3px;
}
.iw-teaser {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.iw-teaser strong { color: var(--yellow); }
.rewards-marker .mlabel {
  position: absolute;
  top: 100%;
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.rewards-legend {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.rewards-legend .rewards-item.unlocked { color: var(--yellow); }

/* ---------- Daily half-price upsell ---------- */
.upsell-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-top: 18px;
}
.upsell-card img {
  width: 96px; height: 96px;
  object-fit: cover;
  border: 2.5px solid var(--black);
  border-radius: var(--radius);
}
.upsell-card .u-flag {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 7px;
}
.upsell-card h3 { font-size: 18px; font-family: var(--font-body); font-weight: 700; }
.upsell-card .u-price { font-family: var(--font-head); font-size: 19px; margin-top: 3px; }
.upsell-card .u-price s { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--grey); margin-left: 6px; }
.upsell-card .u-pop { font-size: 12px; font-weight: 700; background: var(--yellow); border: 2px solid var(--black); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 3px; }
.upsell-card .u-sub { font-size: 13px; color: var(--grey); font-weight: 600; margin-top: 4px; }
.upsell-card .u-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.upsell-card .u-dismiss {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  color: var(--grey);
  cursor: pointer;
}
.upsell-card .u-dismiss:hover { color: var(--black); }

/* Add-on chips (under mains) — one scrollable row, hint when overflowing */
.cart-line .addons {
  grid-column: 1 / -1;
  border-top: 1.5px dashed rgba(0, 0, 0, 0.25);
  padding-top: 9px;
  margin-top: 2px;
}
.cart-line .ax-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin-bottom: 7px;
}
.cart-line .addons-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cart-line .addons-scroll::-webkit-scrollbar { display: none; }
.cart-line .addons-scroll .addon-chip { flex: 0 0 auto; }
.addon-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 11px;
  cursor: pointer;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.1s, background 0.1s;
}
.addon-chip:hover { background: var(--yellow); transform: translateY(-1px); }
.addon-chip .p { color: var(--grey); font-weight: 600; }

/* Photo rails — horizontal, snap-scrolling item galleries */
.photo-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.rail-card {
  flex: 0 0 104px;
  scroll-snap-align: start;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rail-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1.5px solid var(--black);
  border-radius: 7px;
}
.rail-card .rail-name {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.rail-card .rail-price { font-size: 11px; font-weight: 700; }
.rail-card .rail-price s { color: var(--grey); font-weight: 600; font-size: 9.5px; margin-left: 3px; }
.rail-card .rail-select {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  border: 1.5px solid var(--black);
  border-radius: 7px;
  padding: 4px 4px;
  background: var(--white);
  max-width: 100%;
}
.rail-card .rail-add {
  margin-top: auto;
  padding: 5px 8px;
  font-size: 10px;
  min-height: 27px;
  box-shadow: 2px 2px 0 var(--black);
}
.rail-hint {
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
  text-align: right;
  padding: 2px 4px 0 0;
}

/* Mouse-friendly scrolling: arrow buttons on every swipeable rail */
.rail-window { position: relative; }
.rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--black);
  box-shadow: var(--shadow-sm);
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
}
.rail-arrow:hover { background: var(--yellow); }
.rail-arrow--left { left: -9px; }
.rail-arrow--right { right: -9px; }
/* arrows are for mouse users; touch users swipe (and get the hint instead) */
@media (hover: hover) and (pointer: fine) {
  .rail-arrow.show { display: flex; }
  .rail-hint { display: none; }
}
.rail-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.rail-group-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey);
  margin: 12px 0 7px;
}

/* Checkout drink offer */
.drink-offer-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px 8px;
  margin-top: 18px;
}

/* Sauce gallery */
.sauce-card {
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px 8px;
  margin-top: 14px;
}

/* Attached extras on a cart line */
.extra-line { font-size: 13.5px; font-weight: 700; color: var(--black); margin-top: 3px; }
.addon-chip.active { background: var(--black); color: var(--yellow); }
.addon-chip.active .p { color: rgba(255, 255, 255, 0.75); }

/* Make-it-a-meal card */
.meal-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  margin-top: 18px;
}
.meal-card .m-head { display: flex; gap: 12px; align-items: flex-start; }
.meal-card .m-ico { font-size: 26px; line-height: 1.2; }
.meal-card .m-sub { font-size: 14px; color: var(--grey); font-weight: 600; }
.meal-card .m-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.meal-card.complete {
  background: #eafbef;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
}
.meal-card.complete strong { color: #147a2e; }

/* Sauce strip */
.sauce-strip {
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 13px 18px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sauce-strip .s-label { font-weight: 700; font-size: 14px; white-space: nowrap; }
.sauce-strip .m-chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* Recommendations */
.recs-card { margin-top: 14px; }
.recs-title { font-family: var(--font-head); font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.recs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.recs-row .rec {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
}
.recs-row .rec img { width: 52px; height: 52px; object-fit: cover; border: 2px solid var(--black); border-radius: 9px; }
.recs-row .rec-mid { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.recs-row .rec-mid strong { font-size: 14px; line-height: 1.25; }
.recs-row .rec-mid span { font-size: 13px; color: var(--grey); font-weight: 700; }
.recs-row .btn--sm { padding: 7px 13px; font-size: 12px; min-height: 34px; }

/* Free & deal cart lines */
.cart-line--free { background: var(--cream); }
.cart-line--free .free-chip { font-weight: 700; color: var(--black); }
.cart-line--free .free-price { color: #147a2e; }
.cart-line--free .free-price s { color: var(--grey); font-family: var(--font-body); font-weight: 600; font-size: 14px; margin-left: 6px; }
.cart-line--free .free-select {
  margin-top: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  border: 2.5px solid var(--black);
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--white);
  max-width: 100%;
}
/* Deal lines must read as "special offer", not a regular item */
.cart-line--deal {
  background: var(--cream-deep);
  border: 3px dashed var(--black);
  position: relative;
  margin-top: 14px;
  box-shadow: none;
}
.cart-line--deal::before {
  content: '🔥 SPECIAL PRICE · ADDED FROM AN OFFER';
  position: absolute;
  top: -13px;
  left: 14px;
  background: var(--black);
  color: var(--yellow);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  white-space: nowrap;
}
.cart-line--deal img { border-style: dashed; }
/* .opt.deal-chip out-specifies the generic grey `.cart-line .opt` rule */
.cart-line--deal .opt.deal-chip {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 4px;
}
.cart-line--deal .unit s { color: var(--grey); margin-left: 5px; }
.summary-card .save-amt { color: #147a2e; font-weight: 700; }
.summary-card [data-sum-public-holiday-surcharge-row] strong { color: #8a4b00; }
.public-holiday-surcharge-banner,
.public-holiday-surcharge-notice {
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 12px;
  color: var(--black);
  font-weight: 700;
  padding: 10px 14px;
}
.public-holiday-surcharge-banner { max-width: 1180px; margin: 12px auto 0; }
.public-holiday-surcharge-notice { margin: 0; font-size: 13px; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: start; }
/* let columns shrink so the photo rails scroll inside instead of blowing out the page */
.cart-layout > * { min-width: 0; }
.photo-rail { max-width: 100%; }
.cart-lines { display: flex; flex-direction: column; gap: 16px; }
.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  align-items: center;
}
.cart-line img { width: 92px; height: 92px; object-fit: cover; border: 2.5px solid var(--black); border-radius: var(--radius); }
.cart-line h3 { font-size: 17px; font-family: var(--font-body); font-weight: 700; }
.cart-line .opt { font-size: 14px; color: var(--grey); font-weight: 600; }
.cart-line .unit { font-size: 14.5px; color: var(--grey); font-weight: 600; margin-top: 3px; }
.cart-line .right { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.cart-line .linetotal { font-family: var(--font-head); font-size: 18px; }
.cart-line .remove {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: underline;
  cursor: pointer;
  color: var(--grey);
  padding: 9px 6px; /* comfortable thumb target */
  margin: -6px;
}
.cart-line .remove:hover { color: #c92a2a; }
.cart-line .qty-stepper { box-shadow: none; }
.cart-line .qty-stepper button { min-height: 38px; width: 38px; font-size: 18px; }
.cart-line .qty-stepper .q { width: 40px; font-size: 15px; }

.summary-card {
  padding: 26px;
  position: sticky;
  top: calc(var(--header-h) + 18px);
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.summary-card h2 { font-size: 24px; margin-bottom: 18px; text-transform: uppercase; }
.summary-card .sumrow { display: flex; justify-content: space-between; font-weight: 600; padding: 9px 0; border-bottom: 1.5px solid rgba(0, 0, 0, 0.14); }
.summary-card .sumrow.total { font-family: var(--font-head); font-size: 21px; border-bottom: none; padding-top: 14px; }
.summary-card form { display: flex; flex-direction: column; gap: 15px; margin-top: 8px; }
.summary-card [data-legacy-customer-fields]:not([hidden]) { display: flex; flex-direction: column; gap: 15px; }
.pickup-time-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.pickup-time-field legend {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 9px;
}
.pickup-time-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pickup-time-options label { cursor: pointer; min-width: 0; }
.pickup-time-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.pickup-time-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 10px;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.pickup-time-options input:checked + span { background: var(--black); color: var(--yellow); }
.pickup-time-options input:focus-visible + span { outline: 3px solid rgba(0, 0, 0, 0.35); outline-offset: 2px; }
.pickup-time-options label:hover span { transform: translateY(-1px); }
.pickup-time-field.invalid .pickup-time-options span { border-color: #c92a2a; }
.pickup-time-field.invalid .err { display: block; }
.pay-note {
  font-size: 13.5px;
  color: var(--grey);
  font-weight: 600;
  text-align: center;
  line-height: 1.55;
  margin-top: 4px;
}

.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart .big { font-size: 62px; margin-bottom: 6px; }
.empty-cart h2 { font-size: 30px; margin-bottom: 10px; text-transform: uppercase; }
.empty-cart p { margin-bottom: 24px; font-weight: 600; }

/* ---------- Forms page (appointments) ---------- */
.form-card { max-width: 660px; margin-inline: auto; padding: 36px; background: var(--white); }
.form-card form { display: flex; flex-direction: column; gap: 20px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { text-align: center; padding: 26px 8px; }
.form-success .tick {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
}
.form-success h3 { font-size: 24px; margin-bottom: 10px; }

/* ---------- About ---------- */
.about-hero { text-align: center; padding: 64px 0 26px; }
.about-hero h1 { font-size: clamp(32px, 5vw, 58px); text-transform: uppercase; max-width: 900px; margin-inline: auto; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.about-copy { font-size: 19px; font-weight: 600; display: flex; flex-direction: column; gap: 18px; }
.about-logo-card { background: var(--white); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.info-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-tile { background: var(--cream); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; }
.info-tile .ico { font-size: 30px; margin-bottom: 10px; }
.info-tile h3 { font-size: 19px; margin-bottom: 8px; }
.info-tile p { font-weight: 600; font-size: 15.5px; }
.info-tile a { font-weight: 700; }

/* ---------- Map card (About page) ---------- */
.map-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-bottom: var(--border);
}
.map-card .map-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 18px;
  background: var(--cream);
}
@media (max-width: 860px) {
  .map-card iframe { height: 280px; }
  .map-card .map-actions { flex-direction: column; padding: 14px; }
  .map-card .map-actions .btn { width: 100%; }
}

/* ---------- Confirmation page ---------- */
.confirm-card { max-width: 700px; margin-inline: auto; padding: 44px 36px; text-align: center; background: var(--white); }
.confirm-card .tick {
  width: 88px; height: 88px;
  margin: 0 auto 20px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  box-shadow: var(--shadow-sm);
}
.confirm-card h1 { font-size: clamp(28px, 4.4vw, 40px); text-transform: uppercase; margin-bottom: 12px; }
.confirm-card p { font-weight: 600; }
.order-summary { text-align: left; margin: 26px 0; border: var(--border); border-radius: var(--radius); overflow: hidden; }
.order-summary .os-head { background: var(--black); color: var(--yellow); font-weight: 700; padding: 11px 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.order-summary ul { list-style: none; }
.order-summary li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 16px; border-bottom: 1.5px solid rgba(0,0,0,0.12); font-weight: 600; font-size: 15.5px; }
.order-summary li:last-child { border-bottom: none; }
.order-summary li.total { font-family: var(--font-head); background: var(--cream); }

/* ---------- Instant win scratch card ---------- */
.scratch-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 130;
  padding: 18px;
}
.scratch-modal-overlay.open { display: flex; }
.scratch-modal {
  background: var(--cream);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 9px 9px 0 var(--black);
  width: min(430px, 100%);
  padding: 26px 22px 22px;
  position: relative;
  text-align: center;
  animation: scratch-pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes scratch-pop {
  from { transform: scale(0.82); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.scratch-modal .m-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: var(--border);
  background: var(--white);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.scratch-modal .scratch-done {
  margin-top: 16px;
  display: none;
}
.scratch-reopen {
  margin: 22px auto 0;
  display: block;
}
.receipt-flash { animation: receipt-flash 1.6s ease; }
@keyframes receipt-flash {
  0% { background: var(--yellow); }
  100% { background: var(--cream); }
}
.scratch-wrap {
  margin: 4px auto 0;
  max-width: 420px;
  text-align: center;
}
.scratch-wrap h2 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.scratch-wrap .scratch-sub { font-weight: 600; color: var(--grey); font-size: 14.5px; margin-bottom: 14px; }
.scratch-stage {
  position: relative;
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
  aspect-ratio: 16 / 9;
  touch-action: none;
}
.scratch-result {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
}
.scratch-result img {
  width: 72px; height: 72px;
  object-fit: cover;
  border: var(--border);
  border-radius: 12px;
}
.scratch-result .sr-big { font-family: var(--font-head); font-size: 24px; text-transform: uppercase; }
.scratch-result .sr-sub { font-weight: 700; font-size: 14px; }
.scratch-result.won { background: #eafbef; }
.scratch-result.won .sr-big { color: #147a2e; }
.scratch-foil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  transition: opacity 0.5s ease;
}
.scratch-foil.done { opacity: 0; pointer-events: none; }
.scratch-hint { font-size: 12.5px; font-weight: 600; color: rgba(0,0,0,0.45); margin-top: 9px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  border-top: var(--border);
  margin-top: 64px;
  flex-shrink: 0;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0 40px;
}
.site-footer h3 {
  color: var(--yellow);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.site-footer p, .site-footer li { font-size: 15.5px; color: rgba(255, 255, 255, 0.92); }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: var(--white); text-decoration-color: var(--yellow); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .brandline { font-family: var(--font-head); font-size: 21px; color: var(--yellow); margin-bottom: 12px; }
.site-footer .hours-mini { display: flex; flex-direction: column; }
.site-footer .hours-mini div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .hours-mini div:first-child { padding-top: 2px; }
.site-footer .hours-mini div:last-child { border-bottom: none; }
.site-footer .hours-mini span:first-child {
  font-weight: 700;
  color: var(--yellow);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer .hours-mini span:last-child { font-size: 15px; line-height: 1.45; }
.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Page titles ---------- */
.page-title { text-align: center; padding: 56px 0 8px; }
.page-title h1 { font-size: clamp(36px, 5.6vw, 64px); text-transform: uppercase; }
.page-title p { margin-top: 12px; font-weight: 600; font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .status-pill { display: none; }
  .header-actions .btn--order { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header__inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 42px; }
  .brand span {
    display: block;
    max-width: 145px;
    font-size: clamp(12px, 3.4vw, 16px);
    line-height: 1.05;
    text-transform: uppercase;
  }
  .header-actions { gap: 8px; }
  .header-actions .cart-btn { min-height: 44px; padding: 8px 14px; }
  .nav-toggle { width: 44px; height: 44px; flex: 0 0 44px; }
  .steps-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .info-tiles { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; max-height: 92dvh; }
  .modal .m-img { border-right: none; border-bottom: var(--border); max-height: 320px; }
  .modal .m-img img { max-height: 320px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 28px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .hours-card { padding: 22px 18px; }
  .hero { padding: 52px 0 38px; }
  .hero--cover { padding: 72px 0 64px; }
  .hero--cover .hero-bg {
    top: auto;
    bottom: 0;
    height: calc(100% + clamp(72px, 12vw, 110px));
  }
  .section { padding: 40px 0; }
  .wrap { width: min(1180px, 100% - 32px); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-card .body { padding: 13px 13px 15px; gap: 7px; }
  .product-card h3 { font-size: 15.5px; }
  .product-card .desc { font-size: 13px; }
  .product-card .price { font-size: 16.5px; }
  .product-card .btn--sm { padding: 8px 13px; font-size: 12.5px; min-height: 38px; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; height: 72px; }
  .cart-line .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .upsell-card { grid-template-columns: 72px 1fr; }
  .upsell-card img { width: 72px; height: 72px; }
  .upsell-card .u-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .rewards-head { margin-bottom: 26px; }
  .rewards-legend { font-size: 11.5px; gap: 6px 12px; }
}
@media (max-width: 480px) {
  .brand img { height: 38px; }
  .brand span { max-width: 140px; font-size: clamp(11px, 3.2vw, 13px); }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .hero .cta-row .btn { width: 100%; }
  .page-title { padding: 40px 0 4px; }
}

@media (max-width: 360px) {
  .brand img { display: none; }
  .brand span { max-width: 128px; font-size: 11px; }
  .header-actions .cart-btn { padding-inline: 10px; }
}

/* Keep toasts clear of the (two-row) floating cart bar on mobile */
@media (max-width: 860px) {
  body.has-cart .toast { bottom: 158px; }
  /* and stop page content ending underneath the floating bar */
  body.has-cart .site-footer { padding-bottom: 132px; }
}

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible, .menu-category__toggle:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Dine-in table banner (shown after scanning a table QR code) */
.table-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  background: var(--cream);
  border-bottom: 3px solid var(--black);
  color: var(--black);
  text-align: center;
  font-weight: 600;
  padding: 10px 16px;
  font-size: 15px;
}
.table-banner strong { font-weight: 800; }
.table-banner-switch {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--black);
  cursor: pointer;
}
.dine-in-field { padding: 12px 14px; border: 3px solid var(--black); border-radius: 12px; background: var(--cream); }
.dine-in-title { margin: 0 0 2px; font-weight: 800; font-size: 17px; }
.dine-in-field .hint { margin: 0; }
.table-minimum-note { margin: 10px 0 0; text-align: center; font-weight: 700; font-size: 14px; }

/* Dine-in confirmation: self-serve drinks reminder */
.drinks-callout { margin: 16px 0 18px; padding: 14px 16px; text-align: left; background: var(--yellow); border: 3px solid var(--black); border-radius: 14px; box-shadow: 4px 4px 0 var(--black); }
.drinks-callout-title { margin: 0 0 6px; font-weight: 800; font-size: 18px; }
.drinks-callout ul { margin: 0 0 6px; padding-left: 20px; font-weight: 700; font-size: 16px; }
.drinks-callout-note { margin: 0; font-size: 14px; font-weight: 600; }
