/* Soft page-to-page transitions for the shop (not loaded in the admin).
   Chrome, Edge and Safari 18+ animate; other browsers simply load the page as usual. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
::view-transition-group(product-hero) { animation-duration: .42s; animation-timing-function: var(--ease); }
::view-transition-group(site-header) { animation: none; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
