/* ===================== THEME (MORADO/LILA) ===================== */
:root{
  --lt-bg1: #1c0f2a;
  --lt-bg2: #10071a;
  --lt-bg3: #0b0512;
  --lt-border: #9b5de5;
  --lt-accent: #b164f7;
  --lt-accent-2: #d8b6ff;
  --lt-text: #f3e9ff;
  --lt-text-dim: #d6c5ff;
  --lt-black: #000;
  --lt-white: #fff;
}

/* ===== Reset & Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }           /* asegúrate de tenerlo */
body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--lt-text, #fff);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(28,15,42,.18) 0%, rgba(16,7,26,.18) 60%, rgba(11,5,18,.18) 100%),
    url('assets/img/background-artwork.png') center center / cover fixed no-repeat;
  background-color: #0b0512;
}



/* ===================== HEADER (más pequeño + shrink) ===================== */
.header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;  /* debajo del backdrop del carrito (10005) */
  display:flex; align-items:center; justify-content:space-between;
  padding: 8px 16px;
  background: rgba(10,3,20,.88);             /* más sólido para que no “se pierda” */
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(155,93,229,.35);
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
  transition: padding .2s ease, background .2s ease, box-shadow .2s;
}
.header.is-shrink{
  padding: 6px 14px;
  background: rgba(10,3,20,.95);             /* aún más sólido al encoger */
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
}

.logo{ height: 34px; width:auto; display:block; }
.header.is-shrink .logo{ height: 26px; }

.main-nav ul{ margin:0; padding:0; list-style:none; display:flex; gap:18px; align-items:center; }
.main-nav a{
  color: var(--lt-text); text-decoration:none; font-weight:700; letter-spacing:.2px;
  padding:10px 0; line-height:1; transition: transform .15s, color .15s;
}
.main-nav a:hover{ color: var(--lt-accent); transform: translateY(-1px) scale(1.04); }

/* ===== Carrusel: botones bonitos + zonas grandes sin tocar tu JS ===== */
.carousel{
  position: relative;
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  margin-top: 8px;
  overflow: hidden;
}

/* Las imágenes del carrusel deben ajustarse al contenedor sin desbordar */
.carousel img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,.55));
}



/* Cada botón es ahora una ZONA grande (pero el círculo visible queda en el borde) */
.carousel-btn{
  position: absolute; top: 0; bottom: 0;
  width: 36%;                     /* ← lado izquierdo y derecho “grandes” */
  padding: 0; margin: 0;
  border: none; background: transparent;
  cursor: pointer;
  z-index: 6;                     /* por encima de las imágenes */
  color: transparent;             /* oculta cualquier texto que tenga el botón */
}
.carousel-btn.left  { left: 0; }
.carousel-btn.right { right: 0; }



/* Responsive: zonas más amplias y círculo un pelín menor en móvil */
@media (max-width: 640px){
  .carousel-btn{ width: 45%; }         /* deja ~10% de zona “neutra” al centro */
  .carousel-btn::after{ width: 44px; height: 44px; }
  .carousel-btn::before{ font-size: 24px; line-height: 44px; }
}


/* Divider */
.section-divider{ border:none; border-top:2px solid var(--lt-accent); margin:24px 0; width:100%; }

/* ===================== TARJETAS/CONTENEDORES (estética carrito) ===================== */
.overlay-card,
.product-card,
.cta-box,
.teamtap-box{
  background: radial-gradient(120% 120% at 20% 10%, rgba(28,15,42,.85) 0%, rgba(16,7,26,.85) 60%, rgba(11,5,18,.85) 100%);
  border: 1px solid rgba(155,93,229,.45);
  border-radius: 14px;
  color: var(--lt-text);
}

.glow-card:hover{ transform: translateY(-2px) scale(1.02); box-shadow: 0 0 14px var(--lt-accent); }

/* ===================== ¿Quién es Lady Tap? ===================== */
.overlay-card{ margin: 0 16px; padding: 18px; }
.lady-tap-container{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:nowrap; }
.lady-tap-texto{ flex:1; text-align:left; }
.lady-tap-title{ font-family:'Russo One', sans-serif; color: var(--lt-accent); font-size: clamp(20px, 3.2vw, 30px); margin:0 0 8px; }
.lady-tap-text{ color: var(--lt-text-dim); font-size: clamp(14px, 1.8vw, 17px); margin:0; line-height:1.6; }
.lady-tap-img{ flex:0 0 auto; }
.lady-tap-photo{ max-width: min(240px, 28vw); height:auto; display:block; }

/* ===================== CTA (TC, Premium, TeamTap) ===================== */
.cta-section{ padding: 24px 16px; }
.cta-container{ display:grid; gap:16px; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); max-width:980px; margin:0 auto; }
.cta-box{ padding:16px; text-decoration:none; transition: transform .2s, box-shadow .2s; min-height:160px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.cta-box img{ width:100%; max-height:110px; object-fit:contain; }
.cta-box span{ margin-top:10px; font-family:'Russo One', sans-serif; color: var(--lt-accent); font-size:1rem; text-align:center; }

/* ===== Catálogo TIBIACOINS — compacto, centrado y bonito ===== */
.shop-section{
  margin: 92px auto 32px;
  max-width: 1100px;
  padding: 0 16px;
  text-align: center;
}

.section-title{
  text-align: center;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 16px;
  font-weight: 800;
}

/* Grid de productos — columnas más anchas en escritorio */
.tc-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* antes 130px */
  gap: 30px;
  place-items: center;
}

