/* Enlarge the artwork without cropping wide or tall products. */
.product-image:not(.is-full-bleed) .product-open > .visual:not(.photo-mode, .custom-visual) {
  width: min(100%, calc(96% * var(--card-ratio) * var(--visual-ratio, 1)));
}

/* Show 4:5 studio photos edge to edge inside the matching card frame. */
.product-image.is-full-bleed .product-open > .visual:not(.photo-mode) {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.product-image.is-full-bleed .product-open > .visual > img {
  object-fit: cover;
}

.product-image .product-open > .visual[data-visual-key="ember-root-card"] {
  width: 96%;
  border-radius: 2.5% / 6.5%;
  box-shadow: 0 2px 6px rgb(0 0 0 / 14%);
}

