/* ==========================================================================
   Pizzaria Segundo Templo — visual do cliente
   Lousa preta + amarelo (títulos/categorias) + vermelho (preços/botões) + verde (Consultar/WhatsApp)
   ========================================================================== */
:root {
  --bg: #141414; --bg-2: #1e1e1e; --bg-3: #2a2a2a;
  --amarelo: #f9c93a; --amarelo-h: #ffd54f; --amarelo-esc: #c99a12;
  --vermelho: #e53935; --vermelho-esc: #b71c1c; --verde: #2ecc71; --verde-esc: #1e8f4e;
  --creme: #fff8e1; --creme-2: #f6ecd0; --linha: #eadfc2;
  --texto: #1e1e1e; --muted: #6f6656; --branco: #fff;
  --radius: 18px; --shadow: 0 10px 28px rgba(0, 0, 0, .45);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: 70px; background: var(--bg); }
body { margin: 0; font-family: 'Poppins', system-ui, sans-serif; color: var(--branco); min-height: 100vh; padding-bottom: calc(90px + var(--safe-b)); }
/* textura de lousa numa camada fixa (composta pela GPU, não repinta ao rolar) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; will-change: transform;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(900px 500px at 15% 0%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(700px 420px at 90% 30%, rgba(255, 255, 255, .045), transparent 65%),
    radial-gradient(800px 600px at 40% 100%, rgba(255, 255, 255, .04), transparent 60%),
    linear-gradient(180deg, #1b1b1b 0%, #141414 60%, #101010 100%);
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

/* HERO */
.hero { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 26px 16px 8px; overflow: hidden; }
html, body { overflow-x: clip; }
.hero-inner { display: flex; gap: 20px; align-items: center; }
.hero-logo { width: 116px; height: auto; flex: none; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55)); }
.hero-text { flex: 1; min-width: 0; }
.hero-kicker { font-family: 'Lilita One', Impact, sans-serif; color: var(--amarelo); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.brand { margin: 0 0 4px; font-family: 'Satisfy', cursive; font-weight: 400; font-size: clamp(38px, 7vw, 62px); line-height: 1; color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 22px rgba(249, 201, 58, .18); }
.brand small { display: block; font-family: 'Lilita One', sans-serif; font-size: .36em; letter-spacing: .08em; color: var(--amarelo); text-transform: uppercase; margin-bottom: 2px; }
.hero-tag { font-family: 'Satisfy', cursive; font-size: 20px; color: var(--amarelo-h); margin-bottom: 6px; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.hero-meta.small { font-size: 12.5px; opacity: .8; margin-top: 4px; }
.hero-pizza { flex: none; width: 210px; height: 210px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(249, 201, 58, .9), 0 18px 40px rgba(0, 0, 0, .6); }
.hero-pizza img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; background: #555; }
.badge.open { background: var(--verde); color: #08331b; }
.badge.closed { background: var(--vermelho); }
.contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.contacts a { text-decoration: none; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(249, 201, 58, .35); }
.contacts a:hover { background: rgba(249, 201, 58, .18); }
.notice { position: relative; z-index: 1; max-width: 1100px; margin: 10px auto; padding: 10px 16px; background: var(--amarelo); color: #3a2a00; border-radius: 12px; font-weight: 600; font-size: 14px; width: calc(100% - 28px); }
.menu-title { text-align: center; margin: 22px 0 10px; font-family: 'Lilita One', Impact, sans-serif; font-weight: 400; color: var(--amarelo);
  font-size: clamp(40px, 9vw, 64px); letter-spacing: .06em; text-transform: uppercase; line-height: 1; text-shadow: 0 4px 0 rgba(0, 0, 0, .6); }

/* CATEGORIAS */
.cats { position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; scrollbar-width: none;
  background: rgba(20, 20, 20, .97); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); border-bottom: 1px solid rgba(249, 201, 58, .2); }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--amarelo);
  border: 1.5px solid rgba(249, 201, 58, .55); transition: .2s; }
.cats a.active { background: var(--amarelo); color: #141414; border-color: var(--amarelo); }
@media (min-width: 1100px) { .cats { justify-content: center; flex-wrap: wrap; } }

.search-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 14px auto 0; padding: 0 14px; }
#search { width: 100%; padding: 13px 16px; border-radius: 14px; border: 2px solid rgba(249, 201, 58, .4); font: inherit; font-size: 15px; background: var(--bg-2); color: #fff; outline: none; }
#search:focus { border-color: var(--amarelo); }
#search::placeholder { color: #a39c8c; }

/* MENU */
.menu { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 4px 14px 20px; }
.loading { text-align: center; padding: 60px 0; opacity: .8; }
.section { margin-top: 30px; }
.section-title { display: flex; justify-content: center; margin: 0 0 14px; }
.section-title .ico { display: none; }
.section-title h2 { margin: 0; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .35em; text-transform: uppercase; text-align: center;
  background: var(--amarelo); color: #141414; padding: 8px 18px 8px calc(18px + .35em); border-radius: 999px; box-shadow: 0 4px 0 rgba(0, 0, 0, .5); }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.card { display: flex; gap: 12px; align-items: center; background: var(--creme); color: var(--texto); border-radius: var(--radius); padding: 10px 12px 10px 10px; box-shadow: var(--shadow);
  text-align: left; border: 0; width: 100%; position: relative; overflow: hidden; transition: transform .15s; }
.card:active { transform: scale(.98); }
.card-img { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #2a2a2a; display: grid; place-items: center; font-size: 44px;
  box-shadow: 0 0 0 3px var(--amarelo), 0 6px 14px rgba(0, 0, 0, .35); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 2px 0; align-self: stretch; }
.card-name { font-weight: 800; font-size: 15.5px; line-height: 1.2; padding-right: 46px; }
.card-desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 8px; }
.price { font-weight: 800; color: var(--vermelho); font-size: 15.5px; }
.price small { font-weight: 500; color: var(--muted); font-size: 11px; display: block; line-height: 1; }
.ptags { display: flex; gap: 6px; flex-wrap: wrap; }
.ptag { display: inline-flex; align-items: baseline; gap: 5px; background: var(--vermelho); color: #fff; font-weight: 800; font-size: 13.5px; padding: 4px 10px; border-radius: 8px;
  box-shadow: 0 2px 0 var(--vermelho-esc); white-space: nowrap; }