/* Tarjeta (sin tope de ancho para que llene su columna) */
.product-card{
  width:100%;
  max-width:none;  /* antes 160px */
  padding:2px;
  text-align:center;
  border-radius:14px;
  background: radial-gradient(120% 120% at 20% 10%, rgba(28,15,42,.85) 0%, rgba(16,7,26,.85) 60%, rgba(11,5,18,.85) 100%);
  border:1px solid rgba(155,93,229,.45);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.product-card:hover{
  transform: translateY(-2px) scale(1.02);
  border-color: var(--lt-accent, #b164f7);
  box-shadow: 0 0 12px rgba(177,100,247,.35);
}

/* Tarjeta cuadrada — tamaños para ESCRITORIO */
.box-square{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: grid;
  /* img / (espacio) / qty / precio / botón  */
  grid-template-rows: 140px auto 36px auto 44px; 
  align-items: center;
  justify-items: center;
  row-gap: 8px;                                  /* ↑ antes: 4px */
}



/* ——— Imagen y título compactos ——— */
.product-img{
  width:100%;
  height:100%;
  max-height:none;                  /* la altura ya la marca la fila (52px) */
  object-fit:contain;
}

.tc-title{
  max-width:92%;
  font-weight:800;
  font-size:.78rem;                 /* ↓ más chico */
  line-height:1.12;
  color: var(--lt-accent, #b164f7);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;             /* máx 2 líneas */
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-align:center;
}


/* Pastilla (− 0 +) para ESCRITORIO */
.qty-field{
  display: grid;
  grid-template-columns: 30px 54px 30px; /* − | input | +  (antes 24|34|24) */
  align-items: center;
  justify-items: center;
  height: 36px;                          /* ↑ antes 24px */
  margin: 4px auto 4px;
  border-radius: 999px;
  border: 1px solid var(--lt-border, #9b5de5);
  background: #140a24;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.btn-qty{
  width: 100%; height: 100%;
  border: 0; background: transparent; color: #fff;
  font-size: 16px; font-weight: 900; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  transition: background .12s, filter .12s;
}
.tc-qty{
  width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff; font-weight: 800;
  font-size: .95rem;                         /* ↑ antes .78rem */
  text-align: center; line-height: 36px;     /* ↑ antes 24px */
  appearance: textfield; -moz-appearance: textfield;
}
.tc-qty:focus{ outline: none; }
.tc-qty::-webkit-outer-spin-button,
.tc-qty::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }

/* Precio y botón — ESCRITORIO */
.price-total{
  margin:0;
  font-size:.95rem;                           /* ↑ antes .75rem */
  color: var(--lt-text-dim, #d6c5ff);
}
.add-btn.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: none;
  white-space: nowrap;
  padding: 8px 14px;                          /* ↑ antes 4px 10px */
  font-size: .9rem;                           /* ↑ antes .75rem */
  font-weight: 800;
  letter-spacing: .2px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg,#7a2bd6,#a559f1);
  color: #fff;
  margin: 4px auto 0;
  box-shadow: 0 4px 12px rgba(122,43,214,.22), inset 0 1px 0 rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.add-btn.btn:hover:not([disabled]){
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(122,43,214,.28), inset 0 1px 0 rgba(255,255,255,1);
}



/* Opcional: en pantallas muy pequeñas, aún más compacto */
@media (max-width: 480px){
  .product-card{ max-width:140px; padding:6px; }
  .box-square{
    grid-template-rows: 46px auto 22px auto 28px; /* menos alto por fila */
  }
  .tc-title{ font-size:.74rem; }
  .qty-field{
    max-width:110px;
    grid-template-columns:22px 28px 22px;
    height:22px;
  }
  .tc-qty{ font-size:.74rem; line-height:22px; }
  .price-total{ font-size:.72rem; }
  .add-btn.btn{ min-width:78px; height:28px; font-size:.7rem; padding:3px 6px; }
}



/* Responsive: grillas más densas en pantallas chicas */
@media (max-width: 640px){
  .tc-grid{ grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
  .product-card{ max-width: 150px; padding: 9px; }
  .product-img{ max-height: 64px; }
}


/* ===================== TEAMTAP (cuadrado y pequeño) ===================== */
.teamtap{ margin: 92px auto 32px; max-width:1200px; padding:0 16px; }
.teamtap-title{ text-align:center; color: var(--lt-accent); font-family:'Russo One', sans-serif; margin:0 0 14px; }
.teamtap-grid{
  display:grid;
  gap:30px;
  /* En escritorio queremos “como móvil” pero grande */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items:center;
}

/* Card de TeamTap: misma estructura visual que tienda pero cuadrada */
.teamtap-box{
  width:100%;
  max-width:none;             /* sin límite en escritorio */
  aspect-ratio: 1 / 1;
  padding:2px;
  display:grid;               /* grid para ordenar verticalmente */
  grid-template-rows: 140px 1fr auto;  /* logo / nombre (crece) / redes */
  align-content:space-between;
  justify-items:center;
  transition: transform .2s, box-shadow .2s;
}
/* En escritorio el “slot” del logo es más alto; en móvil lo ajustamos abajo */
.streamer-logo.small{
  width:100%;
  max-height:140px;
  object-fit:contain;
  margin:0 auto;
}

/* ===== TeamTap (ESCRITORIO) — usar exactamente los tamaños de la vista móvil ===== */
@media (min-width: 641px){
.teamtap-grid{
  display: grid;
  gap: 14px;
  /* Igual que móvil (se ve ordenado), pero centrado en cualquier ancho */
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  place-items: center;          /* centra horizontal + vertical */
}


.teamtap-box{
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  padding: 10px;
  margin: 0 auto;                                   /* centra la card */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;                   /* logo arriba / redes abajo */
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

/* Empuja las redes a la base para que todos queden alineados */
.teamtap-box .social-icons{ margin-top: auto; }

.streamer-logo.small{
  max-height: 82px;
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
}


  .social-icons{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
}


  /* Que la card llene su columna como hace .product-card */
  .teamtap-box{
    max-width: none;         /* elimina el límite de 160px en desktop */
    width: 100%;
    padding: 2px;            /* mismo “aire” fino que la tienda */
    display: grid;           /* parecida a .box-square */
    aspect-ratio: 1 / 1;
    grid-template-rows: 140px auto auto; /* alto de imagen como en tienda */
    row-gap: 8px;
    justify-items: center;
  }

  /* Alto de logo parecido al “slot” de imagen de la tienda */
  .streamer-logo.small{
    max-height: 140px;
    width: 100%;
    object-fit: contain;
  }


/* ===== TeamTap: nombres sin texto duplicado/cortado ===== */
.streamer-name{
  position: static;
  font-family: 'Russo One', sans-serif;            /* misma tipografía del sitio */
  color: var(--lt-accent) !important;              /* morado del tema */
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(0,0,0,.35),
    0 0 6px rgba(155,93,229,.35);
  margin-top: 3px;
}

.streamer-name::before{ content: none !important; }  /* elimina el “doble texto” */

/* (Opcional) si algún nombre se parte en 2 líneas y quieres más compacto: */
@media (min-width: 641px){ .streamer-name{ font-size:.86rem; } }
@media (max-width: 640px){ .streamer-name{ font-size:.84rem; } }

.social-icons{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Base (móvil) ligeramente más grande que antes */
.social-icons img{ width:20px; height:20px; }

/* En WEB (>=641px) todavía más grandes */
@media (min-width: 641px){
  .social-icons img{ width:24px; height:24px; }
}


/* ===== FOOTER centrado: logo arriba + sólo íconos ===== */
.site-footer{
  background: linear-gradient(180deg, rgba(25,6,43,.88) 0%, rgba(17,3,31,.88) 100%);
  border-top: 1px solid rgba(155,93,229,.35);
  padding: 22px 16px;
}

.footer-top{
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; 
  align-items: center; justify-content: center;
  gap: 14px; text-align: center;
}

.footer-logo{
  height: 40px; width: auto; display: block;
}

/* Sólo íconos, sin “botón” ni marco */
.social-links{
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.social-links a{
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; height: auto;
  padding: 0; margin: 0;
  background: none !important; border: none !important; box-shadow: none !important;
  text-decoration: none; opacity: .9;
  transition: transform .15s, opacity .15s, filter .15s;
}
.social-links a:hover{
  transform: translateY(-1px) scale(1.06);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(155,93,229,.6));
}
.social-links img{
  width: 26px; height: 26px; display: block;
}

/* Oculta cualquier texto junto al ícono (si existiera) */
.social-links span{ display: none !important; }

/* Quita la franja de copyright si aún se muestra */
.copyright{ display: none !important; }


/* ===================== FAB Carrito (siempre visible, ya morado) ===================== */
.lt-cart-fab{
  position: fixed; right: calc(16px + env(safe-area-inset-right,0)); bottom: calc(16px + env(safe-area-inset-bottom,0));
  width: 56px; height: 56px; border: none; border-radius: 50%;
  background: linear-gradient(135deg,#7a2bd6,#a559f1); color: #fff;
  display:inline-flex; align-items:center; justify-content:center; box-shadow: 0 10px 24px rgba(0,0,0,.35);
  cursor: pointer; z-index: 10010;
}
.lt-cart-fab:hover{ filter: brightness(1.05); }
.lt-cart-fab .lt-fab-count{
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; line-height: 20px; padding: 0 6px;
  border-radius: 10px; background: #fff; color: #7a2bd6; font-weight: 700; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.lt-cart-fab .lt-fab-count.is-empty{ opacity: .35; }

/* ===================== Panel Carrito + Backdrop (coincidir con theme) ===================== */
#ltCartBackdrop{ position: fixed; inset:0; background: rgba(0,0,0,.45); z-index: 10005; opacity:0; pointer-events:none; transition:opacity .2s; }
#ltCartBackdrop.show{ opacity:1; pointer-events:auto; }

.lt-cart-panel{
  position: fixed; top: 80px; right: 20px; width: 360px; max-width: calc(100vw - 24px);
  max-height: calc(100vh - 120px);
  background: radial-gradient(120% 120% at 20% 10%, var(--lt-bg1) 0%, var(--lt-bg2) 60%, var(--lt-bg3) 100%);
  border: 2px solid var(--lt-border); border-radius: 14px; color: var(--lt-text); z-index: 10020;
  overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translateX(115%); transition: transform .25s ease;
}
.lt-cart-panel.show{ transform: translateX(0); }
.lt-cart-header{ display:flex; align-items:center; justify-content:space-between; padding:10px 14px; background: linear-gradient(180deg, rgba(25,6,43,.95) 0%, rgba(17,3,31,.95) 100%); border-bottom:1px solid rgba(155,93,229,.45); }
.lt-cart-title{ font-weight:800; color: var(--lt-text); }
.lt-cart-close{ background:transparent; border:none; color:#fff; font-size:22px; cursor:pointer; }
.lt-cart-close:hover{ color:#ff7be5; }

.lt-cart-body{ padding:12px; max-height: calc(100vh - 180px); overflow:auto; }
.lt-cart-line{ margin:10px 0; }
.lt-cart-line input, .lt-cart-line select{
  width:100%; padding:10px; border-radius:8px; border:1px solid var(--lt-border); background:#130922; color:#fff; outline:none;
}
.lt-cart-line input:focus, .lt-cart-line select:focus{ box-shadow: 0 0 0 2px rgba(155,93,229,.4); }

.lt-instructions{ background: rgba(255,255,255,.05); border:1px dashed rgba(155,93,229,.45); border-radius:10px; padding:10px; font-size:.9rem; color: var(--lt-text-dim); }
.lt-instructions ol{ padding-left:18px; margin:8px 0 0; }

.lt-cart-summary{ border-top:1px solid rgba(255,255,255,.08); margin-top:10px; padding-top:10px; }
.lt-cart-row{ display:flex; justify-content:space-between; margin:6px 0; }

.lt-cart-item{ display:flex; gap:10px; border-bottom:1px solid rgba(255,255,255,.08); padding:8px 0; }
.lt-cart-thumb img{ width:52px; height:52px; object-fit:contain; border-radius:8px; background:#000; }
.lt-cart-info{ flex:1; }
.lt-cart-name{ font-weight:700; }
.lt-cart-meta{ font-size:.9rem; opacity:.9; display:flex; gap:8px; align-items:center; }
.lt-cart-qty{ display:flex; align-items:center; gap:6px; margin-top:6px; }
.lt-qty-btn{ width:28px; height:28px; border:none; background:#2c1a40; color:#fff; border-radius:6px; cursor:pointer; }
.lt-qty-input{ width:50px; text-align:center; border:1px solid #7e3acb; background:#140a24; color:#fff; border-radius:6px; padding:4px; }
.lt-remove{ margin-left:auto; background:transparent; border:none; color:#ff8a8a; font-size:18px; cursor:pointer; }

.lt-cart-pay{ margin:12px 0 6px; padding:10px; border:1px dashed rgba(155,93,229,.5); border-radius:10px; background: rgba(255,255,255,.04); }
.lt-pay-title{ color: var(--lt-accent-2); font-weight:700; margin-bottom:6px; }

.lt-cart-proof-actions .lt-proof-note{ display:block; opacity:.85; margin-top:6px; font-size:.85rem; }

.lt-cart-wa{
  width:100%; padding:12px; border:none; border-radius:10px; background:#25D366; color:#0b2717; font-weight:800; cursor:pointer; margin-top:10px;
}
.lt-cart-wa[disabled]{ opacity:.6; cursor:not-allowed; }
.lt-cart-wa:hover:not([disabled]){ filter: brightness(1.07); }

/* ===================== Responsive ===================== */
@media (max-width: 880px){
  .lady-tap-photo { max-width: 200px; }
}
@media (max-width: 640px){
  .logo { height: 30px; }
  .header.is-shrink .logo{ height: 24px; }
  .lady-tap-photo { max-width: 160px; }
  .tc-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .teamtap-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
}
/* ====== BOX FUSION (hero + controles) ====== */
.box-fusion{
  overflow: hidden;
  position: relative;
}

/* Hero superior: integra la ilustración que me pasaste */
.box-fusion .fusion-hero{
  width: 100%;
  height: 150px;                 /* se adapta con el grid existente */
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(28,15,42,.85) 0%, rgba(16,7,26,.9) 60%, rgba(11,5,18,.95) 100%);
  border-bottom: 1px solid rgba(155,93,229,.35);
}
.box-fusion .fusion-hero img{
  max-width: 92%;
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}

/* Ajustes sutiles al resto del contenido dentro de la card */
.box-fusion .tc-title{
  margin: 8px 0 0;
  font-size: .86rem;
}

/* Móvil: hero más compacto para que todo quepa sin perder estética */
@media (max-width: 480px){
  .box-fusion .fusion-hero{ height: 110px; }
  .box-fusion .fusion-hero img{ max-height: 100px; }
}
/* ====== Ajustes específicos para móvil ====== */
@media (max-width: 480px){
  .box-square{
    /* menos altura de imagen para que no empuje al título */
    grid-template-rows: 110px auto 32px auto 42px;
    row-gap: 6px;
  }
@media (max-width: 480px){
  /* Evita que se recorte el botón en móvil sin cambiar la estética */
  .product-card.box-square{
    aspect-ratio: auto;
    overflow: visible;
  }
}

  /* asegúrate de que el título no se corte */
  .tc-title{
    font-size: .74rem;
    line-height: 1.1;
    padding: 0 8px;         /* evita que el texto pegue a los bordes */
    -webkit-line-clamp: 2;  /* máximo 2 líneas visibles */
  }

  /* pastilla de cantidad un poco más compacta en móvil */
  .qty-field{
    height: 32px;
    grid-template-columns: 28px 52px 28px;
  }

  /* centra mejor la ilustración en su fila */
  .product-img{
    object-fit: contain;
    object-position: center bottom;
    max-height: 100%;
    width: 100%;
  }
}
/* ====== BOX FUSION (ajustes responsivos) ====== */
.box-fusion{ overflow: hidden; position: relative; }

/* Hero con la imagen */
.box-fusion .fusion-hero{
  width: 100%;
  height: 150px;              /* desktop */
  display: grid;
  place-items: center;
  background: radial-gradient(80% 80% at 30% 20%,
              rgba(28,15,42,.85) 0%, rgba(16,7,26,.9) 60%, rgba(11,5,18,.95) 100%);
}
.box-fusion .fusion-hero img{
  max-width: 92%;
  max-height: 140px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}

/* Línea divisoria independiente para que no tape el título */
.box-fusion .fusion-divider{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(155,93,229,.2), rgba(155,93,229,.5), rgba(155,93,229,.2));
}

/* Cuerpo inferior */
.box-fusion .fusion-body{
  display: grid;
  grid-template-rows: auto 36px auto 44px; /* título, qty, total, botón */
  align-items: center;
  justify-items: center;
  row-gap: 8px;
  padding: 6px 10px 12px;
}

.box-fusion .tc-title{
  margin: 4px 0 0;
  text-align: center;
  line-height: 1.2;
  min-height: 1.8em; /* evita corte en 1-2 líneas */
}

/* Ajustes móviles */
@media (max-width: 480px){
  .box-fusion .fusion-hero{ height: 110px; }
  .box-fusion .fusion-hero img{ max-height: 100px; }

  .box-fusion .fusion-body{
    grid-template-rows: auto 32px auto 42px;
    row-gap: 6px;
    padding: 6px 8px 10px;
  }

  .box-fusion .tc-title{
    font-size: .80rem;
    padding: 0 6px;           /* aire lateral para que no pegue al borde */
  }

  .box-fusion .qty-field{ height: 32px; }
}
/* ====== BOX FUSION (sin título / sin líneas) ====== */
.box-fusion{ overflow: hidden; position: relative; }

/* Hero (arriba) */
.box-fusion .fusion-hero{
  width: 100%;
  height: 150px;                 /* desktop */
  display: grid;
  place-items: center;
  background: radial-gradient(80% 80% at 30% 20%,
              rgba(28,15,42,.85) 0%, rgba(16,7,26,.9) 60%, rgba(11,5,18,.95) 100%);
  /* quitamos cualquier separación que parezca “línea” */
  border-bottom: none;
}
.box-fusion .fusion-hero img{
  max-width: 92%;
  max-height: 140px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}

/* Si todavía existe una línea separadora previa, la ocultamos */
.box-fusion .fusion-divider{ display: none !important; }

/* Cuerpo inferior: SIN título → solo qty, total, botón */
.box-fusion .fusion-body.no-title{
  display: grid;
  grid-template-rows: 36px auto 44px;  /* qty / total / botón */
  align-items: center;
  justify-items: center;
  row-gap: 8px;
  padding: 6px 10px 12px;
}

/* Evitar líneas generadas por reglas globales dentro de esta card */
.box-fusion hr,
.box-fusion::before,
.box-fusion::after { display: none !important; }

/* MÓVIL */
@media (max-width: 480px){
  .box-fusion .fusion-hero{ height: 110px; }
  .box-fusion .fusion-hero img{ max-height: 100px; }

  .box-fusion .fusion-body.no-title{
    grid-template-rows: 32px auto 42px; /* qty / total / botón */
    row-gap: 6px;
    padding: 6px 8px 10px;
  }

  .box-fusion .qty-field{ height: 32px; }
}
/* ====== FIX: móvil no muestra precio/botón en box-fusion ====== */
@media (max-width: 480px){
  /* Deja de forzar la tarjeta a ser un cuadrado en móvil,
     permite crecer en altura y no escondas el contenido */
  .box-fusion.box-square{
    aspect-ratio: auto !important;
    min-height: 268px;         /* margen de seguridad */
    overflow: visible !important;
  }

  /* Un poco menos alto el hero para dar espacio al botón */
  .box-fusion .fusion-hero{
    height: 98px !important;
  }
  .box-fusion .fusion-hero img{
    max-height: 90px !important;
  }

  /* Reajusta el grid del cuerpo para que quepan qty/total/botón */
  .box-fusion .fusion-body,
  .box-fusion .fusion-body.no-title{
    grid-template-rows: 32px auto 46px !important;  /* qty / total / botón */
    row-gap: 6px;
    padding-bottom: 12px;       /* asegúrate de que no se pegue al borde */
  }

  /* Asegura que el botón ocupe su propia fila y no se colapse */
  .box-fusion .add-btn{
    display: block;
    width: auto;               /* respeta tu ancho actual del tema */
    margin-top: 4px;
  }
}
/* ====== FIX: ajustar filas reales de la box-fusion ====== */
/* La card fusion solo tiene 2 hijos (hero y body), forzamos 2 filas */
.box-fusion.box-square{
  display: grid;
  grid-template-rows: auto auto;    /* imagen / cuerpo */
  row-gap: 0;
}

/* En móvil también quitamos alturas sobrantes para que no quede hueco */
@media (max-width: 480px){
  .box-fusion.box-square{
    aspect-ratio: auto !important;   /* ya agregado antes, lo mantenemos */
    grid-template-rows: auto auto !important;
    min-height: auto !important;     /* elimina el alto mínimo que pusimos */
    overflow: visible !important;
  }
}
/* ================== FOOTER estilo video (íconos redondos + tooltip) ================== */
.site-footer{
  background: linear-gradient(180deg, rgba(25,6,43,.88) 0%, rgba(17,3,31,.88) 100%);
  border-top: 1px solid rgba(155,93,229,.35);
  padding: 24px 16px 28px;
}

.footer-top{
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}

.footer-logo{ height: 42px; width: auto; }

.wrapper{
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; align-items: center;
}

/* El “botón” circular del ícono */
.wrapper .icon{
  position: relative;
  text-decoration: none;
  outline: none;
}
.wrapper .icon .bubble{
  width: 44px; height: 44px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 30%, rgba(155,93,229,.25), rgba(155,93,229,.05) 60%, rgba(155,93,229,.0));
  border: 1px solid rgba(155,93,229,.35);
  box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 0 10px rgba(155,93,229,.15);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.wrapper .icon img{
  width: 22px; height: 22px; display: block;
  transition: transform .18s ease;
}

/* Tooltip */
.wrapper .icon .tooltip{
  position: absolute;
  left: 50%; transform: translateX(-50%) translateY(8px);
  bottom: 100%;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: .80rem; font-weight: 700; letter-spacing:.2px;
  color: #cdb7ff;
  background: rgba(22,10,35,.85);
  border: 1px solid rgba(155,93,229,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}

/* === Efecto EXACTO del snippet que enviaste === */
.wrapper .icon:hover span{               /* (span = tooltip) */
  color: #fff;
}
.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip{
  text-shadow: 0px -1px 0px rgba(0,0,0,.4);
}

/* Hover general (glow + scale) */
.wrapper .icon:hover .bubble{
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 8px rgba(155,93,229,.55));
}
.wrapper .icon:hover img{
  transform: scale(1.06);
}
.wrapper .icon:hover .tooltip{
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Colores ligeros por red (opcional) */
.wrapper .icon.instagram .bubble{ border-color: rgba(193,53,132,.45); }
.wrapper .icon.facebook  .bubble{ border-color: rgba(24,119,242,.45); }
.wrapper .icon.tiktok    .bubble{ border-color: rgba(255,255,255,.28); }
.wrapper .icon.whatsapp  .bubble{ border-color: rgba(37,211,102,.45); }

/* Móvil: separa un poco y reduce tooltip */
@media (max-width:640px){
  .wrapper{ gap: 14px; }
  .wrapper .icon .bubble{ width: 42px; height: 42px; }
  .wrapper .icon .tooltip{ font-size: .76rem; }
}
/* ====== FEED CAROUSEL (3D estilo “puro CSS” visual) ====== */
.feed-carousel{
  position: relative;
  width: 100%;
  height: clamp(240px, 42vw, 500px);
  margin-top: 8px;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: 50% 50%;
}

.feed-track{
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Tarjetas */
.feed-slide{
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(94%, 980px);
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center;
  transform: translate(-50%, -50%) translateZ(0);
  transition: transform .45s ease, opacity .35s ease, filter .35s ease;
  will-change: transform, opacity, filter;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  pointer-events: none;
}
.feed-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* se ve como en el video */
  user-select: none;
  -webkit-user-drag: none;
}

/* Velo en laterales (como el ejemplo) */
.feed-slide::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,.45));
  opacity: 0; transition: opacity .35s ease;
}
.feed-slide.is-side::after{ opacity: .85; }  /* laterales más oscuras */
.feed-slide.is-far::after{  opacity: .92; }  /* las más lejanas aún más oscuras */

.feed-slide.is-active{ pointer-events: auto; }

/* Posiciones (simétricas) */
.feed-slide.pos-0{
  transform: translate(-50%, -50%) translateZ(180px) rotateY(0) scale(1);
  z-index: 100; opacity: 1; filter: none;
}
.feed-slide.pos--1{
  transform: translate(-50%, -50%) translateX(-30%) translateZ(40px) rotateY(28deg) scale(.9);
  z-index: 90; opacity: .95; filter: none;
}
.feed-slide.pos-1{
  transform: translate(-50%, -50%) translateX(30%) translateZ(40px) rotateY(-28deg) scale(.9);
  z-index: 90; opacity: .95; filter: none;
}
.feed-slide.pos--2{
  transform: translate(-50%, -50%) translateX(-60%) translateZ(-140px) rotateY(32deg) scale(.78);
  z-index: 80; opacity: .7; filter: blur(.4px);
}
.feed-slide.pos-2{
  transform: translate(-50%, -50%) translateX(60%) translateZ(-140px) rotateY(-32deg) scale(.78);
  z-index: 80; opacity: .7; filter: blur(.4px);
}

/* Flechas */
.feed-arrow{
  position: absolute; top: 0; bottom: 0;
  width: 32%;
  border: 0; background: transparent; cursor: pointer;
  z-index: 120; color: transparent;
}
.feed-arrow.prev{ left: 0; }
.feed-arrow.next{ right: 0; }
.feed-arrow::after{
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(16,7,26,.55);
  border: 1px solid rgba(155,93,229,.45);
  box-shadow: 0 6px 18px rgba(0,0,0,.4), inset 0 0 10px rgba(155,93,229,.12);
}
.feed-arrow.prev::after{ left: 12px; }
.feed-arrow.next::after{ right: 12px; }
.feed-arrow i{
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: #fff; z-index: 1;
}
.feed-arrow.prev i{ left: 26px; }
.feed-arrow.next i{ right: 26px; }

/* Dots */
.feed-dots{
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; gap: 8px; justify-content: center; align-items: center;
  z-index: 130;
}
.feed-dots button{
  width: 8px; height: 8px; border-radius: 999px;
  border: 1px solid rgba(155,93,229,.6);
  background: rgba(255,255,255,.15);
  cursor: pointer; padding: 0;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.feed-dots button[aria-selected="true"]{
  transform: scale(1.25);
  background: linear-gradient(135deg,#7a2bd6,#a559f1);
  box-shadow: 0 0 8px rgba(155,93,229,.6);
}

.feed-carousel.is-dragging .feed-slide{ transition: none; cursor: grabbing; }

@media (prefers-reduced-motion: reduce){
  .feed-slide{ transition: transform .001s, opacity .001s, filter .001s; }
}
@media (max-width: 640px){
  .feed-arrow{ width: 45%; }
  .feed-arrow::after{ width: 44px; height: 44px; }
  .feed-arrow.prev i{ left: 22px; }
  .feed-arrow.next i{ right: 22px; }
}
/* ===== CSS-ONLY 3D CAROUSEL (adaptado) ===== */
.feed-css3d{
  width: 100%;
  margin-top: 8px;
  display: grid;
  place-items: center;
}

.feed-css3d .container__slider{
  width: 100%;
  max-width: 1000px;
  height: clamp(240px, 42vw, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.feed-css3d input[type=radio]{ display: none; }

.feed-css3d .container{
  width: 100%;
  max-width: 800px;
  height: 100%;
  max-height: 600px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;             /* profundidad 3D */
}

.feed-css3d .cards{
  position: relative;
  width: 100%;
  height: 100%;
}

.feed-css3d .card{
  position: absolute;
  left: 0; right: 0; margin: auto;
  width: 60%;
  height: 100%;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .45s cubic-bezier(0.165, 0.84, 0.44, 1),
              opacity .35s ease, filter .35s ease;
}
.feed-css3d .card img{
  width: 100%; height: 100%;
  object-fit: cover;                 /* igual al video */
  user-select: none; -webkit-user-drag: none;
}

/* Velo oscuro en laterales para el look “coverflow” */
.feed-css3d .card::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(120% 120% at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,.48));
  opacity: 0; transition: opacity .35s ease;
}

/* Posiciones (3 ítems) */
#item-2:checked ~ .cards #selector-1,
#item-1:checked ~ .cards #selector-3,
#item-3:checked ~ .cards #selector-2{
  transform: translateX(-40%) translateZ(-140px) rotateY(28deg) scale(.85);
  opacity: .65; filter: blur(.3px);
}
#item-3:checked ~ .cards #selector-1,
#item-1:checked ~ .cards #selector-2,
#item-2:checked ~ .cards #selector-3{
  transform: translateX(40%) translateZ(-140px) rotateY(-28deg) scale(.85);
  opacity: .65; filter: blur(.3px);
}
#item-1:checked ~ .cards #selector-1,
#item-2:checked ~ .cards #selector-2,
#item-3:checked ~ .cards #selector-3{
  transform: translateX(0) translateZ(180px) rotateY(0) scale(1);
  opacity: 1; filter: none;
}

/* Velo solo en laterales */
#item-2:checked ~ .cards #selector-1::after,
#item-1:checked ~ .cards #selector-3::after,
#item-3:checked ~ .cards #selector-2::after,
#item-3:checked ~ .cards #selector-1::after,
#item-1:checked ~ .cards #selector-2::after,
#item-2:checked ~ .cards #selector-3::after{
  opacity: .9;
}

/* Responsive */
@media (max-width: 640px){
  .feed-css3d .card{ width: 78%; border-radius: 14px; }
  #item-2:checked ~ .cards #selector-1,
  #item-1:checked ~ .cards #selector-3,
  #item-3:checked ~ .cards #selector-2{
    transform: translateX(-34%) translateZ(-120px) rotateY(24deg) scale(.88);
  }
  #item-3:checked ~ .cards #selector-1,
  #item-1:checked ~ .cards #selector-2,
  #item-2:checked ~ .cards #selector-3{
    transform: translateX(34%) translateZ(-120px) rotateY(-24deg) scale(.88);
  }
  #item-1:checked ~ .cards #selector-1,
  #item-2:checked ~ .cards #selector-2,
  #item-3:checked ~ .cards #selector-3{
    transform: translateX(0) translateZ(140px) rotateY(0) scale(1);
  }
}
/* === Ajustes específicos para el carrusel de pósters verticales === */
#posters3d {
  /* Tamaño visual: máx 900×1600, manteniendo 9:16 */
  --w: min(90vw, 900px);
  --h: clamp(420px, calc(var(--w) * 16 / 9), 1600px);
  width: var(--w);
  height: var(--h);
  margin: 12px auto 0;
}

#posters3d .feed-slide img{
  object-fit: cover;       /* llenan sin distorsión */
  object-position: center;
}

/* Laterales más difuminadas y al “fondo” */
#posters3d .feed-slide.pos--1,
#posters3d .feed-slide.pos-1{
  filter: blur(0.6px);
}
#posters3d .feed-slide.pos--2,
#posters3d .feed-slide.pos-2{
  filter: blur(1.2px);
}

/* Zoom al centro */
#posters3d.is-zoom .feed-slide.pos-0{
  transform: translate(-50%, -50%) translateZ(260px) scale(1.18) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  z-index: 999 !important;
}

/* Capa para cerrar zoom al hacer clic fuera */
#posters3d .zoom-backdrop{
  position: absolute; inset: 0; z-index: 980;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
#posters3d.is-zoom .zoom-backdrop{
  opacity: 1; pointer-events: auto;
}

/* En móviles, que respire un poquito más */
@media (max-width: 640px){
  #posters3d { --w: min(94vw, 900px); }
}
/* ====== Coverflow 3D ====== */
/* Tamaño controlado (pequeño), no rebasa la sección */
.coverflow{
  /* Ancho base pequeño (desktop y mobile) */
  --w: clamp(260px, 28vw, 440px);

  /* Alto proporcional 9:16 pero limitado por pantalla */
  --h: min(calc(var(--w) * 16 / 9), 78vh);

  /* Escena 3D en función del ancho (ajustada a tamaño chico) */
  --gap: clamp(12px, calc(var(--w) * 0.12), 40px);
  --tilt: 20deg;
  --depth: clamp(90px, calc(var(--w) * 0.38), 200px);
  --blur1: 0.6px;
  --blur2: 1.2px;
  --radius: 22px;
  --shadow: 0 16px 40px rgba(0,0,0,.28);
  --shadow-zoom: 0 24px 70px rgba(0,0,0,.50);

  width: var(--w);
  height: var(--h);
  max-width: 100%;
  margin: 24px auto 40px;   /* separa de header y de la sección de abajo */
  position: relative;
  perspective: 1200px;
}

/* Más compacto aún en pantallas pequeñas */
@media (max-width: 900px){
  .coverflow{
    --w: min(86vw, 420px);
    --h: min(calc(var(--w) * 16 / 9), 76vh);
  }
}

/* Teléfonos muy angostos */
@media (max-width: 420px){
  .coverflow{
    --w: 92vw;
    --h: min(calc(var(--w) * 16 / 9), 74vh);
  }
}


.cf-track{ position:absolute; inset:0; transform-style: preserve-3d; }

.cf-slide{
  position:absolute; top:50%; left:50%;
  width:100%; height:100%;
  transform: translate(-50%,-50%);
  transition: transform .55s cubic-bezier(.2,.6,.2,1), opacity .35s, filter .35s, box-shadow .35s;
  will-change: transform, opacity, filter;
  cursor:pointer;
  }
/* Imagen del slide: SIN recortar ni estirar (escala dentro del marco) */
.cf-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;      /* antes estaba en cover: ahora NO recorta ni estira */
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-drag: none;
  background: radial-gradient(120% 120% at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,.6)); /* marco sutil */
}



