/* Full Print: the configurator button replaces the normal "Dodaj do koszyka" (saving in the configurator adds to cart).
   :has works without the script too, e.g. while the configurator is unavailable. */
/* WooCommerce floats every button of the cart form (`.woocommerce div.product form.cart .button { float: left }`). In a
   block cart form our box and buttons span the column, so the float pushed the next block (quantity, sharing) out of it;
   flow-root keeps any theme's float inside our box, and the `.button` rule below (float: none) outranks WooCommerce's selector (0,5,2 > 0,4,2).
   Themes that make the cart form a flex row (form.cart:not(.variations_form)) would shrink the box to its text: there it
   grows to the free width of its flex line. flow-root also stops margin collapsing, so a status line that opens the box
   (the "unavailable" box) drops its top margin. */
.pcfg-wc { margin: 0 0 1em; display: flow-root; }
form.cart .pcfg-wc { flex: 1 1 auto; }
.woocommerce div.product form.cart .pcfg-wc .button { float: none; }
.pcfg-wc-design { width: 100%; }
.pcfg-wc-status { margin: .5em 0 0; font-size: .9em; }
.pcfg-wc-status:first-child { margin-top: 0; }
.pcfg-wc-status:empty { margin: 0; } /* the aria-live region stays in the accessibility tree */
.pcfg-wc-notice { margin: .5em 0 0; font-size: .9em; } /* the tenant's card.notice and privacy link (spec addendum C, C6.4) */
.pcfg-wc-fresh { width: 100%; margin-top: .5em; }
.pcfg-wc-fresh[hidden] { display: none !important; } /* themes give .button a display */
/* separate rules: a browser without :has would drop the whole selector list, the script's fallback class included */
form.cart:has(.pcfg-wc) .single_add_to_cart_button { display: none !important; }
.pcfg-wc-form .single_add_to_cart_button { display: none !important; }
