/* Studio Motion / 03: depth, lighting and movement with shared pause controls. */
.product-stage{background:#dfe8df;--product-angle:-18deg}
.stage-aura{position:absolute;inset:0;z-index:-1;color:#c6e0b7;background:radial-gradient(ellipse at var(--light-x,50%) 36%,#ffffff 0%,#ffffff00 72%),linear-gradient(135deg,#f4f7f0,currentColor);transition:color .8s ease;pointer-events:none}
.product-stage[data-product=satisfyer-pro-2-generation-3] .stage-aura{color:#e0c5d3}
.product-stage[data-product=lovense-lush-3] .stage-aura{color:#e6c5e9}
.stage-float{position:absolute;inset:0;z-index:2;pointer-events:none;transform:translate3d(var(--float-x,0px),var(--float-y,0px),0) rotate(var(--float-roll,0deg));will-change:transform}
.stage-product{--product-angle:-18deg;transform:translate(calc(-50% + var(--pointer-x,0)*24px),calc(-50% + var(--pointer-y,0)*16px)) rotate(var(--product-angle));filter:drop-shadow(12px 25px 12px #172b252a)}
.stage-product-1{--product-angle:25deg}.stage-product-2{--product-angle:-14deg}
.product-stage[data-motion=playing] .stage-product:not([hidden]){animation:product-arrive .38s cubic-bezier(.16,1,.3,1) both}
@keyframes product-arrive{from{opacity:0;translate:25px 14px;scale:.93}to{opacity:1;translate:0 0;scale:1}}
.stage-shadow{transform:rotate(-7deg) scale(var(--shadow-scale,1));opacity:.9}
.stage-top>span:first-child{display:flex;align-items:center;gap:7px}
.stage-top>span:first-child:before{content:'';width:4px;height:4px;flex-shrink:0;border-radius:50%;background:#426b2c;box-shadow:0 0 0 3px #ffffff60}
.stage-info{transition:background-color .5s ease}
.stage-info>a{transition:background .2s,transform .3s}
.stage-info>a:hover{transform:rotate(-8deg)}
.stage-choice{transition:background .3s,box-shadow .3s}
.stage-choice[aria-pressed=true]{box-shadow:inset 0 -3px 0 #719737}
.stage-choice img{transition:transform .4s}.stage-choice:hover img{transform:rotate(-12deg) scale(1.15)}
.motion-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 17px;background:#202722;color:#e9f0e4;border:1px solid #202722;min-height:58px}
.motion-toggle{display:flex;align-items:center;gap:9px;min-height:30px;padding:3px 0;white-space:nowrap;font-size:9px;color:#eef5e9;font-weight:500;letter-spacing:.2px}
.motion-toggle:focus-visible,.motion-range input:focus-visible{outline-color:var(--lime)}
.motion-symbol{width:13px;height:13px;display:block;position:relative;border-left:3px solid var(--lime);border-right:3px solid var(--lime);margin:0 3px}
.motion-toggle[data-playing=false] .motion-symbol{border-left:10px solid var(--lime);border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;width:0;height:0;margin:0 5px}
.motion-toggle:disabled{opacity:.7;cursor:default}
.motion-range{display:grid;grid-template-columns:auto minmax(55px,100px) 57px;align-items:center;gap:11px;font-size:8px}
.motion-range label{letter-spacing:.3px;color:#bfccba}.motion-range output{font-size:8px;color:var(--lime);text-align:right}
.motion-range input{width:100%;margin:0;accent-color:var(--lime);cursor:pointer;height:22px;touch-action:pan-y}
.motion-help{font-size:8px;letter-spacing:.15px;color:var(--muted);margin-top:9px;text-align:right;min-height:13px}
.stage-source{margin-top:3px;font-size:7px}
.product-stage[data-render=fallback][data-motion=playing][data-visible=true] .stage-float{animation:fallback-float var(--float-cycle,6s) ease-in-out infinite}
.product-stage[data-render=fallback][data-motion=playing][data-visible=true] .stage-fallback i{animation:fallback-ring var(--ring-cycle,9s) ease-in-out infinite}
@keyframes fallback-float{0%,100%{transform:translateY(0) rotate(calc(-1deg * var(--motion-strength,.6)))}50%{transform:translateY(calc(-13px * var(--motion-strength,.6))) rotate(calc(2deg * var(--motion-strength,.6)))}}
@keyframes fallback-ring{0%,100%{transform:rotateY(-20deg) rotateZ(-25deg)}50%{transform:rotateY(calc(-20deg + 25deg * var(--motion-strength,.6))) rotateZ(calc(-25deg + 13deg * var(--motion-strength,.6)))}}
.product-photo,.guide-art{transform:perspective(850px) rotateX(var(--card-x,0deg)) rotateY(var(--card-y,0deg));transition:transform .25s ease,box-shadow .3s ease;transform-style:preserve-3d}
.product-photo:hover{box-shadow:0 15px 28px #152d1712}
.product-photo:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at var(--shine-x,50%) var(--shine-y,50%),#ffffff55,transparent 60%);z-index:2;pointer-events:none;opacity:0;transition:opacity .25s}
.product-photo:hover:before{opacity:1}
.finder-sculpture .sculpture-disc{animation:disc-drift 7s ease-in-out infinite;animation-play-state:paused}
.finder-sculpture .disc-two{animation-delay:-2.2s}.finder-sculpture .disc-three{animation-delay:-4.4s}
html[data-motion=playing] .finder-sculpture[data-in-view=true] .sculpture-disc{animation-play-state:running}
@keyframes disc-drift{0%,100%{transform:rotateX(50deg) translateY(0) rotateZ(-2deg)}50%{transform:rotateX(57deg) translateY(-10px) rotateZ(3deg)}}
.product-stage[data-motion=paused] .stage-product,.product-stage[data-visible=false] .stage-product{animation:none}
.product-stage[data-motion=paused] .stage-aura,.product-stage[data-motion=paused] .stage-info{transition:none}
.product-stage[data-motion=paused] .stage-float{animation:none}
html[data-motion=paused] .product-photo,html[data-motion=paused] .guide-art{transform:none}
@media(max-width:1150px){.motion-controls{padding:11px 13px;gap:10px}.motion-range{grid-template-columns:auto minmax(40px,75px) 50px;gap:8px}.motion-toggle{font-size:8px}.motion-range label{font-size:7px}}
@media(max-width:900px) and (min-width:681px){.motion-range{grid-template-columns:minmax(45px,75px) 50px}.motion-range label{grid-column:1/-1}.motion-controls{padding:10px 12px}.motion-help{font-size:7px}}
@media(max-width:680px){.motion-controls{padding:11px 12px;gap:12px}.motion-toggle{font-size:8px}.motion-range{grid-template-columns:auto minmax(45px,70px) 44px;gap:7px}.motion-range label,.motion-range output{font-size:7px}.motion-help{text-align:left;font-size:7px;line-height:1.6}.stage-source{font-size:6px;text-align:left}.stage-aura{transition:color .5s}.product-photo:hover{box-shadow:none}}
@media(max-width:360px){.motion-controls{gap:8px;padding:9px 10px}.motion-toggle{font-size:7px;gap:5px}.motion-symbol{width:10px;height:11px}.motion-range{grid-template-columns:50px 42px;gap:2px 6px}.motion-range label{grid-column:1/-1;font-size:6px}.motion-range output{font-size:6px}.motion-help{font-size:6px}}
.motion-toggle{font-size:11px;min-height:36px}.motion-range{font-size:10px}.motion-range label,.motion-range output{font-size:10px}.motion-range input{height:30px}
@media(max-width:1150px){.motion-toggle{font-size:10px}.motion-range label,.motion-range output{font-size:8px}}
@media(max-width:680px){.motion-toggle{font-size:10px}.motion-range label,.motion-range output{font-size:8px}.motion-help{font-size:8px}.stage-source{font-size:7px}}
@media(max-width:360px){.motion-toggle{font-size:9px}.motion-range label,.motion-range output{font-size:7px}.motion-help{font-size:7px}}
@media(prefers-reduced-motion:reduce){.stage-float{transform:none!important;animation:none!important}.stage-product{animation:none!important;translate:none!important;scale:none!important}.sculpture-disc{animation:none!important}.product-photo,.guide-art{transform:none!important;transition:none!important}.stage-aura,.stage-info{transition:none!important}}