/* Posiciones */
.cf-slide.pos-0{
  transform: translate(-50%,-50%) translateZ(var(--depth));
  z-index:50;
}
.cf-slide.pos--1{
  transform: translate(calc(-50% - var(--gap)),-50%) rotateY(var(--tilt)) translateZ(calc(var(--depth) * .55));
  z-index:40; filter: blur(var(--blur1)) saturate(.95); opacity:.96;
}
.cf-slide.pos-1{
  transform: translate(calc(-50% + var(--gap)),-50%) rotateY(calc(var(--tilt) * -1)) translateZ(calc(var(--depth) * .55));
  z-index:40; filter: blur(var(--blur1)) saturate(.95); opacity:.96;
}
.cf-slide.pos--2{
  transform: translate(calc(-50% - var(--gap) * 2.1),-50%) rotateY(var(--tilt)) translateZ(calc(var(--depth) * .15));
  z-index:30; filter: blur(var(--blur2)) saturate(.9) brightness(.97); opacity:.86;
}
.cf-slide.pos-2{
  transform: translate(calc(-50% + var(--gap) * 2.1),-50%) rotateY(calc(var(--tilt) * -1)) translateZ(calc(var(--depth) * .15));
  z-index:30; filter: blur(var(--blur2)) saturate(.9) brightness(.97); opacity:.86;
}

