/* ================================================================
   styles.css — Primos Burger · Template Django-ready
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;900&family=Inter:wght@400;500;600&display=swap');

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  --purple:        #8B35C8;
  --purple-glow:   rgba(139,53,200,0.55);
  --yellow:        #FFD700;
  --yellow-glow:   rgba(255,215,0,0.55);
  --green-wa:      #25D366;
  --ink:           #2A0A52;
  --ink-2:         #1A0638;
  --ink-3:         #0F0322;
  --bg:            #5A1A9E;
  --bg-welcome:    #2A0A52;
  --sheet-bg:      #0e0918;
  --fg:            #f4f4f5;
  --muted:         #c4b3e0;
  --border:        rgba(255,215,0,0.18);
  --border-purple: rgba(139,53,200,0.3);
  --card-bg:       rgba(0,0,0,0.50);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html { height: 100%; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; color: inherit; font-family: inherit; font-size: inherit; }
a { text-decoration: none; color: inherit; }
input { font-family: inherit; }

/* ── Body / Background ─────────────────────────────────────────── */
body {
  min-height: 100%;
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 0.7 0 0 0 0 1 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' fill='transparent'/%3E%3C/svg%3E"),
    repeating-linear-gradient(-62deg,transparent 0px,transparent 8px,rgba(255,255,255,0.018) 8px,rgba(255,255,255,0.018) 9px),
    radial-gradient(ellipse at 50% 50%,rgba(90,26,158,0) 40%,rgba(30,5,70,0.55) 100%);
  background-attachment: fixed;
  background-repeat: repeat, repeat, no-repeat;
}
h1,h2,h3,h4 { font-family: 'Space Grotesk', system-ui, sans-serif; letter-spacing: -0.01em; }

