/* One original image and one reviewed alpha mask share the exact same content box.
   Resizing, card hover and 2x zoom therefore transform the photo and mask together. */
.product-image-button img[data-reviewed-photo],
.cart-item img[data-reviewed-photo],
.actual-gallery img[data-reviewed-photo]{
 object-fit:contain;object-position:center;mix-blend-mode:normal;
 mask-mode:alpha;mask-size:contain;mask-position:center;mask-repeat:no-repeat;
 mask-origin:content-box;mask-clip:content-box;
 -webkit-mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;
 -webkit-mask-origin:content-box;-webkit-mask-clip:content-box;
}

/* Known-mask loading only. Unreviewed originals and white merchandise stay visible. */
img[data-photo-mask-loading],img[data-photo-presenting]{visibility:hidden}