/* Zoom */
.coverflow.is-zoom .cf-slide.pos-0{
  transform: translate(-50%,-50%) translateZ(calc(var(--depth) * 1.25)) scale(1.18);
  z-index:999;
}
.coverflow.is-zoom .cf-slide.pos-0 img{ box-shadow: var(--shadow-zoom); }
.coverflow.is-zoom .cf-slide:not(.pos-0){ pointer-events:none; opacity:.15; filter:blur(2px); }

/* Backdrop a pantalla completa (cierre al clicar fuera) */
.cf-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1100; /* debajo de la imagen (999) y de las flechas (1200) */
}

.coverflow.is-zoom .cf-backdrop{ opacity:1; pointer-events:auto; }

/* Flechas (zonas grandes, círculo visual) */
.cf-arrow{
  position:absolute; top:0; bottom:0; width:32%;
  border:0; background:transparent; cursor:pointer; z-index:1200; color:transparent;
}
.cf-arrow.prev{ left:0; } .cf-arrow.next{ right:0; }
.cf-arrow::after{
  content:""; position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:999px;
  background: rgba(16,7,26,.55);
  border:1px solid rgba(155,93,229,.45);
  box-shadow:0 6px 18px rgba(0,0,0,.4), inset 0 0 10px rgba(155,93,229,.12);
}
.cf-arrow.prev::after{ left:-56px !important; } 
.cf-arrow.next::after{ right:-56px !important; }

