/**
 * Proforma-only cart styling.
 *
 * Hides the immediate-checkout buttons the theme / WooCommerce Cart Block render,
 * and gives the injected «ثبت درخواست پیش‌فاکتور» button (added by
 * wcpw-proforma-cart.js) a full-width, primary look. Uses logical properties so
 * it is RTL/LTR-safe without a separate stylesheet.
 *
 * The `:not(.wcpw-proforma-cta)` guards make sure we never hide our own button.
 */

/* Standard WooCommerce Cart Block "Proceed to checkout" button. */
.wc-block-cart__submit-button:not(.wcpw-proforma-cta),
/* Classic cart + mini-cart checkout buttons. */
.woocommerce a.button.checkout:not(.wcpw-proforma-cta),
a.checkout.wc-forward:not(.wcpw-proforma-cta),
/* Jiawaz theme step link that jumps straight to /checkout/. */
a.shopping-step[href*="/checkout"]:not(.wcpw-proforma-cta) {
	display: none !important;
}

/* The injected request button. */
a.wcpw-proforma-cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	margin-block-start: 12px;
	text-decoration: none;
}

a.wcpw-proforma-cta .wc-block-components-button__text {
	pointer-events: none;
}
