/* ══════════════════════════════════════════════════════════════
   QUIERO KEBAB — MENU.CSS
   Cinematic Dark / Premium App
   ════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root { 
  --bg: #000000;
  --surface: #0A0A0A;
  --surface-2: #111111;
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(255, 140, 0, 0.30);
  --accent: #FF8C00;
  --primary: #FF8C00;
  --accent-dim: rgba(255, 140, 0, 0.10); 
  --accent-glow: rgba(255, 140, 0, 0.35);
  --white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-dim: #555555;
  --success: #00FF66;
  --danger: #FF2222;
  --font: "Sora", sans-serif;
  --font-heading: "Sora", sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --nav-h: 60px;
  --search-h: 43px;
  --dock-h: 78px;
  --shadow-panel:
    0 -4px 48px rgba(0, 0, 0, 0.72), 0 -1px 0 rgba(255, 255, 255, 0.04);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset / Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  /* ── Flex App Shell ── */
  height: 100dvh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════════════
   LIQUID GLASS (Utility Panel) — Dark solid, no blur tinting
   ════════════════════════════════════════════════════════════ */
.liquid-glass {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .liquid-glass:hover {
    border-color: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
  }
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea {
  font-family: inherit;
}

/* ══════════════════════════════════════════════════════════════
   LOADER
   ════════════════════════════════════════════════════════════ */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.loader-logo-img {
  width: 80px;
  height: auto;
  opacity: 0.9;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.loader-progress-bar {
  width: 100px;
  height: 2px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.loader-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: var(--accent);
  animation: loaderSlide 1s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
@keyframes loaderSlide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   FIREBASE CONNECTION OVERLAY (Cerrado por Defecto)
   ════════════════════════════════════════════════════════════ */
.firebase-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.firebase-overlay.is-resolved {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.firebase-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.firebase-overlay-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent, #FF8C00);
  border-radius: 50% !important;
  animation: overlaySpinnerRotate 0.8s linear infinite;
}
@keyframes overlaySpinnerRotate {
  to { transform: rotate(360deg); }
}
.firebase-overlay-text {
  font-family: var(--font, 'Sora', sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
} 

/* Disabled-by-default state for action buttons */
.card-add-btn.is-shop-locked,
.btn-noir-action.is-shop-locked,
.cart-send-btn.is-shop-locked,
.upsell-chip.is-shop-locked,
.repeat-last-order-btn.is-shop-locked {
  opacity: 0.4 !important;
  pointer-events: none !important;
  filter: grayscale(0.4);
}

/* ══════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.glass-nav-menu {
  position: relative;
  z-index: 100;
  flex-shrink: 0;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.80);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    height 0.3s ease;
}
.glass-nav-menu.nav-scrolled {
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
  height: calc(var(--nav-h) - 6px);
}

/* Liquid Glass overrides for the menu header */
.glass-nav-menu.liquid-glass {
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.10);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass-nav-menu.liquid-glass {
    background: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
  }
}

.glass-nav-menu.liquid-glass.nav-scrolled {
  border-color: rgba(255, 255, 255, 0.12);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass-nav-menu.liquid-glass.nav-scrolled {
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
  }
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 60px;
  padding: 0 16px;
  max-width: 900px;
  margin: 0 auto;
  transition: height 0.3s ease;
}

.glass-nav-menu.nav-scrolled .nav-row {
  height: calc(var(--nav-h) - 6px);
}

/* Back button */
.nav-back-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1rem;
  border-radius: 50%;
  transition:
    background var(--transition),
    color var(--transition);
  flex-shrink: 0;
}
.nav-back-btn:hover {
  background: var(--surface-2);
  color: var(--accent);
}

/* Logo — absolute center */
.nav-brand-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  pointer-events: all;
}
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

/* Header should not "float" on hover (keeps UX stable) */
.glass-nav-menu.liquid-glass:hover {
  transform: none;
}

.glass-nav-menu.nav-scrolled .nav-logo-img {
  height: 26px;
}

/* Right actions */
.nav-actions-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Status pill */
.status-pill-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 5px 10px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: border-color var(--transition);
}
.status-pill-menu .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.status-pill-menu.is-open .dot {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.status-pill-menu.is-open {
  border-color: rgba(0, 255, 102, 0.15);
}
.status-pill-menu.is-closed .dot {
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger);
}
.status-pill-menu .status-text {
  color: var(--text-secondary);
}

/* Nav icon button */
.nav-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.nav-icon-btn:hover {
  color: var(--accent);
  border-color: var(--border-glow);
  background: rgba(255, 140, 0, 0.06);
}

/* Category Rail — removed */

/* ══════════════════════════════════════════════════════════════
   KITCHEN CLOSED BANNER
   ════════════════════════════════════════════════════════════ */
/* ── Kitchen Closed — Popup Overlay ── */
#kitchen-closed-banner {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#kitchen-closed-banner.hidden {
  display: none;
}
.closed-popup {
  background: #111;
  border: 1.5px solid rgba(255, 34, 34, 0.3);
  border-radius: 20px !important;
  padding: 44px 48px 40px;
  text-align: center;
  max-width: 360px;
  width: calc(100% - 48px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9), 0 4px 32px rgba(255, 34, 34, 0.18);
}
.closed-popup-icon {
  font-size: 2.8rem;
  color: #ff2222;
  display: block;
  margin-bottom: 1.4rem;
}
.closed-popup-msg {
  font-family: var(--font-heading, 'Archivo Black', sans-serif);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}
.closed-popup-sub {
  font-family: var(--font, 'Poppins', sans-serif);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* ══ Connection Error Banner — dismissable ══ */
.connection-error-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 50px 16px 24px;
  background: var(--danger, #FF2222);
  color: #fff;
  font-family: var(--font-heading, 'Archivo Black', sans-serif);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 34, 34, 0.4);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  border-bottom: 2px solid #b31616;
}
.connection-error-banner.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.connection-error-banner i {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.connection-error-banner .error-close-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  opacity: 0.8;
  transition: all 0.2s ease;
}
.connection-error-banner .error-close-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

/* ══════════════════════════════════════════════════════════════
   APP SCROLL AREA (sole scrollable child of body)
   ════════════════════════════════════════════════════════════ */
.app-scroll-area {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--search-h, 43px);
}

/* ── Premium Scrollbar (scroll container real) ── */
.app-scroll-area::-webkit-scrollbar {
  width: 10px;
}

.app-scroll-area::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.35);
}

