/* ============================================================
   MONSTER PAPAS SB — Design System
   Ink night + Neon pink + Amber cheese
   Bebas Neue (display) + Space Grotesk (UI)
   ============================================================ */

:root {
  /* Core palette */
  --ink: #0A0A0F;
  --ink-elev: #14141E;
  --neon: #FF006E;
  --neon-dim: #FF4D94;
  --neon-glow: rgba(255, 0, 110, 0.35);
  --amber: #FFB700;
  --amber-dim: #E6A300;
  --paper: #FAFAFA;
  --muted: #8B8B9A;
  --border: #2A2A3A;
  --border-bright: #3A3A4A;

  /* Focus ring */
  --focus-ring: 0 0 0 3px rgba(255, 0, 110, 0.25);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Type scale (clamp mobile→desktop) */
  --fs-hero: clamp(2.5rem, 10vw, 5rem);
  --fs-h2: clamp(1.5rem, 4vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2.5vw, 1.375rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Line heights */
  --lh-tight: 1.05;
  --lh-normal: 1.5;
  --lh-relaxed: 1.6;

  /* Transitions */
  --fast: 120ms;
  --base: 200ms;
  --slow: 350ms;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: var(--lh-normal);
  font-size: var(--fs-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
  touch-action: manipulation;
}

img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }

/* Focus visible — neon ring */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

/* Selection */
::selection { background: var(--neon); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon); }

/* ============================================================
   Typography Utilities
   ============================================================ */
.font-display { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; }
.font-ui { font-family: 'Space Grotesk', sans-serif; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  padding-top: calc(var(--space-3) + env(safe-area-inset-top));
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--paper);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--amber);
  object-fit: contain;
  padding: 2px;
}

.brand b { color: var(--neon); }

.hbtns { display: flex; align-items: center; gap: var(--space-2); }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--ink-elev);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: border-color var(--fast), background var(--fast), transform var(--fast);
}
.icon-btn:active { transform: scale(0.95); }
.icon-btn:hover,
.icon-btn:focus-visible { border-color: var(--neon); background: var(--ink); }

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--amber);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background var(--fast), transform var(--fast);
}
.cart-btn:active { transform: scale(0.93); }
.cart-btn:hover { background: var(--amber-dim); }

.cart-btn i {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--neon);
  color: var(--ink);
  font: 700 0.7rem/20px 'Space Grotesk', sans-serif;
  text-align: center;
  font-style: normal;
  display: none;
  padding: 0 6px;
}
.cart-btn i.on { display: block; animation: pop var(--base) var(--ease); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: var(--space-10) var(--space-4) var(--space-12);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 0, 110, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 100%, rgba(255, 183, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .hero-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

.hero-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }

.kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-2);
  opacity: 0;
  animation: fadeUp var(--slow) var(--ease) forwards;
  animation-delay: 0ms;
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  color: var(--paper);
  opacity: 0;
  animation: fadeUp var(--slow) var(--ease) forwards;
  animation-delay: 80ms;
}

.hero h1 span {
  color: var(--neon);
  -webkit-text-stroke: 1px var(--neon);
  text-stroke: 1px var(--neon);
}

.hero-sub {
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 360px;
  margin-top: var(--space-2);
  opacity: 0;
  animation: fadeUp var(--slow) var(--ease) forwards;
  animation-delay: 160ms;
}

.btn-hero {
  align-self: flex-start;
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-6);
  background: var(--neon);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  transition: background var(--fast), transform var(--fast), box-shadow var(--fast);
  opacity: 0;
  animation: fadeUp var(--slow) var(--ease) forwards;
  animation-delay: 240ms;
}
.btn-hero:hover { background: var(--neon-dim); box-shadow: 0 8px 24px var(--neon-glow); }
.btn-hero:active { transform: scale(0.97); }

@media (min-width: 700px) {
  .btn-hero { align-self: flex-start; }
}

