/* L8 window: use a complete, native 3:2 photographed set for TAI 5 / TAI 7. */
.vehicle-detail .vehicle-cabin-photo img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
/* Never leave the previous colour visible beneath the new selection label. */
.vehicle-family:is([data-family="tai7"], [data-family="bao5"]) #cabin-gallery[aria-busy="true"] #cabin-image {
  visibility: hidden;
}
/* Han's wide original compositions fill their width without artificial bars. */
.vehicle-family[data-family="han"] .vehicle-cabin-photo img {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
}
.vehicle-family[data-family="han"] #cabin-gallery[aria-busy="true"] #cabin-image {
  visibility: hidden;
}
.vehicle-cabin-details { margin-top: 44px; }
.vehicle-cabin-details h3 { font-size: clamp(27px, 3vw, 42px); font-weight: 500; letter-spacing: -.025em; }
.vehicle-cabin-details > .vehicle-note { margin: 10px 0 24px; max-width: 65ch; }
.vehicle-cabin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
.vehicle-cabin-detail-grid img { display: block; width: 100%; height: auto; background: #141414; }
.vehicle-cabin-detail-grid figcaption { padding-top: 12px; color: #e5e5e5; font-size: 15px; }
@media (max-width: 820px) {
  .vehicle-cabin-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .vehicle-cabin-details { margin-top: 32px; }
}
