/**
 * Breuls: square, equal-height product tiles in shop/category grids and
 * related/upsell grids. object-fit: contain on a white background, no
 * hard crop. Does not change the single-product gallery.
 * Homepage (body.home) is left unchanged.
 * Rollback: remove this file and its enqueue in functions.php
 * (comment "Breuls: sticky header offset + square product thumbs").
 */
body:not(.home) ul.products li.product .product-image {
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
body:not(.home) ul.products li.product .product-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}
body:not(.home) ul.products li.product .product-block {
  display: flex;
  flex-direction: column;
  height: 100%;
}
