/* Uniform homepage product photography. */
.template-index .product-block .image { background:#fff; }
.template-index .product-block .image .inner { position:relative; width:100%; padding-top:100%; height:0; overflow:hidden; background:#fff; }
.template-index .product-block .image .inner > a { position:absolute; inset:0; display:block; }
.template-index .product-block .image__primary,
.template-index .product-block .image__secondary { position:absolute; inset:0; width:100%; height:100%; background:#fff; }
.template-index .product-block .image .rimage-outer-wrapper,
.template-index .product-block .image .rimage-wrapper { width:100%!important; height:100%!important; max-width:none!important; padding:0!important; background-size:contain!important; background-position:center!important; background-repeat:no-repeat; }
.template-index .product-block .image img { position:absolute; inset:0; width:100%!important; height:100%!important; max-width:100%; max-height:100%; object-fit:contain!important; object-position:center; padding:10%; box-sizing:border-box; background:#fff; }
.template-index .product-block .image__secondary .rimage-outer-wrapper { background-origin:content-box; padding:10%!important; box-sizing:border-box; }
