/* ==============================================================
   LEVIATHAN NUTRITION — ESTILOS COMPLETOS (v10)
   - Hero optimizado (sin botones)
   - Trust Bar en fila horizontal con scroll
   - CARRUSEL DE CATEGORÍAS SIEMPRE ACTIVO (responsive)
     * Móvil: 2 tarjetas visibles
     * Tablet: 3 tarjetas visibles
     * Desktop: 4 tarjetas visibles
     * Pantallas grandes: 5 tarjetas visibles
   - Controles de carrusel siempre visibles
   - Resto de estilos profesionales y responsive
   - [FIX] Hero móvil: video movido 25% a la derecha con sombra oscura
   - [FIX v11] Nosotros/Contacto/Footer "COMPACTO EXTREMO" quedaban
     fuera del @media (max-width: 639px) y se aplicaban también en
     escritorio. Ahora están correctamente encapsulados en el mismo
     media query, junto con el resto de reglas móviles.
================================================================= */

:root {
  --lv-blue: #1E9BFF;
  --lv-blue-deep: #0B5FCC;
  --lv-cyan: #5FD4FF;
  --lv-green: #39FF8A;
  --lv-black: #050607;
  --lv-dark: #0A0E14;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --mx: 50%;
  --my: 50%;
}

/* Reset y base */
* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

/* Regla de seguridad para SVGs */
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--lv-blue);
  color: #000;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--lv-black);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--lv-blue-deep), var(--lv-blue));
  border-radius: 10px;
}

/* ==============================================================
   FONDO DINÁMICO Y PROFESIONAL
================================================================= */
#bg-ambient .bg-gradient-radial {
  background: radial-gradient(ellipse at 30% 40%, #0B2A4A 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, #0B5FCC 0%, transparent 50%),
    #050607;
}

@keyframes bg-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.animate-bg-pulse {
  animation: bg-pulse 12s ease-in-out infinite;
}

@keyframes float-1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,30px) scale(1.1)} }
@keyframes float-2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(50px,-40px) scale(1.15)} }
@keyframes float-3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,-50px) scale(0.9)} }
@keyframes float-4 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,20px) scale(1.08)} }
@keyframes float-5 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,-30px) scale(1.12)} }
.animate-float-1 { animation: float-1 18s ease-in-out infinite; }
.animate-float-2 { animation: float-2 22s ease-in-out infinite; }
.animate-float-3 { animation: float-3 15s ease-in-out infinite; }
.animate-float-4 { animation: float-4 20s ease-in-out infinite; }
.animate-float-5 { animation: float-5 25s ease-in-out infinite; }

@keyframes twinkle { 0%,100%{opacity:.3;transform:scale(.8)} 50%{opacity:1;transform:scale(1.2)} }
@keyframes twinkle-delay { 0%,100%{opacity:.2;transform:scale(.7)} 50%{opacity:.9;transform:scale(1.3)} }
@keyframes twinkle-slow { 0%,100%{opacity:.2;transform:scale(.6)} 50%{opacity:.8;transform:scale(1.1)} }
@keyframes twinkle-fast { 0%,100%{opacity:.3;transform:scale(.9)} 50%{opacity:1;transform:scale(1.4)} }
.animate-twinkle { animation: twinkle 3s ease-in-out infinite; }
.animate-twinkle-delay { animation: twinkle-delay 4s ease-in-out infinite; }
.animate-twinkle-slow { animation: twinkle-slow 5s ease-in-out infinite; }
.animate-twinkle-fast { animation: twinkle-fast 2s ease-in-out infinite; }

#particle-canvas {
  opacity: 0.55;
}

/* ==============================================================
   NAVBAR
================================================================= */
.nav-solid {
  background: rgba(4, 5, 7, 0.99);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}
.nav-solid.is-scrolled {
  border-bottom-color: rgba(30, 155, 255, 0.2);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.75);
}

.nav-scanline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lv-blue), var(--lv-cyan), transparent);
  opacity: 0.5;
  animation: scanline-move 6s linear infinite;
}
@keyframes scanline-move {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.logo-wrap {
  display: flex;
  align-self: flex-start;
  padding-top: 4px;
}
.logo-mark {
  height: 122px;
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(30, 155, 255, 0.35));
  transition: filter 0.4s ease, transform 0.4s var(--ease-premium);
  animation: logo-breathe 5s ease-in-out infinite;
}
a:hover .logo-mark {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 26px rgba(30, 155, 255, 0.6));
  transform: scale(1.04);
}
@keyframes logo-breathe {
  0%,100%{filter:drop-shadow(0 8px 18px rgba(0,0,0,.6)) drop-shadow(0 0 14px rgba(30,155,255,.3))}
  50%{filter:drop-shadow(0 8px 18px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(30,155,255,.5))}
}
@media (max-width: 640px) {
  .logo-mark { height: 84px; }
}
@media (max-width: 640px) {
  .logo-mark.logo-mark--hero { height: 54px; }
}
@media (max-width: 400px) {
  .logo-mark.logo-mark--hero { height: 46px; }
}
@media (max-width: 640px) {
  .icon-btn { width: 38px; height: 38px; min-width: 38px; padding: 9px; }
}

.nav-link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B7C1D1;
  padding-bottom: 6px;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--lv-blue), var(--lv-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-premium);
  box-shadow: 0 0 10px rgba(30, 155, 255, 0.7);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.active-link::after { transform: scaleX(1); }
.nav-link.active-link { color: #fff; }

.icon-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #B7C1D1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s var(--ease-premium);
}
.icon-btn:hover {
  color: #fff;
  background: rgba(30, 155, 255, 0.12);
  border-color: rgba(30, 155, 255, 0.4);
  box-shadow: 0 0 16px rgba(30, 155, 255, 0.35);
  transform: translateY(-2px);
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--lv-green);
  color: #04160b;
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(57, 255, 138, 0.7);
  animation: badge-pulse 2.4s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.15)}
}

/* ==============================================================
   HERO (optimizado para móvil, sin botones)
================================================================= */
.hero-section {
  min-height: 80vh;
}
@media (max-width: 640px) {
  .hero-section {
    min-height: 60vh;
  }
}

#hero-bg-layer,
.hero-bg-layer-inner {
  will-change: transform;
  position: absolute;
  inset: -60px;
}
.hero-bg-clip {
  overflow: hidden;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  animation: bg-fade-in 1.6s var(--ease-premium) both, bg-drift 18s ease-in-out infinite 1.6s;
}
@media (max-width: 767px) {
  .hero-bg-image {
    object-position: 58% center;
  }
}
@keyframes bg-fade-in {
  from { opacity:0; transform:scale(1.06); }
  to { opacity:1; transform:scale(1); }
}
@keyframes bg-drift {
  0%,100%{transform:scale(1) translate(0,0)}
  50%{transform:scale(1.015) translate(-0.4%,-0.3%)}
}

