/* Oriental Mix: app de pedidos. Vermelho da marca dominante, base clara e quente. */
:root {
  --red: #FF3A41;
  --red-600: #EC2A32;
  --red-700: #C9161E;
  --red-900: #7A0A10;
  --red-50: #FFF1F0;
  --red-100: #FFE0DE;
  --ink: #17171A;
  --ink-2: #4F4F58;
  --ink-3: #8C8C95;
  --bg: #FFF8F5;
  --card: #FFFFFF;
  --line: #F2E7E3;
  --green: #12A150;
  --green-50: #E8F8EF;
  --gold: #FFB21E;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --sombra: 0 1px 2px rgba(122, 10, 16, .05), 0 8px 24px rgba(122, 10, 16, .07);
  --sombra-alta: 0 18px 50px rgba(60, 5, 8, .22);
  --mola: cubic-bezier(.2, .9, .25, 1.15);
  --suave: cubic-bezier(.22, .8, .24, 1);
  --topo: env(safe-area-inset-top, 0px);
  --base: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.45 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.travado { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid rgba(255, 58, 65, .45); outline-offset: 2px; border-radius: 10px; }

/* ---------- Logo (sol listrado em vetor) ---------- */
.sol { display: block; overflow: visible; }
.sol .fatia { transform-box: fill-box; }
.marca-texto {
  display: block; background: currentColor;
  -webkit-mask: url(/img/marca-nome.png) center / contain no-repeat; mask: url(/img/marca-nome.png) center / contain no-repeat;
  aspect-ratio: 933 / 121;
}
.marca-sub {
  display: block; background: currentColor;
  -webkit-mask: url(/img/marca-sub.png) center / contain no-repeat; mask: url(/img/marca-sub.png) center / contain no-repeat;
  aspect-ratio: 922 / 64;
}

/* ---------- Abertura animada ---------- */
#abertura {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 80% at 50% 30%, #FF5A5F 0%, var(--red) 45%, var(--red-700) 100%);
  transition: clip-path .75s var(--suave), opacity .4s .5s;
  clip-path: circle(150% at 50% 50%);
}
#abertura.saindo { clip-path: circle(0% at 50% 42%); opacity: 0; }
#abertura .conteudo { display: grid; justify-items: center; gap: 22px; width: min(64vw, 300px); }
#abertura .sol { width: 58%; }
#abertura .marca-texto { width: 100%; clip-path: inset(0 100% 0 0); animation: revela .7s .95s var(--suave) forwards; }
#abertura .marca-sub { width: 98%; opacity: 0; transform: translateY(8px); animation: sobe .5s 1.35s var(--suave) forwards; }
#abertura .fatia { opacity: 0; animation: fatia .75s var(--mola) forwards; }
#abertura .fatia:nth-child(1) { --de: -130%; animation-delay: .1s; }
#abertura .fatia:nth-child(2) { --de: 130%; animation-delay: .25s; }
#abertura .fatia:nth-child(3) { --de: -130%; animation-delay: .38s; }
#abertura .fatia:nth-child(4) { --de: 130%; animation-delay: .5s; }
#abertura .brilho {
  position: absolute; width: 140vmax; height: 140vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%);
  animation: pulsa 2.2s ease-in-out infinite;
}
@keyframes fatia { from { transform: translateX(var(--de)); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes revela { to { clip-path: inset(0 0 0 0); } }
@keyframes sobe { to { opacity: 1; transform: none; } }
@keyframes pulsa { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.05); opacity: 1; } }

