/* MonsterGO V1.5.10 - Catalog image source + 4:5 presentation.
   Only WooCommerce product archive grids (shop / category / tag / brand).
   The source is switched to the *uncropped* woocommerce_single size in PHP.
   Do not affect modular homepage cards, single products or the media library. */
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand,body.post-type-archive-product)
  ul.products li.product > a.woocommerce-loop-product__link img.wp-post-image,
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand,body.post-type-archive-product)
  ul.products li.product > a.woocommerce-LoopProduct-link img.wp-post-image {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center center!important;
  padding:0!important;
  margin:0 0 12px!important;
  border-radius:12px!important;
  background:#f1ede7;
}
/* Guard against theme wrappers forcing an unrelated fixed image height. */
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand,body.post-type-archive-product)
  ul.products li.product > a.woocommerce-loop-product__link,
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand,body.post-type-archive-product)
  ul.products li.product > a.woocommerce-LoopProduct-link {
  min-height:0!important;
}
@media(max-width:720px){
  :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand,body.post-type-archive-product)
    ul.products li.product > a.woocommerce-loop-product__link img.wp-post-image,
  :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.tax-product_brand,body.post-type-archive-product)
    ul.products li.product > a.woocommerce-LoopProduct-link img.wp-post-image {
    border-radius:9px!important;
    margin-bottom:9px!important;
  }
}
