/* Hide commerce surfaces from first paint, including dynamically rendered ones. */
html[data-consultation-mode="true"] :is(
  #headerOrderButton, .shop-cart-nav, #cart, #checkout,
  [data-cart-add], [data-buy-now], .product-buy-actions [data-stock-contact], .smart-config-add,
  .product-cart-link, .product-quantity, .product-add-status,
  .price-deposit, .price-shipping-line, .shipping-terms,
  .product-selling-price > small, .shop-price-notice,
  a[href*="payment-policy"], .smart-cart-toast
) {
  display: none !important;
}
html.consultation-payment-policy #main > section,
html.consultation-payment-policy #main > p:not([data-consultation-policy]) {
  display: none !important;
}
html[data-consultation-mode="true"] body.storefront .topbar #storeSearchButton {
  margin-left: auto;
}
html[data-consultation-mode="true"] body.storefront .product-buy-actions {
  grid-template-columns: minmax(0, 1fr);
}
html[data-consultation-mode="true"] body.storefront .smart-config-actions {
  grid-template-columns: minmax(0, 1fr);
}
