/* ============================================================
   TUNFC STORE — Sistema de Diseño Global
   Paleta NFC · Dark Mode · Glassmorphism · Animations
   Compatible: Chrome 90+ / Firefox 88+ / Safari 14+
============================================================ */

/* ============================================================
   VARIABLES DE DISEÑO (Design Tokens)
============================================================ */
:root {
  /* Paleta tuNFC — E-Commerce Light Clean */
  --nfc-cyan: #10B981; /* Verde esmeralda vigoroso, excelente para conversión */
  --nfc-cyan-dim: rgba(16, 185, 129, 0.7);
  --nfc-cyan-glow: rgba(16, 185, 129, 0.08); /* Fondo muy sutil verde claro */
  --nfc-cyan-strong: rgba(16, 185, 129, 0.15);
  --nfc-cyan-border: rgba(16, 185, 129, 0.3);
  --nfc-bright: #059669; /* Hover para el primary */

  /* Superficies — Clean White Stack */
  --surface: #FFFFFF; /* Blanco puro de fondo general */
  --surface-low: #F9FAFB; /* Gris muy tenue para alternar secciones */
  --surface-container: #FFFFFF; /* Cajas siempre blancas */
  --surface-high: #F3F4F6; /* Bordes suaves o hover states */
  --surface-highest: #E5E7EB;
  --surface-glass: rgba(255, 255, 255, 0.92);
  --surface-variant: #F9FAFB;

  /* Texto — Alto Contraste para Mejor Legibilidad en Light Mode */
  --on-surface: #111827;      /* Texto principal carbón profundo */
  --on-surface-variant: #374151; /* Texto secundario nítido */
  --on-surface-dim: #6B7280;     /* Placeholder y metadata */
  --outline: #D1D5DB;
  --outline-variant: #E5E7EB;

  /* WhatsApp */
  --whatsapp: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.15);
  --whatsapp-dark: #1da851;

  /* Semáforo de estados */
  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;
  --info:    #3B82F6;

  /* Tipografía — Space Grotesk + Inter (Ajustada para legibilidad) */
  --font-display: 'Space Grotesk', 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Bordes */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Sombras — E-commerce Soft UI */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-cyan: 0 4px 6px -1px rgba(16, 185, 129, 0.15);
  --shadow-cyan-strong: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
  --shadow-emerald-aura: 0 4px 12px rgba(16, 185, 129, 0.2);

  /* Transiciones */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index layers */
  --z-topbar: 1000;
  --z-header: 900;
  --z-modal:  2000;
  --z-float:  800;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::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);
  background-color: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--nfc-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: #69F0AE; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, var(--nfc-bright) 0%, var(--nfc-cyan) 50%, #00A354 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
  background: var(--surface-highest); /* Fondo gris elegante */
  border-bottom: 1px solid var(--outline-variant);
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: var(--z-topbar);
}

.topbar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  gap: 12px;
}

.topbar__left { display: flex; align-items: center; gap: 6px; }
.topbar__left i { color: var(--nfc-cyan); font-size: 0.85rem; }

.topbar__whatsapp {
  color: #111827 !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  background: #FBBF24;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  white-space: nowrap;
  border: none;
  text-decoration: none;
}
.topbar__whatsapp:hover {
  color: #111827 !important;
  background: #F59E0B;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(251,191,36,0.4);
}
.topbar__whatsapp i { font-size: 0.95rem; color: #111827; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline-variant);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Redes sociales */
.header__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__social-link {
  color: var(--on-surface-variant);
  font-size: 1.1rem;
  transition: var(--transition);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
}

.header__social-link:hover {
  color: var(--nfc-cyan);
  border-color: var(--nfc-cyan-border);
  background: var(--nfc-cyan-glow);
  box-shadow: var(--shadow-cyan);
}

/* Logo */
.header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition);
  /* Filter eliminado para estilo más limpio */
}

.header__logo-img:hover {
  transform: scale(1.02);
}

/* Acciones derecha */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.header__btn-store {
  color: var(--on-surface-variant);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--nfc-cyan-border);
  transition: var(--transition);
}

.header__btn-store:hover {
  color: var(--nfc-cyan);
  background: var(--nfc-cyan-glow);
  box-shadow: var(--shadow-cyan);
}

.header__cart {
  position: relative;
  color: var(--on-surface);
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--nfc-cyan-border);
  transition: var(--transition);
  background: var(--nfc-cyan-glow);
}

.header__cart:hover {
  color: var(--nfc-cyan);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-1px);
}

.header__cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--nfc-cyan);
  color: var(--surface);
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badge-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Hamburguesa mobile */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--nfc-cyan-border);
}

.header__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--on-surface);
  border-radius: 2px;
  transition: var(--transition);
}

.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav móvil */
.header__mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--surface-high);
  gap: 2px;
}

