/* Sección del carrusel */
.carrusel-similares {
  margin: 40px auto;
  max-width: 1100px;
}

.carrusel-similares h2 {
  font-size: 1.5rem;
  font-weight: 400;
  font-family: "Nunito Sans", "Poppins", sans-serif;
  color: #222;
  margin-bottom: 20px;
  text-align: center;
}

.carrusel-contenedor {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scroll-behavior: smooth; /* movimiento suave */
}

/* Card de cada auto */
.carrusel-card {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 16px;
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carrusel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Imagen */
.carrusel-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.carrusel-card:hover img {
  transform: scale(1.04);
}

/* Título y detalles */
.carrusel-card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 6px 0;
  font-family: "Nunito Sans", "Poppins", sans-serif;
}

.carrusel-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 4px 0;
  font-weight: 300;
}

.carrusel-card .precio {
  font-size: 1.25rem;
  font-weight: 501;
  color: #004080;
  margin-bottom: 8px;
}

/* Botón VER MÁS */
.carrusel-card .btn-vermas {
  display: inline-block;
  background: #f5f5f5;
  color: #222;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.carrusel-card .btn-vermas:hover {
  background: #004080;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .carrusel-card {
    flex: 0 0 80%;
  }
}

.carrusel-card {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 16px;
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.carrusel-contenedor {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  
  /* Ocultar scrollbar */
  scrollbar-width: none; /* Firefox */
}

.carrusel-contenedor::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