/* Welcome page bg override */
.page-welcome { background-color: var(--bg-welcome); }

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: 448px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-centered {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Utility Classes ───────────────────────────────────────────── */
.neon-pink-glow {
  box-shadow:
    0 0 0 1px rgba(139,53,200,0.55),
    0 0 24px -2px rgba(139,53,200,0.50),
    inset 0 0 12px -6px rgba(139,53,200,0.55);
}
.neon-cyan-glow {
  box-shadow:
    0 0 0 1px rgba(255,215,0,0.6),
    0 0 24px -2px rgba(255,215,0,0.40),
    inset 0 0 12px -6px rgba(255,215,0,0.5);
}
.neon-text-pink  { color:#C060FF; text-shadow:0 0 8px rgba(139,53,200,0.8),0 0 20px rgba(139,53,200,0.5); }
.neon-text-yellow{ color:#FFD700; text-shadow:0 0 8px rgba(255,215,0,0.8),0 0 20px rgba(255,215,0,0.45); }

.checkered-strip {
  background-image:
    linear-gradient(45deg,#8B35C8 25%,white 25%),
    linear-gradient(-45deg,#8B35C8 25%,white 25%),
    linear-gradient(45deg,white 75%,#8B35C8 75%),
    linear-gradient(-45deg,white 75%,#8B35C8 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
}

/* ── Splash Screen ─────────────────────────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F0322;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo {
  width: 192px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(200,80,255,0.6));
  animation: pulse-logo 1.2s ease-in-out infinite alternate;
}
@keyframes pulse-logo {
  from { filter: drop-shadow(0 0 20px rgba(200,80,255,0.4)); }
  to   { filter: drop-shadow(0 0 60px rgba(200,80,255,0.9)); }
}

/* ── Fade-up animation ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Welcome / Sucursales ──────────────────────────────────────── */
.welcome-inner {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}
.hero-logo {
  height: 192px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(200,80,255,0.6));
}
.brand-tagline {
  margin-top: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--yellow);
}
.sucursales-heading {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 16px;
}
.sucursales-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sucursal card */
.sucursal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  text-align: left;
  width: 100%;
  background: rgba(0,0,0,0.45);
  border: 2px solid rgba(255,215,0,0.35);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  transition: transform 0.15s ease;
  cursor: pointer;
}
.sucursal-card:hover { border-color: rgba(255,215,0,0.55); }
.sucursal-card:active { transform: scale(0.98); }

.starburst {
  position: absolute;
  pointer-events: none;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  transition: opacity 0.2s;
}
.starburst-tr { right:-12px; top:-12px; width:56px; height:56px; background:var(--yellow); opacity:0.25; }
.starburst-bl { left:-8px; bottom:-8px; width:40px; height:40px; background:var(--purple); opacity:0.20; }
.sucursal-card:hover .starburst-tr { opacity: 0.5; }
.sucursal-card:hover .starburst-bl { opacity: 0.4; }

.pin-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255,215,0,0.2);
  color: var(--yellow);
  flex-shrink: 0;
}
.sucursal-name { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: white; }
.sucursal-detalle { margin-top: 2px; font-size: 13px; color: rgba(255,255,255,0.6); }
.ver-carta-link { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--yellow); }

/* Footer info */
.welcome-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.welcome-footer > p { font-size: 11px; color: rgba(255,255,255,0.4); }
.horarios-box {
  margin-top: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.horarios-box p { font-size: 11px; color: rgba(255,255,255,0.6); }
.horarios-title { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,215,0,0.8); font-size: 10px; margin-bottom: 4px !important; }

/* ── Brand Header ──────────────────────────────────────────────── */
.brand-header {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: 448px;
  margin: 0 auto;
  background: rgba(30,5,70,0.90);
  border-bottom: 2px solid rgba(255,215,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 8px;
}
.header-logo { height: 56px; width: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(200,100,255,0.5)); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-delivery {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  border-radius: 50px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  border: 1px solid rgba(255,215,0,0.40);
  background: rgba(255,215,0,0.08);
  transition: background 0.2s;
}
.btn-delivery:hover { background: rgba(255,215,0,0.15); }
.btn-ig {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.40);
  background: transparent;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s;
}
.btn-ig:hover { background: rgba(255,215,0,0.1); }
.btn-reserva-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 50px;
  border: 1px solid rgba(127,230,255,0.5);
  background: rgba(127,230,255,0.1);
  color: #9eefff;
  box-shadow: 0 0 0 1px rgba(127,230,255,0.15), 0 0 14px -3px rgba(127,230,255,0.6);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-reserva-clock:hover {
  background: rgba(127,230,255,0.18);
  border-color: rgba(127,230,255,0.8);
}
.btn-reserva-clock:active {
  transform: scale(0.96);
}
.header-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}
.header-hours svg { color: var(--yellow); flex-shrink: 0; }

/* ── Sucursal Bar ──────────────────────────────────────────────── */
.sucursal-bar {
  max-width: 448px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,215,0,0.08);
}
.sucursal-bar-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.sucursal-bar-label svg { color: var(--yellow); flex-shrink: 0; }
.btn-logout {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.btn-logout:hover { background: rgba(255,255,255,0.1); }

/* ── Category Tabs ─────────────────────────────────────────────── */
.category-tabs-wrapper {
  max-width: 448px;
  margin: 0 auto;
  position: sticky;
  top: 78px;
  z-index: 20;
  background: rgba(15,3,34,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,215,0,0.08);
}
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  border-radius: 50px;
  padding: 8px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-tab:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
.cat-tab.active-pink {
  background: rgba(139,53,200,0.15);
  border-color: rgba(139,53,200,0.5);
  color: #C060FF;
  box-shadow: 0 0 0 1px rgba(139,53,200,0.55), 0 0 12px -2px rgba(139,53,200,0.5);
}
.cat-tab.active-yellow {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.5);
  color: var(--yellow);
  box-shadow: 0 0 0 1px rgba(255,215,0,0.6), 0 0 12px -2px rgba(255,215,0,0.4);
}

