/* ==========================================================================
   TIENDITA SÚPER — SISTEMA DE DISEÑO ULTRA-COLORIDO, EFECTOS Y TRANSICIONES
   ==========================================================================
   Secciones con fondos destacados (Hero envolvente, Ofertas en naranja/oro,
   Servicios en índigo/neón), micro-interacciones elásticas, divisores en ola SVG,
   tarjetas multicolores por categoría y transiciones fluidas.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* TEMA ESMERALDA VIBRANTE (POR DEFECTO) */
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-soft: #ecfdf5;
  --primary-rgb: 5, 150, 105;
  --primary-light-rgb: 16, 185, 129;

  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-soft: #fef3c7;
  --accent-rgb: 245, 158, 11;

  --header-bg: #064e3b;
  --header-text: #ffffff;

  /* Fondos de Secciones Destacadas */
  --hero-bg-gradient: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
  --hero-text: #ffffff;
  --hero-glow-1: rgba(16, 185, 129, 0.35);
  --hero-glow-2: rgba(245, 158, 11, 0.3);

  --offers-section-bg: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #f59e0b 100%);
  --offers-text: #ffffff;

  --services-section-bg: linear-gradient(140deg, #091326 0%, #1e1b4b 50%, #0f172a 100%);
  --services-text: #ffffff;

  --features-section-bg: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 50%, #ffffff 100%);

  /* Superficies y Neutros */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #f8fafc;

  /* Textos */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Paleta Departamental de Categorías */
  --cat-despensa: #10b981;
  --cat-frutas: #16a34a;
  --cat-lacteos: #0284c7;
  --cat-carnes: #e11d48;
  --cat-panaderia: #d97706;
  --cat-bebidas: #06b6d4;
  --cat-botanas: #f97316;
  --cat-limpieza: #6366f1;
  --cat-cuidado: #ec4899;
  --cat-farmacia: #ef4444;
  --cat-mascotas: #8b5cf6;

  /* Sombras y Elevación */
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.08), 0 3px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 15px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 25px 40px -10px rgba(0, 0, 0, 0.15), 0 12px 16px -8px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 12px 28px -6px rgba(var(--primary-rgb), 0.45);
  --shadow-accent: 0 12px 28px -6px rgba(var(--accent-rgb), 0.45);

  /* Radios */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Tipografías */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Curvas elásticas de transición */
  --transition-spring: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PALETA AZUL TIENDITA (MODERNO & ELÉCTRICO) */