.hero-cone {
  flex: 0 0 38%;
  max-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: floatIn var(--slow) var(--ease) forwards;
  animation-delay: 120ms;
}
.hero-cone img {
  width: 100%;
  max-width: 260px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: float 4s ease-in-out infinite;
}

/* ============================================================
   Main / Grid
   ============================================================ */
.wrap { max-width: 1100px; margin: 0 auto; padding: var(--space-5) var(--space-4) var(--space-10); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.vacio {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: var(--space-10) var(--space-4);
  font-size: var(--fs-sm);
}

/* ============================================================
   Product Card
   ============================================================ */
.card {
  position: relative;
  background: var(--ink-elev);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--base), transform var(--fast);
  opacity: 0;
  animation: fadeUp var(--slow) var(--ease) forwards;
}
.card:nth-child(1) { animation-delay: 0ms; }
.card:nth-child(2) { animation-delay: 40ms; }
.card:nth-child(3) { animation-delay: 80ms; }
.card:nth-child(4) { animation-delay: 120ms; }
.card:nth-child(5) { animation-delay: 160ms; }
.card:nth-child(6) { animation-delay: 200ms; }
.card:nth-child(7) { animation-delay: 240ms; }
.card:nth-child(8) { animation-delay: 280ms; }

.card:hover { border-color: var(--neon); }
.card:active { transform: scale(0.98); }

.card .ph {
  aspect-ratio: 1 / 0.85;
  position: relative;
  overflow: hidden;
  background: var(--border);
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow); }
.card:hover .ph img { transform: scale(1.05); }

.card .fb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  background: var(--border);
}

.tag {
  position: absolute; top: var(--space-2); left: var(--space-2); z-index: 2;
  background: var(--neon);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card .bd { padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); flex: 1; }

.card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--paper);
}

.card .desc {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}

.precio {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--amber);
  letter-spacing: 0.01em;
}

.add {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--amber);
  border: 2px solid var(--amber);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast), color var(--fast), border-color var(--fast), transform var(--fast);
  flex-shrink: 0;
}
.add:hover,
.add:focus-visible {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.add:active { transform: scale(0.88); }
.add:disabled {
  background: var(--border);
  color: var(--muted);
  border-color: var(--border);
  cursor: not-allowed;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--fs-xs);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  background: var(--ink-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--fast), color var(--fast);
}
.footer-links a:hover,
.footer-links a:focus-visible { border-color: var(--neon); color: var(--neon); }
.footer-links a:active { transform: scale(0.97); }

.copy { font-weight: 400; }

/* ============================================================
   Cart Bar (Bottom)
   ============================================================ */
.cart-bar {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
  z-index: 60;
  background: var(--ink);
  border: 1px solid var(--neon);
  border-radius: var(--r-lg);
  padding: var(--space-3) var(--space-5);
  display: none;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--neon-glow);
  max-width: 560px;
  margin: 0 auto;
}
.cart-bar.on { display: flex; animation: slideUp var(--base) var(--ease); }

.cart-bar span:first-child { color: var(--muted); }
.cart-bar span:last-child { color: var(--amber); font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; }

