/* Only the two exact routes marked by production-handler; desktop only.
   Keep complete original photographs and existing thumbnail/order controls. */
@media(min-width:761px){
 body.g-preview.pd-product[data-cv-gallery-fit="portrait"] .product-media .gallery-main{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:clamp(280px,calc(100dvh - 280px),640px)!important;
  min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
 }
 body.g-preview.pd-product[data-cv-gallery-fit="portrait"] .product-media .gallery-main>img:not([hidden]){
  display:block!important;position:static!important;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center center!important;margin:0!important;
 }
}