.app-scroll-area::-webkit-scrollbar-thumb {
  background: var(--primary, #FF9900);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.app-scroll-area::-webkit-scrollbar-thumb:hover {
  background: var(--primary, #FF9900);
}

/* ══════════════════════════════════════════════════════════════
   SEARCH BAR — Minimal filter
   ════════════════════════════════════════════════════════════ */
.search-bar {
  position: sticky;
  top: -1px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--search-h, 50px);
  margin: 0;
  padding: 0 16px;
  background: var(--bg, #000000);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0 !important;
}
.search-bar-icon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0;
  text-transform: uppercase;
}
.search-input::placeholder {
  color: #555;
  font-weight: 700;
  opacity: 1;
}
.search-clear {
  background: none;
  border: 1px solid #333;
  border-radius: 0 !important;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.search-clear:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   REPEAT LAST ORDER CARD
   ════════════════════════════════════════════════════════════ */
.repeat-last-order-slot {
  margin: 10px;
}

.repeat-last-order-card {
  border: 1px solid rgba(255, 140, 0, 0.25);
  background:
    radial-gradient(circle at top right, rgba(255, 140, 0, 0.18), transparent 54%),
    linear-gradient(165deg, rgba(16, 16, 16, 0.97), rgba(6, 6, 6, 0.97));
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.repeat-last-order-kicker {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repeat-last-order-title {
  margin: 6px 0 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.repeat-last-order-summary {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font);
  font-size: 0.84rem;
  line-height: 1.35;
}

.repeat-last-order-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.repeat-last-order-total {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
}

.repeat-last-order-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 140, 0, 0.42);
  background: var(--accent);
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.repeat-last-order-btn:hover {
  filter: brightness(1.03);
}

.repeat-last-order-btn:active {
  transform: scale(0.97);
}

/* ══════════════════════════════════════════════════════════════
   MENU GRID  (JS injects .menu-wrapper)
   ════════════════════════════════════════════════════════════ */
.noir-menu-grid {
  padding-top: 0;
  padding-bottom: calc(var(--dock-h) + 40px);
  padding-left: 0;
  padding-right: 0;
  max-width: 680px;
  margin: 0 auto;
}

/* Placeholder while loading */
.loading-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--text-dim);
  font-size: 1.6rem;
}

.scroll-spacer {
  height: 40px;
}

/* Injected by JS: root list wrapper */
.menu-wrapper {
  width: 100%;
}

/* ══ Category Nav — hidden (replaced by filter dropdown) ══ */
.category-nav {
  display: none !important;
}
.category-nav::-webkit-scrollbar {
  display: none;
}
.cat-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 14px 16px;
  border-radius: 0;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.cat-nav-btn i {
  font-size: 0.72rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.cat-nav-btn:hover {
  color: var(--text-primary);
}
.cat-nav-btn:hover i {
  opacity: 1;
}
.cat-nav-btn.is-active {
  color: var(--primary, #FF8C00);
  border-bottom-color: var(--primary, #FF8C00);
  background: transparent;
}
.cat-nav-btn.is-active i {
  opacity: 1;
}

.menu-section {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.menu-section:last-child {
  border-bottom: none;
}

/* ── Minimal Section Title ── */
.section-title-brutal {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 3px;
  color: #ffffff;
  text-transform: uppercase;
  padding: 15px !important;
  margin-top: 3rem !important;
  margin-bottom: 1.5rem !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 20;
  background-color: #000000;
  border: none;
  border-left: 5px solid var(--primary);
  border-radius: 0 !important;
}
.stb-icon {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 1;
}
.stb-text {
  flex-shrink: 0;
}
.stb-line {
  display: none; /* Hide the thin decorative line */
}

/* Legacy title (dead — keeping for safety) */
.section-title { display: none; }

/* ── Product grid — compact list ── */
.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 !important;
  padding: 0 12px 4px !important;
}

/* ═══ NEON FLICKER — removed for minimal design ═══ */
@keyframes neon-flicker {
  0%   { opacity: 1; }
  100% { opacity: 1; }
}

/* ── Product Card — compact row ── */
.product-card {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1.5rem !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px !important;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease !important;
  animation: none !important;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Liquid Glass — override to keep solid dark on all devices */
.product-card.liquid-glass {
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .product-card.liquid-glass {
    background: #080808;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
/* Samsung/Android fix: already handled above */
@media (hover: none) and (pointer: coarse) {
  .product-card.liquid-glass {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #080808 !important;
  }
}
.product-card::before { display: none; }
.product-card:hover {
  background: #0d0d0d;
  border-color: rgba(255, 140, 0, 0.3);
}
.product-card:active {
  background: #060606;
  transform: scale(0.99);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: rgba(255, 140, 0, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  }
}

/* ── LEFT group: icon + name ── */
.item-info-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

/* ── Card icon wrap ── */
.card-icon-wrap {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0 !important;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 5px;
}
.card-icon-wrap i {
  font-size: 1.4rem;
  color: #ffffff;
  opacity: 1;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  min-width: 0;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ── RIGHT group: price + add button ── */
.item-actions-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-transform: uppercase;
}

.card-add-btn {
  width: 45px;
  height: 45px;
  border-radius: 0 !important;
  background: var(--primary);
  color: #000000;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: none !important;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  margin: 0;
}
.card-add-btn:active {
  transform: scale(0.90) !important;
}
.product-card:hover .card-add-btn {
  box-shadow: none;
}

/* Dead legacy aliases — kept so other rules targeting them don’t break */
.card-body { display: contents; }
.card-body-top { display: contents; }
.card-body-foot { display: contents; }
.card-info { display: contents; }
.card-price-block { display: contents; }
.card-from { display: none; }
.card-from span { display: none; }

/* ══════════════════════════════════════════════════════════════
   BOTTOM SHEET CONFIG — accent styling
   ════════════════════════════════════════════════════════════ */
#modal-config #cfg-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

#modal-config .group-label {
  color: var(--accent);
  letter-spacing: 0.12em;
}

#modal-config .cfg-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 16px;
}
#modal-config .cfg-group:last-child {
  border-bottom: none;
}

/* ══════════════════════════════════════════════════════════════
   WIZARD — Step-by-step product configurator
   ════════════════════════════════════════════════════════════ */

/* Step indicator dots */
.wizard-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px 8px;
  flex-shrink: 0;
  background: rgba(10, 10, 10, 0.95);
}
.wizard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.wizard-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
}
.wizard-dot.is-done {
  background: var(--accent);
}

/* Wizard step visibility — GOLD RULE: all steps hidden, only .active shows */
.wizard-step {
  display: none !important;
}
.wizard-step.active {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  animation: fadeIn 0.3s ease-in-out both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* When wizard-nav is never hidden, wizard-back hidden only on step 0 */
.wizard-nav {
  display: flex;
  gap: 10px;
  width: 100%;
}
.wizard-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.wizard-btn:active {
  transform: scale(0.97);
}
.wizard-btn-back {
  background: #1a1a1a;
  color: #aaa;
  border: 1px solid #333;
}
.wizard-btn-back:hover {
  background: #222;
  color: #fff;
}
.wizard-btn-next {
  background: var(--accent);
  color: #000;
  gap: 6px;
}
.wizard-btn-next:hover {
  background: #FFB347;
}
/* Add-to-cart button inside dual nav: overrides btn-noir-action defaults */
.wizard-btn-add {
  flex: 2;
  padding: 16px 12px;
  width: auto;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.wizard-btn.hidden,
.wizard-nav.hidden {
  display: none !important;
}

/* Price chip inside Siguiente button */
.wizard-next-price {
  display: inline-block;
  background: rgba(0,0,0,0.25);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

/* ══ PASO 6: Upsell Haz Menu ══ */
.wizard-upsell-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 20px 24px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 28px rgba(255, 140, 0, 0.25), inset 0 0 60px rgba(255, 140, 0, 0.04);
  background: rgba(255, 140, 0, 0.04);
  border-radius: 0;
  animation: fadeIn 0.35s ease both;
}
.wizard-upsell-stars {
  display: flex;
  gap: 6px;
  color: var(--accent);
  font-size: 1rem;
}
.wizard-upsell-eyebrow {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font);
}
.wizard-upsell-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
}
.wizard-upsell-desc {
  font-size: 0.85rem;
  color: #bbb;
  text-align: center;
  line-height: 1.5;
  font-family: var(--font);
}
.wizard-upsell-price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 24px;
  border: 1px solid rgba(255,140,0,0.4);
  background: rgba(255,140,0,0.08);
}
.wizard-upsell-only,
.wizard-upsell-more {
  font-size: 0.75rem;
  color: #888;
  font-family: var(--font);
  text-transform: uppercase;
}
.wizard-upsell-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.wizard-upsell-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255,140,0,0.3);
  cursor: pointer;
  transition: background 0.15s ease;
}
.wizard-upsell-cta:hover {
  background: rgba(255, 140, 0, 0.18);
}
.wizard-upsell-cta input[type="checkbox"] {
  display: none;
}
.wizard-upsell-cta-label {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wizard-upsell-check-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.wizard-upsell-cta:has(input:checked) .wizard-upsell-check-icon {
  background: var(--accent);
  color: #000;
}
.wizard-upsell-cta:has(input:checked) {
  background: rgba(255, 140, 0, 0.2);
  border-color: var(--accent);
}
.wizard-upsell-sauces {
  width: 100%;
  padding-top: 8px;
}
.wizard-upsell-skip-text {
  font-size: 0.68rem;
  color: #555;
  text-align: center;
  font-family: var(--font);
  margin-top: -8px;
}

/* ══ Sold-out / Stock state ══ */
.product-card.is-sold-out {
  opacity: 0.8;
  pointer-events: none;
  filter: grayscale(1);
  border-color: #333;
}
.product-card.is-sold-out .card-add-btn {
  background: #333;
  color: #666;
}
.sold-out-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 0 !important;
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  transform: rotate(-3deg);
  pointer-events: none;
  z-index: 10;
  box-shadow: 4px 4px 0 var(--primary);
}

/* ── Shop closed overlay on cards ── */
.product-card.is-unavailable {
  opacity: 0.35;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   DYNAMIC STICKY CART
   ════════════════════════════════════════════════════════════ */
.cart-floating-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900; /* por encima del banner de cerrado y errores */
  width: 90%;
  max-width: 400px;
  pointer-events: none; /* enable on child */
}

/* Base hidden state */
.cart-floating-dock.hidden {
  display: block !important; /* Override inline display:none if used */
  visibility: hidden;
}

.cart-dock-content {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 140, 0, 0.15);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 14px 24px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 140, 0, 0.08);
}

/* Visible State */
.cart-floating-dock.visible .cart-dock-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cart-floating-dock.visible .cart-dock-content:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #fff;
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-badge {
  background: var(--accent);
  color: #000;
  font-size: 0.8rem;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-label {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cart-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

/* ── Fly to Cart Hit Animation ── */
@keyframes cartBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.15) translateY(-5px); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1) translateY(0); }
}
.cart-hit {
  animation: cartBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

/* ══════════════════════════════════════════════════════════════
   MODAL BACKDROP
   ════════════════════════════════════════════════════════════ */
.modal-backdrop-glass {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* Safety: if an animation glitches and .hidden isn't restored,
     a closed backdrop must never block clicks. */
  pointer-events: none;
}
.modal-backdrop-glass.modal-open {
  pointer-events: auto;
}
.modal-backdrop-glass.hidden {
  display: none;
}

/* ── Bottom Sheet ── */
.bottom-sheet {
  width: 100%;
  max-width: 680px;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.9) !important;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 140, 0, 0.15);
  border-bottom: none;
  border-radius: 0 !important;
  overflow: hidden;
  position: relative;
  animation: sheetUp 0.4s cubic-bezier(0.32, 0.72, 0, 1) both;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Config modal: adaptive height — shrinks to content, caps at 85dvh, scrolls when needed */
#modal-config .bottom-sheet {
  height: auto;
}

#modal-cart .bottom-sheet {
  max-height: 92dvh;
}

