/* ============================================================
   ACU BANNER MATCOM — Frontend Styles
   Swiper hero slider · 500px height · 1320px content
   ============================================================ */

/* ── CSS Custom Properties (defaults) ── */
:root {
  --acu-height: 500px;
  --acu-max-content: 1320px;
  --acu-radius: 12px;
  --acu-transition: cubic-bezier(0.16, 1, 0.3, 1);
  --acu-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ── Reset & Container ── */
.acu-hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  font-family: var(--acu-font);
  -webkit-font-smoothing: antialiased;

  --acu-nav-bg: rgba(255,255,255,0.1);
  --acu-nav-border: rgba(255,255,255,0.15);
  --acu-nav-color: #ffffff;
  --acu-bar-track: rgba(255,255,255,0.25);
  --acu-bar-track-hover: rgba(255,255,255,0.4);
  --acu-bar-fill-global: #A130FF;
  --acu-muted-on-slide: color-mix(in srgb, var(--slide-text) 75%, transparent);
}

html[data-theme="light"] .acu-hero-slider {
  --acu-nav-bg: rgba(0,0,0,0.08);
  --acu-nav-border: rgba(0,0,0,0.1);
  --acu-nav-color: #2f3447;
  --acu-bar-track: rgba(74,84,112,0.18);
  --acu-bar-track-hover: rgba(74,84,112,0.32);
}

html[data-theme="dark"] .acu-hero-slider {
  --acu-nav-bg: rgba(255,255,255,0.12);
  --acu-nav-border: rgba(255,255,255,0.22);
  --acu-nav-color: #eef2ff;
  --acu-bar-track: rgba(255,255,255,0.24);
  --acu-bar-track-hover: rgba(255,255,255,0.38);
}

.acu-hero-slider *,
.acu-hero-slider *::before,
.acu-hero-slider *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.acu-swiper {
  width: 100%;
  height: var(--acu-height);
  position: relative;
  overflow: hidden;
}

/* ── Slide Base ── */
.acu-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--slide-bg, #0a0a1a);
  color: var(--slide-text, #ffffff);
}

/* ── Background Layer ── */
.acu-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.acu-particles-container {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Floating sparks layer — sits ABOVE overlay for extra life on hero */
.acu-sparks-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.acu-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.35;
  filter: blur(1px);
  transition: opacity 1s ease;
}

.swiper-slide-active .acu-bg-img {
  opacity: 0.4;
}

.acu-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: var(--slide-overlay-opacity, 1);
}

/* Gradient backgrounds per slide type */
.swiper-slide[data-bg-type="gradient"] .acu-slide-overlay {
  background: linear-gradient(
    135deg,
    var(--slide-bg) 0%,
    color-mix(in srgb, var(--slide-primary) 15%, var(--slide-bg)) 50%,
    color-mix(in srgb, var(--slide-primary) 5%, var(--slide-bg)) 100%
  );
}

.swiper-slide[data-bg-type="particles"] .acu-slide-overlay {
  background: radial-gradient(
    ellipse at 30% 50%,
    color-mix(in srgb, var(--slide-primary) 12%, var(--slide-bg)) 0%,
    color-mix(in srgb, var(--slide-primary) 4%, var(--slide-bg)) 40%,
    var(--slide-bg) 80%
  );
}

.swiper-slide[data-bg-type="image"] .acu-slide-overlay {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.3) 60%,
    transparent 100%
  );
}

/* ── Decorative Elements ── */
.acu-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.acu-deco-1 {
  width: 400px;
  height: 400px;
  border: 1.5px solid var(--slide-primary);
  opacity: 0.08;
  top: -80px;
  right: -80px;
  animation: acu-spin 30s linear infinite;
}

.acu-deco-2 {
  width: 250px;
  height: 250px;
  border: 1.5px solid var(--slide-primary);
  opacity: 0.06;
  bottom: -60px;
  left: 5%;
  animation: acu-spin 25s linear infinite reverse;
}

