/* Optional motion. Each piece is off in calm mode and under prefers-reduced-motion,
   and each one leaves the page usable when the browser does not have it.
   Cross-document view transitions: Chrome 126.
   Scroll-driven reveals: Chrome 115.
   Popover: Chrome 114. */

/* The cross-document transition is added from motion.js only outside calm mode.
   If one still starts, reduced motion makes it instant. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation-duration: 0s; }
}

html[data-fx="calm"] .store-card-img,
html[data-fx="calm"] .store-product-figure img {
  view-transition-name: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .store-card-img,
  .store-product-figure img { view-transition-name: none !important; }
}

/* The cards' 3D entrance as they scroll in and out of view is in look.css. */

