/**
 * Experiment: hide_express_checkout
 * Hypothesis: Hiding the express-pay buttons (PayPal / Apple Pay) on product pages,
 *             in the mini-cart and on the checkout keeps buyers in the regular
 *             checkout flow and increases purchases.
 * Groups: Control | Test (parameter: variant = control | test)
 * Primary metric: purchase
 * Pages: all
 * Activate: manual
 *
 * Loads on every page because the mini-cart drawer is on every page.
 * Exposure is triggered by hide-express-checkout.js only where the buttons show:
 * product pages, /afrekenen/, and when the mini-cart opens.
 */

/* Product page: the whole pay block, including its "of" divider (::before),
   both inline on desktop and in the sticky buy dock on mobile. */
html.sx-hide_express_checkout--test .slick-product-pay { display: none; }

/* Mini-cart drawer */
html.sx-hide_express_checkout--test .slick-express-checkout--minicart { display: none; }

/* Checkout (/afrekenen/) only. The same base class is used by the quick view on
   category pages, so it is scoped to the checkout and excludes the thank-you page. */
html.sx-hide_express_checkout--test body.woocommerce-checkout:not(.woocommerce-order-received) .slick-express-checkout { display: none; }
