/* MTD Photos 26. White square canvas; original image pixels and aspect ratio. */
html body #product-product.mpd .mpd-gallery .mpd-gallery-main {
  background:#fff!important;
}
html body #product-product.mpd .mpd-gallery a.mpd-photo-link {
  display:block!important;position:relative!important;box-sizing:border-box!important;
  width:100%!important;max-width:560px!important;height:auto!important;
  min-height:0!important;max-height:none!important;aspect-ratio:1 / 1!important;
  margin:0 auto!important;padding:0!important;overflow:hidden!important;
  border:1px solid #e4eaf0!important;border-radius:10px!important;background:#fff!important;
}
html body #product-product.mpd .mpd-gallery a.mpd-photo-link > img.mpd-main-photo {
  display:block!important;position:absolute!important;inset:5%!important;
  box-sizing:border-box!important;width:90%!important;height:90%!important;
  max-width:90%!important;max-height:90%!important;min-width:0!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;
  object-fit:contain!important;object-position:center!important;transform:none!important;
}
html body #product-product.mpd .mpd-gallery .mpd-thumb {
  box-sizing:border-box!important;width:64px!important;height:64px!important;
  min-width:64px!important;min-height:64px!important;flex:0 0 64px!important;
  padding:4px!important;background:#fff!important;border-radius:7px!important;
}
html body #product-product.mpd .mpd-gallery .mpd-thumb > img {
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;
  object-fit:contain!important;object-position:center!important;
}
html body #mtd-category .mk-product a.mk-photo,
html body .ms-card a.ms-photo,
html body .product-thumb .image > a,
html body .product-layout .image > a {
  display:block!important;position:relative!important;box-sizing:border-box!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:1 / 1!important;align-self:start!important;padding:0!important;
  overflow:hidden!important;background:#fff!important;border-radius:8px!important;
}
html body #mtd-category .mk-product a.mk-photo > img,
html body .ms-card a.ms-photo > img,
html body .product-thumb .image > a > img,
html body .product-layout .image > a > img {
  display:block!important;position:absolute!important;inset:5%!important;
  box-sizing:border-box!important;width:90%!important;height:90%!important;
  max-width:90%!important;max-height:90%!important;margin:0!important;padding:0!important;
  object-fit:contain!important;object-position:center!important;transform:none!important;
}
html body #product-product.mpd .mpd-related-item > img {
  display:block!important;box-sizing:border-box!important;width:80px!important;height:80px!important;
  object-fit:contain!important;object-position:center!important;padding:4px!important;background:#fff!important;
}