/* ── Promo Carousel ────────────────────────────────────────────── */
.promo-section { max-width: 448px; margin: 12px auto 0; padding: 0 16px; }
.promo-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.promo-carousel::-webkit-scrollbar { display: none; }
.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 12px 16px;
  text-align: left;
  flex-shrink: 0;
  width: 90%;
  scroll-snap-align: start;
  transition: transform 0.15s;
}
.promo-card:active { transform: scale(0.99); }
.promo-starburst {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 64px;
  height: 64px;
  opacity: 0.2;
  pointer-events: none;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.promo-tag { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.promo-tag-badge { border-radius: 50px; padding: 2px 8px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.promo-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.promo-titulo { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 900; line-height: 1; }
.promo-subtitulo { font-size: 13px; font-weight: 700; margin-top: 2px; line-height: 1.3; }
.promo-cta { font-size: 11px; opacity: 0.6; margin-top: 2px; }
.promo-precio { flex-shrink: 0; border-radius: 12px; padding: 6px 12px; font-family: 'Space Grotesk', sans-serif; text-align: center; font-weight: 900; }

/* ── Product List ──────────────────────────────────────────────── */
.product-list {
  max-width: 448px;
  margin: 12px auto 0;
  padding: 0 16px 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Product Card ──────────────────────────────────────────────── */
.product-card {
  position: relative;
  display: flex;
  gap: 12px;
  overflow: hidden;
  border-radius: 24px;
  padding: 12px;
  text-align: left;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, border-color 0.2s;
  cursor: pointer;
  animation: cardIn 0.35s ease both;
}
.product-card:hover { border-color: rgba(255,215,0,0.35); }
.product-card:active { transform: scale(0.98); }
@keyframes cardIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.product-card-starburst {
  position: absolute;
  right: -8px; bottom: -8px;
  width: 40px; height: 40px;
  background: var(--yellow);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  opacity: 0.10;
  pointer-events: none;
  transition: opacity 0.2s;
}
.product-card:hover .product-card-starburst { opacity: 0.22; }

.product-img-wrapper { position: relative; width: 96px; height: 96px; flex-shrink: 0; overflow: hidden; border-radius: 16px; background: #000; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.08); }
.product-badge {
  position: absolute; left: 4px; top: 4px;
  border-radius: 50px;
  background: var(--yellow);
  padding: 2px 6px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: black;
}
.product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; }
.product-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.2; color: white; }
.product-desc { margin-top: 4px; font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.product-price { border-radius: 50px; border: 1px solid rgba(139,53,200,0.5); padding: 4px 10px; font-size: 11px; font-weight: 700; color: #C060FF; text-shadow: 0 0 8px rgba(139,53,200,0.8); }
.product-ver { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); }

/* ── Cart FAB ──────────────────────────────────────────────────── */
.cart-fab {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 50px;
  padding: 14px 20px;
  background: var(--purple);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  min-width: 220px;
  max-width: calc(min(448px, 100vw) - 32px);
  box-shadow: 0 0 0 1px rgba(139,53,200,0.55), 0 0 24px -2px rgba(139,53,200,0.50), inset 0 0 12px -6px rgba(139,53,200,0.55);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.2s;
}
.cart-fab:hover { box-shadow: 0 0 0 1px rgba(139,53,200,0.7), 0 0 32px -2px rgba(139,53,200,0.6), inset 0 0 12px -6px rgba(139,53,200,0.7); }
.cart-fab:active { transform: translateX(-50%) scale(0.97); }
.cart-fab.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }
.cart-fab-left { display: flex; align-items: center; gap: 8px; }
.cart-fab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 50px; background: rgba(255,255,255,0.2); font-size: 11px; font-weight: 700; padding: 0 4px; }
.cart-fab-total { color: var(--yellow); }

/* ── Overlay / Bottom Sheet ────────────────────────────────────── */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sheet-overlay.open { opacity: 1; visibility: visible; }

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  z-index: 51;
  width: 100%;
  max-width: 448px;
  height: 92svh;
  border-radius: 24px 24px 0 0;
  background: var(--sheet-bg);
  border: 1px solid rgba(139,53,200,0.30);
  border-bottom: none;
  display: flex;
  flex-direction: column;
  color: white;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
}
.bottom-sheet.open { transform: translateX(-50%) translateY(0); }
.sheet-body { display: contents; }

/* Sheet drag handle */
.sheet-handle { width: 40px; height: 4px; border-radius: 50px; background: rgba(139,53,200,0.3); margin: 12px auto 0; flex-shrink: 0; }

/* ── Product Sheet ─────────────────────────────────────────────── */
.product-sheet-img-wrapper {
  position: relative;
  height: 224px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  cursor: zoom-in;
}
.product-sheet-img { width: 100%; height: 100%; object-fit: cover; }
.product-sheet-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--sheet-bg) 0%, rgba(14,9,24,0.3) 40%, transparent 100%);
}
.product-sheet-close {
  position: absolute;
  right: 12px; top: 12px;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(4px);
  color: white;
  cursor: pointer;
  z-index: 2;
}
.product-sheet-info { position: absolute; bottom: 12px; left: 16px; right: 16px; }
.product-sheet-badge { display: inline-block; border-radius: 50px; background: var(--yellow); padding: 2px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: black; margin-bottom: 4px; }
.product-sheet-name { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; line-height: 1.1; color: white; text-shadow: 0 0 12px rgba(139,53,200,0.8); }
.product-sheet-desc { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,0.8); }

