.carrusel-productos {
  padding: 40px 0;
  background-color: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.carrusel-productos h2 {
  font-size: 1.6rem;
  margin: 0 auto 20px;
  color: #F31010;
  max-width: 1200px;
  padding: 0 20px;
}

/* Contenedor con scroll horizontal */
.carrusel-contenedor {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.carrusel-contenedor::-webkit-scrollbar {
  height: 6px;
}

.carrusel-contenedor::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 3px;
}

/* Ítems del carrusel */
.carrusel-item {
  flex: 0 0 calc((1200px - 100px) / 6); /* 6 ítems visibles con 20px gap */
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 12px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  min-width: 0;
}

.carrusel-item:hover {
  transform: scale(1.03);
}

.vehiculo-imagen img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0px;
}

.vehiculo-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #fff;
}

.vehiculo-info p {
  font-size: 0.9rem;
  color: #BABEC0;
}

.vehiculo-info .precio {
  color: #F31010;
  font-weight: 600;
}

/* Mobile: 1 auto por vista */
@media (max-width: 768px) {
  .carrusel-contenedor {
    padding: 0 12px;
  }

  .carrusel-item {
    flex: 0 0 100%;
  }

  .vehiculo-imagen img {
    height: 180px;
  }
}