html[data-theme="minisuper-azul"] {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-soft: #eff6ff;
  --primary-rgb: 37, 99, 235;
  --primary-light-rgb: 59, 130, 246;

  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #fff7ed;
  --accent-rgb: 234, 88, 12;

  --header-bg: #1e3a8a;
  --hero-bg-gradient: linear-gradient(135deg, #172554 0%, #1e40af 50%, #2563eb 100%);
  --hero-glow-1: rgba(59, 130, 246, 0.4);
  --hero-glow-2: rgba(234, 88, 12, 0.35);

  --offers-section-bg: linear-gradient(135deg, #b91c1c 0%, #ea580c 50%, #f97316 100%);
  --services-section-bg: linear-gradient(140deg, #090d16 0%, #1e1b4b 50%, #1e3a8a 100%);
  --features-section-bg: linear-gradient(180deg, #eff6ff 0%, #dbeafe 50%, #ffffff 100%);
}

/* PALETA NARANJA MERCADO (CÁLIDO & DINÁMICO) */
html[data-theme="fresco-naranja"] {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #f97316;
  --primary-soft: #fff7ed;
  --primary-rgb: 234, 88, 12;
  --primary-light-rgb: 249, 115, 22;

  --accent: #16a34a;
  --accent-hover: #15803d;
  --accent-soft: #ecfdf5;
  --accent-rgb: 22, 163, 74;

  --header-bg: #7c2d12;
  --hero-bg-gradient: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #ea580c 100%);
  --hero-glow-1: rgba(249, 115, 22, 0.4);
  --hero-glow-2: rgba(34, 197, 94, 0.35);

  --offers-section-bg: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #ea580c 100%);
  --services-section-bg: linear-gradient(140deg, #18181b 0%, #27272a 50%, #7c2d12 100%);
  --features-section-bg: linear-gradient(180deg, #fff7ed 0%, #ffedd5 50%, #ffffff 100%);
}

/* PALETA PÚRPURA NOVA (ULTRA MODERNO & NEÓN) */
html[data-theme="moderno-purpura"] {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #8b5cf6;
  --primary-soft: #f5f3ff;
  --primary-rgb: 124, 58, 237;
  --primary-light-rgb: 139, 92, 246;

  --accent: #f43f5e;
  --accent-hover: #e11d48;
  --accent-soft: #ffe4e6;
  --accent-rgb: 244, 63, 94;

  --header-bg: #4c1d95;
  --hero-bg-gradient: linear-gradient(135deg, #3b0764 0%, #6d28d9 50%, #7c3aed 100%);
  --hero-glow-1: rgba(139, 92, 246, 0.4);
  --hero-glow-2: rgba(244, 63, 94, 0.35);

  --offers-section-bg: linear-gradient(135deg, #be123c 0%, #e11d48 50%, #f43f5e 100%);
  --services-section-bg: linear-gradient(140deg, #0f0a1c 0%, #1e1b4b 50%, #4c1d95 100%);
  --features-section-bg: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 50%, #ffffff 100%);
}

/* RESET GENERAL */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* CONTENEDOR Y UTILIDADES */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

/* ENCABEZADOS DE SECCIÓN */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: var(--transition-spring);
}

.section-badge:hover {
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.6rem;
  letter-spacing: -0.035em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* DIVISORES DE OLA (SVG WAVES) */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

.wave-top {
  top: 0;
  transform: translateY(-99%);
}

.wave-bottom {
  bottom: 0;
  transform: translateY(99%);
}

/* --------------------------------------------------------------------------
   1. BARRA SUPERIOR (ANNOUNCEMENT BAR)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--header-bg);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.825rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1002;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.top-bar-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}

.theme-selector-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
}

.theme-selector-wrapper:hover {
  background: rgba(255, 255, 255, 0.28);
}

.theme-selector-wrapper select {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 0.825rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.theme-selector-wrapper select option {
  color: #0f172a;
  background: #fff;
}

/* --------------------------------------------------------------------------
   2. HEADER PRINCIPAL (STICKY CON EFECTO VIDRIO GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.main-header {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-spring);
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-logo svg {
  height: 50px;
  width: auto;
}

/* Navegación */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-spring);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-soft);
  transform: translateY(-2px);
}

.nav-link.active {
  color: #ffffff;
  background-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.35);
}

.nav-badge-pill {
  font-size: 0.7rem;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Header Acciones */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-search-btn, .mobile-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  color: var(--text-main);
  transition: var(--transition-spring);
  border: 1px solid var(--border-color);
}

.header-search-btn:hover, .mobile-toggle-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px) rotate(4deg);
  box-shadow: var(--shadow-primary);
}

/* Botón de Carrito con Efecto Shimmer */
.btn-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-primary);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.btn-cart-trigger::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 35%;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  pointer-events: none;
  animation: shimmerSweep 4s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-150%) rotate(30deg); }
  25%, 100% { transform: translateX(450%) rotate(30deg); }
}

