/* One contained square photo stage per menu item. The title never shares its box. */
#retail-grid > .product-card > a:first-child {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  isolation: isolate;
}
#retail-grid > .product-card > a:first-child > .visual,
#retail-grid > .product-card > a:first-child > .visual.normalized-product {
  position: absolute;
  inset: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: none;
  overflow: hidden;
}
#retail-grid > .product-card > a:first-child > .visual > img {
  max-height: 100%;
  object-fit: contain;
}
#retail-grid > .product-card > .card-title {
  position: relative;
  margin-top: 8px;
}
@media (max-width: 600px) {
  #retail-grid > .product-card > a:first-child { aspect-ratio: 1; }
  #retail-grid > .product-card > .card-title { margin-top: 8px; }
}
