.supah-carousel {
  overflow: hidden;
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: pan-y;
  width: 100%;
  position: relative;
  z-index: 1;
  /* Cambiar de 100vh a auto para que se ajuste al contenido */
  height: auto;
}
  
  .supah-carousel.is-dragging {
    cursor: -webkit-grabbing;
    cursor: grabbing;
  }
  .supah-lock-scroll {
    touch-action: none;
    overscroll-behavior: none;
  }
  .supah-carousel__wrapper {
    counter-reset: count;
    display: flex;
    position: absolute;
    z-index: 1;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateZ(0); /* ayuda a forzar composición propia */
  }
  .supah-carousel__item {
    counter-increment: count;
    position: inherit;
    z-index: 1;
    top: 0;
    left: 0;
    width: 75vh;
    padding: 0 1.5vw;
    overflow: hidden;
    will-change: transform;
  backface-visibility: hidden;
}
@media (max-width: 650px) {
  .supah-carousel__item {
    width: 85%;
}
}
.supah-carousel__item {
  will-change: transform;
  backface-visibility: hidden;
}
.supah-carousel__wrapper {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

  
  .supah-carousel__item figure {
    z-index: 1;
    display: block;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: auto;
    transform-origin: center;
  }
  
  .supah-carousel__version {
    display: inline-block;
    position: fixed;
    text-align: center;
    z-index: 1;
    text-decoration: none;
    background: #333;
    font-family: sans-serif;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 10px;
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2);
    top: -30px;
    right: -50px;
    transform: rotate(45deg);
    transform-origin: 0% 100%;
    border-radius: 0;
    padding: 8px 30px;
    font-size: 11px;
  }
  
  .supah-carousel__version:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100px;
    bottom: 0;
    right: 0%;
    background: transparent;
  }
  
  @media (max-width: 767px) {
    .supah-carousel__version {
      transform: scale(0.6) rotate(45deg);
      right: -100px;
    }
  }
  