/* Cantinho da Itália — cardápio do cliente */
:root {
  --bg: #F3F6F1;
  --surface: #FFFFFF;
  --ink: #17201A;
  --muted: #5B675F;
  --line: #DFE5DC;
  --verde: #0A7A3D;
  --verde-escuro: #075A2D;
  --verde-claro: #E3F2E8;
  --rosso: #C4122F;
  --rosso-claro: #FBE6EA;
  --giallo: #F7C531;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --col: 720px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 128px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--body);
  padding-bottom: 96px;
}
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.tricolore {
  height: 6px;
  background: linear-gradient(90deg, var(--verde) 0 33.33%, #fff 33.33% 66.66%, var(--rosso) 66.66%);
}

/* ---------- topo ---------- */
.masthead {
  max-width: var(--col); margin: 0 auto; padding: 20px 16px 14px;
  display: flex; gap: 14px; align-items: center;
}
.masthead img { border-radius: 50%; flex: none; }
.masthead h1 { font: 800 clamp(1.6rem, 6vw, 2.1rem)/1.05 var(--display); letter-spacing: -0.02em; }
.masthead-meta { margin-top: 6px; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.pill { font-weight: 700; font-size: 0.8rem; padding: 2px 10px; border-radius: 99px; background: var(--line); color: var(--ink); }
.pill.is-open { background: var(--verde-claro); color: var(--verde-escuro); }
.pill.is-closed { background: var(--rosso-claro); color: var(--rosso); }

.notice, .track-banner {
  display: block; max-width: calc(var(--col) - 32px); margin: 0 auto 12px; padding: 12px 14px;
  border-radius: 12px; font-weight: 600; font-size: 0.95rem;
}
.notice { background: var(--rosso-claro); color: #8C0C21; }
.track-banner { background: var(--ink); color: #fff; text-decoration: none; }
@media (max-width: 752px) { .notice, .track-banner { margin-inline: 16px; } }

/* ---------- busca + categorias ---------- */
.toolbar {
  position: sticky; top: 0; z-index: 5; background: var(--bg);
  border-bottom: 1px solid var(--line); padding: 10px 0 0;
}
.search { display: block; max-width: var(--col); margin: 0 auto; padding: 0 16px; }
.search input {
  width: 100%; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
}
.chips {
  max-width: var(--col); margin: 0 auto; padding: 10px 16px; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--surface); font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--ink);
}
.chip[aria-current="true"] { background: var(--verde); border-color: var(--verde); color: #fff; }

/* ---------- cardápio ---------- */
.menu { max-width: var(--col); margin: 0 auto; padding: 8px 16px 24px; }
.loading, .empty { padding: 40px 0; text-align: center; color: var(--muted); }
.cat { padding-top: 24px; }
.cat h2 { font: 800 1.45rem/1.1 var(--display); letter-spacing: -0.015em; }
.sizes-strip { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 4px; padding: 0; list-style: none; }
.sizes-strip li { background: var(--giallo); border-radius: 99px; padding: 3px 12px; font-size: 0.85rem; font-weight: 600; }
.sizes-strip b { font-weight: 800; }
.cat-list { list-style: none; margin: 10px 0 0; padding: 0; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.cat-list li + li { border-top: 1px solid var(--line); }
.item {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center;
  padding: 14px 16px; background: none; border: 0; text-align: left;
}
.item:hover { background: #FAFCF9; }
.item-name { font-weight: 700; font-size: 1.02rem; }
.item-desc { grid-column: 1; color: var(--muted); font-size: 0.9rem; line-height: 1.35; }
.item-price { grid-column: 1; font-weight: 600; font-size: 0.9rem; color: var(--verde-escuro); margin-top: 2px; }
.item-add {
  grid-column: 2; grid-row: 1 / span 3; width: 38px; height: 38px; border-radius: 50%;
  background: var(--verde-claro); color: var(--verde-escuro); display: grid; place-items: center;
  font: 600 1.5rem/1 var(--body);
}
.item:disabled { opacity: 0.55; cursor: not-allowed; }

.foot { max-width: var(--col); margin: 0 auto; padding: 8px 16px 24px; color: var(--muted); font-size: 0.85rem; }
.foot p + p { margin-top: 6px; }

/* ---------- barra do pedido ---------- */
.cart-bar {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(calc(100% - 28px), calc(var(--col) - 32px)); height: 58px; padding: 0 18px;
  display: flex; align-items: center; gap: 12px; z-index: 10;
  background: var(--verde); color: #fff; border: 0; border-radius: 16px; font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 10px 28px rgba(7, 90, 45, 0.35);
}
.cart-bar strong { margin-left: auto; font-weight: 800; }
.cart-count { background: #fff; color: var(--verde-escuro); min-width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; font-size: 0.9rem; padding: 0 6px; }

/* ---------- folha (modal) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(23, 32, 26, 0.5); z-index: 20; }
.sheet {
  position: fixed; z-index: 21; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%, 560px); max-height: 94dvh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 22px 22px 0 0; overflow: hidden;
  animation: rise 0.22s ease-out;
}
@keyframes rise { from { transform: translate(-50%, 24px); opacity: 0; } }
@media (min-width: 640px) { .sheet { bottom: 50%; transform: translate(-50%, 50%); border-radius: 22px; max-height: 88dvh; } @keyframes rise { from { opacity: 0; } } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } html { scroll-behavior: auto; } }
.sheet-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 12px; }
.sheet-head h2 { font: 800 1.4rem/1.15 var(--display); letter-spacing: -0.015em; flex: 1; }
.sheet-head p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.2rem; line-height: 1; }
.sheet-body { padding: 4px 20px 20px; overflow-y: auto; flex: 1; }
.sheet-foot { padding: 12px 20px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.group { margin-top: 20px; }
.group > h3, .group > legend { font-weight: 700; font-size: 0.98rem; margin-bottom: 10px; padding: 0; }
fieldset.group { border: 0; padding: 0; margin-inline: 0; min-width: 0; }

/* tamanhos: o círculo cresce com a pizza */
.size-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; }
.size label {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
  height: 118px; padding: 10px 4px; border: 2px solid var(--line); border-radius: 14px; text-align: center; cursor: pointer;
}
.size .disc { border-radius: 50%; background: var(--giallo); border: 3px solid #E0A712; display: grid; place-items: center; font: 800 0.95rem var(--display); }
.size small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.2; }
.size b { font-size: 0.9rem; }
.size input:checked + label { border-color: var(--verde); background: var(--verde-claro); }
.size input:focus-visible + label { outline: 3px solid var(--verde); outline-offset: 2px; }

/* meio a meio */
.switch { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.switch input { width: 22px; height: 22px; accent-color: var(--verde); flex: none; }
.switch span { font-weight: 700; }
.switch small { display: block; font-weight: 400; color: var(--muted); }
.halves { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; margin-top: 14px; }
.halves svg { width: 92px; height: 92px; }
.halves ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.half-line { display: flex; gap: 8px; align-items: baseline; font-weight: 600; }
.half-line i { flex: none; width: 12px; height: 12px; border-radius: 50%; transform: translateY(1px); }
.half-line.vazio { color: var(--muted); font-weight: 400; }
.flavor-search { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; margin-top: 14px; }
.flavor-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 220px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.flavor-list li + li { border-top: 1px solid var(--line); }
.flavor-list button { width: 100%; text-align: left; padding: 10px 14px; background: none; border: 0; display: flex; justify-content: space-between; gap: 10px; }
.flavor-list button[aria-pressed="true"] { background: var(--rosso-claro); font-weight: 700; }
.flavor-list small { color: var(--muted); white-space: nowrap; }

/* formulários */
.field { display: block; margin-top: 12px; }
.field > span { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #C9D2C6; border-radius: 10px; background: #fff;
}
.field textarea { resize: vertical; min-height: 72px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--bg); padding: 5px; border-radius: 14px; }
.seg label { position: relative; text-align: center; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 10px 6px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.seg input:checked + span { background: var(--surface); box-shadow: 0 1px 4px rgba(23, 32, 26, 0.14); color: var(--verde-escuro); }
.seg input:focus-visible + span { outline: 3px solid var(--verde); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; }
.qty button { width: 42px; height: 46px; background: none; border: 0; font-size: 1.3rem; font-weight: 600; color: var(--verde-escuro); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; }
.btn {
  flex: 1; min-height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--verde); color: #fff;
  font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none;
}
.btn.center { justify-content: center; }
.btn:disabled { background: #B9C4BB; cursor: not-allowed; }
.btn.ghost { background: var(--bg); color: var(--ink); }
.btn.zap { background: #128C4B; }
.error { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--rosso-claro); color: #8C0C21; font-weight: 600; font-size: 0.93rem; }

/* carrinho */
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lines .l-name { font-weight: 700; }
.lines .l-sub { color: var(--muted); font-size: 0.88rem; grid-column: 1; }
.lines .l-price { font-weight: 700; text-align: right; }
.lines .l-ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.lines .qty button { height: 36px; width: 36px; }
.link { background: none; border: 0; padding: 0; color: var(--rosso); font-weight: 600; text-decoration: underline; font-size: 0.9rem; }
.totals { margin: 16px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-weight: 600; }
.totals .grand { font: 800 1.25rem var(--display); color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); }

/* acompanhamento: sequência real de etapas */
.ticket { text-align: center; padding: 6px 0 4px; }
.ticket-num { font: 800 3.2rem/1 var(--display); letter-spacing: -0.03em; }
.ticket p { color: var(--muted); }
.steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 22px 40px; color: var(--muted); }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
}
.steps li::after { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--verde); border-color: var(--verde); color: #fff; content: '✓'; }
.steps li.done::after { background: var(--verde); }
.steps li.now { color: var(--ink); font-weight: 700; }
.steps li.now::before { border-color: var(--verde); color: var(--verde-escuro); background: var(--verde-claro); }
.cancelled { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--rosso-claro); color: #8C0C21; font-weight: 600; }
.stack { display: grid; gap: 10px; width: 100%; }

/* =====================================================================
   Visual 2: cartões arredondados, verde em degradê e movimento
   ===================================================================== */
:root {
  --bg: #E7ECE4;
  --grad: linear-gradient(140deg, #12954D 0%, #0A7A3D 45%, #064A25 100%);
  --dark: linear-gradient(150deg, #0D3B22 0%, #07261A 100%);
  --stripes: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 13px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
html { scroll-padding-top: 132px; }

/* topo como cartão escuro listrado */
.masthead {
  position: relative; overflow: hidden; max-width: calc(var(--col) - 28px); margin: 14px auto 12px; padding: 22px 20px;
  background: var(--dark); color: #fff; border-radius: 26px; animation: rise-in 0.6s var(--ease) both;
}
.masthead::before { content: ''; position: absolute; inset: 0; background: var(--stripes); }
.masthead::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #12954D 0 33.33%, #fff 33.33% 66.66%, var(--rosso) 66.66%); }
.masthead > * { position: relative; }
.masthead img { animation: pop 0.6s var(--spring) 0.15s both; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14); }
.masthead-meta { color: #B9D1C2; }
.pill.is-open { background: #3BD07A; color: #06301A; }
.pill.is-open::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #06301A; margin-right: 6px; animation: blink 1.6s ease-in-out infinite; }
body:not(.admin) > .tricolore { display: none; }
@media (max-width: 748px) { .masthead { margin-inline: 14px; } }

.toolbar { border-bottom: 0; background: linear-gradient(var(--bg) 82%, transparent); padding-bottom: 6px; }
.search input { border: 0; border-radius: 99px; height: 48px; padding: 0 20px; transition: box-shadow 0.2s; }
.search input:focus { outline: none; box-shadow: 0 0 0 4px var(--verde-claro), 0 0 0 1.5px var(--verde) inset; }
.chip { border: 0; padding: 8px 16px; transition: background 0.25s, color 0.25s, transform 0.2s var(--ease); }
.chip:active { transform: scale(0.94); }
.chip[aria-current="true"] { background: var(--ink); color: #fff; }

.cat h2 { font-size: 1.55rem; }
.sizes-strip li { background: var(--surface); padding: 5px 14px; }
.sizes-strip b { color: var(--verde-escuro); }
.cat-list { border: 0; border-radius: 22px; }
.cat-list li + li { border-top-color: #EDF1EB; }
.item { padding: 15px 18px; transition: background 0.2s, transform 0.15s var(--ease); }
.item:active { transform: scale(0.985); }
.item-add { width: 40px; height: 40px; transition: background 0.25s, color 0.25s, transform 0.35s var(--spring); }
.item:hover .item-add, .item:active .item-add { background: var(--verde); color: #fff; transform: rotate(90deg) scale(1.08); }

/* barra do pedido */
.cart-bar { background: var(--grad); border-radius: 99px; height: 60px; padding: 0 22px 0 10px; animation: bar-in 0.5s var(--spring) both; transition: transform 0.18s var(--ease), box-shadow 0.2s; }
.cart-bar:active { transform: translateX(-50%) scale(0.97); }
.cart-count { min-width: 40px; height: 40px; font-size: 1rem; font-weight: 800; }
.cart-bar.bump .cart-count { animation: bump 0.45s var(--spring); }

/* folha */
.scrim { animation: fade 0.25s ease both; backdrop-filter: blur(3px); }
.sheet { border-radius: 28px 28px 0 0; animation: rise 0.42s var(--ease); }
@media (min-width: 640px) { .sheet { border-radius: 28px; animation: modal 0.4s var(--spring) both; } }
.x { transition: transform 0.3s var(--spring), background 0.2s; }
.x:hover { transform: rotate(90deg); background: var(--rosso-claro); }
.size label { border-radius: 20px; transition: border-color 0.2s, background 0.2s, transform 0.25s var(--spring); }
.size .disc { transition: transform 0.35s var(--spring); }
.size input:checked + label { transform: translateY(-4px); }
.size input:checked + label .disc { transform: scale(1.14) rotate(-8deg); }
.switch { border-radius: 20px; transition: border-color 0.2s, background 0.2s; }
.switch:has(input:checked) { border-color: var(--verde); background: var(--verde-claro); }
#half-box:not([hidden]) { animation: rise-in 0.4s var(--ease) both; }
.halves svg { transition: transform 0.5s var(--spring); }
.halves svg path { transition: fill 0.35s; }
.halves.full svg { transform: rotate(360deg) scale(1.06); }
.flavor-search { border-radius: 99px; padding: 0 18px; }
.flavor-list { border-radius: 18px; }
.flavor-list button { transition: background 0.15s; }
.field input, .field textarea, .field select { border-radius: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--verde); box-shadow: 0 0 0 4px var(--verde-claro); outline: none; }
.seg { border-radius: 99px; }
.seg span { border-radius: 99px; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.qty { border-radius: 99px; }
.qty button { transition: transform 0.15s var(--ease); }
.qty button:active { transform: scale(0.8); }
.btn { border-radius: 99px; background: var(--grad); transition: transform 0.18s var(--ease), box-shadow 0.2s; }
.btn:hover:not(:disabled) { box-shadow: 0 10px 20px -10px rgba(6, 74, 37, 0.7); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn.ghost { background: var(--bg); }
.btn.zap { background: var(--grad); }
.error { border-radius: 14px; animation: shake 0.4s var(--ease); }
.lines li { animation: rise-in 0.35s var(--ease) both; }
.track-banner { border-radius: 99px; background: var(--dark); padding: 12px 20px; animation: rise-in 0.5s var(--ease) both; }
.notice { border-radius: 18px; }

/* acompanhamento */
.ticket-num { animation: pop 0.6s var(--spring) both; }
.steps li.now::before { animation: ping-g 1.6s ease-out infinite; }
.steps li.done::before { animation: pop 0.4s var(--spring) both; }

/* entrada do cardápio: categorias e itens em cascata */
.menu.enter .cat { animation: rise-in 0.6s var(--ease) both; animation-delay: calc(0.1s + var(--i, 0) * 90ms); }
.menu.enter .cat:first-child .cat-list li { animation: rise-in 0.5s var(--ease) both; }
.menu.enter .cat:first-child .cat-list li:nth-child(1) { animation-delay: 0.18s; }
.menu.enter .cat:first-child .cat-list li:nth-child(2) { animation-delay: 0.24s; }
.menu.enter .cat:first-child .cat-list li:nth-child(3) { animation-delay: 0.3s; }
.menu.enter .cat:first-child .cat-list li:nth-child(4) { animation-delay: 0.36s; }
.menu.enter .cat:first-child .cat-list li:nth-child(5) { animation-delay: 0.42s; }
.menu.enter .cat:first-child .cat-list li:nth-child(n+6) { animation-delay: 0.48s; }
.menu.enter .sizes-strip li { animation: pop 0.5s var(--spring) both; animation-delay: 0.25s; }

@keyframes pop { from { opacity: 0; transform: scale(0.86); } }
@keyframes modal { from { opacity: 0; transform: translate(-50%, 50%) scale(0.86); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes bar-in { from { opacity: 0; transform: translate(-50%, 90px); } }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes shake { 25% { transform: translateX(-6px); } 60% { transform: translateX(5px); } }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(10, 122, 61, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(10, 122, 61, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Visual 3: parede de tijolos escuros e paleta do cardápio impresso
   (preto, amarelo e branco) + um quadrado por sabor com a pizza
   ===================================================================== */
:root {
  color-scheme: dark;
  --bg: #0D0D0D;
  --surface: #1B1B1B;
  --ink: #FFFFFF;
  --muted: #B9B9B9;
  --line: #343434;
  --verde: #FFD23F;            /* cor de destaque: o amarelo do cardápio */
  --verde-escuro: #FFD23F;
  --verde-claro: rgba(255, 210, 63, 0.14);
  --rosso: #F0525A;
  --rosso-claro: rgba(240, 82, 90, 0.16);
  --giallo: #FFD23F;
  --on: #141414;               /* texto sobre amarelo */
  --grad: linear-gradient(140deg, #FFE27A 0%, #FFD23F 45%, #F0B400 100%);
  --dark: linear-gradient(150deg, #262626 0%, #121212 100%);
  --col: 920px;
}
body { background: var(--bg); }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(8, 8, 8, 0.62), rgba(8, 8, 8, 0.8)), url(tijolos.webp) center top / 860px auto repeat;
}

.masthead { background: rgba(0, 0, 0, 0.55); border: 1px solid #2E2E2E; backdrop-filter: blur(4px); }
.masthead::before { display: none; }
.masthead h1 { text-transform: uppercase; letter-spacing: 0; }
.masthead-meta { color: var(--muted); }
.notice, .error, .cancelled { color: #FF9BA1; }
.track-banner { background: var(--grad); color: var(--on); }

.toolbar { background: rgba(13, 13, 13, 0.88); backdrop-filter: blur(8px); }
.search input { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px #2E2E2E inset; }
.search input::placeholder, .field input::placeholder, .field textarea::placeholder, .flavor-search::placeholder { color: #8A8A8A; }
.chip { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px #2E2E2E inset; }
.chip[aria-current="true"] { background: var(--giallo); color: var(--on); box-shadow: none; }

.cat h2 { color: var(--giallo); text-transform: uppercase; letter-spacing: 0.01em; }
.sizes-strip li { background: var(--giallo); color: var(--on); }
.sizes-strip b { color: var(--on); }

/* um quadrado por sabor; a pizza sai pela ponta em degradê */
.cat-list { background: none; border-radius: 0; overflow: visible; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .cat-list { grid-template-columns: 1fr 1fr; gap: 14px; } }
.cat-list li + li { border-top: 0; }
.item {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; text-align: left;
  width: 100%; height: 100%; min-height: 138px; padding: 18px 128px 18px 18px;
  background: linear-gradient(100deg, rgba(30, 30, 30, 0.96) 40%, rgba(18, 18, 18, 0.9));
  border: 1px solid #2E2E2E; border-radius: 22px;
  transition: border-color 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
}
.item:not(.has-pic) { padding-right: 70px; min-height: 96px; }
.item:hover { background: linear-gradient(100deg, rgba(36, 36, 36, 0.96) 40%, rgba(20, 20, 20, 0.9)); border-color: rgba(255, 210, 63, 0.55); box-shadow: 0 14px 30px -18px rgba(255, 210, 63, 0.45); }
.item-name { color: var(--giallo); font: 800 1.12rem/1.15 var(--display); text-transform: uppercase; }
.item-desc { color: #E4E4E4; }
.item-price { color: var(--muted); font-weight: 600; margin-top: 4px; }
.item-pic {
  position: absolute; right: -62px; top: 50%; width: 178px; height: 178px; pointer-events: none;
  transform: translate(90px, -50%); opacity: 0;
  -webkit-mask-image: linear-gradient(to left, #000 52%, transparent 100%); mask-image: linear-gradient(to left, #000 52%, transparent 100%);
  transition: transform 1s var(--ease), opacity 0.9s ease;
}
.item.in .item-pic { transform: translate(0, -50%); opacity: 1; }
.item:hover .item-pic { transform: translate(-10px, -50%) scale(1.06); }
.item-pic img {
  width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 64%, transparent 71%); mask-image: radial-gradient(circle, #000 64%, transparent 71%);
}
.item.on .item-pic img { animation: spin 48s linear infinite; }
.item-add {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px;
  background: var(--giallo); color: var(--on); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.8);
}
.item:hover .item-add, .item:active .item-add { background: #fff; color: var(--on); }
@keyframes spin { to { transform: rotate(360deg); } }

.cart-bar { color: var(--on); box-shadow: 0 12px 30px -8px rgba(255, 210, 63, 0.45); }
.cart-count { background: var(--on); color: var(--giallo); }

/* folhas e formulários */
.scrim { background: rgba(0, 0, 0, 0.72); }
.sheet { background: #181818; box-shadow: 0 0 0 1px #2E2E2E; }
.sheet-pic { flex: none; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--giallo); }
.sheet-pic img { width: 100%; height: 100%; object-fit: cover; display: block; animation: spin 30s linear infinite; }
.x { background: #2A2A2A; color: #fff; }
.size label, .switch { border-color: #3A3A3A; }
.size .disc { color: var(--on); }
.flavor-search, .flavor-list, .qty { border-color: #3A3A3A; }
.flavor-search { background: #101010; color: #fff; }
.flavor-list li + li, .lines li, .totals .grand, .sheet-foot { border-color: #2E2E2E; }
.field input, .field textarea, .field select { background: #101010; border-color: #3A3A3A; color: #fff; }
.seg { background: #101010; }
.seg input:checked + span { background: var(--giallo); color: var(--on); }
.btn { color: var(--on); }
.btn:disabled { background: #333; color: #8A8A8A; }
.btn:hover:not(:disabled) { box-shadow: 0 10px 22px -10px rgba(255, 210, 63, 0.7); }
.btn.ghost { background: #2A2A2A; color: #fff; }
.btn.zap { background: #1FA855; color: #fff; }
.steps li::before { background: #101010; border-color: #3A3A3A; }
.steps li.done::before { color: var(--on); }
.steps li::after { background: #3A3A3A; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(255, 210, 63, 0); } }

/* opções do item: adicionais e escolhas obrigatórias */
.opts legend { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; }
.opt-rule { font-size: 0.8rem; font-weight: 700; color: var(--on); background: var(--giallo); border-radius: 99px; padding: 2px 10px; }
.opt-rule.ok { background: #1FA855; color: #fff; }
.opt-list { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #3A3A3A; border-radius: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.opt input { width: 20px; height: 20px; accent-color: var(--giallo); flex: none; }
.opt-name { flex: 1; font-weight: 600; }
.opt-price { color: var(--giallo); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--giallo); background: rgba(255, 210, 63, 0.1); }
.opt:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }

/* =====================================================================
   Movimento do cardápio (entradas, saídas e reorganização)
   ===================================================================== */
/* cada quadrado entra quando chega na tela, em cascata pelo lote */
.cat-list li { opacity: 0; transform: translateY(26px) scale(0.97); }
.cat-list li.shown { animation: item-in 0.65s var(--spring) both; animation-delay: var(--d, 0ms); }
.menu.enter .cat:first-child .cat-list li { animation: none; }
.menu.enter .cat:first-child .cat-list li.shown { animation: item-in 0.65s var(--spring) both; animation-delay: calc(0.25s + var(--d, 0ms)); }
@keyframes item-in {
  0% { opacity: 0; transform: translateY(26px) scale(0.97); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
/* o título da categoria ganha um traço que cresce quando ela aparece */
.cat h2 { position: relative; padding-bottom: 8px; }
.cat h2::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 72px; border-radius: 99px; background: var(--giallo); transform-origin: left; animation: grow-line 0.8s var(--ease) 0.2s both; }
@keyframes grow-line { from { transform: scaleX(0); } }

/* pílula amarela que desliza entre as categorias */
.chips { position: relative; }
.chip { position: relative; z-index: 1; transition: color 0.3s, background 0.3s; }
.chip-ind { position: absolute; left: 0; top: 10px; height: calc(100% - 20px); width: 0; border-radius: 99px; background: var(--giallo); opacity: 0; pointer-events: none; transition: transform 0.5s var(--spring), width 0.5s var(--spring), opacity 0.2s; }
.chip-ind.on { opacity: 1; }
.chips:has(.chip-ind.on) .chip[aria-current="true"] { background: transparent; color: var(--on); }

/* item voando para a barra do pedido */
.fly { position: fixed; z-index: 60; border-radius: 50%; pointer-events: none; background: var(--giallo) center / cover no-repeat; box-shadow: 0 0 0 3px var(--giallo), 0 12px 30px rgba(0, 0, 0, 0.6); }

/* janelas saem mais rápido do que entram */
.sheet.leaving { animation: sheet-out 0.2s var(--ease) forwards; pointer-events: none; }
.scrim.leaving { animation: fade-out 0.2s ease forwards; }
@keyframes sheet-out { to { opacity: 0; transform: translate(-50%, 40px); } }
@media (min-width: 640px) { @keyframes sheet-out { to { opacity: 0; transform: translate(-50%, 50%) scale(0.94); } } }
@keyframes fade-out { to { opacity: 0; } }
.lines li { animation: none; }

/* escolher uma opção dá um pequeno salto */
.opt:has(input:checked) { animation: opt-pick 0.35s var(--spring); }
@keyframes opt-pick { 40% { transform: scale(1.03); } }
.item:active { transform: scale(0.97); }
.item-add { transition: transform 0.35s var(--spring), background 0.25s, color 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .cat-list li { opacity: 1; transform: none; }
  .chip-ind { display: none; }
}

/* =====================================================================
   Cardápio nas cores da bandeira da Itália, em tons vivos (mesmo padrão do painel).
   Verde = escolher e pedir; branco = tamanhos e títulos; vermelho = preço e o que falta escolher.
   ===================================================================== */
:root {
  --it-verde: #00D166;
  --it-vermelho: #FF2D47;
  --it-branco: #FFFFFF;
  --giallo: var(--it-verde);
  --verde: var(--it-verde);
  --verde-escuro: var(--it-verde);
  --verde-claro: rgba(0, 209, 102, 0.16);
  --rosso: var(--it-vermelho);
  --rosso-claro: rgba(255, 45, 71, 0.16);
  --on: #03200F;
  --grad: linear-gradient(140deg, #3DF08E 0%, #00D166 45%, #00A650 100%);
  --tri: linear-gradient(90deg, var(--it-verde) 0 33.33%, var(--it-branco) 33.33% 66.66%, var(--it-vermelho) 66.66%);
}
.masthead { box-shadow: 0 0 0 1px rgba(0, 209, 102, 0.25); }
.masthead::after { background: var(--tri); height: 6px; }
.masthead h1 { color: var(--it-branco); }

.cat h2 { color: var(--it-branco); }
.cat h2::after { background: var(--tri); width: 96px; height: 5px; }
.item-name { color: var(--it-verde); }
.item-price { color: #FF6B7D; }
.item:hover { border-color: rgba(0, 209, 102, 0.6); box-shadow: 0 14px 30px -18px rgba(0, 209, 102, 0.5); }
.item-add { box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.8), 0 0 0 0 rgba(0, 209, 102, 0.6); }
.item:hover .item-add, .item:active .item-add { background: var(--it-branco); color: var(--on); }

.sizes-strip li { background: var(--it-branco); color: #141414; }
.sizes-strip b { color: #D60A25; }

.cart-bar { box-shadow: 0 12px 30px -8px rgba(0, 209, 102, 0.55); }
.cart-count { background: var(--on); color: var(--it-verde); }
.btn:hover:not(:disabled) { box-shadow: 0 10px 22px -10px rgba(0, 209, 102, 0.75); }
.track-banner { background: var(--grad); color: var(--on); }

/* opções: o selo fica vermelho enquanto falta escolher e verde quando está certo */
.opt-rule { background: var(--it-branco); color: #141414; }
.opt-rule.need { background: var(--it-vermelho); color: #fff; }
.opt-rule.ok { background: var(--it-verde); color: var(--on); }
.opt-price { color: #FF6B7D; }
.opt:has(input:checked) { background: rgba(0, 209, 102, 0.1); }

/* meio a meio com as cores da bandeira, vivas */
.halves svg path:first-of-type { fill: var(--it-verde); }
.half-line i[style*="0A7A3D"] { background: var(--it-verde) !important; }

.sheet-pic { box-shadow: 0 0 0 3px var(--it-verde), 0 0 0 6px rgba(255, 255, 255, 0.85), 0 0 0 9px var(--it-vermelho); }
.fly { box-shadow: 0 0 0 3px var(--it-verde), 0 0 0 6px var(--it-branco), 0 0 0 9px var(--it-vermelho), 0 12px 30px rgba(0, 0, 0, 0.6); }
.chip-ind { box-shadow: 0 6px 18px -6px rgba(0, 209, 102, 0.8); }
.steps li.now::before { border-color: var(--it-vermelho); color: #fff; background: rgba(255, 45, 71, 0.2); animation: ping-r 1.6s ease-out infinite; }
@keyframes ping-r { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 71, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(255, 45, 71, 0); } }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(0, 209, 102, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(0, 209, 102, 0); } }
.size .disc { background: var(--it-verde); border-color: var(--it-branco); }
.size input:checked + label .disc { box-shadow: 0 0 0 3px var(--it-vermelho); }
.halves svg circle { fill: var(--it-branco); }

/* =====================================================================
   Paleta "Bandeira elegante" (17/11): as cores da Itália em tons sóbrios.
   Verde-garrafa nas ações, off-white nos títulos, vinho nos preços e alertas.
   Os tons claros (-texto) existem para o texto ficar legível sobre o fundo escuro.
   ===================================================================== */
:root {
  --it-verde: #1F6B45;
  --it-verde-claro: #2A8459;
  --it-verde-texto: #7FBF98;
  --it-branco: #F5F1E8;
  --it-vermelho: #A8322D;
  --it-vermelho-texto: #E07A6F;
  --bg: #141412;
  --surface: #1E1D1A;
  --ink: #F5F1E8;
  --muted: #A8A193;
  --line: #2E2C28;
  --giallo: var(--it-verde);
  --verde: var(--it-verde);
  --verde-escuro: var(--it-verde-texto);
  --verde-claro: rgba(31, 107, 69, 0.22);
  --rosso: var(--it-vermelho);
  --rosso-claro: rgba(168, 50, 45, 0.22);
  --on: #F5F1E8;
  --grad: linear-gradient(140deg, #2A8459 0%, #1F6B45 55%, #18573A 100%);
  --tri: linear-gradient(90deg, var(--it-verde) 0 33.33%, var(--it-branco) 33.33% 66.66%, var(--it-vermelho) 66.66%);
}
body { background: var(--bg); color: var(--ink); }
body::before { background: linear-gradient(rgba(14, 13, 11, 0.72), rgba(14, 13, 11, 0.86)), url(tijolos.webp) center top / 860px auto repeat; }

.masthead { box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.08); }
.masthead h1, .cat h2 { color: var(--it-branco); }
.pill.is-open { background: var(--it-verde); color: var(--it-branco); }
.pill.is-open::before { background: var(--it-branco); }

.item { background: linear-gradient(100deg, rgba(32, 31, 28, 0.96) 40%, rgba(20, 19, 17, 0.92)); border-color: #2E2C28; }
.item:hover { background: linear-gradient(100deg, rgba(38, 36, 33, 0.97) 40%, rgba(22, 21, 19, 0.93)); border-color: rgba(127, 191, 152, 0.45); box-shadow: 0 14px 30px -18px rgba(31, 107, 69, 0.7); }
.item-name { color: var(--it-branco); }
.item-desc { color: #CFC8BA; }
.item-price { color: var(--it-vermelho-texto); }
.item-add { background: var(--it-verde); color: var(--it-branco); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.8); }
.item:hover .item-add, .item:active .item-add { background: var(--it-verde-claro); color: var(--it-branco); }

.chip { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px #2E2C28 inset; }
.chip[aria-current="true"], .chips:has(.chip-ind.on) .chip[aria-current="true"] { color: var(--it-branco); }
.chip-ind { box-shadow: 0 6px 18px -8px rgba(31, 107, 69, 0.9); }
.search input { background: var(--surface); box-shadow: 0 0 0 1px #2E2C28 inset; }

.sizes-strip li { background: var(--it-branco); color: #1A1916; }
.sizes-strip b { color: var(--it-vermelho); }

.cart-bar { color: var(--it-branco); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(127, 191, 152, 0.25) inset; }
.cart-count { background: var(--it-branco); color: var(--it-verde); }
.btn { color: var(--it-branco); }
.btn:hover:not(:disabled) { box-shadow: 0 10px 22px -10px rgba(31, 107, 69, 0.9); }
.btn.ghost { background: #2A2825; color: var(--it-branco); }
.track-banner { background: var(--grad); color: var(--it-branco); }

.sheet { background: #1A1917; box-shadow: 0 0 0 1px #2E2C28; }
.sheet-pic { box-shadow: 0 0 0 2px var(--it-branco), 0 0 0 5px var(--it-verde); }
.fly { background-color: var(--it-verde); box-shadow: 0 0 0 2px var(--it-branco), 0 0 0 5px var(--it-verde), 0 12px 30px rgba(0, 0, 0, 0.6); }
.field input, .field textarea, .field select, .flavor-search { background: #12110F; border-color: #3A3733; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--it-verde-texto); box-shadow: 0 0 0 4px rgba(31, 107, 69, 0.3); }
.seg { background: #12110F; }
.seg input:checked + span { background: var(--it-verde); color: var(--it-branco); }
.size label, .switch, .opt { border-color: #3A3733; }
.size .disc { background: var(--it-branco); color: var(--it-verde); border-color: var(--it-verde); }
.size input:checked + label { border-color: var(--it-verde-texto); background: rgba(31, 107, 69, 0.18); }
.size input:checked + label .disc { background: var(--it-verde); color: var(--it-branco); border-color: var(--it-branco); box-shadow: none; }
.switch:has(input:checked) { border-color: var(--it-verde-texto); background: rgba(31, 107, 69, 0.16); }
.halves svg circle { fill: var(--it-branco); }
.halves svg path:first-of-type { fill: var(--it-verde); }
#half-b[fill="#C4122F"] { fill: var(--it-vermelho); }
.half-line i[style*="0A7A3D"] { background: var(--it-verde) !important; }
.half-line i[style*="C4122F"] { background: var(--it-vermelho) !important; }
.flavor-list button[aria-pressed="true"] { background: rgba(168, 50, 45, 0.28); }
.opt input, .switch input { accent-color: var(--it-verde); }
.opt-rule { background: #2E2C28; color: var(--it-branco); }
.opt-rule.need { background: var(--it-vermelho); color: var(--it-branco); }
.opt-rule.ok { background: var(--it-verde); color: var(--it-branco); }
.opt-price { color: var(--it-vermelho-texto); }
.opt:has(input:checked) { border-color: var(--it-verde-texto); background: rgba(31, 107, 69, 0.16); }
.qty button { color: var(--it-verde-texto); }
.link { color: var(--it-vermelho-texto); }
.steps li.done::before { background: var(--it-verde); border-color: var(--it-verde); color: var(--it-branco); }
.steps li.done::after { background: var(--it-verde); }
.steps li.now::before { border-color: var(--it-vermelho-texto); background: rgba(168, 50, 45, 0.25); color: var(--it-branco); animation: ping-r 1.6s ease-out infinite; }
@keyframes ping-r { 0% { box-shadow: 0 0 0 0 rgba(168, 50, 45, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(168, 50, 45, 0); } }
.notice, .error, .cancelled { color: #F2B3AB; }
/* valores que contam não "tremem": todos os dígitos com a mesma largura */
#add-price, #cart-total, #send-total, .totals dd, .l-price, [data-size-price] { font-variant-numeric: tabular-nums; }

/* =====================================================================
   Nome do sabor em destaque: entra se revelando da esquerda para a direita
   e ganha um traço tricolor que se desenha embaixo; no toque/hover o traço
   cresce até a largura do nome. Valores ficam neutros (sem vermelho).
   ===================================================================== */
.item-name {
  position: relative; display: inline-block; align-self: flex-start; padding-bottom: 7px;
  font-size: 1.22rem; letter-spacing: 0.01em; color: var(--it-branco);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.item-name::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; border-radius: 99px;
  background: var(--tri); transform-origin: left; transform: scaleX(0.22);
  transition: transform 0.55s var(--spring);
}
.cat-list li.shown .item-name { animation: name-in 0.8s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 140ms); }
.cat-list li.shown .item-name::after { animation: name-line 0.9s var(--spring) both; animation-delay: calc(var(--d, 0ms) + 420ms); }
.item:hover .item-name::after, .item:focus-visible .item-name::after { transform: scaleX(1); }
.item:hover .item-name { color: #FFFFFF; }
@keyframes name-in {
  from { clip-path: inset(0 100% 0 0); transform: translateX(-8px); opacity: 0.2; }
  to { clip-path: inset(0 0 0 0); transform: none; opacity: 1; }
}
@keyframes name-line { from { transform: scaleX(0); } to { transform: scaleX(0.22); } }

/* o nome na janela do item também ganha o traço */
#sheet-title { position: relative; padding-bottom: 8px; }
#sheet-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 99px; background: var(--tri); transform-origin: left; animation: grow-line 0.7s var(--spring) 0.15s both; }

/* valores neutros */
.item-price { color: #D9D3C5; font-weight: 700; }
.opt-price { color: #D9D3C5; }
.sizes-strip b { color: #1A1916; }
.flavor-list small { color: #D9D3C5; }

@media (prefers-reduced-motion: reduce) {
  .item-name::after { transform: scaleX(0.22); }
}
/* brilho que atravessa o nome uma vez quando o quadrado aparece */
.item-name {
  text-shadow: none;
  background: linear-gradient(100deg, var(--it-branco) 40%, #A9DDBC 50%, var(--it-branco) 60%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cat-list li.shown .item-name {
  animation: name-in 0.8s var(--ease) both, name-shine 1.4s ease-in-out both;
  animation-delay: calc(var(--d, 0ms) + 140ms), calc(var(--d, 0ms) + 700ms);
}
.cat-list li.shown .item-name::after { animation-fill-mode: backwards; }
@keyframes name-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.item:hover .item-name { color: transparent; filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .item-name { background: none; color: var(--it-branco); } }
.item-name { background-image: linear-gradient(100deg, var(--it-branco) 34%, #7FBF98 45%, #C9EBD5 50%, #7FBF98 55%, var(--it-branco) 66%); }

/* o destaque do nome se repete: o nome se revela toda vez que o quadrado volta à tela,
   e o brilho e o traço tricolor passam de novo a cada poucos segundos enquanto ele está visível */
.cat-list li.shown .item-name { animation: none; }
.cat-list li.shown .item-name::after { animation: none; }
.cat-list li .item.on .item-name {
  animation: name-in 0.8s var(--ease) both, name-shine-loop 4.2s ease-in-out infinite;
  animation-delay: calc(var(--d, 0ms) + 140ms), calc(var(--d, 0ms) + 700ms);
}
.item.on:not(:hover) .item-name::after { animation: name-line-loop 4.2s var(--spring) infinite; animation-delay: calc(var(--d, 0ms) + 700ms); }
.cat-list li .item.on:hover .item-name { animation: name-shine-loop 1.6s ease-in-out infinite; }
@keyframes name-shine-loop {
  0% { background-position: 100% 0; }
  32% { background-position: 0 0; }
  100% { background-position: 0 0; }
}
@keyframes name-line-loop {
  0% { transform: scaleX(0.22); }
  18% { transform: scaleX(0.7); }
  40%, 100% { transform: scaleX(0.22); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-list li .item.on .item-name, .cat-list li .item.on:hover .item-name, .item.on .item-name::after { animation: none; }
}

/* barra de categorias: rolagem lateral fluida no toque e alvo de toque confortável */
.chips { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.chip { min-height: 40px; display: inline-flex; align-items: center; white-space: nowrap; -webkit-tap-highlight-color: transparent; cursor: pointer; user-select: none; }

/* ===== Abertura + cabeçalho com pizza girando e faixas ===== */
:root {
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --zoom-in: cubic-bezier(0.7, 0, 0.84, 0);
}
html.intro-on, html.intro-on body { overflow: hidden; }

/* abertura: a logo surge, pulsa duas vezes e avança para fora da tela */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: #141412; cursor: pointer;
  animation: intro-out 0.55s ease-out 2.25s forwards;
}
.intro-glow {
  position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 107, 69, 0.35), rgba(168, 50, 45, 0.12) 45%, transparent 70%);
  animation: intro-glow 2.8s var(--ease-out-quint) both;
}
.intro-logo {
  grid-area: 1 / 1; width: 168px; height: 168px; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(245, 241, 232, 0.08), 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  animation: intro-logo 2.8s both; will-change: transform, opacity, filter;
}
.intro-line {
  grid-area: 1 / 1; align-self: center; margin-top: 222px; width: 120px; height: 4px; border-radius: 99px;
  background: var(--tri); transform-origin: left;
  animation: intro-line 2.8s var(--ease-out-quint) both;
}
.intro.skip { animation: intro-out 0.22s ease-out forwards; }
.intro.skip .intro-logo { animation: intro-skip 0.22s ease-out forwards; }

@keyframes intro-logo {
  0%   { opacity: 0; transform: scale(0.72); filter: blur(6px); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
  24%  { opacity: 1; transform: scale(1); filter: blur(0); animation-timing-function: ease-in-out; }
  34%  { transform: scale(1.09); animation-timing-function: ease-in-out; }
  42%  { transform: scale(0.99); animation-timing-function: ease-in-out; }
  50%  { transform: scale(1.11); animation-timing-function: ease-in-out; }
  62%  { opacity: 1; transform: scale(1); filter: blur(0); animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0); }
  100% { opacity: 0; transform: scale(7); filter: blur(10px); }
}
@keyframes intro-line {
  0%, 8% { transform: scaleX(0); opacity: 1; }
  40%    { transform: scaleX(1); opacity: 1; }
  62%    { transform: scaleX(1); opacity: 1; }
  74%, 100% { transform: scaleX(1); opacity: 0; }
}
@keyframes intro-glow {
  0% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes intro-skip { to { opacity: 0; transform: scale(2.4); } }

/* cabeçalho */
.masthead.hero { display: block; padding: 20px 20px 0; animation: none; }
.hero-top { display: flex; gap: 14px; align-items: center; }
.hero-logo { border-radius: 50%; flex: none; animation: none; box-shadow: 0 0 0 3px rgba(245, 241, 232, 0.12); }
.masthead .hero-logo { animation: none; }
.hero-lead { margin-top: 14px; max-width: 34ch; color: #CFC8BA; font-size: 0.98rem; line-height: 1.45; }

.hero-stage {
  position: relative; margin: 6px -20px 0; height: clamp(318px, 86vw, 400px);
}
.hero-glow {
  position: absolute; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 111, 0.22), rgba(31, 107, 69, 0.14) 42%, transparent 68%);
  animation: glow-breathe 5s ease-in-out infinite;
}
.hero-pizza {
  position: absolute; left: 50%; top: 4px; width: min(300px, 76vw); aspect-ratio: 1;
  margin-left: calc(min(300px, 76vw) / -2); padding: 0; border: 0; background: none; border-radius: 50%;
  cursor: pointer; transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1));
  -webkit-tap-highlight-color: transparent;
}
.hero-pizza::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%; pointer-events: none;
  border: 1.5px dashed rgba(245, 241, 232, 0.16);
  animation: spin 70s linear infinite reverse;
}
.hero-spin {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: block;
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(245, 241, 232, 0.06);
  animation: spin 48s linear infinite; will-change: transform;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  opacity: 0; transform: scale(1.24);
  transition: opacity 0.9s ease, transform 1.2s var(--ease-out-quint);
}
.hero-img.is-on { opacity: 1; transform: scale(1.1); z-index: 1; }
.hero-img.off { opacity: 0; transform: scale(1.02); transition: opacity 0.7s ease, transform 0.9s ease; }
.hero-img.reset { transition: none; transform: scale(1.24); }
.hero-flavor {
  position: absolute; left: 16px; top: 8px; z-index: 3; display: grid; gap: 1px;
  padding: 7px 12px 8px; border-radius: 14px; overflow: hidden;
  background: rgba(20, 20, 18, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.1);
}
.hero-flavor small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7FBF98; }
.hero-flavor b { font: 800 1rem/1.15 var(--display); color: var(--it-branco); display: block; min-width: 6ch; }

/* faixas com legendas */
.ribbon {
  position: absolute; left: -8%; width: 116%; z-index: 2; overflow: hidden; pointer-events: none;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.9);
}
.ribbon-a { bottom: 70px; background: var(--it-verde); color: var(--it-branco); transform: rotate(-5deg); }
.ribbon-b { bottom: 20px; background: var(--it-branco); color: #141412; transform: rotate(3deg); }
.ribbon-track {
  display: flex; width: max-content; animation: marquee 30s linear infinite; will-change: transform;
}
.ribbon-b .ribbon-track { animation-duration: 36s; animation-direction: reverse; }
.ribbon span {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 9px 0;
  font: 800 0.92rem/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase;
}
.ribbon span::after { content: '✦'; margin: 0 18px; font-size: 0.8em; color: #E07A6F; }
.ribbon-a span::after { color: var(--it-branco); opacity: 0.55; }
.ribbon-b span::after { color: var(--it-vermelho); }
.masthead.hero::after { z-index: 4; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes glow-breathe { 50% { opacity: 0.55; scale: 0.94; } }

/* pausa o que gira quando o topo sai da tela */
.hero.paused .hero-spin, .hero.paused .ribbon-track, .hero.paused .hero-pizza::after, .hero.paused .hero-glow { animation-play-state: paused; }

/* entrada do topo depois da abertura */
.hero-top, .hero-lead, .hero-flavor { transition: opacity 0.6s var(--ease-out-quint), transform 0.7s var(--ease-out-quint); }
.hero-pizza { transition: opacity 0.8s var(--ease-out-quint), rotate 1.1s var(--ease-out-quint), scale 1.1s var(--ease-out-quint); }
.ribbon { transition: opacity 0.6s ease-out, translate 0.9s var(--ease-out-quint); }
body:not(.ready) .hero-top { opacity: 0; transform: translateY(14px); }
body:not(.ready) .hero-lead { opacity: 0; transform: translateY(14px); }
body:not(.ready) .hero-flavor { opacity: 0; transform: translateY(-8px); }
body:not(.ready) .hero-pizza { opacity: 0; scale: 0.82; rotate: -40deg; }
body:not(.ready) .ribbon-a { opacity: 0; translate: 30% 0; }
body:not(.ready) .ribbon-b { opacity: 0; translate: -30% 0; }
body.ready .hero-lead { transition-delay: 0.08s; }
body.ready .hero-pizza { transition-delay: 0.12s; }
body.ready .hero-flavor { transition-delay: 0.45s; }
body.ready .ribbon-a { transition-delay: 0.28s; }
body.ready .ribbon-b { transition-delay: 0.38s; }
body:not(.ready) .toolbar, body:not(.ready) .menu { opacity: 0; transform: translateY(16px); }
.toolbar, .menu { transition: opacity 0.6s var(--ease-out-quint) 0.3s, transform 0.7s var(--ease-out-quint) 0.3s; }
body.ready .menu { transform: none; }

/* toolbar ganha sombra quando gruda no topo */
.toolbar.stuck { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9); }

@media (hover: hover) and (pointer: fine) {
  .hero-pizza:hover .hero-spin { animation-duration: 14s; }
}
.hero-pizza:active { scale: 0.97; }

@media (min-width: 700px) {
  .hero-stage { height: 420px; }
  .hero-pizza { width: 330px; margin-left: -165px; }
  .ribbon span { font-size: 1rem; padding: 11px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero-spin, .ribbon-track, .hero-pizza::after, .hero-glow { animation: none; }
  .hero-img, .hero-top, .hero-lead, .hero-flavor, .hero-pizza, .ribbon, .toolbar, .menu { transition: none; }
}

/* sem o tracejado em volta da pizza do topo */
.hero-pizza::after { content: none; }

/* sabores das pizzas de dois em dois */
.cat-list.grid2 { grid-template-columns: 1fr 1fr; gap: 10px; }
.grid2 .item {
  min-height: 0; padding: 10px 12px 14px; gap: 3px; justify-content: flex-start;
  background: linear-gradient(180deg, rgba(36, 34, 31, 0.97), rgba(20, 19, 17, 0.94));
}
.grid2 .item.has-pic, .grid2 .item:not(.has-pic) { padding-right: 12px; }
.grid2 .item-pic {
  position: relative; order: -1; right: auto; top: auto; align-self: center;
  width: min(100%, 190px); height: auto; aspect-ratio: 1; margin: -2px 0 6px;
  -webkit-mask-image: none; mask-image: none;
  transform: translateY(14px) scale(0.9); opacity: 0;
  transition: transform 0.9s var(--ease-out-quint, var(--ease)), opacity 0.7s ease;
}
.grid2 .item-pic img { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6)); }
.grid2 .item.in .item-pic { transform: none; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .grid2 .item:hover .item-pic { transform: scale(1.05); }
}
.grid2 .item-name { font-size: 1rem; line-height: 1.12; padding-bottom: 6px; }
.grid2 .item-desc {
  font-size: 0.8rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.grid2 .item-price { font-size: 0.82rem; margin-top: auto; padding-top: 6px; padding-right: 40px; }
.grid2 .item-add { width: 34px; height: 34px; right: 10px; bottom: 10px; font-size: 1.3rem; }
@media (min-width: 720px) {
  .cat-list.grid2 { gap: 14px; }
  .grid2 .item { padding: 14px 16px 18px; }
  .grid2 .item-name { font-size: 1.15rem; }
  .grid2 .item-desc { font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .grid2 .item-pic { transition: none; transform: none; opacity: 1; }
}

/* =====================================================================
   v5 — fundo com a bandeira em vidro + topo no modelo "landing"
   ===================================================================== */
body:not(.admin), body.admin { background: #0E0E0D; }
body:not(.admin)::before, body.admin::before { display: none; }

/* manchas de cor da bandeira flutuando e trocando de lugar */
.bg-flag { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; left: 50%; top: 50%; width: 95vmax; height: 95vmax; margin: -47.5vmax 0 0 -47.5vmax;
  border-radius: 50%; will-change: transform;
}
.b1 { background: radial-gradient(circle, rgba(31, 107, 69, 0.85) 0%, rgba(31, 107, 69, 0.32) 34%, transparent 66%); animation: blob-a 22s ease-in-out infinite; }
.b2 { background: radial-gradient(circle, rgba(245, 241, 232, 0.36) 0%, rgba(245, 241, 232, 0.12) 34%, transparent 64%); animation: blob-b 22s ease-in-out infinite; }
.b3 { background: radial-gradient(circle, rgba(168, 50, 45, 0.85) 0%, rgba(168, 50, 45, 0.32) 34%, transparent 66%); animation: blob-c 22s ease-in-out infinite; }
.bg-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 0%, rgba(14, 14, 13, 0.35) 70%),
    linear-gradient(rgba(14, 14, 13, 0.26), rgba(14, 14, 13, 0.52));
}
/* as três passam pelos mesmos pontos em tempos diferentes: as cores se alternam entre si */
@keyframes blob-a {
  0%, 100% { transform: translate3d(-38vw, -30vh, 0) scale(1); }
  33%      { transform: translate3d(34vw, -6vh, 0) scale(0.85); }
  66%      { transform: translate3d(-6vw, 34vh, 0) scale(1.1); }
}
@keyframes blob-b {
  0%, 100% { transform: translate3d(34vw, -6vh, 0) scale(0.75); }
  33%      { transform: translate3d(-6vw, 34vh, 0) scale(0.9); }
  66%      { transform: translate3d(-38vw, -30vh, 0) scale(0.7); }
}
@keyframes blob-c {
  0%, 100% { transform: translate3d(-6vw, 34vh, 0) scale(1.05); }
  33%      { transform: translate3d(-38vw, -30vh, 0) scale(1); }
  66%      { transform: translate3d(34vw, -6vh, 0) scale(0.85); }
}

/* vidro: cartões translúcidos com brilho na borda (sem blur por cartão, que pesa no celular;
   o fundo já é desfocado por natureza). Blur de verdade só nas barras fixas e no topo. */
:root {
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03) 42%, rgba(14, 14, 13, 0.28));
  --glass-solid: rgba(20, 20, 18, 0.58);
  --glass-line: rgba(255, 255, 255, 0.12);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.item, .grid2 .item {
  background: var(--glass), var(--glass-solid);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}
.item:hover { background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 42%, rgba(14, 14, 13, 0.24)), var(--glass-solid); }
.sheet { background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 40%), rgba(22, 22, 20, 0.97); }

/* barra do topo */
body:not(.admin) .topbar {
  position: sticky; top: 0; z-index: 7; height: 62px;
  display: flex; align-items: center; gap: 10px; padding: 0 max(16px, calc((100% - var(--col)) / 2 + 16px));
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
body:not(.admin) .topbar.scrolled, body:not(.admin) .topbar { background: rgba(14, 14, 13, 0.5); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--glass-line); }
body:not(.admin) .topbar-logo { width: 40px; height: 40px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(245, 241, 232, 0.14); }
body:not(.admin) .topbar-id { display: grid; line-height: 1.15; min-width: 0; }
body:not(.admin) .topbar-id strong { font: 800 1rem/1.1 var(--display); color: var(--it-branco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:not(.admin) .topbar-status { display: flex; align-items: center; gap: 4px; font-size: 0.74rem; color: #A8A193; white-space: nowrap; }
body:not(.admin) .topbar .pill { background: none; padding: 0; font-size: 0.74rem; font-weight: 700; color: #7FBF98; }
body:not(.admin) .topbar .pill.is-open::before { background: #4BD38A; box-shadow: 0 0 0 3px rgba(75, 211, 138, 0.2); width: 6px; height: 6px; }
body:not(.admin) .topbar .pill.is-closed { color: #E07A6F; }
.bag {
  margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: 99px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.07); color: var(--it-branco);
  font: 700 0.88rem/1 var(--body); box-shadow: var(--glass-hi); cursor: pointer; transition: transform 0.15s ease, background 0.2s ease;
}
.bag:active { transform: scale(0.96); }
.bag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bag b {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  display: grid; place-items: center; font-size: 0.72rem; background: var(--it-vermelho); color: #fff; box-shadow: 0 0 0 2px #0E0E0D;
}

/* topo: pizza em 3D com fumaça */
.hero2 { max-width: var(--col); margin: 0 auto; padding: 0 16px 8px; }
.hero-art { position: relative; height: clamp(270px, 74vw, 360px); margin: 0 -16px; transform: translate3d(0, var(--py, 0px), 0); opacity: var(--po, 1); }
.pz-scene { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 0%; }
.pz {
  position: absolute; left: 50%; top: 56%; width: min(340px, 86vw); aspect-ratio: 1;
  margin: calc(min(340px, 86vw) / -2) 0 0 calc(min(340px, 86vw) / -2);
  transform-style: preserve-3d; transform: rotateX(62deg);
  animation: pz-float 6s ease-in-out infinite;
}
.pz > * { position: absolute; inset: 0; border-radius: 50%; }
.pz-board {
  inset: -5%; transform: translateZ(-14px);
  background: radial-gradient(circle at 50% 45%, #3A2A1E 0%, #2A1D14 58%, #1A120C 70%, transparent 71%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.pz-edge {
  inset: 2.2%; transform: translateZ(calc(var(--z) * -1.7px));
  background: radial-gradient(circle, #8A5A2B 60%, #B97A3C 66%, #6B4320 72%);
}
.pz-top { overflow: hidden; transform: translateZ(0); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.pz-top img {
  width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; transform: scale(1.06);
  -webkit-mask-image: radial-gradient(circle, #000 66%, transparent 70.5%); mask-image: radial-gradient(circle, #000 66%, transparent 70.5%);
  animation: pz-turn 90s linear infinite;
}
.pz-shadow {
  position: absolute; left: 50%; top: 66%; width: min(380px, 92vw); height: 70px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent); filter: blur(4px);
  animation: pz-shadow 6s ease-in-out infinite;
}
.steam { position: absolute; left: 0; right: 0; top: -40px; height: calc(100% + 40px); width: 100%; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
@keyframes pz-float { 50% { transform: rotateX(62deg) translateZ(10px); } }
@keyframes pz-shadow { 50% { opacity: 0.7; scale: 0.94; } }
@keyframes pz-turn { from { transform: scale(1.06) rotate(0deg); } to { transform: scale(1.06) rotate(360deg); } }
.hero-art.paused .pz, .hero-art.paused .pz-top img, .hero-art.paused .pz-shadow { animation-play-state: paused; }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 8px;
  font: 800 0.72rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: #7FBF98;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 99px; background: var(--tri); }
.hero-copy { position: relative; z-index: 3; margin-top: -18px; }
.hero-title {
  font: 800 clamp(2.3rem, 11vw, 3.4rem)/0.95 var(--display); letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--it-branco); text-wrap: balance; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
.hero-copy .hero-lead { margin-top: 12px; max-width: 40ch; color: #D8D2C4; font-size: 0.98rem; line-height: 1.5; }
.hero-where { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.85rem; color: #A8A193; }
.hero-where svg, .info-cards svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-where svg { width: 16px; height: 16px; color: #E07A6F; }

.info-cards { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-cards li {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px;
  background: var(--glass), rgba(20, 20, 18, 0.45); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.info-cards svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: var(--it-branco); background: rgba(31, 107, 69, 0.55); }
.info-cards li:nth-child(2) svg { background: rgba(245, 241, 232, 0.16); }
.info-cards li:nth-child(3) svg { background: rgba(168, 50, 45, 0.6); }
.info-cards li:nth-child(4) svg { background: rgba(31, 107, 69, 0.55); }
.info-cards span { display: grid; min-width: 0; }
.info-cards small { font-size: 0.7rem; color: #A8A193; }
.info-cards b { font-size: 0.86rem; color: var(--it-branco); line-height: 1.2; }

/* faixas agora atravessam a página toda */
.ribbons { position: relative; height: 112px; margin: 18px 0 4px; overflow: hidden; }
.ribbons .ribbon { left: -6%; width: 112%; }
.ribbons .ribbon-a { bottom: auto; top: 18px; }
.ribbons .ribbon-b { bottom: auto; top: 58px; }
.ribbons.paused .ribbon-track { animation-play-state: paused; }

/* destaques da casa */
.featured { max-width: var(--col); margin: 0 auto; padding: 14px 0 6px; }
.featured > :not(ul) { padding: 0 16px; }
.featured h2, .menu-head h2 { font: 800 1.9rem/1 var(--display); text-transform: uppercase; color: var(--it-branco); }
.featured-sub { margin-top: 6px; color: #A8A193; font-size: 0.9rem; }
.featured-list {
  list-style: none; margin: 14px 0 0; padding: 4px 16px 18px; display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 16px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.featured-list::-webkit-scrollbar { display: none; }
.featured-list li { flex: none; width: min(64vw, 230px); scroll-snap-align: start; }
.fcard {
  height: 100%; display: flex; flex-direction: column; padding: 10px 10px 12px; border-radius: 20px;
  background: var(--glass), var(--glass-solid); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), 0 18px 40px -26px #000;
}
.fcard-pic { position: relative; display: block; width: 100%; aspect-ratio: 1.15; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 50% 60%, rgba(168, 50, 45, 0.25), rgba(14, 14, 13, 0.6)); }
.fcard-pic img { position: absolute; left: 50%; top: 50%; width: 92%; translate: -50% -50%; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 66%, transparent 71%); mask-image: radial-gradient(circle, #000 66%, transparent 71%);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.6)); transition: transform 0.6s var(--ease-out-quint, ease); }
@media (hover: hover) and (pointer: fine) { .fcard:hover .fcard-pic img { transform: rotate(18deg) scale(1.04); } }
.rank { position: absolute; left: 8px; top: 8px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center;
  font: 800 0.8rem/1 var(--display); background: var(--it-branco); color: #141412; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
.fcard h3 { margin-top: 10px; font: 800 1.02rem/1.15 var(--display); text-transform: uppercase; color: var(--it-branco); }
.fcard p { margin-top: 4px; font-size: 0.8rem; line-height: 1.3; color: #CFC8BA; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcard-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fcard-foot b { font-size: 0.92rem; color: #D9D3C5; font-variant-numeric: tabular-nums; }
.fcard-add { height: 34px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--it-verde); color: var(--it-branco); font: 700 0.82rem/1 var(--body); cursor: pointer; transition: transform 0.15s ease, background 0.2s ease; }
.fcard-add:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .fcard-add:hover { background: #2A8459; } }

/* categorias presas logo abaixo da barra do topo; busca segue no fluxo */
.toolbar { top: 62px; padding-top: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; transition: background 0.3s ease, box-shadow 0.3s ease; }
.toolbar.stuck { background: rgba(14, 14, 13, 0.5); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--glass-line), 0 10px 24px -14px rgba(0, 0, 0, 0.9); }
.chip { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--glass-line); }
.menu-head { max-width: var(--col); margin: 0 auto; padding: 18px 16px 0; }
.menu-head .search { padding: 0; margin-top: 14px; }
.menu-head .search input { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cat h2 { text-transform: uppercase; }

/* entrada depois da abertura */
body:not(.admin) .topbar, .hero-copy > *, .ribbons, .featured { transition: opacity 0.6s var(--ease-out-quint), transform 0.7s var(--ease-out-quint); }
.hero-art { transition: opacity 0.9s var(--ease-out-quint); }
body:not(.ready):not(.admin) .topbar { opacity: 0; transform: translateY(-12px); }
body:not(.ready) .hero-art { opacity: 0; }
body:not(.ready) .hero-art .pz-scene { transform: scale(0.8) translateY(30px); }
.hero-art .pz-scene { transition: transform 1.1s var(--ease-out-quint); }
body:not(.ready) .hero-copy > *, body:not(.ready) .ribbons, body:not(.ready) .featured { opacity: 0; transform: translateY(18px); }
body.ready .hero-copy > :nth-child(1) { transition-delay: 0.15s; }
body.ready .hero-copy > :nth-child(2) { transition-delay: 0.22s; }
body.ready .hero-copy > :nth-child(3) { transition-delay: 0.29s; }
body.ready .hero-copy > :nth-child(4) { transition-delay: 0.34s; }
body.ready .hero-copy > :nth-child(5) { transition-delay: 0.4s; }
body.ready .ribbons { transition-delay: 0.5s; }
body.ready .featured { transition-delay: 0.6s; }
body.ready:not(.admin) .topbar, body.ready .hero-copy > *, body.ready .ribbons, body.ready .featured { transform: none; }

@media (min-width: 700px) {
  .hero-art { height: 400px; }
  .pz { width: 400px; margin: -200px 0 0 -200px; }
  .hero-copy { margin-top: -6px; }
  .info-cards { grid-template-columns: repeat(4, 1fr); }
  .ribbons .ribbon-a { transform: rotate(-2deg); }
  .ribbons .ribbon-b { transform: rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .pz, .pz-top img, .pz-shadow { animation: none; }
  body:not(.admin) .topbar, .hero-copy > *, .ribbons, .featured, .hero-art, .hero-art .pz-scene { transition: none; }
}
/* a pizza em 3D não pode alargar a página no celular */
.hero-art { overflow-x: clip; }
@supports not (overflow: clip) { .hero-art { overflow: hidden; } }

/* ===== Combos promocionais (faixa de destaque no topo) ===== */
.combos { max-width: var(--col); margin: 0 auto; padding: 18px 0 6px; }
.combos > :not(ul) { padding: 0 16px; }
.combos h2 { font: 800 1.9rem/1 var(--display); text-transform: uppercase; color: var(--it-branco); }
.combos-list {
  list-style: none; margin: 14px 0 0; padding: 6px 16px 20px; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 16px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.combos-list::-webkit-scrollbar { display: none; }
.combos-list li { flex: none; width: min(80vw, 330px); scroll-snap-align: start; }
.combos-list li:only-child { width: 100%; }
.ccard {
  position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(168, 50, 45, 0.30), rgba(255, 255, 255, 0.04) 40%, rgba(31, 107, 69, 0.22)), rgba(20, 20, 18, 0.7);
  border: 1px solid rgba(224, 122, 111, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 50px -30px rgba(168, 50, 45, 0.8);
}
.ccard-pic {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  background: radial-gradient(circle at 50% 70%, rgba(255, 138, 61, 0.35), rgba(14, 14, 13, 0.2) 60%), #1A1917;
}
.ccard-pic img {
  position: absolute; left: 50%; top: 52%; width: 56%; height: auto; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle, #000 66%, transparent 71%); mask-image: radial-gradient(circle, #000 66%, transparent 71%);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6)); transition: transform 0.6s var(--ease-out-quint, ease);
}
@media (hover: hover) and (pointer: fine) { .ccard:hover .ccard-pic img { transform: rotate(16deg) scale(1.04); } }
.ccard-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 2.4rem/1 var(--display); letter-spacing: 0.08em; color: rgba(245, 241, 232, 0.16); }
.ccard-save {
  position: absolute; left: 12px; top: 12px; padding: 7px 12px; border-radius: 99px; font: 800 0.82rem/1 var(--body);
  background: var(--it-vermelho); color: var(--it-branco); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.7);
  animation: save-pulse 2.4s ease-in-out infinite;
}
.ccard-when { position: absolute; right: 12px; top: 12px; padding: 7px 12px; border-radius: 99px; font: 700 0.78rem/1 var(--body); background: rgba(14, 14, 13, 0.75); color: var(--it-branco); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
@keyframes save-pulse { 50% { transform: scale(1.06); } }
.ccard-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.ccard h3 { font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; color: var(--it-branco); }
.ccard p { margin-top: 6px; font-size: 0.86rem; line-height: 1.35; color: #CFC8BA; }
.ccard-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ccard-price { display: grid; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ccard-price s { font-size: 0.85rem; color: #A8A193; }
.ccard-price b { font: 800 1.5rem/1 var(--display); color: var(--it-branco); }
.ccard-add { height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--it-verde); color: var(--it-branco); font: 700 0.9rem/1 var(--body); cursor: pointer; transition: transform 0.15s ease, background 0.2s ease; }
.ccard-add:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .ccard-add:hover { background: #2A8459; } }

/* entra junto com o topo depois da abertura */
.combos { transition: opacity 0.6s var(--ease-out-quint), transform 0.7s var(--ease-out-quint); }
body:not(.ready) .combos { opacity: 0; transform: translateY(18px); }
body.ready .combos { transition-delay: 0.55s; transform: none; }
@media (prefers-reduced-motion: reduce) { .ccard-save { animation: none; } .combos { transition: none; } }
.sheet-deal { margin-top: 6px; color: #F2B3AB; font-weight: 600; } .sheet-deal s { color: #A8A193; } .sheet-deal b { color: var(--it-branco); }
.foot-links { margin-top: 10px; } .foot-links a { color: #A8A193; text-decoration: underline; text-underline-offset: 3px; } .foot-links a:hover { color: #F5F1E8; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 99px; background: #F5F1E8; color: #141412; font-weight: 700; text-decoration: none; } .skip:focus { top: 12px; }

/* crédito da AP4 no fim da página */
.ap4 {
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: fit-content; margin: 28px auto 0; padding: 16px 22px 14px;
  border-radius: 18px; text-decoration: none; color: #A8A193; font-size: 0.82rem; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ap4 img { width: 72px; height: auto; filter: drop-shadow(0 6px 14px rgba(255, 196, 0, 0.25)); }
.ap4 b { color: #F2C94C; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .ap4:hover { background: rgba(242, 201, 76, 0.08); box-shadow: inset 0 0 0 1px rgba(242, 201, 76, 0.35); transform: translateY(-2px); } }
.ap4:focus-visible { outline: 3px solid #F2C94C; outline-offset: 3px; }

/* =====================================================================
   v8 — fotos dos hambúrgueres (lista sem grade): foto quadrada arredondada,
   sem máscara redonda nem giro (as pizzas continuam redondas e girando)
   ===================================================================== */
.cat-list:not(.grid2) .item-pic { width: 150px; height: 150px; right: -18px; }
.cat-list:not(.grid2) .item-pic img {
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%); mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}
.cat-list:not(.grid2) .item.on .item-pic img { animation: none; }
