:root{--plum:#57363D;--plum-deep:#3F2429;--chili:#B93522;--chili-dark:#9A2B1B;--mint:#ABFFC3;--cream:#FAFFEB;--mist:#A3F0B8;--ink:#050A06;--ink-soft:#487355;--focus:#7B88BC}
*{box-sizing:border-box}
body{margin:0;font-family:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--mint);color:var(--ink);line-height:1.5;padding-bottom:96px}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:8px}
.top{position:sticky;top:0;z-index:10;background:var(--cream);border-bottom:1px solid rgba(87,54,61,.18);padding:12px 16px;display:grid;gap:10px}
.top-row{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:8px}
.brand img{display:block;height:auto}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--mist);padding:4px;border-radius:999px}
.seg button{border:0;background:transparent;min-height:44px;border-radius:999px;font-weight:600;color:var(--ink)}
.seg button[aria-checked=true]{background:#fff;box-shadow:0 0 0 2px var(--focus)}
.loc-btn{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:0 14px;border:1px solid #D9DEC6;border-radius:12px;background:#fff;color:var(--plum)}
main{max-width:720px;margin:0 auto;padding:12px 16px}
.chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid var(--mist);background:#fff;color:var(--ink)}
.chips button[aria-pressed=true]{background:var(--plum);border-color:var(--plum);color:#fff}
.status{color:var(--ink-soft);font-size:.95rem}
.status:empty{display:none}
.items{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.item{background:#fff;border-radius:14px}
.item button{all:unset;box-sizing:border-box;display:flex;gap:12px;align-items:center;width:100%;padding:12px;cursor:pointer;border-radius:14px}
.item button:focus-visible{outline:3px solid var(--focus)}
.item img{width:72px;height:72px;object-fit:cover;border-radius:10px;flex-shrink:0}
.item .txt{flex:1;min-width:0}
.item h3{margin:0;font-size:1rem;font-weight:600}
.item .d{margin:2px 0;color:var(--ink-soft);font-size:.88rem}
.item .p{font-weight:600;color:var(--plum)}
.item .add{width:44px;height:44px;border-radius:12px;background:var(--plum);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}
.item.sold button{cursor:default;opacity:.75}
.item .sold-tag{font-size:.8rem;font-weight:600;color:var(--ink-soft);background:#EFEDE8;border-radius:8px;padding:8px 10px}
.cart-bar{position:fixed;left:0;right:0;bottom:0;padding:10px 16px calc(14px + env(safe-area-inset-bottom));background:var(--cream);border-top:1px solid rgba(87,54,61,.18)}
.cart-bar button{display:flex;justify-content:space-between;width:100%;max-width:688px;margin:0 auto;min-height:52px;padding:0 18px;border:0;border-radius:14px;background:var(--plum-deep);color:#fff;font-weight:600;align-items:center}
dialog{border:0;border-radius:20px 20px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));width:100%;max-width:720px;max-height:90vh;margin:auto auto 0;overflow:auto}
dialog::backdrop{background:rgba(5,10,6,.45)}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.sheet-head h2{margin:0;font-family:Fraunces,Georgia,serif;color:var(--plum);font-size:1.5rem;line-height:1.15}
.x{border:0;background:transparent;font-size:1.8rem;width:44px;height:44px;color:var(--plum);flex-shrink:0}
.soft{color:var(--ink-soft)}
.small{font-size:.88rem}
fieldset{border:0;padding:0;margin:16px 0 0}
legend{font-weight:600;margin-bottom:6px}
legend small{font-weight:400;color:var(--ink-soft)}
.opt{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 4px;border-bottom:1px solid #EEF4EA}
.opt input{width:22px;height:22px;accent-color:var(--plum)}
.opt span{flex:1}
.opt.off{opacity:.55}
.nested{margin-left:18px;padding-left:12px;border-left:3px solid var(--mist)}
.qty-row{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-weight:600}
.qty{display:flex;align-items:center;gap:6px}
.qty button{width:44px;height:44px;border-radius:12px;border:2px solid var(--plum);background:#fff;color:var(--plum);font-size:1.3rem}
.qty output{min-width:28px;text-align:center;font-weight:600}
.err{color:var(--chili-dark);min-height:1.2em;margin:10px 0 0;font-size:.95rem}
.primary{width:100%;min-height:52px;margin-top:10px;border:0;border-radius:999px;background:var(--plum);color:#fff;font-weight:600}
.primary:disabled{background:#9C8A8E;cursor:default}
.lines{list-style:none;margin:12px 0;padding:0}
.lines li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #EEF4EA}
.lines .mods{color:var(--ink-soft);font-size:.88rem}
.lines .rm{border:0;background:transparent;color:var(--chili-dark);font-weight:600;min-height:44px;padding:0 4px}
.sum{display:flex;justify-content:space-between;font-size:1.1rem;margin-top:6px}
#delivery h1{font-family:Fraunces,Georgia,serif;color:var(--plum);font-size:1.6rem;line-height:1.15}
.card{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:16px;padding:18px;text-decoration:none;color:var(--ink)}
.card.best{box-shadow:0 0 0 2px var(--plum)}
.tag{align-self:flex-start;padding:2px 10px;border-radius:999px;background:var(--plum);color:#fff;font-size:.75rem;font-weight:600}
.big{font-size:1.15rem;font-weight:700;color:var(--plum)}
.label{font-weight:600;font-size:.9rem;margin:18px 2px 8px}
.apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.apps a{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:14px;border:1.5px solid var(--mist);background:#fff;text-decoration:none;font-weight:600;font-size:.85rem;color:var(--ink);text-align:center}
.note{background:var(--cream);border-radius:14px;padding:14px 16px;margin-top:16px;font-size:.92rem}

/* Pickup wait-time note (owner wording) */
.wait-note{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:10px 14px;background:var(--cream,#FAFFEB);border:1px solid var(--mist,#A3F0B8);border-radius:14px;font-size:.88rem;line-height:1.45;color:var(--ink-soft,#487355)}
.wait-note svg{flex:none;width:18px;height:18px;margin-top:1px;fill:none;stroke:var(--plum,#57363D);stroke-width:2;stroke-linecap:round}
.notice{margin:12px 0 0;padding:12px 14px;border-radius:14px;background:#FFF3C4;color:#5A4500;font-weight:600;font-size:.95rem;line-height:1.4}
.notice.is-paused{background:#FBEBEB;color:#7A1E12}
.primary:disabled{opacity:.55;cursor:not-allowed}

/* Deals (batch 3) */
.deals{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.deals li{padding:12px 14px;border-radius:14px;background:var(--plum);color:var(--cream);font-weight:600;font-size:.95rem;line-height:1.35}
.deals li b{display:inline-block;background:var(--chili);color:#fff;border-radius:6px;padding:2px 7px;margin-right:4px;font-size:.78rem;letter-spacing:.02em}
.deals li.combo{background:#fff;color:var(--plum);border:2px solid var(--plum)}
.deals li.combo b{background:var(--plum)}
.sale-tag{display:inline-block;background:var(--chili);color:#fff;border-radius:6px;padding:1px 6px;font-size:.75rem;font-weight:700;vertical-align:1px}
.item .was{color:var(--ink-soft);font-weight:400;font-size:.88rem}
.cart-hint{margin:8px 0 0;padding:10px 12px;border-radius:12px;background:var(--cream);color:var(--plum);font-weight:600;font-size:.92rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pts-pill{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;background:var(--plum);color:#fff;font-weight:600;font-size:.9rem;text-decoration:none;white-space:nowrap}
.pts-pill.guest{background:#fff;color:var(--plum);border:1.5px solid var(--plum)}

/* Group orders */
.grp-btn{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;border:1.5px dashed var(--plum);color:var(--plum);font-weight:600;text-decoration:none;background:#fff}
.grp-btn[hidden],.grp-bar[hidden]{display:none}
.grp-bar{background:var(--plum);color:#fff;border-radius:12px;padding:10px 14px;font-weight:500}
.grp-bar a{color:var(--mint);font-weight:600}

/* The hidden attribute always wins over a display rule. */
[hidden]{display:none!important}