.acu-deco-3 {
  width: 120px;
  height: 120px;
  background: var(--slide-primary);
  opacity: 0.04;
  top: 30%;
  right: 25%;
  filter: blur(40px);
  animation: acu-pulse 6s ease-in-out infinite;
}

/* Slide-specific decorations */

/* ── Categorías: tech grid pattern + floating shapes ── */
.slide-categorias .acu-slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--slide-primary) 1px, transparent 1px),
    radial-gradient(circle, var(--slide-primary) 0.5px, transparent 0.5px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.06;
}

.slide-categorias .acu-slide-bg::after {
  content: '◈';
  position: absolute;
  font-size: clamp(200px, 28vw, 420px);
  font-weight: 100;
  opacity: 0.04;
  left: -3%;
  top: 50%;
  transform: translateY(-50%) rotate(20deg);
  color: var(--slide-primary);
  z-index: 2;
  pointer-events: none;
  line-height: 1;
}

.slide-categorias .acu-deco-1 {
  border-radius: var(--acu-radius);
  transform: rotate(45deg);
  border-color: var(--slide-primary);
  opacity: 0.1;
  width: 320px;
  height: 320px;
  animation: acu-spin 35s linear infinite, acu-pulse 8s ease-in-out infinite;
}

.slide-categorias .acu-deco-2 {
  border-radius: var(--acu-radius);
  transform: rotate(30deg);
  border-color: var(--slide-primary);
  opacity: 0.08;
}

.slide-categorias .acu-deco-3 {
  background: var(--slide-primary);
  opacity: 0.07;
  width: 200px;
  height: 200px;
  filter: blur(60px);
  top: 60%;
  right: 10%;
  animation: acu-cat-glow 5s ease-in-out infinite alternate;
}

/* ── Ofertas: bold sale bg + diagonal stripe + fire particle effect ── */
.slide-ofertas .acu-slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    var(--slide-primary) 40px,
    var(--slide-primary) 41px
  );
  opacity: 0.04;
}

.slide-ofertas .acu-slide-bg::after {
  content: '%';
  position: absolute;
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 900;
  opacity: 0.08;
  right: 5%;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  color: var(--slide-text);
  z-index: 3;
  pointer-events: none;
  line-height: 1;
}

.slide-ofertas .acu-deco-1 {
  width: 500px;
  height: 500px;
  border-width: 2px;
  border-color: var(--slide-primary);
  opacity: 0.1;
  top: -120px;
  right: -120px;
  animation: acu-spin 20s linear infinite;
}

.slide-ofertas .acu-deco-2 {
  width: 280px;
  height: 280px;
  background: var(--slide-primary);
  opacity: 0.06;
  border: none;
  bottom: -80px;
  left: -60px;
  filter: blur(50px);
  animation: acu-ofertas-glow 4s ease-in-out infinite alternate;
}

.slide-ofertas .acu-deco-3 {
  width: 180px;
  height: 180px;
  background: var(--slide-text);
  opacity: 0.04;
  top: 15%;
  right: 35%;
  filter: blur(45px);
  animation: acu-pulse 5s ease-in-out infinite;
}

/* Mayoristas: crown/star icon watermark */
.slide-mayoristas .acu-slide-bg::after {
  content: '★';
  position: absolute;
  font-size: clamp(150px, 22vw, 350px);
  font-weight: 900;
  opacity: 0.06;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  color: var(--slide-primary);
  z-index: 3;
  pointer-events: none;
  line-height: 1;
}

/* Envíos: truck/box watermark */
.slide-envios .acu-slide-bg::after {
  content: '📦';
  position: absolute;
  font-size: clamp(100px, 18vw, 260px);
  opacity: 0.07;
  right: 5%;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  z-index: 3;
  pointer-events: none;
  line-height: 1;
}

.slide-envios .acu-deco-1 {
  border-radius: 20%;
  border-style: dashed;
}

.slide-envios .acu-deco-2 {
  border-radius: 20%;
  border-style: dashed;
}

