/**
 * Verde Encanto — Hero Premium · Cinema Edition
 * Full-screen cinematográfico con viñeta multicapa, badge con shimmer dorado,
 * tipografía imponente, stats glass-morphism y scroll indicator refinado
 * Optimizado para escritorio · 1440px+ con escalado fluido
 *
 * Estructura: Slider → Overlay → Contenido → Stats → Scroll
 * Animaciones: Crossfade (fondos), Shimmer (badge/buttons), Pulse (stats)
 */

.ve-hero-main {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 2rem 30px;
  overflow: hidden;
  isolation: isolate;
}

/* ── Textura de ruido + viñeta base (solo desktop) ── */
@media (min-width: 1024px) {
  .ve-hero-main {
    min-height: 600px;
    /* Altura mínima garantizada para pantallas grandes */
    min-height: max(600px, 70vh);
    padding: 35px 2rem 30px;
  }
  
  /* 
   * Ruido cinematográfico de triple capa:
   * 1. Film grain sutil (textura analógica)
   * 2. Viñeta radial oscura (foco al centro)
   * 3. Gradiente direccional (profundidad)
   */
  .ve-hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Triple capa de profundidad */
    background:
      /* Capa 1: Film grain */
      url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
      /* Capa 2: Viñeta radial — esquinas profundamente oscuras */
      radial-gradient(ellipse at 50% 35%, transparent 25%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.55) 80%, rgba(0,0,0,.75) 100%),
      /* Capa 3: Gradiente direccional sutil */
      linear-gradient(185deg, rgba(0,0,0,.05) 0%, transparent 30%, rgba(0,0,0,.1) 70%, rgba(0,0,0,.3) 100%);
    background-size: 256px 256px, 100% 100%, 100% 100%;
    pointer-events: none;
    opacity: 1;
  }
}

/* ── Slider de fondos con crossfade ── */
.ve-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ve-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
  will-change: opacity, transform;
}

.ve-hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
}

.ve-hero-main:hover .ve-hero-slide.active {
  transform: scale(0.98);
}

/* ── Hero 背景增强 — 添加青绿色调增加视觉层次 ── */
.ve-hero-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 0%,
    rgba(27, 94, 32, 0.08) 40%,
    rgba(212, 175, 55, 0.05) 60%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Dots de navegación ── */
.ve-hero-slider-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.ve-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  transition: all .35s ease;
  padding: 0;
  outline: none;
}

.ve-hero-dot:hover {
  border-color: #D4AF37;
  background: rgba(212,175,55,.25);
}

.ve-hero-dot.active {
  background: #D4AF37;
  border-color: #D4AF37;
  box-shadow: 0 0 12px rgba(212,175,55,.5);
  transform: scale(1.2);
}

/* ── Overlay cinematográfico multicapa ── */
.ve-hero-main-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg,
      rgba(5,18,7,.25) 0%,
      rgba(8,24,12,.45) 30%,
      rgba(5,18,7,.55) 60%,
      rgba(3,12,5,.68) 100%
    );
  z-index: 1;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

@media (min-width: 1024px) {
  .ve-hero-main-overlay {
    background: 
      /* Viñeta radial profunda — foco central iluminado, bordes intensamente oscuros */
      radial-gradient(ellipse at 50% 30%, 
        rgba(5,18,7,0) 0%, 
        rgba(3,12,5,.30) 45%, 
        rgba(2,8,3,.58) 75%,
        rgba(1,4,2,.80) 100%
      ),
      /* Segunda viñeta más cerrada para foco dramático tipo spotlight */
      radial-gradient(ellipse at 50% 28%, 
        rgba(255,255,255,.04) 0%, 
        rgba(255,255,255,.01) 20%,
        transparent 45%
      ),
      /* Gradiente direccional refinado con toque cálido */
      linear-gradient(
        175deg,
        rgba(3,12,5,.12) 0%,
        rgba(6,20,10,.25) 20%,
        rgba(8,24,13,.35) 40%,
        rgba(5,18,7,.45) 60%,
        rgba(3,12,5,.55) 80%,
        rgba(2,8,3,.72) 100%
      ),
      /* Cuarta capa: viñeta inferior más oscura para anclar el contenido */
      linear-gradient(
        to top,
        rgba(0,0,0,.35) 0%,
        rgba(0,0,0,.15) 30%,
        transparent 50%
      );
    backdrop-filter: blur(2.5px) saturate(1.15) brightness(1.02);
    -webkit-backdrop-filter: blur(2.5px) saturate(1.15) brightness(1.02);
  }
  
  /* 
   * Línea decorativa dorada horizontal — separa visualmente 
   * el título del resto del contenido, añade un toque de lujo
   */
  .ve-hero-main-overlay::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 56%;
    transform: translateX(-50%);
    width: min(380px, 28vw);
    height: 1px;
    background: linear-gradient(90deg,
      transparent,
      rgba(212,175,55,.15) 8%,
      rgba(244,228,188,.35) 35%,
      rgba(255,255,255,.15) 50%,
      rgba(244,228,188,.35) 65%,
      rgba(212,175,55,.15) 92%,
      transparent
    );
    pointer-events: none;
  }
}

