.doble-sliders-wrapper {
  display: flex;
  flex-wrap: wrap;     
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.col-slider {
  width: 100%;
  box-sizing: border-box;
}

.col-slider h2 {
  text-align: center;
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

/* Swiper debe ajustarse a su contenedor */
.swiper {
  width: 100%;
  overflow: hidden;
}

/* Cada slide ocupará automáticamente el ancho calculado por Swiper */
.swiper-slide {
  background: #f8f8f8;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Imagen cuadrada */
.swiper-slide .image-container {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;      
  overflow: hidden;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
.swiper-slide .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}
.swiper-slide h3 {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  color: #222;
}
.swiper-slide p {
  font-size: 0.8rem;
  color: #666;
}

.swiper-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.swiper-loader::after {
  content: "";
  display: block;
  width: 40px;       
  height: 40px;      
  border: 4px solid #ccc;
  border-top: 4px solid #0071a1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* animación spinner */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.loader-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px; 
  background: #f9f9f9;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: var(#34ef5a);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}