/* ============================================================
   Sheets / Overlays (Detalle, Carrito, Checkout)
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  overscroll-behavior: contain;
}
.overlay.on { display: flex; animation: fadeIn var(--fast); }

@media (min-width: 600px) {
  .overlay { align-items: center; }
}

.sheet {
  background: var(--ink-elev);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92dvh;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  border-top: 3px solid var(--neon);
  display: flex;
  flex-direction: column;
  animation: sheetUp var(--slow) var(--ease);
  position: relative;
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 600px) {
  .sheet { border-radius: var(--r-xl); max-height: 90vh; max-height: 90dvh; animation: sheetPop var(--slow) var(--ease); }
}

.sheet.drag { transition: none; }

.grab {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--amber), #FFD400);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  flex-shrink: 0;
}
.grab::after {
  content: "";
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: rgba(10, 10, 15, 0.4);
}

#sheet-detalle .grab { background: transparent; position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
#sheet-detalle .grab::after { background: rgba(255, 255, 255, 0.9); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }

.x-float {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.7);
  color: var(--paper);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  transition: background var(--fast), border-color var(--fast);
}
.x-float:hover,
.x-float:focus-visible { background: var(--ink); border-color: var(--neon); }

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(90deg, var(--amber), #FFD400);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  color: var(--ink);
  flex-shrink: 0;
}
.sheet-head h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.375rem; letter-spacing: 0.01em; }
.sheet-head button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.15);
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast);
}
.sheet-head button:hover { background: rgba(10, 10, 15, 0.25); }

@media (min-width: 600px) {
  .sheet-head { border-radius: var(--r-xl) var(--r-xl) 0 0; }
}

.sheet-body {
  padding: var(--space-4) var(--space-5);
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sheet-foot {
  padding: var(--space-4) var(--space-5) calc(var(--space-4) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--ink);
  flex-shrink: 0;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--fs-body);
  margin-bottom: var(--space-3);
}
.total strong { font-family: 'Bebas Neue', sans-serif; color: var(--amber); font-size: 1.75rem; letter-spacing: 0.01em; }

.total.res { background: var(--ink-elev); padding: var(--space-3) var(--space-4); border-radius: var(--r-md); margin: var(--space-4) 0; }

.acciones { display: flex; gap: var(--space-3); }

/* ============================================================
   Buttons
   ============================================================ */
.btn-main,
.btn-ghost,
.btn-wa,
.btn-loc,
.btn-inst,
.btn-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  border-radius: var(--r-md);
  transition: background var(--fast), color var(--fast), border-color var(--fast), transform var(--fast), box-shadow var(--fast);
}

.btn-main {
  flex: 1;
  background: var(--ink);
  color: var(--amber);
  border: 2px solid var(--amber);
  padding: var(--space-3) var(--space-5);
  font-size: var(--fs-sm);
}
.btn-main:hover,
.btn-main:focus-visible { background: var(--amber); color: var(--ink); }
.btn-main:active { transform: scale(0.97); }
.btn-main:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: var(--space-3) var(--space-5);
  font-size: var(--fs-sm);
}
.btn-ghost:hover,
.btn-ghost:focus-visible { border-color: var(--neon); color: var(--neon); }
.btn-ghost:active { transform: scale(0.97); }

.btn-wa {
  width: 100%;
  background: #25D366;
  color: #fff;
  font-size: var(--fs-body);
  padding: var(--space-4);
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover { background: #1EBE5A; box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45); }
.btn-wa:active { transform: scale(0.98); }

.btn-loc {
  width: 100%;
  background: var(--ink-elev);
  color: var(--paper);
  border: 1px solid var(--border);
  padding: var(--space-3);
  font-size: var(--fs-sm);
}
.btn-loc:hover,
.btn-loc:focus-visible { border-color: var(--neon); background: var(--ink); }

.btn-inst {
  background: var(--neon);
  color: var(--ink);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  border-radius: var(--r-sm);
}
.btn-inst:hover { background: var(--neon-dim); }

.btn-link {
  width: 100%;
  background: transparent;
  color: var(--muted);
  padding: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.btn-link:hover { color: var(--neon); }

/* ============================================================
   Detalle Sheet
   ============================================================ */
.nopad { padding: 0 !important; }

.dimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: var(--border);
}
.dimg img { width: 100%; height: 100%; object-fit: cover; }
.dimg .fb { font-size: 6rem; }

.dinfo { padding: var(--space-4) var(--space-5) var(--space-2); }
.dinfo h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.dinfo .dp { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--amber); margin: var(--space-2) 0; }
.dinfo .dd { color: var(--muted); font-size: var(--fs-sm); line-height: var(--lh-relaxed); white-space: pre-line; }

.dbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5) calc(var(--space-3) + env(safe-area-inset-bottom));
  position: sticky;
  bottom: 0;
  background: var(--ink);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  margin-top: var(--space-3);
}

