/* Garage Burger: cardápio público (mobile-first). Tokens em theme.css */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lock { overflow: hidden; }
body {
  margin: 0; min-height: 100vh;
  font: 400 16px/1.45 var(--gb-font-body);
  color: var(--gb-text);
  background-color: var(--gb-bg);
  /* asfalto: ruído sutil */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
.ico { width: 22px; height: 22px; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gb-amber); color: var(--gb-amber-ink); padding: 10px 14px; border-radius: var(--gb-r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 50%; background: var(--gb-surface-2); color: var(--gb-text); cursor: pointer;
  transition: background var(--gb-dur), transform var(--gb-dur) var(--gb-ease);
}
.icon-btn:hover { background: var(--gb-surface-3); }
.icon-btn:active { transform: scale(.92); }
.icon-btn--sm { width: 36px; height: 36px; background: transparent; }
.icon-btn--sm .ico { width: 18px; height: 18px; }

/* ================= HERO ================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 400px; padding: calc(56px + env(safe-area-inset-top)) 0 44px;
  display: flex; align-items: flex-end;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(255,176,0,.30), transparent 60%),
    radial-gradient(60% 50% at 85% 100%, rgba(255,59,47,.22), transparent 70%),
    linear-gradient(180deg, #17150f 0%, var(--gb-bg) 100%);
}
/* portão de garagem (frisos metálicos) ao fundo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s; }
.hero-bg.has-img { opacity: .38; }
.hero-bg.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,.3), var(--gb-bg)); }
.hero-lamp {
  position: absolute; top: 0; left: 50%; width: 2px; height: 34px; background: #444; z-index: -1;
}
.hero-lamp::after {
  content: ""; position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 18px; border-radius: 46px 46px 6px 6px; background: linear-gradient(#3a3a40, #1d1d21);
  box-shadow: 0 14px 40px 12px rgba(255,176,0,.35);
}
.hero-inner { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.hero-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; box-shadow: 0 0 0 2px var(--gb-amber), var(--gb-glow-amber); }
.hero-kicker {
  margin: 0 0 8px; display: flex; align-items: center; gap: 10px;
  font: 700 .78rem/1 var(--gb-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gb-amber-2);
}
.dot-sep { width: 26px; height: 2px; background: var(--gb-amber); box-shadow: var(--gb-glow-amber); }
.neon {
  font-family: var(--gb-font-display); font-weight: 400; text-transform: uppercase;
  line-height: .86; letter-spacing: .01em; display: flex; flex-direction: column;
}
.neon-a {
  font-size: clamp(4.4rem, 24vw, 9.5rem); color: #fff4d6;
  text-shadow: 0 0 6px rgba(255,200,80,.9), 0 0 22px rgba(255,176,0,.75), 0 0 60px rgba(255,140,0,.45);
  animation: flicker 2.6s .9s both;
}
.neon-b {
  font-size: clamp(3.3rem, 18vw, 7.2rem); color: transparent;
  -webkit-text-stroke: 2px var(--gb-red-2);
  text-shadow: 0 0 18px rgba(255,59,47,.55);
  margin-left: .06em;
}
@supports not (-webkit-text-stroke: 2px red) { .neon-b { color: var(--gb-red-2); } }
@keyframes flicker {
  0%, 8%, 12%, 30%, 34% { opacity: .25; text-shadow: none; }
  10%, 32%, 36%, 100% { opacity: 1; }
}

.hero-status { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px;
  border-radius: var(--gb-r-pill); font: 600 .84rem/1 var(--gb-font-body);
  background: rgba(20,20,23,.72); border: 1px solid var(--gb-line-strong); color: var(--gb-text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill .ico { width: 16px; height: 16px; color: var(--gb-amber); }
.pill-skel { width: 120px; background: var(--gb-surface-2); border-color: transparent; }
.pill--open { border-color: rgba(61,220,132,.5); }
.pill--closed { border-color: rgba(255,90,82,.55); color: #ffd2cf; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gb-green); box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 2s infinite; }
.pill--closed .status-dot { background: var(--gb-danger); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.hazard { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--gb-hazard); opacity: .9; }

/* Portão subindo na abertura */
.shutter {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    linear-gradient(180deg, transparent calc(100% - 10px), #0a0a0b calc(100% - 10px)),
    repeating-linear-gradient(180deg, #3b3b42 0 3px, #2b2b31 3px 20px, #1d1d22 20px 22px);
  box-shadow: 0 12px 30px rgba(0,0,0,.7);
  animation: shutter-up 1s .25s cubic-bezier(.7,0,.2,1) forwards;
}
.shutter-handle { position: absolute; left: 50%; bottom: 26px; width: 80px; height: 12px; transform: translateX(-50%); border-radius: 4px; background: linear-gradient(#5a5a62, #2a2a2f); }
@keyframes shutter-up { to { transform: translateY(-104%); visibility: hidden; } }
.skip-intro .shutter { display: none; }
.skip-intro .neon-a { animation: none; }

/* ================= BARRA DE CATEGORIAS ================= */
.catbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(13,13,15,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--gb-line);
  padding-top: env(safe-area-inset-top);
}
.catbar-inner { position: relative; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 0 10px 16px; height: 64px; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
  padding: 2px 16px 2px 2px; flex: 1; min-width: 0;
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px;
  border-radius: var(--gb-r-pill); border: 1px solid var(--gb-line-strong); background: var(--gb-surface);
  font: 600 .9rem/1 var(--gb-font-body); color: var(--gb-text-2); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--gb-dur), color var(--gb-dur), border-color var(--gb-dur), box-shadow var(--gb-dur);
}
.chip small { font: 700 .7rem/1 var(--gb-font-mono); opacity: .7; }
.chip:hover { color: var(--gb-text); border-color: var(--gb-text-3); }
.chip[aria-current="true"] { background: var(--gb-amber); border-color: var(--gb-amber); color: var(--gb-amber-ink); box-shadow: var(--gb-glow-amber); }

.search-box {
  position: absolute; inset: 10px 16px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 14px;
  border-radius: var(--gb-r-pill); background: var(--gb-surface-2); border: 1.5px solid var(--gb-amber);
  opacity: 0; visibility: hidden; transform: scaleX(.92); transform-origin: left center;
  transition: opacity var(--gb-dur), transform var(--gb-dur) var(--gb-ease), visibility 0s var(--gb-dur);
}
.search-box .ico { width: 18px; height: 18px; color: var(--gb-amber); }
.search-box input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--gb-text); font: 500 1rem var(--gb-font-body); outline: none; }
.search-box input::-webkit-search-cancel-button { display: none; }
.catbar.searching .search-box { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.catbar.searching .chips, .catbar.searching .search-toggle { visibility: hidden; }

/* ================= SEÇÕES ================= */
main { padding-top: 8px; padding-bottom: 120px; outline: none; }
.sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 34px 0 14px; }
.bay {
  flex-basis: 100%; font: 700 .72rem/1 var(--gb-font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gb-amber);
  display: flex; align-items: center; gap: 8px;
}
.bay::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gb-line-strong), transparent); }
.sec-head h2 { font: 400 clamp(2rem, 9vw, 3rem)/1 var(--gb-font-display); text-transform: uppercase; letter-spacing: .01em; }
.sec-count { font: 600 .82rem/1 var(--gb-font-body); color: var(--gb-text-3); }
.cat, .featured { scroll-margin-top: 0; }