/* ── Contenido ── */
.ve-hero-main-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

@media (min-width: 1024px) {
  .ve-hero-main-content {
    max-width: 960px;
    /* Sutil elevación para separar del fondo */
    transform: translateZ(0);
  }
}

/* ── Badge superior ── */
.ve-hero-main-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(212,175,55,.12);
  border: 1.5px solid rgba(212,175,55,.5);
  color: #F4E4BC;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: .45rem 1.4rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 
    0 8px 32px rgba(212,175,55,.15), 
    inset 0 1px 0 rgba(255,255,255,.08);
  animation: heroBadgeShimmer 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.ve-hero-main-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255,255,255,.12) 0%,
    transparent 50%
  );
  animation: badgeLightSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badgeLightSweep {
  0%, 100% { transform: translateX(-30%) rotate(-30deg); opacity: 0; }
  50% { transform: translateX(30%) rotate(-30deg); opacity: 1; }
}

@keyframes heroBadgeShimmer {
  0%, 100% { 
    box-shadow: 0 8px 32px rgba(212,175,55,.15), inset 0 1px 0 rgba(255,255,255,.08); 
    border-color: rgba(212,175,55,.5);
  }
  50% { 
    box-shadow: 0 12px 40px rgba(212,175,55,.30), inset 0 1px 0 rgba(255,255,255,.15); 
    border-color: rgba(212,175,55,.75);
  }
}

@media (min-width: 1024px) {
  .ve-hero-main-badge {
    font-size: .72rem;
    letter-spacing: 5px;
    padding: .65rem 2.4rem;
    margin-bottom: 3.25rem;
    border-width: 1.5px;
    border-color: rgba(212,175,55,.35);
    backdrop-filter: blur(30px) saturate(2);
    -webkit-backdrop-filter: blur(30px) saturate(2);
    background: rgba(212,175,55,.08);
    box-shadow: 
      0 12px 50px rgba(212,175,55,.15), 
      0 2px 12px rgba(0,0,0,.2),
      inset 0 1px 0 rgba(255,255,255,.1);
    animation: none;
  }
  .ve-hero-main-badge::before {
    animation: badgeLightSweep 6s ease-in-out infinite;
  }
}

/* ── Título ── */
.ve-hero-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-shadow: 
    0 4px 40px rgba(0,0,0,.5), 
    0 0 80px rgba(212,175,55,.12);
  text-align: center;
  letter-spacing: -0.5px;
  max-width: 700px;
}

.ve-hero-main-title .accent {
  color: #D4AF37;
  font-style: italic;
  display: inline;
  background: linear-gradient(180deg, #F4E4BC 0%, #D4AF37 40%, #B8941F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 4px 30px rgba(212,175,55,.4));
}

@media (min-width: 1024px) {
  .ve-hero-main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    margin: 0 0 1.8rem;
    letter-spacing: -1px;
    line-height: 1.08;
    max-width: 900px;
    font-weight: 900;
    text-shadow: 
      0 8px 100px rgba(0,0,0,.7), 
      0 0 160px rgba(212,175,55,.15),
      0 0 300px rgba(212,175,55,.05),
      0 2px 0 rgba(255,255,255,.02),
      0 4px 0 rgba(0,0,0,.3);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .ve-hero-main-title .accent {
    filter: drop-shadow(0 8px 60px rgba(212,175,55,.6));
    letter-spacing: -1.5px;
    font-weight: 900;
  }
}

/* ── Descripción ── */
.ve-hero-main-desc {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  font-weight: 300;
}

@media (min-width: 1024px) {
  .ve-hero-main-desc {
    font-size: 1.25rem;
    max-width: 600px;
    line-height: 1.9;
    margin-bottom: 3.25rem;
    color: rgba(255,255,255,.92);
    font-weight: 300;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 30px rgba(0,0,0,.35);
  }
}

/* ── Botones ── */
.ve-hero-main-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.ve-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, #D4AF37 0%, #F4E4BC 45%, #B8941F 100%);
  background-size: 200% 200%;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.6rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all .45s cubic-bezier(.19,1,.22,1);
  box-shadow: 
    0 10px 40px rgba(212,175,55,.4), 
    inset 0 1px 0 rgba(255,255,255,.35);
  animation: heroGradientShift 4s ease infinite;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.ve-hero-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255,255,255,.3) 0%,
    transparent 60%
  );
  animation: buttonGloss 3s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ve-hero-btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 18px 50px rgba(212,175,55,.55), 
    inset 0 1px 0 rgba(255,255,255,.45);
  color: #1a1a1a;
}