.ptag small { font-weight: 600; font-size: 11px; opacity: .9; }
.add-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--vermelho); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.add-btn.wa { background: var(--verde); font-size: 16px; }
.consult { display: inline-block; background: var(--verde); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 8px; letter-spacing: .02em; vertical-align: middle; }
.tag { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--amarelo); color: #3a2a00; }
.card.soldout { opacity: .55; }
.card.soldout .tag { background: #333; color: #fff; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* BARRA DA SACOLA */
.cartbar { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--safe-b)); width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 0; border-radius: 16px; color: #fff; font-weight: 700; font-size: 15px;
  background: var(--vermelho); box-shadow: 0 12px 30px rgba(229, 57, 53, .45); animation: pop .3s; }
.cartbar strong { margin-left: auto; }
.cartbar-count { background: #fff; color: var(--vermelho); min-width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; }
@keyframes pop { from { transform: translate(-50%, 30px); opacity: 0; } }

/* SHEET (modal inferior) */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .65); backdrop-filter: blur(2px); }
.sheet { position: fixed; z-index: 50; left: 50%; bottom: 0; transform: translateX(-50%); width: min(620px, 100%); max-height: 92vh; overflow: hidden;
  background: #fff; color: var(--texto); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: up .25s ease-out; }
@media (min-width: 700px) { .sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 22px; max-height: 88vh; animation: fade .2s; } }
@keyframes up { from { transform: translate(-50%, 100%); } }
@keyframes fade { from { opacity: 0; transform: translate(-50%, -46%); } }
.sheet-head { position: relative; flex: none; }
.sheet-hero { height: 200px; background: radial-gradient(circle at 50% 40%, #2c2c2c, #141414); display: grid; place-items: center; font-size: 80px; overflow: hidden; }
.sheet-hero img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--amarelo), 0 12px 30px rgba(0, 0, 0, .6); }
.sheet-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); font-size: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); z-index: 2; }
.sheet-title { padding: 16px 18px 6px; }
.sheet-title h3 { margin: 0; font-size: 21px; font-weight: 800; }
.sheet-title p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 0 12px; -webkit-overflow-scrolling: touch; }
.sheet-foot { flex: none; display: flex; gap: 10px; padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid #eee; background: #fff; }
.plain-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #f0ead8; }
.plain-head h3 { margin: 0; font-size: 18px; }
.plain-head .sheet-close { position: static; box-shadow: none; background: #f5f0e2; }

.grp { margin-top: 10px; }
.grp-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; background: var(--creme-2); }
.grp-head b { font-size: 14.5px; }
.grp-head small { display: block; color: var(--muted); font-size: 12px; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #333; color: #fff; white-space: nowrap; }
.pill.ok { background: var(--verde-esc); }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #f3eee0; cursor: pointer; }
.opt input { width: 22px; height: 22px; accent-color: var(--vermelho); flex: none; }
.opt span { flex: 1; font-size: 14.5px; }
.opt em { font-style: normal; font-size: 13px; color: var(--vermelho); font-weight: 700; }
.opt.off { opacity: .45; cursor: not-allowed; }
.opt-sub { padding: 9px 18px 5px; font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--amarelo-esc); border-bottom: 1px solid #f3eee0; background: #fffdf5; }

/* tamanho: botões grandes (segmented control) */
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 12px 18px 4px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; }
.size span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px; border: 2px solid var(--linha); border-radius: 14px; cursor: pointer; background: #fff; transition: .15s; }
.size b { font-size: 17px; }
.size em { font-style: normal; font-weight: 800; color: var(--vermelho); font-size: 15px; }
.size input:checked + span { border-color: var(--vermelho); background: #fff1f0; box-shadow: 0 0 0 3px rgba(229, 57, 53, .15); }
.size input:focus-visible + span { outline: 3px solid var(--amarelo); }
.size.off span { opacity: .45; cursor: not-allowed; }

/* meio a meio */
.half { margin: 12px 18px 0; border: 2px dashed var(--amarelo-esc); border-radius: 16px; background: #fffbea; overflow: hidden; }
.half.disabled { opacity: .75; }
.half-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.half-toggle input { position: absolute; opacity: 0; }
.half-toggle span { flex: 1; }
.half-toggle b { display: block; font-size: 15px; }
.half-toggle small { color: var(--muted); font-size: 12px; }
.half-toggle .sw { flex: none; width: 46px; height: 26px; border-radius: 999px; background: #d9d1bd; position: relative; transition: .2s; }
.half-toggle .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: .2s; }
.half-toggle input:checked ~ .sw { background: var(--vermelho); }
.half-toggle input:checked ~ .sw::after { left: 23px; }
.half-toggle input:disabled ~ .sw { opacity: .5; }
.half-off { padding: 0 14px 12px; font-size: 12.5px; color: #8a5a00; }
.half-pick { padding: 0 14px 14px; display: grid; gap: 8px; }
.half-chosen { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--linha); font-size: 14px; }
.half-chosen button { border: 0; background: var(--bg); color: var(--amarelo); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.half-pick input[type=search] { width: 100%; font: inherit; font-size: 14.5px; padding: 10px 12px; border: 1.5px solid var(--linha); border-radius: 12px; outline: none; background: #fff; }
.half-list { max-height: 320px; overflow-y: auto; border-radius: 12px; background: #fff; border: 1px solid var(--linha); }
.half-cat { position: sticky; top: 0; padding: 7px 12px; font-size: 11px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; background: var(--amarelo); color: #141414; }
.half-item { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f3eee0; background: #fff; padding: 10px 12px; color: var(--texto); }
.half-item span { flex: 1; min-width: 0; }
.half-item b { display: block; font-size: 14px; }
.half-item small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.half-item em { font-style: normal; font-weight: 800; color: var(--vermelho); font-size: 13px; white-space: nowrap; }
.half-item.on { background: #fff1f0; box-shadow: inset 4px 0 0 var(--vermelho); }
.half-empty { padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.consult-info { margin: 12px 18px 0; padding: 12px 14px; border-radius: 14px; background: #eafaf1; color: #145a32; font-size: 14px; line-height: 1.45; }

.note { margin: 14px 18px 0; }
.note label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
textarea, .field input, .field select { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: 12px; color: var(--texto); background: #fff; outline: none; }
textarea:focus, .field input:focus, .field select:focus { border-color: var(--vermelho); }
textarea { min-height: 70px; resize: vertical; }

.qty { display: flex; align-items: center; border: 1.5px solid var(--linha); border-radius: 12px; overflow: hidden; flex: none; }
.qty button { width: 40px; height: 46px; border: 0; background: #fff; font-size: 20px; color: var(--vermelho); font-weight: 700; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.btn { border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-primary { flex: 1; background: var(--vermelho); color: #fff; box-shadow: 0 3px 0 var(--vermelho-esc); }
.btn-primary:disabled { background: #d8cdb8; box-shadow: none; color: #fff; }
.btn-ghost { background: #f5f0e2; color: var(--texto); }
.btn-green, .btn-wa { background: #25d366; color: #fff; }
.btn-danger { background: #ffe5e5; color: #b00020; }
.btn-block { width: 100%; }

/* sacola */
.line { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #f3eee0; }
.line-info { flex: 1; min-width: 0; }
.line-info b { font-size: 14.5px; }
.line-info small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line .qty button { height: 32px; width: 32px; font-size: 17px; }
.totals { padding: 14px 18px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 800; font-size: 18px; color: var(--vermelho); border-top: 1px dashed var(--linha); margin-top: 6px; padding-top: 8px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* checkout */
.form { padding: 6px 18px 10px; }
.form h4 { margin: 18px 0 8px; font-size: 15px; color: var(--texto); }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #5a5245; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border: 1.5px solid var(--linha); border-radius: 12px; font-weight: 600; font-size: 13.5px; text-align: center; cursor: pointer; }
.seg span i { font-style: normal; font-size: 22px; }
.seg input:checked + span { border-color: var(--vermelho); background: #fff1f0; color: var(--vermelho-esc); box-shadow: 0 0 0 3px rgba(229, 57, 53, .12); }
.err { color: #b00020; font-size: 13.5px; font-weight: 600; padding: 0 18px; }

/* acompanhamento */
.track { padding: 18px; }
.track-status { text-align: center; padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #2a2a2a, #141414); box-shadow: inset 0 0 0 2px rgba(249, 201, 58, .5); }
.track-status .big { font-size: 46px; }
.track-status h3 { margin: 6px 0 2px; font-size: 21px; color: var(--amarelo); }
.track-status p { margin: 0; opacity: .85; font-size: 13.5px; }
.track-status.cancelado { background: linear-gradient(135deg, #e53935, #8e0000); box-shadow: none; }
.track-status.cancelado h3, .track-status.concluido h3, .track-status.await-pix h3 { color: #fff; }
.track-status.concluido { background: linear-gradient(135deg, #2ecc71, #1e8f4e); box-shadow: none; }
.steps { display: flex; justify-content: space-between; margin: 18px 4px 6px; position: relative; }
.steps::before { content: ''; position: absolute; left: 14px; right: 14px; top: 13px; height: 4px; background: #eee6d2; border-radius: 4px; }
.steps .bar { position: absolute; left: 14px; top: 13px; height: 4px; background: var(--verde); border-radius: 4px; transition: width .5s; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 25%; font-size: 11px; text-align: center; color: var(--muted); }
.step i { width: 30px; height: 30px; border-radius: 50%; background: #eee6d2; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.step.done { color: var(--texto); font-weight: 600; }
.step.done i { background: var(--verde); color: #fff; }
.timeline { margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; }
.timeline li { padding: 6px 0 6px 18px; border-left: 2px solid #eee6d2; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--vermelho); }
.timeline small { color: var(--muted); }
.box { margin-top: 14px; border: 1px solid #f0e8d2; border-radius: 14px; overflow: hidden; }
.box h4 { margin: 0; padding: 10px 14px; background: var(--creme); font-size: 14px; }
.box .line { padding: 10px 14px; }
.actions { display: grid; gap: 8px; margin-top: 16px; }
.myorders a { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f3eee0; text-decoration: none; }

/* toast + rodapé */
.toast { position: fixed; z-index: 80; left: 50%; top: 18px; transform: translateX(-50%); background: #141414; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow); border: 1px solid rgba(249, 201, 58, .5); max-width: calc(100% - 30px); }
.foot { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; justify-content: center; padding: 30px 16px 10px; opacity: .9; font-size: 13.5px; }
.foot div { display: flex; flex-direction: column; gap: 4px; }
.foot a { text-decoration: none; }

/* celular */
@media (max-width: 640px) {
  .hero { padding-top: 18px; }
  .hero-inner { gap: 12px; }
  .hero-logo { width: 84px; }
  .hero-pizza { position: absolute; z-index: -1; right: -70px; top: -20px; width: 190px; height: 190px; opacity: .35; box-shadow: none; }
  .brand { font-size: 40px; }
  .card-img { width: 84px; height: 84px; }
}
@media (max-width: 640px) { .ptags { gap: 4px; } .ptag { font-size: 12.5px; padding: 3px 7px; gap: 3px; } .ptag small { font-size: 10.5px; } .card-foot .add-btn { width: 30px; height: 30px; font-size: 20px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form input.ro, .field input.ro { background: var(--creme); color: var(--texto); font-weight: 600; cursor: default; }

/* faixa "pedido em andamento" */
.active-order { position: relative; z-index: 21; display: flex; align-items: center; gap: 12px; max-width: 1100px; margin: 10px auto 0; padding: 12px 16px; border-radius: 16px;
  text-decoration: none; color: #fff; background: var(--vermelho); box-shadow: 0 8px 22px rgba(229, 57, 53, .4); }
@media (max-width: 1130px) { .active-order { margin: 10px 14px 0; } }
.active-order .ao-ic { font-size: 26px; }
.active-order b { display: block; font-size: 15px; }
.active-order small { opacity: .9; font-size: 12.5px; }
.active-order .ao-go { margin-left: auto; font-weight: 700; white-space: nowrap; background: rgba(255, 255, 255, .2); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.active-order.pay { background: linear-gradient(135deg, #ffb300, #f57c00); box-shadow: 0 8px 22px rgba(245, 124, 0, .4); }

/* bairro com sugestões */
.zone-field { position: relative; }
.zone-sug { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin-top: 4px; background: #fff; border: 1.5px solid var(--linha); border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18); max-height: 260px; overflow: auto; }
.zone-sug button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid #f3eee0; background: none; text-align: left; color: var(--texto); }
.zone-sug button:last-child { border-bottom: 0; }
.zone-sug button:hover { background: var(--creme); }
.zone-sug small { color: var(--muted); font-size: 12px; }
.zone-sug em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--vermelho); font-size: 13px; }
.zone-note { margin-top: 6px; font-size: 12.5px; color: #8a5a00; background: #fff8e1; border-radius: 10px; padding: 8px 10px; }

/* envio do pedido pelo WhatsApp (cliente → loja) */
.wa-send { background: #e9fbef; border: 1.5px solid #9be3b4; border-radius: 16px; padding: 14px; margin-bottom: 12px; display: grid; gap: 8px; color: #0b4d24; }
.wa-send b { font-size: 15px; }
.wa-send small { color: #2e6b45; font-size: 12.5px; }

/* Pix antecipado */
.pix-note { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #fff8e1; border: 1.5px solid #ffd54f; color: #6d4c00; font-size: 13.5px; line-height: 1.45; }
.pix-note > b:first-child { display: block; font-size: 14.5px; margin-bottom: 2px; }
.pix-pay { border: 2.5px solid #ffb300; background: #fffaf0; border-radius: 18px; padding: 14px; margin-bottom: 14px; box-shadow: 0 8px 24px rgba(255, 160, 0, .22); }
.pp-h { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.pp-h > span { font-size: 34px; }
.pp-h > div > b { display: block; font-size: 18px; color: #6d4c00; }
.pp-h small b { color: #6d4c00; }
.pp-h small { color: #7a5a00; font-size: 13px; line-height: 1.4; }
.pp-steps { margin: 0; padding: 0 0 0 4px; list-style: none; counter-reset: pp; display: grid; gap: 10px; }
.pp-steps li { counter-increment: pp; position: relative; padding: 10px 12px 10px 46px; background: #fff; border-radius: 14px; border: 1px solid #f3e2b3; display: grid; gap: 6px; color: #3d2a00; }
.pp-steps li::before { content: counter(pp); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: #ffb300; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.pp-steps small { color: #7a6a4a; font-size: 12.5px; }
.pp-steps code { font-size: 17px; font-weight: 800; word-break: break-all; color: #064; background: #e8fff4; padding: 6px 10px; border-radius: 10px; }
.pix-ok { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #e2f6e4; color: #1b5e20; font-weight: 700; font-size: 14px; }
.track-status.await-pix { background: linear-gradient(135deg, #ffa000, #ef6c00); color: #fff; box-shadow: none; }
.track-status.await-pix p { color: #fff; opacity: .95; }

/* ---------- 2026-11-23: turno (almoço de dia / pizzaria à noite) + "O que vem no prato" ---------- */
.shift-bar { position: relative; z-index: 1; max-width: 1100px; width: calc(100% - 28px); margin: 12px auto 0; padding: 12px 16px; border-radius: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border: 2px solid var(--amarelo); background: #1d1d1d; color: #fff; }
.shift-bar.lunch { background: linear-gradient(135deg, #2a2200, #1d1d1d 70%); }
.shift-bar.night { border-color: var(--vermelho); background: linear-gradient(135deg, #2a0b0b, #1d1d1d 70%); }
.shift-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.shift-ico { font-size: 30px; line-height: 1; }
.shift-now b { display: block; font-family: 'Lilita One', Impact, sans-serif; font-weight: 400; font-size: 20px; color: var(--amarelo); letter-spacing: .3px; }
.shift-now small { display: block; font-size: 12.5px; opacity: .85; }
.shift-next { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .shift-next { width: 100%; text-align: center; } }
.pill.warn { background: var(--vermelho); }
.ret-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 4px; }
.ret { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 10px; border-radius: 999px; border: 2px solid var(--verde-esc);
  background: #eaf8ef; color: #134d2c; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; transition: .15s; }
.ret input { width: 18px; height: 18px; accent-color: var(--verde-esc); margin: 0; }
.ret.out { border-color: #c9bfa6; background: #f4f0e6; color: #8a8068; text-decoration: line-through; }
.ret.out input { accent-color: #8a8068; }
