.b2bc-hidden-price {
	font-style: italic;
}
/* Quantity prices */
.b2bc-tiers {
	width: 100%;
	margin: 1em 0;
	border-collapse: collapse;
	font-size: 0.95em;
}
.b2bc-tiers th,
.b2bc-tiers td {
	padding: 0.5em 0.75em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left;
}
.b2bc-tiers tr {
	transition: background-color 0.2s ease;
}
.b2bc-tiers tr.b2bc-tier-active {
	background: rgba(34, 113, 177, 0.1);
	font-weight: 600;
}
/* Quotes */
.b2bc-quote {
	margin: 2em 0;
}
.b2bc-quote .b2bc-quote-form {
	margin-top: 1em;
	padding: 1.25em;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}
/* Tables in My Account */
.b2bc-table {
	margin-bottom: 1.5em;
}
/* Beside the cart totals and the Place order button. */
.b2bc-minimum-note {
	margin: 0 0 1em;
	padding: 0.7em 1em;
	border-left: 3px solid #b32d2e;
	background: #fcf0f1;
	color: #8a2424;
	font-size: 0.95em;
	line-height: 1.45;
}
.b2bc-minimum-note .amount {
	color: inherit;
	font-weight: 600;
}
/* A theme's plain button can match the page behind it and read as text. */
.button.b2bc-button:not(.alt) {
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: var(--btn-default-brd-radius, 4px);
}
.b2bc-inline-form {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
	margin: 0;
}
/* Conversations */
.b2bc-thread {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
	margin: 1em 0 1.5em;
}
.b2bc-message {
	max-width: 85%;
	padding: 0.75em 1em;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
}
.b2bc-message-shop {
	align-self: flex-start;
	background: rgba(34, 113, 177, 0.08);
}
.b2bc-message-meta {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	font-size: 0.85em;
	opacity: 0.8;
	margin-bottom: 0.25em;
}
@media (max-width: 600px) {	.b2bc-message {
		max-width: 100%;
	}
}
/* Registration — layout and account type cards (My Account form and [b2bc_registration]) */
.b2bc-reg,
.b2bc-registration {
	--b2bc-accent: var(--wd-primary-color, var(--wp--preset--color--primary, #2271b1));
	--b2bc-line: rgba(0, 0, 0, 0.14);
	--b2bc-muted: rgba(0, 0, 0, 0.62);
	--b2bc-radius: 10px;
	container-type: inline-size;
}
.b2bc-reg {
	margin-top: 8px;
}
.b2bc-reg-section {
	min-width: 0;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}
.b2bc-reg-title {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--b2bc-muted);
}
.b2bc-reg-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
}
.b2bc-reg-grid > * {
	float: none !important;
	width: auto !important;
	margin: 0 0 14px !important;
}
.b2bc-reg-grid > .b2bc-col-full,
.b2bc-reg-grid > .form-row-wide:not(.b2bc-col-half) {
	grid-column: 1 / -1;
}
@container (max-width: 460px) {
	.b2bc-reg-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 480px) {	.b2bc-reg-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
.b2bc-reg-title .required {
	color: #e2401c;
	border: 0;
	text-decoration: none;
}
.b2bc-hint,
.b2bc-reg .b2bc-field .description,
.b2bc-registration .b2bc-field .description {
	display: block;
	margin-top: 6px;
	font-size: 0.85em;
	line-height: 1.4;
	color: var(--b2bc-muted);
}
.b2bc-match.is-ok {
	color: #1a7f37;
}
.b2bc-match.is-bad {
	color: #b32d2e;
}
.b2bc-reg .password-input,
.b2bc-registration .password-input {
	display: block;
	width: 100%;
}
.b2bc-role-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}
.b2bc-role-card {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 16px 18px;
	border: 1.5px solid var(--b2bc-line);
	border-radius: var(--b2bc-radius);
	background: #fff;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.b2bc-role-card:hover {
	border-color: var(--b2bc-accent);
}
.b2bc-role-card input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	display: grid;
	place-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	border: 2px solid var(--b2bc-line);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}
