/* =========================
   vehiculo.css (limpio)
   ========================= */

/* ===== Variables / layout ===== */
:root { --topbar-h: 64px; } /* ajustá si cambia la altura visual de la barra */

/* ===== Galería (imagen principal + thumbs) ===== */
.ratio-cover img { object-fit: cover; width: 100%; height: 100%; }
.thumb { cursor: pointer; border: 1px solid #eee; border-radius: .5rem; }
.thumb.active { border-color: #0d6efd; }

/* ===== Especificaciones: pila vertical (dato debajo de dato) ===== */
.vehicle-specs-stack{
  display: grid;
  gap: .5rem;
  font-size: .95rem; /* más compacto que 'small' de Bootstrap */
}

.spec-row{
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: .5rem;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: .5rem;
  padding: .6rem .75rem;
}

/* icono inline (Bootstrap Icons en SVG) */
.spec-icon svg{
  width: 18px; height: 18px;
  display: block;
  fill: currentColor;
  color: #6c757d;
  margin-top: .15rem; /* alineación óptica con el texto */
}

/* texto */
.spec-text{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.spec-label{
  color: #6c757d;
  font-weight: 500;
  margin-bottom: .1rem;
}
.spec-value{
  color: #212529;
  font-weight: 600;
  word-break: break-word;
}

/* Desktop: un poco más denso */
@media (min-width: 992px){
  .vehicle-specs-stack{ gap: .4rem; }
  .spec-row{ padding: .55rem .7rem; }
}