/* ── Invisible Progress Bar (Scroll Spy Config) ── */
#config-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.6);
  z-index: 10;
}
@keyframes sheetUp {
  from {
    transform: translateY(100%);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.panel-drag-handle {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  margin: 12px auto 0;
  flex-shrink: 0;
}

/* ── Panel header, body, footer ── */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.panel-title {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #FFFFFF;
  text-transform: none;
}
.btn-close-glass {
  width: 32px;
  height: 32px;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #aaaaaa;
  background: transparent;
  border: 1px solid #333333;
  transition: color var(--transition);
  flex-shrink: 0;
}
.btn-close-glass:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-close-glass.absolute {
  position: absolute;
  top: 14px;
  right: 14px;
}

.panel-body {
  flex: 0 1 auto;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.panel-footer {
  padding: 14px 20px 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 5;
}

/* ── Wizard Dual Navigation ── */
.wizard-nav-dual {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.wizard-nav-dual .wizard-btn-back {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 20px !important;
  min-width: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wizard-nav-dual .wizard-btn-next,
.wizard-nav-dual .wizard-btn-add {
  flex: 1 1 auto !important;
  width: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

/* ── Menu Upsell Visuals (Step 6) ── */
.menu-upsell-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #111111;
  border: 2px solid #333333;
  padding: 24px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}
.menu-upsell-card:hover {
  border-color: rgba(255, 140, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.15);
}
.menu-upsell-card.is-active {
  background: rgba(255, 140, 0, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.25);
}

.menu-upsell-badge-container {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.menu-upsell-card.is-active .menu-upsell-badge-container {
  max-height: 40px;
  opacity: 1;
  margin-top: 4px;
}
.menu-upsell-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 8px;
  text-transform: uppercase;
}
.menu-upsell-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.menu-upsell-title {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.25rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.1;
}
.menu-upsell-title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #555;
  border-radius: 50%;
  margin-right: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.menu-upsell-card.is-active .menu-upsell-title::before {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #111;
}
.menu-upsell-price {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.menu-upsell-desc {
  color: #aaa;
  font-size: 0.95rem;
  margin-top: 4px;
}
.menu-upsell-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,140,0,0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Scrollbar ── */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 4px;
}

/* ── Resumen Dinámico (Fixed Header) ── */
.dynamic-summary {
  background: rgba(15, 15, 15, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #cccccc;
  font-family: monospace;
  font-size: 0.72rem;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255, 140, 0, 0.2);
  flex-shrink: 0;
  z-index: 10;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dynamic-summary.hidden {
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   CONFIG GROUPS
   ════════════════════════════════════════════════════════════ */
.cfg-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.cfg-group.hidden {
  display: none;
}

.group-label {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.group-sublabel {
  font-size: 0.8rem;
  color: #777;
  margin: -8px 0 8px;
  font-weight: 400;
  letter-spacing: 0;
  font-family: var(--font);
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Botón Con Todo (Verduras) ── */
.btn-con-todo {
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 0 !important;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn-con-todo:hover {
  background: var(--primary);
  color: #000000;
}

/* Options row */
.options-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Option Pill (radio/checkbox) ── */
.option-pill {
  display: inline-flex;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.option-pill input {
  display: none;
}
.option-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  padding: 0 18px;
  border-radius: 0 !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #111111;
  border: 1px solid #333333;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.option-pill:has(input:checked) span {
  background: #111111;
  color: #FFFFFF;
  border: 1px solid var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  font-weight: 800;
  box-shadow: none;
  transform: none;
}
.option-pill.outline span {
  background: #111111;
  border-color: #333333;
  color: #FFFFFF;
}
.option-pill.outline:has(input:checked) span {
  background: #111111;
  color: #FFFFFF;
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.price-tag {
  font-style: normal;
  font-size: 0.7em;
  opacity: 0.8;
}

/* ── Switch Toggle ── */
.switch-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.switch-toggle input {
  display: none;
}
.switch-toggle .slider {
  width: 48px;
  height: 26px;
  background: #111111;
  border: 1px solid #333333;
  border-radius: 0 !important;
  position: relative;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.switch-toggle .slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #777777;
  border-radius: 0 !important;
  transition: all 0.15s ease;
}
.switch-toggle:has(input:checked) .slider {
  background: var(--primary);
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.switch-toggle:has(input:checked) .slider::after {
  left: 25px;
  background: #000000;
}
.switch-toggle .label-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Veggie checkboxes ── */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.veg-check-item {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.veg-check-item input {
  display: none;
}
.veg-check-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  padding: 0 16px;
  border-radius: 0 !important;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #111111;
  border: 1px solid #333333;
  transition: all 0.15s ease;
}
.veg-check-item:has(input:checked) span {
  background: rgba(255, 140, 0, 0.1);
  color: #FFFFFF;
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  box-shadow: none;
  transform: none;
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════
   SAUCES — Segmented Control Redesign
   ═══════════════════════════════════════════════════════ */

/* Container: vertical stack of sauce rows */
#sauces-modern-container.sauces-modern-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Each sauce: horizontal row — name left, segmented control right */
#sauces-modern-container .sauce-selector-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}
#sauces-modern-container .sauce-selector-item:last-child {
  border-bottom: none;
}

/* Sauce name pill (checkbox label) — left side */
#sauces-modern-container .sauce-selector-item > .option-pill.outline {
  flex-shrink: 0;
}
#sauces-modern-container .sauce-selector-item > .option-pill.outline span {
  height: 44px;
  padding: 0 16px;
  border-radius: 0 !important;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  position: static;
}

/* Segmented control wrapper — right side */
#sauces-modern-container .sauce-selector-item > .options-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  background: #111111;
  border: 1px solid #333333;
  border-radius: 0 !important;
  padding: 0;
  flex-shrink: 0;
}

/* Segmented control buttons */
#sauces-modern-container .sauce-selector-item > .options-row > .qty-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 42px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #aaaaaa;
  text-align: center;
  border-radius: 0 !important;
  border-right: 1px solid #333333;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  width: auto;
  min-width: 0;
  background: transparent;
  line-height: 1.2;
}
#sauces-modern-container .sauce-selector-item > .options-row > .qty-btn:last-child {
  border-right: none;
}

/* Hover */
#sauces-modern-container .sauce-selector-item > .options-row > .qty-btn:hover {
  color: #FFFFFF;
}

/* Active / Selected state */
#sauces-modern-container .sauce-selector-item > .options-row > .qty-btn.active {
  background: var(--primary);
  color: #000000;
  font-weight: 800;
  box-shadow: none;
  outline: none;
  border-radius: 4px !important;
  position: relative;
  z-index: 2;
}

/* Qty button (JS appends) */
.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 0 !important;
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  background: #000000;
  border: 1px solid #333333;
  transition: all 0.15s ease;
  cursor: pointer;
}
.qty-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.qty-btn.active {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
  outline: 3px solid #ffffff;
  outline-offset: -3px;
}

/* Info note */
.info-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: var(--text-dim);
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.info-note.hidden {
  display: none;
}
.info-note i {
  color: var(--accent);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM HORIZONTAL OPTIONS (JS classes)
   ════════════════════════════════════════════════════════════ */
.premium-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-top: 4px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
}

.premium-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 62px;
  background: #111111;
  border: 1px solid #333333;
  padding: 15px;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.premium-box:hover {
  border-color: var(--primary);
}

.premium-box .premium-main {
  color: #FFFFFF;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.premium-box .premium-price {
  color: #aaaaaa;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 54px;
  text-align: right;
}

.premium-input {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #555555;
  background: #111111;
  margin: 0;
  flex-shrink: 0;
  position: relative;
}

.premium-input[type="checkbox"] {
  border-radius: 6px;
}

.premium-input:checked {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.15);
}

.premium-input:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--primary);
  border-radius: 999px;
}

.premium-input[type="checkbox"]:checked::after {
  border-radius: 3px;
}

.premium-box:has(.premium-input:checked) {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  background: #111111;
}

.premium-box:has(.premium-input:checked) .premium-main,
.premium-box:has(.premium-input:checked) .premium-price {
  color: #FFFFFF;
}

/* ── Disabled state (e.g. meat when Vegetal is selected) ── */
.premium-box.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(1);
}

.premium-box-option {
  align-items: center;
}

.premium-box-option .premium-main {
  flex: 1;
}

/* ── Custom Quantity Selector for Vegetables ── */
.custom-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #111111;
  padding: 4px;
  border-radius: 0 !important;
  border: 1px solid #333333;
}

.custom-qty-wrapper .ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 0 !important;
  background: var(--primary);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.1s ease;
}

.custom-qty-wrapper .ctrl-btn:hover {
  background: #FFB347;
  transform: none;
}

.custom-qty-wrapper .ctrl-btn:active {
  transform: scale(0.96);
}

.custom-qty-wrapper .qty-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  min-width: 20px;
  text-align: center;
}