/* --------- Destaques (carrossel) --------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0 -16px; padding: 4px 16px 18px; scroll-padding: 0 16px;
}
.rail::-webkit-scrollbar { display: none; }
.feat {
  position: relative; scroll-snap-align: start; border-radius: var(--gb-r-lg); overflow: hidden;
  background: var(--gb-surface); border: 1px solid var(--gb-line); aspect-ratio: 4 / 5;
  box-shadow: var(--gb-shadow-2); isolation: isolate;
  transition: transform .35s var(--gb-ease), box-shadow .35s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--gb-shadow-3), 0 0 0 1px rgba(255,176,0,.35); }
.feat .media { position: absolute; inset: 0; z-index: -1; }
.feat .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--gb-ease); }
.feat:hover .media img { transform: scale(1.06); }
.feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(8,8,9,.92) 82%); }
.feat-hit { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.feat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; pointer-events: none; }
.feat-name { display: block; font: 400 1.9rem/1 var(--gb-font-display); text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.feat-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 12px; font-size: .86rem; color: var(--gb-text-2); }
.feat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feat .add-fab { position: relative; z-index: 2; pointer-events: auto; }
.feat .badges { position: absolute; top: 12px; left: 12px; z-index: 1; }

/* Badges */
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 6px;
  font: 700 .72rem/1 var(--gb-font-mono); letter-spacing: .06em; text-transform: uppercase;
}
.badge .ico { width: 13px; height: 13px; }
.badge--hot { background: var(--gb-amber); color: var(--gb-amber-ink); }
.badge--promo { background: var(--gb-red); color: #fff; box-shadow: var(--gb-glow-red); }
.badge--out { background: var(--gb-surface-3); color: var(--gb-text-2); }

/* Preço */
.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font: 400 1.45rem/1 var(--gb-font-display); letter-spacing: .02em; color: var(--gb-amber-2); }
.price-old { font: 500 .82rem/1 var(--gb-font-body); color: var(--gb-text-3); text-decoration: line-through; }
.price--promo .price-now { color: #ff8a73; }

/* --------- Cartões de produto --------- */
.grid { display: grid; gap: 12px; }
.card {
  position: relative; display: grid; grid-template-columns: 1fr 112px; gap: 14px; align-items: start;
  padding: 14px; border-radius: 18px; min-height: 140px;
  background: linear-gradient(160deg, var(--gb-surface) 0%, #161619 100%);
  border: 1px solid var(--gb-line);
  transition: transform .3s var(--gb-ease), border-color .3s, box-shadow .3s;
  content-visibility: auto; contain-intrinsic-size: auto 140px;
}
.card:hover { transform: translateY(-2px); border-color: rgba(255,176,0,.45); box-shadow: var(--gb-shadow-2); }
.card-hit { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.card-hit:focus-visible { box-shadow: var(--gb-focus); }
.card-body { display: flex; flex-direction: column; min-height: 100%; min-width: 0; }
.card-name { font: 700 1.04rem/1.25 var(--gb-font-body); letter-spacing: -.01em; }
.card-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 5px 0 12px; font-size: .86rem; line-height: 1.4; color: var(--gb-text-2);
}
.card .price { margin-top: auto; }
.card .badges { margin-bottom: 7px; }
.card-media { position: relative; width: 112px; height: 112px; }
.card-media .ph, .card-media img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; background: var(--gb-surface-2); }
.card .add-fab { position: absolute; right: -6px; bottom: -6px; z-index: 2; }
.card.is-out { opacity: .55; }
.card.is-out .card-hit { cursor: not-allowed; }

.add-fab {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--gb-amber); color: var(--gb-amber-ink); box-shadow: 0 6px 16px rgba(0,0,0,.55), 0 0 0 3px var(--gb-bg);
  transition: transform .25s var(--gb-ease-spring), filter var(--gb-dur);
}
.add-fab .ico { width: 20px; height: 20px; }
.add-fab:hover { filter: brightness(1.1); transform: rotate(90deg); }
.add-fab:active { transform: scale(.88); }