.header__mobile-nav a {
  color: var(--on-surface-variant);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.header__mobile-nav a:hover {
  color: var(--nfc-cyan);
  background: var(--nfc-cyan-glow);
}

.header__mobile-nav.open { display: flex; }

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface); /* Fondo blanco 100% puro */
}

/* Gráfico de fondo opcional sutil, nada de oscuridad */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(16,185,129,0.03) 0%, transparent 40%);
}

/* Grid sutil para dar estilo tech limpio */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__container--centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
}

.hero__carousel-wrap {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  border: 1px solid var(--nfc-cyan-border);
  /* aspect-ratio removed to prevent cropping or extra space */
}

.hero__carousel-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background-color: var(--surface);
}

.hero__content { }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--nfc-cyan-glow);
  border: 1px solid var(--nfc-cyan-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nfc-cyan);
  margin-bottom: 24px;
  animation: fade-up 0.6s ease both;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--nfc-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,230,118,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,230,118,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--on-surface);
  margin-bottom: 20px;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--nfc-cyan) 0%, var(--nfc-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--on-surface-variant);
  max-width: 480px;
  margin-bottom: 36px;
  animation: fade-up 0.6s 0.2s ease both;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade-up 0.6s 0.3s ease both;
}

.hero__metrics {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__metric { text-align: center; }

.hero__metric-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--nfc-cyan);
}

.hero__metric-label {
  font-size: 0.75rem;
  color: var(--on-surface-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Animación fade-up reutilizable */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO VIDEO + 3D PARALLAX CARD
============================================================ */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 520px;
  perspective: 1200px;
  animation: fade-up 0.8s 0.4s ease both;
}

/* Video container */
.hero__video-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.12),
    0 0 80px rgba(16,185,129,0.08);
  border: 1px solid var(--outline-variant);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle gradient overlay on video */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 60%,
    rgba(255,255,255,0.3) 100%
  );
  pointer-events: none;
}

/* 3D Floating NFC Card */
.hero__parallax-card {
  position: absolute;
  bottom: 40px;
  right: -30px;
  z-index: 10;
  transition: transform 0.1s linear;
  /* Default parallax position — overridden by JS */
  --parallax-y: 0px;
  --parallax-rotate: -6deg;
  transform:
    translateY(var(--parallax-y))
    rotate(var(--parallax-rotate));
  animation: hero-card-entrance 1s 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes hero-card-entrance {
  from {
    opacity: 0;
    transform: translateY(80px) rotate(12deg) scale(0.7);
  }
  to {
    opacity: 1;
    transform: translateY(var(--parallax-y, 0px)) rotate(var(--parallax-rotate, -6deg)) scale(1);
  }
}

.hero__3d-card {
  width: 260px;
  height: 164px;
  transform-style: preserve-3d;
  animation: hero-card-float 5s ease-in-out infinite;
}

@keyframes hero-card-float {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-3deg); }
  25%      { transform: translateY(-8px) rotateX(0deg) rotateY(-1deg); }
  50%      { transform: translateY(-4px) rotateX(-2deg) rotateY(2deg); }
  75%      { transform: translateY(-12px) rotateX(1deg) rotateY(-2deg); }
}

.hero__3d-card-front {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111827 0%, #1F2937 50%, #111827 100%);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 25px 50px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
}

/* Holographic shimmer on card */
.hero__3d-card-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(16,185,129,0.06) 45%,
    rgba(16,185,129,0.12) 50%,
    rgba(16,185,129,0.06) 55%,
    transparent 70%
  );
  animation: card-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes card-shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

/* Card chip */
.hero__3d-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8960C 100%);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
}

.hero__3d-chip::after {
  content: '';
  position: absolute;
  inset: 25% 20%;
  border: 1.5px solid rgba(0,0,0,0.25);
  border-radius: 3px;
}

/* NFC icon */
.hero__3d-nfc-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(16,185,129,0.5);
  font-size: 1.2rem;
  transform: rotate(45deg);
  animation: nfc-icon-pulse 2.5s ease-in-out infinite;
}

@keyframes nfc-icon-pulse {
  0%, 100% { opacity: 0.4; transform: rotate(45deg) scale(1); }
  50%      { opacity: 0.8; transform: rotate(45deg) scale(1.15); }
}

/* Brand */
.hero__3d-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #10B981;
  text-shadow: 0 0 20px rgba(16,185,129,0.4);
  text-align: right;
}

/* Name */
.hero__3d-name {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Glow ring behind card */
.hero__card-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 28px;
  background: radial-gradient(
    ellipse at center,
    rgba(16,185,129,0.15) 0%,
    rgba(16,185,129,0.05) 50%,
    transparent 70%
  );
  z-index: -1;
  animation: glow-ring-pulse 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow-ring-pulse {
  0%   { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.08); }
}

