/* ==================================================
   CARRUSEL DE EQUIPOS - SCROLL HORIZONTAL
================================================== */

.pd-col-2 {
  display: flex;
  width: 100%;
  gap: 20px;
}

.pd-col-2 > div {
  flex: 1;
  min-width: 0;
}

/* CONTENEDOR CON SCROLL */
.carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

/* TRACK QUE CONTIENE LAS IMÁGENES */
.carousel-track {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}

/* IMÁGENES - 3 VISIBLES EN PC */
.carousel-track img {
  width: calc((50vw - 80px) / 3);
  min-width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ==================================================
   GALERÍA HORIZONTAL INFINITA (SIN CAMBIOS)
================================================== */
.gallery-horizontal {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-loop 45s linear infinite;
  will-change: transform;
}

.gallery-track img {
  height: 260px;
  width: auto;
  flex: 0 0 auto;
  margin-right: 16px;
  object-fit: contain;
  border-radius: 4px;
}

.gallery-horizontal:hover .gallery-track {
  animation-play-state: paused;
}

@keyframes gallery-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================================================
   RESPONSIVE MOBILE
================================================== */
@media (max-width: 768px) {
  
  /* Carrusel equipos */
  .carousel-track img {
    width: 85vw;
    min-width: 280px;
    height: 220px;
  }
  
  /* Galería horizontal (SIN CAMBIOS) */
  .gallery-horizontal {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .gallery-horizontal::-webkit-scrollbar {
    display: none;
  }
  
  .gallery-track {
    animation: none !important;
    gap: 0;
  }
  
  .gallery-track img {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    height: 280px;
    object-fit: cover;
    scroll-snap-align: start;
  }
}