/**
 * Дочерние термины vehicle (платформы/модели) на /zapchasti/{марка}[/{платформа}].
 * Тот же визуальный язык, что donor-model-row.css/similar-donors.css —
 * border-radius на var(--radius), не хардкод 12px из мокапа.
 */

.vehicle-children {
  padding: 16px 0;
}

.vehicle-children__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--gray-900, #1a1a1a);
}

.vehicle-children__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vehicle-child-card {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border: 1.5px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius, 4px);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.vehicle-child-card:hover {
  border-color: var(--blue, #1a56db);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .09);
  transform: translateY(-2px);
}

.vehicle-child-card__name {
  font-weight: 600;
  color: var(--gray-900, #1a1a1a);
}

@media (max-width: 767px) {
  .vehicle-children__grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vehicle-child-card {
    flex-shrink: 0;
  }
}
