:root {
  --c-primary: #e11d48;
  --c-secondary: #25d366;
  --c-accent: #0b1220;
  --bg: #0b1220;
  --fg: #f8fafc;
  --muted: #94a3b8;
  --card: #111827;
}
html[data-mode="light"] {
  --bg: #f8fafc;
  --fg: #0f172a;
  --muted: #475569;
  --card: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, black); border-bottom: 1px solid #ffffff22; }
.bar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 64px; flex-wrap: wrap; }
.nav { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.nav a { color: var(--fg); text-decoration: none; font-size: 0.9rem; }
.tools { display: flex; gap: 0.5rem; align-items: center; }
input, button { font: inherit; }
.tools input { background: #00000033; border: 1px solid #ffffff22; color: var(--fg); border-radius: 999px; padding: 0.45rem 0.9rem; min-width: 220px; }
.hero { padding: 4.5rem 0 3rem; background: linear-gradient(135deg, var(--c-accent), color-mix(in srgb, var(--c-primary) 40%, var(--c-accent))); }
.kicker { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--c-secondary); }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: .4rem 0; max-width: 18ch; }
.hours { color: var(--muted); }
.btn { border: 0; border-radius: 999px; padding: .7rem 1.1rem; cursor: pointer; }
.btn.primary { background: var(--c-primary); color: #fff; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid #ffffff33; }
.btn.wa { width: 100%; background: var(--c-secondary); color: #052e16; font-weight: 700; }
.block { padding: 2.5rem 0; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { background: var(--card); color: var(--fg); border: 1px solid #ffffff22; border-radius: 999px; padding: .5rem .9rem; cursor: pointer; }
.chip.on { background: var(--c-primary); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.card { background: var(--card); border-radius: 1rem; overflow: hidden; border: 1px solid #ffffff14; display: flex; flex-direction: column; }
.card img { width: 100%; height: 160px; object-fit: cover; background: #1f2937; }
.card .pad { padding: 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.05rem; }
.cat, .muted, .desc { color: var(--muted); font-size: .85rem; }
.prices { display: flex; gap: .6rem; align-items: baseline; }
.strike { text-decoration: line-through; opacity: .6; }
.pix { color: var(--c-secondary); font-weight: 700; }
.foot { border-top: 1px solid #ffffff22; padding: 2rem 0; color: var(--muted); }
.fab { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 56px; height: 56px; border-radius: 999px; border: 0; background: var(--c-secondary); font-size: 1.3rem; cursor: pointer; z-index: 30; }
.bag { position: fixed; top: 0; right: 0; width: min(380px, 100%); height: 100%; background: var(--card); transform: translateX(110%); transition: .25s; z-index: 40; display: flex; flex-direction: column; border-left: 1px solid #ffffff22; }
.bag.open { transform: none; }
.bag-head, .bag-foot { padding: 1rem; border-bottom: 1px solid #ffffff14; }
.bag-foot { border: 0; border-top: 1px solid #ffffff14; }
.bag-body { flex: 1; overflow: auto; padding: 1rem; }
.bag-row { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.qty { display: flex; gap: .35rem; align-items: center; }
.qty button { width: 28px; height: 28px; border-radius: 999px; border: 0; cursor: pointer; }
.bag-foot label { display: block; font-size: .8rem; margin-bottom: .4rem; }
.bag-foot input { width: 100%; margin-top: .2rem; padding: .4rem .5rem; border-radius: .4rem; border: 1px solid #ffffff22; background: #00000033; color: var(--fg); }
.total { font-size: 1.1rem; }
@media (max-width: 720px) {
  .nav { display: none; }
}
