/* Additional motion for the original layout preview. */
.detail-main-image.motion-gallery-active {
  position: relative;
  overflow: hidden;
}
.detail-main-image > .motion-gallery-outgoing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .category-card {
    transition: translate .26s ease, background .25s ease, box-shadow .25s ease;
  }
  .product-card {
    transition: translate .26s ease, box-shadow var(--ease);
  }
  .category-card:hover { translate: 0 -5px; }
  .product-card:hover { translate: 0 -5px; transform: none; }
  .category-card .product-outline,
  .product-card .product-outline {
    transition: scale .4s ease, transform .4s ease;
  }
  .category-card:hover .product-outline,
  .product-card:hover .product-outline { scale: 1.045; }
}
