/* AusPepLabs motion polish — opacity / transform / colour only (GPU-friendly). Scroll-reveal states only exist when apl-motion.js adds them. */

/* buttons: smooth colour + a 1px lift */
body .apl-sec .elementor-button,body a.apl-qa-btn,body button.single_add_to_cart_button,body .apl-qa-add{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
body a.apl-qa-btn:hover,body button.single_add_to_cart_button:hover:not(:disabled):not(.disabled){transform:translateY(-1px)}

/* home product cards: gentle lift (the shop grid already has its own hover; images already scale on hover) */
body .apl-products ul.products li.product{transition:transform .25s ease}
body .apl-products ul.products li.product:hover{transform:translateY(-3px)}

/* navigation: hover indicator that grows from the centre (active page keeps its static underline) */
body .apl-nav .elementor-nav-menu--main .elementor-item:not(.elementor-item-active)::after{content:"";position:absolute;left:0;right:0;bottom:3px;height:1px;background:var(--apl-teal);transform:scaleX(0);transform-origin:center;transition:transform .25s ease}
body .apl-nav .elementor-nav-menu--main .elementor-item:not(.elementor-item-active):is(:hover,:focus-visible)::after{transform:scaleX(1)}

/* promotional / info cards */
body .apl-note,body .apl-intro-card,body .apl-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body .apl-intro-card:hover,body .apl-card:hover{transform:translateY(-2px)}

/* scroll reveal (below-the-fold only; classes are added by JS, so without JS everything is simply visible) */
.apl-motion .apl-rv{opacity:0;transform:translate3d(0,18px,0);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:var(--apl-d,0s);will-change:opacity,transform}
.apl-motion .apl-rv.is-in{opacity:1;transform:none}

@media(prefers-reduced-motion:reduce){
 .apl-motion .apl-rv{opacity:1;transform:none;transition:none}
 body .apl-nav .elementor-nav-menu--main .elementor-item::after,body .apl-products ul.products li.product,body a.apl-qa-btn{transition:none}
}