/* Checkered divider */
.checkered-divider {
  height: 8px;
  flex-shrink: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(45deg,#8B35C8 25%,white 25%),
    linear-gradient(-45deg,#8B35C8 25%,white 25%),
    linear-gradient(45deg,white 75%,#8B35C8 75%),
    linear-gradient(-45deg,white 75%,#8B35C8 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
}

/* Sheet scrollable area */
.sheet-scroll { flex: 1; overflow-y: auto; padding: 16px; scrollbar-width: none; }
.sheet-scroll::-webkit-scrollbar { display: none; }

/* ── Sections ──────────────────────────────────────────────────── */
.sheet-section { margin-bottom: 20px; }
.section-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; }
.section-title.pink  { color: #C060FF; text-shadow: 0 0 8px rgba(139,53,200,0.8), 0 0 20px rgba(139,53,200,0.5); }
.section-title.yellow{ color: var(--yellow); text-shadow: 0 0 8px rgba(255,215,0,0.8), 0 0 20px rgba(255,215,0,0.45); }
.section-subtitle { font-size: 10px; color: rgba(255,255,255,0.4); }

/* ── Option Buttons ────────────────────────────────────────────── */
.options-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.options-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.options-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }

.option-btn {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  color: white;
}
.option-btn:hover { border-color: rgba(255,255,255,0.2); }
.option-btn.active-purple {
  border-color: var(--purple);
  background: rgba(139,53,200,0.15);
  box-shadow: 0 0 0 1px rgba(139,53,200,0.55), 0 0 24px -2px rgba(139,53,200,0.50), inset 0 0 12px -6px rgba(139,53,200,0.55);
}
.option-btn.active-yellow { border-color: rgba(255,215,0,0.70); background: rgba(255,215,0,0.10); }
.option-btn.active-yellow .option-label { color: var(--yellow); }

.option-btn-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px !important;
  text-align: left !important;
}
.option-label { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; line-height: 1.2; }
.option-price { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ── Stepper ───────────────────────────────────────────────────── */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 8px 12px;
}
.stepper-btn {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.stepper-btn.plus { background: var(--purple); border-color: var(--purple); }
.stepper-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper-value { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; text-align: center; min-width: 32px; }
.stepper-hint { font-size: 10px; color: rgba(255,255,255,0.5); text-align: center; margin-top: 2px; }

/* ── Checkbox Items ────────────────────────────────────────────── */
.checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 10px 12px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.checkbox-item:last-child { margin-bottom: 0; }
.checkbox-item.checked { border-color: rgba(139,53,200,0.60); background: rgba(139,53,200,0.08); }
.checkbox-item-label { font-size: 13px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.checkbox-item-price { font-size: 11px; font-weight: 700; color: var(--yellow); flex-shrink: 0; margin-left: 8px; }

.custom-checkbox {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.25);
  background: transparent;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: all 0.15s;
  position: relative;
}
.custom-checkbox.checked { background: var(--purple); border-color: var(--purple); }
.custom-checkbox.checked::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ── Sheet Footer ──────────────────────────────────────────────── */
.sheet-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(139,53,200,0.20);
  background: var(--sheet-bg);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
}
.btn-add-to-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 16px;
  background: var(--purple);
  padding: 16px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(139,53,200,0.55), 0 0 24px -2px rgba(139,53,200,0.50), inset 0 0 12px -6px rgba(139,53,200,0.55);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-add-to-cart:hover { box-shadow: 0 0 0 1px rgba(139,53,200,0.7), 0 0 32px -2px rgba(139,53,200,0.65), inset 0 0 12px -6px rgba(139,53,200,0.7); }
.btn-add-to-cart:active { transform: scale(0.98); }
.btn-add-to-cart:disabled { opacity: 0.40; cursor: not-allowed; transform: none !important; }

/* ── Cart Sheet ────────────────────────────────────────────────── */
.cart-header { border-bottom: 1px solid rgba(139,53,200,0.15); padding: 0 16px 16px; flex-shrink: 0; }
.cart-title { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: #C060FF; text-shadow: 0 0 8px rgba(139,53,200,0.8); }
.cart-subtitle { margin-top: 4px; font-size: 11px; color: rgba(255,255,255,0.6); }

.cart-items-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cart-item { border-radius: 16px; border: 1px solid rgba(139,53,200,0.20); background: #160e2a; padding: 12px; }
.cart-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cart-item-name { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; }
.cart-item-size-badge { display: inline-block; border-radius: 50px; background: rgba(255,215,0,0.15); padding: 2px 8px; font-size: 10px; font-weight: 600; color: var(--yellow); margin-left: 8px; }
.cart-item-details { list-style: none; margin-top: 4px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: rgba(255,255,255,0.6); }
.cart-item-bottom { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.10); background: transparent; color: white; cursor: pointer; transition: background 0.15s; }
.qty-btn.plus { background: var(--purple); border-color: var(--purple); }
.qty-value { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; width: 20px; text-align: center; }
.cart-item-price { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; color: var(--yellow); }
.btn-remove { border-radius: 50%; padding: 6px; background: transparent; border: none; color: rgba(255,255,255,0.5); cursor: pointer; flex-shrink: 0; transition: color 0.15s; }
.btn-remove:hover { color: var(--purple); }

.cart-footer { flex-shrink: 0; border-top: 1px solid rgba(139,53,200,0.20); background: var(--sheet-bg); padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom, 16px)); display: flex; flex-direction: column; gap: 12px; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; }
.cart-total-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(255,255,255,0.5); }
.cart-total-value { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: var(--yellow); }

