/* =========================================================
   WKM Lanches — Cardápio online
   Cores: preto texturizado · roxo forte · verde-limão
   ========================================================= */

:root {
  --bg: #100A1B;
  --bg-2: #170E26;
  --bg-3: #1E1333;
  --panel: #140C22;
  --panel-2: #1C1131;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --ink: #F6F0FB;
  --muted: #A99FB8;
  --purple: #8B5CF6;
  --purple-2: #6D28D9;
  --purple-soft: rgba(139, 92, 246, 0.22);
  --lime: #4ADE80;
  --lime-2: #16A34A;
  --lime-ink: #052E16;
  --green: #2BBF7F;
  --red: #FF6B72;
  --amber: #34D399;
  --wa: #25d366;
  --radius: 20px;
  --radius-s: 14px;
  --shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.7);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-logo: "Archivo Black", "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100dvh;
}

/* textura sutil do fundo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(74, 222, 128, 0.08), transparent 55%);
}

#app, .site-header, .categorias, .cart-fab, .toast, .drawer-overlay,
.cart-drawer, .modal-overlay, .pizza-modal { position: relative; z-index: 1; }

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea { font-family: inherit; color: var(--ink); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.96); }
.btn svg { flex: 0 0 auto; }

.btn-primary {
  background: linear-gradient(180deg, #86EFAC, var(--lime) 45%, var(--lime-2));
  color: var(--lime-ink);
  box-shadow: 0 10px 30px -10px rgba(74, 222, 128, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(74, 222, 128, 0.75); transform: translateY(-2px); }

.btn-ghost {
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--purple); color: #A5E7C4; background: var(--purple-soft); }

.btn-block { width: 100%; }

.btn-whats {
  background: var(--wa);
  color: #04331a;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.6);
  width: 100%;
}
.btn-whats:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ---------------- HEADER ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 60;
  background: rgba(16, 10, 27, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-w {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff;
  font-family: var(--font-logo);
  font-size: 19px;
  box-shadow: 0 6px 18px -6px rgba(139, 92, 246, 0.85);
}
.logo-text {
  font-family: var(--font-logo);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.logo-text em {
  font-style: normal;
  color: var(--lime);
}
.header-actions { display: flex; align-items: center; gap: 10px; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.status-chip.open { color: #7FE3AE; border-color: rgba(43, 191, 127, 0.4); background: rgba(43, 191, 127, 0.12); }
.status-chip.closed { color: #FF9FA5; border-color: rgba(255, 107, 114, 0.4); background: rgba(255, 107, 114, 0.10); }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex: 0 0 auto;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(43, 191, 127, 0.5);
}
.status-chip.closed .status-dot { background: var(--red); box-shadow: 0 0 0 0 rgba(255, 107, 114, 0.5); }
.status-chip.open .status-dot { animation: pulse-green 2s infinite; }
.status-chip.closed .status-dot { animation: pulse-red 2s infinite; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(43, 191, 127, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(43, 191, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 191, 127, 0); }
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 114, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 107, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 114, 0); }
}

.cart-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, transform 0.18s;
}
.cart-btn:hover { border-color: var(--purple); background: var(--purple-soft); }
.cart-btn:active { transform: scale(0.92); }
.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.cart-badge.pop { animation: badge-pop 0.35s var(--ease); }
@keyframes badge-pop {
  0% { transform: scale(0.4); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* ---------------- HERO ---------------- */
