/* ==========================================================================
   MamaMIAA · Pizza Venezolana 
   Artisanal Woodfired Pizzeria Design System & Mobile PWA
   ========================================================================== */

:root {
  /* Tipografía */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Paleta Pizzería Artesanal Italiana-Venezolana */
  --bg-deep: #0e0709;
  --bg-oven: #180b0f;
  --bg-surface: #241117;
  --bg-card: rgba(42, 18, 24, 0.72);
  --bg-card-hover: rgba(56, 24, 32, 0.82);
  
  --line: rgba(251, 191, 36, 0.16);
  --line-strong: rgba(251, 191, 36, 0.32);
  
  --txt: #ffffff;
  --txt-dim: rgba(255, 255, 255, 0.82);
  --mut: rgba(255, 255, 255, 0.52);

  /* Tokens Liquid Smoked Glass & Woodfire Oven */
  --liquid-smoked: linear-gradient(165deg, rgba(46, 20, 26, 0.88) 0%, rgba(19, 8, 12, 0.96) 100%);
  --liquid-card: linear-gradient(160deg, rgba(38, 17, 22, 0.84) 0%, rgba(17, 8, 11, 0.94) 100%);
  --liquid-dock: linear-gradient(180deg, rgba(36, 16, 22, 0.88) 0%, rgba(20, 9, 13, 0.96) 100%);
  --liquid-gold-border: rgba(251, 191, 36, 0.22);
  --liquid-gold-border-hover: rgba(251, 191, 36, 0.55);
  --liquid-specular: inset 0 1px 1px rgba(255, 255, 255, 0.22), inset 0 -1px 1px rgba(0, 0, 0, 0.5);
  --liquid-blur: blur(28px) saturate(180%);

  /* Colores de Marca */
  --fire-red: #d90429;
  --fire-red-light: #ef233c;
  --fire-glow: rgba(217, 4, 41, 0.4);
  
  --cheese-gold: #f59e0b;
  --cheese-bright: #fbbf24;
  --cheese-melt: #fef08a;
  
  --crust-amber: #d97706;
  --crust-dark: #78350f;
  
  --basil-green: #10b981;
  --basil-light: #34d399;

  --ven-flag-yellow: #facc15;
  --ven-flag-blue: #2563eb;
  --ven-flag-red: #dc2626;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.75);
}

[hidden] { display: none !important; }

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--txt);
  background-color: #0b0607;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-title-row b, .hero-content h1, .card-title, .promos-header h2, .promo-card h3, .track-header h2, .sheet-head b, .club-hero-header h2, .vip-card-head b {
  font-family: var(--font-serif);
  letter-spacing: -0.3px;
}

/* ------------------------------------------------------------- DESKTOP WRAPPER & SIMULADOR MÓVIL */
.desktop-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(circle at 75% 15%, rgba(217, 4, 41, 0.16) 0%, transparent 50%),
              radial-gradient(circle at 20% 85%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
              #0c0608;
}

.desktop-sidebar {
  width: 360px;
  min-width: 340px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-right: 1px solid var(--line);
  background: rgba(18, 10, 13, 0.88);
  backdrop-filter: blur(24px);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sidebar-logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--cheese-gold);
  object-fit: cover;
}
.badge-live {
  display: inline-block;
  background: rgba(16, 185, 129, 0.18);
  color: var(--basil-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
}
.sidebar-brand h2 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #fff;
}
.sidebar-brand p {
  font-size: 13px;
  color: var(--cheese-gold);
  font-weight: 700;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.sidebar-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card p {
  font-size: 12.5px;
  color: var(--txt-dim);
  line-height: 1.45;
  margin-bottom: 14px;
}
.sidebar-qr-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
  min-height: 180px;
}
.sidebar-url-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  font-size: 11px;
  justify-content: space-between;
}
.sidebar-url-box span {
  font-family: monospace;
  color: var(--txt-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-url-box button {
  background: var(--fire-red);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.sim-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-sim {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-sim:hover, .btn-sim.active {
  background: var(--fire-red);
  border-color: var(--fire-red);
  box-shadow: 0 4px 14px var(--fire-glow);
}
.btn-sim.admin-link {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.32));
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--cheese-bright);
}
.btn-sim.admin-link:hover {
  background: var(--cheese-gold);
  color: #1a080c;
}
.sim-hint {
  font-size: 11.5px;
  color: var(--mut);
  margin-top: 10px;
  line-height: 1.35;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--mut);
}

/* Marco iPhone 16 Pro Mockup */
.phone-mockup-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-width: 0;
  max-width: 100%;
}
.phone-case {
  width: 418px;
  height: 880px;
  max-height: 94vh;
  background: #11090b;
  border-radius: 54px;
  box-shadow: 0 0 0 4px #2e2024, 0 0 0 7px #1c1214, 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  border: 4px solid #38252b;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.island-camera {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #141414;
  border: 1px solid #222;
}
.island-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
}

/* Viewport Principal de la App (Liquid Scroll) */
.phone-screen {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(217, 4, 41, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 10% 45%, rgba(245, 158, 11, 0.15) 0%, transparent 45%),
              radial-gradient(circle at 80% 85%, rgba(217, 4, 41, 0.12) 0%, transparent 40%),
              var(--bg-deep);
  color: var(--txt);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 74px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
.phone-screen::-webkit-scrollbar { display: none; }

/* Responsive Mobile Screen Direct: 100% Pantalla Real en Smartphone */
@media (max-width: 880px) {
  .desktop-sidebar { display: none !important; }
  .phone-mockup-frame {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }
  .phone-case {
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .dynamic-island { display: none !important; }
  .phone-screen {
    padding-bottom: 74px;
  }
}

.desktop-wrapper.fullscreen-mode .desktop-sidebar { display: none !important; }
.desktop-wrapper.fullscreen-mode .phone-mockup-frame { padding: 0 !important; }
.desktop-wrapper.fullscreen-mode .phone-case {
  width: 100% !important;
  max-width: 580px;
  height: 100dvh !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  border: none !important;
}

/* ------------------------------------------------------------- COMPONENTES MÓVILES EXCLUSIVOS DE MAMAMIAA */

/* Topbar Header Fijo Unificado (Liquid Smoked Glass & Woodfire Oven) */
.topbar {
  flex: 0 0 auto;
  position: relative;
  z-index: 40;
  padding: 10px 14px 11px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(30, 13, 18, 0.96) 0%, rgba(18, 8, 12, 0.92) 100%);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border-bottom: 1px solid var(--liquid-gold-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.topbar-glass-surface {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.top-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.brand-logo-frame {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cheese-bright);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.oven-live-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #1a0c10;
  box-shadow: 0 0 10px #10b981;
  animation: liveOvenPulse 2s infinite ease-in-out;
}
@keyframes liveOvenPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.22); opacity: 1; filter: drop-shadow(0 0 6px #34d399); }
}
.brand-text {
  min-width: 0;
}
.brand-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-title-row b {
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.1;
  color: #fff;
}
.badge-oven {
  font-size: 9px;
  font-weight: 800;
  color: #fef08a;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(217, 4, 41, 0.22));
  border: 1px solid rgba(251, 191, 36, 0.45);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.brand-subline {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--txt-dim);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-subline #biz-place {
  overflow: hidden;
  text-overflow: ellipsis;
}
.bullet-sep {
  color: var(--cheese-gold);
  font-size: 9px;
}
.oven-live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #fde68a;
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rate-badge {
  text-align: right;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 78, 59, 0.25));
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-md);
  padding: 5px 9px;
  line-height: 1.15;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
.rate-lbl {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  color: var(--basil-light);
  letter-spacing: 0.6px;
}
.rate-badge b {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  color: #fff;
}

/* Banner Reordenar 1-Toque */
.reorder-banner {
  margin: 10px 14px 2px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 4, 41, 0.16));
  border: 1.5px solid var(--cheese-gold);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.3s ease;
}
.rb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rb-left span { font-size: 22px; flex-shrink: 0; }
.rb-left b { display: block; font-size: 13px; font-weight: 900; }
.rb-left small { font-size: 11px; color: #fef08a; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-rb-apply {
  background: var(--cheese-gold);
  color: #1a080c;
  border: none;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  flex-shrink: 0;
}