.hero-gradient-left {
  background: linear-gradient(90deg,
    rgba(5, 7, 10, 0.98) 0%,
    rgba(5, 7, 10, 0.92) 22%,
    rgba(5, 7, 10, 0.62) 42%,
    rgba(5, 7, 10, 0.18) 62%,
    transparent 78%);
}
.hero-gradient-bottom {
  background: linear-gradient(180deg,
    rgba(5, 7, 10, 0.35) 0%,
    transparent 22%,
    transparent 62%,
    rgba(5, 7, 10, 0.55) 88%,
    #05070a 100%);
}
.hero-vignette {
  background: radial-gradient(120% 90% at 60% 20%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}

#hero-spotlight {
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(95, 212, 255, 0.10), transparent 70%);
  transition: opacity 0.4s ease;
}

.lightning-layer { pointer-events: none; }
.bolt {
  position: absolute;
  background: linear-gradient(180deg, rgba(95, 212, 255, 0), rgba(95, 212, 255, 0.85), rgba(95, 212, 255, 0));
  width: 2px;
  filter: drop-shadow(0 0 6px rgba(95, 212, 255, 0.8));
  opacity: 0;
}
.bolt-1 { top: 8%; left:58%; height:30%; animation: flicker 7s ease-in-out infinite; animation-delay:1.2s; }
.bolt-2 { bottom:15%; right:20%; height:24%; animation: flicker 9s ease-in-out infinite; animation-delay:3.4s; }
@keyframes flicker {
  0%,92%,100%{opacity:0}
  93%{opacity:0.9}
  94%{opacity:0.15}
  95%{opacity:0.7}
  96%{opacity:0}
}

/* ==============================================================
   TIPOGRAFÍA / TÍTULO HERO
================================================================= */
.title-line {
  font-weight: 400;
  letter-spacing: 0.01em;
}
.title-chrome .letter {
  background: linear-gradient(180deg, #ffffff 0%, #cfd8e3 45%, #8fa0b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.5));
}
.title-electric .letter {
  background: linear-gradient(180deg, var(--lv-cyan) 0%, var(--lv-blue) 55%, var(--lv-blue-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(30, 155, 255, 0.55));
}
.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotateX(-40deg);
  animation: letter-in 0.7s var(--ease-premium) forwards;
}
@keyframes letter-in {
  to { opacity:1; transform:translateY(0) rotateX(0); }
}

.eyebrow-line {
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--lv-green), var(--lv-blue));
  box-shadow: 0 0 8px rgba(57, 255, 138, 0.6);
}

/* ==============================================================
   BOTONES
================================================================= */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04121f;
  background: linear-gradient(135deg, var(--lv-cyan), var(--lv-blue) 60%, var(--lv-blue-deep));
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(30, 155, 255, 0.55);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
  animation: btn-glow-pulse 3.2s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -6px rgba(30, 155, 255, 0.85);
}
@keyframes btn-glow-pulse {
  0%,100%{box-shadow:0 8px 24px -6px rgba(30,155,255,0.45)}
  50%{box-shadow:0 8px 30px -4px rgba(30,155,255,0.75)}
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}
.btn-primary:hover::before { left: 130%; }

.btn-secondary {
  position: relative;
  overflow: hidden;
  padding: 16px 32px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  transition: all 0.35s var(--ease-premium);
}
.btn-secondary:hover {
  border-color: var(--lv-green);
  color: var(--lv-green);
  box-shadow: 0 0 22px rgba(57, 255, 138, 0.25);
  transform: translateY(-3px);
}
@media (max-width: 640px) {
  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 0.72rem;
    gap: 8px;
  }
}

.ripple {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  opacity: 0.6;
  pointer-events: none;
  animation: ripple-anim 0.7s ease-out forwards;
}
@keyframes ripple-anim {
  to { transform: scale(3.2); opacity: 0; }
}

/* ==============================================================
   TRUST BAR (estadísticas en fila horizontal)
================================================================= */
.trust-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem 1.5rem;
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow-x: auto;
  padding: 0.75rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(30,155,255,0.3) transparent;
}
.trust-bar::-webkit-scrollbar {
  height: 4px;
}
.trust-bar::-webkit-scrollbar-thumb {
  background: rgba(30, 155, 255, 0.3);
  border-radius: 999px;
}
.trust-bar::-webkit-scrollbar-track {
  background: transparent;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.3rem 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}
.trust-item:last-child {
  border-right: none;
}
.trust-item--accent {
  background: rgba(57, 255, 138, 0.06);
  border-left: 1px solid rgba(57, 255, 138, 0.2);
  border-right: 1px solid rgba(57, 255, 138, 0.2);
}
.trust-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: var(--lv-blue);
}
.trust-icon--accent {
  color: var(--lv-green);
}
.trust-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.trust-desc {
  font-size: 0.55rem;
  color: var(--lv-steel);
  margin-top: 1px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .trust-bar {
    padding: 0.5rem 0.75rem;
    gap: 0.3rem 1rem;
  }
  .trust-item {
    padding: 0.2rem 0.4rem;
  }
  .trust-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
  }
  .trust-title {
    font-size: 0.55rem;
  }
  .trust-desc {
    display: none;
  }
}
/* ==============================================================
   BENEFITS / ESTADÍSTICAS
================================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: rgba(10, 14, 20, 0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.benefits-grid:hover {
  border-color: rgba(30, 155, 255, 0.3);
  box-shadow: 0 8px 40px -12px rgba(30, 155, 255, 0.15);
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.5rem 0.2rem;
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease;
  cursor: default;
}
.benefit-item:hover {
  transform: translateY(-4px);
  background: rgba(30, 155, 255, 0.04);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30, 155, 255, 0.15), rgba(95, 212, 255, 0.05));
  border: 1px solid rgba(30, 155, 255, 0.15);
  color: var(--lv-cyan);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(30, 155, 255, 0.05);
}
.benefit-item:hover .benefit-icon {
  background: linear-gradient(135deg, var(--lv-cyan), var(--lv-blue));
  border-color: transparent;
  color: #04121f;
  box-shadow: 0 8px 24px rgba(30, 155, 255, 0.4);
  transform: scale(1.08) rotate(-4deg);
}

.benefit-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.benefit-desc {
  font-size: 0.7rem;
  color: var(--lv-steel);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }
  .benefit-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 8px;
  }
  .benefit-title {
    font-size: 0.75rem;
  }
  .benefit-desc {
    font-size: 0.65rem;
  }
}
@media (max-width: 640px) {
  .benefits-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.3rem !important;
    padding: 0.4rem 0.2rem !important;
    border-radius: 10px !important;
    overflow-x: auto !important;          /* permite scroll solo si es necesario */
    scrollbar-width: none !important;     /* Firefox: oculta scroll */
    -ms-overflow-style: none !important;  /* IE/Edge: oculta scroll */
  }
  .benefits-grid::-webkit-scrollbar {
    display: none !important;             /* Chrome/Safari: oculta scroll */
  }

  .benefit-item {
    flex: 0 0 auto !important;            /* no se estiran, mantienen su tamaño */
    padding: 0.1rem 0.2rem !important;
    gap: 0.1rem !important;
    min-width: 0 !important;              /* evita desbordes */
  }

  .benefit-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    padding: 3px !important;
  }

  .benefit-title {
    font-size: 0.45rem !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;       /* evita saltos de línea */
  }

  .benefit-desc {
    font-size: 0.35rem !important;
    white-space: nowrap !important;
    display: block !important;            /* si lo habías ocultado, lo muestras */
  }
}

