/* ========================================
   COMPONENTS.CSS — MarMon Pizza
   Componentes reutilizables
   ======================================== */

/* ================================================================
   LOADER PREMIUM
   ================================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-darkest);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s var(--ease-smooth);
}
#loader.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-content { text-align: center; max-width: 90vw; }

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  animation: pulse-glow 2s ease-in-out infinite;
}

.loader-tagline {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.loader-bar-wrap {
  width: 320px;
  max-width: 80vw;
  height: 2px;
  background: rgba(245, 166, 35, 0.15);
  margin: 0 auto 1rem;
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary);
}

.loader-percentage {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.loader-text {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

/* ================================================================
   NAVBAR
   ================================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 1rem 4vw;
  border-bottom: 1px solid rgba(245, 166, 35, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo-mar { color: var(--text-light); }
.nav-logo-mon { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-active { color: var(--primary); }
.nav-links a.nav-active::after { width: 100%; }

.nav-cta {
  background: var(--whatsapp);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 0.95rem;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Cart Toggle ---- */
.cart-toggle {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(245, 166, 35, 0.2);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all 0.3s;
  margin-left: 1rem;
}
.cart-toggle:hover {
  background: var(--primary);
  color: var(--bg-darkest);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s;
}
.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Cart FAB Mobile (independiente del header) ---- */
.cart-fab-mobile {
  display: none;
}

@media (max-width: 768px) {
  .cart-fab-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 99999 !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: var(--accent-orange, #f5a623) !important;
    color: #1a1a1a !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 0 0 0 rgba(245, 166, 35, 0.6) !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .cart-fab-mobile svg,
  .cart-fab-mobile img {
    width: 26px !important;
    height: 26px !important;
  }

  .cart-fab-mobile:active { transform: scale(0.92) !important; }

  .cart-fab-mobile .cart-fab-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    min-width: 22px !important;
    height: 22px !important;
    border-radius: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 5px !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
  }

  .cart-fab-badge:empty,
  .cart-fab-badge[data-count="0"] {
    display: none !important;
  }

  .cart-fab-badge.visible {
    display: flex !important;
  }

  /* PULSO PERMANENTE cuando hay items en el carrito */
  .cart-fab-mobile.has-items {
    animation: cartFabHasItems 2.5s ease-in-out infinite !important;
  }

  /* SACUDIDA fuerte cuando se acaba de agregar un producto */
  .cart-fab-mobile.is-pulsing {
    animation: cartFabShake 0.7s ease-out 2 !important;
  }

  /* Ocultar el carrito del header en mobile — evitar duplicado */
  .cart-toggle {
    display: none !important;
  }
}

/* Pulso sutil permanente — anillo naranja que crece y desaparece */
@keyframes cartFabHasItems {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 0 0 0 rgba(245, 166, 35, 0.6);
  }
  50% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 0 0 12px rgba(245, 166, 35, 0);
  }
}

/* Sacudida fuerte al recibir producto */
@keyframes cartFabShake {
  0%   { transform: scale(1) rotate(0deg); }
  15%  { transform: scale(1.18) rotate(-10deg);
         box-shadow: 0 6px 24px rgba(245, 166, 35, 0.8); }
  30%  { transform: scale(1.1) rotate(10deg); }
  45%  { transform: scale(1.15) rotate(-6deg); }
  60%  { transform: scale(1.08) rotate(6deg); }
  75%  { transform: scale(1.12) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ---- Cart Drawer ---- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-dark);
  border-left: 1px solid rgba(245, 166, 35, 0.1);
  z-index: 9998;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer-header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}
.cart-drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-light);
}
.cart-drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}
.cart-drawer-close:hover { color: var(--text-light); }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 2rem;
}