.btn-cart-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(var(--primary-rgb), 0.55);
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-counter {
  position: absolute;
  top: -9px;
  right: -12px;
  background: linear-gradient(135deg, #ef4444 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  min-width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: popCounter 0.3s ease;
}

@keyframes popCounter {
  0% { transform: scale(0.4); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.mobile-toggle-btn {
  display: none;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION ULTRA-VIBRANTE (FONDO DESTACADO & RESPLANDOR)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: var(--hero-bg-gradient);
  color: var(--hero-text);
  padding: 5.5rem 0 6.5rem 0;
  overflow: hidden;
}

/* Blobs decorativos flotantes de fondo */
.hero-section::before, .hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-section::before {
  top: -10%;
  left: -5%;
  width: 480px;
  height: 480px;
  background: var(--hero-glow-1);
  animation: pulseBlob 8s infinite alternate ease-in-out;
}

.hero-section::after {
  bottom: -15%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: var(--hero-glow-2);
  animation: pulseBlob 10s infinite alternate-reverse ease-in-out;
}

@keyframes pulseBlob {
  0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  100% { transform: translate(40px, -40px) scale(1.2); opacity: 0.75; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  animation: floatSlow 4s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.45);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.hero-title .text-highlight {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 2px 20px rgba(245, 158, 11, 0.3);
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

/* BOTONES GLOBALES CON ANIMACIÓN */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-accent);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 32px -6px rgba(var(--accent-rgb), 0.6);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: var(--transition-spring);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  box-shadow: 0 18px 32px -4px rgba(37, 211, 102, 0.65);
}

/* Features del Hero */
.hero-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.hero-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tarjeta Hero Visual con Vidrio Esmerilado */
.hero-visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  transition: var(--transition-spring);
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.45);
}

.hero-badge-float {
  position: absolute;
  top: -16px;
  right: -12px;
  background: linear-gradient(135deg, #ef4444 0%, #ea580c 100%);
  color: #ffffff;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 0.875rem;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
  transform: rotate(3deg);
  animation: floatBadge 3.5s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

.hero-quick-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-quick-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition-spring);
}

.hero-quick-item:hover {
  border-color: var(--primary);
  transform: translateX(6px) scale(1.02);
  box-shadow: 0 10px 20px -5px rgba(var(--primary-rgb), 0.2);
}

.hero-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   4. BARRA DE BÚSQUEDA RÁPIDA CON SOMBRA FLOTANTE
   -------------------------------------------------------------------------- */
.search-bar-container {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
}

.search-box-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.75rem;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-spring);
}

.search-box-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 25px 50px -10px rgba(var(--primary-rgb), 0.35);
  transform: translateY(-3px);
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.search-input-wrap svg {
  color: var(--primary);
}

.search-input {
  width: 100%;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  outline: none;
  color: var(--text-main);
}

.search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   5. DEPARTAMENTOS Y CATEGORÍAS MULTICOLORES
   -------------------------------------------------------------------------- */
.categories-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 1.25rem 0.25rem;
  scrollbar-width: thin;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 2px solid var(--border-color);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.925rem;
  white-space: nowrap;
  transition: var(--transition-spring);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.category-chip:hover {
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.category-chip.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
  transform: translateY(-4px) scale(1.05);
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

/* Tarjeta individual de categoría con color dinámico */
.category-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: var(--transition-spring);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary);
  transition: height 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-light);
}

.category-card:hover::before {
  height: 8px;
}

.cat-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: var(--transition-spring);
}

.category-card:hover .cat-icon-circle {
  transform: scale(1.15) rotate(6deg);
}

.cat-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}

.cat-count {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   6. TARJETAS DE PRODUCTOS CON ANIMACIÓN Y ELEVACIÓN ELÁSTICA
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-spring);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 45px -10px rgba(var(--primary-rgb), 0.28);
  border-color: var(--primary-light);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-oferta {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  animation: pulseBadge 2.5s infinite;
}

.badge-nuevo {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.badge-top {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
}

.product-visual {
  height: 195px;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
}

.product-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: var(--transition-spring);
}

.product-card:hover .product-icon-wrap {
  transform: scale(1.18) rotate(4deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8rem;
}

.product-unit {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
}

.product-price-old {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.product-savings-tag {
  font-size: 0.8rem;
  color: #ef4444;
  font-weight: 800;
  background: #fee2e2;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.product-actions {
  display: flex;
  gap: 0.6rem;
}

.btn-add-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
  transition: var(--transition-spring);
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.45);
  color: #ffffff;
}

.btn-quick-view {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--text-main);
  transition: var(--transition-spring);
  border: 1px solid var(--border-color);
}

.btn-quick-view:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. SECCIÓN DE COMBOS Y OFERTAS CON FONDO DESTACADO (NARANJA/ORO)
   -------------------------------------------------------------------------- */
