/* WDS Store 1.9.38 — single archive-only image-frame treatment.
 * Keep the whole product visible without cropping or resizing the source image.
 * Native gallery, variations, checkout and cart remain untouched. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products > li.product .product-thumbnail {
  box-sizing:border-box!important;
  aspect-ratio:1/1!important;
  padding:clamp(18px,2.5vw,34px)!important;
  border:1px solid #e6dbd1!important;
  border-radius:14px!important;
  background:#fff!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products > li.product .product-thumbnail img:not(.wds-store-brand-logo){
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  padding:0!important;
  margin:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
/* Alternative markup used by some WooCommerce layouts: image is a direct link child. */
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products > li.product > a.woocommerce-LoopProduct-link > img:not(.wds-store-brand-logo),
body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products > li.product > a.woocommerce-loop-product__link > img:not(.wds-store-brand-logo){
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:clamp(18px,2.5vw,34px)!important;
  margin:0 0 9px!important;
  border:1px solid #e6dbd1!important;
  border-radius:14px!important;
  background:#fff!important;
  transform:none!important;
}
@media(max-width:640px){
  body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products > li.product .product-thumbnail{
    padding:12px!important;
    border-radius:11px!important;
  }
  body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products > li.product > a.woocommerce-LoopProduct-link > img:not(.wds-store-brand-logo),
  body.wds-store-archive:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat) ul.products > li.product > a.woocommerce-loop-product__link > img:not(.wds-store-brand-logo){
    padding:12px!important;
    border-radius:11px!important;
  }
}