/* ==============================================================
   SCROLL INDICATOR (oculto en móvil)
================================================================= */
.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--lv-steel);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 20;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .scroll-indicator { display: none; }
}
.scroll-dot {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(var(--lv-blue), var(--lv-cyan));
  animation: scroll-drip 2.2s ease-in-out infinite;
}
@keyframes scroll-drip {
  0% { top: -30%; }
  100% { top: 100%; }
}

/* ==============================================================
   REVEAL ANIMATIONS
================================================================= */
.sr {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal-up-kf 0.9s var(--ease-premium) forwards;
  animation-delay: 0.45s;
}
.sr-delay-1 { animation-delay: 0.6s; }
.sr-delay-2 { animation-delay: 0.72s; }
.sr-delay-3 { animation-delay: 0.85s; }
.sr-delay-4 { animation-delay: 1.1s; }
@keyframes reveal-up-kf {
  to { opacity:1; transform:translateY(0); }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================================
   ENCABEZADOS DE SECCIÓN
================================================================= */
.section-heading h2 { color: #fff; }
.text-electric-inline {
  background: linear-gradient(120deg, var(--lv-cyan), var(--lv-blue) 60%, var(--lv-blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-heading.text-center .eyebrow-line { display: inline-block; }

/* ==============================================================
   CATEGORÍAS - CARRUSEL SIEMPRE ACTIVO
================================================================= */
.category-card--large {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  background: #0A0E16;
  position: relative;
}
.category-card--large:hover {
  transform: translateY(-10px);
  border-color: rgba(30, 155, 255, 0.7);
  box-shadow: 0 25px 50px -15px rgba(30, 155, 255, 0.4),
    0 0 80px -20px rgba(30, 155, 255, 0.2);
}

.category-img-wrap--large {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(120% 100% at 50% 100%, rgba(30, 155, 255, 0.15), transparent 65%), #0A0E16;
  overflow: hidden;
}
.category-img-wrap--large .category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card--large:hover .category-img { transform: scale(1.08); }

.category-overlay--large {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 5, 7, 0.92) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}
.category-card--large::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30, 155, 255, 0.25) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.category-card--large:hover::after { opacity: 1; }

.category-name-wrap {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 0 16px;
  z-index: 2;
  text-align: center;
}
.category-name-large {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ffffff 30%, var(--lv-cyan) 80%, var(--lv-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(30, 155, 255, 0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.4s ease;
  transform: translateY(0);
}
.category-card--large:hover .category-name-large {
  transform: translateY(-4px);
  text-shadow: 0 0 50px rgba(30, 155, 255, 0.8), 0 0 100px rgba(30, 155, 255, 0.4);
}
.category-count-large {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lv-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.category-card--large:hover .category-count-large { opacity: 1; }

@media (max-width: 768px) {
  .category-name-large { font-size: 1.1rem; }
  .category-count-large { font-size: 0.65rem; }
  .category-name-wrap { bottom: 16px; padding: 0 12px; }
}
@media (max-width: 480px) {
  .category-name-large { font-size: 0.95rem; }
  .category-name-wrap { bottom: 12px; padding: 0 10px; }
}

/* --- CARRUSEL (siempre activo) --- */
.category-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 8px;
}

.category-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.category-carousel-track .category-card {
  flex: 0 0 calc(50% - 6px);
  min-width: 0;
}

/* Ajuste del número de tarjetas visibles según pantalla */
@media (min-width: 640px) {
  .category-carousel-track .category-card {
    flex: 0 0 calc(33.333% - 8px);
  }
}
@media (min-width: 1024px) {
  .category-carousel-track .category-card {
    flex: 0 0 calc(25% - 9px);
  }
}
@media (min-width: 1280px) {
  .category-carousel-track .category-card {
    flex: 0 0 calc(20% - 10px);
  }
}

/* Controles del carrusel (siempre visibles) */
.category-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.carousel-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.carousel-nav-btn:hover,
.carousel-nav-btn:active {
  background: rgba(30,155,255,0.15);
  border-color: rgba(30,155,255,0.5);
  color: var(--lv-cyan);
}

.category-carousel-dots {
  display: flex;
  gap: 8px;
}
.category-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.category-carousel-dots .dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--lv-cyan), var(--lv-blue));
}

/* ==============================================================
   ANIMACIÓN DEL TÍTULO "ELIGE TU CATEGORÍA"
================================================================= */
.category-title-animate {
  display: inline-block;
  animation: titleFlash 1.2s ease-out forwards;
}
@keyframes titleFlash {
  0%{opacity:0;transform:translateY(20px) scale(.95)}
  30%{opacity:1;transform:translateY(0) scale(1);text-shadow:0 0 20px rgba(30,155,255,.8)}
  100%{opacity:1;transform:translateY(0) scale(1);text-shadow:none}
}

/* ==============================================================
   PRODUCTOS - GRID Y TARJETAS
================================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1280px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.45s var(--ease-premium), border-color 0.45s ease, box-shadow 0.45s ease;
  opacity: 0;
  transform: translateY(24px);
  cursor: pointer;
}
.product-card.is-visible {
  animation: card-in 0.7s var(--ease-premium) forwards;
}
@keyframes card-in {
  to { opacity:1; transform:translateY(0); }
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30,155,255,0.4);
  box-shadow: 0 22px 40px -18px rgba(0,0,0,0.65), 0 0 24px -8px rgba(30,155,255,0.35);
}

.product-card--combo {
  border-color: rgba(255, 215, 0, 0.2);
}
.product-card--combo:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 22px 40px -18px rgba(0,0,0,0.65), 0 0 24px -8px rgba(255,215,0,0.35);
}
.product-card--combo .product-img-wrap {
  background: radial-gradient(120% 100% at 50% 100%, rgba(255,215,0,0.08), transparent 65%), #0A0E16;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #04121f;
}
.badge-bestseller { background: linear-gradient(120deg, var(--lv-cyan), var(--lv-blue)); }
.badge-new { background: linear-gradient(120deg, #7CFFB2, var(--lv-green)); }
.badge-sale { background: linear-gradient(120deg, #FF7A6E, #FF3B4E); color: #1a0304; }
.badge-oferta {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 5;
  background: linear-gradient(135deg, #FFD700, #F59E0B);
  color: #1a1300;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px rgba(255,215,0,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: perspective(200px) rotateY(-6deg) rotateX(2deg);
  border: 1px solid rgba(255,215,0,0.4);
  animation: oferta-pulse 2s ease-in-out infinite;
}
@keyframes oferta-pulse {
  0%,100%{box-shadow:0 4px 15px rgba(255,215,0,0.5)}
  50%{box-shadow:0 4px 25px rgba(255,215,0,0.9),0 0 40px rgba(255,215,0,0.3)}
}

.badge-promo {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 5;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px rgba(16,185,129,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: perspective(200px) rotateY(-6deg) rotateX(2deg);
  border: 1px solid rgba(16,185,129,0.4);
  animation: promo-pulse 2.2s ease-in-out infinite;
}
@keyframes promo-pulse {
  0%,100%{box-shadow:0 4px 15px rgba(16,185,129,0.4)}
  50%{box-shadow:0 4px 25px rgba(16,185,129,0.8),0 0 40px rgba(16,185,129,0.2)}
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: radial-gradient(120% 100% at 50% 100%, rgba(30,155,255,0.10), transparent 65%), #0A0E16;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform 0.6s var(--ease-premium);
}
.product-card:hover .product-img { transform: scale(1.08); }

.product-placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(30,155,255,0.35);
  border: 1px dashed rgba(30,155,255,0.25);
  margin: 14px;
  border-radius: 12px;
}

.quick-view-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(5,7,10,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.35s var(--ease-premium);
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}
.quick-view-btn:hover {
  background: var(--lv-blue);
  border-color: transparent;
}

.product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}
.product-weight-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.weight-btn {
  padding: 3px 12px;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--lv-steel);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.weight-btn:hover {
  border-color: rgba(30,155,255,0.4);
  color: #fff;
}
.weight-btn.active {
  background: linear-gradient(135deg, var(--lv-cyan), var(--lv-blue));
  border-color: transparent;
  color: #04121f;
  box-shadow: 0 4px 15px rgba(30,155,255,0.5);
  transform: translateY(-1px);
}
.weight-btn.active:hover {
  box-shadow: 0 6px 25px rgba(30,155,255,0.7);
  transform: translateY(-2px);
}

.product-cat {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lv-blue);
}
.product-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  font-size: 0.78rem;
  color: #FFC94D;
  letter-spacing: 1px;
}
.product-rating span {
  color: var(--lv-steel);
  letter-spacing: normal;
  margin-left: 4px;
}
.product-price-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.product-price-old {
  font-size: 0.78rem;
  color: var(--lv-steel);
  text-decoration: line-through;
  margin-left: 8px;
}

@media (max-width: 640px) {
  .product-info { padding: 12px 12px 14px; gap: 3px; }
  .product-cat { font-size: 0.6rem; }
  .product-name { font-size: 0.82rem; line-height: 1.22; }
  .product-rating { font-size: 0.68rem; }
  .product-price-row { margin-top: 6px; }
  .product-price { font-size: 0.98rem; }
  .product-price-old { font-size: 0.66rem; margin-left: 5px; }
  .weight-btn { padding: 2px 9px; font-size: 0.55rem; }
}

/* ==============================================================
   INSTRUCCIONES INTERACTIVAS DE PRODUCTO (efecto "página" deslizante)
   Vive DENTRO de la tarjeta de vista rápida (.pcard-info), entre el
   bloque de nombre/descripción/opciones y el precio. El precio y la
   imagen del producto nunca se mueven.
================================================================= */
.pi-flip {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  --pi-off: 100%; /* desktop: la página de instrucciones entra desde la derecha */
}
.pi-flip.pi-dropdown-open { overflow: visible; z-index: 50; }
.pi-toggle-btn { position: relative; z-index: 1; }
.pcard-opt-dropdown { z-index: 60; background: #0a1420; }
.pi-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.55s var(--ease-premium);
  will-change: transform;
  backface-visibility: hidden;
}
.pi-page--main {
  transform: translateX(0);
}
.pi-page--instructions {
  bottom: 0;
  transform: translateX(var(--pi-off));
  align-items: center;
  justify-content: center;
}
.pi-flip.is-flipped .pi-page--main {
  transform: translateX(calc(var(--pi-off) * -1));
}
.pi-flip.is-flipped .pi-page--instructions {
  transform: translateX(0);
}

.pi-instructions-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  display: block;
}
.pi-instructions-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(30, 155, 255, 0.45);
  border: 1px dashed rgba(30, 155, 255, 0.3);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 10px;
  line-height: 1.3;
}