.cf-arrow i{ position:absolute; top:50%; transform:translateY(-50%); font-size:22px; color:#fff; z-index:1; }
.cf-arrow.prev i{ left:-40px !important; } 
.cf-arrow.next i{ right:-40px !important; }


/* Dots */
.cf-dots{
  position:absolute; left:0; right:0; bottom:-26px;
  display:flex; gap:8px; justify-content:center; align-items:center; z-index:1300;
}
.cf-dots button{
  width:9px; height:9px; border-radius:999px; border:0;
  background:#cbd5e1; cursor:pointer; transition: transform .2s, opacity .2s, filter .2s;
}
.cf-dots button[aria-selected="true"]{ background:#6366f1; transform:scale(1.2); }
/* Botón Cerrar (X) del lightbox del coverflow */
.coverflow .cf-close{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1400;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(155,93,229,.45);
  background: rgba(16,7,26,.65);
  box-shadow: 0 6px 18px rgba(0,0,0,.4), inset 0 0 10px rgba(155,93,229,.12);
  color: #fff;
  font-size: 18px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, opacity .2s ease;
  opacity: 0; pointer-events: none; /* oculta por defecto */
}

.coverflow.is-zoom .cf-close{
  opacity: 1; pointer-events: auto;   /* solo visible en zoom */
}

.coverflow .cf-close:hover{ transform: scale(1.06); filter: brightness(1.1); }

/* En zoom, da un poco más de presencia al slide central */
.coverflow.is-zoom .cf-slide.pos-0 img{
  box-shadow: var(--shadow-zoom);
}

/* Hover pausa (desktop) y responsive */
@media (hover:hover){ .coverflow:hover .cf-slide{ transition-duration:.45s; } }
@media (max-width:640px){
  /* Mantenerlo más chico en móvil y que no se estire */
  .coverflow{ --w: min(88vw, 420px); }
  .cf-arrow{ width:45%; }
  .cf-arrow::after{ width:44px; height:44px; }
  .cf-arrow.prev i{ left:22px; } .cf-arrow.next i{ right:22px; }
}

/* ==== Carrusel tipo SoundCloud (selected/prev/next) ==== */
html, body { height: 100%; }
#carousel {
  position: relative;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
}
#carousel > div {
  position: absolute;
  transition: transform 1s, left 1s, opacity 1s, z-index 0s;
  opacity: 1;
}
#carousel > div img {
  width: 400px;
  transition: width 1s;
  display: block;
}

