:root{--bg:#faf7f2;--card:#fff;--ink:#1d1a17;--muted:#6f675e;--line:#e8e1d6;--brand:#c8361c;--brand-ink:#fff;--ok:#1f7a3d;--bad:#b42318;--wait:#8a5a00;--radius:14px;color:var(--ink);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0}main{max-width:560px;min-height:100vh;margin:0 auto}h1{margin:0;font-size:20px}h2{margin:0;font-size:17px}button{font:inherit;cursor:pointer;border:0;border-radius:10px}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--brand);color:var(--brand-ink);padding:14px 18px;font-weight:600}.secondary{color:var(--ink);background:#f0e9df;padding:12px 16px;font-weight:600}.ghost{color:var(--muted);background:0 0;padding:8px}.block{width:100%;margin-top:16px;display:block}.screen{padding:16px 16px 120px}.center{text-align:center}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--bad);font-weight:500}.ok{color:var(--ok);font-weight:500}.bar{align-items:center;gap:8px;margin-bottom:16px;display:flex}.hero{align-items:center;gap:14px;padding:8px 0 12px;display:flex}.hero .logo{object-fit:cover;border-radius:50%;width:64px;height:64px}.open{color:var(--ok);margin:4px 0 0;font-size:14px}.closed{color:var(--wait);margin:4px 0 0;font-size:14px}.cats{background:var(--bg);z-index:2;gap:8px;padding:8px 0 12px;display:flex;position:sticky;top:0;overflow-x:auto}.cats a{white-space:nowrap;color:var(--ink);background:#f0e9df;border-radius:999px;padding:8px 12px;font-size:14px;text-decoration:none}.cat{padding-top:12px;scroll-margin-top:56px}.cat h2{margin:8px 0}.product{text-align:left;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);width:100%;color:var(--ink);gap:12px;margin:8px 0;padding:12px;display:flex}.product img{object-fit:cover;border-radius:10px;flex:none;width:84px;height:84px}.p-text{flex-direction:column;flex:1;gap:4px;display:flex}.p-text small{color:var(--muted)}.p-price{font-weight:600}.cartbar{justify-content:space-between;width:calc(100% - 32px);max-width:528px;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0000002e}.overlay{z-index:10;background:#1d1a1780;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--card);border-radius:18px 18px 0 0;width:100%;max-width:560px;max-height:92vh;padding:16px;overflow-y:auto}.sheet-head{justify-content:space-between;align-items:center;display:flex}.sheet-foot{background:var(--card);align-items:center;gap:12px;padding:12px 0 16px;display:flex;position:sticky;bottom:-16px}.sheet-foot .primary{flex:1}.group{border:0;margin:16px 0;padding:0}.group legend{justify-content:space-between;width:100%;margin-bottom:6px;font-weight:600;display:flex}.hint{color:var(--muted);font-size:12px;font-weight:400}.opt{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 4px;display:flex}.opt.off{opacity:.45}.opt input{width:20px;height:20px;accent-color:var(--brand)}.opt-name{flex-direction:column;flex:1;display:flex}.opt-name small{color:var(--muted)}.opt-price{color:var(--muted);font-size:14px}.stepper{background:#f0e9df;border-radius:10px;align-items:center;gap:10px;padding:4px;display:flex}.stepper button{background:var(--card);width:36px;height:36px;font-size:18px}.stepper.small button{width:28px;height:28px;font-size:15px}.field{flex-direction:column;gap:4px;margin:10px 0;font-size:14px;display:flex}.field span{color:var(--muted)}.field input,.field select,.field textarea{font:inherit;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px;width:100%;padding:12px;font-size:16px}.row{gap:10px;display:flex}.row .field:first-child{width:110px}.grow{flex:1}.seg{background:#f0e9df;border-radius:12px;margin:8px 0;padding:4px;display:flex}.seg button{color:var(--ink);background:0 0;flex:1;padding:10px}.seg button.on{background:var(--card);font-weight:600;box-shadow:0 1px 3px #00000014}.lines{margin:0;padding:0;list-style:none}.lines li{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:12px 0;display:flex}.lines li>div:first-child{flex-direction:column;gap:2px;display:flex}.lines small{color:var(--muted)}.line-right{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.coupon{align-items:flex-end;gap:8px;margin-top:12px;display:flex}.coupon .secondary{margin-bottom:10px}.totals{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);margin:12px 0;padding:12px 14px}.totals>div{justify-content:space-between;padding:4px 0;display:flex}.totals .total{border-top:1px solid var(--line);margin-top:6px;padding-top:8px;font-size:18px;font-weight:700}.status{padding:24px 8px}.status h1{margin-bottom:8px;font-size:22px}.status.ok h1{color:var(--ok)}.status.bad h1{color:var(--bad)}.status.wait h1{color:var(--wait)}.pix img{width:240px;height:240px;margin:8px auto;display:block}@media (width<=360px){.screen{padding:12px 12px 120px}}