/* Botón "Ver instrucciones" — chip 3D con reflejo tipo cristal */
.pi-toggle-btn {
  align-self: flex-start;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #eaf6ff;
  border-radius: 999px;
  border: 1px solid rgba(95, 212, 255, 0.45);
  background: linear-gradient(150deg, rgba(95, 212, 255, 0.3), rgba(6, 12, 20, 0.75) 60%);
  box-shadow:
    0 4px 14px -4px rgba(30, 155, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -8px 12px -8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.35s ease, background 0.35s ease;
}
.pi-toggle-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: pi-shine 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.pi-toggle-btn::after {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
@keyframes pi-shine {
  0% { left: -60%; }
  40%, 100% { left: 130%; }
}
.pi-toggle-btn span { position: relative; z-index: 2; }
.pi-toggle-btn:hover {
  transform: perspective(300px) rotateX(8deg) translateY(-2px);
  border-color: rgba(95, 212, 255, 0.85);
  box-shadow:
    0 9px 22px -6px rgba(30, 155, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -8px 12px -8px rgba(0, 0, 0, 0.5);
}
.pi-toggle-btn:active { transform: translateY(0) scale(0.97); }
.pi-toggle-btn .pi-arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-premium);
}
.pi-toggle-btn.is-flipped {
  border-color: rgba(57, 255, 138, 0.55);
  background: linear-gradient(150deg, rgba(57, 255, 138, 0.24), rgba(6, 12, 20, 0.75) 60%);
}
.pi-toggle-btn.is-flipped .pi-arrow { transform: rotate(180deg); }

@media (max-width: 760px) {
  .pi-flip { --pi-off: -100%; min-height: 120px; } /* móvil: la instrucción entra desde la izquierda, el contenido sale a la derecha */
  .pi-toggle-btn { font-size: 0.62rem; padding: 5px 12px; }
  .pi-instructions-placeholder { font-size: 0.68rem; }
}


.add-cart-btn {
  width: 42px;
  height: 42px;
  padding: 11px;
  border-radius: 999px;
  color: #04121f;
  background: linear-gradient(120deg, var(--lv-cyan), var(--lv-blue));
  box-shadow: 0 6px 16px -4px rgba(30,155,255,0.55);
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.add-cart-btn:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 8px 22px -4px rgba(30,155,255,0.8);
}
.add-cart-btn.is-added {
  background: linear-gradient(120deg, #7CFFB2, var(--lv-green));
}

/* ==============================================================
   VIDEO HEADER (productos)
================================================================= */
.video-header {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 2rem;
  background: #0A0E14;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.video-header .section-heading {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  width: 100%;
}
@media (max-width: 640px) {
  .video-header { min-height: 200px; border-radius: 12px; }
  .video-header .section-heading { padding: 1.2rem 1rem; }
}

/* ==============================================================
   NOSOTROS
================================================================= */
.nosotros-section {
  background: linear-gradient(180deg, transparent, rgba(11,95,204,0.04), transparent);
}
.nosotros-glow {
  background: radial-gradient(50% 50% at 15% 50%, rgba(30,155,255,0.10), transparent 70%);
}
.nosotros-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 22px;
  overflow: hidden;
  background: #0A0E16;
}
.nosotros-img { width:100%; height:100%; object-fit:cover; }
.nosotros-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nosotros-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(30,155,255,0.35);
  border-radius: 14px;
  pointer-events: none;
}
.pillar-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 9px;
  border-radius: 10px;
  color: var(--lv-blue);
  background: rgba(30,155,255,0.08);
  border: 1px solid rgba(30,155,255,0.2);
}
.pillar-title {
  font-weight: 800;
  color: #fff;
  font-size: 0.9rem;
}
.pillar-desc {
  font-size: 0.78rem;
  color: var(--lv-steel);
  margin-top: 2px;
  line-height: 1.4;
}
.stats-row {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}
.stat-number {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  background: linear-gradient(180deg, #fff, var(--lv-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--lv-steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ==============================================================
   CONTACTO
================================================================= */
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-premium);
}
.contact-info-card:hover {
  border-color: rgba(30,155,255,0.35);
  transform: translateX(4px);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 9px;
  border-radius: 999px;
  color: var(--lv-blue);
  background: rgba(30,155,255,0.08);
}
.contact-info-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lv-steel);
}
.contact-info-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
.contact-social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.contact-social-btn {
  width: 42px;
  height: 42px;
  padding: 11px;
  border-radius: 999px;
  color: var(--lv-steel);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s var(--ease-premium);
}
.contact-social-btn:hover {
  color: #04121f;
  background: linear-gradient(120deg, var(--lv-cyan), var(--lv-blue));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -6px rgba(30,155,255,0.6);
}
.contact-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
}
.form-field {
  position: relative;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 14px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lv-blue);
  box-shadow: 0 0 0 3px rgba(30,155,255,0.18);
}
.form-field label {
  position: absolute;
  left: 14px;
  top: 16px;
  color: var(--lv-steel);
  font-size: 0.9rem;
  pointer-events: none;
  transition: all 0.2s var(--ease-premium);
}
.form-field input:focus+label,
.form-field input:not(:placeholder-shown)+label,
.form-field textarea:focus+label,
.form-field textarea:not(:placeholder-shown)+label {
  top: 6px;
  font-size: 0.68rem;
  color: var(--lv-cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-field.field-error input,
.form-field.field-error textarea {
  border-color: #FF3B4E;
}
.btn-primary.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn-primary.is-success {
  background: linear-gradient(120deg, #7CFFB2, var(--lv-green));
}

/* ==============================================================
   FOOTER
================================================================= */
.footer-heading {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 0.85rem;
  color: var(--lv-steel);
  margin-bottom: 12px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-link:hover {
  color: var(--lv-cyan);
  transform: translateX(3px);
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--lv-blue);
}
.newsletter-form button {
  width: 44px;
  height: 44px;
  padding: 11px;
  min-width: 44px;
  border-radius: 8px;
  color: #04121f;
  background: linear-gradient(120deg, var(--lv-cyan), var(--lv-blue));
  transition: transform 0.3s var(--ease-premium);
}
.newsletter-form button:hover { transform: scale(1.08); }
.newsletter-form.is-subscribed input { border-color: var(--lv-green); }

@media (max-width: 767px) {
  .footer-heading { font-size: 0.68rem; margin-bottom: 10px; }
  .footer-link { font-size: 0.78rem; margin-bottom: 8px; }
  .newsletter-form input { min-width:0; padding:10px 12px; font-size:0.78rem; }
  .newsletter-form button { width:38px; height:38px; min-width:38px; padding:9px; }
}

/* ==============================================================
   CARRITO LATERAL (drawer)
================================================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2,3,5,0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(420px, 92vw);
  background: #08090D;
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -30px 0 60px -20px rgba(0,0,0,0.6);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-premium);
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cart-drawer-header h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--lv-steel);
  padding: 60px 20px;
}
.cart-empty svg {
  width: 52px;
  height: 52px;
  color: rgba(30,155,255,0.35);
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: card-in 0.4s var(--ease-premium) forwards;
}
.cart-item-img {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 10px;
  background: #0f1420;
  object-fit: contain;
  padding: 6px;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}
.cart-item-price {
  font-size: 0.8rem;
  color: var(--lv-cyan);
  margin-top: 2px;
}
.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.qty-btn {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.qty-btn:hover { background: rgba(30,155,255,0.25); }
.cart-item-qty {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}
.cart-item-remove {
  margin-left: auto;
  color: var(--lv-steel);
  transition: color 0.2s ease;
}
.cart-item-remove:hover { color: #FF3B4E; }
.cart-item-remove svg { width:16px; height:16px; }
.cart-drawer-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.cart-subtotal-row span:last-child {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  color: var(--lv-cyan);
}

/* ==============================================================
   TOASTS
================================================================= */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(8,10,14,0.95);
  border: 1px solid rgba(30,155,255,0.3);
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateX(120%);
  animation: toast-in 0.5s var(--ease-premium) forwards, toast-out 0.5s var(--ease-premium) forwards 2.6s;
}
.toast-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: var(--lv-green);
}
@keyframes toast-in { to { transform: translateX(0); } }
@keyframes toast-out { to { transform: translateX(120%); } }

/* ==============================================================
   TARJETA DE PRODUCTO (Quick View) — PREMIUM
================================================================= */
.pcard {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 96;
  transform: translate(-50%, -48%) scale(0.94);
  width: min(940px, 94vw);
  max-height: 92vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium), visibility 0.4s;
}
.pcard.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.pcard-inner {
  position: relative;
  display: flex;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0A0D13;
  border: 1px solid rgba(30,155,255,0.25);
  border-radius: 22px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.75);
}
.pcard-inner::-webkit-scrollbar { width: 8px; }
.pcard-inner::-webkit-scrollbar-thumb { background: rgba(30,155,255,0.35); border-radius: 999px; }

