.vehicle-gallery { min-width: 0; }
.vehicle.reverse .vehicle-gallery { order: 2; }
.vehicle-gallery .vehicle-visual { aspect-ratio: 4 / 3; }
.vehicle-gallery .vehicle-visual img { object-fit: contain; }
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 8px;
  scrollbar-color: var(--brass-soft) var(--ink);
}
.gallery-thumbnail {
  flex: 0 0 76px;
  padding: 0;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
  cursor: pointer;
}
.gallery-thumbnail img { width: 76px; height: 55px; object-fit: contain; }
.gallery-thumbnail[aria-pressed="true"] { border-color: var(--brass); }
.gallery-thumbnail:hover { border-color: var(--ivory-soft); }
.gallery-thumbnail:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }
.gallery-caption { margin-top: 10px; color: var(--ivory-soft); font-size: 12px; }
.vehicle-price { margin: 0 0 24px; font-size: 18px; color: var(--ivory); }
.vehicle-gallery .vehicle-visual { transition: opacity 0.2s; }
.vehicle-gallery[aria-busy="true"] .vehicle-visual { opacity: 0.55; }
.vehicle-gallery .gallery-status { color: var(--ivory-soft); font-size: 12px; margin-top: 8px; }
.vehicle-gallery .gallery-status:empty { display: none; }
.gallery-enlarge {
  margin-top: 12px;
  padding: 6px 0;
  font: inherit;
  font-size: 12px;
  color: var(--ivory);
  background: none;
  border: none;
  border-bottom: 1px solid var(--brass-soft);
  cursor: pointer;
}
.photo-viewer {
  width: min(1200px, 94vw);
  max-height: 94vh;
  margin: auto;
  padding: 20px;
  border: 1px solid var(--ink-line);
  background: var(--ink);
  color: var(--ivory);
}
.photo-viewer::backdrop { background: rgba(5, 5, 6, 0.9); }
.photo-viewer img { max-height: 76vh; width: 100%; object-fit: contain; }
.photo-viewer p { font-size: 13px; margin-top: 14px; }
.photo-viewer-close { display: block; margin: 0 0 18px auto; padding: 8px 12px; background: var(--ivory); color: var(--ink); border: none; font: inherit; font-size: 13px; cursor: pointer; }
.vehicle-visual.placeholder { background: var(--ink-soft); }
.vehicle-visual.placeholder::before { display: none; }
.vehicle-spec .sv small { display: block; font-family: var(--sans); font-size: 11px; color: var(--ivory-soft); margin-top: 6px; }
@media (max-width: 900px) {
  .vehicle.reverse .vehicle-gallery { order: 0; }
}
.vehicle-visual .vstatus.vstatus-sold { background: var(--ivory); color: var(--ink); }