/* Estados/posiciones */
#carousel > div.hideLeft {
  left: 0%;
  opacity: 0;
  transform: translateY(50%) translateX(-50%);
}
#carousel > div.hideLeft img { width: 200px; }

#carousel > div.hideRight {
  left: 100%;
  opacity: 0;
  transform: translateY(50%) translateX(-50%);
}
#carousel > div.hideRight img { width: 200px; }

#carousel > div.prev {
  z-index: 5;
  left: 30%;
  transform: translateY(50px) translateX(-50%);
}
#carousel > div.prev img { width: 300px; }

#carousel > div.prevLeftSecond {
  z-index: 4;
  left: 15%;
  transform: translateY(50%) translateX(-50%);
  opacity: .7;
}
#carousel > div.prevLeftSecond img { width: 200px; }

#carousel > div.selected {
  z-index: 10;
  left: 50%;
  transform: translateY(0) translateX(-50%);
}

#carousel > div.next {
  z-index: 5;
  left: 70%;
  transform: translateY(50px) translateX(-50%);
}
#carousel > div.next img { width: 300px; }

#carousel > div.nextRightSecond {
  z-index: 4;
  left: 85%;
  transform: translateY(50%) translateX(-50%);
  opacity: .7;
}
#carousel > div.nextRightSecond img { width: 200px; }

