/* Complete, uncropped photographs in a consistent product-card frame. */
.chq-stout-product .product-element-top .product-image-link {
  display:flex!important;align-items:center;justify-content:center;
  width:100%;height:auto!important;aspect-ratio:1/1;
  padding:10px;box-sizing:border-box;background:#fff;overflow:hidden;
}
.chq-stout-product .product-element-top .product-image-link>img {
  display:block;width:100%!important;height:100%!important;max-height:100%;
  object-fit:contain!important;object-position:center!important;
}
.chq-stout-product .product-element-top .hover-img {
  height:100%;background:#fff;box-sizing:border-box;padding:10px;
}
.chq-stout-product .product-element-top .hover-img img {
  display:block;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;
}
/* Product detail: show the entire lamp at a controlled height. */
.chq-stout-single .woocommerce-product-gallery .woocommerce-product-gallery__image {
  height:clamp(360px,calc(100svh - 280px),620px)!important;
  max-height:620px;box-sizing:border-box;background:#fff;padding:10px;
}
.chq-stout-single .woocommerce-product-gallery .woocommerce-product-gallery__image>a {
  display:flex!important;align-items:center;justify-content:center;
  width:100%;height:100%;
}
.chq-stout-single .woocommerce-product-gallery .woocommerce-product-gallery__image>a>img:not(.zoomImg) {
  display:block;width:100%!important;height:100%!important;max-height:100%;
  object-fit:contain!important;object-position:center!important;
}
@media(max-width:767px){
  .chq-stout-single .woocommerce-product-gallery .woocommerce-product-gallery__image {
    height:clamp(300px,56svh,460px)!important;max-height:460px;padding:8px;
  }
  .chq-stout-product .product-element-top .product-image-link,
  .chq-stout-product .product-element-top .hover-img {padding:6px;}
}
