/* Photo links: the photograph responds; its frame and layout stay still.
   Independent scale leaves existing transform-based angle/crop/spacing intact.
   Deliberately excludes finish swatches, CAD thumbnails and render examples. */
:is(a.home-range-photo,a.home-furniture-image,a.pa-photo,a.pp-v9-stage,a.catalog-primary-photo),
.related-products-grid a.pt-fig{
  overflow:hidden;
  transition:none;
}

/* Supersede v17's animated card/frame decoration, keeping keyboard outlines. */
.related-products-grid .tile.ptile,.home-group-visual{transition:none}
@media(hover:hover) and (pointer:fine){
  :is(a.home-range-photo,a.home-furniture-image,a.pa-photo,a.pp-v9-stage):hover:not(:focus-visible){
    outline-color:transparent;
    box-shadow:none;
  }
  a.catalog-primary-photo:hover:not(:focus-visible){box-shadow:none}
  .related-products-grid .tile.ptile:hover:not(:focus-within){box-shadow:none}
  .home-group:hover:not(:focus-visible) .home-group-visual{box-shadow:none}
}

/* No image motion on touch devices or when reduced motion is requested.
   Do not animate transform: pictures and related photos already use it for
   the approved angle, crop and optical size; gallery fades use opacity. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  :is(a.home-range-photo,a.home-furniture-image,a.pa-photo,a.pp-v9-stage,a.catalog-primary-photo) .pp-v9-picture > img,
  .related-products-grid a.pt-fig .pp-v9-picture > img.pp-v9-related{
    scale:1;
    transition:scale 240ms cubic-bezier(.2,.65,.3,1);
  }
  :is(a.home-range-photo,a.home-furniture-image,a.pa-photo,a.pp-v9-stage,a.catalog-primary-photo):hover .pp-v9-picture > img,
  .related-products-grid a.pt-fig:hover .pp-v9-picture > img.pp-v9-related{
    scale:1.025;
  }
}
