/* Shop & category pages in 3D */

/* tilt + glare */
.fx-tilt{--fx-rx:0deg;--fx-ry:0deg;--fx-gx:50%;--fx-gy:50%;--fx-lift:0px;
 transform:perspective(1100px) rotateX(var(--fx-rx)) rotateY(var(--fx-ry));
 transition:transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease,background .5s ease}
.fx-tilt.is-fx-on{transition:transform .12s linear,box-shadow .45s ease,background .5s ease;
 transform:perspective(1100px) rotateX(var(--fx-rx)) rotateY(var(--fx-ry)) translate3d(0,calc(var(--fx-lift) * -1),0)}
.fx-sheen{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:6;opacity:0;transition:opacity .35s ease;
 background:radial-gradient(520px circle at var(--fx-gx) var(--fx-gy),rgba(255,255,255,.34),rgba(255,255,255,0) 46%)}
.fx-tilt.is-fx-on .fx-sheen{opacity:1}

/* planner scenes: deeper shadow and a softer, wider light */
.fx-stage.is-fx-on{box-shadow:0 40px 70px -30px rgba(20,41,46,.55),0 18px 30px -18px rgba(20,41,46,.35)}
.fx-stage .fx-sheen{background:radial-gradient(700px circle at var(--fx-gx) var(--fx-gy),rgba(255,248,230,.2),rgba(255,248,230,0) 55%);mix-blend-mode:screen}

/* product cards */
.woocommerce ul.products li.product.fx-tilt:hover{transform:perspective(1100px) rotateX(var(--fx-rx)) rotateY(var(--fx-ry)) translate3d(0,calc(var(--fx-lift) * -1),0)}
ul.products li.product.fx-tilt.is-fx-on{box-shadow:0 30px 50px -24px rgba(37,60,49,.45)}
ul.products li.product.fx-tilt a img{transition:transform .7s cubic-bezier(.2,.8,.2,1),filter .3s}
ul.products li.product.fx-tilt.is-fx-on a img{transform:scale(1.05)}

/* rise in */
.fx-rv:not(.is-in){transform:translateY(42px) scale(.98);opacity:0}
.fx-rv{transition:transform .9s cubic-bezier(.2,.8,.2,1),opacity .8s ease;transition-delay:calc(var(--fx-i,0) * 90ms)}
.fx-rv.is-in.is-fx-on{transition-delay:0s}

@media (prefers-reduced-motion:reduce){.fx-tilt,.fx-rv{transition:none;transform:none}}