/* Floating particles */
.hero__particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--nfc-cyan);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.hero__particle--1 {
  top: 15%; left: 10%;
  animation: particle-float 6s 0s ease-in-out infinite;
}
.hero__particle--2 {
  top: 70%; left: 85%;
  width: 4px; height: 4px;
  animation: particle-float 7s 1s ease-in-out infinite;
}
.hero__particle--3 {
  top: 30%; right: 5%;
  width: 8px; height: 8px;
  animation: particle-float 5s 2s ease-in-out infinite;
}
.hero__particle--4 {
  bottom: 20%; left: 30%;
  width: 3px; height: 3px;
  animation: particle-float 8s 0.5s ease-in-out infinite;
}
.hero__particle--5 {
  top: 50%; right: 20%;
  width: 5px; height: 5px;
  animation: particle-float 6.5s 1.5s ease-in-out infinite;
}

@keyframes particle-float {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20%      { opacity: 0.6; }
  50%      { opacity: 0.4; transform: translateY(-30px) scale(1); }
  80%      { opacity: 0.6; }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.hero__scroll-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--on-surface-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero__scroll-line {
  width: 2px;
  height: 40px;
  background: var(--outline-variant);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  position: absolute;
  top: -6px;
  left: -2px;
  width: 6px;
  height: 6px;
  background: var(--nfc-cyan);
  border-radius: 50%;
  animation: scroll-dot-travel 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
}

@keyframes scroll-dot-travel {
  0%   { top: -6px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

/* ============================================================
   BOTONES GLOBALES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--nfc-cyan);
  color: white;
  box-shadow: var(--shadow-cyan);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn--primary:hover {
  color: white;
  transform: translateY(-2px);
  background: var(--nfc-bright);
  box-shadow: var(--shadow-cyan-strong);
}

.btn--primary:active { transform: translateY(0); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: white !important;
  box-shadow: 0 4px 20px var(--whatsapp-glow);
}

.btn--whatsapp:hover {
  color: white !important;
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--nfc-cyan);
  border: 1px solid var(--nfc-cyan-border);
}

.btn--outline:hover {
  background: var(--nfc-cyan-glow);
  color: var(--nfc-cyan);
  border-color: var(--nfc-cyan);
  box-shadow: var(--shadow-cyan);
}

.btn--ghost {
  background: var(--surface-container);
  color: var(--on-surface);
  border: 1px solid var(--surface-high);
}

.btn--ghost:hover {
  background: var(--surface-high);
  color: var(--on-surface);
}

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   TARJETA NFC FLOTANTE (Hero visual)
============================================================ */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 480px;
}

.hero__card-nfc {
  width: 320px;
  height: 200px;
  background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
  border-radius: 20px;
  border: 1px solid var(--surface-high);
  box-shadow: var(--shadow-md);
  position: relative;
  animation: card-float 4s ease-in-out infinite;
  overflow: hidden;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}

.hero__card-nfc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,230,118,0.08) 0%,
    transparent 50%,
    rgba(0,230,118,0.04) 100%);
  border-radius: inherit;
}

/* Chip NFC simulado */
.card__chip {
  position: absolute;
  top: 30px;
  left: 28px;
  width: 48px;
  height: 38px;
  background: linear-gradient(135deg, #D4AF37, #B8960C, #FFD700);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.card__chip::after {
  content: '';
  position: absolute;
  inset: 25% 20%;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 3px;
}

/* Logo en tarjeta */
.card__brand {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--nfc-cyan);
  text-shadow: 0 0 12px rgba(0,230,118,0.5);
}

/* NFC tag label */
.card__nfc-tag {
  position: absolute;
  top: 52px;
  right: 28px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(0,230,118,0.4);
  text-transform: uppercase;
}

/* Señal NFC animada */
.card__nfc-waves {
  position: absolute;
  bottom: 30px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.card__nfc-wave {
  width: 3px;
  height: 3px;
  border: 1.5px solid var(--nfc-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: nfc-wave 1.6s ease-in-out infinite;
}

.card__nfc-wave:nth-child(1) { animation-delay: 0s; width: 8px; height: 8px; }
.card__nfc-wave:nth-child(2) { animation-delay: 0.2s; width: 16px; height: 16px; }
.card__nfc-wave:nth-child(3) { animation-delay: 0.4s; width: 24px; height: 24px; }

@keyframes nfc-wave {
  0%   { opacity: 0; transform: scale(0.8); }
  50%  { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.2); }
}

/* Nombre en tarjeta */
.card__name {
  position: absolute;
  bottom: 30px;
  left: 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Quitados los halos extra para un feeling más directo y corporativo */
.hero__card-glow { display:none; }

/* Esferas orbitando la tarjeta */
.hero__orbit {
  position: absolute;
  width: 400px;
  height: 300px;
  border: 1px solid rgba(0,230,118,0.06);
  border-radius: 50%;
  animation: orbit-rotate 12s linear infinite;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__orbit-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--nfc-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--nfc-cyan), 0 0 20px rgba(0,230,118,0.5);
  transform: translateX(-50%);
}

/* ============================================================
   SECCIÓN GENÉRICA (reutilizable)
============================================================ */
.section {
  padding: 80px 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nfc-cyan);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--on-surface-variant);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   BENEFITS SECTION (Envíos, Pago, WhatsApp)
