/* NEXO 1.17.0: one motion language, with quiet behavior in transactional flows. */
body.ds-nexo-motion {
  --ds-motion-fast: 170ms;
  --ds-motion-base: 300ms;
  --ds-motion-slow: 480ms;
  --ds-ease-premium: cubic-bezier(.2,.72,.22,1);
  --ds-lift-sm: -3px;
  --ds-lift-lg: -7px;
  --ds-tilt-max: 4deg;
  --ds-motion-blue: #0067bb;
  --ds-motion-orange: #ff7900;
  --ds-motion-shadow: 0 18px 38px rgba(5,35,66,.16);
}
body.ds-nexo-motion :is(a,button,input,select,textarea):focus-visible {
  outline: 3px solid #1677d2;
  outline-offset: 3px;
}
/* Header and footer respond without movement of their layout. */
body.ds-nexo-motion #ast-desktop-header #ast-hf-menu-1 > li > a.menu-link,
body.ds-nexo-motion #ast-mobile-header a,
body.ds-nexo-motion footer a { transition: color var(--ds-motion-fast) ease, background-color var(--ds-motion-fast) ease, box-shadow var(--ds-motion-fast) ease, transform var(--ds-motion-fast) ease; }
body.ds-nexo-motion #ast-desktop-header #ast-hf-menu-1 > li > a.menu-link:is(:hover,:focus-visible) { color:#0067ad !important; background:linear-gradient(transparent 87%,#ff7900 87%) !important; }
body.ds-nexo-motion #ast-desktop-header :is(.ast-builder-button-wrap a,.ast-search-menu-icon button,.ast-header-search button):is(:hover,:focus-visible) { transform:translateY(-2px);box-shadow:0 7px 17px rgba(6,48,84,.13); }
body.ds-nexo-motion #masthead :is(input[type=search],.search-field):focus { border-color:#1677d2 !important;box-shadow:0 0 0 4px rgba(22,119,210,.15) !important; }
body.ds-nexo-motion footer a:is(:hover,:focus-visible) { color:#ff9a2b !important; }
body.ds-nexo-motion .bsi-withdrawal-float { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid #e68b35;border-radius:999px;background:linear-gradient(120deg,#fff8f0,#fff);color:#663500;box-shadow:0 7px 20px rgba(6,37,70,.12);font-weight:760;line-height:1.3;text-decoration:none;transition:transform var(--ds-motion-base) var(--ds-ease-premium),box-shadow var(--ds-motion-base) ease,border-color var(--ds-motion-fast) ease; }
body.ds-nexo-motion .bsi-withdrawal-float strong { color:#663500 !important; }
body.ds-nexo-motion .bsi-withdrawal-float:is(:hover,:focus-visible) { transform:translateY(-3px);border-color:#f07708;box-shadow:0 13px 28px rgba(6,37,70,.18); }
/* Reusable interaction variants assigned by the small delegated controller. */
body.ds-nexo-motion .ds-motion-card { transition:transform var(--ds-motion-base) var(--ds-ease-premium),box-shadow var(--ds-motion-base) var(--ds-ease-premium),border-color var(--ds-motion-fast) ease; }
body.ds-nexo-motion .ds-motion-card--strong { position:relative;isolation:isolate; }
body.ds-nexo-motion .ds-motion-card--strong::before { content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;background:radial-gradient(320px circle at var(--ds-pointer-x,50%) var(--ds-pointer-y,50%),rgba(95,182,250,.21),transparent 72%);opacity:0;transition:opacity var(--ds-motion-base) ease; }
body.ds-nexo-motion .ds-motion-card--product .astra-shop-thumbnail-wrap img { transition:transform var(--ds-motion-slow) var(--ds-ease-premium); }
body.ds-nexo-motion .ds-motion-card--product .dsn-shop-view { transition:transform var(--ds-motion-fast) ease,box-shadow var(--ds-motion-fast) ease,background-color var(--ds-motion-fast) ease; }
body.ds-nexo-motion .ds-motion-cta { transition:transform var(--ds-motion-base) var(--ds-ease-premium),box-shadow var(--ds-motion-base) ease,background-color var(--ds-motion-fast) ease,border-color var(--ds-motion-fast) ease; }
body.ds-nexo-motion .ds-motion-cta :is(svg,.ds-nexo08-arrow-icon),
body.ds-nexo-motion .ds-motion-cta span[aria-hidden="true"] { transition:transform var(--ds-motion-fast) var(--ds-ease-premium); }
body.ds-nexo-motion .ds-motion-reveal { opacity:1;transform:none;transition:opacity var(--ds-motion-slow) ease,transform var(--ds-motion-slow) var(--ds-ease-premium); }
body.ds-nexo-motion .ds-motion-reveal.ds-motion-pending { opacity:.82;transform:translateY(11px); }
body.ds-nexo-motion .ds-motion-reveal.ds-motion-visible { opacity:1;transform:none; }
@media (hover:hover) and (pointer:fine) {
  body.ds-nexo-motion .ds-motion-card--strong:is(:hover,:focus-within) { transform:translateY(var(--ds-lift-lg));border-color:#4a9bd0;box-shadow:var(--ds-motion-shadow); }
  body.ds-nexo-motion .ds-motion-card--strong:is(:hover,:focus-within)::before { opacity:1; }
  body.ds-nexo-motion .ds-motion-card--medium:is(:hover,:focus-within) { transform:translateY(-5px);border-color:#95c4e8;box-shadow:0 12px 27px rgba(5,35,66,.12); }
  body.ds-nexo-motion .ds-motion-card--subtle:is(:hover,:focus-within) { transform:translateY(var(--ds-lift-sm));box-shadow:0 8px 18px rgba(5,35,66,.1); }
  body.ds-nexo-motion .ds-motion-card--product:is(:hover,:focus-within) .astra-shop-thumbnail-wrap img { transform:scale(1.055) translateY(-3px); }
  body.ds-nexo-motion .ds-motion-card--product:is(:hover,:focus-within) .dsn-shop-view { transform:translateY(-2px);box-shadow:0 6px 14px rgba(250,115,0,.24); }
  body.ds-nexo-motion .ds-motion-cta:is(:hover,:focus-visible) { transform:translateY(-3px);box-shadow:0 9px 19px rgba(6,43,77,.16); }
  body.ds-nexo-motion .ds-motion-cta:is(:hover,:focus-visible) :is(svg,.ds-nexo08-arrow-icon,span[aria-hidden="true"]) { transform:translateX(3px); }
}
body.ds-nexo-motion .ds-motion-cta:active,
body.ds-nexo-motion .ds-motion-card:active { transform:scale(.986); }
/* Home: pointer-led depth limited to its one protagonist scene. */
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__hero { background:radial-gradient(circle at var(--ds-hero-x,74%) var(--ds-hero-y,36%),rgba(255,124,17,.24),transparent 30%),radial-gradient(ellipse at 73% 85%,rgba(49,134,190,.38),transparent 61%),linear-gradient(115deg,#02182b 16%,#082b43 66%,#01182b); }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__hero::after { transform:translate3d(var(--ds-hero-mark-x,0px),var(--ds-hero-mark-y,0px),0);transition:transform var(--ds-motion-slow) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__technical { transition:transform var(--ds-motion-slow) ease;transform:skewX(-17deg) translateX(var(--ds-hero-mark-x,0px)); }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home-hero .ds-nexo__image { transition:transform var(--ds-motion-slow) var(--ds-ease-premium),filter var(--ds-motion-slow) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__search>div { border-radius:10px;box-shadow:0 8px 24px rgba(1,18,36,.16);transition:box-shadow var(--ds-motion-base) ease,transform var(--ds-motion-base) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__search:focus-within>div { box-shadow:0 0 0 4px rgba(23,142,230,.28),0 14px 29px rgba(1,18,36,.24);transform:translateY(-2px); }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__search button { transition:background-color var(--ds-motion-fast) ease,transform var(--ds-motion-fast) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__search button:is(:hover,:focus-visible) { background:#ffab31; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__microtrust li { transition:color var(--ds-motion-fast) ease,transform var(--ds-motion-base) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__microtrust li>span:first-child { transition:transform var(--ds-motion-base) var(--ds-ease-premium),filter var(--ds-motion-base) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category { border-color:#45657c;transition:transform var(--ds-motion-base) var(--ds-ease-premium),box-shadow var(--ds-motion-base) ease,border-color var(--ds-motion-fast) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category::before { content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(290px circle at var(--ds-pointer-x,50%) var(--ds-pointer-y,50%),rgba(47,178,255,.28),transparent 75%);opacity:0;transition:opacity var(--ds-motion-fast) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category img { transition:transform var(--ds-motion-slow) var(--ds-ease-premium); }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category-copy>span { transition:transform var(--ds-motion-base) var(--ds-ease-premium),background-color var(--ds-motion-fast) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category h3 { transition:color var(--ds-motion-fast) ease; }
body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__brand { transition:transform var(--ds-motion-base) var(--ds-ease-premium),box-shadow var(--ds-motion-base) ease,border-color var(--ds-motion-fast) ease; }
@media (hover:hover) and (pointer:fine) {
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home-hero .ds-nexo__image { transform:translateX(calc(-50% + var(--ds-hero-image-x,0px))) translateY(var(--ds-hero-image-y,0px)) rotateY(var(--ds-hero-tilt-y,0deg)) rotateX(var(--ds-hero-tilt-x,0deg));filter:drop-shadow(0 10px 34px rgba(255,123,0,.24)); }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__microtrust li:hover { color:#fff;transform:translateY(-2px); }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__microtrust li:hover>span:first-child { transform:translateY(-3px) scale(1.08);filter:drop-shadow(0 0 7px #ffab54); }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category:hover { transform:translateY(-7px);box-shadow:0 19px 32px rgba(0,24,46,.32);border-color:#ff8a16; }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category:hover::before { opacity:1; }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category:hover img { transform:scale(1.075); }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category:hover .ds-nexo-home__category-copy>span { transform:translateX(3px);background:#ffa832; }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__category:hover h3 { color:#fff2df; }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home__brand:hover { transform:translateY(-4px) scale(1.015);border-color:#9ac8e6;box-shadow:0 12px 25px rgba(4,43,80,.13); }
}
/* Shop 3D category cards already have their own optimized foreground and tracker. */
body.ds-nexo-shop-page.ds-nexo-motion #main ul.products li.product { transition:transform var(--ds-motion-base) var(--ds-ease-premium),box-shadow var(--ds-motion-base) ease,border-color var(--ds-motion-fast) ease; }
body.ds-nexo-shop-page.ds-nexo-motion #main ul.products li.product:is(:hover,:focus-within) { border-color:#9ac8e6; }
/* Product detail: keep the image inspectable, without rotating or moving the gallery. */
body.ds-nexo-product-page.ds-nexo-motion .woocommerce-product-gallery__image img { transition:transform var(--ds-motion-slow) var(--ds-ease-premium); }
@media (hover:hover) and (pointer:fine) { body.ds-nexo-product-page.ds-nexo-motion .woocommerce-product-gallery__image:hover img { transform:scale(1.025); } }
body.ds-nexo-product-page.ds-nexo-motion :is(.single_add_to_cart_button,.qty):focus-visible { box-shadow:0 0 0 4px rgba(19,118,206,.19); }
/* Transactional and account surfaces: subtle state feedback, no tilt or pointer tracking. */
body.ds-nexo-motion :is(.dsn-cart-qty,.dsn-account-nav__link,.dscb__nav a,.dsn-checkout input,.dsn-checkout select) { transition:border-color var(--ds-motion-fast) ease,background-color var(--ds-motion-fast) ease,box-shadow var(--ds-motion-fast) ease; }
body.ds-nexo-cart-page.ds-nexo-motion .dsn-cart-qty:focus-within { border-color:#2279bb;box-shadow:0 0 0 3px rgba(28,122,201,.13); }
body.ds-nexo-account-page.ds-nexo-motion .dsn-account-nav__link:is(:hover,:focus-visible),
body.ds-nexo-b2b-command-page.ds-nexo-motion .dscb__nav a:is(:hover,:focus-visible) { background:#e8f4ff;box-shadow:inset 3px 0 #ff7900; }
body.ds-nexo-b2b-command-page.ds-nexo-motion .dscb__metrics > *,
body.ds-nexo-account-page.ds-nexo-motion .dsn-account-metric { transition:transform var(--ds-motion-base) var(--ds-ease-premium),box-shadow var(--ds-motion-base) ease; }
@media (hover:hover) and (pointer:fine) { body.ds-nexo-b2b-command-page.ds-nexo-motion .dscb__metrics > *:hover,body.ds-nexo-account-page.ds-nexo-motion .dsn-account-metric:hover { transform:translateY(-2px);box-shadow:0 8px 18px rgba(5,35,66,.09); } }
@media (hover:none),(pointer:coarse) {
  body.ds-nexo-motion .ds-motion-card:active,body.ds-nexo-motion .ds-motion-cta:active { transform:scale(.985); }
  body.ds-nexo-motion .ds-motion-card--strong::before { display:none; }
}
@media (max-width:1024px) { body.ds-nexo-motion { --ds-lift-lg:-4px;--ds-motion-shadow:0 9px 22px rgba(5,35,66,.12); } }
@media (prefers-reduced-motion:reduce) {
  body.ds-nexo-motion *,body.ds-nexo-motion *::before,body.ds-nexo-motion *::after { scroll-behavior:auto !important;animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important; }
  body.ds-nexo-motion .ds-motion-card,body.ds-nexo-motion .ds-motion-cta,body.ds-nexo-motion .ds-motion-reveal,body.ds-nexo-motion .ds-nexo-home__category img { transform:none !important;opacity:1 !important; }
  body.ds-nexo-home-page.ds-nexo-motion .ds-nexo-home-hero .ds-nexo__image { transform:translateX(-50%) !important; }
  body.ds-nexo-motion .ds-motion-card--strong::before { display:none !important; }
}