.pcard-icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #B7C1D1;
  background: rgba(8,10,14,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s var(--ease-premium);
  cursor: pointer;
}
.pcard-icon-btn:hover {
  color: #fff;
  background: rgba(30,155,255,0.18);
  border-color: rgba(30,155,255,0.5);
  box-shadow: 0 0 16px rgba(30,155,255,0.4);
  transform: translateY(-2px);
}
.pcard-offer-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500) !important;
  color: #1a1300 !important;
  border-color: #FFD700 !important;
  animation: offer-glow 1.5s ease-in-out infinite;
}
.pcard-offer-btn:hover {
  animation: none !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 25px rgba(255,215,0,0.8) !important;
}
@keyframes offer-glow {
  0%,100%{box-shadow:0 0 10px rgba(255,215,0,0.3)}
  50%{box-shadow:0 0 25px rgba(255,215,0,0.8)}
}
.pcard-offer-message {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(8,10,14,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,215,0,0.5);
  border-radius: 14px;
  padding: 14px 20px;
  max-width: 280px;
  color: #FFD700;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 40;
  pointer-events: none;
}
.pcard-offer-message.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.pcard-offer-message::after {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 18px;
  border: 8px solid transparent;
  border-bottom-color: rgba(255,215,0,0.3);
}
.pcard-camera-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 8;
  color: var(--lv-cyan);
  border-color: rgba(95,212,255,0.35);
  animation: pcard-camera-glow 2.8s ease-in-out infinite;
}
@keyframes pcard-camera-glow {
  0%,100%{box-shadow:0 0 10px rgba(95,212,255,0.25)}
  50%{box-shadow:0 0 20px rgba(95,212,255,0.6)}
}
.pcard-camera-btn:hover {
  color: #04121f;
  background: linear-gradient(135deg, var(--lv-cyan), var(--lv-blue));
  transform: translateY(-2px) scale(1.06);
}
.pcard-camera-btn.is-capturing {
  animation: none;
  color: #04121f;
  background: linear-gradient(135deg, var(--lv-cyan), var(--lv-blue));
}
.pcard-inner.is-flashing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  animation: pcard-flash 0.4s ease-out;
}
@keyframes pcard-flash {
  0% { opacity: 0.85; }
  100% { opacity: 0; }
}