/* Botones centrados abajo */
.buttons {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 10px;
}
/* ==== Carrusel vertical 9:16 — RESPONSIVE ==== */
/* El contenedor calcula su tamaño: ancho fluido y alto = 16:9 */
#carousel{
  --w: min(92vw, 900px);              /* ancho máximo en desktop */
  --h: clamp(360px, calc(var(--w) * 16 / 9), 92vh);  /* alto según 9:16 y límites */

  /* alturas relativas de cada estado (derivan de --h) */
  --h-selected: var(--h);
  --h-prevnext: calc(var(--h) * .75);
  --h-second:   calc(var(--h) * .53);
  --h-hidden:   calc(var(--h) * .44);

  /* posiciones horizontales (puedes ajustar %) */
  --gapL: 30%;
  --gapR: 70%;
  --gapL2: 15%;
  --gapR2: 85%;
  --lift: 50px;                       /* pequeña “bajada” de prev/next */

  position: relative;
  width: var(--w);
  height: var(--h);
  margin: 24px auto 40px;
  overflow: hidden;
}

/* Cada tarjeta */
#carousel > div{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  transition: transform 1s, left 1s, opacity 1s, z-index 0s;
  opacity: 1;
  cursor: pointer;
}

/* Imágenes verticales: ocupar en ALTURA, mantener proporción */
#carousel > div img{
  height: var(--h-selected);
  width: auto;
  max-width: none;           /* evita que limite por ancho */
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* Estados/posiciones */
#carousel > div.selected{
  z-index: 10;
  left: 50%;
  transform: translate(-50%,-50%);
}

#carousel > div.prev{
  z-index: 5;
  left: var(--gapL);
  transform: translate(-50%, calc(-50% + var(--lift)));
}
#carousel > div.prev img{ height: var(--h-prevnext); }

#carousel > div.next{
  z-index: 5;
  left: var(--gapR);
  transform: translate(-50%, calc(-50% + var(--lift)));
}
#carousel > div.next img{ height: var(--h-prevnext); }

#carousel > div.prevLeftSecond{
  z-index: 4;
  left: var(--gapL2);
  transform: translate(-50%,-50%);
  opacity: .7;
}
#carousel > div.prevLeftSecond img{ height: var(--h-second); }

#carousel > div.nextRightSecond{
  z-index: 4;
  left: var(--gapR2);
  transform: translate(-50%,-50%);
  opacity: .7;
}
#carousel > div.nextRightSecond img{ height: var(--h-second); }

#carousel > div.hideLeft{
  left: 0%;
  opacity: 0;
  transform: translate(-50%,-50%);
}
#carousel > div.hideLeft img{ height: var(--h-hidden); }

#carousel > div.hideRight{
  left: 100%;
  opacity: 0;
  transform: translate(-50%,-50%);
}
#carousel > div.hideRight img{ height: var(--h-hidden); }

/* Botones centrados, dentro del carrusel (no fixed) */
.buttons{
  position: absolute;
  left: 50%; bottom: -34px;
  transform: translateX(-50%);
  display: flex; gap: 10px;
}

/* —— Ajustes responsive —— */
/* En pantallas muy estrechas, da más margen lateral a las tarjetas para que no se peguen */
@media (max-width: 640px){
  #carousel{
    --w: min(96vw, 900px);
    --lift: 30px;
    --gapL: 28%;
    --gapR: 72%;
    --gapL2: 12%;
    --gapR2: 88%;
  }
}

/* Si tu layout es muy bajo de altura (celulares con barras), limita el alto máximo */
@media (max-height: 700px){
  #carousel{ --h: min(var(--h), 78vh); }
}
/* === CARRUSEL VERTICAL 9:16 (RESPONSIVE + ZONAS DE CLIC) === */
#carousel{
  /* tamaño fluido */
  --w: min(88vw, 820px);
  --h: min(78vh, calc(var(--w) * 16 / 9));

  /* escalas relativas (alturas por estado) */
  --h-selected: var(--h);
  --h-prevnext: calc(var(--h) * .70);
  --h-second:   calc(var(--h) * .52);
  --h-hidden:   calc(var(--h) * .42);

  /* posiciones horizontales (porcentaje del ancho) */
  --gapL: 33%;
  --gapR: 67%;
  --gapL2: 15%;
  --gapR2: 85%;
  --lift: 26px; /* baja un poco prev/next para dar profundidad */

  position: relative;
  width: var(--w);
  height: var(--h);
  margin: 20px auto 48px;
  overflow: hidden;
}

/* cada tarjeta del carrusel */
#carousel > div{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .8s, left .8s, opacity .6s, z-index 0s;
  opacity: 1;
  cursor: pointer;
}

/* imágenes VERTICALES: se ajustan por ALTURA, mantienen proporción 9:16 */
#carousel > div img{
  height: var(--h-selected);
  width: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* POSICIONES */
#carousel > div.selected{
  z-index: 10; left: 50%; transform: translate(-50%,-50%);
}
#carousel > div.prev{
  z-index: 5; left: var(--gapL);
  transform: translate(-50%, calc(-50% + var(--lift)));
}
#carousel > div.prev img{ height: var(--h-prevnext); }

