/* Product photography only; BASE label badges keep their own dimensions. */
body.shop .it .ph,
body.shop .it.feature .ph,
body.shop .items>.it:first-child .ph{
  position:relative;width:100%;height:auto!important;min-height:0;
  aspect-ratio:1 / 1!important;flex:0 0 auto!important;display:block;
}
body.shop .it .ph>img:not(.label_image){
  position:absolute;inset:0;display:block;width:100%;height:100%;
  max-width:100%;max-height:100%;object-fit:cover;object-position:center;
}
body#shopDetailPage #slideImg .imgBox{
  position:relative;display:block;width:100%;height:auto!important;
  min-height:0;aspect-ratio:1 / 1!important;
}
body#shopDetailPage #slideImg .imgBox>a{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  padding:0;border:0;
}
body#shopDetailPage #slideImg .imgBox>a>img:not(.label_image){
  position:absolute;inset:0;display:block;width:100%;height:100%;
  max-width:100%;max-height:100%;object-fit:cover;object-position:center;
}
body#shopDetailPage #slideImgPager a{
  padding:0;overflow:hidden;
}
body#shopDetailPage #slideImgPager .smallImgBox{
  position:relative;width:100%;height:auto!important;aspect-ratio:1 / 1;overflow:hidden;
}
body#shopDetailPage #slideImgPager .smallImgBox>img:not(.label_image){
  position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;
}
.maron-lightbox .maron-lightbox-photo{
  aspect-ratio:1 / 1;width:min(100%,calc(100dvh - 116px));height:auto;object-fit:contain;
}
