/* EC - EAT CLEAN storefront. Charcoal / lime / orange / chalk. Lime = protein & data, orange = action. */
@font-face { font-family: "EC Display"; src: url(/fonts/InterDisplay-Black.woff) format("woff"); font-weight: 900; font-display: swap; }
@font-face { font-family: "EC Head"; src: url(/fonts/InterDisplay-ExtraBold.woff) format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "EC Text"; src: url(/fonts/Inter-Regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EC Text"; src: url(/fonts/Inter-SemiBold.woff) format("woff"); font-weight: 600; font-display: swap; }

:root {
  --char: #17181A; --steel: #25272B; --steel-2: #34373D; --chalk: #F5F5F0; --mist: #E7E8E2; --white: #FFFFFF;
  --lime: #B8F230; --lime-deep: #5E8A00; --orange: #FF6A13; --orange-deep: #C94A00; --amber: #FFB84D; --leaf: #2E9E4F; --meat: #B0402A;
  --ink: #17181A; --ink-2: #4A4D54; --line: #D9DAD2; --danger: #C62828;
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --display: "EC Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "EC Head", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "EC Text", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px; --gut: 16px; --tabh: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--chalk); color: var(--ink); font: 400 16px/1.55 var(--text); padding-bottom: calc(var(--tabh) + env(safe-area-inset-bottom)); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-family: var(--display); font-weight: 900; letter-spacing: -.035em; }
p { margin: 0 0 .8em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--char); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.small { font-size: .86rem; }
.row { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.grow { flex: 1; }

/* promo strip + header */
.promo { background: var(--lime); color: var(--char); text-align: center; font-weight: 600; font-size: .86rem; padding: 7px var(--gut); }
.top { background: var(--char); color: var(--chalk); position: sticky; top: 0; z-index: 40; }
.top .wrap { display: flex; align-items: center; gap: 10px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { font: 900 1.55rem/1 var(--display); letter-spacing: -.04em; }
.brand small { display: none; font-size: .7rem; color: #A9ACB3; line-height: 1.1; }
.nav { display: none; gap: 4px; margin-left: 14px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: #D5D7DC; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--steel-2); color: var(--white); }
.searchbox { flex: 1; display: flex; max-width: 420px; margin-left: auto; position: relative; }
.searchbox input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--steel-2); background: var(--steel); color: var(--chalk); padding: 0 16px 0 40px; }
.searchbox input::placeholder { color: #8C9098; }
.searchbox svg { position: absolute; left: 13px; top: 11px; width: 18px; height: 18px; color: #8C9098; }
.iconbtn { position: relative; width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--steel); color: var(--chalk); display: grid; place-items: center; text-decoration: none; }
.iconbtn:hover { background: var(--steel-2); }
.iconbtn .badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--orange); color: #fff; font: 700 .72rem/20px var(--text); text-align: center; padding: 0 5px; }

/* mobile tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--char); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--steel-2); }
.tabbar a { height: var(--tabh); display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; color: #A9ACB3; font-size: .7rem; font-weight: 600; position: relative; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--lime); }
.tabbar .badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--orange); color: #fff; font: 700 .68rem/18px var(--text); text-align: center; padding: 0 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; background: var(--orange); color: #fff; transition: transform .12s, background .15s; white-space: nowrap; }
.btn:hover { background: var(--orange-deep); }
.btn:active { transform: scale(.98); }
.btn.lime { background: var(--lime); color: var(--char); }
.btn.lime:hover { background: #cbff4d; }
.btn.dark { background: var(--char); color: var(--chalk); }
.btn.dark:hover { background: var(--steel-2); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(127,127,127,.14); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; font-weight: 600; }

/* hero */
.hero { background: var(--char); color: var(--chalk); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 36px; }
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 5.6rem); max-width: 11ch; }
.hero p.lead { font-size: 1.1rem; color: #C9CBD0; max-width: 44ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 6px; }
.hero-search { display: flex; gap: 8px; margin-top: 22px; max-width: 460px; }
.hero-search input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--steel-2); background: var(--steel); color: var(--chalk); padding: 0 18px; }
.goalchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .9rem; text-decoration: none; }
.chip:hover { border-color: var(--char); }
.chip.on { background: var(--char); color: var(--chalk); border-color: var(--char); }
.hero .chip { background: transparent; color: var(--chalk); border-color: var(--steel-2); }
.hero .chip:hover { border-color: var(--lime); color: var(--lime); }
.heroplate { background: var(--steel); border-radius: var(--r-l); padding: 22px; display: grid; gap: 14px; justify-items: center; text-align: center; border: 1px solid var(--steel-2); }
.heroplate .ring-wrap { width: min(280px, 72vw); }
.heroplate h2 { font-size: 1.35rem; }
.heroplate .macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.heroplate .macros div { background: var(--char); border-radius: var(--r-s); padding: 8px 4px; }
.heroplate .macros b { display: block; font: 800 1.25rem/1.1 var(--head); font-variant-numeric: tabular-nums; }
.heroplate .macros span { font-size: .74rem; color: #A9ACB3; }

/* macro ring + bars */
.ring { width: 100%; height: auto; }
.ring .seg { transition: stroke-dasharray .45s cubic-bezier(.2,.8,.2,1), stroke-dashoffset .45s cubic-bezier(.2,.8,.2,1); }
.ring text { font-family: var(--display); font-weight: 900; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dot.p { background: var(--lime); } .dot.c { background: #CFCFC6; } .dot.f { background: var(--amber); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 86px 1fr 52px; gap: 10px; align-items: center; font-size: .92rem; }
.bar .track { height: 12px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 6px; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.bar .fill.p { background: var(--lime-deep); } .bar .fill.c { background: #9A9B92; } .bar .fill.f { background: var(--amber); } .bar .fill.k { background: var(--char); }
.dark .bar .track { background: var(--steel-2); }
.dark .bar .fill.p { background: var(--lime); } .dark .bar .fill.k { background: var(--chalk); }

/* sections */
section.sec { padding: 40px 0; }
section.sec.dark { background: var(--char); color: var(--chalk); }
section.sec.mist { background: var(--mist); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.sec-head p { margin: 4px 0 0; color: var(--ink-2); }
.dark .sec-head p { color: #A9ACB3; }

/* grids + cards */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; }
.card { background: var(--white); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); }
.card .ph { aspect-ratio: 4 / 3; background: var(--mist); position: relative; display: block; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.02rem; line-height: 1.2; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .desc { font-size: .86rem; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pbadge { position: absolute; left: 10px; bottom: 10px; background: var(--char); color: var(--lime); border-radius: 999px; padding: 4px 11px; font: 800 .98rem/1.2 var(--head); font-variant-numeric: tabular-nums; }
.pbadge small { font: 600 .72rem var(--text); color: #C9CBD0; margin-left: 2px; }
.tagpill { position: absolute; right: 10px; top: 10px; background: var(--orange); color: #fff; border-radius: 6px; padding: 3px 8px; font-size: .72rem; font-weight: 600; }
.tagpill.out { background: var(--char); }
.vegmark { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 2px solid var(--leaf); border-radius: 3px; flex: none; }
.vegmark::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.vegmark.nv { border-color: var(--meat); } .vegmark.nv::after { background: var(--meat); }
.facts { display: flex; gap: 10px; font-size: .8rem; color: var(--ink-2); flex-wrap: wrap; }
.facts b { color: var(--ink); font-weight: 600; }
.priceline { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { font: 800 1.2rem var(--head); font-variant-numeric: tabular-nums; }
.was { text-decoration: line-through; color: var(--ink-2); font-size: .9rem; }
.card .actions { display: flex; gap: 8px; align-items: center; }
.heart { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.heart[aria-pressed="true"] { background: var(--char); color: var(--orange); border-color: var(--char); }
.cmp { font-size: .8rem; display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); }

/* banners */
.banner { border-radius: var(--r-l); padding: 22px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; text-decoration: none; }
.banner h3 { font: 900 1.6rem/1.05 var(--display); letter-spacing: -.03em; max-width: 14ch; }
.banner p { margin: 6px 0 0; max-width: 32ch; opacity: .85; }
.banner.lime { background: var(--lime); color: var(--char); }
.banner.orange { background: var(--orange); color: #fff; }
.banner.dark { background: var(--char); color: var(--chalk); border: 1px solid var(--steel-2); }

/* combos + offers */
.combo { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; display: grid; gap: 10px; }
.dark .combo { background: var(--steel); border-color: var(--steel-2); }
.combo ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--ink-2); }
.dark .combo ul { color: #C9CBD0; }
.save { display: inline-block; background: var(--lime); color: var(--char); border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: .8rem; }
.coupon { border: 2px dashed var(--char); border-radius: var(--r-m); padding: 14px 16px; display: grid; gap: 4px; background: var(--white); }
.coupon code { font: 800 1.3rem var(--head); letter-spacing: .04em; }

/* reviews */
.stars { color: var(--orange); letter-spacing: 2px; }
.review { background: var(--white); border-radius: var(--r-l); padding: 18px; border: 1px solid var(--line); }
.demotag { display: inline-block; font-size: .7rem; font-weight: 600; background: var(--mist); color: var(--ink-2); padding: 2px 8px; border-radius: 6px; }

/* forms */
label.f { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], select, textarea { width: 100%; min-height: 46px; border-radius: var(--r-s); border: 1px solid #B7B9B0; background: var(--white); padding: 10px 12px; }
textarea { min-height: 100px; resize: vertical; }
.fgrid { display: grid; gap: 12px; }
.err { color: var(--danger); font-size: .88rem; font-weight: 600; }
.note { background: var(--mist); border-radius: var(--r-m); padding: 12px 14px; font-size: .88rem; }
.note.warn { background: #FFF1DD; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.page { padding-top: 26px; padding-bottom: 40px; }
.page h1 { font-size: clamp(2rem, 7vw, 3.2rem); margin-bottom: 14px; }
.crumb { font-size: .88rem; margin-bottom: 10px; }

/* menu page */
.menu-layout { display: grid; gap: 18px; }
.filters { display: grid; gap: 12px; }
.catrail { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.catrail .chip { flex: none; }
.filterbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filterbar .full { grid-column: 1 / -1; }
.switch { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }
.empty { text-align: center; padding: 40px 16px; border: 2px dashed var(--line); border-radius: var(--r-l); }
.comparebar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabh) + 14px + env(safe-area-inset-bottom)); z-index: 42; background: var(--char); color: var(--chalk); border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.tbl th, table.tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { font-weight: 600; color: var(--ink-2); }
.scrollx { overflow-x: auto; }

/* dish page */
.dish { display: grid; gap: 22px; }
.dish .hero-img { border-radius: var(--r-l); overflow: hidden; background: var(--mist); aspect-ratio: 4/3; }
.dish .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.optgroup { border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; background: var(--white); }
.optgroup legend { font-weight: 600; padding: 0 6px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 8px 0; min-height: 44px; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--orange); }
.qty { display: inline-flex; align-items: center; border: 1px solid #B7B9B0; border-radius: 999px; background: var(--white); }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 1.2rem; border-radius: 50%; }
.qty button:hover { background: var(--mist); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* plate builder */
.plate { display: grid; gap: 20px; }
.plate-side { background: var(--char); color: var(--chalk); border-radius: var(--r-l); padding: 20px; display: grid; gap: 14px; justify-items: center; }
.plate-side .ring-wrap { width: min(300px, 78vw); }
.plate-groups { display: grid; gap: 18px; }
.comp { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
.comp.on { border-color: var(--char); box-shadow: inset 0 0 0 1px var(--char); }
.comp .m { font-size: .8rem; color: var(--ink-2); }
.chosen { width: 100%; font-size: .88rem; color: #C9CBD0; }
.chosen li { display: flex; justify-content: space-between; }
.chosen ul { list-style: none; padding: 0; margin: 0; }

/* cart + checkout */
.cart-layout { display: grid; gap: 18px; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; border-radius: var(--r-m); object-fit: cover; background: var(--mist); }
.line h3 { font-size: 1rem; }
.line .opts { font-size: .82rem; color: var(--ink-2); }
.sumrow { display: flex; justify-content: space-between; padding: 5px 0; }
.sumrow.total { font: 800 1.3rem var(--head); border-top: 2px solid var(--char); margin-top: 8px; padding-top: 12px; }
.sumrow.good { color: var(--lime-deep); font-weight: 600; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: flex; gap: 10px; align-items: center; border: 2px solid var(--line); border-radius: var(--r-m); padding: 12px; background: var(--white); cursor: pointer; min-height: 56px; }
.seg label:has(input:checked) { border-color: var(--char); background: var(--chalk); }
.seg input { accent-color: var(--orange); width: 18px; height: 18px; }
.paylist { display: grid; gap: 8px; }
.paylist label { display: flex; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; background: var(--white); cursor: pointer; min-height: 56px; }
.paylist label:has(input:checked) { border-color: var(--char); }
.paylist input { accent-color: var(--orange); width: 18px; height: 18px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots label { border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; background: var(--white); font-weight: 600; font-size: .9rem; }
.slots label:has(input:checked) { background: var(--char); color: var(--chalk); border-color: var(--char); }
.slots input { position: absolute; opacity: 0; pointer-events: none; }
.slots label:has(input:focus-visible) { outline: 3px solid var(--orange); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime-deep); }
.timeline li.next::after { background: var(--white); border: 2px solid var(--line); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--mist); }
.status.good { background: var(--lime); color: var(--char); } .status.bad { background: #FBD9D4; color: #8A1C10; } .status.wait { background: #FFE3C9; color: #8A3B00; }
.steps { display: flex; gap: 6px; margin: 14px 0; }
.steps span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.steps span.done { background: var(--lime-deep); } .steps span.now { background: var(--orange); }
.points { display: flex; gap: 10px; align-items: center; background: var(--char); color: var(--chalk); border-radius: var(--r-l); padding: 14px 18px; }
.points b { font: 900 2rem/1 var(--display); color: var(--lime); }

/* mobile sticky plate summary */
.platebar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabh) + env(safe-area-inset-bottom)); z-index: 44; background: var(--steel); color: var(--chalk); display: flex; align-items: center; gap: 12px; padding: 10px var(--gut); border-top: 1px solid var(--steel-2); line-height: 1.25; }
body[data-route="plate"] .wa { display: none; }
#plateroot { padding-bottom: 76px; }
/* footer */
.foot { background: var(--char); color: #C9CBD0; padding: 38px 0 28px; margin-top: 0; }
.foot .cols { display: grid; gap: 26px; }
.foot h3 { color: var(--chalk); font-size: 1.05rem; margin-bottom: 10px; }
.foot a { color: #C9CBD0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot .legal { border-top: 1px solid var(--steel-2); margin-top: 26px; padding-top: 16px; font-size: .82rem; }
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 4px 16px; }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { min-height: 48px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
details.faq p { color: var(--ink-2); }

/* floating bits */
.wa { position: fixed; right: 14px; bottom: calc(var(--tabh) + 14px + env(safe-area-inset-bottom)); z-index: 41; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); top: 74px; z-index: 90; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--char); color: var(--chalk); border-radius: var(--r-m); padding: 12px 16px; font-weight: 600; box-shadow: 0 10px 28px rgba(0,0,0,.3); animation: tin .22s ease-out; border-left: 5px solid var(--lime); }
.toast.error { border-left-color: var(--orange); }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,12,.62); display: grid; place-items: end center; padding: 0; }
.modal .sheet { background: var(--chalk); width: 100%; max-width: 720px; max-height: 90vh; overflow: auto; border-radius: var(--r-l) var(--r-l) 0 0; padding: 20px var(--gut) 28px; animation: sheet .25s ease-out; }
@keyframes sheet { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--orange); animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-flag { display: inline-block; background: #FFE3C9; color: #8A3B00; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; }

/* the one orchestrated moment: hero ring draws itself once */
@keyframes draw { from { stroke-dasharray: 0 100; } }
.hero .ring .seg { animation: draw 1s .15s cubic-bezier(.2,.8,.2,1) backwards; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hscroll { grid-auto-columns: 46%; }
  .brand small { display: block; }
  .fgrid.two { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  :root { --gut: 28px; }
  .filterbar { grid-template-columns: 1fr; }
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .nav { display: flex; }
  .wa { bottom: 22px; }
  .comparebar { bottom: 24px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; padding-top: 52px; padding-bottom: 60px; gap: 48px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hscroll { grid-auto-columns: 31%; }
  .menu-layout { grid-template-columns: 250px 1fr; align-items: start; }
  .filters { position: sticky; top: 76px; }
  .catrail { flex-direction: column; overflow: visible; }
  .catrail .chip { justify-content: flex-start; border-radius: var(--r-s); }
  .dish { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .plate { grid-template-columns: 1.3fr .9fr; align-items: start; }
  .plate-side { position: sticky; top: 76px; }
  .platebar { display: none; }
  #plateroot { padding-bottom: 0; }
  .cart-layout { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .cart-layout .summary { position: sticky; top: 76px; }
  .foot .cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .modal { place-items: center; padding: 20px; }
  .modal .sheet { border-radius: var(--r-l); }
  .banner h3 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