.b2bc-role-card input[type="radio"]::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--b2bc-accent);
	transform: scale(0);
	transition: transform 0.15s ease;
}
.b2bc-role-card input[type="radio"]:checked {
	border-color: var(--b2bc-accent);
}
.b2bc-role-card input[type="radio"]:checked::before {
	transform: scale(1);
}
.b2bc-role-card input[type="radio"]:focus-visible {
	outline: 2px solid var(--b2bc-accent);
	outline-offset: 2px;
}
.b2bc-role-card.is-selected {
	border-color: var(--b2bc-accent);
	background: rgba(0, 0, 0, 0.02);
	background: color-mix(in srgb, var(--b2bc-accent) 7%, #fff);
	box-shadow: 0 0 0 1px var(--b2bc-accent);
}
.b2bc-role-card__title {
	display: block;
	font-weight: 600;
}
.b2bc-role-card__desc {
	display: block;
	margin-top: 3px;
	font-size: 0.88em;
	color: var(--b2bc-muted);
}
/* Registration — full design for the [b2bc_registration] page */
.b2bc-registration-wrap {
	max-width: 760px;
	margin: 0 auto;
}
.b2bc-registration {
	padding: clamp(20px, 4vw, 40px);
	border: 1px solid var(--b2bc-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.b2bc-reg-header {
	margin-bottom: 26px;
}
.b2bc-reg-heading {
	margin: 0 0 6px;
	font-size: 1.6em;
	line-height: 1.25;
}
.b2bc-reg-login {
	margin: 0;
	color: var(--b2bc-muted);
}
.b2bc-reg-login a {
	color: var(--b2bc-accent);
	font-weight: 600;
}
.woocommerce form.b2bc-registration .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.4;
}
/* Prefixed with .woocommerce form so these win over theme and WooCommerce form styles. */
.woocommerce form.b2bc-registration .input-text,
.woocommerce form.b2bc-registration select,
.woocommerce form.b2bc-registration textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--b2bc-line);
	border-radius: 8px;
	background: #fff;
	font-size: 1em;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce form.b2bc-registration textarea {
	min-height: 96px;
}
.woocommerce form.b2bc-registration .input-text:focus,
.woocommerce form.b2bc-registration select:focus,
.woocommerce form.b2bc-registration textarea:focus {
	border-color: var(--b2bc-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--b2bc-accent) 22%, transparent);
}
.woocommerce form.b2bc-registration input[type="file"].input-text {
	padding: 9px 12px;
	border-style: dashed;
}
.b2bc-reg-footer {
	margin-top: 4px;
	padding-top: 20px;
	border-top: 1px solid var(--b2bc-line);
}
.b2bc-reg-footer .b2bc-hint {
	margin: 0 0 14px;
}
.woocommerce form.b2bc-registration .b2bc-reg-submit {
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 8px;
	background: var(--b2bc-accent);
	color: #fff;
	font-size: 1.05em;
	font-weight: 600;
	transition: filter 0.15s ease;
}
.woocommerce form.b2bc-registration .b2bc-reg-submit:hover,
.woocommerce form.b2bc-registration .b2bc-reg-submit:focus-visible {
	filter: brightness(0.92);
}
.woocommerce form.b2bc-registration .b2bc-reg-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.b2bc-registration .woocommerce-privacy-policy-text {
	font-size: 0.85em;
	color: var(--b2bc-muted);
}

/* Plan card */
.b2bc-plan-card {
	margin: 0 0 1.5em;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}
.b2bc-plan-card h3 {
	margin: 0 0 0.6em;
}
.b2bc-plan-card p {
	margin: 0.6em 0 0;
}
.b2bc-plan-eyebrow {
	margin: 0 0 0.25em !important;
	font-size: 0.8em;
	opacity: 0.7;
}
.b2bc-bar {
	height: 9px;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.08);
}
.b2bc-bar span {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: #087f70;
}

/* Quick order */
.b2bc-qo-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 1.5em;
}
.b2bc-qo-search input[type="search"] {
	flex: 1 1 220px;
}
.b2bc-qo-table small {
	display: block;
}
.b2bc-qo-table input.qty {
	width: 5em;
}
.b2bc-quick-order textarea {
	width: 100%;
}

/* VAT number note, and the preview bar for shop managers */
.b2bc-vat-note.is-ok {
	color: #17694f;
}
.b2bc-vat-note.is-bad {
	color: #87501a;
}
.b2bc-view-as {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: calc(100vw - 32px);
	padding: 10px 14px;
	border-radius: 8px;
	background: #112a35;
	color: #fff;
	font-size: 13px;
}
.b2bc-view-as a {
	color: #80ecc7;
	font-weight: 600;
}
.b2bc-quote-status {
	margin-left: 0.5em;
	font-size: 0.65em;
	font-weight: 400;
	opacity: 0.75;
}
