/* Content is visible by default. JS only adds one-time entrance animations on intersection. */
.reveal{--reveal-delay:0ms}
.reveal.motion-enter{animation:samadz-reveal-up 450ms cubic-bezier(.2,.65,.3,1) var(--reveal-delay) both}
.reveal-fade.motion-enter{animation-name:samadz-reveal-fade}
.reveal-scale.motion-enter{animation-name:samadz-reveal-scale;animation-duration:350ms}
.samadz-multi-product.motion-enter .samadz-continue-cart>span{display:inline-block;animation:samadz-plus-in 250ms 100ms ease-out both}
.samadz-continue-cart,.samadz-sticky-purchase .button{transition:transform 180ms ease,background-color 180ms ease}
.samadz-continue-cart:active,.samadz-sticky-purchase .button:active{transform:scale(.98)!important}
.samadz-cart-pop{animation:samadz-cart-pop 420ms ease-out 1}
@media(hover:hover) and (pointer:fine){
    .samadz ul.products li.samadz-product-card{transition:transform 220ms ease,border-color 220ms ease}
    .samadz ul.products li.samadz-product-card:hover{transform:translateY(-3px)}
    .samadz ul.products li.samadz-product-card .samadz-card-image-link img{transition:transform 300ms ease}
    .samadz ul.products li.samadz-product-card:hover .samadz-card-image-link img{transform:scale(1.02)}
}
@media(hover:none){
    .samadz ul.products li.samadz-product-card:hover{transform:none}
    .samadz ul.products li.samadz-product-card:hover .samadz-card-image-link img{transform:none}
    .samadz-card-add:active,.samadz-card-wishlist:active{transform:scale(.98)}
}
@media(max-width:768px){
    .samadz.samadz-pdp.samadz-mobile-actions-ready .summary form.cart .single_add_to_cart_button,
    .samadz.samadz-pdp.samadz-mobile-actions-ready .summary form.cart .samadz-quick-open{display:none!important}
    .samadz-pdp:not(.samadz-mobile-actions-ready) .samadz-sticky-purchase{display:none}
    body.samadz-pdp{padding-bottom:max(calc(100px + env(safe-area-inset-bottom,0px)),var(--samadz-sticky-space,100px))}
    html:has(body.samadz-pdp){scroll-padding-bottom:calc(var(--samadz-sticky-space,100px) + 24px)}
    .samadz-pdp :is(input,select,textarea,button,a,summary){scroll-margin-bottom:calc(var(--samadz-sticky-space,100px) + 24px)}
    .samadz.samadz-pdp .samadz-sticky-purchase{animation:samadz-sticky-in 400ms cubic-bezier(.2,.65,.3,1) both}
    .samadz.samadz-pdp .samadz-sticky-purchase .samadz-quick-open{box-shadow:0 3px 10px #0c58d820;animation:samadz-buy-attention 20s 8s ease-in-out infinite}
    .samadz-pdp:has(#quick-order:focus-within) .samadz-sticky-purchase .samadz-quick-open,
    .samadz-sticky-purchase .samadz-quick-open:focus-visible,.samadz-sticky-purchase .samadz-quick-open:disabled{animation:none!important}
}
/* Native visibility/required fields and totals still update immediately; unsupported browsers toggle normally. */
.woocommerce-checkout #billing_address_1_field{transition:opacity 250ms ease,transform 250ms ease,display 250ms allow-discrete;opacity:1;transform:none}
.woocommerce-checkout #billing_address_1_field[style*="display: none"]{opacity:0;transform:translateY(8px)}
@starting-style{.woocommerce-checkout #billing_address_1_field:not([style*="display: none"]){opacity:0;transform:translateY(8px)}}
@keyframes samadz-reveal-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes samadz-reveal-fade{from{opacity:0}to{opacity:1}}
@keyframes samadz-reveal-scale{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes samadz-plus-in{0%{transform:scale(.92)}65%{transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes samadz-sticky-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes samadz-buy-attention{0%,90%,96%,100%{transform:scale(1)}93%{transform:scale(1.025)}}
@keyframes samadz-cart-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.12)}}
.samadz-total-updated{animation:samadz-reveal-fade 300ms ease-out}
@media(prefers-reduced-motion:reduce){
    .samadz-total-updated,.samadz-quick-checkout #place_order,.samadz-quick-checkout #place_order::before,.samadz-quick-checkout :is(input,select,textarea){animation:none!important;transition:none!important;transform:none!important}
    .reveal,.reveal.motion-enter,.samadz-multi-product .samadz-continue-cart>span,.samadz-cart-pop,
    .samadz.samadz-pdp .samadz-sticky-purchase,.samadz.samadz-pdp .samadz-sticky-purchase .button,
    .samadz ul.products li.samadz-product-card,.samadz ul.products li.samadz-product-card img,
    .samadz-continue-cart,.woocommerce-checkout #billing_address_1_field{animation:none!important;transition:none!important}
    .reveal{opacity:1!important;transform:none!important}
    .samadz ul.products li.samadz-product-card:hover,.samadz ul.products li.samadz-product-card:hover .samadz-card-image-link img,
    .samadz-continue-cart:active,.samadz-sticky-purchase .button:active,.samadz-card-add:active,.samadz-card-wishlist:active{transform:none!important}
}
