/* Conditra Checkout Rules for WooCommerce — checkout styles. */

/* Field hidden by a rule. */
.ccfo-hidden {
	display: none !important;
}

/* "(includes … tax)" note hidden by a tax display rule: classic and
   Checkout Block. */
body.ccfo-hide-tax-note .includes_tax,
body.ccfo-hide-tax-note .wc-block-components-totals-footer-item-tax {
	display: none !important;
}

/* Order rules (block checkout / block the order): buttons held back while a
   rule blocks. */
.ccfo-checkout-disabled,
/* stylelint-disable-next-line selector-id-pattern */
#place_order[data-ccfo-blocked],
body.ccfo-order-blocked .wc-block-cart__submit-button,
body.ccfo-order-blocked .wc-block-components-checkout-place-order-button {
	opacity: 0.5;
	cursor: not-allowed;
}

.ccfo-checkout-disabled {
	width: 100%;
}

/* Mini cart: the message sits in the buttons paragraph, above the disabled
   button. */
.ccfo-order-blocked--mini {
	font-size: 0.9em;
	display: block;
	margin: 0 0 0.5em;
}
