/* v0.8.3.1 — Official WooCommerce Blocks only. Preserve layout, state and block interactions. */
body.q88wst-card-ui.q88wst-adapter-blocks :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){min-width:0;max-width:100%}
/* Each block's existing semantic region becomes its own surface: no wrappers or DOM mutations. */
body.q88wst-card-ui.q88wst-adapter-blocks .wp-block-woocommerce-cart :is(.wc-block-cart-items,.wc-block-cart__totals-title,.wc-block-components-sidebar),
body.q88wst-card-ui.q88wst-adapter-blocks .wp-block-woocommerce-checkout :is(.wc-block-checkout__main .wc-block-components-checkout-step,.wc-block-components-sidebar){box-sizing:border-box;min-width:0;background:var(--wc-card-bg);border:var(--wc-card-border);border-radius:var(--wc-card-radius);padding:var(--wc-card-padding);box-shadow:var(--wc-card-shadow);margin-bottom:var(--wc-card-gap)}
/* Avoid nested surface styling when WooCommerce renders totals inside the sidebar. */
body.q88wst-card-ui.q88wst-adapter-blocks .wp-block-woocommerce-cart .wc-block-components-sidebar .wc-block-cart__totals-title{background:transparent;border:0;box-shadow:none;padding:0;margin:0}
/* Block product collections: paint cards without changing grid dimensions or image ratios. */
body.q88wst-card-ui.q88wst-adapter-blocks :is(.wp-block-woocommerce-product-collection,.wc-block-grid) :is(li.wc-block-product,.wc-block-grid__product){box-sizing:border-box;min-width:0;background:var(--wc-card-bg);border:var(--wc-card-border);border-radius:var(--wc-card-radius);padding:12px;overflow-wrap:anywhere}
body.q88wst-card-ui.q88wst-adapter-blocks :is(.wp-block-woocommerce-product-collection,.wc-block-grid) img{max-width:100%;height:auto}
@media(max-width:781px){body.q88wst-card-ui.q88wst-adapter-blocks :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){width:100%}}
