/* Compact product cards: reserve detail text for the product page and let imagery lead. */
#homeProducts .product-image,
#shopProducts .product-image,
.pdp-related .product-image{aspect-ratio:1 / 1}

#homeProducts .product-image img,
#shopProducts .product-image img,
.pdp-related .product-image img{
  width:100%!important;
  height:100%!important;
  padding:0!important;
  object-fit:contain!important;
}

#homeProducts .product .brand,
#shopProducts .product .brand,
.pdp-related .product .brand,
#homeProducts .product .benefit,
#shopProducts .product .benefit,
.pdp-related .product .benefit,
#homeProducts .product .product-availability,
#shopProducts .product .product-availability,
.pdp-related .product .product-availability,
#homeProducts .product .product-quick,
#shopProducts .product .product-quick,
.pdp-related .product .product-quick{display:none!important}

#homeProducts .product h3,
#shopProducts .product h3,
.pdp-related .product h3{margin-top:14px!important;margin-bottom:9px!important}

#homeProducts .product .prices,
#shopProducts .product .prices,
.pdp-related .product .prices{margin:0 0 8px!important}

#homeProducts .product .product-meta,
#shopProducts .product .product-meta,
.pdp-related .product .product-meta{min-height:31px!important;margin:0 0 14px!important;padding:0!important;align-items:center!important}

#homeProducts .product .product-add,
#shopProducts .product .product-add,
.pdp-related .product .product-add{margin-top:auto!important}

@media(max-width:850px){
  #homeProducts .product-image,
  #shopProducts .product-image,
  .pdp-related .product-image{aspect-ratio:1 / 1}

  #homeProducts .product h3,
  #shopProducts .product h3,
  .pdp-related .product h3{margin-top:11px!important;margin-bottom:7px!important}

  #homeProducts .product .product-meta,
  #shopProducts .product .product-meta,
  .pdp-related .product .product-meta{min-height:29px!important;margin-bottom:11px!important}
}

/* Product imagery standard: square frames, full packshots, never stretched or cropped. */

#homeProducts .product-image,
#shopProducts .product-image,
.pdp-related .product-image{
  aspect-ratio:1 / 1!important;
}

#homeProducts .product-image img,
#shopProducts .product-image img,
.pdp-related .product-image img{
  object-fit:contain!important;
  object-position:center!important;
  padding:4px!important;
  transform:none!important;
  transform-origin:center!important;
}

#homeProducts .product-image>a:hover img,
#shopProducts .product-image>a:hover img,
.pdp-related .product-image>a:hover img{
  transform:none!important;
}

/* The detail image uses the same generous, square presentation. */
.pdp-main-photo{
  aspect-ratio:1 / 1!important;
  overflow:hidden;
}

.pdp-main-photo img{
  object-fit:contain!important;
  object-position:center!important;
  padding:12px!important;
  transform:none!important;
  transform-origin:center!important;
}

.pdp-main-photo:hover img{transform:none!important}

/* Reusable product visuals outside the main product grid follow the same rule. */
.combo-product-art{aspect-ratio:1 / 1!important}
.combo-product-image img{
  object-fit:contain!important;
  transform:none!important;
  transform-origin:center;
}
.routine-item-image,
.spotlight-packshot,
.cart-photo{aspect-ratio:1 / 1!important}
.routine-item-image img,
.spotlight-packshot img,
.cart-photo img,
.quick-product-photo img,
.pair-items img,
.routine-steps img,
.product-image-preview img{
  object-fit:contain!important;
  object-position:center!important;
}
.routine-item-image img,
.spotlight-packshot img,
.cart-photo img,
.quick-product-photo img,
.pair-items img,
.routine-steps img{
  transform:none!important;
  transform-origin:center;
}

@media(prefers-reduced-motion:reduce){
  #homeProducts .product-image img,
  #shopProducts .product-image img,
  .pdp-related .product-image img,
  .pdp-main-photo img{transition:none!important}
}
