/* L8's complete-photo window, reused for every JETOUR cabin finish and view. */
.vehicle-family[data-family^="jetour-"] .vehicle-cabin-photo img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
.vehicle-family[data-family^="jetour-"] .vehicle-gallery-frame img {
  height: auto;
  object-fit: contain;
}

/* The replacement black i-DM photographs fill the width at their native ratio.
   Keep the complete car and its original ground contact in every new view. */
.vehicle-family[data-family="jetour-t2"] .vehicle-gallery-frame:has(img[src*="assets/jetour-t2-black-replacement/"]) {
  display: block;
  aspect-ratio: auto;
}
.vehicle-family[data-family="jetour-t2"] .vehicle-gallery-frame img[src*="assets/jetour-t2-black-replacement/"] {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  mask-image: none;
  padding: 0;
}

/* L7's reviewed 3840×2160 photographs fill the shared 16:9 window. */
.vehicle-family[data-family="jetour-shanhai-l7"] .vehicle-gallery-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  mask-image: none;
}
