:root {
  --pri: #c8102e;
  --pri-ink: #fff;
  --bg: #f6f3ee;
  --card: #fff;
  --ink: #1c1a17;
  --muted: #6f685f;
  --line: #ebe5dc;
  --soft: #f7f4ef;
  --ok: #15803d;
  --err: #dc2626;
  --wa: #1fae52;
  --r: 18px;
  --sh: 0 10px 30px rgba(40, 25, 10, .08);
  --pri-soft: color-mix(in srgb, var(--pri) 10%, #fff);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 100px;
}
body.lock { overflow: hidden; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

/* ---------- Topo ---------- */
.hero { background: var(--pri); color: var(--pri-ink); padding: 28px 0 64px; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 15%, rgba(255,255,255,.2), transparent 42%),
              radial-gradient(circle at 5% 120%, rgba(0,0,0,.22), transparent 55%);
}
.hero .wrap { display: flex; gap: 16px; align-items: center; position: relative; z-index: 1; }
.logo {
  width: 76px; height: 76px; border-radius: 22px; background: #fff; flex: none;
  display: grid; place-items: center; font-size: 42px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.logo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin: 0; font-size: clamp(22px, 5vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero p { margin: 6px 0 0; opacity: .9; font-size: 14px; }

.info {
  background: var(--card); border-radius: var(--r); box-shadow: var(--sh);
  margin-top: -44px; position: relative; z-index: 2; padding: 14px 16px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px 16px; font-size: 13px;
}
.info > div { display: flex; flex-direction: column; min-width: 0; }
.info small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.info b { font-weight: 700; }
.st-aberto { color: var(--ok); }
.st-fechado { color: var(--err); }
.aviso { margin-top: 12px; background: #fff7e6; border: 1px solid #f3d7a4; color: #7a4a00; border-radius: 14px; padding: 10px 14px; font-size: 13px; }

/* ---------- Fidelidade ---------- */
.fid { margin-top: 16px; display: grid; gap: 12px; }
@media (min-width: 700px) { .fid.multi { grid-template-columns: 1fr 1fr; } }
.fid-card { background: linear-gradient(135deg, #1f1b16, #3b3026); color: #fff; border-radius: var(--r); padding: 16px; position: relative; overflow: hidden; }
.fid-card::after { content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: var(--pri); opacity: .4; }
.fid-card > * { position: relative; z-index: 1; }
.fid-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fid-top small { opacity: .7; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.fid-top h3 { margin: 2px 0 0; font-size: 17px; }
.fid-count { font-size: 14px; opacity: .9; white-space: nowrap; }
.fid-count b { font-size: 26px; }
.dots { display: grid; gap: 8px; margin: 14px 0 10px; }
.dot {
  aspect-ratio: 1; width: 100%; max-width: 46px; justify-self: center; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.35); display: grid; place-items: center;
  font-size: 12px; color: rgba(255,255,255,.5); font-weight: 700;
}
.dot.on { border: 0; background: #fff; font-size: 19px; animation: pop .35s; }
.fid-card p { margin: 0; font-size: 13px; opacity: .92; }
.fid-hint { display: block; margin-top: 6px; opacity: .6; font-size: 11px; }

/* ---------- Busca e categorias ---------- */
.search { margin-top: 16px; position: relative; }
.search input { width: 100%; padding: 13px 14px 13px 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); outline: none; }
.search input:focus { border-color: var(--pri); }
.search::before { content: '🔍'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 15px; opacity: .55; }

.cats { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-top: 12px; border-bottom: 1px solid var(--line); }
.cats-in { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; max-width: 780px; margin: 0 auto; }
.cats-in::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip.on { background: var(--pri); color: var(--pri-ink); border-color: var(--pri); }

/* ---------- Cardápio ---------- */
.sec { padding-top: 22px; scroll-margin-top: 62px; }
.sec h2 { font-size: 19px; margin: 0; letter-spacing: -.01em; }
.sec-desc { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.list { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 700px) { .list { grid-template-columns: 1fr 1fr; } }
.card {
  display: flex; gap: 12px; text-align: left; width: 100%;
  background: var(--card); border-radius: var(--r); padding: 12px; border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { box-shadow: var(--sh); transform: translateY(-1px); }
.card:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.card-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card h3 { margin: 0; font-size: 15px; font-weight: 700; }
.card p { margin: 4px 0 8px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { margin-top: auto; font-weight: 700; font-size: 15px; }
.price small { font-weight: 500; color: var(--muted); font-size: 11px; display: block; line-height: 1.2; }
.price s { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 6px; }
.thumb { width: 94px; height: 94px; flex: none; border-radius: 14px; background: var(--pri-soft); display: grid; place-items: center; font-size: 46px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--pri-soft); color: var(--pri); padding: 3px 8px; border-radius: 6px; margin-bottom: 6px; align-self: flex-start; }
.esgotado { background: #eee; color: #777; }

.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 12px 16px 4px; margin: 0 -16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.dest { flex: none; width: 190px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.dest .thumb { width: 100%; height: 118px; border-radius: 0; font-size: 62px; }
.dest .db { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.dest h3 { margin: 0 0 6px; font-size: 14px; }
.vazio { text-align: center; color: var(--muted); padding: 40px 0; }

footer { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer h4 { color: var(--ink); margin: 0 0 8px; font-size: 14px; }
.horas { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0 0 16px; }
.horas .hoje { color: var(--ink); font-weight: 700; }

/* ---------- Barra da sacola ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); z-index: 30; pointer-events: none; }
.cartbar button {
  pointer-events: auto; max-width: 560px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 12px; background: var(--pri); color: var(--pri-ink);
  padding: 15px 18px; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-weight: 700; animation: up .3s;
}
.cartbar .n { background: rgba(255,255,255,.22); border-radius: 8px; padding: 2px 9px; font-size: 13px; }
.cartbar .t { margin-left: auto; }

/* ---------- Painéis (bottom sheet) ---------- */
.sheet-ov { position: fixed; inset: 0; background: rgba(20,15,10,.5); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet {
  background: var(--card); width: 100%; max-width: 560px; max-height: 94vh; max-height: 94dvh;
  border-radius: 24px 24px 0 0; display: flex; flex-direction: column; position: relative; overflow: hidden;
  animation: up .28s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 700px) { .sheet-ov { align-items: center; } .sheet { border-radius: 24px; max-height: 90vh; } }
.sheet-scroll { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { margin: 0; font-size: 17px; flex: 1; }
.x { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); font-size: 16px; flex: none; }
.x.float { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.sheet-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; background: var(--card); }

/* Produto */
.pd-img .thumb { width: 100%; height: 190px; border-radius: 0; font-size: 96px; }
.pd-body { padding: 16px 16px 20px; }
.pd-body h3 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.pd-body > p { margin: 6px 0 0; }
.pd-price { margin-top: 8px; font-weight: 700; }
.grp { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.grp-h { display: flex; justify-content: space-between; align-items: center; background: var(--soft); padding: 10px 12px; border-radius: 12px; gap: 8px; }
.grp-h b { display: block; font-size: 14px; }
.grp-h small { color: var(--muted); font-size: 12px; }
.grp.bad .grp-h { box-shadow: 0 0 0 2px var(--err); animation: shake .35s; }
.badge { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: #e9e4dc; color: var(--muted); flex: none; }
.badge.req { background: var(--ink); color: #fff; }
.badge.ok { background: var(--ok); color: #fff; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt input { accent-color: var(--pri); width: 20px; height: 20px; flex: none; margin: 0; }
.opt-n { flex: 1; font-size: 14px; }
.opt-n small { display: block; color: var(--muted); font-size: 12px; }
.opt-p { font-size: 13px; color: var(--muted); white-space: nowrap; }
.mini-qty { display: flex; align-items: center; gap: 8px; }
.mini-qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; color: var(--pri); font-size: 16px; line-height: 1; }
.mini-qty button:disabled { opacity: .35; }
.mini-qty span { min-width: 14px; text-align: center; font-weight: 700; }
.obs { display: block; margin-top: 20px; }
.obs > span { font-weight: 700; font-size: 14px; }

.qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 14px; padding: 4px; flex: none; }
.qty button { width: 38px; height: 38px; border-radius: 10px; font-size: 20px; color: var(--pri); font-weight: 700; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }

.btn-pri { flex: 1; background: var(--pri); color: var(--pri-ink); padding: 14px 16px; border-radius: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.btn-pri.center { justify-content: center; }
.btn-pri:disabled { opacity: .6; }
.btn-wa { flex: 1; width: 100%; background: var(--wa); color: #fff; padding: 15px 16px; border-radius: 14px; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 10px; text-decoration: none; }
.btn-wa:disabled { opacity: .7; }
.btn-ghost { display: block; width: 100%; border: 1px solid var(--line); padding: 13px; border-radius: 14px; font-weight: 700; text-align: center; text-decoration: none; color: var(--ink); background: var(--card); }

/* Sacola */
.cart-list { list-style: none; margin: 0; padding: 4px 16px; }
.cart-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-list .ci { flex: 1; min-width: 0; }
.cart-list .ci b { font-size: 14px; }
.cart-list .ci ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--muted); }
.cart-list .ci em { font-size: 12px; color: var(--muted); }
.cart-list .cr { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cart-list .cr > span { font-weight: 700; font-size: 14px; white-space: nowrap; }
.link-add { display: block; margin: 12px auto 18px; color: var(--pri); font-weight: 700; font-size: 14px; }
.foot-total { display: flex; flex-direction: column; line-height: 1.2; }
.foot-total small { color: var(--muted); font-size: 12px; }
.foot-total b { font-size: 18px; }

/* Checkout */
.ck { padding: 4px 16px 16px; }
.block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h4 { margin: 0 0 10px; font-size: 15px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; font-weight: 700; font-size: 14px; text-align: left; }
.seg button small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.seg button.on { border-color: var(--pri); background: var(--pri-soft); }
.fld { display: block; margin-bottom: 10px; min-width: 0; }
.fld > span { font-size: 12px; font-weight: 600; color: var(--muted); }
textarea, .fld input, .fld select {
  width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px;
  background: #fff; outline: none; resize: vertical; font-size: 16px;
}
textarea:focus, .fld input:focus, .fld select:focus { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-soft); }
.fld.bad input, .fld.bad select { border-color: var(--err); }
.row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.row.cep { grid-template-columns: 1fr 1fr; }
.pay-list { display: grid; gap: 8px; }
.pay { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.pay input { accent-color: var(--pri); width: 20px; height: 20px; margin: 0; flex: none; }
.pay b { display: block; font-size: 14px; }
.pay small { color: var(--muted); font-size: 12px; }
.pay.on { border-color: var(--pri); background: var(--pri-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.chips .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.resumo .ln { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.resumo .ln.ok { color: var(--ok); font-weight: 600; }
.resumo .tot { font-size: 18px; font-weight: 800; padding-top: 8px; margin-top: 6px; border-top: 1px dashed var(--line); }
.hint { font-size: 12px; color: var(--ok); background: #ecfdf3; border-radius: 8px; padding: 6px 10px; margin: 6px 0; }
.fid-resg { display: flex; gap: 12px; align-items: flex-start; border: 1.5px dashed #d8b75a; background: #fffaeb; border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.fid-resg input { accent-color: var(--pri); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.fid-resg small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.fid-resg.on { border-style: solid; border-color: var(--ok); background: #ecfdf3; }
.fid-mini { font-size: 13px; background: #fffaeb; border-radius: 12px; padding: 10px 12px; margin-top: 8px; }
.fid-mini:first-child { margin-top: 0; }

/* Sucesso */
.ok-screen { padding: 28px 20px 20px; text-align: center; }
.ok-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 38px; display: grid; place-items: center; margin: 0 auto 12px; animation: pop .4s; }
.ok-screen h3 { margin: 0; font-size: 22px; }
.ok-screen > p { margin: 8px 0 16px; }
.pix-card { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--soft); display: grid; gap: 12px; justify-items: center; }
.pix-card h4 { margin: 0; font-size: 16px; }
#qr { background: #fff; padding: 12px; border-radius: 12px; line-height: 0; }
#qr img, #qr canvas { width: 196px; height: 196px; }
.pix-val { font-size: 24px; font-weight: 800; }
.pix-card small { color: var(--muted); font-size: 12px; }
.pix-card textarea { font-family: ui-monospace, monospace; font-size: 11px; height: 70px; resize: none; word-break: break-all; }
.ganhou { margin-top: 18px; background: linear-gradient(135deg, #1f1b16, #3b3026); color: #fff; border-radius: 14px; padding: 14px; font-size: 14px; }

/* Toast */
#toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; max-width: calc(100% - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rot .8s linear infinite; }

@keyframes up { from { transform: translateY(30px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.pd-price small{display:inline;margin-right:4px}

/* ---------- Convite para instalar o app ---------- */
.instalar { position: fixed; left: 12px; right: 12px; top: calc(10px + env(safe-area-inset-top)); z-index: 45; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 10px 10px 12px; box-shadow: 0 14px 34px rgba(0,0,0,.18); animation: up .35s; }
.ins-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--pri-soft); display: grid; place-items: center; font-size: 24px; overflow: hidden; flex: none; }
.ins-ic img { width: 100%; height: 100%; object-fit: cover; }
.ins-t { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.ins-t b { font-size: 14px; }
.ins-t small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ios-share { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 4px; font-size: 11px; vertical-align: -3px; }
.ins-btn { background: var(--pri); color: var(--pri-ink); font-weight: 700; padding: 9px 14px; border-radius: 10px; flex: none; }
.ins-x { width: 30px; height: 30px; border-radius: 50%; color: var(--muted); flex: none; }

/* ---------- Tipografia: Fraunces (títulos) + Inter (texto) ---------- */
.hero h1, .sec h2, .pd-body h3, .sheet-head h3, .ok-screen h3, .fid-top h3, .sobre h2, footer h4 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.01em; }
.hero h1 { font-weight: 800; }
.sec h2 { font-size: 22px; font-weight: 700; }
.pd-body h3 { font-size: 23px; font-weight: 700; }

/* ---------- Card com chamada ---------- */
.card-cta { align-self: flex-start; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--pri); background: var(--pri-soft); padding: 5px 12px; border-radius: 999px; }

/* ---------- Lista compacta (bebidas, sobremesas) ---------- */
.lista-comp { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-top: 12px; overflow: hidden; }
.lin { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.lin:last-child { border-bottom: 0; }
.lin.off { opacity: .55; }
.lin-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--pri-soft); display: grid; place-items: center; font-size: 22px; flex: none; overflow: hidden; }
.lin-ic img { width: 100%; height: 100%; object-fit: cover; }
.lin-b { flex: 1; min-width: 0; cursor: pointer; display: flex; flex-direction: column; }
.lin-b b { font-size: 14px; }
.lin-b small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lin-b span { font-weight: 700; font-size: 14px; margin-top: 2px; }
.lin-b span small { display: inline; font-weight: 500; margin-right: 4px; }
.mini-add { border: 1.5px solid var(--pri); color: var(--pri); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; flex: none; }
.mini-qty.on { border: 1.5px solid var(--pri); border-radius: 999px; padding: 2px; flex: none; }
.mini-qty.on button { border: 0; }

/* ---------- Pizza: inteira / meio a meio e dica de tamanho ---------- */
.seg-meio { margin-top: 10px; }
.seg-meio button { text-align: center; }
.grp.meio.bad .grp-h { box-shadow: 0 0 0 2px var(--err); animation: shake .35s; }
.dica { margin-top: 10px; font-size: 13px; background: #fffaeb; border: 1px solid #f3dea0; color: #6b4d00; border-radius: 12px; padding: 9px 12px; }

/* ---------- Leve junto / Complete seu pedido ---------- */
.leve { margin-top: 18px; }
.leve > b { font-size: 14px; }
.leve-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 2px; scrollbar-width: none; }
.leve-chips::-webkit-scrollbar { display: none; }
.leve-chip { flex: none; border: 1.5px dashed var(--pri); color: var(--pri); background: var(--card); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.leve-chip span { color: var(--muted); font-weight: 600; margin-left: 4px; }
.leve-chip.on { border-style: solid; background: var(--pri-soft); }
.completar { padding: 4px 16px 6px; }
.completar h4 { margin: 14px 0 0; font-size: 15px; }
.completar .leve { margin-top: 10px; }

/* ---------- Barra de entrega grátis ---------- */
.frete { margin: 12px 16px 4px; background: var(--soft); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.frete-b { height: 8px; background: #e7e0d6; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.frete-b i { display: block; height: 100%; background: var(--pri); border-radius: 99px; transition: width .4s; }
.frete.ok { background: #ecfdf3; color: #14532d; }
.frete.ok .frete-b i { background: var(--ok); }

/* ---------- Cupom ---------- */
.cupom-row { display: flex; gap: 8px; }
.cupom-row input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 16px; text-transform: uppercase; outline: none; }
.cupom-row input:focus { border-color: var(--pri); }
.btn-cupom { background: var(--ink); color: #fff; font-weight: 700; padding: 0 16px; border-radius: 12px; }
.cupom-msg { display: block; font-size: 12px; margin-top: 6px; }
.cupom-msg.erro { color: var(--err); }
.cupom-ok { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #ecfdf3; border: 1px solid #b7ebc9; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.lnk-rm { color: var(--err); font-weight: 700; font-size: 13px; }

/* ---------- Repetir último pedido, Sobre, Como chegar ---------- */
.repetir { width: 100%; margin-top: 12px; text-align: left; background: var(--card); border: 1.5px solid var(--pri); color: var(--pri); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.repetir small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sobre { margin-top: 36px; }
.sobre h2 { font-size: 22px; margin: 0 0 8px; }
.sobre p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; }
.como-chegar { display: inline-block; width: auto; padding: 10px 16px; margin: 4px 0 14px; }

/* ---------- "Seu pedido": sacola + finalização numa tela só ---------- */
.ped { padding: 4px 16px 12px; }
.ped .frete { margin: 12px 0 6px; border: 1px solid var(--line); background: #fffaf2; }
.ped-lista { list-style: none; margin: 0; padding: 0; }
.pi { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pi-ic { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--pri-soft); display: grid; place-items: center; font-size: 26px; flex: none; }
.pi-ic img { width: 100%; height: 100%; object-fit: cover; }
.pi-b { flex: 1; min-width: 0; }
.pi-b b { display: block; font-size: 14px; line-height: 1.3; }
.pi-b small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pi-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.pi-r > span { font-weight: 800; font-size: 14px; font-family: 'Fraunces', Georgia, serif; }
.pi-qty { display: flex; align-items: center; background: var(--pri); color: var(--pri-ink); border-radius: 10px; overflow: hidden; }
.pi-qty button { width: 30px; height: 28px; color: inherit; font-weight: 800; font-size: 15px; }
.pi-qty span { min-width: 18px; text-align: center; font-weight: 800; font-size: 13px; }
.ped .completar { margin: 14px 0 4px; padding: 12px 14px 10px; border: 1.5px dashed #e7a55b; background: #fff8ee; border-radius: 14px; }
.ped .completar h4 { margin: 0; font-size: 13px; color: var(--pri); font-weight: 700; }
.ped .completar .leve { margin-top: 6px; }
.ped .completar .leve > b { font-size: 12px; color: var(--muted); font-weight: 600; }
.ped .leve-chip { border: 1px solid var(--line); border-style: solid; color: var(--ink); background: #fff; font-size: 12.5px; }
.ped .leve-chip span { color: var(--pri); font-weight: 700; }
.ped .link-add { margin: 10px auto 6px; }
.ped .aviso { margin: 12px 0 0; }
.ped-sec { padding: 14px 0; border-top: 1px solid var(--line); }
.ped-sec h5, .ped .fld > span { margin: 0 0 8px; display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ped-sec h5 small { text-transform: none; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ped .fld { margin-bottom: 12px; }
.ped .fld:last-child { margin-bottom: 0; }
.ped .seg button { padding: 10px 12px; }
.pag-bts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.pag-bt { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 8px; font-weight: 700; font-size: 13.5px; }
.pag-bt.on { border-color: var(--pri); background: var(--pri-soft); color: var(--pri); }
.pag-nota { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.ped-res { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.ped-res .tot { font-size: 20px; }
.ped-res .tot span:last-child { font-family: 'Fraunces', Georgia, serif; }
.ped-foot { flex-direction: column; gap: 8px; }
.ped-foot .btn-wa { width: 100%; }
.ped-nota { font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------- Pílulas do cabeçalho: status, como chegar, horário ---------- */
.pilulas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pil { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: inherit; text-decoration: none; line-height: 1.2; }
a.pil:hover { background: rgba(255,255,255,.24); }
.pil i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pil-ab i { background: #4ade80; }
.pil-fe i { background: #fbbf24; }

/* ---------- Rodapé em faixa com a cor da marca ---------- */
footer.rodape { margin-top: 40px; padding: 34px 0 120px; border-top: 0; text-align: center; font-size: 13px;
  background: color-mix(in srgb, var(--pri) 78%, #000); color: rgba(255,255,255,.82); }
.rodape h3 { font-family: 'Fraunces', Georgia, serif; font-size: 22px; margin: 0 0 10px; color: #fff; }
.rodape p { margin: 4px 0; }
.rodape a { color: #fff; }
.rodape .horas { display: inline-grid; grid-template-columns: auto auto; gap: 2px 16px; margin: 16px auto 10px; text-align: left; font-size: 12.5px; }
.rodape .horas .hoje { color: #fff; font-weight: 700; }
.rodape .rod-wa { font-weight: 600; color: #fff; }
.rodape small { display: block; margin-top: 10px; opacity: .7; font-size: 11.5px; }

/* o rodape ja reserva espaco para a barra da sacola */
body:has(footer.rodape) { padding-bottom: 0; }

/* ---------- Foto de capa no cabeçalho ---------- */
.hero.com-capa { background-color: #1c1813; background-size: cover; background-position: center; color: #fff; padding-top: 44px; }
.hero.com-capa::after { display: none; }
.hero.com-capa h1, .hero.com-capa p { text-shadow: 0 2px 12px rgba(0,0,0,.45); }

/* ---------- Modo agendamento (barbearia, salão...) ---------- */
.dur { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ag-dias { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.ag-dias::-webkit-scrollbar { display: none; }
.ag-dia { flex: none; min-width: 64px; padding: 9px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: center; line-height: 1.2; }
.ag-dia small { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.ag-dia b { font-size: 15px; }
.ag-dia.on { border-color: var(--pri); background: var(--pri); color: var(--pri-ink); }
.ag-dia.on small { color: inherit; opacity: .85; }
.ag-horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.ag-h { padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.ag-h.on { border-color: var(--pri); background: var(--pri); color: var(--pri-ink); }
.ag-h:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.ag-nudge { margin: -4px 0 8px; font-size: 13px; color: var(--muted); }

/* Frete grátis: sugestões que completam o valor */
.frete-sug { margin-top: 10px; }