.section-offers-highlight {
  background: var(--offers-section-bg);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-offers-highlight .section-title {
  color: #ffffff;
}

.section-offers-highlight .section-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.section-offers-highlight .section-badge {
  background: #ffffff;
  color: #c2410c;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.combo-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  border: 3px solid rgba(255, 255, 255, 0.9);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-spring);
}

.combo-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.35);
  border-color: #fef08a;
}

.combo-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #ef4444 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  animation: floatSlow 3s ease-in-out infinite;
}

.combo-title {
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.combo-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.combo-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 2px dashed var(--border-color);
}

/* --------------------------------------------------------------------------
   8. SECCIÓN DE SERVICIOS DEL MOSTRADOR CON FONDO DESTACADO (ÍNDIGO/NEÓN)
   -------------------------------------------------------------------------- */
.section-services-highlight {
  background: var(--services-section-bg);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-services-highlight .section-title {
  color: #ffffff;
}

.section-services-highlight .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.section-services-highlight .section-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: var(--transition-spring);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
  border-color: var(--primary-light);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-spring);
}

.service-card:hover .service-icon-box {
  transform: scale(1.15) rotate(6deg);
}

.service-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.service-card-sub {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  background: var(--bg-alt);
  color: var(--text-main);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.service-action-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-primary);
  transition: var(--transition-spring);
}

.service-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.5);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   9. CARRITO DE COMPRAS SLIDE-OVER (DRAWER)
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 490px;
  background-color: #ffffff;
  z-index: 2001;
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.35rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.cart-drawer-title {
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Barra de Envío Gratis */
.free-shipping-progress-box {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  padding: 1rem 1.65rem;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
}

.progress-text {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Lista de productos en Carrito */
.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.3;
}

.cart-item-unit {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 900;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-top: 0.25rem;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border-color);
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.qty-display {
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 22px;
  text-align: center;
}

.btn-remove-item {
  color: #94a3b8;
  padding: 0.35rem;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.btn-remove-item:hover {
  color: #ef4444;
  transform: scale(1.2);
}

/* Carrito Vacío */
.cart-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.cart-empty-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
  animation: floatSlow 3s ease-in-out infinite;
}

/* Pie de Carrito y Formulario de Entrega */
.cart-drawer-footer {
  padding: 1.35rem 1.65rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.05);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0.85rem 0 1.25rem 0;
  padding-top: 0.65rem;
  border-top: 2px dashed var(--border-color);
}

/* Formulario de Checkout */
.checkout-fields-accordion {
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  margin-bottom: 1.15rem;
  border: 1px solid var(--border-color);
}

.form-group-sm {
  margin-bottom: 0.75rem;
}

.form-group-sm label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.form-control-sm {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control-sm:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.btn-submit-order-whatsapp {
  width: 100%;
  padding: 1.1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition-spring);
}

.btn-submit-order-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65);
}

/* --------------------------------------------------------------------------
   10. MODAL DE VISTA RÁPIDA (QUICK VIEW)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transform: scale(0.92);
  transition: var(--transition-spring);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   11. TOAST NOTIFICACIONES CON RESPLANDOR
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  pointer-events: none;
}

.toast-msg {
  pointer-events: auto;
  background: #0f172a;
  color: #ffffff;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4);
  border-left: 5px solid var(--primary);
  animation: slideInToast 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInToast {
  from { transform: translateY(30px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   12. PIE DE PÁGINA (FOOTER OSCURO & MODERNO)
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: #0b1120;
  color: #cbd5e1;
  padding-top: 5.5rem;
  margin-top: auto;
  border-top: 1px solid #1e293b;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.footer-social-links {
  display: flex;
  gap: 0.85rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-spring);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-primary);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.95rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-row svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   13. MENÚ MÓVIL
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  width: 310px;
  background: #ffffff;
  height: 100%;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-nav-links a {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  transition: var(--transition-spring);
}

.mobile-nav-links a.active, .mobile-nav-links a:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-cta-group, .hero-features {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: inline-flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .cart-drawer {
    max-width: 100%;
  }
}
