/* =========================================
   MAXILONCHERAS — Custom Styles
   ========================================= */

/* Scrollbar oculta */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Gradiente orgánico de fondo */
.bg-organic-gradient {
  background:
    radial-gradient(circle at 10% 20%, rgba(242,128,32,0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(190,244,88,0.08) 0%, transparent 50%);
}

/* Sombra ambiental suave */
.ambient-shadow { box-shadow: 0px 12px 32px rgba(86,67,54,0.06); }

/* Selector de día activo */
.day-selector-active {
  background-color: #964900;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(150,73,0,0.3);
}

/* Tab activo en categorías */
.tab-active {
  background-color: #ffffff;
  color: #964900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Carrito flotante */
#cart-panel {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
#cart-panel.open { transform: translateX(0); }

/* Badge del carrito */
#cart-badge {
  display: none;
  position: absolute;
  top: 4px; right: 4px;
  background: #964900;
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  width: 18px; height: 18px;
  align-items: center; justify-content: center;
}
#cart-badge.visible { display: flex; }

/* Toast */
#toast {
  position: fixed;
  bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #964900; color: white;
  padding: 12px 24px; border-radius: 9999px;
  font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none;
  z-index: 999;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Animación de entrada para las tarjetas */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-card { animation: fadeSlideUp 0.4s ease forwards; }

/* Overlay del carrito */
#cart-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
  z-index: 59;
}
#cart-overlay.open { display: block; }

/* Hero imagen con efecto de carga */
.hero-img { transition: transform 0.5s ease; }

/* Botón WhatsApp efecto pulse */
@keyframes pulse-whatsapp {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
}
.whatsapp-pulse { animation: pulse-whatsapp 2s infinite; }

/* Responsive mejoras */
@media (max-width: 640px) {
  .day-btn span.day-label { display: none; }
}