============================================================ */
.section--benefits {
  background: var(--surface-low);
  border-top: 1px solid var(--surface-high);
  border-bottom: 1px solid var(--surface-high);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--nfc-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--nfc-cyan-border);
  background: var(--surface-high);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-6px);
}

.benefit-card:hover::before { opacity: 1; }

.benefit-card__icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 10px;
}

.benefit-card__text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ============================================================
   FLOW / ORDER PROCESS TIMELINE
============================================================ */
.section--flow {
  background: linear-gradient(135deg, rgba(0,230,118,0.03) 0%, transparent 100%);
}

.flow-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.flow-step__number {
  width: 36px;
  height: 36px;
  background: var(--nfc-cyan);
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 20px rgba(0,230,118,0.3);
}

.flow-step__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.flow-step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.flow-step__text {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

.flow-step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nfc-cyan);
  font-size: 1.2rem;
  opacity: 0.4;
  padding-top: 16px;
  flex-shrink: 0;
}

/* ============================================================
   INFINITE CAROUSEL
============================================================ */
.section--carousel {
  background: var(--surface-low);
  border-top: 1px solid var(--surface-high);
  border-bottom: 1px solid var(--surface-high);
}

.infinite-carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.infinite-carousel__track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.infinite-carousel__track--right {
  animation: scroll-right 40s linear infinite;
}

.infinite-carousel__track--left {
  animation: scroll-left 45s linear infinite;
}

@keyframes scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-left {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.infinite-carousel__slide {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-high);
  transition: var(--transition);
}

.infinite-carousel__slide:hover {
  border-color: var(--nfc-cyan-border);
  box-shadow: var(--shadow-cyan);
  transform: scale(1.03);
}

.infinite-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.infinite-carousel__slide:hover img {
  transform: scale(1.08);
}

/* pause animation on hover */
.infinite-carousel:hover .infinite-carousel__track {
  animation-play-state: paused;
}

/* ============================================================
   TOP 3 PRODUCTS
============================================================ */
.top-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-product-card {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.top-product-card:hover {
  border-color: var(--nfc-cyan-border);
  box-shadow: var(--shadow-cyan), var(--shadow-md);
  transform: translateY(-8px);
}

.top-product-card--featured {
  border-color: var(--nfc-cyan-border);
  box-shadow: 0 0 40px rgba(0,230,118,0.08);
}

.top-product-card--featured:hover {
  box-shadow: var(--shadow-cyan-strong), var(--shadow-lg);
}

.top-product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--on-surface);
  border: 1px solid var(--surface-high);
  letter-spacing: 0.03em;
}

.top-product-card__badge--featured {
  background: rgba(0,230,118,0.15);
  border-color: var(--nfc-cyan-border);
  color: var(--nfc-cyan);
}

.top-product-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-low);
}

.top-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.top-product-card:hover .top-product-card__image img {
  transform: scale(1.08);
}

.top-product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-product-card__category {
  font-size: 0.72rem;
  color: var(--nfc-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.top-product-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
}

.top-product-card__desc {
  font-size: 0.88rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  flex: 1;
}

.top-product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-high);
}

.top-product-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--nfc-cyan);
}

.top-product-card__currency {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--on-surface-dim);
}

/* ============================================================
   TARJETA DE PRODUCTO (tienda)
============================================================ */
.product-card {
  background: var(--surface-container);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-high);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--nfc-cyan-border);
  box-shadow: var(--shadow-cyan), var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface-low);
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image { transform: scale(1.06); }

/* Badges de producto */
.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge--new     { background: var(--nfc-cyan); color: var(--surface); }
.badge--sale    { background: var(--danger); color: white; }
.badge--hot     { background: #FF6B35; color: white; }

/* Botón de carrito overlay */
.product-card__cart-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(10,15,10,0.9));
  transform: translateY(100%);
  transition: var(--transition);
}

.product-card:hover .product-card__cart-overlay { transform: translateY(0); }

.product-card__info { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }

.product-card__category {
  font-size: 0.72rem;
  color: var(--nfc-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__prices {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nfc-cyan);
}

.product-card__price-original {
  font-size: 0.85rem;
  color: var(--on-surface-dim);
  text-decoration: line-through;
}

.product-card__actions {
  padding: 0 16px 16px;
  display: flex;
  gap: 8px;
}

/* ============================================================
   SWIPER — Carrusel de productos
============================================================ */
.productos-carousel {
  padding: 10px 0 30px;
}

.productos-carousel .swiper-pagination-bullet {
  background: var(--on-surface-dim);
  opacity: 1;
}

.productos-carousel .swiper-pagination-bullet-active {
  background: var(--nfc-cyan);
  box-shadow: 0 0 8px rgba(0,230,118,0.5);
}

/* ============================================================
   CARACTERÍSTICAS / FEATURES
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--nfc-cyan-border);
  background: var(--surface-high);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  background: var(--nfc-cyan-glow);
  border: 1px solid var(--nfc-cyan-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
  box-shadow: var(--shadow-cyan-strong);
  background: rgba(0,230,118,0.15);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ============================================================
   RESEÑAS
============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--nfc-cyan-border);
  box-shadow: var(--shadow-cyan);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--nfc-cyan), #0A8A3A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--surface);
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 600;
  color: var(--on-surface);
  font-size: 0.9rem;
}

.review-card__stars {
  color: #FFB13B;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--on-surface-dim);
  margin-top: 2px;
}

.review-card__text {
  font-size: 0.88rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  font-style: italic;
}

/* ============================================================
   SECCIÓN DE FONDO ESPECIAL (divider)
============================================================ */
.section--dark {
  background: var(--surface-low);
  border-top: 1px solid var(--surface-high);
  border-bottom: 1px solid var(--surface-high);
}

.section--cyan {
  background: linear-gradient(135deg, rgba(0,230,118,0.03) 0%, transparent 100%);
}

/* ============================================================
   TIENDA — Grid de productos
============================================================ */
.tienda-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Sidebar filtros */
.tienda-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar__card {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

.sidebar__title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--surface-high);
}

.sidebar__cat-link {
  display: block;
  padding: 8px 10px;
  color: var(--on-surface-variant);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sidebar__cat-link:hover,
.sidebar__cat-link.active {
  color: var(--nfc-cyan);
  background: var(--nfc-cyan-glow);
  padding-left: 14px;
}

/* Grid productos tienda */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* Toolbar tienda */
.tienda-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.tienda-toolbar__results {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
}

.tienda-toolbar select {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  color: var(--on-surface);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.tienda-toolbar select:focus {
  border-color: var(--nfc-cyan);
  outline: none;
}

/* Búsqueda tienda */
.busqueda-form {
  position: relative;
  margin-bottom: 20px;
}

.busqueda-form input {
  width: 100%;
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  color: var(--on-surface);
  padding: 12px 44px 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition);
}

.busqueda-form input:focus {
  border-color: var(--nfc-cyan);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.1);
  outline: none;
}

.busqueda-form input::placeholder { color: var(--on-surface-dim); }

.busqueda-form__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--on-surface-dim);
  font-size: 0.9rem;
}

/* ============================================================
   FORMULARIO CHECKOUT / CARRITO
============================================================ */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  margin-bottom: 7px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  color: var(--on-surface);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--nfc-cyan);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.1);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--on-surface-dim); }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   CARRITO
============================================================ */
.carrito-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.carrito-table {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.carrito-table table {
  width: 100%;
  border-collapse: collapse;
}

.carrito-table th {
  background: var(--surface-high);
  padding: 14px 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  text-align: left;
}

.carrito-table td {
  padding: 16px;
  border-top: 1px solid var(--surface-high);
  vertical-align: middle;
}

.carrito-table__product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.carrito-table__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--surface-low);
  flex-shrink: 0;
}

.carrito-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-md);
  padding: 4px;
  width: fit-content;
}

.carrito-qty__btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  color: var(--on-surface);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.carrito-qty__btn:hover { background: var(--nfc-cyan); color: var(--surface); }

.carrito-qty__input {
  width: 40px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--on-surface);
  font-size: 0.9rem;
  font-weight: 600;
}

.carrito-remove {
  color: var(--on-surface-dim);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
}
.carrito-remove:hover { color: var(--danger); }

/* Resumen del pedido */
.order-summary {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.order-summary__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface-high);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  margin-bottom: 10px;
}

.order-summary__total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--on-surface);
  border-top: 1px solid var(--surface-high);
  padding-top: 12px;
  margin-top: 6px;
}

.order-summary__price-cyan { color: var(--nfc-cyan); font-weight: 700; }

