/* =========================================================
   ABEJITA DORADA — CARRUSEL CRUZADO OFICIAL V981
   Animación original preservada. Componente global reutilizable.
   ========================================================= */

.abdz-carousel-section[hidden] {
  display: none !important;
}

    .abdz-product-carousel,
    .abdz-product-carousel * {
      box-sizing: border-box;
    }

    .abdz-product-carousel {
      --abdz-gap: 30px;
      --abdz-card-w: 270px;
      --abdz-card-h: 455px;
      --abdz-card-radius: 16px;
      --abdz-info-bg: #EAF3F8;
      --abdz-line: rgba(10, 10, 13, .16);
      --abdz-shadow-card: 0 18px 45px rgba(10, 10, 13, .055);
      --abdz-shadow-card-center: 0 28px 64px rgba(10, 10, 13, .105);
      width: min(var(--max), 100%);
      margin: 0 auto;
      position: relative;
      overflow: visible;
      padding: 34px 0 42px;
      background: transparent;
      isolation: isolate;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .abdz-product-carousel::before,
    .abdz-product-carousel::after {
      content: none;
      display: none;
    }

    .abdz-product-carousel::before {
      left: 0;
      background: none;
    }

    .abdz-product-carousel::after {
      right: 0;
      background: none;
    }

    .abdz-carousel-viewport {
      position: relative;
      overflow: hidden;
      border-radius: 18px;
      cursor: grab;
      user-select: none;
      touch-action: pan-y;
      padding: 34px 0 42px;
      margin: -34px 0 -42px;
      mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    }

    .abdz-carousel-viewport.is-dragging {
      cursor: grabbing;
    }

    .abdz-carousel-track {
      position: relative;
      z-index: 3;
      display: flex;
      align-items: stretch;
      gap: var(--abdz-gap);
      width: max-content;
      transform: translate3d(0,0,0);
      will-change: transform;
    }

    .abdz-carousel-card {
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      --abdz-focus: 0;
      --abdz-wave: 0px;
      flex: 0 0 var(--abdz-card-w);
      width: var(--abdz-card-w);
      height: var(--abdz-card-h);
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      overflow: visible;
      border-radius: var(--abdz-card-radius);
      transform-origin: center bottom;
      transform: translateY(calc(((1 - var(--abdz-focus)) * 10px) + var(--abdz-wave))) scale(calc(.91 + var(--abdz-focus) * .12));
      opacity: calc(.55 + var(--abdz-focus) * .45);
      filter: saturate(calc(.92 + var(--abdz-focus) * .14));
      transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, filter .18s ease;
      contain: layout paint;
      isolation: isolate;
    }

    .abdz-carousel-card.is-center {
      z-index: 4;
    }

    .abdz-product-carousel.is-pressing .abdz-carousel-card {
      transform: translateY(0) scale(.96);
      opacity: .68;
      filter: saturate(.92);
    }

    .abdz-product-carousel.is-pressing .abdz-carousel-card.is-pressed {
      z-index: 20;
      transform: translateY(-10px) scale(1.055);
      opacity: 1;
      filter: saturate(1.07);
    }

    .abdz-product-carousel.is-pressing::before,
    .abdz-product-carousel.is-pressing::after {
      opacity: .38;
    }

    .abdz-card-window {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      border-radius: var(--abdz-card-radius) var(--abdz-card-radius) 0 0;
      background:
        var(--abdz-image, none),
        radial-gradient(circle at 52% 36%, rgba(255,255,255,.50), transparent 28%),
        linear-gradient(135deg, #E6F0F7 0%, #C7D8E4 50%, #F3FAFD 100%);
      background-size: cover, auto, auto;
      background-position: center, center, center;
      box-shadow: var(--abdz-shadow-card);
    }

    .abdz-card-window::before {
      content: "";
      position: absolute;
      left: -26%;
      top: -34%;
      width: 88%;
      height: 178%;
      border-radius: 50%;
      background:
        radial-gradient(ellipse at center,
          rgba(255,255,255,.00) 0%,
          rgba(255,255,255,.10) 30%,
          rgba(255,255,255,.42) 47%,
          rgba(255,255,255,.14) 58%,
          rgba(255,255,255,.00) 74%);
      transform: rotate(-28deg) translate3d(-8%, -2%, 0);
      transform-origin: center;
      filter: blur(1.2px);
      opacity: .58;
      mix-blend-mode: screen;
      animation: abdz-shine 8.8s cubic-bezier(.42,0,.18,1) infinite;
      pointer-events: none;
    }

    .abdz-card-window::after {
      content: "";
      width: 30%;
      max-width: 86px;
      min-width: 58px;
      aspect-ratio: 3 / 4.2;
      border: 1px solid rgba(10, 10, 13, .22);
      background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.10));
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .20),
        0 14px 34px rgba(10, 10, 13, .10);
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }

    .abdz-card-window.has-image::after {
      display: none;
    }

    @keyframes abdz-shine {
      0%, 18% {
        transform: rotate(-28deg) translate3d(-14%, -6%, 0);
        opacity: 0;
      }
      28% { opacity: .30; }
      46% {
        transform: rotate(-28deg) translate3d(10%, 4%, 0);
        opacity: .68;
      }
      62% {
        transform: rotate(-28deg) translate3d(24%, 10%, 0);
        opacity: .18;
      }
      100% {
        transform: rotate(-28deg) translate3d(30%, 14%, 0);
        opacity: 0;
      }
    }

    .abdz-card-image {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      border-radius: inherit;
      user-select: none;
      pointer-events: none;
    }

    .abdz-card-info {
      flex: 1 1 auto;
      min-height: 148px;
      padding: 15px 16px 16px;
      background: var(--abdz-info-bg);
      color: var(--ink);
      border-radius: 0 0 var(--abdz-card-radius) var(--abdz-card-radius);
      overflow: hidden;
      box-shadow: var(--abdz-shadow-card);
    }

    .abdz-card-family {
      margin: 0 0 9px;
      color: var(--ink);
      font-size: 10px;
      line-height: 1;
      letter-spacing: .075em;
      font-weight: 800;
      text-transform: uppercase;
    }

    .abdz-card-title {
      margin: 0 0 12px;
      min-height: 34px;
      color: var(--ink);
      font-size: 12px;
      line-height: 1.34;
      letter-spacing: .045em;
      font-weight: 800;
      text-transform: uppercase;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      overflow-wrap: anywhere;
    }

    .abdz-card-intensity {
      margin: 0 0 7px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--ink);
      font-size: 13px;
      line-height: 1.1;
    }

    .abdz-dots {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transform: translateY(1px);
    }

    .abdz-dots span {
      width: 8px;
      height: 9.2px;
      position: relative;
      display: inline-block;
      background: #C7A14A;
      clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
    }

    .abdz-dots span::after {
      content: "";
      position: absolute;
      inset: 1.35px;
      background: var(--abdz-info-bg);
      clip-path: inherit;
    }

    .abdz-dots span.is-off {
      background: rgba(10, 10, 13, .22);
    }

    .abdz-card-price {
      margin: 0 0 14px;
      color: var(--ink);
      font-size: 12px;
      line-height: 1.2;
    }

    .abdz-buy-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      width: max-content;
      color: var(--ink);
      font-size: 11px;
      line-height: 1;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .02em;
      text-decoration: underline;
      text-underline-offset: 2px;
      text-decoration-thickness: 1px;
      cursor: pointer;
    }

    .abdz-buy-icon-img {
      width: 53px;
      height: 53px;
      display: inline-block;
      object-fit: contain;
      flex: 0 0 auto;
      margin: -17px -12px -17px -13px;
      transform: translateY(-1px);
      pointer-events: none;
      user-select: none;
    }

    @media (hover: hover) {
      .abdz-carousel-card:hover .abdz-card-window {
        transform: translateY(-2px);
      }

      .abdz-carousel-card:hover .abdz-buy-link {
        opacity: .68;
      }
    }

    .designer-strip {
      max-width: var(--max);
      margin: -22px auto 74px;
      padding: 0 24px;
    }

    .designer-strip__inner {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 18px 0;
      text-align: center;
      color: var(--ink);
      font-size: 11px;
      letter-spacing: .16em;
      text-transform: uppercase;
      font-weight: 760;
    }

    .abdz-carousel-section {
      max-width: var(--max);
      margin: 0 auto 96px;
      padding: 0 24px;
      position: relative;
      z-index: 2;
      isolation: isolate;
    }

    .abdz-carousel-section::before {
      content: none;
      display: none;
    }

    @media (max-width: 760px) {
      .abdz-carousel-section {
        margin: 0 auto 82px;
        padding: 0 18px;
      }
    }

    @media (max-width: 760px) {
      .designer-strip {
        margin: -28px auto 54px;
        padding: 0 18px;
      }

      .designer-strip__inner {
        padding: 16px 0;
        font-size: 10px;
        letter-spacing: .15em;
      }

      .abdz-carousel-section {
        padding: 0 10px;
      }

      .abdz-product-carousel {
        --abdz-gap: 10px;
        padding: 20px 0 28px;
      }

      .abdz-product-carousel::before,
      .abdz-product-carousel::after {
        width: 14px;
      }

      .abdz-carousel-viewport {
        border-radius: 16px;
        padding: 20px 0 28px;
        margin: -20px 0 -28px;
      }

      .abdz-carousel-card {
      color: inherit;
      text-decoration: none;
      cursor: pointer;
        transform: translate3d(0,0,0) scale(.995);
        opacity: 1;
        filter: none;
        transition: none;
        backface-visibility: hidden;
      }

      .abdz-card-window::before {
        content: "";
        animation: none;
        opacity: .24;
        filter: blur(.8px);
        transform: rotate(-28deg) translate3d(-10%, -2%, 0);
      }

      .abdz-product-carousel.is-pressing .abdz-carousel-card {
        transform: scale(.98);
        opacity: .78;
        filter: none;
      }

      .abdz-product-carousel.is-pressing .abdz-carousel-card.is-pressed {
        transform: scale(1.015);
        opacity: 1;
        filter: none;
      }

      .abdz-card-info {
        min-height: 126px;
        padding: 10px 9px 11px;
      }

      .abdz-card-family {
        margin-bottom: 7px;
        font-size: 8px;
        letter-spacing: .065em;
      }

      .abdz-card-title {
        margin-bottom: 9px;
        min-height: 25px;
        font-size: 9.4px;
        line-height: 1.25;
        letter-spacing: .035em;
      }

      .abdz-card-intensity {
        margin-bottom: 6px;
        gap: 5px;
        font-size: 9.8px;
        white-space: nowrap;
      }

      .abdz-dots {
        gap: 3.2px;
      }

      .abdz-dots span {
        width: 7px;
        height: 8px;
      }

      .abdz-dots span::after {
        inset: 1.2px;
      }

      .abdz-card-price {
        margin-bottom: 10px;
        font-size: 9.6px;
        line-height: 1.15;
        white-space: nowrap;
      }

      .abdz-buy-link {
        gap: 4px;
        font-size: 9.6px;
        letter-spacing: .015em;
      }

      .abdz-buy-icon-img {
        width: 34px;
        height: 34px;
        margin: -10px -7px -10px -8px;
      }
    }

    @media (max-width: 430px) {
      .abdz-product-carousel {
        --abdz-gap: 8px;
      }

      .abdz-product-carousel::before,
      .abdz-product-carousel::after {
        width: 12px;
      }

      .abdz-card-info {
        min-height: 122px;
        padding: 10px 8px 10px;
      }

      .abdz-card-family {
        font-size: 7.7px;
      }

      .abdz-card-title {
        font-size: 9px;
        min-height: 24px;
      }

      .abdz-card-intensity,
      .abdz-card-price,
      .abdz-buy-link {
        font-size: 9.2px;
      }

      .abdz-buy-icon-img {
        width: 32px;
        height: 32px;
        margin: -9px -7px -9px -8px;
      }
    }


