/* FaraPay tactile details — eight short, local effects. No payment-state simulation. */
.fp-play-enabled{--fp-play-shadow:color-mix(in srgb,var(--rd-blue,#2455cd) 23%,transparent);--fp-play-soft:color-mix(in srgb,var(--rd-blue,#2455cd) 8%,var(--rd-surface,#fff));--fp-play-edge:color-mix(in srgb,var(--rd-accent,#2455cd) 72%,#142c69)}

/* 1. Product posters: a small clay-card tilt; existing reveal links still work. */
.fp-play-enabled .rd-product-card{perspective:950px}
.fp-play-enabled .fp-play-poster{transform-origin:50% 75%;transition:translate .24s ease,rotate .24s ease,box-shadow .24s ease;box-shadow:inset 0 1px 0 #ffffff1a,0 3px 0 #17284035}
.fp-play-enabled .fp-play-poster:focus-visible{translate:0 -3px;rotate:1 .8 0 -2deg;box-shadow:inset 0 1px 0 #ffffff26,0 6px 0 #17284026,0 12px 24px #17284018}

/* 2. Service cover art floats away from a soft, stationary grounding shadow. */
.fp-play-enabled .fp-play-service-art{position:relative;display:block;isolation:isolate}
.fp-play-enabled .fp-play-service-art::after{content:"";position:absolute;z-index:0;inset-inline:27%;bottom:2px;height:9px;border-radius:50%;background:#223b6212;scale:.84 1;transition:scale .24s ease,background .24s ease;pointer-events:none}
.fp-play-enabled .fp-play-service-art>img{position:relative;z-index:1;transform-origin:50% 90%;transition:translate .24s ease,rotate .24s ease}
.fp-play-enabled .fp-play-service:focus-visible .fp-play-service-art>img{translate:0 -5px;rotate:-1deg}
.fp-play-enabled .fp-play-service:focus-visible .fp-play-service-art::after{scale:1 1;background:#223b621a}

/* 3. Browsing buttons have a solid base that compresses under a real press. */
.fp-play-enabled .fp-play-press{box-shadow:0 4px 0 var(--fp-play-edge),inset 0 1px 0 #ffffff45;transition:translate .15s ease,box-shadow .15s ease,background .2s ease}
.fp-play-enabled .fp-play-press:active:not(:disabled){translate:0 3px;box-shadow:0 1px 0 var(--fp-play-edge),inset 0 2px 3px #11296018}

/* 4. Selected category pills briefly squash, then settle on a raised base. */
.fp-play-enabled .fp-play-filter:is(.is-active,[aria-pressed="true"]){box-shadow:inset 0 1px 0 #ffffff35,0 3px 0 var(--fp-play-shadow)}
.fp-play-enabled .fp-play-filter-picked{animation:fp-play-pill .3s ease-out}
@keyframes fp-play-pill{0%{scale:1 1}35%{scale:1.055 .91}70%{scale:.985 1.035}100%{scale:1 1}}

/* 5. FAQ answers unfold like a small sheet; text is never pre-hidden. */
.fp-play-enabled .fp-play-faq>summary>span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--fp-play-soft);box-shadow:inset 0 1px 0 #ffffff66,0 2px 0 var(--fp-play-shadow);transition:transform .2s ease}
.fp-play-enabled .fp-play-faq[open]>p{transform-origin:50% 0;animation:fp-play-paper .28s ease-out}
@keyframes fp-play-paper{from{transform:perspective(650px) rotateX(-10deg);opacity:.65}to{transform:perspective(650px) rotateX(0);opacity:1}}

/* 6. The newly selected theme icon turns a quarter-circle, once per click. */
.fp-play-enabled .fp-play-theme-turn{transform-origin:50% 50%;animation:fp-play-theme .32s ease-out}
@keyframes fp-play-theme{from{rotate:-90deg;scale:.84;opacity:.55}to{rotate:0deg;scale:1;opacity:1}}

/* 7. Cart bag bounce only follows FP_PRODUCT.added confirmed by the server. */
.fp-play-enabled .fp-play-cart-confirmed{transform-origin:50% 20%;animation:fp-play-bag .58s ease-out}
@keyframes fp-play-bag{0%,100%{translate:0 0;rotate:0deg;scale:1}24%{translate:0 -4px;rotate:-9deg;scale:1.07 .96}49%{translate:0 1px;rotate:6deg;scale:.98 1.03}72%{translate:0 -1px;rotate:-2deg;scale:1}}

/* 8. How-to steps pop into place on their first viewport entry. */
.fp-play-enabled .fp-play-step>span{display:inline-block;color:var(--rd-blue,#2455cd);text-shadow:0 2px 0 var(--fp-play-soft)}
.fp-play-enabled .fp-play-step-pop{animation:fp-play-step .4s ease-out both;animation-delay:var(--fp-play-delay,0ms)}
@keyframes fp-play-step{0%{translate:0 9px;scale:.975;opacity:.7}65%{translate:0 -2px;scale:1.008;opacity:1}100%{translate:0 0;scale:1;opacity:1}}

@media(hover:hover) and (pointer:fine){
 .fp-play-enabled .fp-play-poster:hover{translate:0 -3px;rotate:1 .8 0 -2deg;box-shadow:inset 0 1px 0 #ffffff26,0 6px 0 #17284026,0 12px 24px #17284018}
 .fp-play-enabled .fp-play-service:hover .fp-play-service-art>img{translate:0 -5px;rotate:-1deg}
 .fp-play-enabled .fp-play-service:hover .fp-play-service-art::after{scale:1 1;background:#223b621a}
 .fp-play-enabled .fp-play-press:hover{box-shadow:0 5px 0 var(--fp-play-edge),inset 0 1px 0 #ffffff45,0 9px 20px #2455cd12}
}

/* Pause only this layer when hidden or when the user asks for less motion. */
.fp-play-paused :is(.fp-play-poster,.fp-play-service-art>img,.fp-play-press,.fp-play-filter,.fp-play-faq>p,.fp-play-theme-turn,.fp-play-cart-confirmed,.fp-play-step){animation:none!important;transition:none!important;translate:none!important;rotate:none!important;scale:none!important}
.fp-play-paused .fp-play-service-art::after{transition:none!important;scale:1 1}
.fp-play-paused .fp-play-faq>summary>span{transition:none!important}
@media(prefers-reduced-motion:reduce){
 .fp-play-enabled :is(.fp-play-poster,.fp-play-service-art>img,.fp-play-press,.fp-play-filter,.fp-play-faq>p,.fp-play-theme-turn,.fp-play-cart-confirmed,.fp-play-step){animation:none!important;transition:none!important;translate:none!important;rotate:none!important;scale:none!important}
 .fp-play-enabled .fp-play-service-art::after{transition:none!important;scale:1 1}
 .fp-play-enabled .fp-play-faq>summary>span{transition:none!important}
}