/* Hide native number spinners globally (safeguard) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.premium-sauce-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.premium-qty-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  overflow: hidden;
}

.premium-qty-btn {
  flex: 1;
  height: 44px;
  border-radius: 0 !important;
  border: 1px solid #333333;
  background: #000000;
  color: #777777;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.premium-qty-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.premium-qty-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000000;
  font-weight: 800;
  outline: 3px solid #ffffff;
  outline-offset: -3px;
}

/* ── Primary action button (Neon CTA) ── */
.btn-noir-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
  background: var(--primary);
  color: #000000;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 !important;
  transition: transform 0.1s ease, background 0.1s ease;
  gap: 12px;
  border: none;
  box-shadow: none;
}
.btn-noir-action:hover {
  background: #FF8C00;
}
.btn-noir-action:active {
  transform: scale(0.98);
  background: #FF8C00;
}
.btn-noir-action.large {
  font-size: 0.85rem;
  padding: 16px 22px;
}
.btn-noir-action.mt-4 {
  margin-top: 14px;
}
.btn-noir-action.is-success {
  background: var(--success);
  color: #0b0b0b;
}

/* Cart "ENVIAR PEDIDO" — subtle glow */
.btn-noir-action.cart-send-btn {
  font-size: 0.92rem;
  padding: 18px 24px;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 24px rgba(255, 140, 0, 0.25);
  gap: 8px;
}
.btn-noir-action.cart-send-btn:hover {
  box-shadow: 0 6px 32px rgba(255, 140, 0, 0.35);
}

/* Price pill inside the send button */
.cart-btn-total {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

/* ── Upsell modal ── */
.upsell-modal-body {
  padding-bottom: 4px;
}
.upsell-modal-subtitle {
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.upsell-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.upsell-modal-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font);
  text-align: center;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.upsell-modal-chip:hover {
  border-color: rgba(255, 140, 0, 0.4);
  background: rgba(255, 140, 0, 0.07);
}
.upsell-modal-chip:active {
  transform: scale(0.97);
}
.upsell-modal-chip.is-added {
  border-color: rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.1);
}
.upsell-modal-emoji {
  font-size: 2rem;
  line-height: 1;
}
.upsell-modal-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.upsell-modal-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 380px) {
  .upsell-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   CREADOR VISUAL DE PEDIDOS — Premium Extras, Menú & Bebidas
   ════════════════════════════════════════════════════════════ */

/* ── Encabezado de sección (EXTRAS, BEBIDA) ── */
.cfg-extras-section {
  margin-top: 8px;
  width: 100%;
}
.cfg-extras-heading {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Lista de extras ── */
.cfg-extras-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Item de extra individual ── */
.cfg-extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  padding: 22px 24px;
  cursor: pointer;
  border: 1px solid #333;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cfg-extra-item:hover {
  border-color: rgba(255, 140, 0, 0.4);
}
.cfg-extra-item:has(input:checked) {
  border-color: var(--accent);
  background: rgba(255, 140, 0, 0.06);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.cfg-extra-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cfg-extra-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.cfg-extra-check {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border: 2px solid #666;
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cfg-extra-check:checked {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.15);
}
.cfg-extra-check:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--accent);
  border-radius: 3px;
}
.cfg-extra-name {
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
}
.cfg-extra-price {
  color: var(--accent);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

/* ── DESTACADO: Hazlo Menú — card con brillo naranja ── */
.cfg-menu-section {
  margin-top: 8px;
}
.cfg-menu-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 140, 0, 0.05);
  border: 2px solid var(--accent);
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.08);
}
.cfg-menu-highlight:hover {
  background: rgba(255, 140, 0, 0.08);
  box-shadow: 0 0 24px rgba(255, 140, 0, 0.14);
}
.cfg-menu-highlight:has(input:checked) {
  background: rgba(255, 140, 0, 0.12);
  box-shadow: 0 0 32px rgba(255, 140, 0, 0.2), inset 0 0 0 1px var(--accent);
}
.cfg-menu-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cfg-menu-title {
  color: var(--accent);
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cfg-menu-title i {
  font-size: 0.9rem;
}
.cfg-menu-sub {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 400;
}
.cfg-menu-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cfg-menu-price {
  color: var(--accent);
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.15rem;
}
.cfg-menu-check {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s, box-shadow 0.15s;
}
.cfg-menu-check:checked {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}
.cfg-menu-check:checked::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #000;
}

/* ── Fries sauces list (inside Hazlo Menú) ── */
.cfg-fries-sauces-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Bebida item ── */
.cfg-drink-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  padding: 14px 20px;
  cursor: pointer;
  border: 1px solid #333;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cfg-drink-item:hover {
  border-color: rgba(255, 140, 0, 0.4);
}
.cfg-drink-item.is-selected {
  background: rgba(255, 140, 0, 0.08);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.cfg-drink-radio {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #555;
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s;
}
.cfg-drink-radio:checked {
  border-color: var(--accent);
}
.cfg-drink-radio:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ══════════════════════════════════════════════════════════════
   CART — Industrial "Cargo Manifest" / Invoice Brutalista
   ════════════════════════════════════════════════════════════ */

#cart-list {
  gap: 12px;
  padding-top: 14px;
}

#modal-cart #cart-list.panel-body {
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

/* Cart item — 3-row column layout */
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(7, 7, 7, 0.92);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Row 1: name + edit icon + price */
.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-item-name {
  font-family: var(--font);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  text-transform: none;
  flex: 1 1 auto;
  min-width: 0;
}

/* Edit (pencil) button */
.cart-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cart-edit-btn:hover {
  background: rgba(255, 140, 0, 0.15);
  border-color: rgba(255, 140, 0, 0.4);
  color: var(--accent);
}

/* Row 2: tags full width */
.cart-item-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 5px;
}

.cart-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  font-family: var(--font);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Row 3: qty controls right-aligned */
.cart-item-bottom {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
  margin-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Minus → Trash when qty = 1 */
.cart-qty-wrapper .ctrl-btn.is-delete {
  border-color: rgba(255, 80, 80, 0.45);
  color: rgba(255, 100, 100, 0.9);
}
.cart-qty-wrapper .ctrl-btn.is-delete:hover {
  background: rgba(220, 50, 50, 0.85);
  border-color: #e03030;
  color: #fff;
}
.row-price {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── Cart Quantity Selector ── */
.cart-qty-wrapper {
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  gap: 8px;
  display: flex;
  align-items: center;
}

.cart-qty-wrapper .ctrl-btn {
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.38);
  color: #ffcf8e;
  border: 1px solid rgba(255, 140, 0, 0.36);
  border-radius: 999px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.cart-qty-wrapper .ctrl-btn:hover {
  background: rgba(255, 140, 0, 0.92);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.cart-qty-wrapper .qty-num {
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 800;
  color: #fff;
  min-width: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ── Cart total — Invoice footer ── */
.total-box-luxury {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border: 1px solid rgba(255, 140, 0, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(255, 140, 0, 0.12), transparent 65%),
    rgba(8, 8, 8, 0.92);
}
.total-box-luxury .label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}
.total-box-luxury .amount {
  font-family: var(--font);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

#modal-cart .panel-footer {
  gap: 8px;
  padding-top: 10px;
  padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
}

#modal-cart .upsell-strip {
  padding: 10px;
}

#modal-cart .upsell-chip {
  padding: 8px;
}

#modal-cart .btn-noir-action.cart-send-btn {
  padding: 14px 18px;
}

#modal-cart.cart-crowded .upsell-strip {
  display: none;
}

/* ── Cart Upselling strip ── */
.upsell-strip {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
}
.upsell-title {
  margin: 0;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.upsell-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.upsell-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}
.upsell-chip:hover {
  border-color: var(--border-glow);
  background: rgba(255, 140, 0, 0.08);
}
.upsell-chip:active {
  transform: scale(0.98);
}
.upsell-chip-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.upsell-chip-emoji {
  font-size: 0.95rem;
  line-height: 1;
}
.upsell-chip-price {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .upsell-actions {
    grid-template-columns: 1fr;
  }
}

/* ── PWA install banners (Android + iOS) ── */
.pwa-install-banner,
.pwa-ios-banner {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  transform: translateX(-50%) translateY(16px);
  width: min(94vw, 560px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 140, 0, 0.32);
  background:
    radial-gradient(circle at top right, rgba(255, 140, 0, 0.14), transparent 50%),
    linear-gradient(160deg, rgba(11, 11, 11, 0.97), rgba(6, 6, 6, 0.97));
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
}
.pwa-install-banner.is-visible,
.pwa-ios-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.pwa-banner-copy {
  min-width: 0;
  flex: 1;
}
.pwa-banner-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.pwa-banner-sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font);
  font-size: 0.76rem;
  line-height: 1.35;
}
.pwa-banner-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pwa-banner-btn {
  border: 1px solid rgba(255, 140, 0, 0.55);
  background: var(--accent);
  color: #000000;
  border-radius: 10px;
  height: 36px;
  padding: 0 14px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.16s ease, filter 0.16s ease;
}
.pwa-banner-btn:hover {
  filter: brightness(1.04);
}
.pwa-banner-btn:active {
  transform: scale(0.97);
}
.pwa-banner-close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.pwa-banner-close:hover {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.35);
  color: #ffffff;
}
@media (max-width: 560px) {
  .pwa-install-banner,
  .pwa-ios-banner {
    align-items: flex-start;
  }
  .pwa-banner-title {
    font-size: 0.82rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   CENTERED CARD MODAL (Auth, Checkout)
   ════════════════════════════════════════════════════════════ */
.modal-backdrop-glass:has(.glass-card-center) {
  align-items: center;
  padding: 20px;
}
.glass-card-center {
  width: 100%;
  max-width: 400px;
  background: rgba(10, 10, 10, 0.9) !important;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 140, 0, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  animation: cardFadeIn 0.28s ease both;
  max-height: 92dvh;
  overflow-y: auto;
  will-change: transform, opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.glass-card-center.wide {
  max-width: 480px;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Auth modal */
.auth-brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin: 0 auto 16px;
}
.auth-heading {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
}

.btn-google-noir {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  transition:
    border-color var(--transition),
    background var(--transition);
  margin-bottom: 14px;
}
.btn-google-noir:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: #1e1e1e;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 14px 0;
  color: var(--text-dim);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 24px);
  height: 1px;
  background: var(--border);
}
.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}