/* ── Content Layer ── */
.acu-slide-inner {
  position: relative;
  z-index: 10;
  max-width: var(--acu-max-content);
  margin: 0 auto;
  padding: 40px 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ── Text Content ── */
.acu-slide-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* No-media: center text */
.no-media .acu-slide-inner {
  justify-content: center;
}

.no-media .acu-slide-content {
  max-width: 720px;
  text-align: center;
  align-items: center;
}

/* ── Badge / Subtitle ── */
.acu-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--slide-primary) 15%, transparent);
  color: var(--slide-primary);
  border: 1px solid color-mix(in srgb, var(--slide-primary) 25%, transparent);
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
  width: fit-content;

  /* Animation initial state */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--acu-transition), transform 0.6s var(--acu-transition);
  transition-delay: 0s;
}

/* Dark-on-light badge variant */
.slide-categorias .acu-slide-badge {
  background: color-mix(in srgb, var(--slide-primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--slide-primary) 20%, transparent);
}

/* ── Title ── */
.acu-slide-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--slide-text);
  margin-bottom: 14px;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--acu-transition), transform 0.7s var(--acu-transition);
  transition-delay: 0.1s;
}

/* ── Description ── */
.acu-slide-desc {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--acu-muted-on-slide);
  margin-bottom: 24px;
  max-width: 520px;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--acu-transition), transform 0.6s var(--acu-transition);
  transition-delay: 0.2s;
}

.no-media .acu-slide-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.acu-slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--acu-transition), transform 0.6s var(--acu-transition);
  transition-delay: 0.3s;
}

.no-media .acu-slide-btns {
  justify-content: center;
}

.acu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.acu-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.acu-btn:hover svg {
  transform: translateX(3px);
}

.acu-btn-primary {
  background: var(--slide-primary);
  color: #fff;
  border: 2px solid var(--slide-primary);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--slide-primary) 35%, transparent);
}

.acu-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--slide-primary) 45%, transparent);
  filter: brightness(1.1);
}

.acu-btn-outline {
  background: color-mix(in srgb, var(--slide-text) 8%, transparent);
  color: var(--slide-text);
  border: 2px solid color-mix(in srgb, var(--slide-text) 25%, transparent);
  backdrop-filter: blur(4px);
}

.acu-btn-outline:hover {
  background: color-mix(in srgb, var(--slide-text) 15%, transparent);
  border-color: color-mix(in srgb, var(--slide-text) 50%, transparent);
  transform: translateY(-2px);
}

/* ── Hero principal ElectroPC (look claro, como referencia) ── */
.slide-hero,
.is-hero-first {
  --slide-bg: #eeeff8 !important;
  --slide-text: #0f1020 !important;
  --slide-primary: #a130ff !important;
}

.slide-hero .acu-slide-overlay,
.is-hero-first .acu-slide-overlay {
  background: linear-gradient(135deg, #eeeff8 0%, #e7e8f5 60%, #e1e3f2 100%) !important;
  opacity: 1 !important;
}

.slide-hero .acu-particles-container,
.slide-hero .acu-sparks-layer,
.slide-hero .acu-deco,
.is-hero-first .acu-particles-container,
.is-hero-first .acu-sparks-layer,
.is-hero-first .acu-deco {
  display: none;
}

.slide-hero .acu-slide-inner,
.is-hero-first .acu-slide-inner {
  gap: 48px;
}

.slide-hero .acu-slide-title,
.is-hero-first .acu-slide-title {
  color: #0b0c17;
  font-size: clamp(42px, 5vw, 64px);
}

.slide-hero .acu-slide-desc,
.is-hero-first .acu-slide-desc {
  color: rgba(35, 36, 52, 0.68);
}

.slide-hero .acu-slide-badge,
.is-hero-first .acu-slide-badge {
  color: rgba(14, 15, 30, 0.85);
  border-color: rgba(14, 15, 30, 0.15);
  background: rgba(255, 255, 255, 0.35);
}

.slide-hero .acu-btn-meli,
.is-hero-first .acu-btn-meli {
  background: #ffe600;
  color: #0d0f20;
  border: 1px solid #f2db00;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-weight: 700;
}

.slide-hero .acu-btn-meli:hover,
.is-hero-first .acu-btn-meli:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.slide-hero .acu-trust-badges,
.is-hero-first .acu-trust-badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.slide-hero .acu-trust-badge,
.is-hero-first .acu-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(21, 23, 40, 0.72);
  font-size: 16px;
  font-weight: 500;
}