/* Banner de Pedido en Vivo */
.live-order-pill {
  margin: 10px 14px 4px;
  background: linear-gradient(135deg, rgba(217, 4, 41, 0.25), rgba(245, 158, 11, 0.25));
  border: 1.5px solid var(--cheese-gold);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.3s ease;
}
.live-anim-icon { font-size: 22px; }
.live-pill-info { flex: 1; min-width: 0; }
.live-pill-info b { display: block; font-size: 13.5px; font-weight: 900; }
.live-pill-info small { color: #fde68a; font-size: 11.5px; }
.live-pill-btn {
  background: var(--fire-red);
  color: #fff;
  border: none;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* Vistas de la aplicación */
.app-view {
  display: none;
  padding: 14px;
}
.app-view.active {
  display: block;
}

/* Hero Section Pizzería Artesanal (Liquid Smoked Glass & Woodfire Oven) */
.pizza-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 14px;
  min-height: 235px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), var(--liquid-specular);
  border: 1.5px solid var(--liquid-gold-border);
  background: #14070a;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.08);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 6, 8, 0.2) 0%, rgba(14, 6, 8, 0.55) 45%, rgba(14, 6, 8, 0.98) 100%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px 14px;
  z-index: 2;
}
.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.32), rgba(217, 4, 41, 0.28));
  color: #fef08a;
  border: 1px solid var(--cheese-gold);
  font-size: 9.5px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.3px;
}
.hero-time-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 5.5vw, 24px);
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.15;
  margin-bottom: 5px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.hero-content p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.38;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.hero-actions-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.btn-hero-action {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-hero-action.primary {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #1a080c;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-hero-action.primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}
.btn-hero-action.secondary {
  background: rgba(20, 9, 13, 0.68);
  backdrop-filter: blur(12px);
  color: #fef08a;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-hero-action.secondary:hover {
  background: rgba(35, 15, 22, 0.82);
  border-color: var(--cheese-bright);
  color: #fff;
  transform: translateY(-1px);
}
.hero-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hero-pills span {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.22);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  color: #fef3c7;
}

/* ------------------------------------------------------------- MÓDULO UNIFICADO: DISCOVERY DOCK */
.discovery-dock {
  background: var(--liquid-dock);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1.5px solid var(--liquid-gold-border);
  border-radius: var(--radius-xl);
  padding: 12px 12px 10px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--liquid-specular);
}
.discovery-dock .search-box {
  position: relative;
  margin-bottom: 10px;
}
.discovery-dock .search-ic {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--cheese-gold);
}
.discovery-dock .search-box input {
  width: 100%;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: var(--radius-lg);
  padding: 10px 14px 10px 36px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.discovery-dock .search-box input:focus {
  border-color: var(--cheese-bright);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.discovery-dock .search-box input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
#search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--mut);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
}

/* Selector de Categorías (Pills Liquid en el Dock) */
.cats-nav {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cats-nav::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.16);
  color: rgba(255, 255, 255, 0.8);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(251, 191, 36, 0.35);
}
.cat-pill.active {
  background: linear-gradient(135deg, #ff2a48 0%, #d90429 55%, #99001c 100%);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217, 4, 41, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------- BANNER TALLER PIZZERO ARTESANAL */
.custom-builder-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(52, 22, 29, 0.92) 0%, rgba(26, 11, 16, 0.96) 100%);
  border: 1.5px solid var(--liquid-gold-border);
  border-radius: var(--radius-xl);
  padding: 14px 15px;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), var(--liquid-specular);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cbb-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(14px);
}
.cbb-header-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.cbb-kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: var(--cheese-bright);
  text-transform: uppercase;
}
.cbb-flag {
  font-size: 9.5px;
  font-weight: 800;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}
.cbb-content-row {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cbb-thumb {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--cheese-bright);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65), 0 0 18px rgba(245, 158, 11, 0.35);
  transition: transform 0.35s ease;
}
.custom-builder-banner:hover .cbb-thumb {
  transform: rotate(10deg) scale(1.06);
}
.cbb-text {
  flex: 1;
  min-width: 0;
}
.cbb-text b {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.25;
  display: block;
}
.cbb-text p {
  font-size: 11px;
  color: var(--txt-dim);
  line-height: 1.35;
}
.btn-cbb {
  width: 100%;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #1a080c;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 900;
  font-size: 12.5px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-cbb:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}
.btn-cbb:active {
  transform: scale(0.98);
}
.cbb-arr {
  font-size: 16px;
  font-weight: 900;
}

/* ------------------------------------------------------------- REJILLA DE PRODUCTOS (LIQUID SMOKED CLUSTERS) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  width: 100%;
}
.product-card {
  min-width: 0;
  width: 100%;
  background: var(--liquid-card);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1.5px solid var(--liquid-gold-border);
  border-radius: clamp(16px, 3.8vw, 22px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: var(--liquid-specular), 0 10px 28px rgba(0, 0, 0, 0.5);
}
.product-card:active {
  transform: scale(0.98);
}
.product-card:hover {
  border-color: var(--liquid-gold-border-hover);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 14px 38px rgba(0, 0, 0, 0.75), 0 0 25px rgba(217, 4, 41, 0.2);
  transform: translateY(-2px);
}

.card-img-wrap {
  width: 100%;
  height: clamp(112px, 28vw, 140px);
  position: relative;
  overflow: hidden;
  background: #18090d;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .card-img {
  transform: scale(1.08);
}
.card-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 8, 12, 0.98) 100%);
  pointer-events: none;
}
.card-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: linear-gradient(135deg, rgba(217, 4, 41, 0.95), rgba(185, 28, 28, 0.95));
  color: #fff;
  font-size: clamp(8.5px, 2.2vw, 10px);
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  z-index: 2;
  backdrop-filter: blur(8px);
  max-width: calc(100% - 14px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}
.card-body {
  padding: clamp(10px, 2.8vw, 14px);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.card-title {
  font-family: var(--font-serif);
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 4px;
  color: #fff;
  word-break: break-word;
}
.card-desc {
  font-size: clamp(10px, 2.5vw, 11px);
  color: var(--txt-dim);
  line-height: 1.38;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  min-width: 0;
}
.card-price-box {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  flex: 1;
}
.card-price-usd {
  font-size: clamp(14.5px, 3.8vw, 17px);
  font-weight: 900;
  color: var(--cheese-bright);
  letter-spacing: -0.3px;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}
.card-price-bs-pill, .card-price-bs {
  display: inline-block;
  font-size: clamp(8.5px, 2.2vw, 10px);
  color: rgba(254, 240, 138, 0.85);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-card-add {
  border: none;
  font-size: clamp(10.5px, 2.6vw, 12px);
  font-weight: 900;
  padding: clamp(6px, 1.8vw, 8px) clamp(10px, 2.4vw, 13px);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-card-add.btn-custom {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #1a080c;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-card-add.btn-combo {
  background: linear-gradient(135deg, #ff2a48 0%, #d90429 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-card-add.btn-direct {
  background: linear-gradient(135deg, #ef233c 0%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.4);
}
.btn-card-add:hover {
  transform: scale(1.05);
}
.btn-card-add:active {
  transform: scale(0.94);
}

.app-footer-note {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  color: var(--mut);
  line-height: 1.5;
  padding-bottom: 10px;
}

/* ------------------------------------------------------------- VISTA COMBOS & PROMOS (LIQUID DESIGN) */
.promos-header {
  margin-bottom: 16px;
}
.badge-promos {
  display: inline-block;
  background: rgba(217, 4, 41, 0.22);
  color: var(--fire-red-light);
  border: 1px solid var(--fire-red);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}
.promos-header h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 4px;
  color: #fff;
}
.promos-header p {
  font-size: 12.5px;
  color: var(--txt-dim);
  line-height: 1.4;
}

.promos-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.promo-card {
  background: var(--liquid-card);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1.5px solid var(--liquid-gold-border);
  border-radius: clamp(18px, 4.2vw, 26px);
  overflow: hidden;
  box-shadow: var(--liquid-specular), 0 12px 36px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}
