/* Light theme (owner picks dark or light) */
[data-theme=light]{
  --bg:#faf6f0; --bg2:#f2ebe1; --card:#ffffff; --line:rgba(40,25,10,.12);
  --text:#1c1612; --muted:#6b6258; --gold:#b67a00; --hdr-bg:rgba(250,246,240,.94); --ph:#efe7db; --ghost:rgba(40,25,10,.28); --bx1:#f0e4d4; --label-bg:rgba(250,246,240,.85);
}
[data-theme=light] .hero h1 .fire{filter:saturate(1.1)}
[data-theme=light] .btn-wa{color:#06210f}

/* header extras + banners */
.hdr-track{font-size:13px;font-weight:600;padding:8px 14px;border:1px solid var(--ghost);border-radius:999px;margin-left:auto;margin-right:10px}
.hdr-track[hidden]{display:none}
.statusbar,.annbar{font-size:13px;font-weight:500;text-align:center;padding:7px 14px;line-height:1.35}
.statusbar{display:flex;gap:8px;align-items:center;justify-content:center;background:rgba(37,211,102,.14);color:var(--text)}
.statusbar i{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none;box-shadow:0 0 0 4px rgba(37,211,102,.2)}
.statusbar.busy{background:rgba(245,185,46,.18)}.statusbar.busy i{background:var(--gold);box-shadow:0 0 0 4px rgba(245,185,46,.22)}
.statusbar.closed{background:rgba(212,42,31,.2)}.statusbar.closed i{background:var(--red);box-shadow:0 0 0 4px rgba(212,42,31,.22)}
.annbar{background:var(--gold);color:#1a1100;font-weight:600}
.statusbar[hidden],.annbar[hidden]{display:none}

/* hero scroll hint */
.scroll-hint{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);transition:opacity .5s;pointer-events:none}
.scroll-hint i{width:22px;height:34px;border:2px solid var(--muted);border-radius:12px;position:relative}
.scroll-hint i::after{content:"";position:absolute;left:50%;top:6px;width:4px;height:7px;margin-left:-2px;border-radius:2px;background:var(--gold);animation:hint 1.6s ease-in-out infinite}
.scroll-hint.gone{opacity:0}
@keyframes hint{0%{transform:translateY(0);opacity:1}70%{transform:translateY(12px);opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.scroll-hint i::after{animation:none}}

/* map */
.map-ph iframe{width:100%;height:100%;border:0;display:block;min-height:260px}
[data-theme=light] .map-ph{background:#e8e0d4}

/* menu cards: price, tags, add */
.card .price s{color:var(--muted);font-weight:400;font-size:.85em;margin-right:4px}
.card .price em{font-style:normal;font-weight:400;font-size:.8em;color:var(--muted)}
.card-ph{position:relative}
.tags-b{position:absolute;top:10px;left:10px;display:flex;gap:6px}
.tag-b{font:700 11px/1 var(--body);letter-spacing:.08em;text-transform:uppercase;padding:6px 9px;border-radius:999px;background:var(--gold);color:#1a1100}
.tag-b.t-hot{background:var(--red);color:#fff}.tag-b.t-best{background:#fff;color:#1a1100}
.card-act{margin-top:auto;padding-top:10px}
.add{width:100%;min-height:46px;border-radius:999px;background:var(--red);color:#fff;font-weight:600;font-size:15px;transition:transform .15s,background-color .2s}
.add:hover{background:var(--red2)}.add:active{transform:scale(.97)}
.card.is-out .card-ph img{filter:grayscale(1);opacity:.55}
.soldout{display:block;text-align:center;padding:12px;border-radius:999px;border:1px solid var(--line);color:var(--muted);font-weight:600;font-size:14px}
.ordering-off .add{opacity:.45}
.reorder{margin-top:6px;min-height:46px}
.reorder[hidden]{display:none}
.hours-list li.today{color:var(--gold);font-weight:600}

/* floating cart + order pill + toast */
.cartbar{position:fixed;left:14px;right:14px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:70;display:flex;align-items:center;gap:12px;min-height:56px;padding:0 18px;border-radius:999px;background:var(--red);color:#fff;font-weight:600;box-shadow:0 12px 34px rgba(0,0,0,.45);max-width:560px;margin:0 auto}
.cartbar[hidden]{display:none}
.cartbar .cc{min-width:28px;height:28px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;font-size:14px}
.cartbar span:nth-child(2){flex:1;text-align:left}
@media (min-width:960px){.cartbar{bottom:26px;left:50%;right:auto;transform:translateX(-50%);width:min(440px,90vw)}}
.orderpill{position:fixed;left:14px;top:auto;bottom:calc(138px + env(safe-area-inset-bottom));z-index:69;display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:var(--card);border:1px solid var(--gold);font-size:13px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.4)}
body.has-cart .orderpill{bottom:calc(142px + env(safe-area-inset-bottom))}
.orderpill[hidden]{display:none}
.orderpill i{width:9px;height:9px;border-radius:50%;background:var(--gold);animation:pulse 1.4s infinite}
.orderpill.ready i{background:var(--green)}
@keyframes pulse{50%{opacity:.35}}
@media (min-width:960px){.orderpill{bottom:26px;left:26px}body.has-cart .orderpill{bottom:92px}}
.toast{position:fixed;left:50%;bottom:calc(150px + env(safe-area-inset-bottom));transform:translate(-50%,20px);z-index:90;background:#1c1612;color:#fff;padding:12px 18px;border-radius:12px;font-size:14px;font-weight:500;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:90vw;text-align:center;border:1px solid rgba(255,255,255,.12)}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* bottom sheet */
.sheet{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .25s}
.sheet[hidden]{display:none}
.sheet.open{opacity:1}
.sheet-card{width:100%;max-width:560px;max-height:92dvh;display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--line);border-radius:22px 22px 0 0;transform:translateY(30px);transition:transform .28s cubic-bezier(.2,.8,.2,1);overflow:hidden}
.sheet.open .sheet-card{transform:none}
@media (min-width:700px){.sheet{align-items:center}.sheet-card{border-radius:22px;max-height:88dvh}}
.sh-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line)}
.sh-head h3{margin:0;font:400 30px/1 var(--display);letter-spacing:.02em}
.sh-x{font-size:30px;line-height:1;width:40px;height:40px;border-radius:50%;color:var(--muted)}
.sh-scroll{padding:16px 20px;overflow-y:auto;overscroll-behavior:contain;flex:1;display:flex;flex-direction:column;gap:14px}
.sh-foot{display:flex;gap:12px;align-items:center;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg)}
.sh-foot.col{flex-direction:column;align-items:stretch;gap:8px}
.sh-foot .grow{flex:1}
.sh-l{margin:4px 0 -4px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:600}
.empty{color:var(--muted);text-align:center;padding:20px 0;margin:0}
.opts{display:flex;flex-direction:column;gap:8px}
.op,.sp{position:relative;cursor:pointer}
.op input,.sp input{position:absolute;opacity:0;pointer-events:none}
.op{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 16px;border:1px solid var(--line);border-radius:14px;background:var(--card);min-height:50px}
.op:has(input:checked){border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.op b{color:var(--gold);font-weight:600}
.op s{color:var(--muted);font-weight:400}
.sauce-pick{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.sp span{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);font-size:14px;min-height:46px}
.sp i{width:12px;height:12px;border-radius:50%;background:var(--c);flex:none}
.sp:has(input:checked) span{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.sp input:focus-visible+span,.op:has(input:focus-visible){outline:2px solid var(--gold)}
.qty{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:3px}
.qty button{width:40px;height:40px;border-radius:50%;font-size:22px;background:var(--card)}
.qty span{min-width:26px;text-align:center;font-weight:600}
.qty.sm button{width:32px;height:32px;font-size:18px}
.lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.lines li{display:grid;grid-template-columns:1fr auto 64px;gap:10px;align-items:center}
.ln-t b{display:block;font-weight:600}.ln-t small{color:var(--muted)}
.ln-p{text-align:right;font-weight:600;color:var(--gold)}
.fld{display:flex;flex-direction:column;gap:6px}
.fld label{font-size:13px;font-weight:600}.fld em{font-style:normal;font-weight:400;color:var(--muted);margin-left:4px}
.fld input,.fld select,.fld textarea{width:100%;font:inherit;font-size:16px;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:12px;padding:13px 14px;min-height:48px}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:2px solid var(--gold);outline-offset:0;border-color:transparent}
.tot{display:flex;justify-content:space-between;font-weight:600}.tot b{color:var(--gold);font-size:18px}
.pay{margin:0;text-align:center;color:var(--muted);font-size:13px}
.msg{margin:0;padding:12px 14px;border-radius:12px;font-size:14px}
.msg.err{background:rgba(212,42,31,.16);color:var(--text);border:1px solid rgba(212,42,31,.5)}
.msg.ok{background:rgba(37,211,102,.14);border:1px solid rgba(37,211,102,.4)}
.btn:disabled{opacity:.6}
.btn.danger{border-color:rgba(212,42,31,.6);color:var(--red)}

/* done + tracking */
.done{align-items:center;text-align:center}
.check{width:64px;height:64px;border-radius:50%;background:var(--green);color:#06210f;display:grid;place-items:center;font-size:32px;font-weight:700}
.conf{font-size:18px;font-weight:600;margin:0}
.onum-l{margin:6px 0 0;color:var(--muted);font-size:13px;letter-spacing:.16em;text-transform:uppercase}
.onum{font:400 78px/1 var(--display);color:var(--gold);letter-spacing:.03em}
.eta{margin:0;color:var(--muted)}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;text-align:center}
.steps li{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;color:var(--muted);position:relative}
.steps i{width:34px;height:34px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;font-style:normal;font-weight:600;background:var(--card);z-index:1}
.steps li.done i{background:var(--green);border-color:var(--green);color:#06210f}
.steps li.now i{border-color:var(--gold);color:var(--gold);animation:pulse 1.4s infinite}
.steps li.now,.steps li.done{color:var(--text)}
.big{font-size:18px;font-weight:600;text-align:center;margin:4px 0}.big.ok{color:var(--green)}
.tl{margin:0;padding:12px 16px;list-style:none;border:1px solid var(--line);border-radius:14px;background:var(--card);display:flex;flex-direction:column;gap:6px;font-size:14px}
.rate{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px}
.stars{display:flex;gap:4px;justify-content:center}
.stars button{font-size:36px;line-height:1;color:var(--line);width:48px;height:48px}
.stars button.on{color:var(--gold)}
.rate textarea{font:inherit;font-size:16px;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px}

@media (max-width:959px){body{padding-bottom:0}.foot{padding-bottom:90px}}

/* welcome gate */
.gate{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:20px;background:radial-gradient(120% 80% at 50% 0%,rgba(212,42,31,.28),transparent 60%),var(--bg);overflow-y:auto}
.gate-on .gate{display:flex}
.gate-on body{overflow:hidden}
.gate-card{width:100%;max-width:420px;text-align:center;display:flex;flex-direction:column;gap:12px;margin:auto}
.gate-logo{width:min(46vw,190px);height:auto;margin:0 auto;animation:float 7s ease-in-out infinite}
.gate h1{font:400 clamp(40px,11vw,58px)/.95 var(--display);margin:4px 0 0;letter-spacing:.01em}
.gate h1 .fire{background:var(--fire);-webkit-background-clip:text;background-clip:text;color:transparent}
.gate-sub{color:var(--muted);margin:0 0 6px}
.gate form{display:flex;flex-direction:column;gap:8px;text-align:start}
.gate label{font-size:13px;font-weight:600}.gate label em{font-style:normal;font-weight:400;color:var(--muted);margin-left:4px}
.gate input{font:inherit;font-size:17px;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;min-height:54px;margin-bottom:6px}
.gate input:focus{outline:2px solid var(--gold);border-color:transparent}
.gate .btn{margin-top:6px;width:100%}
.gate-err{margin:0;color:#ff7a6e;font-size:14px}
.gate-note{margin:4px 0 0;text-align:center;color:var(--muted);font-size:12px}
.linkbtn{color:var(--gold);text-decoration:underline;font-size:inherit;padding:0}

/* burger hint + skip */
.bx-hint{position:absolute;left:50%;bottom:calc(110px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:5;display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:var(--label-bg);border:1px solid var(--line);font-size:13px;font-weight:600;opacity:0;transition:opacity .35s;pointer-events:none;white-space:nowrap}
.bx-hint i{width:16px;height:16px;border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:rotate(45deg);animation:nudge 1.3s ease-in-out infinite;margin-top:-6px}
.bx-hint.on{opacity:1}
@keyframes nudge{50%{transform:rotate(45deg) translate(4px,4px)}}
.bx-skip{position:absolute;right:16px;top:84px;z-index:6;font-size:13px;font-weight:600;padding:9px 14px;border-radius:999px;border:1px solid var(--ghost);background:var(--label-bg);opacity:0;pointer-events:none;transition:opacity .3s}
.bx-mid .bx-skip{opacity:1;pointer-events:auto}
@media (min-width:960px){.bx-hint{bottom:48px}.bx-skip{top:auto;bottom:40px;right:40px}}

/* menu search */
.msearch{position:relative;display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:0 16px;margin-bottom:16px;min-height:52px}
.msearch:focus-within{border-color:var(--gold)}
.msearch svg{width:20px;height:20px;color:var(--muted);flex:none}
.msearch input{flex:1;min-width:0;background:none;border:0;color:var(--text);font:inherit;font-size:16px;padding:12px 0;outline:0}
.msearch input::-webkit-search-cancel-button{display:none}
.msearch>button{font-size:24px;color:var(--muted);width:32px;height:32px}
.msug{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;list-style:none;margin:0;padding:6px;background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px rgba(0,0,0,.4)}
.msug li{padding:11px 12px;border-radius:10px;cursor:pointer;display:flex;justify-content:space-between;gap:10px}
.msug li small{color:var(--muted)}
.msug li.on,.msug li[data-i]:hover{background:var(--bg2)}
.msug .sg-note{color:var(--muted);font-size:13px;cursor:default}
.mres-h{color:var(--muted);margin:0 0 14px}
.card.flash{box-shadow:0 0 0 3px var(--gold);transition:box-shadow .3s}

/* push + install */
.pushbox{width:100%;text-align:center;border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--card);display:flex;flex-direction:column;gap:6px}
.pushbox p{margin:0;color:var(--muted);font-size:14px}
.pushbox .btn{margin-top:6px}
.instbar{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:95;display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;background:var(--card);border:1px solid var(--line);box-shadow:0 16px 40px rgba(0,0,0,.45);transform:translateY(20px);opacity:0;transition:.3s;max-width:520px;margin:0 auto}
.instbar.show{transform:none;opacity:1}
.instbar img{border-radius:10px;flex:none}
.instbar .g{flex:1;min-width:0;display:flex;flex-direction:column;font-size:13px;line-height:1.35}.instbar .g span{color:var(--muted)}
.instbar .btn{min-height:40px;padding:0 16px;font-size:14px}
.instx{font-size:24px;color:var(--muted);width:32px;height:32px;flex:none}
body.has-cart .instbar{display:none}
@media (min-width:960px){.instbar{bottom:24px;left:24px;right:auto;width:440px}}
/* back to top + new version bar */
.to-top{position:fixed;right:14px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:65;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:var(--hdr-bg,#16110e);color:var(--text,#fff);display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.35);cursor:pointer}
.to-top[hidden]{display:none}
body.has-cart .to-top{bottom:calc(146px + env(safe-area-inset-bottom))}
@media (min-width:960px){.to-top{right:30px;bottom:100px}body.has-cart .to-top{bottom:100px}}
.upd-bar{position:fixed;left:10px;right:10px;top:calc(8px + env(safe-area-inset-top));z-index:120;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:#1c1612;color:#fff;border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 30px rgba(0,0,0,.45);font-size:14px}
.upd-bar span{flex:1;min-width:150px}
.upd-bar button{min-height:40px;padding:0 14px;border-radius:10px;border:0;font:inherit;font-weight:700;cursor:pointer}
.upd-bar .upd-now{background:var(--red,#d42a1f);color:#fff}
.upd-bar .upd-later{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3)}
@media (min-width:960px){.upd-bar{left:50%;right:auto;transform:translateX(-50%);width:min(560px,92vw)}}