.hero {
  padding-top: calc(var(--header-h) + 34px);
  padding-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.hero-copy { position: relative; z-index: 2; }

.status-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid;
  margin-bottom: 20px;
}
.status-big.open { color: #8EE9B8; border-color: rgba(43, 191, 127, 0.35); background: rgba(43, 191, 127, 0.12); }
.status-big.closed { color: #FFB3B8; border-color: rgba(255, 107, 114, 0.35); background: rgba(255, 107, 114, 0.10); }
.status-big .big-ic {
  width: 12px; height: 12px; border-radius: 50%;
  flex: 0 0 auto;
}
.status-big.open .big-ic { background: var(--green); box-shadow: 0 0 0 4px rgba(43, 191, 127, 0.25); }
.status-big.closed .big-ic { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 107, 114, 0.25); }
.status-big small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-title span {
  background: linear-gradient(90deg, #C4B5FD, #8B5CF6 45%, #4ADE80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 17px);
  max-width: 46ch;
}
.hero-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  transform: translateZ(0);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 6% 2%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.30), transparent 72%);
  filter: blur(18px);
}
.hero-media img {
  position: relative;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------------- BANNER STATUS ---------------- */
.status-banner {
  margin: 6px auto 0;
  width: min(1180px, 100% - 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  animation: rise 0.5s var(--ease);
}
.status-banner.closed { background: rgba(255, 107, 114, 0.10); border: 1px solid rgba(255, 107, 114, 0.28); color: #FFC9CD; }
.status-banner.open { background: rgba(43, 191, 127, 0.12); border: 1px solid rgba(43, 191, 127, 0.28); color: #A6EFC9; }
.status-banner strong { color: var(--ink); }
.status-banner .banner-ic { font-size: 16px; }

/* ---------------- CATEGORIAS ---------------- */
.categorias {
  position: sticky;
  top: var(--header-h);
  z-index: 45;
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(16, 10, 27, 0.96), rgba(16, 10, 27, 0.88));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 10px 0;
}
.categorias-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.categorias-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all 0.22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.cat-pill:hover { color: var(--ink); border-color: var(--purple); }
.cat-pill.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px -8px rgba(139, 92, 246, 0.75);
}

/* ---------------- CARDÁPIO ---------------- */
.cardapio { padding-top: 34px; padding-bottom: 20px; }
.cardapio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(90deg, #fff, #C4B5FD);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.menu-count { color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* card */
.menu-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
  animation: rise 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
body.no-anim .menu-card { animation: none; }

.menu-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(139, 92, 246, 0.15);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #150C26;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.menu-card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(15, 9, 25, 0.80);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #9DE0BC;
  border: 1px solid rgba(43, 191, 127, 0.35);
}
.card-destaque {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(74, 222, 128, 0.75);
}

.card-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.card-ingredientes {
  font-size: 12px;
  color: rgba(169, 159, 184, 0.85);
  line-height: 1.5;
  max-height: 66px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.card-ingredientes b { color: #B7ACCB; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
}
.price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--green);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.price .from { font-size: 11px; font-weight: 700; color: var(--muted); display: block; line-height: 1; margin-bottom: 2px; }

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--lime-ink);
  background: linear-gradient(180deg, #86EFAC, var(--lime));
  box-shadow: 0 8px 20px -8px rgba(74, 222, 128, 0.6);
  transition: transform 0.16s var(--ease), box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn-add:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(74, 222, 128, 0.8); }
.btn-add:active { transform: scale(0.92); }
.btn-add svg { width: 15px; height: 15px; }
.btn-add.added { background: linear-gradient(180deg, #3ED38F, var(--green)); color: #04331a; }
.btn-add .check { display: none; }
.btn-add.added .plus { display: none; }
.btn-add.added .check { display: inline; }
.btn-add.added:hover { transform: none; box-shadow: 0 8px 20px -8px rgba(43, 191, 127, 0.6); }

/* pizza card */
.pizza-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.pizza-size-chip {
  text-align: center;
  padding: 7px 4px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
}
.pizza-size-chip b { display: block; font-size: 12px; font-weight: 800; }
.pizza-size-chip small { font-size: 10.5px; color: var(--muted); }

/* ---------------- HORÁRIOS ---------------- */
.section-horarios { padding-top: 40px; padding-bottom: 30px; }
.horarios-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 26px 18px;
  box-shadow: var(--shadow);
}
.horarios-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.hours-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.hours-status-pill.open { background: rgba(43, 191, 127, 0.12); color: #7FE3AE; border: 1px solid rgba(43, 191, 127, 0.3); }
.hours-status-pill.closed { background: rgba(255, 107, 114, 0.10); color: #FF9FA5; border: 1px solid rgba(255, 107, 114, 0.3); }
.hours-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.hours-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.hours-item .hours-day { font-weight: 600; color: var(--muted); }
.hours-item .hours-time { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-item.is-closed .hours-time { color: #9A8FA8; font-weight: 600; }
.hours-item.today {
  background: var(--purple-soft);
  border-color: rgba(139, 92, 246, 0.4);
}
.hours-item.today .hours-day { color: #8FE0B6; font-weight: 800; }
.hours-item.today .hours-time { color: #4ADE80; }

/* ---------------- FOOTER ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 12, 34, 0.6), var(--bg));
  margin-top: 30px;
  padding: 30px 0 22px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.footer-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-info > p:first-child { font-size: 13px; color: var(--muted); }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
  color: #7fe8ab;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.25s, transform 0.18s;
}
.footer-whatsapp:hover { background: rgba(37, 211, 102, 0.16); transform: translateY(-1px); }
.back-top {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.25s;
}
.back-top:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.footer-copy {
  text-align: center;
  font-size: 12px;
  color: #6f7180;
  margin-top: 22px;
}

/* ---------------- FAB CARRINHO ---------------- */
.cart-fab {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff;
  box-shadow: 0 14px 40px -12px rgba(139, 92, 246, 0.90);
  font-weight: 800;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cart-fab.show { opacity: 1; transform: translate(-50%, 0); }
.cart-fab:active { transform: translate(-50%, 0) scale(0.95); }
.cart-fab-icon { position: relative; display: grid; place-items: center; }
.cart-fab-badge {
  position: absolute;
  top: -8px; right: -10px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 10.5px;
  font-weight: 900;
}
.cart-fab-text { font-weight: 800; }
.cart-fab-total {
  padding-left: 14px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--lime);
}

/* ---------------- DRAWER ---------------- */
.drawer-overlay, .pizza-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(7, 5, 12, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
body.body-open .drawer-overlay { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(430px, 100vw);
  z-index: 80;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  transform: translateX(103%);
  transition: transform 0.38s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 70px -30px rgba(0, 0, 0, 0.8);
  will-change: transform;
}
body.body-open .cart-drawer { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.drawer-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.drawer-close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s;
}
.drawer-close:hover { color: #fff; border-color: var(--red); background: rgba(255, 107, 114, 0.10); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overscroll-behavior: contain;
}
.drawer-body.confirm { gap: 18px; align-items: stretch; }

.cart-empty {
  text-align: center;
  padding: 40px 10px;
  color: var(--muted);
}
.cart-empty svg { margin: 0 auto 14px; color: #4a4c58; }
.cart-empty p { font-weight: 700; color: var(--ink); font-size: 15px; }
.cart-empty span { font-size: 13px; }

.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  animation: rise 0.3s var(--ease);
}
.cart-item-img {
  width: 62px; height: 62px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #150C26;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
}
.cart-item-opt { font-size: 12px; color: var(--purple); font-weight: 600; }
.cart-item-unit { font-size: 12px; color: var(--muted); }
.cart-item-unit b { color: var(--green); }
.cart-item-controls { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
}
.stepper-btn {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.stepper-btn:hover { background: var(--purple-soft); color: #8FE0B6; }
.stepper-btn:active { transform: scale(0.85); }
.stepper-val { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-item-sub { text-align: right; align-self: flex-start; }
.cart-item-sub b { font-family: var(--font-display); font-size: 15px; font-weight: 900; color: var(--green); white-space: nowrap; }
.remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #70727f;
  margin-top: 10px;
  font-weight: 600;
  transition: color 0.2s;
}
.remove-btn:hover { color: var(--red); }

.cart-details {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  bottom: -18px;
  margin: auto -20px -18px;
  padding: 16px 20px 18px;
  background: linear-gradient(180deg, transparent, var(--bg-2) 22%);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: #cfd1da; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  transition: border-color 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.20);
}
.cart-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 16px;
}
.cart-total-label { font-weight: 700; font-size: 14px; color: var(--muted); }
.cart-total-value { font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--lime); letter-spacing: -0.01em; }
.cart-status-note {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #B9F5D0;
  line-height: 1.45;
}

/* etapa confirmação */
.confirm-check {
  width: 68px; height: 68px;
  margin: 4px auto 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(43, 191, 127, 0.12);
  border: 1px solid rgba(43, 191, 127, 0.4);
  color: var(--green);
  animation: pop-in 0.4s var(--ease);
}
@keyframes pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.confirm-title { text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 21px; }
.confirm-note { text-align: center; color: var(--muted); font-size: 13.5px; max-width: 38ch; margin: 0 auto; }
.confirm-preview {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow-y: auto;
  color: #dcdce4;
}
.confirm-preview b { color: var(--lime); }
.confirm-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------------- MODAL PIZZA ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7, 5, 12, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
body.pizza-open .modal-overlay { opacity: 1; pointer-events: auto; }

.pizza-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: min(470px, calc(100vw - 28px));
  max-height: min(88dvh, 640px);
  z-index: 95;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
body.pizza-open .pizza-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.pizza-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.pizza-modal-title { font-family: var(--font-display); font-weight: 900; font-size: 20px; }
.pizza-modal-body { padding: 18px 20px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.pizza-option { display: flex; flex-direction: column; gap: 8px; }
.pizza-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.chips { display: grid; gap: 8px; }
.chips-sabor { grid-template-columns: repeat(2, 1fr); }
.chips-tamanho { grid-template-columns: repeat(4, 1fr); }
.chip {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chip .chip-name { font-weight: 700; font-size: 13px; line-height: 1.25; color: var(--ink); }
.chip .chip-desc { font-size: 11px; color: var(--muted); line-height: 1.35; }
.chip .chip-price { font-weight: 900; font-size: 14px; color: var(--green); }
.chip:hover { border-color: var(--purple); }
.chip.active {
  border-color: var(--purple);
  background: var(--purple-soft);
  box-shadow: 0 0 0 1px var(--purple);
}
.chip.active .chip-name { color: #fff; }
.chip.active .chip-price { color: var(--lime); }
.pizza-sizes-hint { font-size: 11.5px; color: var(--muted); }
.pizza-nota {
  font-size: 12px;
  color: var(--amber);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 10px;
  padding: 9px 12px;
  line-height: 1.45;
}
.pizza-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 2px;
}
.pizza-total span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.pizza-total strong { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: var(--lime); }

/* ---------------- TOAST ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 120;
  transform: translate(-50%, 16px);
  background: #1C1131;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 16px 44px -16px rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { border-color: rgba(255, 107, 114, 0.5); background: #431A29; color: #FFC9CD; }

/* ---------------- RESPONSIVE ---------------- */
@media (min-width: 560px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hours-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1240px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 26px); padding-bottom: 14px; }
  .hero-copy { text-align: left; }
  .hero-cta { justify-content: flex-start; }
  .hero-media { order: 0; }
  .hero-media img { max-height: 44vh; width: auto; margin-inline: auto; object-fit: contain; }
  .hero-copy { order: 1; }
}

@media (max-width: 640px) {
  :root { --header-h: 58px; }
  .logo-w { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
  .logo-text { font-size: 16px; }
  .status-chip.mini { padding: 5px 10px; font-size: 11px; }
  .status-chip.mini .status-label { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-sub { font-size: 14.5px; }
  .hero-cta .btn { width: 100%; }
  .cardapio-head { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* cardápio vira lista compacta de produtos */
  .menu-grid { gap: 10px; }
  .menu-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 14px;
    transition: transform 0.15s;
  }
  .menu-card:active { transform: scale(0.985); }
  .menu-card:hover { transform: none; box-shadow: none; }
  .card-media {
    flex: 0 0 96px;
    width: 96px;
    aspect-ratio: 1 / 1;
  }
  .card-media img { transform: none; }
  .card-tag, .card-destaque { display: none; }
  .card-body {
    padding: 10px 12px 11px;
    gap: 3px;
    min-width: 0;
  }
  .card-name { font-size: 15px; line-height: 1.2; }
  .card-desc {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .card-ingredientes { display: none; }
  .card-foot {
    padding-top: 5px;
    gap: 8px;
  }
  .price { font-size: 16px; }
  .price .from { font-size: 10px; }
  .btn-add { padding: 7px 13px; font-size: 12.5px; }
  .pizza-meta { display: none; }

  /* drawer vira painel inferior */
  .cart-drawer {
    top: auto;
    right: 0; left: 0; bottom: 0;
    width: 100%;
    height: 88dvh;
    max-height: 92dvh;
    border-left: 0;
    border-top: 1px solid var(--border-strong);
    border-radius: 24px 24px 0 0;
    transform: translateY(103%);
  }
  body.body-open .cart-drawer { transform: translateY(0); }
  .drawer-head { padding-top: 14px; }
  .drawer-body { padding: 14px 16px; }
  .cart-details { margin: auto -16px -14px; padding: 14px 16px 16px; }

  .pizza-modal { width: min(470px, 100vw - 20px); border-radius: 20px; }
  .chips-sabor { grid-template-columns: 1fr 1fr; }
  .pizza-footer { flex-direction: column; align-items: stretch; }
  .pizza-total { display: flex; align-items: baseline; justify-content: space-between; }
  .pizza-total strong { font-size: 22px; }

  .hours-list { grid-template-columns: 1fr; }
  .horarios-card { padding: 22px 18px 14px; border-radius: 20px; }
  .hours-status-pill { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-info { width: 100%; justify-content: space-between; }
  .footer-info > p:first-child { flex-basis: 100%; }
  .status-banner { font-size: 13px; padding: 12px 14px; }
}

@media (max-width: 380px) {
  .cart-fab { padding: 11px 14px; font-size: 13px; gap: 8px; }
  .cart-fab-text { display: none; }
  .card-media { flex-basis: 84px; width: 84px; }
  .card-body { padding: 9px 11px 10px; }
  .btn-add { padding: 7px 11px; }
}

/* ---------------- ACESSIBILIDADE ---------------- */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}