.promo-card.highlight {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: inset 0 1px 1px rgba(251, 191, 36, 0.45), 0 14px 40px rgba(245, 158, 11, 0.25), 0 0 24px rgba(217, 4, 41, 0.2);
}
.promo-banner-wrap {
  position: relative;
  width: 100%;
  height: clamp(135px, 34vw, 170px);
  overflow: hidden;
  background: #190e11;
}
.promo-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.promo-card:hover .promo-banner-img {
  transform: scale(1.05);
}
.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 8, 11, 0.12) 0%, rgba(17, 8, 11, 0.45) 40%, rgba(17, 8, 11, 0.98) 100%);
  pointer-events: none;
}
.promo-savings-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 3;
  letter-spacing: 0.2px;
}
.promo-card-body {
  padding: clamp(14px, 3.5vw, 18px);
  min-width: 0;
}
.promo-badge-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 4, 41, 0.2));
  border: 1px solid var(--cheese-gold);
  color: var(--cheese-bright);
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}
.promo-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(17px, 4.2vw, 20px);
  font-weight: 900;
  margin-bottom: 5px;
  line-height: 1.22;
  color: #fff;
}
.promo-card p {
  font-size: 12.5px;
  color: var(--txt-dim);
  line-height: 1.42;
  margin-bottom: 12px;
}
.promo-includes {
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.pi-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.pi-text {
  flex: 1;
  min-width: 0;
}
.pi-text small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--cheese-bright);
  text-transform: uppercase;
  margin-bottom: 1px;
}
.pi-text b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #fde68a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promo-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.pp-prices {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pp-old {
  font-size: 13px;
  text-decoration: line-through;
  color: var(--mut);
  font-weight: 700;
  margin-bottom: 1px;
}
.pp-now {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 900;
  color: var(--cheese-bright);
  letter-spacing: -0.3px;
  text-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
  line-height: 1.1;
}
.pp-bs-pill, .pp-bs {
  font-size: 11px;
  color: var(--mut);
  font-weight: 700;
  white-space: nowrap;
  margin-top: 2px;
}
.btn-promo-action {
  background: linear-gradient(135deg, #ff2a48 0%, #d90429 60%, #99001c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-promo-action:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(217, 4, 41, 0.65);
}
.btn-promo-action:active {
  transform: scale(0.96);
}

/* ------------------------------------------------------------- VISTA MIS PEDIDOS / LIVE TRACKER (LIQUID) */
.track-section { margin-bottom: 24px; }
.track-card {
  background: var(--liquid-card);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1.5px solid var(--liquid-gold-border);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), var(--liquid-specular);
}
.track-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.track-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: var(--basil-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 9.5px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.track-header h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.track-header small { color: var(--mut); font-size: 11.5px; }
.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}
.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.status-live-banner {
  background: linear-gradient(135deg, rgba(217, 4, 41, 0.28), rgba(245, 158, 11, 0.24));
  border: 1.5px solid var(--cheese-gold);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.status-pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cheese-bright);
  box-shadow: 0 0 12px var(--cheese-gold);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

.steps-stepper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.step-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.45;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-row.completed {
  opacity: 0.9;
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(16, 185, 129, 0.28);
}
.step-row.current {
  opacity: 1;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 4, 41, 0.16));
  border-color: var(--cheese-gold);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(251, 191, 36, 0.3);
  transform: scale(1.02);
}
.step-icon-wrap { font-size: 22px; width: 34px; text-align: center; flex-shrink: 0; }
.step-content { flex: 1; min-width: 0; }
.step-content b { display: block; font-size: 13.5px; font-weight: 800; color: #fff; margin-bottom: 1px; }
.step-content small { font-size: 11px; color: var(--txt-dim); display: block; }
.step-check {
  font-size: 13px;
  font-weight: 900;
  color: var(--basil-light);
  display: none;
}
.step-row.completed .step-check { display: block; }
.step-row.current .step-check { display: none; }

.track-summary-box {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 14px;
}
.ts-head {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 900;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.t-items-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: var(--txt-dim);
  margin-bottom: 8px;
}
.t-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 7px;
  color: var(--mut);
}
.t-total-row b { color: var(--cheese-bright); font-size: 13.5px; font-weight: 900; }