.delivery-info-box { display: flex; align-items: flex-start; gap: 8px; border-radius: 12px; border: 1px solid rgba(139,53,200,0.20); background: #160e2a; padding: 8px 12px; }
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  background: var(--green-wa);
  padding: 16px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: black;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 24px -4px var(--green-wa);
  transition: transform 0.15s, box-shadow 0.2s;
  width: 100%;
}
.btn-whatsapp:hover { box-shadow: 0 0 32px -4px var(--green-wa); }
.btn-whatsapp:active { transform: scale(0.98); }
.btn-reserva-programada {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(127,230,255,0.45);
  background: linear-gradient(135deg, rgba(10,45,70,0.85), rgba(21,82,124,0.7));
  padding: 12px;
  color: #9eefff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-reserva-programada:hover {
  background: linear-gradient(135deg, rgba(10,45,70,1), rgba(21,82,124,0.88));
}
.cart-empty { display: grid; place-items: center; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); min-height: 120px; }

/* ── Delivery Form ─────────────────────────────────────────────── */
.form-field { margin-bottom: 16px; }
.form-label { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.form-input {
  width: 100%; height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.40);
  padding: 0 16px;
  font-size: 13px;
  color: white;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--yellow); }
.form-input.error { border-color: var(--purple); }
.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-error { margin-top: 4px; font-size: 11px; color: var(--purple); }