.cart-drawer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245, 166, 35, 0.08);
}
.cart-item-name {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.cart-item-size { font-size: 0.75rem; color: var(--text-muted); }
.cart-item-right { display: flex; align-items: center; gap: 1rem; }
.cart-item-price { color: var(--primary); font-weight: 500; white-space: nowrap; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.3s;
  padding: 4px;
}
.cart-item-remove:hover { color: var(--accent-red); }

.cart-drawer-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.cart-drawer-empty i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0.3;
  display: block;
}

.cart-drawer-footer {
  padding: 2rem;
  border-top: 1px solid rgba(245, 166, 35, 0.1);
}
.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}
.cart-drawer-total-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.btn-checkout {
  width: 100%;
  background: var(--whatsapp);
  color: white;
  border: none;
  padding: 1.25rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s;
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}
.cart-note {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ---- Toast Notifications ---- */
.toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-weight: 500;
  z-index: 10000;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  font-size: 0.95rem;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  animation: pulse-whatsapp 2s infinite;
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--primary); }

/* === Cart animation FX === */
.cart-3d-perspective {
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow-x: hidden;
}

.cart-fx-particle {
  position: fixed;
  pointer-events: none;
  z-index: 100000;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.cart-fx-emoji {
  user-select: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.cart-fx-spark {
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary), 0 0 16px var(--primary);
}

.cart-fx-pulse {
  position: absolute;
  inset: -4px;
  background: var(--primary);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* === Temu-style fly-to-cart burst icons === */
.fly-burst-icon {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .fly-burst-icon { display: none !important; }
}

/* ================================================================
   FIX — Badge del FAB mobile: visible cuando hay items
   ================================================================ */
.cart-fab-mobile .cart-fab-badge {
  display: none !important;
}

.cart-fab-mobile .cart-fab-badge.visible {
  display: flex !important;
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  background: #fff !important;
  color: #000 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 11px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 5px !important;
  line-height: 1 !important;
  z-index: 100000 !important;
}

/* ================================================================
   FIX — FAB mobile: fuerza visibilidad absoluta (max specificity)
   ================================================================ */
@media (max-width: 768px) {
  body button.cart-fab-mobile {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 99999 !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: var(--accent-orange, #f5a623) !important;
    color: #1a1a1a !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 0 0 0 rgba(245, 166, 35, 0.6) !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body button.cart-fab-mobile i,
  body button.cart-fab-mobile .fa-shopping-cart {
    font-size: 24px !important;
    color: #1a1a1a !important;
  }

  body button.cart-fab-mobile.has-items {
    animation: cartFabHasItems 2.5s ease-in-out infinite !important;
  }

  body button.cart-fab-mobile.is-pulsing {
    animation: cartFabShake 0.7s ease-out 2 !important;
  }
}

/* ================================================================
   FIX 1 — FAB nunca se esconde — máxima especificidad CSS
   ================================================================ */
@media (max-width: 768px) {
  html body button.cart-fab-mobile,
  html body button.cart-fab-mobile:not(:hover),
  html body.drawer-open button.cart-fab-mobile,
  html body.menu-open button.cart-fab-mobile,
  html body.toast-active button.cart-fab-mobile {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 99999 !important;
  }
}

/* ================================================================
   FIX 2 — Tooltip "Termina tu pedido" + vibración cada 3s
   ================================================================ */
@media (max-width: 768px) {
  .cart-fab-mobile.has-items::before {
    content: 'Termina tu pedido 🍕';
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    transform: translateY(-50%) translateX(10px);
    background: #1a1a1a;
    color: #f5a623;
    padding: 8px 14px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    animation: cartTooltipShow 6s ease-in-out infinite;
    animation-delay: 1.5s;
  }

  .cart-fab-mobile.has-items::after {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(100% + 6px);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #1a1a1a;
    opacity: 0;
    pointer-events: none;
    animation: cartTooltipShow 6s ease-in-out infinite;
    animation-delay: 1.5s;
  }

  /* Vibración cada 3 segundos cuando hay items */
  .cart-fab-mobile.has-items {
    animation: cartPulseHasItems 3s ease-in-out infinite !important;
  }
}

@keyframes cartTooltipShow {
  0%, 100% {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
  }
  20%, 60% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes cartPulseHasItems {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 0 0 0 rgba(245, 166, 35, 0.6);
  }
  10% {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 0 0 8px rgba(245, 166, 35, 0.3);
  }
  20% {
    transform: scale(1.06) rotate(3deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45),
                0 0 0 16px rgba(245, 166, 35, 0);
  }
  30% {
    transform: scale(1) rotate(0deg);
  }
}

/* ================================================================
   FIX 3.1 — Partículas de animación SIEMPRE visibles encima de todo
   ================================================================ */
.cart-fx-particle,
.cart-fx-emoji,
.cart-fx-spark {
  position: fixed !important;
  pointer-events: none !important;
  z-index: 100001 !important;
  user-select: none !important;
  will-change: transform, opacity !important;
}

.cart-fx-emoji {
  font-size: 22px !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
}

.cart-fx-spark {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ffd966, #f5a623) !important;
  box-shadow: 0 0 8px #f5a623 !important;
}

body.cart-3d-perspective {
  perspective: 800px !important;
}

/* ================================================================
   Badge calidad debajo del título del menú
   ================================================================ */
.quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.10), rgba(245, 166, 35, 0.03));
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--text-light, #f5f5f5);
  padding: 0.7rem 1.5rem 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 1.25rem auto 2rem;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  width: fit-content;
  position: relative;
  overflow: visible;
}

.quality-badge-pizza {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  animation: pizzaFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  transform-origin: center bottom;
}

.quality-badge-pizza svg {
  width: 100%;
  height: 100%;
  display: block;
}

.quality-badge-text {
  white-space: nowrap;
}

.quality-badge-text strong {
  color: var(--accent-orange, #f5a623);
  font-weight: 700;
}

@keyframes pizzaFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

#menu .quality-badge {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

/* Banner calidad dentro del drawer del carrito */
.cart-quality-note {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
  border-left: 3px solid var(--accent-orange, #f5a623);
  color: var(--text-light, #f5f5f5);
  padding: 0.75rem 1rem;
  margin: 0 1rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
}

.cart-quality-note strong {
  color: var(--accent-orange, #f5a623);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 480px) {
  .quality-badge {
    font-size: 0.8rem;
    padding: 0.55rem 1.1rem 0.55rem 0.75rem;
    gap: 0.65rem;
  }
  .quality-badge-pizza { width: 30px; height: 30px; }
  .quality-badge-text {
    white-space: normal;
    text-align: left;
    line-height: 1.3;
  }
  .cart-quality-note {
    font-size: 0.8rem;
    margin: 0 0.5rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quality-badge-pizza { animation: none; }
}

/* ================================================================
   Reglas blindadas añadidas por fix quirúrgico
   ================================================================ */
/* FAB mobile: position fixed INMUNE a cualquier override JS */
@media (max-width: 768px) {
  html body button.cart-fab-mobile[style*="position"],
  html body button.cart-fab-mobile {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    transform: none !important;
    z-index: 99999 !important;
  }
  
  /* Cuando tiene clase has-items o is-pulsing, igual queda fixed */
  html body button.cart-fab-mobile.has-items,
  html body button.cart-fab-mobile.is-pulsing {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
  }

  /* Header sticky en mobile — SOLO el navbar principal */
  #navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9998 !important;
    background: rgba(15, 15, 15, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
  }
  
  /* Compensar espacio del header fixed para que el contenido no quede tapado */
  body {
    padding-top: 70px !important;
  }
  
  /* Asegurar que el FAB del carrito queda POR ENCIMA del header */
  html body button.cart-fab-mobile {
    z-index: 99999 !important;
    top: 1rem !important;
  }
  
  /* IMPORTANTE: ningún otro elemento debe quedar sticky o fixed por error */
  .quality-badge,
  .quality-badge-pizza,
  [class*="badge"] {
    position: static !important;
  }
}