.track-edit-box {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.te-info b { display: block; font-size: 12px; font-weight: 800; color: #fff; }
.te-info small { font-size: 10.5px; color: var(--mut); }
.btn-te-action {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a080c;
  border: none;
  font-size: 11px;
  font-weight: 900;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
}

.track-wa-action { text-align: center; }
.btn-wa-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.btn-wa-direct:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}
.track-wa-action small { font-size: 11px; color: var(--mut); }

.orders-history-section h2 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #fff;
}
.orders-history-list { display: flex; flex-direction: column; gap: 10px; }
.history-order-card {
  background: var(--liquid-card);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid var(--liquid-gold-border);
  border-radius: var(--radius-lg);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), var(--liquid-specular);
  transition: all 0.2s ease;
}
.history-order-card:hover {
  border-color: var(--liquid-gold-border-hover);
  transform: translateY(-1px);
}
.hoc-info b { display: block; font-size: 14px; font-weight: 900; color: #fff; }
.hoc-info small { color: var(--mut); font-size: 11px; }
.hoc-right { text-align: right; }
.hoc-usd { font-size: 15px; font-weight: 900; color: var(--cheese-bright); }
.hoc-btn {
  display: block;
  font-size: 11.5px;
  color: var(--fire-red-light);
  font-weight: 800;
  text-decoration: none;
  margin-top: 3px;
}

.orders-empty-box { text-align: center; padding: 44px 20px; }
.empty-emoji { font-size: 52px; display: block; margin-bottom: 12px; }
.orders-empty-box b { display: block; font-size: 17px; margin-bottom: 4px; color: #fff; }
.orders-empty-box p { font-size: 12.5px; color: var(--mut); margin-bottom: 18px; }
.btn-go-menu {
  background: linear-gradient(135deg, var(--fire-red), #b91c1c);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 900;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px var(--fire-glow);
}

/* ------------------------------------------------------------- CLUB VIP & QR (LIQUID GOLD) */
.club-hero-header { margin-bottom: 14px; }
.club-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.22);
  color: var(--cheese-bright);
  border: 1px solid var(--cheese-gold);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.club-hero-header h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 4px;
  color: #fff;
}
.club-hero-header p { font-size: 12px; color: var(--txt-dim); }

.club-tabs-nav {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}
.club-tab-pill {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--mut);
  background: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.club-tab-pill.active {
  background: linear-gradient(135deg, #ff2a48 0%, #d90429 60%, #99001c 100%);
  color: #fff;
  box-shadow: 0 4px 14px var(--fire-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.vip-loyalty-card {
  background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.3) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(217, 4, 41, 0.22) 0%, transparent 55%),
              linear-gradient(135deg, #2c1218 0%, #15080c 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(254, 240, 138, 0.4);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.vip-card-glow {
  position: absolute;
  top: -40%;
  right: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.vip-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.vip-card-head small {
  font-size: 9.5px;
  letter-spacing: 1.2px;
  color: var(--cheese-bright);
  font-weight: 800;
  display: block;
}
.vip-card-head b {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 900;
  color: #fff;
}
.vip-tier {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a080c;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.5px;
}

.vip-member-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.28);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.vmi-name { font-size: 14.5px; font-weight: 900; color: #fff; }
.vmi-code { font-family: monospace; font-size: 12.5px; color: var(--cheese-bright); font-weight: 800; letter-spacing: 1px; }

.vip-slices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 16px;
}
.slice-slot {
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  transition: all 0.25s ease;
}
.slice-slot.filled {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 4, 41, 0.18));
  border: 1.5px solid var(--cheese-gold);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(254, 240, 138, 0.3);
}
.slice-slot.gift {
  border: 1.5px solid var(--fire-red);
  background: linear-gradient(135deg, rgba(217, 4, 41, 0.25), rgba(153, 0, 28, 0.25));
  box-shadow: 0 0 16px rgba(217, 4, 41, 0.35);
}
.slice-ic { font-size: 22px; display: block; margin-bottom: 3px; }
.slice-slot small { font-size: 9.5px; font-weight: 700; color: var(--mut); }
.slice-slot.filled small { color: var(--cheese-bright); font-weight: 800; }
.slice-slot.gift small { color: #fca5a5; font-weight: 800; }

.vip-reward-banner {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
}
.vrb-icon { font-size: 22px; flex-shrink: 0; }
.vip-reward-banner b { color: #fde68a; display: block; margin-bottom: 2px; }
.vip-reward-banner p { color: var(--txt-dim); line-height: 1.35; }

.vip-lookup-box label { font-size: 12px; font-weight: 700; display: block; }
.input-lookup-wrap { display: flex; gap: 8px; margin-top: 6px; }
.input-lookup-wrap input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
}
.input-lookup-wrap button {
  background: var(--fire-red);
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 12px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.qr-sharing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 16px;
  text-align: center;
}
.qr-sharing-card h3 { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.qr-sharing-card p { font-size: 12px; color: var(--txt-dim); margin-bottom: 14px; }
.qr-container-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: inline-block;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.qr-brand-sub { display: block; font-size: 11px; font-weight: 800; color: #1e293b; margin-top: 6px; }
.qr-actions-row { display: flex; gap: 8px; margin-bottom: 16px; }
.btn-qr-action {
  flex: 1;
  padding: 10px;
  background: var(--bg-card-hover);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.btn-qr-action.wa {
  background: #25d366;
  color: #0b2e13;
  border: none;
  font-weight: 900;
}
.stand-download-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.stand-thumb { width: 44px; height: 60px; object-fit: cover; border-radius: 6px; }
.sdb-info b { font-size: 13px; font-weight: 800; display: block; }
.sdb-info small { font-size: 11px; color: var(--mut); display: block; margin-bottom: 6px; }
.btn-dl-stand {
  display: inline-block;
  background: var(--cheese-gold);
  color: #1a080c;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

/* ------------------------------------------------------------- BARRA FLOTANTE DE CARRITO & BOTTOM NAV (DOCK LIQUID) */
.cart-floating-bar {
  position: absolute;
  bottom: calc(66px + max(8px, env(safe-area-inset-bottom)));
  left: 12px;
  right: 12px;
  margin: 0 auto;
  max-width: 394px;
  background: linear-gradient(135deg, #ff2a48 0%, #d90429 55%, #99001c 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(217, 4, 41, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 50;
  cursor: pointer;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 880px) {
  .cart-floating-bar {
    max-width: calc(100% - 24px);
    bottom: calc(66px + max(8px, env(safe-area-inset-bottom)));
  }
}
.cfb-info { display: flex; align-items: center; gap: 10px; }
.cfb-count {
  width: 26px;
  height: 26px;
  background: #fff;
  color: var(--fire-red);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfb-texts b { display: block; font-size: 13.5px; font-weight: 900; }
.cfb-texts small { font-size: 11px; color: #fee2e2; }
.cfb-total-action { display: flex; align-items: center; gap: 6px; }
.cfb-total-action b { font-size: 16px; font-weight: 900; }
.cfb-arrow { font-size: 18px; font-weight: 900; }

.bottom-nav {
  flex: 0 0 auto;
  position: relative;
  z-index: 45;
  width: 100%;
  height: calc(64px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(28, 12, 16, 0.96) 0%, rgba(16, 7, 10, 0.98) 100%);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border-top: 1px solid var(--liquid-gold-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.nav-item {
  background: none;
  border: none;
  color: var(--mut);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.nav-icon { font-size: 20px; transition: transform 0.2s ease; }
.nav-item.active { color: #fff; }
.nav-item.active .nav-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 2px 8px var(--fire-glow));
}
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--cheese-bright), var(--fire-red));
  box-shadow: 0 0 8px var(--fire-red);
}

/* ------------------------------------------------------------- MODAL PERSONALIZADOR DE PIZZA */
.sheet-modal {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}
.sheet-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(34, 15, 20, 0.98) 0%, rgba(18, 7, 11, 0.99) 100%);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-top: 2.5px solid var(--cheese-gold);
  border-radius: 28px 28px 0 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(254, 240, 138, 0.45);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.sheet-head b { font-size: 17.5px; font-weight: 900; display: block; }
.sheet-head small { font-size: 11.5px; color: var(--mut); }
.sheet-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-scrollable-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Visualizador de Pizza Dinámico con Foto Real (Artisanal Peel) */
.pizza-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 0 8px;
}
.pizza-photo-disc-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3.5px solid var(--cheese-gold);
  box-shadow: 0 0 0 6px rgba(120, 53, 15, 0.7), 0 0 0 9px rgba(35, 17, 21, 0.9), 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 158, 11, 0.3);
  overflow: hidden;
  position: relative;
  background: #14090b;
  transition: transform 0.3s ease;
}
.pizza-photo-disc {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pv-half-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff 0%, #fbbf24 50%, #ffffff 100%);
  box-shadow: 0 0 10px #fbbf24, 0 0 20px rgba(217, 4, 41, 0.8);
  z-index: 5;
}
.pizza-size-badge {
  margin-top: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 4, 41, 0.18));
  color: var(--cheese-bright);
  border: 1px solid var(--cheese-gold);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
}

.custom-sec { display: flex; flex-direction: column; gap: 8px; }
.sec-label { font-size: 13px; font-weight: 900; color: #fff; letter-spacing: 0.2px; }

.sizes-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.size-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.size-chip:hover {
  background: rgba(255, 255, 255, 0.08);
}
.size-chip.active {
  border-color: var(--cheese-gold);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 4, 41, 0.16));
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(254, 240, 138, 0.3);
  transform: scale(1.02);
}
.size-chip b { display: block; font-size: 13px; font-weight: 900; color: #fff; }
.size-chip small { display: block; font-size: 10.5px; color: var(--mut); margin-top: 1px; }
.size-chip .sc-price { font-size: 12.5px; font-weight: 900; color: var(--cheese-bright); margin-top: 5px; }

.half-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 11px 14px;
  border-radius: var(--radius-md);
}
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}
.switch-toggle input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
input:checked + .slider { background: linear-gradient(135deg, var(--fire-red), #b91c1c); }
input:checked + .slider:before { transform: translateX(20px); }

.half-pickers-box {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.half-pickers-box label { font-size: 11.5px; font-weight: 700; color: var(--txt-dim); }
.half-pickers-box select {
  width: 100%;
  margin-top: 4px;
  background: #251319;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.crusts-selector { display: flex; flex-direction: column; gap: 7px; }
.crust-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.crust-opt:hover {
  background: rgba(255, 255, 255, 0.08);
}
.crust-opt.active {
  border-color: var(--cheese-gold);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 4, 41, 0.14));
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(254, 240, 138, 0.3);
}
.crust-opt b { font-size: 13px; font-weight: 900; display: block; color: #fff; }
.crust-opt small { font-size: 10.5px; color: var(--mut); }
.crust-price { font-size: 12.5px; font-weight: 900; color: var(--cheese-bright); }

.toppings-grid, .sauces-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.addon-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 11px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.addon-chip:hover {
  background: rgba(255, 255, 255, 0.08);
}
.addon-chip.active {
  border-color: var(--fire-red);
  background: linear-gradient(135deg, rgba(217, 4, 41, 0.25), rgba(153, 0, 28, 0.25));
  box-shadow: 0 3px 12px rgba(217, 4, 41, 0.3);
}
.addon-chip .ac-ic { font-size: 19px; }
.addon-chip .ac-info { flex: 1; min-width: 0; }
.addon-chip b { display: block; font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.addon-chip small { font-size: 10.5px; color: var(--cheese-bright); font-weight: 800; }

/* Selector para el modal de Combos */
.combo-select {
  width: 100%;
  margin-top: 6px;
  background: rgba(26, 14, 18, 0.95);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease;
}
.combo-select:focus {
  border-color: var(--cheese-gold);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

#cz-note-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}
#cz-note-input:focus {
  border-color: var(--fire-red);
  box-shadow: 0 0 12px var(--fire-glow);
}

.sheet-footer {
  padding: 14px 20px;
  background: #14080a;
  border-top: 1px solid var(--line);
}
.cz-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cz-price-row small { font-size: 10.5px; color: var(--mut); display: block; }
.cz-prices b { font-size: 19px; font-weight: 900; color: var(--cheese-bright); display: block; line-height: 1.1; }
.cz-prices span { font-size: 11px; color: var(--mut); }
.btn-sheet-submit {
  flex: 1;
  background: linear-gradient(135deg, var(--fire-red), #b91c1c);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--fire-glow);
}

/* ------------------------------------------------------------- CARRITO Y CHECKOUT 2 PASOS */
.cart-steps-indicator { display: flex; align-items: center; gap: 8px; }
.c-step {
  font-size: 12px;
  font-weight: 800;
  color: var(--mut);
  display: flex;
  align-items: center;
  gap: 5px;
}
.c-step b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 10.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-step.active { color: #fff; }
.c-step.active b { background: var(--fire-red); }
.c-sep { color: var(--mut); font-size: 12px; }

.cart-step-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-items-scroll { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.cart-item-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cic-info b { font-size: 13.5px; font-weight: 900; display: block; }
.cic-info small { font-size: 11px; color: var(--mut); display: block; line-height: 1.3; }
.cic-right { text-align: right; }
.cic-price { font-size: 14px; font-weight: 900; color: var(--cheese-bright); margin-bottom: 6px; }
.cic-qty-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 6px;
  border-radius: var(--radius-pill);
}
.cic-btn {
  background: none;
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  width: 20px;
  cursor: pointer;
}
.cic-qty { font-size: 12px; font-weight: 800; }

.delivery-threshold-banner {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--basil-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.cart-totals-summary {
  background: rgba(0, 0, 0, 0.38);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.cts-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--txt-dim);
  margin-bottom: 4px;
}
.cts-row.total {
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}
.cts-row.total b { font-size: 19px; color: var(--cheese-bright); }
.cts-row.total small { display: block; font-size: 11.5px; color: var(--mut); text-align: right; }

.btn-proceed {
  width: 100%;
  background: linear-gradient(135deg, var(--fire-red), #b91c1c);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--fire-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* PASO 2: CHECKOUT FORM */
.cart-step2-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.btn-back-step1 {
  background: none;
  border: none;
  color: var(--cheese-gold);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.step2-badge-amount { font-size: 14px; font-weight: 900; color: #fff; }

.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.checkout-sec { display: flex; flex-direction: column; gap: 6px; }
.delivery-toggle-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.del-opt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.del-opt input { display: none; }
.del-opt:hover {
  background: rgba(255, 255, 255, 0.08);
}
.del-opt.active {
  border-color: var(--cheese-gold);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 4, 41, 0.16));
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(254, 240, 138, 0.3);
}
.del-opt span { display: block; font-size: 13px; font-weight: 900; color: #fff; }
.del-opt small { display: block; font-size: 10.5px; color: var(--mut); margin-top: 1px; }

.form-inputs-group { display: flex; flex-direction: column; gap: 8px; }
.form-inputs-group label { font-size: 11.5px; font-weight: 700; color: var(--txt-dim); }
.form-inputs-group input, .form-inputs-group textarea, .checkout-sec select, #inp-order-note {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  color: #fff;
  font-size: 13px;
  outline: none;
  margin-top: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-inputs-group input:focus, .form-inputs-group textarea:focus, .checkout-sec select:focus, #inp-order-note:focus {
  border-color: var(--fire-red);
  box-shadow: 0 0 12px var(--fire-glow);
}

.pm-details-box {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.pm-head-title span { font-size: 13.5px; font-weight: 900; color: var(--basil-light); display: block; }
.pm-head-title small { font-size: 10.5px; color: var(--mut); }
.btn-copy-all-pm {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-copy-all-pm:hover {
  background: rgba(16, 185, 129, 0.3);
}
.pm-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 5px;
}
.pm-data-row small { font-size: 10px; color: var(--mut); display: block; }
.pm-data-row b { font-size: 12.5px; color: #fff; }
.pm-data-row.highlight b { color: var(--cheese-bright); font-size: 14.5px; font-weight: 900; }
.btn-copy-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-copy-item:hover {
  background: rgba(255, 255, 255, 0.2);
}
.pm-ref-input-label { font-size: 11px; font-weight: 700; color: var(--mut); margin-top: 4px; }

.cash-change-box {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-top: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.cc-head span { font-size: 13px; font-weight: 900; display: block; color: var(--cheese-bright); }
.cc-head small { font-size: 10.5px; color: var(--mut); }
.cash-chips-row { display: flex; gap: 7px; margin: 9px 0; flex-wrap: wrap; }
.cash-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cash-chip:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cash-chip.active {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a080c;
  border-color: var(--cheese-gold);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}
.cash-calc-result {
  background: rgba(245, 158, 11, 0.16);
  border-radius: var(--radius-md);
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fde68a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-guarantee {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--txt-dim);
  align-items: center;
}
.cg-icon { font-size: 18px; flex-shrink: 0; }

.checkout-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  border-radius: var(--radius-md);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(135deg, #ff2a48 0%, #d90429 60%, #99001c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(217, 4, 41, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  margin-top: 6px;
  transition: all 0.2s ease;
}
.btn-submit-order:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(217, 4, 41, 0.7);
}
.btn-submit-order:active {
  transform: scale(0.97);
}

.pwa-banner {
  position: absolute;
  bottom: calc(72px + max(8px, env(safe-area-inset-bottom)));
  left: 12px;
  right: 12px;
  background: rgba(30, 14, 17, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--cheese-gold);
  border-radius: var(--radius-xl);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 60;
  box-shadow: var(--shadow-lg);
}
.pwa-ico { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pwa-text { flex: 1; min-width: 0; }
.pwa-text b { font-size: 13px; font-weight: 900; display: block; }
.pwa-text small { font-size: 10.5px; color: var(--mut); display: block; }
.btn-pwa-inst {
  background: var(--cheese-gold);
  color: #1a080c;
  border: none;
  font-size: 11.5px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.btn-pwa-dismiss {
  background: none;
  border: none;
  color: var(--mut);
  font-size: 14px;
  cursor: pointer;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ==========================================================================
   RESILIENCIA OFFLINE (NIVEL 2) & INDICADORES DE CONECTIVIDAD
   ========================================================================== */
.connectivity-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  user-select: none;
  cursor: default;
}
.connectivity-pill.online {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34d399;
}
.connectivity-pill.online .conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: liveOvenPulse 2s infinite ease-in-out;
}
.connectivity-pill.offline {
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.65);
  color: #fbbf24;
}
.connectivity-pill.offline .conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}
.connectivity-pill.syncing {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.6);
  color: #93c5fd;
}
.connectivity-pill.syncing .conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
  animation: liveOvenPulse 0.8s infinite ease-in-out;
}

/* Botón Selector de Plantilla Visual en Topbar */
.btn-theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(217, 4, 41, 0.15));
  border: 1px solid var(--liquid-gold-border);
  color: #fef08a;
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-theme-pill:hover {
  transform: translateY(-1px);
  border-color: var(--cheese-bright);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   CATÁLOGO DE PLANTILLAS VISUALES (SIDEBAR COMERCIAL & BOTTOM SHEET MÓVIL)
   ========================================================================== */
.themes-catalog-card {
  margin-top: 14px;
  background: var(--bg-card);
  border: 1px solid var(--liquid-gold-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.toc-badge-count {
  font-size: 9.5px;
  font-weight: 900;
  color: var(--cheese-bright);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}
.themes-selector-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.theme-option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
.theme-option-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(251, 191, 36, 0.35);
  transform: translateY(-1px);
}
.theme-option-card.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 4, 41, 0.12));
  border: 1.5px solid var(--cheese-bright);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.22);
}
.toc-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.toc-info {
  flex: 1;
  min-width: 0;
}
.toc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 2px;
}
.toc-title-row b {
  font-size: 11.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toc-info small {
  display: block;
  font-size: 10px;
  color: var(--txt-dim);
  line-height: 1.25;
}
.toc-pill, .theme-pill {
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.toc-pill.gold, .theme-pill.gold {
  color: #fef08a;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.5);
}
.toc-pill.brass, .theme-pill.brass {
  color: #fae8b2;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.5);
}
.toc-pill.neon, .theme-pill.neon {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.25);
  border: 1px solid rgba(244, 63, 94, 0.5);
}

/* Modal Bottom Sheet: Selector Móvil & Cartas */
.themes-modal-card,
.waiter-modal-card,
.table-picker-modal-card {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 13, 17, 0.98) 0%, rgba(16, 7, 10, 0.99) 100%);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-top: 2.5px solid var(--cheese-bright);
  border-radius: 28px 28px 0 0;
  max-height: 85vh;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(254, 240, 138, 0.45);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 14px 18px 26px;
  z-index: 95;
}

.sheet-drag {
  width: 44px;
  height: 4.5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  margin: 0 auto 12px;
}

.sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sheet-title-group h3 {
  margin: 0 0 3px 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.sheet-title-group small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.btn-sheet-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-sheet-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.themes-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.theme-sheet-item {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.theme-sheet-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(251, 191, 36, 0.3);
}
.theme-sheet-item.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 4, 41, 0.12));
  border: 1.5px solid var(--cheese-bright);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.25);
}
.theme-sheet-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.theme-sheet-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.theme-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}
.theme-sheet-row b {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-sheet-content p {
  font-size: 10.5px;
  color: var(--txt-dim);
  line-height: 1.35;
  margin: 0 0 8px 0;
}
.theme-sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.theme-status-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--mut);
}
.theme-sheet-item.active .theme-status-tag {
  color: #34d399;
}
.btn-apply-theme {
  background: var(--cheese-bright);
  color: #1a080c;
  border: none;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-sheet-item.active .btn-apply-theme {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  pointer-events: none;
}
.theme-sheet-commercial-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 11px;
  color: var(--txt-dim);
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE LAS 3 PLANTILLAS VISUALES
   ========================================================================== */

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE LAS 3 PLANTILLAS VISUALES (100% OPERATIVAS)
   ========================================================================== */

/* -------------------------------------------------- 1. LIQUID SMOKED GLASS */
[data-theme="liquid"] {
  --bg-deep: #0e0709;
  --bg-oven: #180b0f;
  --bg-surface: #241117;
  --bg-card: rgba(42, 18, 24, 0.72);
  --liquid-card: linear-gradient(160deg, rgba(38, 17, 22, 0.84) 0%, rgba(17, 8, 11, 0.94) 100%);
  --liquid-gold-border: rgba(251, 191, 36, 0.22);
  --cheese-gold: #f59e0b;
  --cheese-bright: #fbbf24;
  --fire-red: #d90429;
}
[data-theme="liquid"] .phone-case {
  background: #11090b;
}
[data-theme="liquid"] .phone-screen {
  background: radial-gradient(circle at 90% 10%, rgba(217, 4, 41, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 10% 45%, rgba(245, 158, 11, 0.15) 0%, transparent 45%),
              radial-gradient(circle at 80% 85%, rgba(217, 4, 41, 0.12) 0%, transparent 40%),
              #0e0709;
}

/* -------------------------------------------------- 2. TRATTORIA CRIOLLA & EDITORIAL ÁVILA */
[data-theme="editorial"] {
  --bg-deep: #140d10;
  --bg-oven: #1c1116;
  --bg-surface: #26161f;
  --bg-card: rgba(36, 20, 28, 0.92);
  --liquid-card: linear-gradient(180deg, #25161d 0%, #170d12 100%);
  --liquid-gold-border: rgba(212, 175, 55, 0.45);
  --cheese-gold: #d4af37;
  --cheese-bright: #e5c158;
  --cheese-melt: #fef3c7;
  --fire-red: #9e2a2b;
  --fire-red-light: #ba324f;
  --line: rgba(212, 175, 55, 0.22);
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
}
[data-theme="editorial"] .phone-case {
  background: #150d11;
  border-color: #2b1a21;
}
[data-theme="editorial"] .phone-screen {
  background: radial-gradient(circle at 90% 10%, rgba(158, 42, 43, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 10% 45%, rgba(212, 175, 55, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 80% 85%, rgba(158, 42, 43, 0.15) 0%, transparent 40%),
              #140d10 !important;
}
[data-theme="editorial"] .topbar {
  background: linear-gradient(180deg, rgba(30, 18, 24, 0.98) 0%, rgba(19, 11, 15, 0.96) 100%) !important;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
}
[data-theme="editorial"] .brand-title-row b,
[data-theme="editorial"] .pizza-hero h1,
[data-theme="editorial"] .sec-title,
[data-theme="editorial"] .card-title,
[data-theme="editorial"] .promo-card h3,
[data-theme="editorial"] .half-card-name {
  font-family: var(--font-serif) !important;
  letter-spacing: 0.3px;
}
[data-theme="editorial"] .pizza-hero h1 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
}
[data-theme="editorial"] .card-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
[data-theme="editorial"] .product-card {
  background: linear-gradient(180deg, rgba(36, 21, 28, 0.95) 0%, rgba(21, 12, 16, 0.98) 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.42) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(229, 193, 88, 0.22) !important;
}
[data-theme="editorial"] .product-card:hover {
  border-color: rgba(229, 193, 88, 0.75) !important;
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(229, 193, 88, 0.4) !important;
}
[data-theme="editorial"] .promo-card {
  background: linear-gradient(180deg, rgba(36, 21, 28, 0.95) 0%, rgba(21, 12, 16, 0.98) 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.42) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(229, 193, 88, 0.22) !important;
}
[data-theme="editorial"] .btn-card-add,
[data-theme="editorial"] .btn-promo-action,
[data-theme="editorial"] .btn-hero-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b89127 100%) !important;
  color: #1a080c !important;
  font-weight: 900 !important;
  border: 1px solid #fef08a !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
}
[data-theme="editorial"] .card-badge,
[data-theme="editorial"] .promo-badge-tag,
[data-theme="editorial"] .badge-oven {
  background: rgba(158, 42, 43, 0.85) !important;
  border: 1px solid rgba(212, 175, 55, 0.65) !important;
  color: #fae8b2 !important;
  font-family: var(--font-serif) !important;
}
[data-theme="editorial"] .cat-pill.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(158, 42, 43, 0.35)) !important;
  border-color: #d4af37 !important;
  color: #fae8b2 !important;
}
[data-theme="editorial"] .bottom-nav {
  background: linear-gradient(180deg, rgba(32, 19, 25, 0.98) 0%, rgba(18, 10, 14, 0.99) 100%) !important;
  border-top: 2px solid rgba(212, 175, 55, 0.42) !important;
}
[data-theme="editorial"] .bottom-nav .nav-item.active {
  color: #d4af37 !important;
}