/* Inputs */
.input-field-wrap {
  position: relative;
  margin-bottom: 10px;
}
.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.8rem;
  pointer-events: none;
}
.input-noir {
  width: 100%;
  height: 46px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 400;
  padding: 0 14px;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.input-noir.with-icon {
  padding-left: 38px;
}
.input-noir::placeholder {
  color: var(--text-dim);
}
.input-noir:focus {
  outline: none;
  border-color: var(--border-glow);
}

.btn-noir-outline {
  width: calc(100% - 24px);
  max-width: 340px;
  height: 40px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background var(--transition),
    color var(--transition);
  margin: 8px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.btn-noir-outline:hover {
  background: var(--accent);
  color: #000;
}
.btn-noir-outline.mt-4 {
  margin-top: 8px;
}

.btn-link-noir {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 6px;
  transition: color var(--transition);
}
.btn-link-noir:hover {
  color: var(--text-primary);
}
.btn-link-noir strong {
  color: var(--accent);
  font-weight: 600;
}

/* Profile view */
.profile-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  text-transform: uppercase;
}
.profile-display-name {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

/* Centra el email del perfil */
#auth-view-profile .text-dim {
  text-align: center !important;
  display: block;
  width: 100%;
  margin-bottom: 16px;
}

.btn-link-danger {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity var(--transition);
}
.btn-link-danger:hover {
  opacity: 0.75;
}

/* Auth views */
#auth-view-login.hidden,
#auth-view-profile.hidden {
  display: none;
}

/* Checkout / modal-name */
.checkout-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 6px;
}
.checkout-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 22px;
}

.order-client-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}
.required-mark {
  color: var(--accent);
}
.form-optional {
  font-weight: 400;
  color: var(--text-dim);
}

.btn-back-large {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: transparent;
  margin-top: 6px;
  transition:
    border-color var(--transition),
    color var(--transition);
}
.btn-back-large:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   SUCCESS SCREEN
   ════════════════════════════════════════════════════════════ */
.full-screen-noir {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 12px;
  overflow-y: auto;
}
.full-screen-noir.hidden {
  display: none;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
  width: 100%;
  gap: 14px;
  padding: 56px 18px 36px;
}

