/* MYONE 1.0.378 — common image framing for all existing pet product cards.
   Keep underlying templates and all WooCommerce purchase behavior untouched. */
:root { --my1-card-media-pad: 14px; }
/* MYONE native catalogue and homepage */
.my1-product .my1-product__image,
.my1-home .my1-product .my1-product__image,
.my1-catalog .my1-product .my1-product__image {
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:relative;box-sizing:border-box!important;aspect-ratio:1/1!important;
  height:auto!important;min-height:0!important;padding:var(--my1-card-media-pad)!important;
  overflow:hidden!important;background:#fffaf3!important;
}
.my1-product .my1-product__image > img,
.my1-home .my1-product .my1-product__image > img,
.my1-catalog .my1-product .my1-product__image > img {
  display:block!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  margin:0!important;padding:0!important;transform:none!important;
}
/* Existing shared renderer: showcase, related items, suggestions and comparisons. */
.sscc-standard-product-card .sscc-card-image,
.sswb-showcase-product .sscc-card-image,
.sspx-related-card .sscc-card-image,
.sscc-ci-product-card .sscc-card-image {
  display:flex!important;align-items:center!important;justify-content:center!important;
  aspect-ratio:1/1!important;height:auto!important;box-sizing:border-box!important;
  padding:var(--my1-card-media-pad)!important;background:#fffaf3!important;overflow:hidden!important;
}
.sscc-standard-product-card .sscc-card-image > img,
.sswb-showcase-product .sscc-card-image > img,
.sspx-related-card .sscc-card-image > img,
.sscc-ci-product-card .sscc-card-image > img {
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;
  max-height:100%!important;object-fit:contain!important;object-position:center!important;
  padding:0!important;margin:0!important;transform:none!important;
}
/* Native WooCommerce listing cards used in search, categories and archives. */
.woocommerce ul.products li.product > a img,
.woocommerce-page ul.products li.product > a img {
  object-fit:contain!important;object-position:center center!important;
  aspect-ratio:1/1!important;height:auto!important;max-height:none!important;
}
@media(max-width:767px){:root{--my1-card-media-pad:10px}}