/* -------------------------------------------------- 3. CARACAS SUNSET & CYBER-CRIOLLO */
[data-theme="sunset"] {
  --bg-deep: #050207;
  --bg-oven: #0f0312;
  --bg-surface: #1a0621;
  --bg-card: rgba(30, 8, 38, 0.88);
  --liquid-card: linear-gradient(165deg, rgba(35, 9, 44, 0.94) 0%, rgba(13, 3, 17, 0.98) 100%);
  --liquid-gold-border: rgba(244, 63, 94, 0.48);
  --cheese-gold: #f97316;
  --cheese-bright: #fb923c;
  --cheese-melt: #fed7aa;
  --fire-red: #f43f5e;
  --fire-red-light: #fb7185;
  --line: rgba(244, 63, 94, 0.28);
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}
[data-theme="sunset"] .phone-case {
  background: #08020a;
  border-color: #260930;
}
[data-theme="sunset"] .phone-screen {
  background: radial-gradient(circle at 90% 10%, rgba(244, 63, 94, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 10% 45%, rgba(249, 115, 22, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 80% 85%, rgba(124, 58, 237, 0.22) 0%, transparent 40%),
              #050207 !important;
}
[data-theme="sunset"] .topbar {
  background: linear-gradient(180deg, rgba(25, 6, 32, 0.98) 0%, rgba(10, 2, 13, 0.95) 100%) !important;
  border-bottom: 2px solid rgba(244, 63, 94, 0.6) !important;
  box-shadow: 0 4px 28px rgba(225, 29, 72, 0.35) !important;
}
[data-theme="sunset"] .brand-title-row b,
[data-theme="sunset"] .pizza-hero h1 {
  background: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #facc15 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  letter-spacing: -0.2px;
}
[data-theme="sunset"] .product-card {
  background: linear-gradient(165deg, rgba(34, 9, 42, 0.94) 0%, rgba(14, 3, 18, 0.98) 100%) !important;
  border: 1.8px solid rgba(244, 63, 94, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 28px rgba(225, 29, 72, 0.22), inset 0 1px 0 rgba(251, 146, 60, 0.45) !important;
}
[data-theme="sunset"] .product-card:hover {
  border-color: rgba(244, 63, 94, 0.85) !important;
  box-shadow: 0 10px 32px rgba(244, 63, 94, 0.4), inset 0 1px 0 rgba(251, 146, 60, 0.7) !important;
}
[data-theme="sunset"] .promo-card {
  background: linear-gradient(165deg, rgba(34, 9, 42, 0.94) 0%, rgba(14, 3, 18, 0.98) 100%) !important;
  border: 2px solid rgba(244, 63, 94, 0.48) !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 32px rgba(225, 29, 72, 0.25), inset 0 1px 0 rgba(251, 146, 60, 0.45) !important;
}
[data-theme="sunset"] .btn-card-add,
[data-theme="sunset"] .btn-promo-action,
[data-theme="sunset"] .btn-hero-primary,
[data-theme="sunset"] .btn-submit-order {
  background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: 0 6px 22px rgba(244, 63, 94, 0.55) !important;
}
[data-theme="sunset"] .card-badge,
[data-theme="sunset"] .promo-badge-tag,
[data-theme="sunset"] .badge-oven {
  background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 10px rgba(244, 63, 94, 0.5) !important;
}
[data-theme="sunset"] .cat-pill.active {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.4), rgba(249, 115, 22, 0.4)) !important;
  border-color: #f43f5e !important;
  color: #fecdd3 !important;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.35) !important;
}
[data-theme="sunset"] .bottom-nav {
  background: linear-gradient(180deg, rgba(28, 7, 34, 0.98) 0%, rgba(9, 2, 12, 0.99) 100%) !important;
  border-top: 2px solid rgba(244, 63, 94, 0.5) !important;
}
[data-theme="sunset"] .bottom-nav .nav-item.active {
  color: #f43f5e !important;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
}


/* ==========================================================================
   VISIBILIDAD Y SELECTOR DE LAS 3 PLANTILLAS VISUALES EXACTAS
   ========================================================================== */
#topbar-liquid,
#topbar-editorial,
#topbar-sunset {
  display: none !important;
  width: 100%;
}
[data-theme="liquid"] #topbar-liquid {
  display: flex !important;
}
[data-theme="editorial"] #topbar-editorial {
  display: flex !important;
}
[data-theme="sunset"] #topbar-sunset {
  display: flex !important;
}

