/**
 * StaticPress Woo — static cart: state handling only (0.6.2).
 *
 * THE BACKEND WOOCOMMERCE CART BLOCK IS THE VISUAL SOURCE OF TRUTH.
 *
 * The shell and the runtime emit the Cart Block's own class structure, and the
 * export already ships WooCommerce's block stylesheets (wc-blocks.css,
 * cart.css, packages-style.css). Layout, typography, colour, buttons, the
 * quantity stepper, the totals panel and the responsive behaviour therefore all
 * come from WooCommerce itself.
 *
 * Nothing here may restyle the cart. The only rule is the one thing the block
 * CSS cannot do: hide the inactive states.
 */

/*
 * The block layout classes set `display: flex` / `display: grid`. An author
 * declaration outranks the user-agent `[hidden] { display: none }`, so without
 * this the hidden states would all render at once. `!important` is deliberate
 * and is scoped to this component only.
 */
[data-spwoo-cart-root][hidden],
[data-spwoo-cart-root] [hidden],
[data-spwoo-checkout-root][hidden],
[data-spwoo-checkout-root] [hidden] {
	display: none !important;
}