.pcard-top-right {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pcard-menu-wrap { position: relative; }
.pcard-context-menu,
.pcard-share-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: rgba(8,10,14,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-premium), visibility 0.3s ease;
  z-index: 30;
}
.pcard-context-menu.is-open,
.pcard-share-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pcard-context-item,
.pcard-share-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  color: #b7c1d1;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: transparent;
  text-align: left;
}
.pcard-context-item svg,
.pcard-share-item svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.pcard-context-item:hover,
.pcard-share-item:hover {
  background: rgba(30,155,255,0.1);
  color: #fff;
}

.pcard-img-wrap {
  flex: 0 0 42%;
  background: radial-gradient(120% 100% at 50% 100%, rgba(30,155,255,0.14), transparent 65%), #0A0E16;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 30px;
  position: relative;
}
.pcard-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.35s ease;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}
.pcard-img.is-fading {
  opacity: 0;
  transform: scale(0.96);
}

.pcard-info {
  flex: 1;
  min-width: 0;
  padding: 44px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pcard-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 24px rgba(30,155,255,0.25);
  padding-right: 90px;
}
.pcard-rating-row .product-rating { font-size: 0.9rem; }
.pcard-desc {
  color: var(--lv-steel);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 2px 0 4px;
}
.pcard-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 6px 0 4px;
}
.pcard-opt-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.pcard-opt {
  position: relative;
  flex: 1 1 160px;
  min-width: 150px;
}
.pcard-opt-label,
.pcard-qty-wrap .pcard-opt-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lv-steel);
  margin-bottom: 6px;
}
.pcard-opt-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 12px 11px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.3s var(--ease-premium);
  cursor: pointer;
  text-align: left;
}
.pcard-opt-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard-opt-toggle:hover,
.pcard-opt.is-open .pcard-opt-toggle {
  border-color: var(--lv-blue);
  box-shadow: 0 0 14px rgba(30,155,255,0.3);
}
.pcard-opt-plus {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lv-cyan), var(--lv-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  color: #04121f;
  transition: transform 0.3s var(--ease-premium);
}
.pcard-opt.is-open .pcard-opt-plus { transform: rotate(45deg); }
.pcard-opt-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 210px;
  overflow-y: auto;
  background: rgba(8,10,14,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-premium), visibility 0.3s ease;
  z-index: 25;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.75);
}
.pcard-opt-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pcard-opt-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  border-radius: 8px;
  color: #b7c1d1;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.pcard-opt-item:hover {
  background: rgba(30,155,255,0.1);
  color: #fff;
}
.pcard-opt-item.is-selected {
  color: var(--lv-cyan);
  background: rgba(30,155,255,0.08);
}
.pcard-qty-wrap {
  flex: 1 1 110px;
  min-width: 110px;
  position: relative;
}
.pcard-qty-input {
  width: 90px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 12px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.pcard-qty-input:focus {
  outline: none;
  border-color: var(--lv-blue);
  box-shadow: 0 0 14px rgba(30,155,255,0.3);
}
.pcard-qty-input.has-discount {
  border-color: #FFD700 !important;
  color: #FFD700 !important;
  box-shadow: 0 0 20px rgba(255,215,0,0.3) !important;
  animation: qty-glow 1.5s ease-in-out infinite;
}
@keyframes qty-glow {
  0%,100%{box-shadow:0 0 15px rgba(255,215,0,0.2)}
  50%{box-shadow:0 0 30px rgba(255,215,0,0.5)}
}
.pcard-discount-badge {
  position: absolute;
  top: -12px;
  left: 10px;
  background: linear-gradient(135deg, #FF3B4E, #FF6B6B);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255,59,78,0.6);
  z-index: 10;
  white-space: nowrap;
  animation: badge-bounce 1.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes badge-bounce {
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.1)}
}
.pcard-discount-badge.pulse-anim {
  animation: badge-bounce 0.8s ease-in-out 2;
}
.pcard-price-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.pcard-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pcard-price {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  color: var(--lv-cyan);
  text-shadow: 0 0 20px rgba(95,212,255,0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.pcard-price.is-updating {
  opacity: 0;
  transform: translateY(6px);
}
.pcard-price-old {
  text-decoration: line-through;
  color: var(--lv-steel);
  font-size: 0.95rem;
}
.pcard-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pcard-btn-cart,
.pcard-btn-whatsapp {
  flex: 1 1 190px;
}
.pcard-btn-whatsapp {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04160b;
  background: linear-gradient(135deg, #7CFFB2, var(--lv-green) 65%, #17b45e);
  border-radius: 6px;
  box-shadow: 0 8px 24px -6px rgba(57,255,138,0.5);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}
.pcard-btn-whatsapp svg { width:19px; height:19px; }
.pcard-btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -6px rgba(57,255,138,0.8);
}
@media (max-width: 760px) {
  .pcard-inner { flex-direction: column; }
  .pcard-img-wrap { flex: none; padding: 60px 26px 20px; }
  .pcard-info { padding: 8px 24px 28px; }
  .pcard-title { padding-right:0; margin-top:4px; }
  .pcard-price-row { justify-content: flex-start; }
}

/* ==============================================================
   BÚSQUEDA Y DROPDOWN DE CATEGORÍAS
================================================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4,5,7,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.search-modal {
  width: min(700px, 92vw);
  background: rgba(10,14,20,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 30px 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  transform: translateY(-20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.search-overlay.is-open .search-modal { transform: translateY(0) scale(1); }
.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.search-modal-header h2 {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--lv-cyan), var(--lv-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap .search-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--lv-steel);
}
#search-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#search-input:focus {
  outline: none;
  border-color: var(--lv-blue);
  box-shadow: 0 0 0 3px rgba(30,155,255,0.2);
}
.search-results {
  margin-top: 24px;
  max-height: 50vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.search-result-item:hover {
  background: rgba(30,155,255,0.06);
  border-color: rgba(30,155,255,0.2);
}
.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.search-result-item .info {
  flex: 1;
}
.search-result-item .info .name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.search-result-item .info .cat {
  font-size: 0.75rem;
  color: var(--lv-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.search-result-item .info .price {
  font-weight: 800;
  color: var(--lv-cyan);
  font-size: 0.9rem;
}
.search-no-results {
  text-align: center;
  color: var(--lv-steel);
  padding: 30px 0;
  font-size: 0.95rem;
}

#category-nav { position: relative; }
#category-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
#category-dropdown-btn svg {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
#category-dropdown-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.category-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: rgba(8,10,14,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), visibility 0.3s ease;
  z-index: 60;
}
.category-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #b7c1d1;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-item:hover {
  background: rgba(30,155,255,0.08);
  color: #fff;
}
.dropdown-item:first-child { border-radius: 14px 14px 0 0; }
.dropdown-item:last-child { border-radius: 0 0 14px 14px; }

#category-nav .category-active-label {
  display: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--lv-blue);
}
body.is-category-page #category-dropdown-btn { display: none; }
body.is-category-page #category-nav .category-active-label { display: inline-block; }

/* ==============================================================
   ORDENAMIENTO (SELECT)
================================================================= */
.sort-select {
  appearance: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 36px 8px 16px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B7C1D1' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.sort-select:hover { border-color: rgba(30,155,255,0.4); }
.sort-select:focus {
  outline: none;
  border-color: var(--lv-blue);
  box-shadow: 0 0 0 3px rgba(30,155,255,0.15);
}
.sort-select option {
  background: #0A0E14;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}

/* ==============================================================
   REDUCED MOTION
================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==============================================================
   MENÚ MÓVIL (off-canvas)
================================================================= */
.hamburger-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 16px;
}
.hamburger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
}
.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 7px; }
.hamburger-icon span:nth-child(3) { top: 14px; }
#mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
#mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3,5,8,0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 380px);
  z-index: 95;
  background: linear-gradient(180deg, #0A0E14 0%, #060809 100%);
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -20px 0 60px rgba(0,0,0,0.55);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-panel.is-open { transform: translateX(0); }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-menu-logo { height: 2.1rem; width: auto; }
.mobile-menu-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 1.25rem 0;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0D1420;
}
.mobile-menu-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
}
.mobile-menu-search input::placeholder { color: #8B96A8; }
.mobile-search-results {
  margin: 0.5rem 1.25rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0D1420;
  border: 1px solid rgba(255,255,255,0.08);
  display: none;
}
.mobile-search-results.is-open { display: block; }
.mobile-search-results .result-item {
  padding: 0.6rem 1rem;
  color: #8B96A8;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-search-results .result-item:hover {
  background: rgba(30,155,255,0.1);
  color: #fff;
}
.mobile-search-results .result-item .highlight {
  color: #5FD4FF;
  font-weight: 600;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.5rem 1rem;
  flex: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.95rem 0.75rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: #5FD4FF;
  padding-left: 1rem;
}
.mobile-category-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-category-menu.is-open { max-height: 400px; }
.mobile-subnav-link {
  padding: 0.75rem 1.75rem;
  font-size: 0.85rem;
  color: #8B96A8;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s ease, background 0.2s ease;
}
.mobile-subnav-link:last-child { border-bottom: none; }
.mobile-subnav-link:hover,
.mobile-subnav-link:active {
  color: #5FD4FF;
  background: rgba(30,155,255,0.06);
}
.mobile-category-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu-bottom {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-menu-account-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(30,155,255,0.1);
  border: 1px solid rgba(30,155,255,0.25);
  color: #5FD4FF;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.mobile-menu-account-btn:hover { background: rgba(30,155,255,0.18); }
body.mobile-menu-locked { overflow: hidden; }
@media (min-width: 1024px) {
  .mobile-menu-overlay,
  .mobile-menu-panel { display: none; }
}

/* ==============================================================
   HERO MÓVIL — ÚNICA FUENTE DE VERDAD (FIX)
   Esta es la sección que realmente manda en el hero para móvil,
   porque este archivo se carga DESPUÉS del <style> del HTML.
   Cualquier ajuste al hero en móvil debe hacerse AQUÍ.

   [FIX v11] TODO el bloque móvil (Hero + Nosotros + Contacto +
   Footer "compacto extremo") vive ahora dentro de ESTE MISMO
   @media (max-width: 639px), para que nada se filtre a escritorio.
================================================================= */
@media (max-width: 639px) {
 
  /* ---- Estas 4 reglas quedan EXACTAMENTE igual que antes ---- */
  #inicio {
    height: 44vh !important;
    min-height: 300px !important;
    max-height: 380px !important;
    display: flex !important;
    align-items: flex-end !important;
    overflow: hidden !important;
  }
  .hero-bg-clip {
    top: 5.5rem !important;
  }
  #hero-bg-layer .hero-bg-video {
    width: 140% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 22% !important;
    transform: translateX(25%) !important;
    position: absolute;
    inset: 0;
    display: block;
  }
  #hero-bg-layer .hero-left-shadow {
    width: 70% !important;
    background: linear-gradient(to right,
      rgba(5, 7, 10, 1) 0%,
      rgba(5, 7, 10, 0.98) 25%,
      rgba(5, 7, 10, 0.85) 50%,
      rgba(5, 7, 10, 0.5) 75%,
      rgba(5, 7, 10, 0) 100%) !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    pointer-events: none;
    z-index: 2;
  }
 
  /* ---- ESTO ES LO NUEVO: contenedor de texto, ahora con orden real ---- */
  #inicio .relative.z-10 {
    padding: 0 1.1rem 1.3rem !important;
    max-height: 58% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }
  #inicio .relative.z-10 > div.max-w-xl {
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
  }
  #inicio h1.font-display {
    margin-bottom: 0 !important;
  }
  .title-line {
    font-size: clamp(1.7rem, 7.5vw, 2.3rem) !important;
    line-height: 1.20 !important;
    margin-bottom: 0 !important;
  }
  .sr.sr-delay-1 {
    font-size: 0.65rem !important;
    line-height: 1.40 !important;
    max-width: 58% !important;
    margin-bottom: 0 !important;
  }
  .sr.sr-delay-2 {
    gap: 0.6rem !important;
    margin-bottom: 0 !important;
  }
  .btn-primary,
  .btn-secondary {
    padding: 4px 10px !important;
    font-size: 0.35rem !important;
    gap: 3px !important;
    border-radius: 3px !important;
    min-height: 20px !important;
  }
 
  .hide-on-mobile {
    display: none !important;
  }
 
  /* ---- Estas 3 quedan igual que antes ---- */
  .hero-gradient-left {
    background: linear-gradient(90deg,
      rgba(5, 7, 10, 0.95) 0%,
      rgba(5, 7, 10, 0.8) 30%,
      rgba(5, 7, 10, 0.4) 60%,
      transparent 80%) !important;
  }
  .hero-gradient-bottom {
    background: linear-gradient(180deg,
      rgba(5, 7, 10, 0.15) 0%,
      transparent 25%,
      transparent 55%,
      rgba(5, 7, 10, 0.55) 88%,
      #05070a 100%) !important;
  }
  .hero-vignette {
    background: radial-gradient(ellipse at center, transparent 60%, rgba(5,7,10,0.2) 100%) !important;
  }
  #hero-spotlight {
    opacity: 0.5 !important;
  }

  /* ==============================================================
     NOSOTROS - COMPACTO EXTREMO
  ============================================================= */
  #nosotros .grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    align-items: stretch !important;
  }
  #nosotros .nosotros-video-wrap {
    flex: 0 0 40% !important;
    max-height: 130px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }
  #nosotros .nosotros-video {
    max-height: 130px !important;
    object-fit: cover !important;
  }
  #nosotros .nosotros-video-wrap + div {
    flex: 1 !important;
    padding-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    min-width: 0 !important;
  }
  #nosotros .nosotros-video-wrap + div .flex.items-center.gap-3 {
    gap: 0.3rem !important;
    margin-bottom: 0.2rem !important;
  }
  #nosotros .nosotros-video-wrap + div .flex.items-center.gap-3 .eyebrow-line {
    width: 18px !important;
  }
  #nosotros .nosotros-video-wrap + div .flex.items-center.gap-3 span {
    font-size: 0.45rem !important;
    letter-spacing: 0.15em !important;
  }
  #nosotros .nosotros-video-wrap + div h2 {
    font-size: 0.9rem !important;
    margin-bottom: 0.1rem !important;
    line-height: 1.1 !important;
  }
  #nosotros .nosotros-video-wrap + div .text-lv-steel.leading-relaxed {
    font-size: 0.5rem !important;
    margin-bottom: 0.1rem !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }
  #nosotros .nosotros-video-wrap + div .text-lv-steel.leading-relaxed:nth-of-type(2) {
    display: none !important;
  }
  #nosotros .grid.grid-cols-2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.2rem !important;
    margin-bottom: 0.2rem !important;
  }
  #nosotros .pillar-item {
    flex: 1 !important;
    gap: 0.2rem !important;
    align-items: center !important;
  }
  #nosotros .pillar-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    padding: 3px !important;
    border-radius: 4px !important;
  }
  #nosotros .pillar-title {
    font-size: 0.45rem !important;
    line-height: 1 !important;
  }
  #nosotros .pillar-desc {
    display: none !important;
  }
  #nosotros .stats-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.2rem !important;
    padding-top: 0.2rem !important;
    border-top: none !important;
  }
  #nosotros .stat-item {
    flex: 1 !important;
    text-align: center !important;
  }
  #nosotros .stat-number {
    font-size: 0.65rem !important;
  }
  #nosotros .stat-label {
    font-size: 0.35rem !important;
    letter-spacing: 0.05em !important;
    margin-top: 1px !important;
  }

  /* ==============================================================
     CONTACTO - COMPACTO EXTREMO
  ============================================================= */
  #contacto .grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    align-items: stretch !important;
  }
  #contacto .grid > div:first-child {
    flex: 0 0 38% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
  }
  #contacto .grid > form {
    flex: 1 !important;
    padding: 0.5rem !important;
    border-radius: 10px !important;
  }
  #contacto .contact-info-card {
    padding: 0.2rem 0.4rem !important;
    gap: 0.2rem !important;
    border-radius: 4px !important;
    background: transparent !important;
    border: none !important;
  }
  #contacto .contact-info-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    padding: 3px !important;
  }
  #contacto .contact-info-title {
    font-size: 0.35rem !important;
    letter-spacing: 0.05em !important;
  }
  #contacto .contact-info-text {
    font-size: 0.45rem !important;
    font-weight: 600 !important;
  }
  #contacto .contact-social-row {
    gap: 0.2rem !important;
    margin-top: 0.1rem !important;
  }
  #contacto .contact-social-btn {
    width: 20px !important;
    height: 20px !important;
    padding: 4px !important;
    border-radius: 999px !important;
  }
  #contacto .contact-social-btn svg {
    width: 12px !important;
    height: 12px !important;
  }
  #contacto .form-field {
    margin-top: 0.2rem !important;
  }
  #contacto .form-field input,
  #contacto .form-field textarea {
    padding: 4px 4px 2px !important;
    font-size: 0.45rem !important;
    border-radius: 4px !important;
    min-height: 20px !important;
  }
  #contacto .form-field label {
    font-size: 0.4rem !important;
    top: 4px !important;
    left: 4px !important;
  }
  #contacto .form-field input:focus+label,
  #contacto .form-field input:not(:placeholder-shown)+label,
  #contacto .form-field textarea:focus+label,
  #contacto .form-field textarea:not(:placeholder-shown)+label {
    top: 1px !important;
    font-size: 0.35rem !important;
  }
  #contacto .btn-primary {
    padding: 4px 8px !important;
    font-size: 0.45rem !important;
    margin-top: 0.2rem !important;
  }
  #contacto .grid > form .grid.sm\:grid-cols-2 {
    gap: 0.2rem !important;
  }
  #contacto .grid > form .mt-5 {
    margin-top: 0.2rem !important;
  }
  #contacto .section-heading .eyebrow-line {
    width: 14px !important;
  }

  /* ==============================================================
     FOOTER - UNA SOLA FILA HORIZONTAL
  ============================================================= */
  footer .grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.2rem !important;
    padding: 0.25rem 0.5rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  footer .grid > div {
    flex: 0 0 auto !important;
    padding: 0 0.2rem !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  footer .grid > div:first-child {
    display: none !important; /* ocultar el logo y descripción en móvil para ahorrar espacio */
  }
  footer .footer-heading {
    font-size: 0.4rem !important;
    margin-bottom: 1px !important;
    letter-spacing: 0.05em !important;
  }
  footer .footer-link {
    font-size: 0.35rem !important;
    margin-bottom: 1px !important;
    padding: 0 !important;
  }
  footer .grid > div .text-lv-steel.text-sm {
    display: none !important;
  }
  footer .newsletter-form {
    flex-wrap: nowrap !important;
    gap: 0.1rem !important;
  }
  footer .newsletter-form input {
    font-size: 0.35rem !important;
    padding: 2px 4px !important;
    min-width: 40px !important;
    border-radius: 4px !important;
  }
  footer .newsletter-form button {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    padding: 3px !important;
    border-radius: 4px !important;
  }
  footer .newsletter-form button svg {
    width: 10px !important;
    height: 10px !important;
  }
  footer .border-t {
    padding: 0.1rem 0.5rem !important;
  }
  footer .border-t .flex {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.2rem !important;
    flex-wrap: nowrap !important;
  }
  footer .border-t p {
    font-size: 0.3rem !important;
  }
}