#theme-view-liquid,
#theme-view-editorial,
#theme-view-sunset {
  display: none !important;
}
[data-theme="liquid"] #theme-view-liquid {
  display: block !important;
}
[data-theme="editorial"] #theme-view-editorial {
  display: block !important;
}
[data-theme="sunset"] #theme-view-sunset {
  display: block !important;
}

/* ==========================================================================
   1. LIQUID SMOKED GLASS & MELTED GOLD (COMPLETO EXACTO AL MOCKUP)
   ========================================================================== */
#topbar-liquid {
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 4px 6px;
}
.logo-filigree {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45));
}
.woodfire-oven-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.wob-sub {
  font-size: 10px;
  color: #fbbf24;
  letter-spacing: 0.3px;
  font-weight: 600;
  opacity: 0.85;
}
.wob-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
}
.live-dot-amber {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: pulseDot 2s infinite ease-in-out;
}
.wob-flame {
  font-size: 10.5px;
  font-weight: 700;
  color: #fef08a;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.liquid-greeting-row {
  margin: 8px 0 16px;
}
.liquid-greeting-row h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
}
.liquid-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.liquid-product-card {
  position: relative;
  background: linear-gradient(165deg, rgba(38, 18, 22, 0.9) 0%, rgba(18, 9, 12, 0.98) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(251, 191, 36, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  overflow: visible;
}
.liquid-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(251, 191, 36, 0.4);
}
.liquid-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.85;
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 10px;
}
.liquid-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.cheese-drip-overlay {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 62px;
  height: auto;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.75));
}
.liquid-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.liquid-card-info b {
  font-family: var(--font-serif);
  font-size: 15px;
  color: #fff;
  margin-bottom: 3px;
  display: block;
}
.liquid-card-info p {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.liquid-card-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.liquid-price-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
}
.btn-liquid-pill-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.btn-liquid-pill-add:hover {
  background: rgba(251, 191, 36, 0.25);
  border-color: #fbbf24;
}
.btn-liquid-pill-add .pill-plus {
  font-size: 13px;
  font-weight: 900;
  color: #fbbf24;
}