/* ---------- Barra do topo ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding-top: var(--topo);
  color: #fff; transition: background .3s, box-shadow .3s, color .3s;
}
.topo .linha { max-width: 1180px; margin: 0 auto; height: 64px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.topo .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.topo .logo .sol { width: 34px; height: 34px; transition: transform .5s var(--mola); }
.topo .logo:hover .sol { transform: rotate(-8deg) scale(1.06); }
.topo .logo .tx { display: grid; gap: 4px; width: 118px; }
.topo .botao-topo {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; position: relative;
  background: rgba(255, 255, 255, .16); transition: background .2s, transform .2s;
}
.topo .botao-topo:active { transform: scale(.92); }
.topo .botao-topo .ponto { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--red); }
.topo.solido { background: rgba(255, 58, 65, .97); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 6px 24px rgba(122, 10, 16, .18); }
.topo.claro { color: var(--ink); background: rgba(255, 248, 245, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.topo.claro .botao-topo { background: #fff; box-shadow: var(--sombra); }
.topo.claro .ponto { box-shadow: 0 0 0 2px #fff; }
.topo .titulo-pagina { font-weight: 700; font-size: 17px; margin-right: auto; }

/* ---------- Herói ---------- */
.heroi {
  position: relative; overflow: hidden; color: #fff; padding: calc(84px + var(--topo)) 0 34px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .18) 0%, transparent 50%),
    linear-gradient(160deg, #FF4B52 0%, var(--red) 40%, var(--red-600) 100%);
  border-radius: 0 0 36px 36px;
}
.heroi .sol-fundo { position: absolute; right: -90px; top: 40px; width: 340px; opacity: .14; animation: gira-lento 40s linear infinite; pointer-events: none; }
.heroi .sol-fundo2 { position: absolute; left: -60px; bottom: -110px; width: 220px; opacity: .08; pointer-events: none; }
@keyframes gira-lento { to { transform: translateY(-8px) rotate(0); } from { transform: translateY(8px); } }
.heroi .dentro { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.status-loja {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, .18); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px);
}
.status-loja .luz { width: 9px; height: 9px; border-radius: 50%; background: #7CFFB0; box-shadow: 0 0 0 0 rgba(124, 255, 176, .7); animation: luz 2s infinite; }
.status-loja.fechada .luz { background: #FFD3D5; animation: none; }
@keyframes luz { 0% { box-shadow: 0 0 0 0 rgba(124, 255, 176, .7); } 70% { box-shadow: 0 0 0 9px rgba(124, 255, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 255, 176, 0); } }
.heroi h1 { font-size: clamp(28px, 7.4vw, 46px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 6px; max-width: 13ch; }
.heroi h1 em { font-style: normal; color: #FFE1DF; }
.heroi .sub { margin: 0 0 20px; opacity: .92; font-size: 15px; }
.modo {
  display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; position: relative;
  background: rgba(0, 0, 0, .16); margin-bottom: 14px; width: min(100%, 360px);
}
.modo button { position: relative; z-index: 1; height: 44px; border-radius: 12px; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; transition: color .3s; }
.modo button svg.i { width: 19px; height: 19px; }
.modo button[aria-pressed="true"] { color: var(--red-700); }
.modo .pilula { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .14); transition: transform .45s var(--mola); }
.modo.retirada .pilula { transform: translateX(100%); }
.info-modo { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; opacity: .95; margin-bottom: 18px; }
.info-modo span { display: inline-flex; align-items: center; gap: 6px; }
.info-modo svg.i { width: 17px; height: 17px; }
.busca { position: relative; display: block; max-width: 560px; }
.busca input {
  width: 100%; height: 54px; border: 0; border-radius: 18px; padding: 0 48px 0 50px; font-size: 15px; color: var(--ink);
  background: #fff; box-shadow: 0 12px 30px rgba(122, 10, 16, .22); outline: none; transition: box-shadow .2s;
}
.busca input:focus { box-shadow: 0 12px 30px rgba(122, 10, 16, .22), 0 0 0 4px rgba(255, 255, 255, .45); }
.busca input::placeholder { color: var(--ink-3); }
.busca > svg.i { position: absolute; left: 17px; top: 16px; color: var(--red); pointer-events: none; }
.busca .limpar { position: absolute; right: 10px; top: 9px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-3); }

.aviso-loja { max-width: 1180px; margin: 14px auto 0; padding: 0 16px; }
.aviso-loja div { background: #FFF3D6; color: #6B4A00; border-radius: var(--r); padding: 12px 16px; font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: center; }

/* ---------- Conteúdo ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 0 16px 140px; }
.secao-titulo { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 30px 2px 14px; }
.secao-titulo h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.secao-titulo p { margin: 2px 0 0; color: var(--ink-3); font-size: 13px; }

/* Destaques (banners) */
.vitrine { margin: 22px -16px 0; position: relative; }
.vitrine .trilho { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 6px; scrollbar-width: none; }
.vitrine .trilho::-webkit-scrollbar { display: none; }
.banner {
  position: relative; flex: 0 0 min(86%, 520px); aspect-ratio: 12 / 7; border-radius: var(--r-lg); overflow: hidden;
  scroll-snap-align: center; color: #fff; text-align: left; box-shadow: var(--sombra); background: var(--red-700);
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease-out; }
.banner.ativo img { transform: scale(1.08); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 4, 6, .82) 0%, rgba(20, 4, 6, .35) 55%, rgba(20, 4, 6, 0) 100%); }
.banner .txt { position: absolute; z-index: 1; left: 20px; bottom: 20px; right: 34%; }
.banner .selo { display: inline-block; background: var(--red); color: #fff; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.banner strong { display: block; font-size: clamp(19px, 5vw, 26px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.banner small { display: block; margin-top: 6px; font-size: 13px; opacity: .9; }
.pontos { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.pontos i { width: 7px; height: 7px; border-radius: 50%; background: #EBCFCB; transition: background .3s, transform .3s; }
.pontos i.on { background: var(--red); transform: scale(1.3); }

/* Mais pedidos */
.populares { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.populares::-webkit-scrollbar { display: none; }
.pop {
  flex: 0 0 150px; scroll-snap-align: start; background: var(--card); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sombra); text-align: left; position: relative; transition: transform .25s var(--mola);
}
.pop:active { transform: scale(.96); }
.pop .foto { aspect-ratio: 1; background: var(--red-50); overflow: hidden; }
.pop .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pop:hover .foto img { transform: scale(1.06); }
.pop .t { padding: 10px 12px 12px; }
.pop b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; height: 2.5em; overflow: hidden; }
.pop .preco { color: var(--red-700); font-weight: 700; font-size: 14px; margin-top: 4px; }
.pop .rank { position: absolute; top: 8px; left: 8px; background: rgba(255, 255, 255, .95); color: var(--red-700); font-weight: 800; font-size: 12px; border-radius: 10px; padding: 3px 8px; }

/* Abas de categoria */
.abas {
  position: sticky; top: calc(64px + var(--topo)); z-index: 20; margin: 26px -16px 0; padding: 10px 16px;
  background: rgba(255, 248, 245, .94); backdrop-filter: blur(12px); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  transition: box-shadow .3s;
}
.abas.grudada { box-shadow: 0 8px 18px rgba(122, 10, 16, .07); }
.abas::-webkit-scrollbar { display: none; }
.abas button {
  flex: none; height: 40px; padding: 0 16px; border-radius: 99px; background: #fff; font-weight: 600; font-size: 13.5px;
  color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .25s, color .25s, box-shadow .25s, transform .2s;
}
.abas button:active { transform: scale(.95); }
.abas button.on { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(255, 58, 65, .35); }

.categoria { scroll-margin-top: calc(120px + var(--topo)); }
.categoria .lista { display: grid; gap: 12px; }
@media (min-width: 760px) { .categoria .lista { grid-template-columns: 1fr 1fr; } }

.item {
  display: flex; gap: 14px; align-items: stretch; padding: 14px; border-radius: var(--r); background: var(--card);
  box-shadow: var(--sombra); text-align: left; width: 100%; position: relative; transition: transform .25s var(--mola), box-shadow .25s;
}
.item:hover { box-shadow: 0 1px 2px rgba(122, 10, 16, .05), 0 14px 32px rgba(122, 10, 16, .11); }
.item:active { transform: scale(.985); }
.item .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h3 { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.item p { margin: 4px 0 8px; font-size: 13px; color: var(--ink-3); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .rodape { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.item .preco { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.item .preco.promo { color: var(--green); }
.item .de { font-size: 12.5px; color: var(--ink-3); text-decoration: line-through; }
.item .serve { font-size: 12px; color: var(--ink-3); }
.item .foto { width: 112px; height: 112px; border-radius: 14px; overflow: hidden; flex: none; position: relative; background: var(--red-50); }
.item .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--suave); }
.item:hover .foto img { transform: scale(1.07); }
.item .mais {
  position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--red); box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
.item .mais svg.i { width: 20px; height: 20px; stroke-width: 2.6; }
.item .qtd-na-sacola {
  position: absolute; left: -6px; top: -6px; min-width: 26px; height: 26px; border-radius: 99px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 700; padding: 0 7px; box-shadow: 0 4px 10px rgba(255, 58, 65, .4);
  animation: estala .4s var(--mola);
}
@keyframes estala { from { transform: scale(0); } }
.item.esgotado { opacity: .55; }
.item.esgotado .foto img { filter: grayscale(1); }
.etiqueta-esgotado { font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: #EEE; border-radius: 8px; padding: 2px 8px; }

.selos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.selo { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--red-50); color: var(--red-700); white-space: nowrap; }
.selo.novo { background: #EAF2FF; color: #1D4ED8; }
.selo.promo { background: var(--green-50); color: #0B7A3B; }
.selo.picante { background: #FFF0E0; color: #B54708; }
.selo.vegetariano { background: #EAF7E6; color: #2F7A12; }

/* Item sem foto: padrão do sol da marca */
.sem-foto { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, var(--red-50), var(--red-100)); color: var(--red); }
.sem-foto .sol { width: 46%; opacity: .55; }

.vazio-busca { text-align: center; padding: 50px 20px; color: var(--ink-3); }
.vazio-busca .sol { width: 70px; margin: 0 auto 14px; color: var(--red-100); }

/* Entrada suave dos cartões ao rolar */
.surge { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--suave), transform .55s var(--suave); }
.surge.visto { opacity: 1; transform: none; }

/* ---------- Barra da sacola ---------- */
.barra-sacola {
  position: fixed; z-index: 40; left: 50%; bottom: calc(14px + var(--base)); width: min(calc(100% - 28px), 520px);
  transform: translate(-50%, 140%); transition: transform .5s var(--mola);
}
.barra-sacola.on { transform: translate(-50%, 0); }
.barra-sacola button {
  width: 100%; height: 62px; border-radius: 20px; background: var(--red); color: #fff; display: flex; align-items: center; gap: 12px;
  padding: 0 12px 0 10px; box-shadow: 0 14px 34px rgba(255, 58, 65, .45), 0 2px 0 rgba(255, 255, 255, .25) inset;
  font-weight: 600; font-size: 15px;
}
.barra-sacola .cont { width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; position: relative; }
.barra-sacola .cont b { position: absolute; top: -5px; right: -5px; background: #fff; color: var(--red-700); font-size: 11.5px; min-width: 21px; height: 21px; border-radius: 99px; display: grid; place-items: center; padding: 0 5px; }
.barra-sacola .total { margin-left: auto; font-weight: 700; background: rgba(0, 0, 0, .14); padding: 9px 14px; border-radius: 13px; }
.barra-sacola.pula button { animation: pula .55s var(--mola); }
@keyframes pula { 30% { transform: scale(1.06); } 60% { transform: scale(.97); } }
.voador { position: fixed; z-index: 90; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); border: 3px solid #fff; background: var(--red); }
.voador img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Folha (produto) ---------- */
.veu { position: fixed; inset: 0; z-index: 60; background: rgba(23, 10, 12, .5); opacity: 0; transition: opacity .35s; backdrop-filter: blur(2px); }
.veu.on { opacity: 1; }
.folha {
  position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 94vh; background: var(--card); border-radius: 28px 28px 0 0;
  display: flex; flex-direction: column; transform: translateY(105%); transition: transform .5s var(--suave); overflow: hidden;
  box-shadow: var(--sombra-alta);
}
.folha.on { transform: none; }
@media (min-width: 760px) {
  .folha { left: 50%; right: auto; bottom: auto; top: 50%; width: 560px; max-height: min(88vh, 860px); border-radius: 28px; transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: transform .45s var(--suave), opacity .3s; }
  .folha.on { transform: translate(-50%, -50%); opacity: 1; }
}
.folha .rolagem { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.folha .capa { position: relative; aspect-ratio: 16 / 11; background: var(--red-50); overflow: hidden; }
.folha .capa img { width: 100%; height: 100%; object-fit: cover; animation: zoom-capa 1.2s var(--suave); }
@keyframes zoom-capa { from { transform: scale(1.12); } }
.folha .capa.sem { aspect-ratio: 16 / 7; }
.folha .fechar {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .95);
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.folha .alca { position: absolute; z-index: 2; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 9px; background: rgba(255, 255, 255, .85); }
.folha .corpo { padding: 20px 20px 10px; }
.folha h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.folha .desc { color: var(--ink-2); margin: 8px 0 12px; font-size: 14.5px; }
.folha .linha-preco { display: flex; align-items: baseline; gap: 10px; }
.folha .linha-preco .preco { font-size: 20px; font-weight: 700; }
.folha .linha-preco .preco.promo { color: var(--green); }
.folha .linha-preco .de { text-decoration: line-through; color: var(--ink-3); }
.folha .serve-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #F6F1EF; border-radius: 99px; padding: 5px 11px; margin-top: 10px; }
.folha .serve-chip svg.i { width: 15px; height: 15px; }
.grupo { margin: 18px 0 0; border-top: 8px solid #F8F3F1; }
.grupo-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 10px; background: #FBF8F7; }
.grupo-cab b { display: block; font-size: 15px; }
.grupo-cab small { color: var(--ink-3); font-size: 12.5px; }
.grupo-cab .obrig { font-size: 11px; font-weight: 700; background: var(--ink); color: #fff; padding: 4px 9px; border-radius: 8px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.grupo-cab .obrig.ok { background: var(--green); }
.grupo.alerta .grupo-cab { animation: treme .45s; }
@keyframes treme { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.opcao { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #F5EEEC; cursor: pointer; }
.opcao:last-child { border-bottom: 0; }
.opcao .nome { flex: 1; font-size: 14.5px; }
.opcao .ad { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao .marca { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #D9CFCC; display: grid; place-items: center; transition: all .2s; flex: none; }
.opcao input[type=checkbox] + .marca { border-radius: 8px; }
.opcao input:checked + .marca { background: var(--red); border-color: var(--red); }
.opcao input:checked + .marca::after { content: ''; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.opcao input:disabled ~ * { opacity: .45; }
.obs { padding: 18px 20px 24px; border-top: 8px solid #F8F3F1; }
.obs label { font-weight: 600; font-size: 14.5px; display: block; margin-bottom: 8px; }
textarea, .campo input, .campo select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; font-size: 15px; background: #fff; outline: none; resize: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea:focus, .campo input:focus, .campo select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 58, 65, .12); }
.folha .acoes { display: flex; gap: 12px; padding: 14px 16px calc(14px + var(--base)); border-top: 1px solid var(--line); background: #fff; }
.contador { display: flex; align-items: center; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); }
.contador button { width: 46px; height: 54px; display: grid; place-items: center; color: var(--red); }
.contador button:disabled { color: #D8CFCC; }
.contador span { min-width: 26px; text-align: center; font-weight: 700; font-size: 16px; }
.contador.mini button { width: 36px; height: 38px; }
.contador.mini span { min-width: 20px; font-size: 14.5px; }
.botao {
  flex: 1; height: 54px; border-radius: 16px; background: var(--red); color: #fff; font-weight: 700; font-size: 15.5px;
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 10px 22px rgba(255, 58, 65, .32); text-decoration: none;
}
.botao:active { transform: scale(.97); }
.botao:disabled { background: #E9DCD9; color: #A79A97; box-shadow: none; cursor: not-allowed; }
.botao.entre { justify-content: space-between; }
.botao.secundario { background: #fff; color: var(--red-700); box-shadow: inset 0 0 0 1.5px var(--red-100); }
.botao.verde { background: #1FAF5A; box-shadow: 0 10px 22px rgba(31, 175, 90, .3); }
.botao.escuro { background: var(--ink); box-shadow: none; }
.botao.pequeno { height: 44px; font-size: 14px; border-radius: 14px; flex: none; }

/* ---------- Páginas (sacola, finalizar, pedido) ---------- */
.pagina { max-width: 640px; margin: 0 auto; padding: calc(78px + var(--topo)) 16px 150px; animation: entra-pagina .45s var(--suave); }
@keyframes entra-pagina { from { opacity: 0; transform: translateY(14px); } }
.cartao { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sombra); padding: 18px; margin-bottom: 14px; }
.cartao > h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.cartao > h3 .n { width: 26px; height: 26px; border-radius: 9px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 13px; }
.linha-sacola { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F5EEEC; align-items: flex-start; }
.linha-sacola:last-child { border-bottom: 0; }
.linha-sacola .mini-foto { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; flex: none; background: var(--red-50); }
.linha-sacola .mini-foto img { width: 100%; height: 100%; object-fit: cover; }
.linha-sacola .info { flex: 1; min-width: 0; }
.linha-sacola b { font-weight: 600; font-size: 14.5px; display: block; }
.linha-sacola small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.linha-sacola .val { font-weight: 700; font-size: 14.5px; margin-top: 4px; }
.linha-sacola .lado { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.link-acao { color: var(--red-700); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.link-acao svg.i { width: 16px; height: 16px; }
.resumo { display: grid; gap: 8px; font-size: 14.5px; }
.resumo div { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.resumo .verde { color: var(--green); font-weight: 600; }
.resumo .total { color: var(--ink); font-weight: 800; font-size: 18px; padding-top: 10px; margin-top: 4px; border-top: 1.5px dashed transparent; box-shadow: 0 -1.5px 0 #F2E7E3; }
.minimo { background: #FFF6E5; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: #7A5200; margin-bottom: 14px; }
.minimo .barra { height: 7px; border-radius: 9px; background: #FBE3B3; margin-top: 8px; overflow: hidden; }
.minimo .barra i { display: block; height: 100%; background: var(--gold); border-radius: 9px; transition: width .5s var(--suave); }
.cupom { display: flex; gap: 8px; }
.cupom input { flex: 1; text-transform: uppercase; }
.cupom-ok { display: flex; align-items: center; gap: 10px; background: var(--green-50); color: #0B6B34; border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.cupom-ok button { margin-left: auto; color: #0B6B34; font-weight: 600; font-size: 13px; }

.escolhas { display: grid; gap: 10px; }
.escolhas.duas { grid-template-columns: 1fr 1fr; }
.escolha {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer;
  transition: box-shadow .2s, background .2s; position: relative; text-align: left; width: 100%;
}
.escolha input { position: absolute; opacity: 0; pointer-events: none; }
.escolha .ic { width: 42px; height: 42px; border-radius: 13px; background: #F7F1EF; display: grid; place-items: center; color: var(--ink-2); flex: none; transition: all .2s; }
.escolha b { display: block; font-size: 14.5px; font-weight: 600; }
.escolha small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.35; }
.escolha:has(input:checked), .escolha.on { box-shadow: inset 0 0 0 2px var(--red); background: var(--red-50); }
.escolha:has(input:checked) .ic, .escolha.on .ic { background: var(--red); color: #fff; }
.escolha:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.campos { display: grid; gap: 12px; grid-template-columns: repeat(6, 1fr); }
.campo { grid-column: span 6; display: grid; gap: 6px; align-content: start; }
.campo input, .campo select { height: 50px; }
.campo.cupom { display: flex; gap: 8px; }
.cupom input::placeholder { text-transform: none; }
.campo.metade { grid-column: span 3; }
.campo.terco { grid-column: span 2; }
.campo.dois-tercos { grid-column: span 4; }
.campo label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.campo input.erro, .campo select.erro { border-color: var(--red); background: #FFF7F7; }
.dica { font-size: 12.5px; color: var(--ink-3); }
.troco { margin-top: 12px; }
.loja-retirada { display: flex; gap: 12px; align-items: center; background: #F9F4F2; border-radius: 16px; padding: 14px; }
.loja-retirada .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }

.rodape-fixo {
  position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + var(--base));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -8px 28px rgba(122, 10, 16, .1);
}
.rodape-fixo .dentro { max-width: 608px; margin: 0 auto; display: flex; gap: 10px; }

/* Vazio */
.vazio { text-align: center; padding: 40px 20px; }
.vazio .sol { width: 110px; margin: 0 auto 20px; color: var(--red-100); }
.vazio h2 { margin: 0 0 6px; font-size: 22px; }
.vazio p { color: var(--ink-3); margin: 0 0 22px; }

/* ---------- Acompanhamento ---------- */
.acompanha-topo {
  border-radius: 28px; padding: 26px 22px 22px; color: #fff; position: relative; overflow: hidden; margin-bottom: 14px;
  background: linear-gradient(150deg, #FF4B52, var(--red) 45%, var(--red-700));
  box-shadow: 0 18px 40px rgba(255, 58, 65, .3);
}
.acompanha-topo.cancelado { background: linear-gradient(150deg, #6B6B73, #3E3E45); box-shadow: none; }
.acompanha-topo.entregue { background: linear-gradient(150deg, #22C06A, #0E8E47); box-shadow: 0 18px 40px rgba(18, 161, 80, .3); }
.acompanha-topo .sol-grande { position: absolute; right: -40px; top: -30px; width: 190px; opacity: .16; }
.acompanha-topo .codigo { font-size: 13px; opacity: .9; font-weight: 600; letter-spacing: .03em; }
.acompanha-topo h1 { margin: 6px 0 4px; font-size: 26px; line-height: 1.15; font-weight: 800; max-width: 15ch; position: relative; }
.acompanha-topo p { margin: 0; opacity: .92; font-size: 14.5px; position: relative; }
.acompanha-topo .previsao { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .18); border-radius: 16px; padding: 10px 14px; position: relative; }
.acompanha-topo .previsao b { font-size: 20px; }
.anima-status { position: relative; height: 92px; margin: 4px 0 8px; }
.anima-status .sol { position: absolute; left: 0; top: 0; width: 86px; height: 86px; color: #fff; }
.anima-status.preparo .sol .fatia { animation: chiado 1.4s ease-in-out infinite; }
.anima-status.preparo .sol .fatia:nth-child(2) { animation-delay: .12s; }
.anima-status.preparo .sol .fatia:nth-child(3) { animation-delay: .24s; }
.anima-status.preparo .sol .fatia:nth-child(4) { animation-delay: .36s; }
@keyframes chiado { 50% { transform: translateX(6px); } }
.anima-status.saiu .sol { animation: anda 1.6s ease-in-out infinite; }
@keyframes anda { 50% { transform: translateX(14px) rotate(4deg); } }
.anima-status.recebido .sol { animation: pulsa 1.8s ease-in-out infinite; }
.anima-status.entregue .sol { animation: estala .6s var(--mola); }

.linha-tempo { list-style: none; margin: 0; padding: 4px 0; }
.linha-tempo li { position: relative; display: flex; gap: 14px; padding: 0 0 22px; }
.linha-tempo li:last-child { padding-bottom: 0; }
.linha-tempo li::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: #EFE5E2; }
.linha-tempo li:last-child::before { display: none; }
.linha-tempo li.feito::before { background: var(--red); }
.linha-tempo .bola { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F3ECEA; color: #BBAFAC; flex: none; position: relative; z-index: 1; transition: all .4s var(--mola); }
.linha-tempo .bola svg.i { width: 17px; height: 17px; }
.linha-tempo li.feito .bola { background: var(--red); color: #fff; }
.linha-tempo li.atual .bola { background: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(255, 58, 65, .18); animation: anel 1.8s infinite; }
@keyframes anel { 50% { box-shadow: 0 0 0 10px rgba(255, 58, 65, .08); } }
.linha-tempo b { display: block; font-size: 14.5px; font-weight: 600; padding-top: 5px; }
.linha-tempo li:not(.feito):not(.atual) b { color: var(--ink-3); font-weight: 500; }
.linha-tempo small { color: var(--ink-3); font-size: 12.5px; }

.pix-caixa { text-align: center; }
.pix-caixa .codigo-pix { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; word-break: break-all; background: #F8F3F1; border-radius: 14px; padding: 12px; color: var(--ink-2); margin: 12px 0; max-height: 84px; overflow: hidden; text-align: left; }
.pago-ok { display: flex; align-items: center; gap: 10px; background: var(--green-50); color: #0B6B34; border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 14px; }

.lista-pedidos { display: grid; gap: 12px; }
.ped {
  display: flex; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 14px; box-shadow: var(--sombra); text-decoration: none; text-align: left; width: 100%;
}
.ped .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.ped .info { flex: 1; min-width: 0; }
.ped b { display: block; font-size: 14.5px; }
.ped small { color: var(--ink-3); font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-status { font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 4px 10px; background: var(--red-50); color: var(--red-700); white-space: nowrap; }
.chip-status.entregue { background: var(--green-50); color: #0B7A3B; }
.chip-status.cancelado { background: #EEE; color: #555; }

/* ---------- Sobre ---------- */
.sobre-capa { border-radius: 28px; overflow: hidden; position: relative; aspect-ratio: 16 / 10; margin-bottom: 14px; box-shadow: var(--sombra); }
.sobre-capa img { width: 100%; height: 100%; object-fit: cover; }
.sobre-capa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 58, 65, 0) 30%, rgba(122, 10, 16, .85)); }
.sobre-capa .marca { position: absolute; z-index: 1; left: 20px; bottom: 18px; right: 20px; color: #fff; display: flex; align-items: center; gap: 14px; }
.sobre-capa .marca .sol { width: 54px; }
.sobre-capa .marca .tx { display: grid; gap: 6px; width: 180px; }
.horarios { width: 100%; border-collapse: collapse; font-size: 14px; }
.horarios td { padding: 9px 0; border-bottom: 1px solid #F5EEEC; }
.horarios td:last-child { text-align: right; color: var(--ink-2); }
.horarios tr.hoje td { font-weight: 700; color: var(--red-700); }
.contatos { display: grid; gap: 10px; }
.contato { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #FAF6F4; text-decoration: none; }
.contato .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: var(--sombra); flex: none; }
.contato small { display: block; color: var(--ink-3); font-size: 12.5px; }
.contato b { font-weight: 600; font-size: 14.5px; }
.credito { text-align: center; color: var(--ink-3); font-size: 12.5px; padding: 26px 0 8px; }
.credito a { color: var(--red-700); font-weight: 600; text-decoration: none; }

.rodape-site { max-width: 1180px; margin: 40px auto 0; padding: 0 16px; }
.rodape-site .caixa { background: var(--ink); color: #fff; border-radius: 28px; padding: 26px 22px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.rodape-site .caixa .sol { position: absolute; right: -50px; bottom: -60px; width: 200px; color: var(--red); opacity: .9; }
.rodape-site .caixa .marca { display: grid; gap: 6px; width: 170px; }
.rodape-site .caixa p { margin: 0; color: #C9C9CF; font-size: 13.5px; max-width: 40ch; position: relative; }
.rodape-site .caixa .acoes-rodape { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.rodape-site .caixa .acoes-rodape a { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; text-decoration: none; }

/* ---------- Avisos ---------- */
.toast {
  position: fixed; z-index: 95; left: 50%; top: calc(14px + var(--topo)); transform: translate(-50%, -220%); visibility: hidden; background: var(--ink); color: #fff;
  border-radius: 16px; padding: 12px 18px; font-size: 14px; font-weight: 500; box-shadow: var(--sombra-alta); transition: transform .45s var(--mola), visibility .45s;
  max-width: calc(100% - 28px); display: flex; gap: 10px; align-items: center;
}
.toast.on { transform: translate(-50%, 0); visibility: visible; }
.toast.erro { background: var(--red-700); }

.instalar {
  position: fixed; z-index: 45; left: 50%; bottom: calc(88px + var(--base)); width: min(calc(100% - 28px), 520px); transform: translate(-50%, 30px); opacity: 0;
  background: var(--ink); color: #fff; border-radius: 20px; padding: 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--sombra-alta);
  transition: transform .5s var(--mola), opacity .3s; pointer-events: none;
}
.instalar.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.instalar .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--red); display: grid; place-items: center; flex: none; }
.instalar .ic .sol { width: 28px; }
.instalar b { display: block; font-size: 14.5px; }
.instalar small { color: #BDBDC4; font-size: 12.5px; }
.instalar .x { color: #BDBDC4; padding: 6px; }

.carregando { display: grid; place-items: center; padding: 80px 0; }
.giro .fatia { animation: chiado 1s ease-in-out infinite; }
.giro .fatia:nth-child(2) { animation-delay: .1s; }
.giro .fatia:nth-child(3) { animation-delay: .2s; }
.giro .fatia:nth-child(4) { animation-delay: .3s; }

.esqueleto { background: linear-gradient(90deg, #F5ECE9 0%, #FBF6F4 50%, #F5ECE9 100%); background-size: 200% 100%; animation: brilho 1.2s infinite; border-radius: var(--r); }
@keyframes brilho { to { background-position: -200% 0; } }

/* Confete do pedido feito */
.confete { position: fixed; inset: 0; pointer-events: none; z-index: 96; overflow: hidden; }
.confete i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: cai 2.4s cubic-bezier(.3, .6, .4, 1) forwards; }
@keyframes cai { to { transform: translate(var(--x), 110vh) rotate(var(--r)); } }

@media (min-width: 900px) {
  .heroi { padding-top: calc(104px + var(--topo)); padding-bottom: 48px; border-radius: 0 0 48px 48px; }
  .heroi .sol-fundo { width: 520px; right: 4%; top: 60px; opacity: .17; }
  .banner { flex-basis: 34%; }
  .banner strong { font-size: 22px; }
  .vitrine .trilho { padding: 0 max(16px, calc((100vw - 1148px) / 2)); }
  .vitrine { margin: 28px calc(-1 * max(16px, (100vw - 1148px) / 2)) 0; }
}
@media (max-width: 380px) {
  .item .foto { width: 92px; height: 92px; }
  .campo.metade { grid-column: span 6; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .surge { opacity: 1; transform: none; }
}