.check-animation {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 3px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.35rem;
  color: var(--success);
  animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
  flex-shrink: 0;
  margin-bottom: 2px;
}
@keyframes checkPop {
  from {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.success-title {
  color: #fff;
  font-family: var(--font);
  font-size: clamp(2.2rem, 10vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
}

.success-subtitle {
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  color: var(--text-secondary);
  margin: 0;
  max-width: 30ch;
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════
   SUCCESS SCREEN — MEJORADO
   ════════════════════════════════════════════════════════════ */
.success-time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 10px 0 6px;
}

.success-time-label-large {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  line-height: 1.2;
}

.success-time-value-large {
  font-size: clamp(3.2rem, 15vw, 6.5rem);
  font-weight: 900;
  color: var(--accent);
  font-family: 'Courier New', monospace;
  margin: 0;
  letter-spacing: 0.08em;
  line-height: 0.92;
  text-transform: uppercase;
}

.pay-info-text {
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.success-primary-action {
  width: min(100%, 340px);
  margin-top: 4px;
}

.success-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: -2px;
}

.success-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.success-text-link:hover,
.success-text-link:focus-visible {
  color: var(--accent);
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP (min-width: 900px)
   ════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
  .menu-items-grid {
    gap: 0;
    padding: 0 0 8px;
  }
  .section-title-brutal {
    padding: 36px 20px 8px;
  }

}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.signature-footer {
  padding: 20px 20px 30px;
  border-top: 1px solid var(--border);
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo-link {
  display: flex;
}
.footer-brand-logo {
  height: 22px;
  width: auto;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.footer-brand-logo:hover {
  opacity: 0.8;
}
.footer-nav {
  display: flex;
  gap: 16px;
}
.footer-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  display: flex;
  justify-content: center;
}
.author-signature {
  font-size: 0.68rem;
  color: var(--text-dim);
}
.author-name {
  color: var(--accent);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════════════════════ */
.hidden {
  display: none !important;
}
.visible {
  display: block;
}
.text-dim {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ── is-pressing (JS adds) ── */
.is-pressing {
  transform: scale(0.96) !important;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE  (max-width: 640px) — full-bleed
   ════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --nav-h: 60px;
  }

  .nav-logo-img {
    height: 26px;
  }
  .status-pill-menu .status-text {
    display: none;
  }

  /* Already single column */
  .menu-items-grid {
    gap: 0;
    padding: 0 0 8px;
  }

  .section-title-brutal {
    font-size: 0.65rem;
    padding: 10px 12px 6px !important;
  }

  .product-card {
    padding: 14px 16px;
    gap: 12px;
  }
  .card-name {
    font-size: 1.05rem;
  }
  .card-price {
    font-size: 1rem;
  }
  .card-add-btn {
    width: 30px;
    height: 30px;
  }



  .glass-card-center {
    padding: 26px 18px;
    border-radius: var(--radius-xl);
  }
  .bottom-sheet {
    border-radius: 0 !important;
  }
  .panel-body {
    padding: 14px 16px;
  }
  .panel-footer {
    padding: 12px 16px 20px;
  }
  .panel-header {
    padding: 14px 16px 10px;
  }
}

@media (max-width: 380px) {
  .section-title-brutal {
    font-size: 0.60rem;
    padding: 8px 10px 5px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   CONFETTI PARTICLES (Success Screen)
   ════════════════════════════════════════════════════════════ */
.confetti-particle {
  position: fixed;
  top: -10px;
  left: 50%;
  border-radius: 2px;
  z-index: 600;
  pointer-events: none;
  animation: confettiFall var(--duration, 2s) var(--delay, 0s) ease-out forwards;
}
@keyframes confettiFall {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateX(var(--x, 20vw)) translateY(100vh) rotate(var(--r, 360deg));
    opacity: 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT MODAL POLISH
   ════════════════════════════════════════════════════════════ */
.checkout-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, #FFB347 60%, var(--white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Input focus glow ── */
.input-noir:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.12), 0 0 12px rgba(255,140,0,0.08);
}

/* ═══ Option pill transition smoothing ═══ */
.option-pill span,
.veg-check-item span {
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
              box-shadow 0.3s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

/* ═══ Cart dock subtle pulse on new item ═══ */
.cart-floating-dock.visible .cart-dock-content {
  animation: dockSlideUp 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}

/* ═══ Premium box selection glow ═══ */
.premium-box:has(.premium-input:checked) {
  border-color: var(--primary);
  background: rgba(255, 140, 0, 0.08);
  box-shadow: 0 0 16px rgba(255,140,0,0.12), inset 0 1px 0 rgba(255,140,0,0.1);
}

/* ═══ Success screen enhancements ═══ */
.full-screen-noir {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(5, 5, 5, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.btn-noir-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.check-animation {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--success);
  animation: checkPop 0.5s cubic-bezier(0.34,1.56,0.64,1) .1s both;
  box-shadow: 0 0 30px rgba(34,197,94,0.2), 0 0 60px rgba(34,197,94,0.08);
}

.success-time-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(25,25,25,0.9) 100%);
  border: 1px solid rgba(255,140,0,0.12);
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════════════════════════════
   FRIES SAUCE SELECTOR (Menu Upsell)
   ════════════════════════════════════════════════════════════ */
#salsas-menu-container {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

#salsas-menu-container.mostrar-salsas-menu {
  max-height: 800px;
  opacity: 1;
  margin-top: 16px;
  margin-bottom: 24px;
}

#salsas-menu-container .fries-sauce-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.fries-sauce-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fries-pill span {
  height: 38px;
  padding: 0 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
              box-shadow 0.3s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.fries-pill:has(input:checked) span {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(255,140,0,0.3), 0 0 4px rgba(255,140,0,0.2);
  transform: scale(1.05);
}

/* Shake animation for validation */
@keyframes shakeInvalid {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}

.shake-invalid {
  animation: shakeInvalid 0.5s ease;
}

.shake-invalid .fries-sauce-title {
  color: var(--danger) !important;
}
/* ══════════════════════════════════════════════════════════════
   ANIMATED PRICE COUNTER EFFECTS
   ════════════════════════════════════════════════════════════ */
.price-counting {
  color: var(--accent) !important;
  text-shadow: 0 0 12px rgba(255, 140, 0, 0.5);
  transition: text-shadow 0.2s ease;
}

@keyframes pricePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.price-pop {
  animation: pricePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ── Fly-to-Cart Particle ── */
.fly-particle {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.7), 0 0 24px rgba(255, 140, 0, 0.3);
  z-index: 9999;
  pointer-events: none;
}

/* ── Touch Interaction Optimizations ── */
.product-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.btn-noir-action,
.card-add-btn,
.option-pill,
.premium-box,
.btn-close-glass,
.nav-icon-btn,
.btn-google-noir,
.btn-noir-outline,
.btn-link-noir,
.btn-link-danger,
.btn-glow,
a[role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ── Instant Pointerdown Feedback (eliminates 300ms :active delay on iOS) ── */
.btn-pressed {
  opacity: 0.75 !important;
  transform: scale(0.97) !important;
  transition: transform 60ms ease, opacity 60ms ease !important;
}

/* ── iOS Robust Scroll Lock ── */
body.scroll-locked .app-scroll-area {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ══════════════════════════════════════════════════════════════
   ELEGANT SKELETON LOADING
   ════════════════════════════════════════════════════════════ */
.skeleton-wrapper {
  opacity: 1;
  width: 100%;
  padding: 20px 0;
}

.skeleton-section-title {
  width: 160px;
  height: 28px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.skeleton-card {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.skeleton-sweep {
  position: relative;
  overflow: hidden;
  background-color: var(--surface-2);
}
.skeleton-sweep::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmerSweep 1.8s infinite;
}

@keyframes shimmerSweep {
  100% { transform: translateX(100%); }
}

/* Hide floating cart when modal is open */
body.modal-active #cart-bar,
body.modal-open #cart-bar,
body:has(.modal-backdrop-glass:not(.hidden)) #cart-bar,
body:has(#screen-success:not(.hidden)) #cart-bar,
body.modal-active .mini-cart-fab,
body.modal-open .mini-cart-fab,
body:has(.modal-backdrop-glass:not(.hidden)) .mini-cart-fab,
body:has(#screen-success:not(.hidden)) .mini-cart-fab {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) scale(0.96) !important;
}

/* ══════════════════════════════════════════════════════════════
   FILTER BUTTON (inside search bar)
   ════════════════════════════════════════════════════════════ */
.filter-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary, #999);
  font-size: 0.75rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.filter-btn:hover,
.filter-btn.is-active {
  background: rgba(255, 140, 0, 0.14);
  border-color: rgba(255, 140, 0, 0.4);
  color: var(--primary, #FF8C00);
}

/* ── Filter backdrop ── */
.filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: none !important;
  animation: none !important;
}
.filter-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ── Filter panel — Premium Bottom Sheet ── */
.filter-dropdown {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 201;
  background: #0d0d0d;
  border-radius: 20px 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0 20px 32px;
  transform: translateY(100%);
  transition: none !important;
  animation: none !important;
  max-height: 72vh;
  overflow-y: auto;
  /* Safety: a translated-offscreen panel shouldn't ever capture taps. */
  pointer-events: none;
  /* hide scrollbar */
}
.filter-dropdown::-webkit-scrollbar { display: none; }
.filter-dropdown.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Drag handle ── */
.filter-dropdown::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  margin: 12px auto 20px; 
}

/* ── Header ── */
.filter-dropdown-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary, #FF8C00);
}
.filter-dropdown-title {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #ffffff;
  text-transform: uppercase;
}
.filter-close-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  cursor: pointer;
  background: none;
  transition: none !important;
  animation: none !important;
  flex-shrink: 0;
}
.filter-close-btn:hover {
  background: var(--primary, #FF8C00);
  color: #000;
  border-color: var(--primary, #FF8C00);
}

/* ── Grid of category cards ── */
.filter-cat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 600px) {
  .filter-cat-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .filter-cat-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Category card — Liquid Glass (Premium) ── */
.filter-cat-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  background: rgba(18, 18, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
  animation: none !important;
  text-align: left;
  min-height: 85px;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .filter-cat-btn {
    background: rgba(20, 20, 20, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

/* Subtle inner glow pseudo-element */
.filter-cat-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 10%, rgba(255, 140, 0, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.filter-cat-btn i {
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.4));
  transition: transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.filter-cat-btn span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-transform: uppercase;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  min-width: 0;
  color: rgba(255,255,255,0.95);
  position: relative;
  z-index: 1;
}

.filter-cat-btn:hover,
.filter-cat-btn:focus-visible {
  border-color: rgba(255, 140, 0, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(255, 140, 0, 0.05);
  transform: translateY(-2px) !important;
}

.filter-cat-btn:hover::before,
.filter-cat-btn:focus-visible::before {
  opacity: 1;
}

.filter-cat-btn:hover i {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.6));
}

.filter-cat-btn:active {
  transform: scale(0.96) translateY(0) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ══════════════════════════════════════════════════════════════
   MODAL: Tipo de Pedido (Recoger vs Comer en Local)
   ════════════════════════════════════════════════════════════ */
.order-type-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.btn-type-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 140, 0, 0.08);
  border: 2px solid rgba(255, 140, 0, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-type-option:hover {
  background: rgba(255, 140, 0, 0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.15);
}

.btn-type-option:active {
  transform: scale(0.98) translateY(0);
}

.btn-type-option i {
  font-size: 1.4rem;
  color: var(--accent);
  min-width: 28px;
}

.btn-type-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.btn-type-desc {
  display: block;
  font-size: 0.81rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── ICONOS OPTIONES CARNE Y PICANTE ── */
.menu-item-icon {
  color: #FFFFFF;
  margin-right: 10px;
  font-size: 1.15em;
  vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════════
   MEJORAS GENERALES — v2
   ════════════════════════════════════════════════════════════ */

/* ── 1. CATEGORY CHIPS RAIL ── */
.cat-chips-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 12px 8px;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
}
.cat-chips-rail::-webkit-scrollbar { 
  display: none !important; 
  width: 0 !important; 
  height: 0 !important; 
  background: transparent !important;
}
.cat-chips-rail:empty { display: none; }

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.cat-chip i {
  font-size: 0.75rem;
  opacity: 0.7;
}
.cat-chip:hover {
  color: var(--accent);
  border-color: rgba(255,140,0,0.4);
  background: rgba(255,140,0,0.08);
}
.cat-chip:active { transform: scale(0.94); }
.cat-chip.is-active {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}
.cat-chip.is-active i { opacity: 1; }

/* ── 2. PRODUCT CARD — price accent, glow on hover, entry anim ── */
.card-price {
  color: var(--accent) !important;
}
.product-card {
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}
.product-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px rgba(255,140,0,0.18), 0 4px 20px rgba(0,0,0,0.4) !important;
}
.product-card:hover .card-add-btn {
  transform: scale(1.06);
  box-shadow: 0 0 12px rgba(255,140,0,0.45) !important;
}
.product-card:hover .card-name {
  color: var(--accent);
}
/* Entry animation on render */
@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card {
  animation: cardSlideIn 0.28s ease both;
}

/* ── 3. CARD ADD BUTTON — larger target, better animation ── */
.card-add-btn {
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s ease !important;
}
.card-add-btn:active {
  transform: scale(0.85) !important;
  box-shadow: none !important;
}

/* ── 4. STATUS PILL — more prominent when closed ── */
.status-pill-menu.is-closed {
  border-color: rgba(255,34,34,0.4);
  background: rgba(255,34,34,0.08);
}
.status-pill-menu.is-closed .status-text {
  color: var(--danger);
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}
.status-pill-menu.is-open .dot {
  animation: dotPulse 2s ease-in-out infinite;
}
.status-pill-menu.is-closed .dot {
  animation: dotPulse 1s ease-in-out infinite;
}

/* ── 5. SEARCH BAR — accent focus state ── */
.search-bar:focus-within {
  border-color: rgba(255,140,0,0.55);
  box-shadow: 0 0 0 1px rgba(255,140,0,0.18);
}
.search-bar:focus-within .search-bar-icon {
  color: var(--accent);
}

/* ── 6. CART DOCK — label sub-text, badge improved ── */
.cart-label-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cart-label-sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  display: none;
  font-weight: 400;
}
.cart-label-sub:not(:empty) { display: block; }

/* Badge stronger pop */
@keyframes cartBadgePop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.45) rotate(-8deg); }
  60%  { transform: scale(0.9)  rotate(4deg); }
  100% { transform: scale(1)    rotate(0deg); }
}
.cart-badge.bump {
  animation: cartBadgePop 0.38s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* ── 7. WHATSAPP SHARE BUTTON ── */
.btn-whatsapp-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: #fff;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
  width: calc(100% - 24px);
  max-width: 320px;
}
.btn-whatsapp-share i { font-size: 1.1rem; }
.btn-whatsapp-share:hover { background: #1da851; }
.btn-whatsapp-share:active { transform: scale(0.97); }

/* ── 8. MODAL PRICE BAR (always-visible price) ── */
.modal-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: rgba(255,140,0,0.06);
  border-bottom: 1px solid rgba(255,140,0,0.2);
  flex-shrink: 0;
}
.modal-price-bar.hidden { display: none; }
.modal-price-bar-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.modal-price-bar-value {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* ── 9. SECTION TITLE — item count badge ── */
.section-title-brutal {
  justify-content: space-between;
}
.stb-count {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── 10. BACK BUTTON — glow on hover ── */
.nav-back-btn {
  transition: background 0.15s, color 0.15s, transform 0.1s !important;
}
.nav-back-btn:hover {
  transform: translateX(-2px);
}
.nav-back-btn:active { transform: scale(0.9); }

/* ── 11. CART DOCK — tighter on mobile ── */
@media (max-width: 400px) {
  .cart-dock-content { padding: 12px 16px; }
  .cart-label { font-size: 0.78rem; }
  .cart-price { font-size: 0.9rem; }
}

/* ── 12. FILTER dropdown — smooth transition ── */
.filter-dropdown {
  transition: transform 0.32s cubic-bezier(0.32,0.72,0,1) !important;
}
.filter-backdrop {
  transition: opacity 0.25s ease !important;
}

/* ── 13. SOLD OUT badge — more visible ── */
.sold-out-badge {
  font-size: 0.7rem !important;
}
.product-card.is-sold-out {
  opacity: 0.7;
}

/* ── 14. OPTION PILLS — smooth hover ── */
.option-pill span:hover,
.veg-check-item span:hover {
  border-color: rgba(255,140,0,0.5);
  background: rgba(255,140,0,0.06);
}

/* ═══════════════════════════════════════════════════════════
   PICKUP TIME SELECTOR — Brutalist streetwear
   ═════════════════════════════════════════════════════════ */
.pickup-toggle-field { margin-top: 0.5rem; }

/* ── Mode pills row ───────────────────────────────── */
.pickup-mode-pills {
  display: flex;
  width: 100%;
  border: 2px solid #fff;
}

.pickup-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem;
  font-family: var(--font-heading, 'Archivo Black', sans-serif);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.35);
  transition: background 0.15s, color 0.15s;
  -webkit-user-select: none;
  user-select: none;
  text-align: center;
  line-height: 1.2;
  border: none;
}

.pickup-pill + .pickup-pill {
  border-left: 2px solid #fff;
}

.pickup-pill--active {
  background: #fff !important;
  color: #000 !important;
}

/* ── Time input container ──────────────────────────── */
.pickup-time-container {
  margin-top: 0.75rem;
  animation: pickupFadeIn 0.25s ease forwards;
}

@keyframes pickupFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pickup-time-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid #fff;
  background: #0a0a0a;
}

.pickup-time-icon {
  position: absolute;
  left: 1rem;
  color: var(--primary, #FF8C00);
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}

.pickup-time-input {
  width: 100%;
  min-height: 56px;
  padding: 0 1rem 0 3rem;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading, 'Archivo Black', sans-serif);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  color-scheme: dark;
}

.pickup-time-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  padding-right: 0.5rem;
}

.pickup-time-input.is-invalid {
  color: #ff1744 !important;
  animation: pickupShake 0.35s ease;
}
.pickup-time-wrap:has(.pickup-time-input.is-invalid) {
  border-color: #ff1744 !important;
}

@keyframes pickupShake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-4px); }
  40%     { transform: translateX(4px); }
  60%     { transform: translateX(-3px); }
  80%     { transform: translateX(3px); }
}

.pickup-time-hint {
  margin-top: 0.4rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.3px;
}

.pickup-time-hint strong { color: var(--primary, #FF8C00); }

/* Block submit when pickup time invalid */
#btn-siguiente.pickup-blocked {
  opacity: 0.4 !important;
  pointer-events: none !important;
}

/* ══════════════════════════════════════════════════════════════
   ── WEBKIT AUTOFILL OVERRIDE — 
   ══════════════════════════════════════════════════════════════ */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:focus {
  /* Aplasta el background nativo con sombra interior oscura */
  -webkit-box-shadow: 0 0 0px 1000px #111111 inset !important;
  box-shadow:         0 0 0px 1000px #111111 inset !important;
  /* Fuerza texto blanco sobre el fondo oscuro */
  -webkit-text-fill-color: #ffffff !important;
  /* Caret visible en blanco */
  caret-color: #ffffff;
  /* Transición prácticamente infinita — el amarillo jamás se verá */
  transition: background-color 99999s ease-in-out 0s;
}

/* ══════════════════════════════════════════════════════════════
   HEADER & FOOTER (FROM LANDING)
   ════════════════════════════════════════════════════════════ */

/* ── Landing Header Additions ── */
.nav-left-cluster {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-status-minimal {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-status-dot-minimal {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.nav-status-minimal.is-open .nav-status-dot-minimal {
  background: var(--success);
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
}
.nav-status-minimal.is-closed .nav-status-dot-minimal {
  background: var(--danger);
  box-shadow: 0 0 8px rgba(255, 34, 34, 0.6);
}
.nav-status-text-minimal {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .nav-status-text-minimal {
    display: none;
  }
}

/* ── Main Footer (Light Theme) ── */
.main-footer {
  background: var(--bg-card, #0A0A0A);
  border-top: 1px solid var(--border-light, rgba(255, 255, 255, 0.06));
  padding: 60px 20px 20px;
  margin-bottom: 0;
  color: var(--text-main, #ffffff);
}

/* Footer clearance when a fixed cart surface is present */
.cart-floating-dock.visible ~ .main-footer,
.mini-cart-fab:not(.hidden) ~ .main-footer {
  margin-bottom: 0;
}

.footer-light-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-light-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
}

.footer-light-logo {
  width: auto;
  height: auto;
  max-width: 170px;
  opacity: 0.95;
}

.footer-light-tagline {
  margin: 12px 0 0;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text-muted, #888888);
  line-height: 1.5;
  max-width: 34ch;
}

.footer-light-title {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FF9900;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-light-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.footer-light-link i {
  width: 18px;
  min-width: 18px;
  text-align: center;
  color: inherit;
  opacity: 0.9;
}

.footer-light-link:hover {
  color: var(--primary, #FF6A00);
}

.footer-light-bottom {
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-light-copy {
  margin: 0;
  font-family: var(--font);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-light-credits {
  margin: 0;
  font-family: var(--font);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .main-footer {
    padding: 46px 20px 18px;
  }

  .footer-light-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-light-bottom {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════════════════════════════
   SMART UX LAYER — Entry Mode / Mini Cart / Smart Upsell
   ════════════════════════════════════════════════════════════ */

/* Micro-interactions premium for categories */
.cat-chip i {
  transition: color 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.cat-chip:hover i,
.cat-chip.is-active i,
.cat-chip.is-interacting i {
  color: #000;
  transform: translateY(-1px) scale(1.12);
  opacity: 1;
}
.cat-chip.is-interacting {
  animation: chipOrganicPulse 0.45s ease;
}
@keyframes chipOrganicPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Legacy full-width dock hidden in favor of mini floating cart */
#cart-bar {
  display: none !important;
}

.entry-mode-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: radial-gradient(circle at 20% 20%, rgba(255, 140, 0, 0.2), transparent 48%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05), transparent 44%),
              rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.entry-mode-card {
  width: min(560px, 100%);
  border: 1px solid rgba(255, 140, 0, 0.3);
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  padding: 24px;
}
.entry-mode-kicker {
  color: #9a9a9a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 8px;
}
.entry-mode-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  line-height: 1.2;
  font-family: var(--font-heading);
}
.entry-mode-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.entry-mode-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}
.entry-mode-btn:hover {
  border-color: rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.08);
  transform: translateY(-1px);
}
.entry-mode-emoji {
  font-size: 1.2rem;
  line-height: 1;
}
.entry-mode-main {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
.entry-mode-sub {
  grid-column: 2;
  color: #9c9c9c;
  font-size: 0.74rem;
}

/* ── Migrated inline styles ─────────────────────────────── */
#sec-veggies .group-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
#sec-veggies .switch-toggle { margin-top: 6px; }
#sec-veggies .group-sublabel { margin-top: 8px; }
#pickup-time-container { display: none; }
#success-cooldown {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.mode-promo-pill {
  margin: 8px 12px 0;
  border: 1px solid rgba(255, 140, 0, 0.35);
  background: rgba(255, 140, 0, 0.08);
  color: #ffd9a6;
  font-size: 0.72rem;
  padding: 8px 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

body.mode-takeaway .search-bar {
  border-color: rgba(255, 140, 0, 0.35);
}
body.mode-dinein .search-bar {
  border-color: rgba(120, 200, 255, 0.35);
}

/* ── Mini Cart FAB — Split Panel Design ── */
.mini-cart-fab {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  z-index: 920;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  width: auto;
  max-width: 480px;
  height: 68px;
  border: 1.5px solid rgba(255, 140, 0, 0.28);
  border-radius: 22px !important;
  background: #0c0c0c;
  color: #fff;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.82),
    0 4px 28px rgba(255, 140, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  cursor: pointer;
  overflow: hidden;
  transform: translateX(-50%);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.mini-cart-fab::before {
  display: none;
}
.mini-cart-fab::after {
  display: none;
}
.mini-cart-fab:hover {
  transform: translateX(-50%) translateY(-2px);
  border-color: rgba(255, 140, 0, 0.56);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.86),
    0 6px 36px rgba(255, 140, 0, 0.32);
}
.mini-cart-fab:active {
  transform: translateX(-50%) scale(0.98);
}

.mcf-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  flex-shrink: 0;
  background: rgba(255, 140, 0, 0.06);
  border-right: 1px solid rgba(255, 140, 0, 0.14);
  border-radius: 0 !important;
  color: var(--accent);
  box-shadow: none;
}
.mcf-icon i {
  font-size: 1.2rem;
}

.mcf-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 22px;
  line-height: 1;
}
.mcf-count-line {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.mini-cart-count {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.mcf-unit {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.46);
  text-transform: uppercase;
}
.mcf-cta {
  display: none;
}

.mini-cart-total-flash {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 8px;
  min-width: 110px;
  padding: 0 20px;
  background: linear-gradient(155deg, #ffc25e 0%, #ff8c00 55%, #e07600 100%);
  color: #080808;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  border-radius: 0 !important;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  flex-shrink: 0;
}
.mini-cart-total-flash::after {
  content: "\2192";
  font-family: system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.6;
}
.mini-cart-total-flash.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.mini-cart-total-flash.is-updated {
  animation: miniCartPricePulse 0.42s ease;
}
@keyframes miniCartPricePulse {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.18); }
  100% { filter: brightness(1); }
}

.mini-cart-fab.is-bumping {
  animation: miniCartBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes miniCartBounce {
  0%   { transform: translateX(-50%) scale(1) translateY(0); }
  35%  { transform: translateX(-50%) scale(1.04) translateY(-3px); }
  65%  { transform: translateX(-50%) scale(0.97) translateY(1px); }
  100% { transform: translateX(-50%) scale(1) translateY(0); }
}

@media (max-width: 520px) {
  .mini-cart-fab {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    width: auto;
    height: 60px;
  }
  .mcf-icon {
    width: 54px;
  }
  .mcf-icon i {
    font-size: 1.08rem;
  }
  .mini-cart-count {
    font-size: 1.18rem;
  }
  .mcf-unit {
    font-size: 0.58rem;
  }
  .mini-cart-total-flash {
    min-width: 94px;
    font-size: 0.98rem;
    padding: 0 16px;
  }
}

.combo-savings-banner {
  border: 1px solid rgba(0, 255, 180, 0.25);
  background: rgba(0, 255, 180, 0.06);
  color: #b9ffe9;
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .entry-mode-card {
    padding: 20px 16px;
  }
  .entry-mode-title {
    font-size: 1.25rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATION ENGINE v2 — Toasts · Scroll Reveal · Stagger · Sounds
   ════════════════════════════════════════════════════════════ */

/* ── Toast Notification ── */
.toast-notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  z-index: 9800;
  transform: translateX(-50%) translateY(14px);
  background: rgba(255, 255, 255, 0.97);
  color: #000;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-left: 3px solid var(--accent);
  white-space: nowrap;
  max-width: calc(100vw - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast-notification.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Scroll Reveal (Premium) — .reveal-on-scroll → .is-visible ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer must never be gated by scroll-reveal visibility */
.main-footer.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* Preserve product-card hover transition while adding reveal transitions */
.product-card.reveal-on-scroll {
  transition: border-color 0.15s ease,
    opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ── Filter cards — stagger entry when dropdown opens ── */
@keyframes filterCardIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.filter-cat-btn.anim-in {
  animation: filterCardIn 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Active filter category highlight ── */
.filter-cat-btn.is-active {
  background: rgba(255, 140, 0, 0.1) !important;
  border-color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}
.filter-cat-btn.is-active::after {
  opacity: 1;
}
.filter-cat-btn.is-active i {
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary));
}

/* ── Search fade-out (animación al filtrar) ── */
.product-card.is-search-out {
  opacity: 0;
  transform: scale(0.94) translateX(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* ── Add button ripple pulse ── */
@keyframes addBtnRipple {
  from { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.55); }
  to   { box-shadow: 0 0 0 16px rgba(255, 140, 0, 0); }
}
.card-add-btn.ripple {
  animation: addBtnRipple 0.5s ease-out forwards !important;
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP REDESIGN — min-width: 1024px
   Transforms the mobile-first app shell into a proper desktop UI
   ════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  /* ── 1. Warmer background ── */
  :root {
    --bg: #1a1a1a;
    --surface: #141414;
    --surface-2: #1e1e1e;
    --border: rgba(255, 255, 255, 0.09);
  }

  /* ── 2. Body: escape mobile app-shell constraints ── */
  body {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
    overflow-x: hidden;
  }

  /* ── 3. App scroll area: natural document flow ── */
  .app-scroll-area {
    flex: 1;
    overflow: visible;
    height: auto;
  }

  /* ── 4. Nav: keep dark glass bar ── */
  .glass-nav-menu {
    background: rgba(0, 0, 0, 0.82) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .glass-nav-menu.nav-scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
  }
  .glass-nav-menu .nav-logo-img {
    height: 36px;
  }
  /* ── Search Bar: keep it aligned ── */
  .search-bar {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* ── 5. Cat chips rail: horizontal sticky bar ── */
  .cat-chips-rail {
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0; /* Align with menu-wrapper */
    gap: 10px;
    position: sticky;
    top: calc(var(--search-h, 50px) - 1px);
    z-index: 50;
    max-width: 1280px;
    margin: 0 auto;
    scrollbar-width: none !important;
  }
  .cat-chips-rail::-webkit-scrollbar {
    display: none !important;
  }
  .cat-chip {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.73rem;
    padding: 7px 16px;
  }
  .cat-chip:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--accent);
    color: var(--accent);
  }
  .cat-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
  }

  /* ── 6. Menu wrapper centred with max-width ── */
  .menu-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px 80px;
  }

  /* ── 7. Section title ── */
  .section-title-brutal {
    font-size: 0.78rem !important;
    letter-spacing: 0.2em;
    padding: 32px 0 14px !important;
    border-left: 4px solid var(--accent);
    padding-left: 16px !important;
    background: transparent;
    margin-bottom: 4px;
    color: #ccc;
  }
  .stb-icon { color: var(--accent); }

  /* ── 8. Product grid: 3 columns ── */
  .menu-items-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    padding: 0 0 8px !important;
  }

  /* ── 9. Product card: tile style with bigger hit area ── */
  .product-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 22px 20px 18px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: #141414 !important;
    min-height: 130px;
    gap: 14px !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease !important;
  }
  .product-card:hover {
    border-color: var(--accent) !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 140, 0, 0.2) !important;
    transform: translateY(-2px);
  }
  .item-info-wrapper {
    width: 100%;
  }
  .card-name {
    white-space: normal !important;
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .item-actions-wrapper {
    width: 100%;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }
  .card-add-btn {
    width: 42px !important;
    height: 42px !important;
  }
  .card-price {
    font-size: 1.25rem !important;
  }

  /* ── 10. Cart dock: bottom-aligned, max-width ── */
  .cart-floating-dock {
    max-width: 780px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    border-radius: 16px;
    bottom: 24px;
  }

  /* ── 11. Modal-config: centered dialog with hero sidebar ── */
  .modal-backdrop-glass {
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
  }

  .glass-panel.bottom-sheet {
    position: relative;
    bottom: auto;
    border-radius: 20px !important;
    max-width: 840px;
    width: 100%;
    max-height: 88vh;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.07);
    display: grid !important;
    grid-template-columns: 260px 1fr;
    grid-template-rows: auto auto auto 1fr auto;
    overflow: hidden;
    margin: auto;
  }

  /* Hero sidebar: occupies full left column */
  .modal-hero-panel {
    display: flex !important;
    grid-column: 1;
    grid-row: 1 / -1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #111 0%, #0a0a0a 100%);
    border-right: 1px solid rgba(255, 140, 0, 0.15);
    padding: 48px 28px;
    gap: 24px;
    text-align: center;
    overflow: hidden;
    position: relative;
  }
  .modal-hero-panel::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-icon-large {
    font-size: 3.6rem;
    color: var(--accent);
    filter: drop-shadow(0 0 22px rgba(255, 140, 0, 0.45));
  }
  .hero-name-large {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }
  .hero-panel-accent {
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
  }

  /* Right column elements */
  #config-progress { grid-column: 2; grid-row: 1; }
  .panel-drag-handle { display: none !important; }
  .panel-header { grid-column: 2; grid-row: 2; padding: 20px 24px 12px; }
  #wizard-step-indicator { grid-column: 2; grid-row: 3; }
  #dynamic-summary { grid-column: 2; }
  #config-options {
    grid-column: 2;
    grid-row: 4;
    height: auto;
    max-height: calc(88vh - 200px);
    overflow-y: auto;
    padding: 12px 24px !important;
  }
  #config-footer {
    grid-column: 2;
    grid-row: 5;
    padding: 14px 24px 20px;
  }

  /* Hide big cfg-title header (shown in hero panel instead) */
  #cfg-title { font-size: 1.1rem; }

  /* Cart modal: also centered and wider */
  #modal-cart .glass-panel.bottom-sheet {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  #modal-cart .modal-hero-panel { display: none !important; }

  /* Auth modal: also centered */
  #modal-auth .glass-panel.bottom-sheet,
  #modal-auth .glass-card-center {
    grid-template-columns: 1fr !important;
  }

  /* Panel body scrollbar on desktop */
  #config-options::-webkit-scrollbar { width: 5px; }
  #config-options::-webkit-scrollbar-track { background: transparent; }
  #config-options::-webkit-scrollbar-thumb {
    background: rgba(255, 140, 0, 0.25);
    border-radius: 10px;
  }
}

/* Mobile: hero panel hidden */
.modal-hero-panel {
  display: none;
}