/* Wide Horizontal Card */
.liquid-wide-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(38, 18, 22, 0.9) 0%, rgba(18, 9, 12, 0.98) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(251, 191, 36, 0.25);
  margin-bottom: 16px;
  cursor: pointer;
  overflow: visible;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.liquid-wide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.7);
}
.liquid-wide-img-wrap {
  width: 125px;
  height: 105px;
  border-radius: 14px;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}
.liquid-wide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.cheese-drip-overlay.wide-drip {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 72px;
  z-index: 10;
  filter: drop-shadow(0 4px 14px rgba(245, 158, 11, 0.85));
}
.liquid-wide-info {
  flex: 1;
  min-width: 0;
}
.liquid-wide-info b {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
  display: block;
}
.liquid-wide-info p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.3;
  margin-bottom: 6px;
}
.liquid-wide-price {
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 6px;
}
.btn-liquid-pill-add.wide-btn {
  max-width: 180px;
}

/* Squircles de Categorías */
.liquid-cat-squircle-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.liquid-cat-squircle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.liquid-cat-squircle:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.4);
}
.liquid-cat-squircle.active {
  background: rgba(251, 191, 36, 0.12);
  border: 1.8px solid #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35), inset 0 0 8px rgba(245, 158, 11, 0.15);
}
.lcs-icon {
  font-size: 22px;
}
.lcs-lbl {
  font-size: 10px;
  font-weight: 600;
  color: #eeeeee;
}
.liquid-cat-squircle.active .lcs-lbl {
  color: #fbbf24;
}
.products-grid-liquid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

/* ==========================================================================
   2. TRATTORIA CRIOLLA & EDITORIAL ÁVILA (COMPLETO EXACTO AL MOCKUP)
   ========================================================================== */
#topbar-editorial {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 10px 8px 10px;
  position: relative;
}
.editorial-topbar-center {
  text-align: center;
  width: 100%;
}
.editorial-brand-name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: #fdfaf6;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.1;
}
.editorial-brand-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c4a482;
  margin-top: 4px;
  display: block;
}
.editorial-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 6px;
}
.editorial-theme-btn {
  background: rgba(212, 175, 55, 0.12) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #f5eedc !important;
}
.editorial-rate-badge {
  background: rgba(26, 17, 21, 0.9) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.editorial-divider-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 22px;
  height: 38px;
}
.editorial-brass-line {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #b8860b 20%, #d4af37 50%, #b8860b 80%, transparent 100%);
  opacity: 0.8;
}
.editorial-wax-seal-img {
  position: absolute;
  right: 12px;
  top: -16px;
  width: 70px;
  height: 70px;
  z-index: 5;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85));
}
.editorial-featured-card {
  background: #1e1916;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.editorial-featured-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85);
}
.editorial-plate-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
  position: relative;
}
.editorial-plate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.editorial-featured-card.secondary .editorial-plate-wrap {
  aspect-ratio: 16 / 8.5;
}
.editorial-card-body {
  padding: 16px 18px 20px;
}
.editorial-card-body h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: #fcf9f5;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.editorial-card-body p {
  font-family: var(--font-serif);
  font-size: 13px;
  color: #b8aba0;
  line-height: 1.5;
  margin-bottom: 14px;
}
.editorial-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: #d4af37;
}
.editorial-price-row b {
  font-size: 19px;
  color: #ffffff;
}
.editorial-price-row .ed-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}
.editorial-price-row span {
  font-size: 15px;
  color: #c4a482;
}
.btn-editorial-order {
  margin-left: auto;
  background: transparent;
  border: 1.5px solid #d4af37;
  color: #f5eedc;
  font-family: var(--font-serif);
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-editorial-order:hover {
  background: #d4af37;
  color: #161210;
  font-weight: 700;
}
.editorial-menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

/* ==========================================================================
   3. CARACAS SUNSET & CYBER-CRIOLLO (COMPLETO EXACTO AL MOCKUP)
   ========================================================================== */
#topbar-sunset {
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 6px 4px 6px;
}
.sunset-topbar-brand {
  text-align: left;
}
.sunset-brand-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 1.2px;
  background: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(244, 63, 94, 0.5);
  margin: 0;
  line-height: 1;
}
.sunset-brand-sub {
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fb7185;
  display: block;
  margin-top: 3px;
}
.sunset-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sunset-theme-btn {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(249, 115, 22, 0.25)) !important;
  border: 1px solid rgba(244, 63, 94, 0.55) !important;
  color: #fecdd3 !important;
}
.sunset-user-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.sunset-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 6, 26, 0.85);
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
.ss-ic {
  font-size: 14px;
  color: #fb7185;
}
.ss-inp {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  flex: 1;
  font-family: var(--font-sans);
}
.sunset-cart-pill {
  background: #581c87;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
  cursor: pointer;
  white-space: nowrap;
}
.sunset-sec-header {
  margin: 10px 0 10px;
}
.sunset-sec-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-sans);
  letter-spacing: -0.2px;
}
.sunset-top-picks-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sunset-top-picks-scroll::-webkit-scrollbar {
  display: none;
}
.sunset-pick-card {
  flex: 0 0 215px;
  scroll-snap-align: start;
  background: linear-gradient(165deg, rgba(28, 7, 34, 0.95) 0%, rgba(12, 3, 15, 0.98) 100%);
  border-radius: 20px;
  padding: 12px;
  position: relative;
  border: 1.8px solid #f43f5e;
  box-shadow: 0 8px 26px rgba(244, 63, 94, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sunset-pick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 63, 94, 0.55);
}
.sunset-best-seller-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f43f5e, #fb923c);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
}
.sunset-category-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.8);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 3;
}
.sunset-card-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}
.sunset-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.sunset-pick-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
  font-family: var(--font-sans);
}
.sunset-pick-card p {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
  margin-bottom: 8px;
  min-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sunset-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #facc15;
  font-weight: 700;
  margin-bottom: 10px;
}
.btn-sunset-add-cart {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
  border: none;
  border-radius: 999px;
  padding: 9px;
  color: #ffffff;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.5);
  transition: transform 0.15s ease;
}
.btn-sunset-add-cart:hover {
  transform: scale(1.02);
}
.btn-sunset-add-cart.mini {
  padding: 5px 10px;
  font-size: 10px;
  width: auto;
}
.sunset-pills-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.sunset-pills-row::-webkit-scrollbar {
  display: none;
}
.sunset-pill {
  flex-shrink: 0;
  background: rgba(22, 6, 26, 0.8);
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fecdd3;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.sunset-pill.active {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.35), rgba(139, 92, 246, 0.35));
  border-color: #f43f5e;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.6);
}
.sunset-grid-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.sunset-mini-card {
  background: linear-gradient(165deg, rgba(28, 7, 34, 0.92) 0%, rgba(12, 3, 15, 0.98) 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.45);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.sunset-mini-card:hover {
  transform: translateY(-2px);
}
.sunset-mini-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 63, 94, 0.5);
}
.sunset-mini-card b {
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
}
.products-grid-sunset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

