@keyframes motion-heading {
  from { opacity:0; translate:0 15px; }
  to { opacity:1; translate:0 0; }
}
@keyframes motion-image {
  from { opacity:.58; scale:1.055; }
  to { opacity:1; scale:1; }
}
@keyframes motion-drawer-row {
  from { opacity:0; translate:12px 0; }
  to { opacity:1; translate:0 0; }
}
@keyframes motion-drift {
  0%,100% { transform:translate(0,0); }
  50% { transform:translate(15px,-12px); }
}
@media(prefers-reduced-motion:no-preference) {
  html { scroll-behavior:smooth; }
  .hero .hero-copy > *, .occasion-banner-copy > *, .info-hero > div > *,
  .studio-head > *, .checkout-header > * { animation:motion-heading .56s cubic-bezier(.2,.74,.24,1) both; }
  .hero .hero-copy > :nth-child(2), .occasion-banner-copy > :nth-child(2),
  .info-hero > div > :nth-child(2), .studio-head > :nth-child(2) { animation-delay:70ms; }
  .hero .hero-copy > :nth-child(n+3), .occasion-banner-copy > :nth-child(3),
  .info-hero > div > :nth-child(n+3), .studio-head > :nth-child(n+3) { animation-delay:145ms; }
  .occasion-banner-copy > :nth-child(n+4) { animation-delay:210ms; }
  .hero picture > img,.occasion-banner > img,.info-hero > img { animation:motion-image 1.15s cubic-bezier(.2,.74,.24,1) both; }
  .product-image > img { animation:motion-image .72s ease-out both; }
  .product-image { overflow:hidden; }
  .studio-stage { isolation:isolate; }
  .studio-stage::before { content:""; position:absolute; inset:7% 11%; z-index:-1; border-radius:50%; background:radial-gradient(ellipse,#fff6eaca,transparent 67%); pointer-events:none; animation:motion-drift 7s ease-in-out 2; }
  #basket[open] .basket-item { animation:motion-drawer-row .35s ease-out both; }
  #basket[open] .basket-item:nth-child(2) { animation-delay:50ms; }
  #basket[open] .basket-item:nth-child(3) { animation-delay:95ms; }
  .checkout-summary .notice { transition:background-color .24s; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .occasion-card-photo,.box-design img,.info-tiles img,.category-strip a > img { transition:scale .42s cubic-bezier(.2,.74,.24,1); }
  .occasion-card:hover .occasion-card-photo,.box-design:hover img,.info-tiles a:hover img,.category-strip a:hover > img { scale:1.045; }
  .occasion-arrow { transition:translate .22s ease; }
  .occasion-card:hover .occasion-arrow { translate:-4px 0; }
  .services .ui-icon,.occasion-benefits .ui-icon { transition:transform .25s ease; }
  .services div:hover .ui-icon,.occasion-benefits a:hover .ui-icon { transform:translateY(-3px) rotate(-8deg); }
  .shop-header nav a { transition:color .2s, background-color .2s; }
}


@media(prefers-reduced-motion:no-preference) {
  .shop-header .mast .brand,.shop-header .mast .header-search,.shop-header .header-actions,
  .admin-theme .admin-nav { animation:motion-heading .52s ease-out both; }
  .shop-header .header-search { animation-delay:80ms; }
  .shop-header .header-actions { animation-delay:110ms; }
  .studio-modes button,.studio-choices span { transition:background-color .18s,border-color .18s,box-shadow .18s; }
  .studio-choices input:checked + span { box-shadow:inset 0 0 0 1px #68755a45; }
  .boutique :is(.rose,.olive):active,.checkout-theme .olive:active { scale:.97; }
  #basket::backdrop { transition:background-color .24s ease; }
  @starting-style { #basket[open]::backdrop { background-color:transparent; } }
}
