body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  padding-top: 62px;
  background: #f0f2f5;
  color: #1c1c1c;
}

/* Contenedor principal */
main.catalogo-sin-promos {
  max-width: 1400px;
  margin: auto;
  padding: 30px 15px;
}

/* Grid de vehículos usando Flexbox */
.vehiculos-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  justify-content: space-between !important;
}

/* Tarjeta de vehículo */
.vehiculo {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 por fila */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 500px;
}

.vehiculo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Imagen principal sin esquinas redondeadas */
.vehiculo-img-container img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 0 !important; /* sin redondeo */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.vehiculo:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Contenido con scroll */
.vehiculo-contenido {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1rem;
}

/* Scroll personalizado */
.vehiculo-contenido::-webkit-scrollbar {
  width: 6px;
}

.vehiculo-contenido::-webkit-scrollbar-track {
  background: #f0f2f5; /* mantiene el fondo claro */
  border-radius: 3px;
}

.vehiculo-contenido::-webkit-scrollbar-thumb {
  background: #FFD700; /* amarillo brillante */
  border-radius: 3px;
}

/* Opcional: hover más visible */
.vehiculo-contenido::-webkit-scrollbar-thumb:hover {
  background: #FFC107; /* amarillo más intenso al pasar el mouse */
}


/* Marca y modelo */
.vehiculo-contenido h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #003057; /* Azul Chevrolet */
}

.vehiculo-frase {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 0.3rem 0;
}

.vehiculo-frase2 {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 0.8rem;
}

/* Botón de acción */
.vehiculo-btns {
  padding: 12px 20px 20px;
  display: flex;
  justify-content: flex-end;
  margin-top: auto; /* botón siempre abajo */
}

/* Botón llamativo con degradado */
.vehiculo-btns a.btn-conocelo {
  padding: 12px 24px !important;
  background: linear-gradient(135deg, #FFD700, #FFB300) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-block !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.vehiculo-btns a.btn-conocelo:hover {
  background: linear-gradient(135deg, #ffffff, #eeeeee) !important;
  color: #000000 !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25) !important;
}

/* Responsive */
@media (max-width: 992px) {
  .vehiculo {
    flex: 0 0 calc((100% - 24px) / 2); /* 2 por fila */
  }
}

@media (max-width: 600px) {
  .vehiculo {
    flex: 0 0 100%; /* 1 por fila */
  }
}

/* Tabs */
.tabs-container {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  background: #003057;
  position: sticky;
  top: 62px;
  z-index: 2;
}

.tab-btn {
  flex: 1;
  padding: 14px;
  background-color: transparent;
  color: white;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active {
  background-color: #0052a5;
}

/* Buscador */
.buscador-container {
  width: 100%;
  padding: 12px 0;
  display: flex;
  justify-content: center;
}

.buscador-input {
  width: 100%;
  max-width: 400px;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
