/* Give product thumbnails the same frame while preserving the full artwork. */
.product-image {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 4 / 3;
  width: 100%;
  padding: clamp(10px, 1.6vw, 22px);
  background: #e5efeb;
  overflow: hidden;
}

.product-image > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

a.product-image:focus-visible {
  outline-offset: -4px;
}
