/* ATB: a dimmed exhibition behind the active surface, with a soft, settled arrival. */
:root{--atb-motion-arrive:cubic-bezier(.16,1,.3,1);--atb-nav-motion-arrive:cubic-bezier(.18,.9,.16,1);--atb-motion-exit:cubic-bezier(.4,0,.8,.4)}
.atb-motion-shade{position:fixed;inset:0;z-index:95;pointer-events:none;opacity:0;background:linear-gradient(180deg,rgb(0 0 0 / 35%),rgb(0 0 0 / 72%) 42%,rgb(0 0 0 / 90%));transition:opacity 220ms ease-in}
.atb-motion-shade.is-visible{opacity:1;transition-duration:420ms;transition-timing-function:var(--atb-motion-arrive)}.atb-motion-shade[data-interactive="true"]{pointer-events:auto}
.atb-motion-shade[data-motion-scope="navigation"]{transition-duration:280ms}
.atb-motion-shade[data-motion-scope="navigation"].is-visible{transition-duration:540ms;transition-timing-function:var(--atb-nav-motion-arrive)}
.atb-nav-drawer::backdrop{background:linear-gradient(90deg,rgb(0 0 0 / 48%),rgb(0 0 0 / 77%) 62%,rgb(0 0 0 / 86%));animation:atb-shade-in 500ms var(--atb-nav-motion-arrive) both}
.atb-nav-drawer[data-motion-state="closing"]::backdrop{animation:atb-shade-out 280ms ease-in both}
.dense-tunnel #cartModal{background:linear-gradient(90deg,rgb(0 0 0 / 82%),rgb(0 0 0 / 65%) 50%,rgb(0 0 0 / 38%));animation:atb-shade-in 480ms var(--atb-nav-motion-arrive) both}
.dense-tunnel #cartModal[data-motion-state="closing"]{animation:atb-shade-out 280ms ease-in both}
#cartModal .drawer{animation:none}
[data-motion-state="closing"]{pointer-events:none}
.atb-navigation .atb-nav-link{transition:color 180ms ease,opacity 180ms ease}
.atb-navigation .atb-nav-link:hover{color:#fff}
.atb-search-panel,.atb-nav-drawer{transform-origin:top center}
@keyframes atb-shade-in{from{opacity:0}to{opacity:1}}
@keyframes atb-shade-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){
 .atb-motion-shade,.atb-navigation .atb-nav-link{transition:none}
 .atb-nav-drawer::backdrop,.atb-nav-drawer[data-motion-state="closing"]::backdrop,.dense-tunnel #cartModal,.dense-tunnel #cartModal[data-motion-state="closing"]{animation:none}
}
