﻿/* FY Menu — vitrine + cardápio digital
   Minimalista: botões redondos, sem brilhos, foco total no produto. */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #161616;
  --muted: #76726b;
  --line: #e7e4de;
  --soft: #efede8;
  --accent: #161616;
  --on-accent: #ffffff;
  --radius: 20px;
  --dark: #0e0e0e;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* o atributo hidden sempre esconde (classes com display não podem anular) */
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }
img, video { display: block; }
a { color: inherit; text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Botões ---------- */
.btn-round {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); transition: background .15s;
}
.btn-round:active { background: var(--soft); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--accent); color: var(--on-accent); transition: opacity .15s, transform .15s;
}
.pill:active { transform: scale(.98); }
.pill:disabled { opacity: .35; cursor: default; }
.pill.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.pill.block { width: 100%; }
.pill .spacer { flex: 1; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- Home da vitrine ---------- */
.home { padding-top: calc(20px + var(--safe-t)); padding-bottom: calc(110px + var(--safe-b)); }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand .logo {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft);
  display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none;
}
.brand h1 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.brand .spacer { flex: 1; }
.eyebrow { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { text-align: left; display: block; }
.cat-card .cover {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--soft);
}
.cat-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover .cover img { transform: scale(1.03); }
.cat-card .name { margin: 10px 2px 0; font-weight: 600; }
.cat-card .count { margin: 0 2px; color: var(--muted); font-size: 13px; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 20px calc(16px + var(--safe-b));
  display: flex; justify-content: center; gap: 10px; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 55%, transparent);
}
.dock > * { pointer-events: auto; }
.dock .pill { min-width: 220px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.empty { text-align: center; color: var(--muted); padding: 60px 20px; }

/* ---------- Feed (estilo reels) ---------- */
.feed-shell { position: fixed; inset: 0; background: var(--dark); color: #fff; }
.feed-col { position: relative; height: 100%; margin: 0 auto; width: 100%; max-width: calc(100dvh * 9 / 16); }
@media (min-width: 700px) { .feed-col { border-left: 1px solid #1c1c1c; border-right: 1px solid #1c1c1c; } }
.feed {
  height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  scrollbar-width: none;
}
.feed::-webkit-scrollbar { display: none; }
.slide { position: relative; height: 100dvh; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track .m { flex: 0 0 100%; height: 100%; scroll-snap-align: center; position: relative; background: #151515; }
.track .m img, .track .m video { width: 100%; height: 100%; object-fit: cover; }
.slide .noimg {
  height: 100%; display: grid; place-items: center; padding: 40px; text-align: center;
  background: #171717; font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: #d9d6d0;
}
.scrim { position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); }
.scrim.top { inset: 0 0 auto 0; height: 140px; background: linear-gradient(to bottom, rgba(0,0,0,.38), rgba(0,0,0,0)); }

.feed-top {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px;
  padding: calc(12px + var(--safe-t)) 12px 0;
}
.glass {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(20,20,20,.38); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.feed-chips { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.feed-chips::-webkit-scrollbar { display: none; }
.feed-chips button {
  height: 34px; padding: 0 14px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.82); background: rgba(20,20,20,.32); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.feed-chips button[aria-current="true"] { background: #fff; color: #111; }

.rail {
  position: absolute; z-index: 4; right: 12px; bottom: calc(120px + var(--safe-b));
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.rail .act { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; }
.rail .glass { width: 50px; height: 50px; }
.rail .liked svg { fill: #fff; }
.info {
  position: absolute; z-index: 3; left: 0; right: 76px; bottom: 0; padding: 0 18px calc(26px + var(--safe-b));
}
.info h2 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.01em; line-height: 1.2; }
.info .price { font-weight: 600; font-size: 16px; margin-bottom: 8px; opacity: .95; }
.info .desc {
  margin: 0; font-size: 14px; color: rgba(255,255,255,.86); display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer;
}
.info .desc.open { -webkit-line-clamp: unset; }
.info .soldout { display: inline-block; margin-bottom: 8px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }
.dots { display: flex; gap: 5px; margin-bottom: 12px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.dots i.on { background: #fff; }
.heart-pop {
  position: absolute; z-index: 6; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  color: #fff; pointer-events: none; animation: pop .55s ease forwards;
}
.heart-pop svg { width: 100%; height: 100%; fill: #fff; stroke: none; }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
.paused-ind { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.paused-ind .glass { width: 64px; height: 64px; }
.feed-order { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(18px + var(--safe-b)); display: none; justify-content: center; }

/* ---------- Cardápio digital ---------- */
.menu-head { position: relative; z-index: 10; background: var(--bg); padding-top: var(--safe-t); }
/* busca + categorias: logo acima dos produtos e presas no topo ao rolar */
.menu-nav {
  position: sticky; top: 0; z-index: 10; margin: 18px -20px 0; padding: calc(10px + var(--safe-t)) 20px 0;
  background: var(--bg-glass, rgba(247,246,243,.94)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
/* banner do topo (Design do site): largo no computador, recortado no centro no celular */
.store-banner { margin: 12px 0 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--soft); }
.store-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .store-banner { aspect-ratio: 32 / 9; margin-top: 16px; } }
.home .store-banner { margin: 0 0 20px; }
/* fundo escuro: ajustes de partes com cor fixa */
.dark-bg .search, .dark-bg .tabs button { background: var(--surface); border-color: var(--line); }
.dark-bg .tabs button[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dark-bg .pf-closed { background: #3a1f1c; border-color: #5a2e29; }
.dark-bg .chip { color: var(--ink); }
.menu-head .bar { display: flex; align-items: center; gap: 12px; padding: 12px 0 10px; }
.menu-head .title { flex: 1; min-width: 0; }
.menu-head .title b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-head .title span { font-size: 13px; color: var(--muted); }
.search {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); margin-bottom: 10px;
}
.search input { border: 0; outline: 0; background: none; flex: 1; color: var(--ink); min-width: 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { height: 36px; padding: 0 16px; border-radius: 999px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.tabs button[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.section { padding-top: 22px; scroll-margin-top: 112px; }
.section h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
/* título da categoria: no celular, toca para recolher/abrir */
.sec-h { display: flex; align-items: center; gap: 10px; width: 100%; padding: 4px 0 6px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.sec-h h3 { flex: 1; min-width: 0; }
.sec-h .sec-n { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sec-h .chev { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .2s; }
.section.closed .sec-h .chev { transform: rotate(-90deg); }
.section.closed .sec-items { display: none; }
.section.closed { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.menu-main.searching .section.closed .sec-items { display: block; } /* buscando: mostra tudo */
.sec-all { display: flex; justify-content: flex-end; margin: 10px 0 -10px; }
.sec-all .linkbtn { margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.row .txt .price small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.row .txt .price em { font-style: normal; color: var(--accent-text, var(--ink)); }

/* Computador: cartões em 2 colunas (lista mais curta); categorias sempre abertas */
@media (min-width: 900px) {
  .menu-wrap, .menu-main { max-width: 1140px; }
  .sec-h { cursor: default; pointer-events: none; padding-bottom: 12px; }
  .sec-h .chev, .sec-h .sec-n, .sec-all { display: none; }
  .section.closed { padding-bottom: 0; border-bottom: 0; }
  .section .sec-items, .section.closed .sec-items, .menu-main.searching .section.closed .sec-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .section { padding-top: 30px; }
  .section h3 { font-size: 21px; }
  .sec-items .row {
    padding: 18px 18px 18px 20px; border: 0; border-radius: 20px; background: var(--surface); align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 18px rgba(0,0,0,.05); transition: box-shadow .15s, transform .15s;
  }
  .sec-items .row:hover { box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 10px 26px rgba(0,0,0,.09); transform: translateY(-1px); }
  .sec-items .row[hidden] { display: none; }
  .sec-items .row .txt b { font-size: 15.5px; }
  .sec-items .row .txt .price em { font-size: 17px; }
  .sec-items .row .thumb { width: 132px; height: 100px; border-radius: 14px; }
  .profile { max-width: none; }
}
.row {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row .txt { flex: 1; min-width: 0; }
.row .txt b { display: block; font-weight: 600; margin-bottom: 3px; }
.row .txt p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .txt .price { font-weight: 600; font-size: 14.5px; }
.row .thumb { width: 92px; height: 92px; border-radius: 18px; overflow: hidden; flex: none; background: var(--soft); position: relative; }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .thumb .play { position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; }
.row .thumb .play svg { width: 12px; height: 12px; fill: #fff; stroke: none; }
.row.off { opacity: .45; }
.tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; margin-left: 6px; font-weight: 500; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 20px calc(14px + var(--safe-b)); background: linear-gradient(to top, var(--bg) 60%, transparent); }
.cartbar .pill { width: 100%; max-width: 680px; margin: 0 auto; display: flex; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.cartbar .count { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 13px; }

/* ---------- Bottom sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(15,15,15,.42); opacity: 0; transition: opacity .2s; }
.sheet {
  position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1);
  max-width: 560px; margin: 0 auto; color: var(--ink);
}
.sheet.open { transform: translateY(0); }
/* Computador/tablet: janela sempre centralizada na tela; o conteúdo rola por dentro (adicionais, sabores...) */
@media (min-width: 700px) {
  .sheet { top: 50%; bottom: auto; max-height: min(88dvh, 860px); border-radius: 26px; transform: translateY(calc(-50% + 40px)); opacity: 0; transition: transform .22s, opacity .22s; }
  .sheet.open { transform: translateY(-50%); opacity: 1; }
}
.sheet-backdrop.open { opacity: 1; }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 10px auto 0; flex: none; }
.sheet .close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.sheet .body { overflow-y: auto; padding: 0 22px 20px; flex: 1; overscroll-behavior: contain; }
.sheet .foot { padding: 14px 22px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; flex: none; }
.sheet h2 { font-size: 22px; margin: 18px 0 6px; letter-spacing: -.01em; padding-right: 40px; }
.sheet .lead { color: var(--muted); margin: 0 0 8px; }
.sheet .price-lg { font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.sheet-media { margin: 14px -22px 0; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.sheet-media img, .sheet-media video { width: 100%; height: 100%; object-fit: cover; }
.group { margin-top: 18px; }
.group-h { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px; margin: 0 -22px; background: var(--bg); }
.group-h b { font-size: 15px; }
.group-h small { color: var(--muted); display: block; font-size: 12.5px; }
.req { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; }
.req.ok { background: var(--soft); color: var(--muted); }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt .n { flex: 1; }
.opt .p { color: var(--muted); font-size: 14px; }
.mark { width: 24px; height: 24px; border-radius: 50%; border: 1.6px solid #c9c5bd; display: grid; place-items: center; flex: none; transition: all .12s; }
.mark svg { width: 14px; height: 14px; stroke-width: 2.4; opacity: 0; }
.opt[aria-checked="true"] .mark { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt[aria-checked="true"] .mark svg { opacity: 1; }
.opt[aria-disabled="true"] { opacity: .4; cursor: default; }
.opt.soldout-opt .p { color: #a2321f; font-weight: 500; }
.opt.soldout-opt .mark { visibility: hidden; }
.field { display: block; margin-top: 16px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.pay-hint { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 13px 16px; outline: 0; resize: none;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.stepper { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; flex: none; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.stepper button:active { background: var(--soft); }
.stepper button:disabled { opacity: .3; }
.stepper output { min-width: 22px; text-align: center; font-weight: 600; }
.stepper.sm button { width: 32px; height: 32px; }
.stepper.sm svg { width: 18px; height: 18px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cart-item .txt { flex: 1; min-width: 0; }
.cart-item .txt b { display: block; }
.cart-item .txt small { color: var(--muted); display: block; font-size: 13px; }
.cart-item .val { font-weight: 600; margin-top: 4px; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--soft); margin-top: 6px; }
.seg button { flex: 1; height: 42px; border-radius: 999px; font-weight: 500; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.totals { display: flex; justify-content: space-between; padding: 16px 0 4px; font-weight: 600; font-size: 16px; }
.totals.fee-row { font-weight: 400; color: var(--muted); font-size: 15px; padding-bottom: 0; }
.dot-st { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c9473a; margin-right: 6px; }
.dot-st.on { background: #2f8f4e; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field select { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; font: inherit; background: var(--surface); color: var(--ink); outline: 0; }
.field select:focus { border-color: var(--ink); }
.pac-container { z-index: 100 !important; border-radius: 14px; margin-top: 4px; font-family: var(--font); } /* sugestões do Google sobre a sacola */
.err { color: #b42318; font-size: 14px; margin-top: 12px; }

/* ---------- Acompanhamento do pedido ---------- */
.status { padding-top: calc(24px + var(--safe-t)); padding-bottom: 40px; }
.status .num { font-size: 56px; font-weight: 700; letter-spacing: -.03em; margin: 18px 0 0; line-height: 1; }
.status .lbl { font-size: 20px; font-weight: 600; margin: 10px 0 4px; }
.steps { display: flex; gap: 8px; margin: 26px 0; }
.steps div { flex: 1; }
.steps i { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.steps .on i { background: var(--ink); }
.steps span { font-size: 13px; color: var(--muted); }
.steps .on span { color: var(--ink); font-weight: 500; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; }
.card .li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.card .li:last-child { border-bottom: 0; }
.card .li small { display: block; color: var(--muted); font-size: 13px; }

#toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 10px); z-index: 80;
  background: #1a1a1a; color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; white-space: nowrap;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { min-height: 60dvh; display: grid; place-items: center; color: var(--muted); }

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

/* ---------- Mapa: entregador (Leaflet) ---------- */
.moto-pin { background: none; border: 0; display: flex !important; align-items: center; gap: 6px; transform: translate(-19px, -19px); white-space: nowrap; }
.moto-pin .moto { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(22,22,22,.15), 0 4px 12px rgba(0,0,0,.25); }
.moto-pin .moto.off { background: #9a958d; }
.moto-pin .moto svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moto-pin b { background: #fff; border-radius: 999px; padding: 3px 9px; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.home-pin { background: none; border: 0; }
.home-pin span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #2f8f4e; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.leaflet-container { font: inherit; }
.card.ride { display: block; padding: 14px; margin: 18px 0 4px; }
.track-slot { width: 100%; }
.track-h { margin: 0 0 10px; font-size: 15px; }
.track-h small { color: var(--muted); font-size: 12.5px; }
.track-map { isolation: isolate; z-index: 0; width: 100%; height: 280px; border-radius: 14px; overflow: hidden; background: var(--soft); }
.track-wait { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- Perfil da loja (topo do cardápio) ---------- */
.menu-head .title span { display: inline-flex; align-items: center; }
.profile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0 4px; }
.pf-top { display: flex; align-items: center; gap: 14px; }
.pf-top .logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--soft); display: grid; place-items: center; font-weight: 700; font-size: 22px; flex: none; }
.pf-top h2 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.pf-tag { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.pf-open { display: flex; align-items: center; gap: 6px; width: 100%; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; }
.pf-open:disabled { cursor: default; }
.pf-open b { color: #c9473a; }
.pf-open.on b { color: #2f8f4e; }
.pf-open span { color: var(--muted); flex: 1; }
.pf-open .i { width: 18px; height: 18px; transition: transform .2s; }
.pf-open[aria-expanded="true"] .i { transform: rotate(180deg); }
.pf-hours { list-style: none; margin: 8px 0 0; padding: 4px 14px; border-radius: 14px; background: var(--bg); font-size: 14px; }
.pf-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pf-hours li:last-child { border-bottom: 0; }
.pf-hours li.today { font-weight: 600; }
.pf-bio { margin: 14px 0 0; font-size: 14.5px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-bio.full { display: block; -webkit-line-clamp: unset; }
.pf-more { margin: 4px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pf-chips .chip { color: var(--ink); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pf-chips .chip .i { width: 16px; height: 16px; flex: none; }
.pf-closed { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fdf1ef; border: 1px solid #f1c9c3; font-size: 14px; }
.pf-closed b { color: #c9473a; }
.pf-closed span { display: block; color: var(--muted); margin-top: 2px; }

/* ---------- WhatsApp da loja ---------- */
.wa-fab { position: fixed; right: max(16px, calc((100vw - 720px) / 2 + 16px)); bottom: calc(92px + var(--safe-b)); z-index: 21; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .i { width: 28px; height: 28px; stroke: #fff; }
.pill.wa-pill { background: #25d366; border-color: #25d366; color: #fff; }
.pill.wa-pill .i { width: 18px; height: 18px; stroke: #fff; }
.legal-foot { text-align: center; margin: 34px 0 0; font-size: 12.5px; }
.legal-foot a, .legal-note a { color: var(--muted); }
.legal-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