/* ============================================================
   BLOG
============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--nfc-cyan-border);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-3px);
}

.blog-card__image {
  aspect-ratio: 16/9;
  background: var(--surface-low);
  position: relative;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img { transform: scale(1.05); }

.blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__category {
  font-size: 0.72rem;
  color: var(--nfc-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card__date {
  font-size: 0.75rem;
  color: var(--on-surface-dim);
}

/* ============================================================
   PAGINACIÓN
============================================================ */
.paginacion {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.paginacion ul {
  display: flex;
  gap: 6px;
  align-items: center;
}

.paginacion li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  color: var(--on-surface-variant);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.paginacion li a:hover,
.paginacion li.activo a {
  background: var(--nfc-cyan-glow);
  border-color: var(--nfc-cyan);
  color: var(--nfc-cyan);
}

/* ============================================================
   WHATSAPP FLOTANTE
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-float);
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white !important;
  box-shadow: 0 4px 20px var(--whatsapp-glow), 0 8px 40px rgba(0,0,0,0.3);
  transition: var(--transition);
  animation: whatsapp-bounce 3s ease infinite;
}

.whatsapp-float:hover {
  color: white !important;
  transform: scale(1.12);
  box-shadow: 0 6px 30px var(--whatsapp-glow);
}

@keyframes whatsapp-bounce {
  0%, 90%, 100% { transform: scale(1); }
  95%            { transform: scale(1.06); }
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 66px;
  background: var(--surface-highest);
  color: var(--on-surface);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid var(--surface-high);
  box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--surface-low);
  border-top: 1px solid var(--surface-high);
  margin-top: 60px;
}

.footer__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer__col--brand .footer__logo-img {
  height: 38px;
  margin-bottom: 12px;
}

.footer__slogan {
  font-size: 0.88rem;
  color: var(--on-surface-variant);
  margin-bottom: 18px;
  line-height: 1.5;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__social a:hover {
  color: var(--nfc-cyan);
  border-color: var(--nfc-cyan-border);
  background: var(--nfc-cyan-glow);
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--on-surface-dim);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer__links a:hover { color: var(--nfc-cyan); padding-left: 4px; }

.footer__whatsapp { color: var(--whatsapp) !important; }
.footer__whatsapp:hover { color: #5de88f !important; }

.footer__payments-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-dim);
  margin-bottom: 8px;
  margin-top: 16px;
}

.footer__payments-icons { display: flex; flex-direction: column; gap: 6px; }

.footer__payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--on-surface-variant);
  width: fit-content;
}

.footer__bottom {
  border-top: 1px solid var(--surface-high);
  padding: 18px 20px;
}

.footer__bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--on-surface-dim);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__heart { color: #FF4560; animation: heart-beat 1.4s ease infinite; }

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.2); }
}

/* ============================================================
   PÁGINA DE AGRADECIMIENTO
============================================================ */
.gracias-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.gracias-card {
  background: var(--surface-container);
  border: 1px solid var(--nfc-cyan-border);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  text-align: center;
  max-width: 540px;
  box-shadow: var(--shadow-cyan), var(--shadow-lg);
}

.gracias-card__icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.gracias-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 12px;
}

.gracias-card__text {
  color: var(--on-surface-variant);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--on-surface-dim);
  padding: 16px 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.breadcrumb a {
  color: var(--on-surface-dim);
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--nfc-cyan); }
.breadcrumb__sep { color: var(--surface-highest); }
.breadcrumb__current { color: var(--on-surface-variant); }

/* ============================================================
   ADMIN PANEL — Base
============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--surface-low);
  border-right: 1px solid var(--surface-high);
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-backdrop {
  display: none;
}

.admin-sidebar__logo {
  padding: 24px 20px;
  border-bottom: 1px solid var(--surface-high);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-sidebar__logo img { height: 32px; }

.admin-sidebar__logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-surface);
}

.admin-sidebar__logo-sub {
  font-size: 0.65rem;
  color: var(--nfc-cyan);
  display: block;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav { padding: 16px 0; }

.admin-nav__section-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-surface-dim);
  padding: 8px 20px 4px;
}

.admin-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--on-surface-dim);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.admin-nav__link i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.admin-nav__link:hover {
  color: var(--on-surface);
  background: var(--surface-container);
  border-left-color: var(--surface-high);
}

.admin-nav__link.active {
  color: var(--nfc-cyan);
  background: var(--nfc-cyan-glow);
  border-left-color: var(--nfc-cyan);
}

/* Contenido admin */
.admin-content {
  background: var(--surface);
  overflow-y: auto;
}

.admin-topbar {
  background: var(--surface-low);
  border-bottom: 1px solid var(--surface-high);
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-surface);
}

.admin-topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--on-surface-variant);
}

.admin-topbar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nfc-cyan-glow);
  border: 1px solid var(--nfc-cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nfc-cyan);
  font-size: 0.85rem;
}

.admin-main { padding: 28px; }

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.kpi-card {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
}

.kpi-card:hover { border-color: var(--nfc-cyan-border); box-shadow: var(--shadow-cyan); }

.kpi-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-dim);
  margin-bottom: 8px;
}

.kpi-card__value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1;
  margin-bottom: 6px;
}

.kpi-card__sub {
  font-size: 0.78rem;
  color: var(--on-surface-dim);
}

.kpi-card__icon {
  float: right;
  font-size: 1.8rem;
  opacity: 0.15;
  margin-top: -40px;
}

.kpi-card--cyan  .kpi-card__value { color: var(--nfc-cyan); }
.kpi-card--green .kpi-card__value { color: var(--success); }
.kpi-card--warn  .kpi-card__value { color: var(--warning); }
.kpi-card--danger .kpi-card__value { color: var(--danger); }

