/* CyberMajster / Motion V2 — clearly visible, restrained pointer interactions.
   Loaded after page-specific CSS via shared footer; scoped, no commerce logic. */
:root{--cm-hover-ease:cubic-bezier(.22,1,.36,1);--cm-hover-time:360ms}
@media (hover:hover) and (pointer:fine){
  /* Product catalog: deliberate lift and premium cyan edge, not a blinking effect. */
  body.wm-catalog-cinematic .wm-catalog-section .wm-catalog-card,
  body.wm-accessories-cinematic .wm-catalog-section .wm-catalog-card{
    transform:translateY(0)!important;
    transition:transform 380ms var(--cm-hover-ease),box-shadow 380ms var(--cm-hover-ease),border-color 380ms ease!important;
    will-change:auto;
  }
  body.wm-catalog-cinematic .wm-catalog-section .wm-catalog-card:hover,
  body.wm-accessories-cinematic .wm-catalog-section .wm-catalog-card:hover{
    transform:translateY(-7px)!important;
    border-color:rgba(0,245,205,.72)!important;
    box-shadow:0 30px 65px rgba(0,0,0,.53),0 0 0 1px rgba(0,245,205,.18),0 0 28px rgba(0,245,205,.12)!important;
  }
  body.wm-catalog-cinematic .wm-catalog-card .wm-stage-fg,
  body.wm-accessories-cinematic .wm-catalog-card .wm-stage-fg{
    transition:transform 550ms var(--cm-hover-ease),filter 550ms ease!important;
  }
  body.wm-catalog-cinematic .wm-catalog-card:hover .wm-stage-fg{
    transform:scale(1.075)!important;
    filter:drop-shadow(0 21px 24px rgba(0,245,205,.18))!important;
  }
  body.wm-accessories-cinematic .wm-catalog-card:hover .wm-stage-fg{
    transform:scale(1.055)!important;
  }
  /* Home cards, feature tiles and custom showcases */
  body .cm-home .cm-grid4 .cm-card,
  body .cm-home .cm-grid3 .cm-card,
  body .cm-home .cm-feature,
  body .wm-custom-projects .wm-custom-card{
    transform:translateY(0);
    transition:transform 420ms var(--cm-hover-ease),border-color 330ms ease,box-shadow 420ms var(--cm-hover-ease)!important;
  }
  body .cm-home .cm-grid4 .cm-card:hover,
  body .cm-home .cm-grid3 .cm-card:hover,
  body .cm-home .cm-feature:hover,
  body .wm-custom-projects .wm-custom-card:hover{
    transform:translateY(-6px)!important;
    border-color:rgba(0,245,205,.62)!important;
    box-shadow:0 27px 55px rgba(0,0,0,.38),0 0 25px rgba(0,245,205,.09)!important;
  }
  body .cm-home .cm-feature img,
  body .wm-custom-projects .wm-custom-card img{
    transition:transform 650ms var(--cm-hover-ease),filter 550ms ease!important;
  }
  body .cm-home .cm-feature:hover img,
  body .wm-custom-projects .wm-custom-card:hover img{transform:scale(1.06)!important}
  /* All primary and secondary actions: small motion, clear feedback. */
  body :is(.wm-btn-cyan-glow,.wm-btn-outline-cyan,.wm-btn-back,.wm-btn-cart-huge,
    .wm-btn-checkout,.wm-btn-checkout-final,.wm-btn-contact-solid,.wm-btn-contact-outline,
    .wm-btn-contact-submit,.wm-btn-continue,.wm-add-addon,.wm-btn-center){
    transition:transform 260ms var(--cm-hover-ease),background-color 260ms ease,color 260ms ease,
      border-color 260ms ease,box-shadow 300ms ease,filter 260ms ease!important;
  }
  body :is(.wm-btn-cyan-glow,.wm-btn-outline-cyan,.wm-btn-back,.wm-btn-cart-huge,
    .wm-btn-checkout,.wm-btn-checkout-final,.wm-btn-contact-solid,.wm-btn-contact-outline,
    .wm-btn-contact-submit,.wm-btn-continue,.wm-add-addon,.wm-btn-center):hover{
    transform:translateY(-3px)!important;
    filter:brightness(1.12);
    box-shadow:0 10px 28px rgba(0,245,205,.17)!important;
  }
  body :is(.wm-btn-cyan-glow,.wm-btn-outline-cyan,.wm-btn-cart-huge,.wm-btn-contact-solid) .wm-icon-ml,
  body :is(.wm-btn-cyan-glow,.wm-btn-outline-cyan,.wm-btn-cart-huge,.wm-btn-contact-solid) .fa-arrow-right{
    display:inline-block;
    transition:transform 300ms var(--cm-hover-ease)!important;
  }
  body :is(.wm-btn-cyan-glow,.wm-btn-outline-cyan,.wm-btn-cart-huge,.wm-btn-contact-solid):hover :is(.wm-icon-ml,.fa-arrow-right){
    transform:translateX(5px)!important;
  }
  body .menu-link{
    transition:color 260ms ease,text-shadow 260ms ease,transform 260ms var(--cm-hover-ease)!important;
  }
  body .menu-link:hover{transform:translateY(-2px)!important}
  body .wm-gallery-thumbs img{
    transition:filter 300ms ease,opacity 300ms ease,border-color 300ms ease,transform 360ms var(--cm-hover-ease)!important;
  }
  body .wm-gallery-thumbs img:hover{transform:scale(1.045);filter:brightness(1) grayscale(0)!important}
  /* Product cards in the technology section, with no impact on sticky checkout. */
  body .wm-spec-card{
    transition:transform 350ms var(--cm-hover-ease),border-color 350ms ease,box-shadow 350ms ease!important;
  }
  body .wm-spec-card:hover{transform:translateY(-3px)!important;box-shadow:0 14px 28px rgba(0,0,0,.24)}
}
@media (hover:none),(pointer:coarse){
  body.wm-catalog-cinematic .wm-catalog-section .wm-catalog-card,
  body.wm-accessories-cinematic .wm-catalog-section .wm-catalog-card{will-change:auto}
}
@media (prefers-reduced-motion:reduce){
  body.wm-catalog-cinematic .wm-catalog-section .wm-catalog-card,
  body.wm-accessories-cinematic .wm-catalog-section .wm-catalog-card,
  body .cm-home .cm-grid4 .cm-card,body .cm-home .cm-grid3 .cm-card,
  body .cm-home .cm-feature,body .wm-custom-projects .wm-custom-card,
  body .wm-catalog-card .wm-stage-fg,
  body .menu-link,body .wm-spec-card,
  body .wm-gallery-thumbs img,
  body :is(.wm-btn-cyan-glow,.wm-btn-outline-cyan,.wm-btn-cart-huge,
    .wm-btn-back,.wm-btn-checkout-final,.wm-btn-contact-solid){
      transition-duration:.01ms!important;animation-duration:.01ms!important;
  }
  body.wm-catalog-cinematic .wm-catalog-section .wm-catalog-card:hover,
  body.wm-accessories-cinematic .wm-catalog-section .wm-catalog-card:hover,
  body .cm-home .cm-card:hover,body .cm-home .cm-feature:hover{
      transform:none!important;
  }
  body :is(.wm-btn-cyan-glow,.wm-btn-outline-cyan,.wm-btn-back,.wm-btn-cart-huge,
    .wm-btn-checkout,.wm-btn-checkout-final,.wm-btn-contact-solid,.wm-btn-contact-outline,
    .wm-btn-contact-submit,.wm-btn-continue,.wm-add-addon,.wm-btn-center):hover,
  body .wm-gallery-thumbs img:hover,body .wm-spec-card:hover,
  body .menu-link:hover{transform:none!important}
}
