@view-transition { navigation: none; }

.storefront #main { animation: none; }

@media (prefers-reduced-motion: no-preference) {
  :root[data-entry-motion] .welcome > .intro,
  :root[data-entry-motion] .welcome > .catalogue,
  :root[data-entry-motion] .welcome .contact-item {
    animation: cm-welcome-entry 550ms cubic-bezier(.22, 1, .36, 1) backwards;
  }

  :root[data-entry-motion] .welcome > .catalogue { animation-delay: 75ms; }
  :root[data-entry-motion] .welcome .contact-item { animation-delay: 125ms; }
  :root[data-entry-motion] .welcome .contact-item:nth-child(2) { animation-delay: 170ms; }
  :root[data-entry-motion] .welcome .contact-item:nth-child(3) { animation-delay: 215ms; }

  .storefront :is(.cm-voyage, .cm-voyage-stage) { animation-duration: 700ms; }
  .storefront :is(.cm-voyage-halo, .cm-voyage-wave, .cm-voyage-logo) { animation-duration: 650ms; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .storefront .product-card:hover .add-button svg,
  .storefront .product-card:focus-within .add-button svg { transform: translateX(3px); }
}

@keyframes cm-welcome-entry {
  from { opacity: .76; translate: 0 13px; }
  to { opacity: 1; translate: none; }
}