.ve-hero-btn-primary:active {
  transform: translateY(-1px) scale(.99);
}

.ve-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: .95rem 2.2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.45);
  text-decoration: none;
  transition: all .45s cubic-bezier(.19,1,.22,1);
  backdrop-filter: blur(15px) saturate(1.5);
  -webkit-backdrop-filter: blur(15px) saturate(1.5);
  box-shadow: 
    0 8px 32px rgba(0,0,0,.2), 
    inset 0 1px 0 rgba(255,255,255,.1);
  letter-spacing: 0.2px;
}

.ve-hero-btn-secondary:hover {
  border-color: #D4AF37;
  color: #F4E4BC;
  background: rgba(212,175,55,.12);
  backdrop-filter: blur(20px) saturate(2);
  -webkit-backdrop-filter: blur(20px) saturate(2);
  transform: translateY(-4px);
  box-shadow: 
    0 14px 40px rgba(212,175,55,.2), 
    inset 0 1px 0 rgba(255,255,255,.15);
}

.ve-hero-btn-secondary:active {
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  .ve-hero-main-actions {
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  
  .ve-hero-btn-primary {
    font-size: 1.1rem;
    padding: 1.15rem 3.25rem;
    letter-spacing: 0.5px;
  }
  
  .ve-hero-btn-secondary {
    font-size: 1.1rem;
    padding: 1.1rem 2.6rem;
    letter-spacing: 0.3px;
  }
}

/* ── Stats ── */
.ve-hero-main-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.ve-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.ve-hero-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #D4AF37;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(212,175,55,.3);
}

.ve-hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .ve-hero-main-stats {
    gap: 3rem;
    margin-top: 1.5rem;
  }
  
  .ve-hero-stat-num {
    font-size: 1.75rem;
  }
  
  .ve-hero-stat-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
}

/* ── HERO TWO-COLUMN LAYOUT ── */
.ve-hero-two-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  gap: 3rem;
}

/* Columna izquierda: texto */
.ve-hero-text-col {
  flex: 0 0 55%;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.ve-hero-text-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Columna derecha: imagen + carrusel */
.ve-hero-visual-col {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Imagen esmeralda */
.ve-hero-emerald-img-wrap {
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ve-hero-emerald-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
  animation: emeraldFloat 4s ease-in-out infinite;
}

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

/* Carrusel de productos en el hero (uno a la vez) */
.ve-hero-product-carousel {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  position: relative;
}

.ve-product-carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.ve-product-carousel-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.ve-product-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ve-carousel-product-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  max-width: 340px;
  margin: 0 auto;
}

.ve-carousel-product-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: rgba(0,0,0,.2);
}

.ve-carousel-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.ve-carousel-product-img:hover img {
  transform: scale(1.05);
}

.ve-carousel-product-info {
  padding: 1.1rem;
  text-align: center;
}

.ve-carousel-product-cat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.6);
  margin-bottom: .5rem;
}

.ve-carousel-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: .55rem;
}

.ve-carousel-product-name a {
  color: #fff;
  text-decoration: none;
}

.ve-carousel-product-price {
  color: #D4AF37;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .65rem;
}

.ve-carousel-product-btn {
  display: inline-block;
  padding: .6rem 1.4rem;
  background: rgba(212,175,55,.2);
  border: 1px solid rgba(212,175,55,.5);
  color: #F4E4BC;
  border-radius: 50px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  transition: all .3s ease;
}

.ve-carousel-product-btn:hover {
  background: rgba(212,175,55,.35);
  transform: translateY(-2px);
}

.ve-product-carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}

.ve-product-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}

.ve-product-carousel-dot.active,
.ve-product-carousel-dot:hover {
  background: #D4AF37;
  transform: scale(1.3);
}


