/* Short, interruptible movement; native navigation and scrolling are untouched. */
:root { --motion-ease:cubic-bezier(.2,.75,.25,1); }
.catalog-main,.product-main { animation:motion-page-in 280ms var(--motion-ease) both; }
@keyframes motion-page-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@keyframes motion-reveal { from { opacity:0; } to { opacity:1; } }
@keyframes motion-backdrop { from { opacity:0; } to { opacity:1; } }
:where(button,summary,.catalog-facet,.product-catalog-link,.product-spec-link,.product-wordmark,.product-footer a,.tyaga-cart-link,.storefront-primary,.storefront-secondary) {
  transition:color 180ms ease,background-color 180ms ease,box-shadow 220ms ease,opacity 180ms ease,transform 180ms var(--motion-ease);
}
:where(button:not(:disabled),summary,.catalog-facet,.tyaga-cart-link,.storefront-primary,.storefront-secondary):active { transform:scale(.97); }
:where(a,button,input,select,summary):focus-visible { transition:outline-offset 150ms ease; outline-offset:5px; }
:where(input,select,textarea) { transition:border-color 180ms ease,box-shadow 180ms ease; }
:where(input:not([type=radio]),select,textarea):focus-visible { box-shadow:0 0 0 4px rgb(0 0 0 / 5%); }
.catalog-card { animation:motion-reveal 320ms var(--motion-ease) var(--reveal-delay,0ms) both; }
.catalog-card-image,.product-related-card > div { position:relative; transition:box-shadow 300ms ease; }
.catalog-card img,.product-related-card img,.product-image img { transition:transform 450ms var(--motion-ease); }
.catalog-card-image::after { content:'↗'; position:absolute; right:14px; bottom:14px; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#fff; color:#111; box-shadow:0 3px 12px rgb(0 0 0 / 8%); opacity:0; transform:translateY(5px); transition:opacity 220ms ease,transform 300ms var(--motion-ease); pointer-events:none; }
.catalog-card a:focus-visible .catalog-card-image::after { opacity:1; transform:none; }
.catalog-facet-visual { transition:transform 220ms var(--motion-ease); }
.catalog-facet:has(input:checked) .catalog-facet-visual { transform:scale(1.06); }
.catalog-facet-group summary::after,#catalog-filter-panel > summary > span { transition:transform 220ms var(--motion-ease); }
#catalog-filter-panel[open] > summary > span { transform:rotate(180deg); }
.catalog-facet-group[open] > div,#catalog-filter-panel[open] > form { animation:motion-reveal 240ms ease both; }
.tyaga-cart-backdrop:not([hidden]) { animation:motion-backdrop 220ms ease both; }
.storefront-page { animation:motion-reveal 280ms ease both; }
@media(hover:hover) and (pointer:fine) {
  .catalog-card a:hover img,.product-related-card:hover img { transform:scale(1.045); }
  .catalog-card a:hover .catalog-card-image,.product-related-card:hover > div { box-shadow:0 12px 26px rgb(0 0 0 / 7%); }
  .catalog-card a:hover .catalog-card-image::after { opacity:1; transform:none; }
  .catalog-facet:hover { background:#f4f4f4; }
  .catalog-facet:hover .catalog-facet-visual { transform:translateX(2px); }
  :where(.tyaga-buy-dock [data-buy-add]:not(:disabled),.storefront-primary,.tyaga-cart-link):hover { transform:translateY(-2px); box-shadow:0 9px 22px rgb(0 0 0 / 16%); }
  :where(.product-catalog-link,.product-spec-link,.product-footer a):hover { opacity:.65; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
  .catalog-card img,.product-related-card img,.catalog-facet-visual,button,summary,.catalog-facet,.tyaga-cart-link,.storefront-primary,.storefront-secondary { transform:none!important; }
}