/* Admin tabla */
.admin-table-wrap {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead th {
  background: var(--surface-high);
  padding: 12px 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-dim);
  text-align: left;
  font-weight: 600;
}

.admin-table tbody td {
  padding: 13px 16px;
  border-top: 1px solid var(--surface-high);
  font-size: 0.88rem;
  color: var(--on-surface-variant);
}

.admin-table tbody tr:hover { background: var(--surface-high); }

/* Badges de estado pedido */
.estado-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.estado-badge--pendiente  { background: rgba(255,177,59,0.15);  color: var(--warning); }
.estado-badge--pagado     { background: rgba(0,217,107,0.15);   color: var(--success); }
.estado-badge--preparando { background: rgba(0,207,255,0.15);   color: var(--info); }
.estado-badge--enviado    { background: rgba(100,100,255,0.15); color: #8888FF; }
.estado-badge--entregado  { background: rgba(0,217,107,0.2);    color: var(--success); }
.estado-badge--cancelado  { background: rgba(255,69,96,0.15);   color: var(--danger); }

/* ============================================================
   PLACEHOLDER SVG OVERLAY (cuando no hay imagen)
============================================================ */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-container), var(--surface-high));
  color: var(--on-surface-dim);
  font-size: 2.5rem;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
============================================================ */
@media (max-width: 1024px) {
  .tienda-layout { grid-template-columns: 200px 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer__container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__container { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin: 0 auto 36px; }
  .hero__ctas { justify-content: center; }
  .hero__metrics { justify-content: center; }
  .hero__visual { height: 420px; }
  .hero__video-wrap { max-width: 340px; }
  .hero__parallax-card { right: -20px; bottom: 30px; }
  .hero__3d-card { width: 220px; height: 138px; }
  .hero__3d-brand { font-size: 1.15rem; }
  .hero__3d-chip { width: 34px; height: 26px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .top-products-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-timeline { flex-wrap: wrap; gap: 20px; }
  .flow-step__connector { display: none; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
============================================================ */
@media (max-width: 768px) {
  .topbar__inner { font-size: 0.7rem; }
  .header__container { grid-template-columns: 1fr auto auto; gap: 10px; }
  .header__social { display: none; }
  .header__hamburger { display: flex; }
  .header__btn-store span { display: none; }

  .tienda-layout { grid-template-columns: 1fr; }
  .tienda-sidebar { position: relative; top: 0; }

  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .footer__container { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .carrito-layout { grid-template-columns: 1fr; }
  .form-grid-2    { grid-template-columns: 1fr; }

  /* Admin responsive — sidebar overlay */
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: none;
  }
  .admin-sidebar.open {
    left: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
  }
  .admin-sidebar-backdrop.open { display: block; }
  .admin-hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--surface-high);
    background: var(--surface-container);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--on-surface);
  }
  .admin-topbar { padding: 12px 16px; }
  .admin-topbar__title { font-size: 0.95rem; }
  .admin-main { padding: 16px; }
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table { min-width: 640px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .hero__visual { height: 380px; }
  .hero__video-wrap { max-width: 280px; }
  .hero__parallax-card { right: -10px; bottom: 20px; }
  .hero__3d-card { width: 190px; height: 120px; padding: 14px; }
  .hero__3d-brand { font-size: 1rem; }
  .hero__3d-chip { width: 28px; height: 20px; }
  .hero__3d-name { font-size: 0.5rem; }
  .hero__3d-nfc-icon { font-size: 0.9rem; }
  .hero__particle { display: none; }

  .gracias-card { padding: 32px 20px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .top-products-grid { grid-template-columns: 1fr; }
  .flow-timeline { flex-direction: column; align-items: center; }
  .flow-step__connector { display: none; }
  .infinite-carousel__slide { width: 220px; height: 160px; }

  /* Topbar mobile */
  .topbar__inner { font-size: 0.68rem; gap: 8px; }
  .topbar__left { font-size: 0.68rem; }
  .topbar__left i { font-size: 0.75rem; }
  .topbar__whatsapp { font-size: 0.68rem; padding: 3px 10px; }
}

/* Extra small */
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero__visual { height: 340px; }
  .hero__video-wrap { max-width: 240px; }
  .hero__parallax-card { right: -5px; bottom: 15px; }
  .hero__3d-card { width: 160px; height: 100px; }
  .hero__3d-brand { font-size: 0.85rem; }
  .hero__3d-chip { width: 22px; height: 16px; }
  .hero__scroll-indicator { bottom: 16px; }
}

/* ============================================================
   ANIMACIONES DE ENTRADA (Intersection Observer)
============================================================ */
.anim-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   CTA FINAL SECTION — Emerald Cipher Glow
============================================================ */
.section--cta-final {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,230,118,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--on-surface);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.cta-final__text {
  color: var(--on-surface-variant);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-final__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   GHOST BORDERS — No-Line Rule
   Section separators using tonal shifts, not 1px lines
============================================================ */
.section--benefits {
  background: var(--surface-low);
  border-top: none;
  border-bottom: none;
  position: relative;
}

.section--benefits::before,
.section--benefits::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--outline-variant), transparent);
  opacity: 0.3;
}