/* Tipografía y datos de tarjeta encapsulados para que el componente
   no dependa de las tarjetas principales del catálogo. */
.abdz-product-carousel .product-info {
  flex: 1 1 auto;
  min-height: 148px;
  padding: 15px 16px 16px;
  background: #EAF3F8;
  color: var(--ink, #0a0a0d);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}
.abdz-product-carousel .product-family {
  margin: 0 0 9px;
  color: rgba(10,10,13,.90);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .075em;
  font-weight: 800;
  text-transform: uppercase;
}
.abdz-product-carousel .product-name {
  margin: 0 0 8px;
  color: var(--ink, #0a0a0d);
  font-size: 12px;
  line-height: 1.34;
  letter-spacing: .045em;
  font-weight: 800;
  text-transform: uppercase;
}
.abdz-product-carousel .product-type {
  margin: -4px 0 8px;
  color: var(--ink, #0a0a0d);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}
.abdz-product-carousel .product-format {
  margin: -4px 0 8px;
  color: rgba(10,10,13,.78);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 600;
}
.abdz-product-carousel .product-intensity {
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink, #0a0a0d);
  font-size: 13px;
  line-height: 1.1;
}
.abdz-product-carousel .dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transform: translateY(1px);
}
.abdz-product-carousel .dots span {
  width: 8px;
  height: 9.2px;
  position: relative;
  display: inline-block;
  background: #C7A14A;
  clip-path: polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%);
}
.abdz-product-carousel .dots span::after {
  content: "";
  position: absolute;
  inset: 1.35px;
  background: #EAF3F8;
  clip-path: inherit;
}
.abdz-product-carousel .dots span.off { background: rgba(10,10,13,.22); }
.abdz-product-carousel .buy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  color: var(--ink, #0a0a0d);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.abdz-product-carousel .buy-icon-img {
  width: 53px;
  height: 53px;
  display: inline-block;
  object-fit: contain;
  flex: 0 0 auto;
  margin: -17px -12px -17px -13px;
  transform: translateY(-1px);
  pointer-events: none;
  user-select: none;
}
@media (max-width:760px) {
  .abdz-product-carousel .product-info { min-height:126px; padding:10px 9px 11px; }
  .abdz-product-carousel .product-family { margin-bottom:7px; font-size:8px; letter-spacing:.065em; }
  .abdz-product-carousel .product-name { margin-bottom:9px; font-size:9.4px; line-height:1.25; letter-spacing:.035em; }
  .abdz-product-carousel .product-type,
  .abdz-product-carousel .product-format { font-size:9.6px; }
  .abdz-product-carousel .product-intensity { margin-bottom:6px; gap:5px; font-size:9.8px; white-space:nowrap; }
  .abdz-product-carousel .dots { gap:3.2px; }
  .abdz-product-carousel .dots span { width:7px; height:8px; }
  .abdz-product-carousel .dots span::after { inset:1.2px; }
  .abdz-product-carousel .buy-link { gap:4px; font-size:9.6px; letter-spacing:.015em; }
  .abdz-product-carousel .buy-icon-img { width:34px; height:34px; margin:-10px -7px -10px -8px; }
}
@media (max-width:430px) {
  .abdz-product-carousel .product-info { min-height:122px; padding:10px 8px; }
  .abdz-product-carousel .product-family { font-size:7.7px; }
  .abdz-product-carousel .product-name { font-size:9px; }
  .abdz-product-carousel .product-intensity,
  .abdz-product-carousel .buy-link { font-size:9.2px; }
  .abdz-product-carousel .buy-icon-img { width:32px; height:32px; margin:-9px -7px; }
}


/* V981 — navegación deliberada: solo VER PERFIL abre una ficha. */
.abdz-product-carousel .abdz-carousel-card {
  cursor: grab;
}
.abdz-product-carousel .buy-link {
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.abdz-carousel-viewport.is-dragging .abdz-carousel-card,
.abdz-carousel-viewport.is-dragging .buy-link {
  cursor: grabbing;
}


/* V981 — VER PERFIL queda aislado del gesto de arrastre. */
.abdz-product-carousel .buy-link {
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   V1125 — Tarjetas del carrusel sin neblina ni reflejo blanco.
   Se conservan movimiento, escala, arrastre y desvanecido lateral.
   ========================================================= */
.abdz-carousel-card {
  opacity: 1 !important;
  filter: none !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.abdz-product-carousel.is-pressing .abdz-carousel-card,
.abdz-product-carousel.is-pressing .abdz-carousel-card.is-pressed {
  opacity: 1 !important;
  filter: none !important;
}

.abdz-card-window::before {
  content: none !important;
  display: none !important;
  animation: none !important;
}
