:root { --bg:#fffdf6; --ink:#1d1d1b; --muted:#6b6b66; --line:#e6e2d3; --brand:#dd1d21; --brand-ink:#fff; --accent:#ffc600; --card:#fff; --ok:#17663a; --warn:#8a4b00; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin:0; font:16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color:var(--ink); background:var(--bg); padding-bottom:84px; }
header.top { background:var(--brand); color:var(--brand-ink); padding:16px 16px 14px; border-bottom:4px solid var(--accent); }
header.top h1 { margin:0; font-size:1.35rem; }
header.top p { margin:4px 0 0; font-size:.9rem; opacity:.95; }
main { max-width:1100px; margin:0 auto; padding:12px 14px; }
.banner { background:#fff7d6; border:1px solid #f0dd8a; border-radius:10px; padding:10px 12px; font-size:.92rem; margin:0 0 12px; }
.banner.error { background:#fde8e8; border-color:#f2b8b8; }
.fulfil { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.fulfil label { flex:1 1 200px; border:2px solid var(--line); border-radius:12px; padding:10px 12px; background:var(--card); display:block; }
.fulfil label.on { border-color:var(--brand); }
.fulfil label.off { opacity:.6; background:#f4f1e6; }
.fulfil strong { display:block; }
.fulfil small { color:var(--muted); }
input[type=search], input[type=text], input[type=tel] { width:100%; font:inherit; padding:12px; border:1px solid #cfc9b3; border-radius:10px; background:#fff; }
.chips { display:flex; gap:8px; overflow-x:auto; padding:10px 0; -webkit-overflow-scrolling:touch; }
.chip { flex:0 0 auto; font:inherit; border:1px solid var(--line); background:#fff; border-radius:999px; padding:8px 14px; cursor:pointer; }
.chip[aria-pressed=true] { background:var(--ink); color:#fff; border-color:var(--ink); }
h2.cat { margin:20px 0 4px; font-size:1.15rem; }
.note21 { color:var(--warn); font-size:.9rem; margin:0 0 6px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; margin-top:8px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:10px; display:flex; flex-direction:column; gap:6px; }
.tile { height:64px; border-radius:8px; background:#f3efe0; display:flex; align-items:center; justify-content:center; font-weight:700; color:#8a8467; font-size:1.2rem; }
.card .name { font-weight:600; font-size:.95rem; }
.card .size { color:var(--muted); font-size:.8rem; min-height:1em; }
.card .price { font-weight:700; }
.card .price small { font-weight:400; color:var(--muted); }
button.btn { font:inherit; font-weight:600; border:0; border-radius:10px; padding:11px 14px; background:var(--brand); color:#fff; cursor:pointer; min-height:44px; }
button.btn.secondary { background:#eee9d6; color:var(--ink); }
button.btn:disabled { opacity:.5; cursor:not-allowed; }
.qty { display:flex; align-items:center; gap:10px; }
.qty button { width:44px; height:44px; border-radius:10px; border:1px solid #cfc9b3; background:#fff; font-size:1.2rem; cursor:pointer; }
.qty span { min-width:22px; text-align:center; font-weight:600; }
.bar { position:fixed; left:0; right:0; bottom:0; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); background:#fff; border-top:1px solid var(--line); display:none; z-index:5; }
.bar.show { display:block; }
.bar .btn { width:100%; }
.sheet { position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; z-index:10; }
.sheet.open { display:block; }
.panel { position:absolute; left:0; right:0; bottom:0; top:24px; background:var(--bg); border-radius:18px 18px 0 0; overflow-y:auto; padding:16px; max-width:560px; margin:0 auto; }
@media (min-width:700px) { .panel { top:5vh; bottom:5vh; border-radius:18px; } }
.panel h2 { margin:0 0 8px; }
.close { float:right; }
.line { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-top:1px solid var(--line); align-items:center; }
.line .t { flex:1; font-size:.95rem; }
.totals { border-top:2px solid var(--ink); margin-top:8px; padding-top:8px; }
.totals div { display:flex; justify-content:space-between; padding:3px 0; }
.totals .grand { font-weight:700; font-size:1.1rem; border-top:1px solid var(--line); margin-top:4px; padding-top:8px; }
.field { margin:12px 0; }
.field label.l { display:block; font-weight:600; margin-bottom:4px; }
.check { display:flex; gap:10px; align-items:flex-start; padding:10px 12px; background:#fff7d6; border:1px solid #f0dd8a; border-radius:10px; margin:12px 0; }
.check input { width:22px; height:22px; margin-top:2px; flex:0 0 auto; }
.pay { display:flex; flex-direction:column; gap:8px; }
.pay label { border:2px solid var(--line); border-radius:10px; padding:10px 12px; display:flex; gap:10px; align-items:flex-start; background:#fff; }
.pay input { margin-top:4px; }
.err { color:#a40000; font-weight:600; margin:10px 0; min-height:1.2em; }
.muted { color:var(--muted); font-size:.9rem; }
.status-big { font-size:1.4rem; font-weight:700; margin:6px 0; }
.codebox { font:700 1.6rem/1 ui-monospace, Menlo, monospace; letter-spacing:.15em; background:#fff; border:2px dashed var(--ink); padding:12px; text-align:center; border-radius:12px; margin:12px 0; }
[hidden] { display:none !important; }

/* Home page hero banner (photo + dark gradient so the text stays readable) */
header.hero { position:relative; padding:0; min-height:230px; overflow:hidden; background:#06102b; display:flex; align-items:flex-end; }
header.hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 36%; }
header.hero .shade { position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.82) 100%); }
header.hero .txt { position:relative; padding:90px 16px 14px; width:100%; max-width:1100px; margin:0 auto; text-shadow:0 1px 4px rgba(0,0,0,.7); }
header.hero h1 { font-size:1.7rem; }
header.hero p { font-size:.95rem; }
@media (min-width:700px) { header.hero { min-height:340px; } header.hero .txt { padding:160px 20px 20px; } header.hero h1 { font-size:2.3rem; } header.hero p { font-size:1.05rem; } }
.soldout { color:#a40000; font-weight:700; }
