.sprintos-b2b-rfq {
	margin: 2em 0;
	padding: 1.25em;
	border: 1px solid #ddd;
}

.sprintos-b2b-rfq__form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.sprintos-b2b-rfq__form input,
.sprintos-b2b-rfq__form textarea {
	width: 100%;
	max-width: 32rem;
}

.sprintos-b2b-rfq__message {
	margin-top: 0.75em;
	font-weight: 600;
	padding: 0.85em 1em;
	border-radius: 4px;
}

.sprintos-b2b-rfq__message.is-success {
	background: #edfaef;
	border: 1px solid #8ed19a;
	color: #1e4620;
}

.sprintos-b2b-rfq__message.is-error {
	background: #fcf0f1;
	border: 1px solid #e8b4b8;
	color: #8a1f1f;
}

.sprintos-b2b-price-placeholder {
	display: inline-block;
	font-weight: 600;
}

.sprintos-b2b-single-cta {
	margin: 1em 0;
}

.sprintos-b2b-cta.button {
	display: inline-block;
}

.sprintos-b2b-blocks-notice {
	margin: 0 0 1.25em;
	padding: 0.85em 1em;
	border-radius: 4px;
}

.sprintos-b2b-blocks-notice.is-info {
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	color: #1e1e1e;
}

.sprintos-b2b-blocks-notice.is-error {
	background: #fcf0f1;
	border: 1px solid #e8b4b8;
	color: #1e1e1e;
}

.sprintos-b2b-rfq--blocks[hidden] {
	display: none !important;
}

/* Blocks + classic catalog: hide product prices for guests when hide/catalog/RFQ guest rules apply. */
body.sprintos-b2b-hide-prices .wc-block-components-product-price,
body.sprintos-b2b-hide-prices .wc-block-grid__product-price,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-price,
body.sprintos-b2b-hide-prices .wc-block-product .price,
body.sprintos-b2b-hide-prices .wc-block-product-template .price,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-collection .price,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-template .price,
body.sprintos-b2b-hide-prices ul.products li.product .price,
body.sprintos-b2b-hide-prices .woocommerce ul.products .price {
	font-size: 0 !important;
	line-height: 0 !important;
}

body.sprintos-b2b-hide-prices .wc-block-components-product-price > *,
body.sprintos-b2b-hide-prices .wc-block-grid__product-price > *,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-price > *,
body.sprintos-b2b-hide-prices .wc-block-product .price > *,
body.sprintos-b2b-hide-prices .wc-block-product-template .price > *,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-collection .price > *,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-template .price > *,
body.sprintos-b2b-hide-prices ul.products li.product .price > *,
body.sprintos-b2b-hide-prices .woocommerce ul.products .price > * {
	display: none !important;
}

body.sprintos-b2b-hide-prices .wc-block-components-product-price::after,
body.sprintos-b2b-hide-prices .wc-block-grid__product-price::after,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-price::after,
body.sprintos-b2b-hide-prices .wc-block-product .price::after,
body.sprintos-b2b-hide-prices .wc-block-product-template .price::after,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-collection .price::after,
body.sprintos-b2b-hide-prices .wp-block-woocommerce-product-template .price::after,
body.sprintos-b2b-hide-prices ul.products li.product .price::after,
body.sprintos-b2b-hide-prices .woocommerce ul.products .price::after {
	content: var(--sprintos-b2b-price-msg, "Login for price");
	font-size: 1rem;
	line-height: 1.4;
	font-weight: 600;
	display: inline-block;
}

/* JS-replaced placeholder should stay readable even if parent font-size is 0. */
body.sprintos-b2b-hide-prices [data-sprintos-b2b-price-hidden="1"] {
	font-size: 1rem !important;
	line-height: 1.4 !important;
}

body.sprintos-b2b-hide-prices [data-sprintos-b2b-price-hidden="1"]::after {
	content: none !important;
}

body.sprintos-b2b-hide-prices [data-sprintos-b2b-price-hidden="1"] > .sprintos-b2b-price-placeholder {
	display: inline-block !important;
	font-size: 1rem !important;
	line-height: 1.4 !important;
	font-weight: 600;
}