.section--benefits::before { top: 0; }
.section--benefits::after  { bottom: 0; }

.section--carousel {
  background: var(--surface-low);
  border-top: none;
  border-bottom: none;
  position: relative;
}

.section--carousel::before,
.section--carousel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--outline-variant), transparent);
  opacity: 0.3;
}

.section--carousel::before { top: 0; }
.section--carousel::after  { bottom: 0; }

/* ============================================================
   SELECTION COLOR
============================================================ */
::selection {
  background: rgba(0, 230, 118, 0.25);
  color: var(--on-surface);
}

::-moz-selection {
  background: rgba(0, 230, 118, 0.25);
  color: var(--on-surface);
}

/* ============================================================
   SCROLLBAR — Tech-Noir
============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--outline-variant);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nfc-cyan);
}

/* ============================================================
   LEGAL PAGES — Terms, Privacy, Shipping, Returns
============================================================ */
.legal-page {
  padding: 20px 0 40px;
}

.legal-page__updated {
  font-size: 0.82rem;
  color: var(--on-surface-dim);
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--surface-high);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  margin: 36px 0 14px;
  padding-top: 8px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul, .legal-content ol {
  color: var(--on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content li ul {
  margin-top: 8px;
  margin-bottom: 0;
}

.legal-content a {
  color: var(--nfc-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--nfc-cyan-hover);
}

.legal-content strong {
  color: var(--on-surface);
}

.legal-content em {
  color: var(--on-surface-dim);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0 20px;
}

.legal-table thead th {
  background: var(--surface-high);
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--on-surface);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-table tbody td {
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  border-top: 1px solid var(--surface-high);
}

.legal-table tbody tr:hover {
  background: var(--surface-high);
}

/* Admin hamburger hidden by default on desktop */
.admin-hamburger {
  display: none;
}

/* ============================================================
   MOBILE RESPONSIVENESS (HERO FULLSCREEN)
============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 0 0 30px;
    min-height: auto;
    display: block;
  }
  .hero__container {
    padding: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero__carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    z-index: 1;
    aspect-ratio: auto;
  }
  .hero__carousel-img {
    object-fit: contain;
    height: auto;
    width: 100%;
    display: block;
  }
  .hero__content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    background: none;
    text-align: center;
  }
  .hero__title {
    color: var(--on-surface);
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  .hero__title-accent {
    background: linear-gradient(135deg, var(--nfc-cyan) 0%, var(--nfc-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero__subtitle {
    color: var(--on-surface-variant);
    font-size: 1rem;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__badge {
    background: var(--nfc-cyan-glow);
    color: var(--nfc-cyan);
    border-color: var(--nfc-cyan-border);
    align-self: center;
    margin: 0 auto 24px auto;
  }
  .hero__ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__security {
    color: var(--on-surface-dim) !important;
    justify-content: center;
    margin-top: 15px;
  }
  .hero__metrics {
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
  }
  .hero__metric-label {
    color: var(--on-surface-dim);
  }
  .hero__metric-value {
    color: var(--nfc-cyan);
  }
}

/* ============================================================
   CARRITO DE COMPRAS
============================================================ */
.carrito-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
}

@media (max-width: 992px) {
  .carrito-layout {
    grid-template-columns: 1fr;
  }
}

.carrito-table {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
}

.carrito-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.carrito-table th {
  background: var(--surface-low);
  padding: 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  border-bottom: 1px solid var(--surface-high);
}

.carrito-table td {
  padding: 16px;
  border-bottom: 1px solid var(--surface-high);
  vertical-align: middle;
}

.carrito-table__product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carrito-table__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
}

.carrito-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
  background: var(--surface-low);
}

.carrito-qty__btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  cursor: pointer;
  transition: var(--transition);
}

.carrito-qty__btn:hover {
  background: var(--surface-high);
}

.carrito-qty__input {
  width: 40px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--on-surface);
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}

.carrito-qty__input::-webkit-outer-spin-button,
.carrito-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.carrito-remove {
  background: rgba(255,69,96,0.1);
  color: var(--danger);
  border: 1px solid rgba(255,69,96,0.2);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrito-remove:hover {
  background: rgba(255,69,96,0.2);
}

.order-summary {
  background: var(--surface-container);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.order-summary__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--surface-high);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--on-surface-variant);
  font-size: 0.95rem;
}

.order-summary__total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-high);
  color: var(--on-surface);
  font-weight: 700;
  font-size: 1.1rem;
}

.order-summary__price-cyan {
  color: var(--nfc-cyan);
  font-size: 1.4rem;
}