/* ── Payment View ──────────────────────────────────────────────── */
.payment-view { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.payment-check { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: rgba(37,211,102,0.15); margin-bottom: 20px; color: var(--green-wa); }

.alias-box { width: 100%; border-radius: 16px; border: 1px solid rgba(255,215,0,0.30); background: rgba(255,215,0,0.05); padding: 20px; margin-top: 24px; }
.alias-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,215,0,0.70); margin-bottom: 4px; }
.alias-value { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 900; letter-spacing: 0.05em; color: var(--yellow); }

/* ── Delivery Map Modal ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0; z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-panel {
  width: 100%;
  max-width: 448px;
  border-radius: 24px 24px 0 0;
  background: var(--sheet-bg);
  padding-bottom: 32px;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; }
.modal-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 900; color: var(--yellow); }
.modal-subtitle { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.btn-modal-close { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.10); color: rgba(255,255,255,0.6); flex-shrink: 0; }
.modal-img { width: 100%; border-radius: 16px; object-fit: cover; margin: 0 20px; width: calc(100% - 32px); }
.modal-costs { margin: 16px; border-radius: 16px; border: 1px solid rgba(255,215,0,0.25); background: rgba(255,215,0,0.05); padding: 16px; }
.modal-cost-title { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,215,0,0.80); margin-bottom: 8px; }
.modal-cost-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; font-size: 13px; color: rgba(255,255,255,0.8); }
.modal-cost-value { font-family: 'Space Grotesk', sans-serif; font-weight: 900; color: var(--yellow); }
.modal-cost-divider { border: none; border-top: 1px solid rgba(255,255,255,0.10); margin: 8px 0; }
.modal-cost-note { font-size: 11px; color: rgba(255,255,255,0.40); margin-top: 8px; }

/* ── Reserva Modal ────────────────────────────────────────────── */
.reserva-modal-panel { max-width: 448px; }
.reserva-modal-body {
  padding: 0 16px 12px;
}
.reserva-modal-help {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}
.reserva-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reserva-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
}
.reserva-grid input {
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 0 10px;
}
.reserva-modal-note {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255,215,0,0.75);
}

/* ── Lightbox ──────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 90svh; max-width: 95vw; border-radius: 16px; object-fit: contain; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.7); color: white; cursor: pointer; }

/* ── Detalle Producto (standalone) ────────────────────────────── */
.detalle-page { background: var(--sheet-bg); min-height: 100svh; }
.detalle-header {
  position: sticky; top: 0; z-index: 30;
  max-width: 448px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(14,9,24,0.92);
  border-bottom: 1px solid rgba(139,53,200,0.20);
  backdrop-filter: blur(12px);
}
.btn-back { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.10); color: rgba(255,255,255,0.7); flex-shrink: 0; }
.detalle-header-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.detalle-container { max-width: 448px; margin: 0 auto; display: flex; flex-direction: column; min-height: calc(100svh - 62px); }
.detalle-img-wrapper { position: relative; height: 280px; overflow: hidden; cursor: zoom-in; flex-shrink: 0; }
.detalle-img { width: 100%; height: 100%; object-fit: cover; }
.detalle-img-info { position: absolute; bottom: 16px; left: 16px; right: 16px; }
.detalle-options { padding: 16px; flex: 1; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 460px) {
  .cart-fab {
    left: 16px; right: 16px;
    transform: none;
    width: calc(100% - 32px);
    max-width: none;
  }
  .cart-fab:active { transform: scale(0.97); }
  .cart-fab.hidden { transform: translateY(20px); opacity: 0; }
}
