/* V29
   Top-page product images only.
   Keep V28 layout, prices, shop links, detail pages and Cron untouched.
   Make top cards show the whole product image like the detail page.
*/
.home-products .product-image,
main .product-grid .product-card .product-image {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
}

.home-products .product-image img,
main .product-grid .product-card .product-image img,
.home-products img.card-product-photo,
main .product-grid .product-card img.card-product-photo {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

/* Prevent old desktop/mobile fixed image heights from taking priority. */
@media (max-width: 760px) {
  .home-products .product-image,
  main .product-grid .product-card .product-image {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}
@media (max-width: 480px) {
  .home-products .product-image,
  main .product-grid .product-card .product-image {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}