.slide-hero .acu-trust-badge svg,
.is-hero-first .acu-trust-badge svg {
  color: #7f46df;
}

/* Stepper widget */
.acu-stepper-widget {
  flex: 0 0 46%;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.acu-stepper {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.acu-step {
  position: relative;
  border-radius: 18px;
  padding: 22px 16px;
  min-height: 116px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(125, 126, 148, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  opacity: 0.46;
  transform: scale(0.96);
  transition: all 0.45s var(--acu-transition);
}

.acu-step.is-active {
  opacity: 1;
  background: #f3ebff;
  border-color: rgba(161, 48, 255, 0.38);
  box-shadow: 0 10px 28px rgba(111, 58, 180, 0.22);
  transform: scale(1);
  animation: acu-step-glow 1.4s ease-in-out;
}

.acu-step__number {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #13131f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acu-step:not(.is-active) .acu-step__number {
  background: rgba(120, 122, 145, 0.22);
  color: #6a6d86;
}

.acu-step__icon {
  color: #7e3ded;
}

.acu-step__label {
  color: #4b4f6b;
  font-size: 26px;
  font-weight: 600;
}

.acu-step__connector {
  width: 14px;
  height: 4px;
  border-radius: 99px;
  background: rgba(74, 76, 99, 0.6);
}

.acu-stepper__sub {
  margin-top: 20px;
  color: rgba(74, 76, 99, 0.42);
  font-size: 28px;
}

.acu-stepper__cta {
  margin-top: 12px;
  color: #646a84;
  text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Ofertas: white button on red bg */
.slide-ofertas .acu-btn-primary {
  background: #fff;
  color: var(--slide-bg);
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.slide-ofertas .acu-btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Categorias: dark buttons on light bg */
.slide-categorias .acu-btn-outline {
  background: color-mix(in srgb, var(--slide-text) 5%, transparent);
  border-color: color-mix(in srgb, var(--slide-text) 15%, transparent);
}

/* ── Media / Product Images ── */
.acu-slide-media {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding-bottom: 20px;
}

/* ── Grouped product composition (Genrod style) ── */
.acu-media-main {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;

  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.8s var(--acu-transition), transform 0.8s var(--acu-transition);
  transition-delay: 0.3s;
}

.acu-media-main img {
  max-height: 420px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));
}

/* Secondary images — positioned relative to group, tight composition */
.acu-media-float {
  position: absolute;
  z-index: 2;
}

.acu-media-float img {
  max-height: 340px;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 8px 25px rgba(0,0,0,0.3));
}

/* Float 1: enters from right, lands to the right of main */
.acu-float-1 {
  right: -10%;
  bottom: 8%;
  z-index: 4;

  opacity: 0;
  transform: translateX(60px) scale(0.85);
  transition: opacity 0.7s var(--acu-transition), transform 0.7s var(--acu-transition);
  transition-delay: 0.5s;
}

.acu-float-1 img {
  max-height: 340px;
}

/* Float 2: enters from left, lands to the left of main */
.acu-float-2 {
  left: -10%;
  bottom: 5%;
  z-index: 2;

  opacity: 0;
  transform: translateX(-60px) scale(0.85);
  transition: opacity 0.7s var(--acu-transition), transform 0.7s var(--acu-transition);
  transition-delay: 0.65s;
}

.acu-float-2 img {
  max-height: 300px;
}

/* Glow behind product group */
.acu-media-main::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 60%;
  bottom: -10%;
  left: 10%;
  border-radius: 50%;
  background: var(--slide-primary);
  opacity: 0.1;
  filter: blur(50px);
  z-index: -1;
}

/* Subtle float animation only on active */
.swiper-slide-active .acu-media-main img {
  animation: acu-float-slow 5s ease-in-out infinite 1s;
}

.swiper-slide-active .acu-float-1 img {
  animation: acu-float-slow 6s ease-in-out infinite 1.5s;
}

.swiper-slide-active .acu-float-2 img {
  animation: acu-float-slow 7s ease-in-out infinite 2s;
}

/* ── Active Slide Animations ── */
.swiper-slide-active .acu-slide-badge,
.swiper-slide-active .acu-slide-title,
.swiper-slide-active .acu-slide-desc,
.swiper-slide-active .acu-slide-btns {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Media group: each piece animates in separately */
.swiper-slide-active .acu-media-main {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.swiper-slide-active .acu-float-1 {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.swiper-slide-active .acu-float-2 {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* ── Navigation Arrows ── */
.acu-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--acu-nav-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--acu-nav-border);
  color: var(--acu-nav-color);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.acu-hero-slider:hover .acu-nav {
  opacity: 1;
}

.acu-nav:hover {
  background: color-mix(in srgb, var(--acu-nav-bg) 72%, transparent);
  transform: translateY(-50%) scale(1.05);
}

.acu-nav-prev { left: 16px; }
.acu-nav-next { right: 16px; }

/* Light slide nav adjustment */
.swiper-slide-active[data-bg-type="gradient"].slide-categorias ~ .acu-nav,
.acu-swiper:has(.swiper-slide-active.slide-categorias) .acu-nav {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.1);
  color: #333;
}

/* ── Bar Navigation (Genrod style) ── */
.acu-bars-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 6px;
  align-items: center;
  max-width: 260px;
  width: 80%;
}

.acu-bar-item {
  flex: 1;
  height: 3px;
  background: var(--acu-bar-track);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.acu-bar-item:hover {
  background: var(--acu-bar-track-hover);
}

.acu-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--acu-bar-fill-global);
  border-radius: 2px;
}

/* Light slide bars */
.acu-swiper:has(.swiper-slide-active.slide-categorias) .acu-bar-item {
  background: rgba(0,0,0,0.12);
}

.acu-swiper:has(.swiper-slide-active.slide-categorias) .acu-bar-item:hover {
  background: rgba(0,0,0,0.22);
}

/* ── Keyframe Animations ── */
@keyframes acu-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes acu-float-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

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

@keyframes acu-pulse {
  0%, 100% { opacity: 0.04; transform: scale(1); }
  50%      { opacity: 0.08; transform: scale(1.1); }
}

@keyframes acu-cat-glow {
  0%   { opacity: 0.04; transform: scale(1) translate(0, 0); }
  100% { opacity: 0.09; transform: scale(1.2) translate(-10px, -15px); }
}

@keyframes acu-ofertas-glow {
  0%   { opacity: 0.04; transform: scale(1); }
  100% { opacity: 0.08; transform: scale(1.3); }
}

@keyframes acu-step-glow {
  0%   { box-shadow: 0 6px 18px rgba(111, 58, 180, 0.16); }
  50%  { box-shadow: 0 14px 34px rgba(111, 58, 180, 0.3); }
  100% { box-shadow: 0 10px 28px rgba(111, 58, 180, 0.22); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet ── */
@media (max-width: 1024px) {
  .acu-slide-inner {
    padding: 30px 30px;
    gap: 30px;
  }

  .acu-slide-media {
    flex: 0 0 40%;
  }

  .acu-media-main img {
    max-height: 340px;
  }

  .acu-float-1 img {
    max-height: 260px;
  }

  .acu-float-2 img {
    max-height: 220px;
  }

  .acu-stepper {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .acu-step__connector {
    display: none;
  }

  .acu-step__label {
    font-size: 18px;
  }

  .acu-stepper__sub,
  .acu-stepper__cta {
    font-size: 18px;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .acu-swiper {
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 500px;
  }

  .acu-slide-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }

  .acu-slide-content {
    align-items: center;
  }

  .acu-slide-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .acu-slide-btns {
    justify-content: center;
  }

  .acu-slide-title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .acu-slide-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .acu-slide-desc {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .acu-btn {
    padding: 10px 22px;
    font-size: 13px;
  }

  .acu-slide-media {
    flex: 0 0 auto;
    height: auto;
    max-height: 180px;
    padding-bottom: 0;
  }

  .acu-stepper-widget {
    width: 100%;
    flex: 0 0 auto;
  }

  .slide-hero .acu-slide-title,
  .is-hero-first .acu-slide-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .slide-hero .acu-trust-badge,
  .is-hero-first .acu-trust-badge {
    font-size: 14px;
  }

  .acu-media-main img {
    max-height: 130px;
  }

  .acu-float-1,
  .acu-float-2 {
    display: none;
  }

  /* Nav arrows */
  .acu-nav {
    width: 36px;
    height: 36px;
    opacity: 1;
  }

  .acu-nav-prev { left: 8px; }
  .acu-nav-next { right: 8px; }

  .acu-nav svg {
    width: 16px;
    height: 16px;
  }

  /* Bar nav */
  .acu-bars-nav {
    bottom: 12px;
    max-width: 200px;
  }

  /* Deco smaller */
  .acu-deco-1 { width: 200px; height: 200px; top: -40px; right: -40px; }
  .acu-deco-2 { width: 120px; height: 120px; }
  .acu-deco-3 { width: 60px; height: 60px; }

  .slide-ofertas .acu-slide-bg::after {
    font-size: 100px;
  }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {
  .acu-swiper {
    max-height: 420px;
  }

  .acu-slide-inner {
    padding: 24px 16px;
    gap: 14px;
  }

  .acu-slide-title {
    font-size: 22px;
  }

  .acu-slide-btns {
    flex-direction: column;
    width: 100%;
  }

  .acu-btn {
    width: 100%;
    justify-content: center;
  }

  .acu-slide-media {
    max-height: 120px;
  }

  .acu-media-main img {
    max-height: 100px;
  }
}

/* ============================================================
   HOTFIX VISUAL ELECTROPC (alta prioridad)
   ============================================================ */
html[data-theme="light"] #acu-hero-slider .swiper-slide.slide-hero,
html[data-theme="light"] #acu-hero-slider .swiper-slide.is-hero-first,
#acu-hero-slider .swiper-slide.slide-hero,
#acu-hero-slider .swiper-slide.is-hero-first {
  --slide-bg: #eeeff8 !important;
  --slide-text: #0f1020 !important;
  --slide-primary: #a130ff !important;
}

#acu-hero-slider .swiper-slide.slide-hero .acu-slide-overlay,
#acu-hero-slider .swiper-slide.is-hero-first .acu-slide-overlay {
  background: linear-gradient(135deg, #eeeff8 0%, #e7e8f5 60%, #e1e3f2 100%) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first {
  --slide-bg: #0a0b1a !important;
  --slide-text: #f1f4ff !important;
  --slide-primary: #b45bff !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-slide-overlay,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-slide-overlay {
  background: linear-gradient(135deg, #0a0b1a 0%, #10122a 55%, #131535 100%) !important;
  opacity: 1 !important;
}

#acu-hero-slider .swiper-slide.slide-hero .acu-slide-bg::before,
#acu-hero-slider .swiper-slide.is-hero-first .acu-slide-bg::before {
  content: '';
  position: absolute;
  inset: -20% -10% -10% -10%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(45% 40% at 12% 72%, rgba(161, 48, 255, 0.18) 0%, rgba(161, 48, 255, 0.02) 65%, transparent 100%),
    radial-gradient(40% 38% at 86% 24%, rgba(96, 114, 255, 0.14) 0%, rgba(96, 114, 255, 0.02) 60%, transparent 100%),
    radial-gradient(30% 28% at 54% 44%, rgba(180, 122, 255, 0.1) 0%, transparent 75%);
  filter: blur(6px);
  animation: acu-hero-aurora 14s ease-in-out infinite alternate;
}

#acu-hero-slider .swiper-slide.slide-hero .acu-slide-bg::after,
#acu-hero-slider .swiper-slide.is-hero-first .acu-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(129, 132, 173, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 132, 173, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 0;
  mask-image: radial-gradient(circle at 52% 45%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 62%, transparent 100%);
  opacity: 0.35;
  animation: acu-hero-grid 22s linear infinite;
}

#acu-hero-slider .swiper-slide.slide-hero .acu-step,
#acu-hero-slider .swiper-slide.is-hero-first .acu-step {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(161, 48, 255, 0.2) !important;
  border-radius: 16px !important;
  min-height: 112px !important;
  padding: 18px 14px !important;
  opacity: 0.5 !important;
  transform: scale(0.96) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-slide-title,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-slide-title {
  color: #f3f5ff !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-slide-desc,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-slide-desc {
  color: rgba(233, 236, 255, 0.78) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-slide-badge,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-slide-badge {
  color: rgba(227, 229, 248, 0.9) !important;
  border-color: rgba(177, 146, 245, 0.38) !important;
  background: rgba(140, 104, 240, 0.14) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-btn-meli,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-btn-meli {
  background: #a130ff !important;
  border-color: #a130ff !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(161, 48, 255, 0.36) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-btn-meli:hover,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-btn-meli:hover {
  box-shadow: 0 10px 30px rgba(161, 48, 255, 0.46) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-step,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-step {
  background: rgba(20, 23, 50, 0.72) !important;
  border-color: rgba(165, 122, 255, 0.3) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-step.is-active,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-step.is-active {
  background: rgba(45, 34, 90, 0.78) !important;
  border-color: rgba(181, 131, 255, 0.5) !important;
  box-shadow: 0 12px 30px rgba(36, 21, 76, 0.6) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-step__label,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-step__label {
  color: rgba(226, 230, 255, 0.92) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-step__connector,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-step__connector {
  background: rgba(173, 143, 255, 0.55) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-stepper__sub,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-stepper__sub {
  color: rgba(202, 209, 245, 0.64) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-stepper__cta,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-stepper__cta {
  color: #cbd1f5 !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-trust-badge,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-trust-badge {
  color: rgba(220, 225, 255, 0.9) !important;
}

html[data-theme="dark"] #acu-hero-slider .swiper-slide.slide-hero .acu-trust-badge svg,
html[data-theme="dark"] #acu-hero-slider .swiper-slide.is-hero-first .acu-trust-badge svg {
  color: #ba83ff !important;
}

#acu-hero-slider .swiper-slide.slide-hero .acu-step.is-active,
#acu-hero-slider .swiper-slide.is-hero-first .acu-step.is-active {
  opacity: 1 !important;
  transform: scale(1) !important;
  box-shadow: 0 10px 28px rgba(111, 58, 180, 0.22) !important;
  border-color: rgba(161, 48, 255, 0.42) !important;
  background: #f3ebff !important;
}

#acu-hero-slider .acu-bars-nav .acu-bar-fill {
  background: #A130FF !important;
}

#acu-hero-slider .swiper-slide.slide-hero .acu-slide-content,
#acu-hero-slider .swiper-slide.is-hero-first .acu-slide-content,
#acu-hero-slider .swiper-slide.slide-hero .acu-stepper-widget,
#acu-hero-slider .swiper-slide.is-hero-first .acu-stepper-widget {
  position: relative;
  z-index: 7;
}

@keyframes acu-hero-aurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(1.5%, -1.2%, 0) scale(1.05);
    opacity: 0.95;
  }
  100% {
    transform: translate3d(-1.2%, 1.4%, 0) scale(1.03);
    opacity: 0.8;
  }
}

@keyframes acu-hero-grid {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 72px 72px, 72px 72px;
  }
}