/* ==========================================================================
   SELECTOR DE MODALIDAD (EN MESA, DELIVERY, PARA LLEVAR) & LLAMADA A MESERO
   ========================================================================== */
.service-mode-container {
  margin: 12px 14px 16px;
  padding: 12px;
  background: rgba(22, 10, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-mode-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px;
  border-radius: 12px;
}

.sm-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sm-tab .sm-ic {
  font-size: 14px;
  line-height: 1;
}

.sm-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.sm-tab.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 4, 41, 0.22) 100%);
  border-color: rgba(251, 191, 36, 0.6);
  color: #fef08a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Tira Contextual Mesa */
.table-context-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  animation: fadeIn 0.25s ease;
}

.tc-info {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.tc-info:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.tc-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.tc-table {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
}

.tc-edit {
  font-size: 11px;
  color: #fbbf24;
  opacity: 0.85;
}

.btn-call-waiter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #fbbf24;
  background: linear-gradient(135deg, rgba(217, 4, 41, 0.85) 0%, rgba(185, 28, 28, 0.95) 50%, rgba(245, 158, 11, 0.8) 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(217, 4, 41, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-call-waiter:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 5px 16px rgba(217, 4, 41, 0.6);
}

.btn-call-waiter:active {
  transform: scale(0.97);
}

.bcw-bell {
  font-size: 12px;
  display: inline-block;
  animation: bell-swing 3s infinite ease-in-out;
}

@keyframes bell-swing {
  0%, 80%, 100% { transform: rotate(0); }
  85% { transform: rotate(18deg); }
  90% { transform: rotate(-16deg); }
  95% { transform: rotate(12deg); }
}

/* Tiras de Contexto Delivery y Retiro */
.service-context-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  animation: fadeIn 0.25s ease;
}

.sci-ic {
  font-size: 18px;
  line-height: 1;
}

.sci-txt b {
  display: block;
  font-size: 11.5px;
  color: #ffffff;
}

.sci-txt small {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* Checkout 3-Way Toggle & Table Callout */
.service-tri-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
}

.service-tri-toggle .del-opt {
  text-align: center;
  padding: 8px 4px !important;
  font-size: 10.5px !important;
}

.service-tri-toggle .del-opt span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.service-tri-toggle .del-opt small {
  display: block;
  font-size: 9.5px;
  opacity: 0.75;
}

.checkout-table-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
}

.cti-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cti-icon {
  font-size: 18px;
}

.cti-left b {
  display: block;
  font-size: 12px;
  color: #fef08a;
}

.cti-left small {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
}

.btn-change-checkout-table {
  background: transparent;
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fef08a;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-change-checkout-table:hover {
  background: rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   MODAL: LLAMAR AL MESERO / ATENCIÓN EN MESA
   ========================================================================== */
.waiter-modal-icon-pulse {
  font-size: 24px;
  animation: bell-swing 2.5s infinite ease-in-out;
}

.waiter-call-body {
  padding: 14px 18px 20px;
}

.waiter-call-intro {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
  line-height: 1.4;
}

.waiter-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.waiter-reason-btn {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.waiter-reason-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.waiter-reason-btn.active {
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 4, 41, 0.15) 100%);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.wrb-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.wrb-text-group b {
  display: block;
  font-size: 11.5px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

.wrb-text-group small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  line-height: 1.2;
}

.waiter-notes-box {
  margin-bottom: 14px;
}

.waiter-notes-box label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
  font-weight: 600;
}

.waiter-notes-box input {
  width: 100%;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #ffffff;
  font-size: 12px;
  box-sizing: border-box;
}

.waiter-notes-box input:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.waiter-feedback-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid #22c55e;
  border-radius: 10px;
  margin-bottom: 14px;
  animation: fadeIn 0.3s ease;
}

.wfb-icon {
  font-size: 20px;
}

.wfb-txt b {
  display: block;
  font-size: 12px;
  color: #86efac;
}

.wfb-txt small {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
}

.btn-submit-waiter-call {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #d90429 0%, #b91c1c 40%, #f59e0b 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(217, 4, 41, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-waiter-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(217, 4, 41, 0.65);
}

.btn-submit-waiter-call:active {
  transform: scale(0.98);
}

/* ==========================================================================
   MODAL: SELECTOR DE MESAS (SALÓN, TERRAZA, BARRA)
   ========================================================================== */
.table-picker-body {
  padding: 14px 18px 20px;
}

.table-section-group {
  margin-bottom: 16px;
}

.table-sec-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.table-sec-title span {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
}

.table-sec-title small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.tables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.table-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.table-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.table-chip.active {
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 4, 41, 0.15) 100%);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
}

.table-chip b {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 800;
}

.table-chip small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.table-chip .chip-status {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.table-chip.libre .chip-status {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.table-chip.ocupada .chip-status {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.table-chip.llamando .chip-status {
  background: rgba(245, 158, 11, 0.25);
  color: #fef08a;
  animation: pulse-dot 1.5s infinite;
}

.btn-confirm-table {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #d90429 0%, #b91c1c 40%, #f59e0b 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(217, 4, 41, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-confirm-table:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   ADAPTACIONES DE TEMA: EDITORIAL & SUNSET
   ========================================================================== */

/* 2. TRATTORIA CRIOLLA & EDITORIAL ÁVILA */
[data-theme="editorial"] .service-mode-container {
  background: linear-gradient(180deg, rgba(34, 20, 26, 0.95) 0%, rgba(18, 10, 14, 0.98) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(229, 193, 88, 0.2);
}

[data-theme="editorial"] .sm-tab.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.32) 0%, rgba(158, 42, 43, 0.25) 100%);
  border-color: #d4af37;
  color: #fae8b2;
  font-family: var(--font-serif);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

[data-theme="editorial"] .table-context-strip {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(20, 10, 15, 0.7);
}

[data-theme="editorial"] .btn-call-waiter {
  background: linear-gradient(135deg, #d4af37 0%, #b89127 100%);
  border: 1px solid #fef08a;
  color: #1a080c;
  font-family: var(--font-serif);
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

[data-theme="editorial"] .btn-submit-waiter-call,
[data-theme="editorial"] .btn-confirm-table {
  background: linear-gradient(135deg, #d4af37 0%, #b89127 100%);
  border: 1px solid #fef08a;
  color: #1a080c;
  font-family: var(--font-serif);
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

[data-theme="editorial"] .waiter-reason-btn.active,
[data-theme="editorial"] .table-chip.active {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.18);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

/* 3. CARACAS SUNSET & CYBER-CRIOLLO */
[data-theme="sunset"] .service-mode-container {
  background: linear-gradient(165deg, rgba(30, 8, 38, 0.92) 0%, rgba(12, 3, 15, 0.96) 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.45);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(244, 63, 94, 0.2);
}

[data-theme="sunset"] .sm-tab.active {
  background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%);
  border-color: #f43f5e;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.5);
}

[data-theme="sunset"] .table-context-strip {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(18, 4, 22, 0.7);
}

[data-theme="sunset"] .btn-call-waiter {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
  border: 1px solid #f43f5e;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.5);
}

[data-theme="sunset"] .btn-submit-waiter-call,
[data-theme="sunset"] .btn-confirm-table {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
  border: none;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.6);
}

[data-theme="sunset"] .waiter-reason-btn.active,
[data-theme="sunset"] .table-chip.active {
  border-color: #f43f5e;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25) 0%, rgba(139, 92, 246, 0.2) 100%);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.4);
}