/* Ilustração quando não há foto */
.ph {
  display: grid; place-items: center; position: relative; overflow: hidden; color: var(--gb-amber);
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(255,176,0,.18), transparent 60%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 8px, transparent 8px 16px),
    linear-gradient(160deg, #26262c, #18181c);
}
.ph svg { width: 54%; height: 54%; filter: drop-shadow(0 0 10px rgba(255,176,0,.45)); }
.ph-initial {
  position: absolute; right: 8px; bottom: 2px; font: 400 1.6rem/1 var(--gb-font-display); color: rgba(255,255,255,.07);
}
.feat .ph { width: 100%; height: 100%; }
.feat .ph svg { width: 42%; height: 42%; transform: translateY(-18%); }

/* Skeleton / estados */
.sk { border-radius: 16px; background: linear-gradient(90deg, var(--gb-surface) 0%, var(--gb-surface-2) 50%, var(--gb-surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
.sk-title { height: 40px; width: 60%; margin: 34px 0 16px; }
.sk-card { height: 140px; margin-bottom: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty-search, .load-error { text-align: center; padding: 48px 16px; color: var(--gb-text-2); }
.empty-search .art, .drawer-empty .art { width: 72px; height: 72px; color: var(--gb-text-3); margin: 0 auto 10px; display: block; }
.empty-search p, .load-error p { margin: 0 0 16px; }
mark { background: rgba(255,176,0,.28); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ================= RODAPÉ ================= */
.site-footer { position: relative; background: #09090a; border-top: 1px solid var(--gb-line); padding: 44px 0 calc(110px + env(safe-area-inset-bottom)); color: var(--gb-text-2); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 6px; background: var(--gb-hazard); opacity: .7; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.foot-name { font: 400 2.4rem/1 var(--gb-font-display); text-transform: uppercase; color: var(--gb-text); }
.foot-tag { font-size: .9rem; color: var(--gb-text-3); }
.foot-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.foot-info li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.foot-info .ico { width: 20px; height: 20px; color: var(--gb-amber); margin-top: 1px; }
.foot-info a { color: var(--gb-text); text-decoration: none; border-bottom: 1px solid var(--gb-line-strong); }
.foot-info a:hover { border-color: var(--gb-amber); }
.foot-info small { display: block; color: var(--gb-text-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 2px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid #1c1c20; font-size: .78rem; color: #5d5a54; }
.owner-link { display: inline-flex; align-items: center; gap: 5px; color: #4f4c47; text-decoration: none; font-size: .72rem; padding: 6px; margin: -6px; border-radius: 6px; }
.owner-link .ico { width: 13px; height: 13px; }
.owner-link:hover { color: var(--gb-text-3); }

/* ================= BARRA DA SACOLA ================= */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; pointer-events: none;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  display: flex; justify-content: center;
}
.cartbar-btn {
  pointer-events: auto; width: 100%; max-width: 520px; height: 60px; display: flex; align-items: center; gap: 12px;
  padding: 0 20px 0 10px; border: 0; border-radius: var(--gb-r-pill); cursor: pointer;
  background: var(--gb-amber); color: var(--gb-amber-ink);
  box-shadow: 0 12px 34px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12) inset, var(--gb-glow-amber);
  animation: bar-in .45s var(--gb-ease-spring) both;
  transition: transform .2s var(--gb-ease);
}
.cartbar-btn:active { transform: scale(.98); }
@keyframes bar-in { from { transform: translateY(120%); } }
.cartbar-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gb-amber-ink); color: var(--gb-amber); }
.cartbar-count {
  position: absolute; top: -4px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: grid; place-items: center; background: var(--gb-red); color: #fff; font: 800 .74rem/1 var(--gb-font-body);
  box-shadow: 0 0 0 2px var(--gb-amber);
}
.cartbar-label { font: 800 1rem/1 var(--gb-font-body); }
.cartbar-total { margin-left: auto; font: 400 1.35rem/1 var(--gb-font-display); letter-spacing: .02em; }
.cartbar.bump .cartbar-btn { animation: bump .5s var(--gb-ease-spring); }
.cartbar.bump .cartbar-count { animation: pop .5s var(--gb-ease-spring); }
@keyframes bump { 30% { transform: scale(1.05) translateY(-4px); } 60% { transform: scale(.98); } }
@keyframes pop { 40% { transform: scale(1.5); } }

.fly {
  position: fixed; z-index: 90; width: 64px; height: 64px; border-radius: 50%; pointer-events: none;
  background-size: cover; background-position: center; background-color: var(--gb-amber);
  box-shadow: 0 0 0 3px var(--gb-amber), 0 10px 30px rgba(0,0,0,.6), var(--gb-glow-amber);
  display: grid; place-items: center; color: var(--gb-amber-ink);
}
.fly svg { width: 60%; height: 60%; }

/* ================= DIALOGS ================= */
dialog { padding: 0; border: 0; background: transparent; color: var(--gb-text); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0,0,0,.66); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog[open]::backdrop { animation: fade .3s ease both; }
dialog.closing::backdrop { animation: fade .25s ease reverse both; }
@keyframes fade { from { opacity: 0; } }

.sheet, .drawer { position: fixed; inset: auto 0 0 0; width: 100%; margin: 0; height: auto; }
.sheet-panel, .drawer-panel {
  position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 28px);
  background: var(--gb-bg-2); border-radius: 26px 26px 0 0; overflow: hidden;
  box-shadow: 0 -10px 50px rgba(0,0,0,.6); border: 1px solid var(--gb-line); border-bottom: 0;
}
.sheet[open] .sheet-panel, .drawer[open] .drawer-panel { animation: sheet-up .42s var(--gb-ease) both; }
.sheet.closing .sheet-panel, .drawer.closing .drawer-panel { animation: sheet-down .26s ease-in both; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }

.sheet-grip { position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 4; display: flex; justify-content: center; padding-top: 9px; touch-action: none; cursor: grab; }
.sheet-grip span { width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.4); box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.sheet-close { position: absolute; top: 14px; right: 14px; z-index: 5; background: rgba(13,13,15,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.sheet-media { position: relative; aspect-ratio: 16 / 11; max-height: 42vh; width: 100%; background: var(--gb-surface); overflow: hidden; }
.sheet-media img, .sheet-media .ph { width: 100%; height: 100%; object-fit: cover; }
.sheet-media .ph svg { width: 30%; height: 30%; }
.sheet-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--gb-bg-2)); }
.sheet-media .badges { position: absolute; left: 16px; bottom: 14px; z-index: 1; }
.sheet-body { padding: 4px 18px 20px; }
.sheet-media:empty + .sheet-body, .sheet-body h2 { scroll-margin-top: 70px; }
.sheet-title { font: 400 2.3rem/1 var(--gb-font-display); text-transform: uppercase; letter-spacing: .01em; }
.sheet-desc { margin: 10px 0 12px; color: var(--gb-text-2); font-size: .95rem; white-space: pre-line; }
.sheet-price .price-now { font-size: 1.9rem; }

.opt { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; position: relative; }
.opt legend { display: flex; width: 100%; align-items: baseline; justify-content: space-between; padding: 0; margin-bottom: 12px; }
.opt-title { display: block; font: 800 .8rem/1 var(--gb-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gb-text); margin-bottom: 10px; }
.opt legend .opt-title { margin: 0; }
.opt-hint { font-size: .78rem; color: var(--gb-text-3); font-weight: 600; }

.ing-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ing {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 10px;
  border-radius: var(--gb-r-pill); border: 1.5px solid var(--gb-line-strong); background: var(--gb-surface);
  font: 600 .9rem/1.1 var(--gb-font-body); color: var(--gb-text); cursor: pointer; text-align: left;
  transition: background var(--gb-dur), border-color var(--gb-dur), color var(--gb-dur), transform .2s var(--gb-ease-spring);
}
.ing .mark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gb-green); color: #04220f; transition: background var(--gb-dur), transform .25s var(--gb-ease-spring); }
.ing .mark .ico { width: 13px; height: 13px; }
.ing .mark .x { display: none; }
.ing:active { transform: scale(.95); }
.ing[aria-pressed="true"] { background: transparent; border-style: dashed; border-color: rgba(255,90,82,.6); color: var(--gb-text-3); }
.ing[aria-pressed="true"] .lbl { text-decoration: line-through; text-decoration-color: var(--gb-danger); text-decoration-thickness: 2px; }
.ing[aria-pressed="true"] .mark { background: var(--gb-danger); color: #fff; transform: rotate(90deg); }
.ing[aria-pressed="true"] .mark .v { display: none; }
.ing[aria-pressed="true"] .mark .x { display: block; }
.ing.fixed { cursor: default; color: var(--gb-text-2); border-color: var(--gb-line); }
.ing.fixed .mark { background: var(--gb-surface-3); color: var(--gb-text-3); }
.ing.oos { cursor: not-allowed; opacity: .55; border-style: dotted; text-decoration: none; }
.ing.oos .mark { background: var(--gb-surface-3); color: var(--gb-text-3); }
.ing.oos .tag { font: 700 .66rem/1 var(--gb-font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--gb-amber); }

.add-list { display: grid; gap: 8px; }
.addon {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 14px; border-radius: 14px;
  background: var(--gb-surface); border: 1.5px solid var(--gb-line); cursor: pointer;
  transition: border-color var(--gb-dur), background var(--gb-dur);
}
.addon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon .box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--gb-line-strong); color: transparent; flex: none; transition: all .2s var(--gb-ease-spring); }
.addon .box .ico { width: 15px; height: 15px; }
.addon .nm { flex: 1; font-weight: 600; }
.addon .pr { font: 700 .9rem/1 var(--gb-font-mono); color: var(--gb-amber-2); white-space: nowrap; }
.addon:has(input:checked) { border-color: var(--gb-amber); background: rgba(255,176,0,.08); }
.addon input:checked + .box { background: var(--gb-amber); border-color: var(--gb-amber); color: var(--gb-amber-ink); transform: scale(1.08); }
.addon input:focus-visible + .box { box-shadow: var(--gb-focus); }

.notes { resize: none; min-height: 64px; }
.notes-count { position: absolute; right: 10px; bottom: 8px; font: 500 .7rem var(--gb-font-mono); color: var(--gb-text-3); }
.sheet-summary { margin: 16px 0 0; font-size: .86rem; color: var(--gb-amber-2); min-height: 1em; }
.sheet-summary:empty { display: none; }

.sheet-foot {
  display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(20,20,23,.96); border-top: 1px solid var(--gb-line);
}
.stepper { display: inline-flex; align-items: center; height: 52px; border-radius: var(--gb-r-pill); background: var(--gb-surface-2); border: 1px solid var(--gb-line-strong); flex: none; }
.step-btn { width: 44px; height: 100%; border: 0; background: transparent; color: var(--gb-text); display: grid; place-items: center; cursor: pointer; border-radius: var(--gb-r-pill); }
.step-btn .ico { width: 18px; height: 18px; }
.step-btn:disabled { color: var(--gb-text-3); cursor: default; }
.stepper output { min-width: 24px; text-align: center; font: 800 1.05rem/1 var(--gb-font-body); }
.add-btn { flex: 1; height: 52px; justify-content: space-between; padding: 0 20px; font-size: 1rem; box-shadow: var(--gb-glow-amber); }
.add-price { font: 400 1.3rem/1 var(--gb-font-display); letter-spacing: .02em; }
.add-price.tick { animation: tick .3s var(--gb-ease-spring); }
@keyframes tick { 40% { transform: translateY(-3px) scale(1.08); } }

/* Sacola */
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 16px 10px 20px; }
.drawer-head h2 { font: 400 2rem/1 var(--gb-font-display); text-transform: uppercase; }
.drawer-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 120px; }
.lines { list-style: none; margin: 0; padding: 0 16px; }
.line { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gb-line); }
.line:last-child { border-bottom: 0; }
.line-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; overflow: hidden; }
.line-thumb.ph svg { width: 60%; height: 60%; }
.line-name { font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.line-name span:last-child { font-family: var(--gb-font-mono); font-size: .9rem; color: var(--gb-amber-2); white-space: nowrap; }
.line-meta { margin: 3px 0 0; font-size: .82rem; color: var(--gb-text-3); }
.line-meta .rm { color: #ff8e86; }
.line-meta .ad { color: var(--gb-amber-2); }
.line-ctl { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.line-ctl .stepper { height: 38px; }
.line-ctl .step-btn { width: 36px; }
.line-ctl .stepper output { font-size: .95rem; }
.line-del { width: 38px; height: 38px; background: transparent; color: var(--gb-text-3); }
.line-del:hover { color: var(--gb-danger); background: rgba(255,90,82,.1); }
.line-del .ico { width: 18px; height: 18px; }
.line.removing { animation: line-out .28s ease both; }
@keyframes line-out { to { opacity: 0; transform: translateX(40px); } }
.drawer-empty { text-align: center; padding: 30px 16px 40px; color: var(--gb-text-2); }
.drawer-empty p { margin: 0 0 18px; }

.drawer-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--gb-line); background: rgba(20,20,23,.96); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; }
.sum-row strong { font: 400 1.7rem/1 var(--gb-font-display); letter-spacing: .02em; color: var(--gb-amber-2); }
.sum-note { margin: 4px 0 12px; font-size: .8rem; color: var(--gb-text-3); }
.checkout-btn { width: 100%; height: 56px; font-size: 1.05rem; justify-content: space-between; padding: 0 22px; box-shadow: var(--gb-glow-amber); }
.text-btn { display: block; margin: 10px auto 0; border: 0; background: transparent; color: var(--gb-text-3); font-size: .84rem; text-decoration: underline; cursor: pointer; padding: 6px 10px; }
.text-btn:hover { color: var(--gb-text-2); }
.min-order { margin-bottom: 14px; }
.min-bar { height: 8px; border-radius: 4px; background: var(--gb-surface-3); overflow: hidden; }
.min-bar span { display: block; height: 100%; width: 0; background: var(--gb-hazard); transition: width .4s var(--gb-ease); }
.min-order p { margin: 7px 0 0; font-size: .82rem; color: var(--gb-text-2); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 95; transform: translate(-50%, 20px);
  padding: 11px 18px; border-radius: var(--gb-r-pill); background: var(--gb-text); color: var(--gb-bg);
  font: 700 .9rem/1.2 var(--gb-font-body); box-shadow: var(--gb-shadow-2); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .3s var(--gb-ease); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= DESKTOP ================= */
@media (min-width: 720px) {
  .hero { min-height: 460px; padding-bottom: 56px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card { grid-template-columns: 1fr 136px; min-height: 164px; padding: 16px; }
  .card-media { width: 136px; height: 136px; }
  .rail { grid-auto-columns: 280px; }
  .sheet, .drawer { inset: 0; display: grid; place-items: center; background: transparent; }
  .sheet:not([open]), .drawer:not([open]) { display: none; }
  .sheet-panel { width: min(560px, calc(100vw - 48px)); max-height: min(88vh, 900px); border-radius: 26px; border-bottom: 1px solid var(--gb-line); }
  .sheet-grip { display: none; }
  .sheet[open] .sheet-panel { animation: pop-in .34s var(--gb-ease) both; }
  .sheet.closing .sheet-panel { animation: pop-out .2s ease-in both; }
  .drawer { place-items: stretch end; }
  .drawer-panel { width: 420px; height: 100dvh; max-height: none; border-radius: 26px 0 0 26px; border-bottom: 1px solid var(--gb-line); }
  .drawer-head { padding-top: 20px; }
  .drawer .sheet-grip { display: none; }
  .drawer[open] .drawer-panel { animation: slide-in .38s var(--gb-ease) both; }
  .drawer.closing .drawer-panel { animation: slide-out .24s ease-in both; }
  .cartbar { justify-content: flex-end; padding-right: 24px; }
  .cartbar-btn { max-width: 380px; }
  .foot-info { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { display: grid; }
  .foot-info { grid-template-columns: repeat(4, 1fr); }
  .rail { grid-auto-columns: 300px; }
}
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-out { to { transform: translateX(100%); } }

/* ================= MOVIMENTO REDUZIDO ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .shutter { display: none; }
  .status-dot { animation: none; }
}

/* ===== Ajustes: letreiro neon, setas do carrossel, sacola ===== */
.hero-sign { display: none; }
@media (min-width: 900px) {
  .hero-sign {
    position: absolute; right: max(40px, calc((100vw - 1180px) / 2 + 30px)); top: 64px; z-index: 0;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 30px 34px 22px; border-radius: 28px; transform: rotate(-4deg);
    border: 3px solid rgba(255,90,70,.85);
    box-shadow: 0 0 18px rgba(255,59,47,.55), inset 0 0 18px rgba(255,59,47,.35);
    animation: sign-on 3s 1.1s both;
  }
  .hero-sign::before, .hero-sign::after { content: ""; position: absolute; top: -64px; width: 2px; height: 62px; background: #3a3a40; }
  .hero-sign::before { left: 30%; } .hero-sign::after { right: 30%; }
  .sign-art { width: 210px; height: 210px; color: #ffd27a; filter: drop-shadow(0 0 6px rgba(255,190,60,.95)) drop-shadow(0 0 24px rgba(255,150,0,.6)); }
  .sign-txt { font: 400 1.7rem/1 var(--gb-font-display); text-transform: uppercase; letter-spacing: .06em; color: #fff0e8; text-shadow: 0 0 6px rgba(255,90,70,.9), 0 0 22px rgba(255,59,47,.7); }
  .hero { min-height: 480px; }
}
@keyframes sign-on { 0%, 20%, 24%, 50%, 54% { opacity: .15; } 22%, 52%, 100% { opacity: 1; } }
.skip-intro .hero-sign { animation: none; }

.featured .sec-head { position: relative; }
.rail-nav { display: none; margin-left: auto; gap: 8px; }
@media (min-width: 720px) and (hover: hover) {
  .rail-nav { display: flex; }
  .featured .sec-head { padding-right: 0; }
}
.rail-nav .icon-btn:disabled { opacity: .35; cursor: default; }
.ico.flip { transform: scaleX(-1); }
@media (min-width: 720px) {
  .rail { margin: 0; padding: 4px 0 18px; scroll-padding: 0; }
}
.sheet-title { padding-right: 8px; }
.sheet-scroll .sheet-body { position: relative; }
.line-unit { font-size: .78rem; color: var(--gb-text-3); font-family: var(--gb-font-mono); }
.search-box input:focus-visible { box-shadow: none; }
.search-box:focus-within { box-shadow: 0 0 0 3px rgba(255,176,0,.22); }
@media (max-width: 719px) {
  .hero { min-height: 360px; padding-top: calc(48px + env(safe-area-inset-top)); padding-bottom: 36px; }
  .hero-kicker { letter-spacing: .1em; font-size: .72rem; }
  .hero-status { gap: 6px; }
  .pill { height: 32px; padding: 0 11px; font-size: .8rem; }
}
