/* =========================================================
   GCK Meals Website — Gold Coast Kenkey
   Mobile-first styles. Cream canvas, charcoal text, GCK red accents.
   ========================================================= */
:root {
  /* colour */
  --bg: #faf6ef;
  --surface: #ffffff;
  --surface-2: #f3ece1;
  --surface-3: #ece2d3;
  --line: #e8dfd1;
  --line-2: #dccfbd;
  --ink: #211f1d;
  --ink-2: #47423d;
  --muted: #7a726a;
  --red: #d7141c;
  --red-dark: #b30f16;
  --red-tint: #fdf1f0;
  --red-soft: #fbe3e1;
  --gold: #e9a417;
  --amber-bg: #fff6df;
  --amber-line: #f2dda2;
  --green: #1d9a50;
  --wa: #25d366;
  --wa-dark: #075e54;
  /* shape */
  --r-card: 12px;
  --r-btn: 10px;
  --r-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(33, 31, 29, .05);
  --shadow: 0 2px 10px rgba(33, 31, 29, .06);
  /* type */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  /* layout */
  --page-pad: 16px;
  --gap-section: 28px;
  --bar-h: 64px;
  --bar-gap: 10px;
  --maxw: 1440px;

  /* legacy aliases used by admin.css */
  --cream: var(--bg);
  --cream-2: var(--surface-2);
  --cream-3: var(--surface-3);
  --radius: var(--r-card);
  --radius-sm: var(--r-sm);
  --shadow-red: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.has-bar { padding-bottom: calc(var(--bar-h) + var(--bar-gap) + 20px + env(safe-area-inset-bottom)); }
body.kb-open.has-bar { padding-bottom: 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.red { color: var(--red); }
.icon { width: 1em; height: 1em; flex: none; }
.icon.rot90 { transform: rotate(90deg); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--page-pad); }
h1, h2, h3, h4, h5 { overflow-wrap: break-word; }
.price { color: var(--red); font-weight: 700; font-size: 16px; white-space: nowrap; letter-spacing: -.2px; }
.price small { font-size: .72em; font-weight: 500; color: var(--muted); }
input, select, textarea { scroll-margin-bottom: calc(var(--bar-h) + 40px); scroll-margin-top: 90px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 10px; min-height: 54px; }
.brand { display: flex; align-items: center; flex: none; }
.brand .logo { width: 44px; height: 44px; }
/* Home page: a larger logo so the GOLDCOAST / KENKEY ring is readable */
.header-home .brand .logo { width: 64px; height: 64px; }
.header-home .header-row { min-height: 72px; }
.header-title { min-width: 0; }
.header-title h1 { margin: 0; font-size: 24px; line-height: 1.05; font-weight: 800; letter-spacing: -.4px; }
.header-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.header-center { flex: 1; text-align: center; min-width: 0; }
.header-center h1 { margin: 0; font-size: 16px; font-weight: 600; }
.header-center p { margin: 1px 0 0; font-size: 12px; color: var(--muted); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.back-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: var(--r-btn); background: transparent; color: var(--ink); }
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn.round { background: var(--surface-2); }
.badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.badge.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }
.desktop-nav { display: none; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(33, 31, 29, .4); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 90; background: var(--bg); border-left: 1px solid var(--line); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; display: flex; flex-direction: column; }
.drawer-open .drawer { transform: none; visibility: visible; transition: transform .25s ease; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head .logo { width: 42px; height: 42px; }
.drawer-head strong { display: block; font-size: 15px; }
.drawer-head span { font-size: 12px; color: var(--muted); }
.drawer-head .icon-btn { margin-left: auto; }
.drawer nav { padding: 8px; display: grid; gap: 2px; }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); font-weight: 500; }
.drawer nav a .icon { width: 20px; height: 20px; color: var(--red); }
.drawer nav a:hover, .drawer nav a[aria-current="page"] { background: var(--surface-2); }
.drawer-foot { margin-top: auto; padding: 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.drawer-foot b { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; max-width: 100%; padding: 0 18px; border-radius: var(--r-btn); border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 17px; height: 17px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: var(--surface); color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red-tint); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #fff6f5; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb957; }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 16px; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn[disabled], .btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-disabled { background: #c4bab1 !important; color: #fff !important; border-color: #c4bab1 !important; cursor: not-allowed; }
.plus-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.plus-btn .icon { width: 16px; height: 16px; }
.plus-btn:hover { background: var(--red-dark); }
.plus-btn:disabled { opacity: .4; }
.link-red { color: var(--red); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.link-red .icon { width: 15px; height: 15px; }
button.link-red { border: 0; background: none; padding: 0; cursor: pointer; }

/* ---------- Sections ---------- */
.section { margin-top: var(--gap-section); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-title { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.section-sub { margin: -4px 0 10px; color: var(--muted); font-size: 13px; }
.h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 44%; align-items: center; gap: 4px; padding-top: 8px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero h2 { margin: 0; font-size: clamp(32px, 10vw, 44px); line-height: 1; font-weight: 800; letter-spacing: -1.2px; }
.hero h2 .red { display: block; }
.hero p { margin: 10px 0 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.hero-ctas { display: grid; gap: 10px; max-width: 220px; }
.hero-ctas .btn { justify-content: space-between; }
.hero-art { position: relative; z-index: 1; min-width: 0; align-self: center; }
.hero-art .food-art, .hero-art img { display: block; width: 138%; max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.hero-script { position: absolute; z-index: 2; right: 0; top: -14px; font-family: var(--script); font-size: 20px; line-height: .95; font-weight: 700; color: var(--ink); text-align: right; transform: rotate(-6deg); }
.hero-script::after { content: ""; display: block; height: 3px; margin: 2px 0 0 auto; width: 70%; border-radius: 3px; background: var(--red); }
.closed-banner { margin: 14px 0 0; }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; width: 70px; min-height: 72px; padding: 6px 4px; border: 1px solid transparent; border-radius: var(--r-card);
  background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 500; text-align: center; line-height: 1.15; scroll-snap-align: start; color: var(--ink);
}
.chip .food-icon, .chip img { width: 40px; height: 32px; object-fit: contain; }
.chip .cat-photo { width: 44px; height: 34px; object-fit: cover; border-radius: 6px; }
.std-head .cat-photo { width: 44px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; }
.chip:hover { border-color: var(--line-2); }
.chip.active { background: var(--red); color: #fff; font-weight: 600; }
.chip-all { width: 54px; font-size: 14px; font-weight: 700; }
.chips-home { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow: visible; margin-top: 20px; }
.chips-home .chip { width: auto; }

/* ---------- Featured ---------- */
.featured { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured::-webkit-scrollbar { display: none; }
.f-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; scroll-snap-align: start; }
.f-card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.media { position: relative; display: block; }
.media .food-art, .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.f-card h4 { margin: 0; font-size: 15px; font-weight: 600; }
.f-card p { margin: 2px 0 8px; font-size: 12px; color: var(--muted); line-height: 1.35; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.f-card .foot .plus-btn { margin-left: auto; }

/* ---------- Hours / location ---------- */
.info-strip { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 14px; }
.info-strip .divider { align-self: stretch; background: var(--line); }
.info { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; min-width: 0; }
.info .icon { width: 18px; height: 18px; color: var(--red); margin-top: 1px; }
.info strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 1px; }
.info a { text-decoration: underline; text-underline-offset: 2px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #e8f5ec; color: #157a3e; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.closed { background: var(--red-soft); color: var(--red-dark); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: start; }
.step-top { grid-row: 1 / span 2; }
.step-top .icon { display: none; }
.num { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; flex: none; }
.step h5 { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.step p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.step-arrow { display: none; color: #c6b9a9; }
.step-arrow .icon { width: 16px; height: 16px; }

/* ---------- Benefits band ---------- */
.feature-band { margin-top: 36px; background: var(--surface-2); border-top: 1px solid var(--line); }
.feature-band .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-top: 18px; padding-bottom: 18px; }
.feature { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.feature .ficon { color: var(--red); flex: none; padding-top: 1px; }
.feature .ficon .icon { width: 18px; height: 18px; }
.feature strong { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.feature span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-3); color: var(--ink-2); font-size: 12.5px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.site-footer .wrap > div:first-child, .site-footer .wrap > div:nth-child(4), .site-footer .copy { grid-column: 1 / -1; }
.site-footer .f-brand { display: flex; align-items: center; gap: 10px; }
.site-footer .logo { width: 38px; height: 38px; }
.site-footer strong { color: var(--ink); font-size: 13px; }
.site-footer a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer .wrap > div:nth-child(4) br { display: none; }
.site-footer .wrap > div:nth-child(4) strong { display: block; margin-bottom: 2px; }
.site-footer .wrap > div:nth-child(4) a { margin-right: 14px; }
.site-footer .script { font-family: var(--script); font-size: 19px; color: var(--red); line-height: 1; }
.site-footer .copy { color: var(--muted); font-size: 11.5px; border-top: 1px solid var(--line-2); padding-top: 12px; }

/* ---------- Sticky bottom bar ---------- */
.bottom-bar {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(var(--bar-gap) + env(safe-area-inset-bottom));
  height: var(--bar-h); background: var(--red); color: #fff; border-radius: 14px; padding: 0 10px 0 8px;
  box-shadow: 0 4px 16px rgba(120, 10, 14, .22);
}
.bottom-bar .inner { height: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.cart-ico { position: relative; width: 42px; height: 42px; display: grid; place-items: center; flex: none; color: #fff; }
.cart-ico .icon { width: 26px; height: 26px; }
.cart-ico .badge { background: #fff; color: var(--red); top: 1px; right: -1px; }
.bar-text { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.bar-text strong { font-size: 15px; font-weight: 700; }
.bar-text span { font-size: 13px; opacity: .9; display: inline-flex; align-items: center; gap: 2px; }
.bar-text .icon { width: 14px; height: 14px; }
.bar-sep { display: none; }
.bottom-bar .btn-white { min-height: 44px; padding: 0 16px; font-size: 14.5px; font-weight: 700; flex: none; }
.bottom-bar .btn-white .icon { width: 15px; height: 15px; }
.bar-total { line-height: 1.1; padding-left: 6px; }
.bar-total small { display: block; font-size: 11.5px; opacity: .9; }
.bar-total strong { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.bottom-bar .grow { flex: 1; display: flex; justify-content: flex-end; min-width: 0; }
.bottom-bar .grow .btn { min-width: 0; }
body.kb-open .bottom-bar { display: none; }

/* ---------- Menu ---------- */
.search { position: relative; display: block; margin: 8px 0 12px; }
.search input { width: 100%; height: 46px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--surface); padding: 0 14px 0 42px; font-size: 15px; outline: none; }
.search input:focus { border-color: var(--ink-2); }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.m-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.m-card .media { aspect-ratio: 4 / 3; }
.m-card .body { padding: 10px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.m-card h4 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.m-card p { margin: 3px 0 8px; font-size: 12px; color: var(--muted); line-height: 1.35; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.m-card .price { font-size: 15px; flex: none; }
.m-card .foot .btn-sm { margin-left: auto; min-height: 30px; padding: 0 10px; font-size: 12px; }
.m-card.soldout .media .food-art, .m-card.soldout .media img { filter: grayscale(.8); opacity: .7; }
.sold-tag { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .4px; padding: 3px 7px; border-radius: 5px; text-transform: uppercase; }
.soldout .media .food-art, .soldout .media img { filter: grayscale(.8); opacity: .7; }
.sold-note { font-size: 12px; font-weight: 600; color: var(--muted); }

.std-panel { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 12px 2px; }
.std-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.std-head .food-icon { width: 44px; height: 36px; flex: none; }
.std-head h4 { margin: 0; font-size: 15px; font-weight: 600; }
.std-head p { margin: 0; font-size: 12px; color: var(--muted); }
.std-list { list-style: none; margin: 0; padding: 0; }
.std-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.std-row:last-child { border-bottom: 0; }
.std-thumb { width: 40px; height: 40px; border-radius: var(--r-sm); overflow: hidden; display: grid; place-items: center; background: var(--surface-2); }
.std-thumb .food-icon { width: 40px; height: 36px; }
.std-thumb img, .std-thumb .food-art { width: 100%; height: 100%; object-fit: cover; }
.std-meta { min-width: 0; line-height: 1.25; }
.std-meta b { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.std-meta small { font-size: 12px; color: var(--muted); }
.std-row .price { font-size: 14.5px; }
.std-row .btn-sm { min-width: 60px; }
.std-row.soldout { opacity: .6; }

.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .icon { width: 40px; height: 40px; color: var(--red); margin: 0 auto 10px; }
.empty h3 { color: var(--ink); margin: 0 0 6px; font-size: 18px; }
.empty .btn { margin-top: 8px; }

/* ---------- Meal customizer ---------- */
.meal-hero { position: relative; margin: 0 calc(-1 * var(--page-pad)); aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 16px 16px; background: var(--surface-2); }
.meal-hero .food-art, .meal-hero img { width: 100%; height: 100%; object-fit: cover; }
.meal-hero .logo { position: absolute; left: 12px; top: 12px; width: 64px; height: 64px; }
.meal-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 14px; }
.meal-title h2 { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.05; letter-spacing: -.6px; min-width: 0; }
.meal-title .price { font-size: 22px; margin-top: 3px; }
.meal-desc { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.panel { background: var(--surface-2); border-radius: var(--r-card); padding: 12px; margin-top: 16px; }
.panel h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.included { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.inc { flex: 0 0 auto; width: 62px; text-align: center; font-size: 11px; line-height: 1.2; }
.inc .bubble { width: 52px; height: 52px; margin: 0 auto 4px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.inc .bubble .food-icon { width: 46px; height: 40px; }
.inc .bubble img { width: 100%; height: 100%; object-fit: cover; }
.opt-group { margin-top: 20px; }
.opt-group h3 { margin: 0; font-size: 16.5px; font-weight: 600; }
.opt-group > p { margin: 1px 0 10px; font-size: 12.5px; color: var(--muted); }
.opt-light { font-weight: 400; font-size: 14px; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.seg button { position: relative; min-height: 48px; border-radius: var(--r-btn); border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; line-height: 1.15; padding: 6px 8px; white-space: nowrap; }
.seg button span { display: block; }
.seg button small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.seg button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.seg button[aria-pressed="true"] small { color: #ffe1df; }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.addon { position: relative; display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-btn); padding: 6px 8px 6px 4px; min-height: 56px; min-width: 0; }
.addon.on { border-color: var(--red); background: var(--red-tint); }
.addon .thumb { width: 44px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 6px; overflow: hidden; }
.addon .thumb .food-icon { width: 44px; height: 38px; }
.addon .thumb img { width: 100%; height: 100%; object-fit: cover; }
.addon .meta { flex: 1; min-width: 0; line-height: 1.2; }
.addon .meta b { display: block; font-size: 12.5px; font-weight: 600; }
.addon .meta span { font-size: 11.5px; color: var(--red); font-weight: 600; }
.addon .ctrl { display: flex; align-items: center; gap: 4px; }
.addon .plus-btn { width: 26px; height: 26px; }
.addon .plus-btn .icon { width: 14px; height: 14px; }
.addon .minus { background: var(--surface); color: var(--red); border: 1.5px solid var(--red); }
.addon .count { font-weight: 700; font-size: 13px; min-width: 12px; text-align: center; }
.addon.soldout { opacity: .55; }
.addon.soldout .meta span { color: var(--muted); }
.textarea-wrap { position: relative; }
.textarea-wrap .icon { position: absolute; left: 12px; top: 14px; width: 17px; height: 17px; color: var(--muted); }
.textarea-wrap textarea { width: 100%; min-height: 64px; border-radius: var(--r-btn); border: 1px solid var(--line-2); background: var(--surface); padding: 12px 12px 22px 38px; resize: vertical; font-size: 14px; outline: none; }
.textarea-wrap textarea:focus { border-color: var(--ink-2); }
.counter { position: absolute; right: 10px; bottom: 7px; font-size: 11px; color: var(--muted); }

/* ---------- Cart (step 1) ---------- */
.c-list { background: var(--surface); border-radius: var(--r-card); padding: 0 14px; margin-top: 8px; }
.c-line { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-line:last-child { border-bottom: 0; }
.c-line.invalid { background: var(--red-tint); margin: 0 -14px; padding: 14px; }
.c-line .media { width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; display: grid; place-items: center; background: var(--surface-2); }
.c-line .media .food-icon { width: 84%; height: 84%; }
.c-line .media img, .c-line .media .food-art { width: 100%; height: 100%; object-fit: cover; }
.c-body { min-width: 0; }
.c-line .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.c-line h4 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; min-width: 0; }
.c-line .price { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.c-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.c-extras { color: var(--muted); }
.c-note { margin: 2px 0 0; font-size: 12px; color: var(--muted); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-line .line-error { margin: 6px 0 0; color: var(--red-dark); font-weight: 600; font-size: 12.5px; }
.c-line .actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); }
.qty button { width: 30px; height: 28px; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.qty button .icon { width: 14px; height: 14px; }
.qty button:hover { color: var(--red); }
.qty button:disabled { opacity: .35; }
.qty output { min-width: 20px; text-align: center; font-weight: 600; font-size: 13.5px; }
.edit-link, .c-link { font-size: 13px; font-weight: 500; color: var(--ink-2); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.edit-link { margin-left: auto; }
.c-link { color: var(--muted); }
.edit-link:hover, .c-link:hover { color: var(--red); text-decoration-color: currentColor; }
.c-extra-links { margin: 12px 2px 0; }
.c-notes { margin: 14px 2px 0; }
.c-notes summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.c-notes summary::-webkit-details-marker { display: none; }
.c-notes summary .icon { width: 16px; height: 16px; color: var(--muted); }
.c-notes summary span { color: var(--muted); font-weight: 400; }
.c-notes textarea { margin-top: 8px; }

/* Total + single action. On phones it rides at the bottom of the screen while scrolling. */
.checkout-bar { position: sticky; bottom: 0; z-index: 20; margin: 16px calc(-1 * var(--page-pad)) 0; padding: 12px var(--page-pad) calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
body.kb-open .checkout-bar { position: static; }
.c-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.c-total-row span { font-size: 14px; color: var(--ink-2); }
.c-total-row .price { font-size: 20px; font-weight: 700; color: var(--red); }
.c-total small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.c-total small a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.blocker { margin: 10px 0 0; font-size: 12.5px; line-height: 1.4; color: #6f4c00; background: var(--amber-bg); border-radius: var(--r-sm); padding: 8px 10px; }
.checkout-bar .btn { margin-top: 10px; }
.checkout-bar .err-msg { margin: 8px 0 0; }

/* ---------- Checkout details (step 2) ---------- */
.co-title { margin: 20px 0 8px; font-size: 15px; font-weight: 600; }
.checkout-form .co-title:first-child { margin-top: 10px; }
.ffield { position: relative; display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--surface); margin-bottom: 10px; min-height: 54px; }
.ffield:focus-within { border-color: var(--ink-2); }
.ffield .lead { width: 44px; align-self: stretch; display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--muted); flex: none; }
.ffield .lead .icon { width: 19px; height: 19px; }
.ffield .inner { flex: 1; min-width: 0; padding: 7px 12px; }
.ffield label { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.ffield label i { font-style: normal; }
.ffield input, .ffield select { width: 100%; border: 0; outline: none; background: transparent; padding: 2px 0; font-size: 15px; font-weight: 500; appearance: none; -webkit-appearance: none; }
.ffield input::placeholder { color: #b3a99f; font-weight: 400; }
.ffield .trail { padding: 0 12px; color: var(--muted); display: grid; place-items: center; background: none; border: 0; align-self: stretch; }
.ffield .trail .icon { width: 19px; height: 19px; }
.ffield.invalid { border-color: var(--red); background: var(--red-tint); }
.co-type { grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.seg-opt { position: relative; display: block; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--r-btn); background: var(--surface); font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.seg-opt input:checked + span { border-color: var(--red); background: var(--red-tint); color: var(--red-dark); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.co-note { margin: 2px 2px 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* shared form bits (payment, admin) */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; }
.card-row { display: flex; gap: 10px; align-items: flex-start; }
.card-row > .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--muted); }
.field-label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.field-label i { font-style: normal; font-weight: 400; color: var(--muted); }
.plain-textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; outline: none; background: var(--surface); min-height: 46px; resize: vertical; }
.plain-textarea:focus { border-color: var(--ink-2); }
.err-msg { color: var(--red-dark); font-size: 12.5px; margin: 0 0 10px 2px; }
.notice { display: flex; gap: 10px; background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: var(--r-btn); padding: 10px 12px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.notice .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.notice .dot .icon { width: 14px; height: 14px; }
.notice strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 1px; }
.notice.red { background: var(--red-tint); border-color: #f4cdca; }
.notice.red .dot { background: var(--red); }
.notice + .notice { margin-top: 10px; }

/* ---------- Payment ---------- */
.pay-hero { display: grid; grid-template-columns: minmax(0, 1fr) 34%; align-items: center; gap: 4px; padding-top: 6px; }
.pay-hero h2 { margin: 0; font-size: clamp(26px, 7.4vw, 34px); line-height: 1; font-weight: 800; letter-spacing: -1px; grid-column: 1; }
.pay-hero h2 .red { display: block; }
.pay-hero p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); grid-column: 1; }
.pay-hero .hero-art { grid-column: 2; grid-row: 1 / span 2; }
.pay-hero .hero-script { font-size: 17px; top: -10px; }
.pay-col { min-width: 0; }
.pay-col > .notice { margin-top: 12px; }
.ref-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; margin-top: 16px; }
.ref-card h3 { margin: 0 0 10px; font-size: 16.5px; font-weight: 600; }
.ref-pill { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--red); color: #fff; border: 0; border-radius: var(--r-btn); min-height: 58px; font-size: 32px; font-weight: 800; letter-spacing: .5px; }
.ref-pill span { overflow-wrap: anywhere; }
.ref-pill .icon { width: 20px; height: 20px; opacity: .9; }
.ref-card .notice { margin-top: 10px; align-items: center; }
.order-summary { margin-top: 12px; }
.order-summary summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--red); list-style: none; display: flex; align-items: center; gap: 6px; }
.order-summary summary::-webkit-details-marker { display: none; }
.order-summary summary .icon { width: 16px; height: 16px; }
.os-list { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; display: grid; gap: 8px; }
.os-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.os-list li span:first-child { color: var(--ink-2); }
.os-thumb { width: 34px; height: 34px; border-radius: 6px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--surface-2); }
.os-thumb img, .os-thumb .food-art { width: 100%; height: 100%; object-fit: cover; }
.os-thumb .food-icon { width: 32px; height: 28px; }
.os-name { flex: 1; min-width: 0; }
.os-name small { display: block; color: var(--muted); font-size: 11.5px; }
.os-list .tot { border-top: 1px dashed var(--line-2); padding-top: 8px; font-weight: 700; }
.os-list .tot span:first-child { flex: 1; }
.os-foot { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.pay-box { position: relative; border: 1.5px solid var(--red); border-radius: var(--r-card); background: var(--surface); padding: 18px 12px 12px; display: flex; gap: 12px; }
.tag-rec { position: absolute; top: -10px; left: 12px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; padding: 3px 8px; border-radius: 5px; }
.kowri-tile { width: 76px; height: 76px; border-radius: var(--r-btn); background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; flex: none; font-weight: 700; font-size: 17px; }
.kowri-tile .icon { width: 26px; height: 26px; }
.pay-box-body { min-width: 0; }
.pay-box h4 { margin: 0; font-size: 14px; font-weight: 600; }
.ussd { display: inline-block; color: var(--red); font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -.4px; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks li span { display: inline; }
.ticks .icon { width: 15px; height: 15px; color: #fff; background: var(--red); border-radius: 50%; padding: 2px; }
.momo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.momo button { border: 0; border-radius: var(--r-sm); min-height: 54px; padding: 6px 4px; font-weight: 800; font-size: 11.5px; line-height: 1.05; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; }
.momo button small { font-weight: 600; font-size: 9.5px; }
.momo .mtn { background: #ffcb05; color: #003b6b; }
.momo .vodafone { background: #e60000; color: #fff; }
.momo .airteltigo { background: #e4002b; color: #fff; }
.momo .telecel { background: #222; color: #fff; }
.momo .telecel b { color: #ff3b52; }
.momo button[aria-pressed="true"] { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.momo-detail { margin-top: 10px; font-size: 13px; }
.with-rule { display: flex; align-items: center; gap: 12px; }
.with-rule::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.isteps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 2px; align-items: start; text-align: center; margin-top: 10px; }
.isteps .num { width: 26px; height: 26px; margin: 0 auto 6px; }
.isteps p { margin: 0; font-size: 11.5px; line-height: 1.3; color: var(--ink-2); }
.isteps p b { color: var(--red); white-space: nowrap; }
.ticks b, .notice b { white-space: nowrap; }
.isteps .step-arrow { display: block; margin-top: 4px; }
.confirm { background: var(--surface-2); border-radius: var(--r-card); padding: 14px; margin-top: 18px; }
.confirm h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; }
.crow { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.crow:last-of-type { border-bottom: 0; }
.crow .icon { width: 18px; height: 18px; color: var(--muted); }
.crow label { font-size: 13px; font-weight: 500; }
.crow input, .crow select { width: 100%; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 10px; font-size: 13.5px; background: var(--surface); outline: none; min-width: 0; }
.crow input:focus, .crow select:focus { border-color: var(--ink-2); }
.crow.invalid input, .crow.invalid select { border-color: var(--red); background: var(--red-tint); }
.confirm .err-msg { margin: 8px 0 0; }
.confirm .btn { margin-top: 12px; }
.fine { font-size: 12px; color: var(--muted); margin: 10px 2px 0; }
.edit-order { text-align: center; margin: 14px 0 0; font-size: 14px; }

/* ---------- Order received ---------- */
.done-col { min-width: 0; }
.done-head { text-align: center; padding-top: 8px; }
.done-check { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 8px; animation: pop .4s ease; }
.done-check .icon { width: 32px; height: 32px; }
.done-check.warn { background: var(--gold); }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 100% { transform: none; opacity: 1; } }
.done-head h2 { margin: 4px 0 2px; font-size: 27px; font-weight: 800; letter-spacing: -.5px; }
.done-head p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.ordnum { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; margin-top: 16px; text-align: center; }
.ordnum small { font-size: 12.5px; color: var(--muted); }
.ordnum strong { display: block; color: var(--red); font-size: 34px; font-weight: 800; letter-spacing: .5px; line-height: 1.1; }
.ordnum span { font-size: 12px; color: var(--muted); }
.pay-status { margin: 12px 0; text-align: center; font-size: 13.5px; padding: 8px 12px; border-radius: var(--r-sm); }
.pay-status.pending { background: var(--amber-bg); color: #6f4c00; border: 1px solid var(--amber-line); }
.pay-status.ok { background: #e8f5ec; color: #157a3e; border: 1px solid #c3e5cf; }
.pay-status.bad { background: var(--red-tint); color: var(--red-dark); border: 1px solid #f4cdca; }
.wa-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); margin: 10px 0 0; }
.wa-note .icon { width: 18px; height: 18px; color: var(--wa); flex: none; }
.wa-preview { margin-top: 16px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #ece5dd; max-width: 100%; }
.wa-head { background: var(--wa-dark); color: #fff; display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.wa-head .logo { width: 32px; height: 32px; background: #fff; border-radius: 50%; }
.wa-head strong { display: block; font-size: 13.5px; }
.wa-head span { font-size: 11px; opacity: .85; }
.wa-head .icon { width: 19px; height: 19px; margin-left: auto; }
.wa-body { padding: 10px; }
.wa-bubble { margin-left: auto; max-width: 94%; background: #dcf8c6; border-radius: 8px 0 8px 8px; padding: 8px 10px 6px; font-size: 12.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-height: 300px; overflow-y: auto; }
.wa-bubble time { display: block; text-align: right; font-size: 10.5px; color: #6b7f6b; margin-top: 4px; }
.next-steps { display: grid; gap: 12px; margin-top: 8px; }
.next-steps > div { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; }
.next-steps .num { grid-row: 1 / span 2; }
.next-steps h5 { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.next-steps p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.next-steps .step-arrow { display: none; }
.back-home { margin-top: 20px; }

/* ---------- Toast / loading ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + var(--bar-gap) + 16px + env(safe-area-inset-bottom)); z-index: 100; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: all .2s ease; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); }
.toast .icon { width: 17px; height: 17px; color: #6be39a; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 56px 0; text-align: center; color: var(--muted); }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--red); margin: 0 auto 10px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Phones ≥ 390px: a little more breathing room
   ========================================================= */
@media (min-width: 390px) {
  :root { --page-pad: 20px; --gap-section: 32px; }
  .menu-grid { gap: 12px; }
  .m-card .body { padding: 10px 12px 12px; }
}
/* Phones: price above a full-width button, so every card lines up and nothing clips */
@media (max-width: 559px) {
  .m-card .foot { flex-direction: column; align-items: stretch; gap: 6px; }
  .m-card .foot .btn-sm { margin-left: 0; width: 100%; }
}
@media (max-width: 389px) {
  .hide-xs { display: none; }
  .momo button { font-size: 10.5px; }
  .ref-pill { font-size: 28px; }
}

/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 560px) {
  :root { --page-pad: 24px; }
  .featured { grid-auto-columns: 31%; }
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .addons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-band .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr) 46%; }
  .hero h2 { font-size: 52px; }
  .hero p { font-size: 16px; max-width: 360px; }
  .hero-art .food-art, .hero-art img { width: 115%; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .next-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bottom-bar { left: 50%; right: auto; width: min(560px, calc(100% - 48px)); transform: translateX(-50%); }
}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 900px) {
  :root { --page-pad: clamp(24px, 3vw, 44px); --gap-section: 44px; --bar-gap: 18px; }
  body { font-size: 15.5px; }
  .header-row { min-height: 64px; gap: 16px; }
  .brand .logo { width: 50px; height: 50px; }
  .header-home .brand .logo { width: 84px; height: 84px; }
  .header-home .header-row { min-height: 96px; }
  .header-title h1 { font-size: 28px; }
  .desktop-nav { display: flex; gap: 2px; margin-left: 20px; }
  .back-actions .desktop-nav { margin: 0 8px 0 0; }
  .desktop-nav a { padding: 8px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: 15px; color: var(--ink-2); }
  .desktop-nav a:hover { background: var(--surface-2); color: var(--ink); }
  .desktop-nav a[aria-current="page"] { color: var(--red); background: var(--red-tint); }

  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; padding-top: 24px; min-height: 420px; }
  .hero h2 { font-size: 68px; letter-spacing: -2px; }
  .hero p { font-size: 18px; max-width: 420px; margin: 16px 0 24px; }
  .hero-ctas { grid-template-columns: auto auto; max-width: none; justify-content: start; gap: 12px; }
  .hero-ctas .btn { min-height: 48px; padding: 0 22px; }
  .hero-art .food-art, .hero-art img { width: 100%; }
  .hero-script { font-size: 30px; right: 6%; top: 0; }
  .chips-home { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
  .chips-home .chip { width: 116px; min-height: 96px; font-size: 13px; }
  .chips-home .chip .food-icon, .chips-home .chip .cat-photo { width: 64px; height: 50px; }
  .chip { width: 88px; min-height: 84px; font-size: 12px; }
  .chip-all { width: 64px; }
  .section-title { font-size: 26px; }
  .featured { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; gap: 20px; }
  .f-card h4 { font-size: 17px; }
  .f-card p { font-size: 13px; }
  .f-card .price { font-size: 19px; }
  .plus-btn { width: 36px; height: 36px; }
  .home-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: start; }
  .info-strip { grid-template-columns: 1fr; padding: 16px 18px; }
  .info-strip .divider { height: 1px; }
  .info { font-size: 13.5px; }
  .step h5 { font-size: 15.5px; }
  .step p { font-size: 13px; }
  .feature-band .wrap { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 22px; padding-bottom: 22px; }
  .site-footer { padding: 28px 0 22px; }
  .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: start; }
  .site-footer .wrap > div:first-child, .site-footer .wrap > div:nth-child(4) { grid-column: auto; }
  .site-footer .wrap > div:nth-child(4) a { display: block; margin: 0 0 2px; }
  .site-footer .logo { width: 44px; height: 44px; }

  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .m-card h4 { font-size: 16px; }
  .m-card p { font-size: 13px; }
  .m-card .price { font-size: 17px; }
  .m-card .foot .btn-sm { min-height: 32px; font-size: 13px; padding: 0 12px; }

  .meal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 16px; }
  .meal-layout .meal-hero { margin: 0; border-radius: 16px; position: sticky; top: 96px; aspect-ratio: 4 / 3.2; }
  .meal-hero .logo { width: 76px; height: 76px; }
  .meal-title h2 { font-size: 38px; }
  .included { gap: 18px; }

  .cart-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 32px; align-items: start; padding-top: 12px; }
  .c-list { margin-top: 0; padding: 0 18px; }
  .c-line { grid-template-columns: 64px minmax(0, 1fr); }
  .c-line .media { width: 64px; height: 64px; }
  .c-line.invalid { margin: 0 -18px; padding: 14px 18px; }
  .checkout-bar { position: sticky; top: 84px; bottom: auto; margin: 0; padding: 18px; background: var(--surface); border: 0; border-radius: var(--r-card); }
  .checkout-form { max-width: 640px; }
  .checkout-form .co-title:first-child { margin-top: 0; }

  .pay-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .pay-hero { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 240px; }
  .pay-hero h2 { font-size: 58px; }
  .pay-hero p { max-width: 380px; font-size: 16px; }
  .pay-hero .hero-art { max-width: 420px; justify-self: end; }
  .pay-hero .hero-script { font-size: 26px; }
  .ref-card { margin-top: 0; }

  .done-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 16px; }
  .next-steps { grid-template-columns: 1fr; }

  .bottom-bar { width: min(600px, calc(100% - 64px)); }
  .bottom-bar .grow .btn { min-width: 220px; }
}

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

/* ---------- utility classes (no inline styles: the CSP doesn't allow them) ---------- */
.gk-defs-svg { position: absolute; }
.how-title { margin-bottom: 14px; }
.bar-sep-gap { margin: 4px 8px; }
.empty-full { grid-column: 1 / -1; }
.wrap.empty.nf-page { padding-top: 80px; }
.nf-logo { margin: 0 auto 16px; }
.empty h3.nf-title { font-size: 26px; }
.noscript-msg { padding: 16px; text-align: center; }

/* ---------- checkout: pinned delivery location ---------- */
.loc-pin { display: flex; gap: 10px; align-items: flex-start; margin: -2px 0 10px; padding: 10px 12px; border-radius: var(--r-btn); background: #eef7ee; border: 1px solid #cfe6cf; font-size: 13px; line-height: 1.4; }
.loc-pin .icon { width: 18px; height: 18px; flex: none; color: #2e7d32; margin-top: 1px; }
.loc-pin strong { display: block; font-size: 13.5px; color: var(--ink); }
.loc-pin span { display: block; color: var(--muted); }
.loc-pin .loc-links { margin-top: 4px; }
.loc-pin a, .link-btn { color: var(--red); font-weight: 600; text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.loc-pin.loc-approx { background: #fff6e6; border-color: #f1d9a6; }
.loc-pin.loc-approx .icon { color: #b26a00; }
.loc-msg { margin: -2px 0 10px; padding: 10px 12px; border-radius: var(--r-btn); background: #fdeeee; border: 1px solid #f3c6c8; color: #8c1d18; font-size: 13px; line-height: 1.4; }
.ffield .trail.busy { opacity: .55; animation: gk-pulse 1s ease-in-out infinite; }
@keyframes gk-pulse { 50% { opacity: .2; } }
.toast.toast-error .icon { color: #ff8a80; }

/* ---------- payment: dial / copy the Kowri USSD code ---------- */
.pay-box .dial-help { flex-basis: 100%; margin-top: 12px; }
.dial-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-size: 15px; }
.dial-btn .icon { width: 18px; height: 18px; }
.dial-note { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pay-box { flex-wrap: wrap; }
.pay-box .pay-box-body { flex: 1 1 0; min-width: 0; }

/* ---------- payment: Kowri Mobile Money prompt ---------- */
.momo-prompt .momo-form { display: grid; gap: 10px; }
.momo-prompt .momo-nets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.momo-prompt .momo-nets[hidden] { display: none; }
.momo-net-auto { margin: 4px 0 12px; font-size: 14px; }
.momo-prompt .momo-nets .seg-opt span { font-size: 13px; padding-left: 4px; padding-right: 4px; text-align: center; }
.momo-prompt .ffield { margin-bottom: 0; }
.momo-status { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-card); font-size: 14px; line-height: 1.45; flex-wrap: wrap; }
.momo-status strong { display: block; font-size: 15px; margin-bottom: 2px; color: var(--ink); }
.momo-status small { display: block; margin-top: 6px; color: var(--muted); }
.momo-status > div { flex: 1 1 0; min-width: 0; }
.momo-status.waiting { background: #fff6e6; border: 1px solid #f1d9a6; }
.momo-status.failed { background: #fdeeee; border: 1px solid #f3c6c8; }
.momo-status .btn { flex-basis: 100%; }
.momo-status.steps { background: #eef5ff; border: 1px solid #c9dcf5; }
.momo-steps { margin: 8px 0 0; padding-left: 20px; }
.momo-steps li { margin: 4px 0; }
.spinner { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 3px solid #f1d9a6; border-top-color: var(--red); animation: gk-spin 0.9s linear infinite; margin-top: 2px; }
@keyframes gk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* Order complete: WhatsApp opens by itself after a short countdown */
.wa-auto { margin: 0 0 12px; background: #eafaf0; border: 1px solid #bfe8cf; }
.wa-auto .link-red { display: inline; margin-left: 4px; }

/* Manual Mobile Money: each network's own code */
.net-codes-title { margin: 16px 0 8px; }
.net-codes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.net-codes li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; border-radius: var(--r-card); border: 1px solid var(--line, #e7dccd); }
.net-codes li.mine { border-color: var(--red, #c8102e); }
.net-codes li > div { flex: 1 1 220px; min-width: 0; font-size: 14px; line-height: 1.45; }
.net-codes li strong { display: block; }
.manual-steps { margin: 0 0 12px; padding-left: 20px; font-size: 14px; line-height: 1.5; }
.manual-steps li { margin: 4px 0; }
.momo-wa-note { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; color: var(--muted, #666); }
