/* Prepare the existing UI before footer scripts run; never hide the whole page. */
.ttm-ui-boot form.checkout #customer_details{display:none}
html.ttm-ui-js .woocommerce-product-gallery:is([style*="opacity: 0"],[style*="opacity:0"]):not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:not(:first-child){display:none}

/* Motion changes paint properties only, keeping buttons and touch targets in place. */
body :where(button,input[type=submit],input[type=button],.button,.outline-button,.checkout-button,.account-link,.back-to-top,.pdp-mobile-shop-link){
 transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease,box-shadow 160ms ease,filter 120ms ease,opacity 160ms ease;
 -webkit-tap-highlight-color:transparent;
}
body :is(.button,.outline-button,input[type=submit]){border-radius:10px}
body :where(button,input[type=submit],input[type=button],.button,.outline-button,.checkout-button,.account-link,.back-to-top):focus-visible{outline:2px solid var(--pink,#f70050);outline-offset:3px}
body :where(button,input[type=submit],input[type=button],.button):disabled,body .button[aria-disabled=true]{cursor:not-allowed;box-shadow:none}
body .quantity-step:focus-visible{outline-offset:-2px;border-radius:5px}
body :where(.ttm-sheet-close,.pdp-mobile-share,.pdp-mobile-more){border-radius:50%}
.login .button-primary{border-radius:10px}
@media(hover:hover) and (pointer:fine){
 body :where(.button,.account-link,.back-to-top,.pdp-mobile-buy,.pdp-mobile-add,.checkout-button,.ttm-checkout-address-save,.ttm-video-coupon button,.ttm-video-confirmation button,.ttm-video-request-form>button,input[type=submit]):hover:not(:disabled):not(.disabled):not([aria-disabled=true]){filter:brightness(.975)}
 body :where(.outline-button,.ttm-cart-edit,.ttm-cart-summary-toggle,.ttm-sheet-close,.quantity-step):hover:not(:disabled){background-color:color-mix(in srgb,var(--pink,#f70050) 7%,white);color:var(--pink,#f70050)}
 body :where(.variation-swatch):hover:not(:disabled){border-color:var(--pink,#f70050);background-color:#fff7fa}
 body :where(.pdp-mobile-options,.ttm-video-payment-row,.ttm-video-offer-row,.ttm-video-action-link,.ttm-checkout-address-open):hover{background-color:color-mix(in srgb,var(--pink,#f70050) 3%,white)}
 body .store-search>button:hover{color:var(--pink,#f70050)}
}
body :where(button,input[type=submit],input[type=button],.button,.outline-button,.checkout-button,.account-link,.back-to-top):active:not(:disabled):not(.disabled):not([aria-disabled=true]){filter:brightness(.94)}
@media(min-width:1024px){
 html.ttm-ui-js .ttm-gallery-has-thumbs:is([style*="opacity: 0"],[style*="opacity:0"]):not(:has(.flex-control-thumbs))::after{content:'';display:block;height:99px}
}
@media(prefers-reduced-motion:reduce){
 body :where(button,input[type=submit],input[type=button],.button,.outline-button,.checkout-button,.account-link,.back-to-top,.pdp-mobile-shop-link){transition:none}
}
