#sf-part > [data-close] { z-index: 2; }
#sf-part .ktm-part-detail-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 400px, 51vh);
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
#sf-part .ktm-part-detail-photo:has(> img[hidden]) { display: none; }
#sf-part .ktm-part-detail-photo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

@media (max-width: 800px) {
  #sf-part .ktm-part-detail-photo { width: min(100%, 32vh); }
}
