/* Storefront photo effects: no layout changes or extra image downloads. */
.compact-product .pic { overflow: hidden; }
.compact-product,
.best-sellers-grid article,
.showcase-grid a {
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.compact-product .pic img,
.best-sellers-grid img,
.showcase-grid img,
.service img {
  transform: none;
  transition: transform 420ms cubic-bezier(.2,.65,.3,1);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .compact-product:hover .pic img,
  .best-sellers-grid article:hover img { transform: scale(1.045); }
  .showcase-grid a:hover img { transform: scale(1.04); }
  .service:hover img { transform: scale(1.06); }
  .compact-product:hover,
  .best-sellers-grid article:hover {
    border-color: #ed701b;
    box-shadow: 0 10px 28px #29201916;
  }
  .showcase-grid a:hover { box-shadow: 0 8px 24px #29201920; }
  .compact-product:focus-within .pic img,
  .best-sellers-grid article:focus-within img,
  .showcase-grid a:focus-visible img { transform: scale(1.04); }
}
/* Override the older showcase hover rule on touch screens as well. */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .compact-product .pic img,
  .best-sellers-grid img,
  .showcase-grid a img,
  .showcase-grid a:hover img,
  .service img { transform: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .compact-product,
  .best-sellers-grid article,
  .showcase-grid a { transition: none; }
}