.dbar .qty button { width: 48px; height: 48px; font-size: 1.25rem; border-radius: var(--r-md); }
.dbar .qty span { font-size: 1.25rem; min-width: 32px; font-family: 'Bebas Neue', sans-serif; color: var(--amber); }
.dbar .btn-main { padding: var(--space-3) var(--space-6); font-size: var(--fs-body); }

/* ============================================================
   Carrito Items
   ============================================================ */
.ci { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.ci:last-child { border: 0; }

.ci .im {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  background: var(--border);
}
.ci .im img { width: 100%; height: 100%; object-fit: cover; }

.ci .in { flex: 1; min-width: 0; }
.ci h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci .p { font-family: 'Bebas Neue', sans-serif; color: var(--amber); font-size: 1.125rem; margin-top: 2px; }

.qty { display: flex; align-items: center; gap: var(--space-2); }
.qty button {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--amber);
  border: 1px solid var(--amber);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast), color var(--fast);
}
.qty button:hover { background: var(--amber); color: var(--ink); }
.qty button:active { transform: scale(0.9); }
.qty span { min-width: 24px; text-align: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.125rem; color: var(--paper); }

.empty { text-align: center; padding: var(--space-10) var(--space-4); color: var(--muted); }
.empty b { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: var(--border); margin-bottom: var(--space-3); }

/* ============================================================
   Form / Checkout
   ============================================================ */
.campo { margin-bottom: var(--space-4); }

.lb {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--paper);
  margin-bottom: var(--space-1);
}
.lb span { color: var(--neon); }

#form-pedido input,
#form-pedido textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-body);
  line-height: 1.5;
  transition: border-color var(--fast), box-shadow var(--fast);
}
#form-pedido input::placeholder,
#form-pedido textarea::placeholder { color: var(--muted); opacity: 0.7; }
#form-pedido input:focus,
#form-pedido textarea:focus {
  border-color: var(--neon);
  box-shadow: var(--focus-ring);
  outline: none;
}

.o { text-align: center; color: var(--muted); font-size: var(--fs-xs); margin: var(--space-1) 0 var(--space-3); }

.legal {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  text-align: center;
  margin-bottom: var(--space-3);
}
.legal a { color: var(--neon); font-weight: 700; text-decoration: underline; }

/* Entrega Tabs */
.entrega-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-1); }
.et {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-3) var(--space-2);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--paper);
  line-height: 1.3;
  transition: background var(--fast), border-color var(--fast), color var(--fast);
}
.et.on { background: var(--ink); border-color: var(--neon); color: var(--neon); box-shadow: 0 0 0 1px var(--neon-glow); }
.et:active { transform: scale(0.98); }

.local-info {
  background: var(--ink);
  border: 1px dashed var(--amber);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}
.local-info b { display: block; color: var(--paper); margin-bottom: var(--space-2); }
.local-info a { color: var(--neon); font-weight: 700; }

/* ============================================================
   Install Banner
   ============================================================ */
.install {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  color: var(--paper);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.install[hidden] { display: none !important; }
.install img { width: 36px; height: 36px; border-radius: var(--r-sm); flex-shrink: 0; }
.install p { flex: 1; }
.install .x { background: none; color: var(--muted); font-size: 1.25rem; padding: var(--space-1); line-height: 1; }
.install .x:hover { color: var(--neon); }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  background: var(--neon);
  color: var(--ink);
  padding: var(--space-2) var(--space-5);
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--base) var(--ease), opacity var(--base);
  z-index: 200;
  box-shadow: 0 8px 24px var(--neon-glow);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  50% { transform: translateY(-12px) rotate(1.5deg); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheetUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheetPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  50% { transform: scale(1.4); }
}

/* ============================================================
   Utility
   ============================================================ */
.hide { display: none !important; }

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-cone img { animation: none; }
  .card, .kicker, .hero h1, .hero-sub, .btn-hero, .hero-cone,
  .cart-bar, .overlay, .sheet, .toast { animation: none !important; opacity: 1 !important; }
}