#carousel > div.next{
  z-index: 5; left: var(--gapR);
  transform: translate(-50%, calc(-50% + var(--lift)));
}
#carousel > div.next img{ height: var(--h-prevnext); }

#carousel > div.prevLeftSecond{
  z-index: 4; left: var(--gapL2); opacity: .75;
}
#carousel > div.prevLeftSecond img{ height: var(--h-second); }

#carousel > div.nextRightSecond{
  z-index: 4; left: var(--gapR2); opacity: .75;
}
#carousel > div.nextRightSecond img{ height: var(--h-second); }

#carousel > div.hideLeft{ left: 0%; opacity: 0; }
#carousel > div.hideLeft img{ height: var(--h-hidden); }
#carousel > div.hideRight{ left: 100%; opacity: 0; }
#carousel > div.hideRight img{ height: var(--h-hidden); }

/* ZONAS DE CLIC laterales (dentro del carrusel) */
#carousel .hit{
  position: absolute; top: 0; bottom: 0; width: 34%;
  background: transparent; border: 0; padding: 0; margin: 0;
  cursor: pointer; z-index: 1000;
}
#carousel .hit.prev-area{ left: 0; }
#carousel .hit.next-area{ right: 0; }

/* Responsive móvil: un poco más ancho y menos “lift” */
@media (max-width: 640px){
  #carousel{
    --w: min(96vw, 820px);
    --h: min(74vh, calc(var(--w) * 16 / 9));
    --gapL: 31%; --gapR: 69%;
    --gapL2: 12%; --gapR2: 88%;
    --lift: 14px;
  }
}
/* ==== Ajustes Swiper (UI Initiative) con header fijo del sitio ==== */
.swiper.swiper-carousel{
  /* separa del header fijo */
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;        /* armoniza con tus contenedores */
}

.swiper.swiper-carousel .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* look tipo poster */
  display: block;
}

/* Botoneras Swiper un poco más visibles con tu tema */
.swiper-button-prev, .swiper-button-next{
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.swiper-pagination-bullet{
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.45);
}
.swiper-pagination-bullet.swiper-pagination-bullet-active{
  background: linear-gradient(135deg,#7a2bd6,#a559f1);
  box-shadow: 0 0 8px rgba(155,93,229,.6);
}

/* móvil */
@media (max-width:640px){
  .swiper.swiper-carousel{ max-width: 94vw; }
}
/* === OVERRIDES 09/09 — tamaño + laterales + flechas === */

/* Base (desktop): ~50% más chico */
.coverflow{
  /* ancho mucho menor y alto 9:16 con tope */
  --w: clamp(160px, 16vw, 300px);
  --h: min(calc(var(--w) * 16 / 9), 56vh);

  /* sutiles ajustes del 3D en tamaño chico */
  --gap: clamp(10px, calc(var(--w) * 0.14), 36px);
  --tilt: 20deg;
  --depth: clamp(70px, calc(var(--w) * 0.34), 160px);

  margin: 16px auto 18px;   /* más separación para NO chocar con la sección de abajo */
}

/* Tablet / móvil: aún más compacto */
@media (max-width: 900px){
  .coverflow{
    --w: min(64vw, 300px);
    --h: min(calc(var(--w) * 16 / 9), 52vh);
  }
}
@media (max-width: 420px){
  .coverflow{
    --w: 70vw;                                     /* más chico en teléfonos angostos */
    --h: min(calc(var(--w) * 16 / 9), 48vh);       /* tope de alto más bajo */
  }
}

/* Laterales que sobresalgan más (sin estirar imagen) */
.cf-slide.pos--1{
  transform: translate(calc(-50% - var(--gap) * 1.5), -50%)
             rotateY(var(--tilt)) translateZ(calc(var(--depth) * .50));
}
.cf-slide.pos-1{
  transform: translate(calc(-50% + var(--gap) * 1.5), -50%)
             rotateY(calc(var(--tilt) * -1)) translateZ(calc(var(--depth) * .50));
}
.cf-slide.pos--2{
  transform: translate(calc(-50% - var(--gap) * 3.2), -50%)
             rotateY(var(--tilt)) translateZ(calc(var(--depth) * .10));
}
.cf-slide.pos-2{
  transform: translate(calc(-50% + var(--gap) * 3.2), -50%)
             rotateY(calc(var(--tilt) * -1)) translateZ(calc(var(--depth) * .10));
}

/* Flechas “más afuera” (zonas clicables más anchas, el círculo se mantiene elegante) */
.cf-arrow{ width: 44%; }            /* antes 32% */
@media (max-width: 640px){
  .cf-arrow{ width: 48%; }          /* móviles: todavía más afuera */
}

/* Dots dentro del marco para no empujar la siguiente sección */
.cf-dots{ bottom: 8px; }            /* antes iban muy abajo */
/* === FIX: carrusel reducido (mitad), sin solape y zoom correcto === */

/* 1) Tamaño mucho más chico (web y móvil) */
.coverflow{
  --w: clamp(140px, 18vw, 260px);            /* ≈ la mitad en desktop */
  --h: min(calc(var(--w) * 16 / 9), 44vh);   /* tope de alto mucho menor */
  margin: 16px auto 24px;                    /* margen para no tocar la sección de abajo */
}
@media (max-width: 900px){
  .coverflow{ --w: min(54vw, 260px); --h: min(calc(var(--w)*16/9), 42vh); }
}
@media (max-width: 480px){
  .coverflow{ --w: 62vw; --h: min(calc(var(--w)*16/9), 36vh); } /* teléfono: ~mitad */
}

/* 2) Dots dentro del marco (no empujan la siguiente sección) */
.cf-dots{ bottom: 10px !important; }  /* antes estaban en negativo */

/* 3) Flechas más “afuera” */
.cf-arrow{ width: 48% !important; }   /* mayor área lateral sin tapar la imagen */
@media (min-width: 901px){ .cf-arrow{ width: 44% !important; } }

/* 4) Laterales sobresalen un poco más */
.cf-slide.pos--1{
  transform: translate(calc(-50% - var(--gap) * 1.9), -50%)
             rotateY(var(--tilt)) translateZ(calc(var(--depth) * .50));
}
.cf-slide.pos-1{
  transform: translate(calc(-50% + var(--gap) * 1.9), -50%)
             rotateY(calc(var(--tilt) * -1)) translateZ(calc(var(--depth) * .50));
}
.cf-slide.pos--2{
  transform: translate(calc(-50% - var(--gap) * 3.8), -50%)
             rotateY(var(--tilt)) translateZ(calc(var(--depth) * .08));
}
.cf-slide.pos-2{
  transform: translate(calc(-50% + var(--gap) * 3.8), -50%)
             rotateY(calc(var(--tilt) * -1)) translateZ(calc(var(--depth) * .08));
}

/* 5) Zoom: que la imagen activa quede POR ENCIMA del velo */
.cf-track{ z-index: 1200; }                 /* carrusel por encima del backdrop */
.coverflow.is-zoom .cf-slide.pos-0{ z-index: 1400; }
.cf-backdrop{ z-index: 1100; }              /* el velo queda detrás de la imagen activa */

/* 6) “X” del lightbox: arregla rgba mal escritos para que se vea bien */
.coverflow .cf-close{
  border: 1px solid rgba(155,93,229,.45);
  background: rgba(16,7,26,.65);
  box-shadow: 0 6px 18px rgba(0,0,0,.4), inset 0 0 10px rgba(155,93,229,.12);
}
