/* Crop only reviewed blank canvas; the image itself keeps one isotropic scale. */
.er-product-framing {display:contents}
.er-product-framing[data-er-frame]:not([data-er-frame=""]) {position:relative;display:block;width:100%;aspect-ratio:var(--er-frame-aspect);overflow:hidden;background:#fff}
.pdp-shell .product-gallery-image:has(> .er-product-framing[data-er-frame]:not([data-er-frame=""])) {aspect-ratio:auto;overflow:hidden}
.pdp-shell .er-product-framing[data-er-frame]:not([data-er-frame=""])>img,
.product-card-image .er-product-framing[data-er-frame]:not([data-er-frame=""])>img,
.er-product-framing[data-er-frame]:not([data-er-frame=""])>img {position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;display:block!important;width:var(--er-frame-width)!important;height:auto!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;transform:translate(var(--er-frame-x),var(--er-frame-y))!important;object-fit:initial!important;object-position:initial!important}
.product-card-image>.er-product-framing[data-er-frame]:not([data-er-frame=""]) {position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.product-card-image .er-product-framing[data-er-frame]:not([data-er-frame=""])>img {width:var(--er-frame-card-width)!important}
