/* Order flow of the owner phone: menu, product sheet, cart, destination, confirmation, follow-up. Colours only through the tokens of nabd.css. */
.s-order{padding-bottom:calc(184px + env(safe-area-inset-bottom))}

/* menu */
.s-order .secs{margin-bottom:10px}
.s-order .cats{display:flex;gap:8px;overflow-x:auto;margin-inline:-16px;padding-inline:16px;padding-bottom:2px;scrollbar-width:none}
.s-order .cats::-webkit-scrollbar{display:none}
.cat{flex:none;padding:9px 16px;border-radius:999px;background:var(--surf);border:1px solid var(--line);font-size:13.5px;font-weight:500;color:var(--tx2);white-space:nowrap}
.cat.on{background:var(--ink);border-color:var(--ink);color:var(--inktx)}
.pl{display:flex;flex-direction:column;gap:8px}
.pr{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;border-radius:16px;background:var(--surf);border:1px solid var(--line);text-align:start}
.pr .pm{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pr .pm b{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.pr .pp{display:flex;align-items:baseline;gap:5px;font-size:13px;color:var(--tx2)}
.pr .pp .num{font-size:15px;color:var(--tx)}
.pr .add{width:40px;height:40px;border-radius:12px;background:var(--ink);color:var(--inktx);display:grid;place-items:center;flex:none}
.pr .add svg{width:18px;height:18px}
.pr.done .add{background:var(--pos)}
.cartbar{position:fixed;z-index:9;inset-inline:max(14px,calc(50vw - 226px));bottom:calc(92px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;padding:11px 16px;border-radius:18px;background:var(--cb);color:var(--cbon);box-shadow:0 12px 26px -12px var(--cb)}
.cartbar .cb-ic{display:grid;place-items:center;flex:none}
.cartbar .cb-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.cartbar .cb-t b{font-size:14.5px;font-weight:600}
.cartbar .cb-t span{font-size:12px;opacity:.8}
.cartbar .num{font-size:17px}
.follow{display:flex;flex-direction:column;gap:2px;background:var(--cbbg);color:var(--cbtx)}
.follow span{font-size:13px}

/* product sheet */
.sheet-bg{position:fixed;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;background:rgba(23,23,26,.5)}
.sheet{width:100%;max-width:480px;max-height:92vh;max-height:92dvh;display:flex;flex-direction:column;background:var(--ground);border-radius:24px 24px 0 0;outline:none}
.sh-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px 8px}
.sh-hd b{font-size:18px;font-weight:700;overflow-wrap:anywhere}
.sh-x{width:38px;height:38px;border-radius:50%;background:var(--surf);border:1px solid var(--line);display:grid;place-items:center;flex:none}
.sh-body{overflow-y:auto;overscroll-behavior:contain;padding:4px 16px 14px;display:flex;flex-direction:column;gap:16px;-webkit-overflow-scrolling:touch}
.sh-grp{margin:0;padding:0;border:0;min-width:0}
.sh-grp legend{padding:0;margin-bottom:7px;font-size:12.5px;font-weight:500;color:var(--tx3)}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.chk{display:flex;flex-direction:column;gap:8px}
.opt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-radius:14px;background:var(--surf);border:1.5px solid var(--line);font-size:14px;font-weight:500;text-align:start}
.opts .opt{flex:1 1 auto;min-width:96px}
.opt .num{font-size:14px;color:var(--tx2)}
.opt.on{border-color:var(--cb);background:var(--cbbg);color:var(--cbtx)}
.opt.on .num{color:var(--cbtx)}
.std{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.part{display:flex;flex-direction:column;gap:10px;padding:12px;margin-bottom:8px;border-radius:16px;background:var(--surf);border:1px solid var(--line)}
.part .pn{font-size:13px;font-weight:600}
.part label,.sh-grp.nt,.frm label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:500;color:var(--tx3)}
.part select,.sh-grp.nt input,.frm input,.frm textarea,.frm select{width:100%;min-height:46px;padding:0 12px;border-radius:12px;border:1.5px solid var(--line2);background:var(--ground);font:inherit;font-size:16px;color:var(--tx)}
.frm input,.frm textarea{background:var(--surf)}
.sh-grp.nt input{background:var(--surf)}
.frm textarea{padding:10px 12px;resize:none}
.frm [aria-invalid=true]{border-color:var(--neg)}
.frm .pn{font-size:12.5px;font-weight:500;color:var(--tx3);line-height:1.5}
.sh-ft{display:flex;align-items:center;gap:12px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.sh-ft .btn{flex:1;width:auto;min-width:0;padding:0 12px}
.lnk{padding:6px 2px;font-size:13px;font-weight:500;color:var(--cbtx);text-decoration:underline;text-underline-offset:3px}
.lnk.neg{display:inline-flex;align-items:center;gap:5px;color:var(--negtx);text-decoration:none}
.lnk.center{display:block;margin:0 auto}
.qty{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:14px;background:var(--surf);border:1px solid var(--line)}
.qty button{width:40px;height:44px;border-radius:13px;display:grid;place-items:center}
.qty button[disabled]{opacity:.35;cursor:default}
.qty b{min-width:30px;text-align:center;font-size:16px}

/* cart, destination, confirmation */
.ci-list{display:flex;flex-direction:column;gap:8px}
.ci{display:flex;flex-direction:column;gap:6px;padding:13px 14px;border-radius:16px;background:var(--surf);border:1px solid var(--line)}
.ci.bad{outline:1.5px solid var(--neg)}
.ci-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.ci-top b{min-width:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.ci-sub{margin:0;font-size:12.5px;line-height:1.5;color:var(--tx3);overflow-wrap:anywhere}
.ci-sub:empty{display:none}
.ci-ft{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tot{display:flex;align-items:baseline;justify-content:space-between;font-weight:600}
.tot .num{font-size:22px}
.btn.dis{opacity:.45;pointer-events:none}
.emp{display:flex;flex-direction:column;gap:12px}
.seg2{display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--surf);border:1px solid var(--line)}
.seg2 button{flex:1;padding:11px 0;border-radius:12px;font-size:14.5px;font-weight:500;color:var(--tx2)}
.seg2 button.on{background:var(--ink);color:var(--inktx)}
.seg2 button[disabled]{opacity:.4;cursor:default}
.frm{display:flex;flex-direction:column;gap:14px}
.fe{font-size:12px;color:var(--negtx)}
.cf{display:flex;flex-direction:column;gap:8px}
.cf-dest{display:flex;align-items:baseline;justify-content:space-between}
.banner.paidb{background:var(--posbg);color:var(--postx);font-size:14px;font-weight:700;justify-content:center;text-align:center}
.cf-row{font-size:14px;color:var(--tx2);overflow-wrap:anywhere}
.cf-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 0}
.cf-line + .cf-line{border-top:1px solid var(--line)}
.cf-total{display:flex;align-items:baseline;justify-content:space-between;padding-top:10px;border-top:1.5px solid var(--line);font-weight:600}

/* follow-up */
.st-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:26px 18px;text-align:center}
.st-ic{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--surf2);color:var(--tx2)}
.tone-ok .st-ic{background:var(--posbg);color:var(--postx)}
.tone-warn .st-ic{background:var(--wnbg);color:var(--wntx)}
.tone-bad .st-ic{background:var(--negbg);color:var(--negtx)}
.st-tx{font-size:16.5px;font-weight:600;line-height:1.5;text-wrap:balance}
.st-meta .num{font-size:15px;color:var(--tx2)}
.st-left{font-size:30px;margin:0}
.spin{width:26px;height:26px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--cb);animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spin{animation:none}}
@media (max-width:340px){.sheet{border-radius:22px 22px 0 0}.pr{padding:10px 12px}.opts .opt{min-width:80px}}