/* ── Responsive HERO TWO-COLUMN ── */
@media (max-width: 1024px) {
  .ve-hero-two-col {
  position: relative;
  z-index: 2;
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }
  
  .ve-hero-text-col {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  
  .ve-hero-visual-col {
    flex: 0 0 100%;
    max-width: 100%;
    align-items: center;
  }
  
  .ve-hero-emerald-img-wrap {
    max-width: 300px;
  }
  
  .ve-hero-emerald-img {
    max-height: 300px;
  }
  
  .ve-hero-product-carousel {
    max-width: 100%;
  }

  /* El carrusel real usa la clase .ve-product-carousel: contenerlo a la
     column para evitar el desborde horizontal en móvil (859px de track). */
  .ve-product-carousel {
    max-width: 100%;
    overflow: hidden;
  }

  /* Items de flexbox del hero: min-width:0 permite que el track del
     carrusel se contraiga con la columna en vez de forzar su ancho
     intrínseco (fix estándar de overflow en flex). */
  .ve-hero-text-col,
  .ve-hero-visual-col {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .ve-hero-main {
    min-height: auto;
    padding: 2rem 1rem;
  }
  
  .ve-hero-two-col {
  position: relative;
  z-index: 2;
    padding: 2rem 1rem;
  }
  
  .ve-hero-emerald-img-wrap {
    max-width: 240px;
  }
  
  .ve-hero-emerald-img {
    max-height: 240px;
  }
  
  .ve-hero-main-stats {
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 100%;
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .ve-hero-emerald-img,
  .ve-chain {
    animation: none;
  }
  .ve-product-carousel-slide {
    transition: none;
  }
}

/* Botón de pausa del carrusel */
.ve-carousel-pause-btn {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s ease;
  padding: 0;
}

.ve-carousel-pause-btn:hover,
.ve-carousel-pause-btn:focus {
  background: rgba(212,175,55,.6);
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

.ve-carousel-pause-btn svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

/* Esmeralda como fondo detrás del contenido */
.ve-product-carousel-small {
  width: 100%;
  max-width: 320px;
}

.ve-product-carousel-small .ve-carousel-product-img {
  aspect-ratio: 4/3;
}

.ve-product-carousel-small .ve-carousel-product-name {
  font-size: 0.95rem;
}

.ve-product-carousel-small .ve-carousel-product-price {
  font-size: 1rem;
}

.ve-product-carousel-small .ve-carousel-product-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Esmeralda como fondo del hero (detrás de todo el contenido) */
.ve-hero-emerald-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ve-hero-emerald-img {
  width: 90%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.25));
  animation: emeraldFloat 4s ease-in-out infinite;
  opacity: 0.9;
}

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

/* Carrusel pequeño en hero */
.ve-product-carousel-small {
  width: 100%;
  max-width: 340px;
}

.ve-product-carousel-small .ve-carousel-product-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}

.ve-product-carousel-small .ve-carousel-product-img {
  aspect-ratio: 4/3;
}

.ve-product-carousel-small .ve-carousel-product-name {
  font-size: 0.9rem;
  line-height: 1.3;
}

.ve-product-carousel-small .ve-carousel-product-price {
  font-size: 1rem;
}

.ve-product-carousel-small .ve-carousel-product-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

/* ── Cadenas decorativas grandes conectadas a la esmeralda ── */
.ve-hero-emerald-chains {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.ve-chain {
  transform-origin: top center;
}

.ve-chain--gold {
  transform: translate(50px, -20px);
  animation: chainSwayGold 4s ease-in-out infinite;
}

.ve-chain--silver {
  transform: translate(550px, -10px);
  animation: chainSwaySilver 4.5s ease-in-out infinite;
}

.ve-chain__main {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.ve-chain--gold .ve-chain__main {
  stroke: url(#goldGradient);
  filter: drop-shadow(0 3px 6px rgba(212,175,55,0.6));
}

.ve-chain--silver .ve-chain__main {
  stroke: url(#silverGradient);
  filter: drop-shadow(0 3px 6px rgba(192,192,192,0.6));
}

.ve-chain__loop {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.ve-chain--gold .ve-chain__loop {
  stroke: url(#goldGradient);
  filter: drop-shadow(0 2px 4px rgba(212,175,55,0.5));
}

.ve-chain--silver .ve-chain__loop {
  stroke: url(#silverGradient);
  filter: drop-shadow(0 2px 4px rgba(192,192,192,0.5));
}

.ve-chain__connector {
  stroke-width: 3;
}

.ve-chain--gold .ve-chain__connector {
  stroke: url(#goldGradient);
}

.ve-chain--silver .ve-chain__connector {
  stroke: url(#silverGradient);
}

@keyframes chainSwayGold {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes chainSwaySilver {
  0%, 100% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
}

/* ── Video de fondo hero ── */
.ve-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Fondo temporal de esmeralda con gradiente */
.ve-hero-emerald-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
