:root {
	--vnd-b2b-ink: #123047;
	--vnd-b2b-muted: #607788;
	--vnd-b2b-primary: #087f78;
	--vnd-b2b-primary-hover: #066a65;
	--vnd-b2b-accent: #dff5f1;
	--vnd-b2b-surface: #ffffff;
	--vnd-b2b-canvas: #f4f8fa;
	--vnd-b2b-border: #d7e3e9;
	--vnd-b2b-danger: #b42318;
	--vnd-b2b-radius: 14px;
	--vnd-b2b-shadow: 0 18px 46px rgba(18, 48, 71, 0.1);
}

.vnd-mdb2b-page {
	background:
		radial-gradient(circle at 8% 0%, rgba(8, 127, 120, 0.1), transparent 28rem),
		var(--vnd-b2b-canvas);
	color: var(--vnd-b2b-ink);
	min-height: 70vh;
	padding: clamp(3rem, 7vw, 6.5rem) 1.25rem;
}

.vnd-mdb2b-page__container {
	display: block;
	margin-inline: auto;
	max-width: 1120px;
	width: 100%;
}

.vnd-mdb2b-page__eyebrow {
	color: var(--vnd-b2b-primary);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.13em;
	margin: 0 0 0.65rem;
	text-transform: uppercase;
}

.vnd-mdb2b-page__title {
	color: var(--vnd-b2b-ink);
	font-size: clamp(2.1rem, 5vw, 4rem);
	letter-spacing: -0.045em;
	line-height: 1.02;
	margin: 0;
	max-width: 850px;
}

.vnd-mdb2b-page__lead {
	color: var(--vnd-b2b-muted);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	line-height: 1.7;
	margin: 1.25rem 0 2.25rem;
	max-width: 720px;
}

.vnd-mdb2b-card {
	background: var(--vnd-b2b-surface);
	border: 1px solid var(--vnd-b2b-border);
	border-radius: var(--vnd-b2b-radius);
	box-shadow: var(--vnd-b2b-shadow);
	padding: clamp(1.25rem, 4vw, 2.5rem);
}

.vnd-mdb2b-card :where(h2, h3) {
	color: var(--vnd-b2b-ink);
	letter-spacing: -0.02em;
}

.vnd-mdb2b-shortcode-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vnd-mdb2b-shortcode-card {
	background: #f8fbfc;
	border: 1px solid var(--vnd-b2b-border);
	border-radius: 10px;
	color: var(--vnd-b2b-ink);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	min-height: 100%;
	padding: 1.2rem;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vnd-mdb2b-shortcode-card:hover,
.vnd-mdb2b-shortcode-card:focus-visible {
	border-color: #8dc9c2;
	box-shadow: 0 12px 26px rgba(18, 48, 71, 0.1);
	color: var(--vnd-b2b-ink);
	outline: 0;
	transform: translateY(-2px);
}

.vnd-mdb2b-shortcode-card__title {
	font-size: 1.05rem;
	font-weight: 750;
}

.vnd-mdb2b-shortcode-card__description {
	color: var(--vnd-b2b-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.vnd-mdb2b-shortcode-card code {
	background: #eaf3f5;
	border-radius: 5px;
	color: #245269;
	font-size: 0.76rem;
	overflow-wrap: anywhere;
	padding: 0.25rem 0.38rem;
}

.vnd-mdb2b-registration-form,
.vnd-mdb2b-company-form {
	display: grid;
	gap: 1.15rem 1.35rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vnd-mdb2b-registration-form > p,
.vnd-mdb2b-company-form > p {
	margin: 0;
}

.vnd-mdb2b-registration-form > p:last-child,
.vnd-mdb2b-company-form > p:last-child {
	grid-column: 1 / -1;
	margin-top: 0.35rem;
}

.vnd-mdb2b-page label,
.vnd-mdb2b-company-profile label,
.vnd-mdb2b-quote-detail label {
	color: var(--vnd-b2b-ink);
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 0.45rem;
}

.vnd-mdb2b-page :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea),
.vnd-mdb2b-company-profile :where(input:not([type="hidden"]), select, textarea) {
	background: #fff;
	border: 1px solid var(--vnd-b2b-border);
	border-radius: 9px;
	box-shadow: none;
	color: var(--vnd-b2b-ink);
	font: inherit;
	min-height: 48px;
	padding: 0.72rem 0.85rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.vnd-mdb2b-page :where(input, select, textarea):focus,
.vnd-mdb2b-company-profile :where(input, select, textarea):focus {
	border-color: var(--vnd-b2b-primary);
	box-shadow: 0 0 0 3px rgba(8, 127, 120, 0.14);
	outline: 0;
}

.vnd-mdb2b-page :where(.button, button),
.vnd-mdb2b-company-profile :where(.button, button),
.vnd-mdb2b-customer-quotes .button,
.vnd-mdb2b-quote-detail .button,
.vnd-mdb2b-customer-area-links .button,
.vnd-mdb2b-access-links .button {
	align-items: center;
	background: var(--vnd-b2b-primary);
	border: 1px solid var(--vnd-b2b-primary);
	border-radius: 9px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 750;
	justify-content: center;
	line-height: 1.2;
	min-height: 46px;
	padding: 0.78rem 1.15rem;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.vnd-mdb2b-page :where(.button, button):hover,
.vnd-mdb2b-company-profile :where(.button, button):hover,
.vnd-mdb2b-customer-quotes .button:hover,
.vnd-mdb2b-quote-detail .button:hover,
.vnd-mdb2b-customer-area-links .button:hover,
.vnd-mdb2b-access-links .button:hover {
	background: var(--vnd-b2b-primary-hover);
	border-color: var(--vnd-b2b-primary-hover);
	color: #fff;
	transform: translateY(-1px);
}

.vnd-mdb2b-page .button:not(.alt),
.vnd-mdb2b-quote-decisions form:last-child .button,
.vnd-mdb2b-customer-area-links .button,
.vnd-mdb2b-access-links .button:not(.alt) {
	background: #fff;
	border-color: var(--vnd-b2b-border);
	color: var(--vnd-b2b-ink);
}

.vnd-mdb2b-page .button:not(.alt):hover,
.vnd-mdb2b-quote-decisions form:last-child .button:hover,
.vnd-mdb2b-customer-area-links .button:hover,
.vnd-mdb2b-access-links .button:not(.alt):hover {
	background: var(--vnd-b2b-accent);
	border-color: #acdcd5;
	color: var(--vnd-b2b-ink);
}

.vnd-mdb2b-quote-cart-form,
.vnd-mdb2b-quote-submit-form,
.vnd-mdb2b-company-profile,
.vnd-mdb2b-customer-quotes,
.vnd-mdb2b-quote-detail {
	margin-block: 0 1.5rem;
}

.vnd-mdb2b-page :where(.shop_table, .woocommerce-orders-table),
.vnd-mdb2b-customer-quotes .shop_table,
.vnd-mdb2b-quote-detail .shop_table {
	border: 1px solid var(--vnd-b2b-border);
	border-collapse: separate;
	border-radius: 10px;
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
}

.vnd-mdb2b-page :where(.shop_table, .woocommerce-orders-table) th,
.vnd-mdb2b-customer-quotes .shop_table th,
.vnd-mdb2b-quote-detail .shop_table th {
	background: #eef5f7;
	color: var(--vnd-b2b-ink);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vnd-mdb2b-page :where(.shop_table, .woocommerce-orders-table) :where(th, td),
.vnd-mdb2b-customer-quotes .shop_table :where(th, td),
.vnd-mdb2b-quote-detail .shop_table :where(th, td) {
	border: 0;
	border-bottom: 1px solid var(--vnd-b2b-border);
	padding: 0.9rem 1rem;
	text-align: left;
}

.vnd-mdb2b-page :where(.shop_table, .woocommerce-orders-table) tr:last-child td,
.vnd-mdb2b-customer-quotes .shop_table tr:last-child td,
.vnd-mdb2b-quote-detail .shop_table tr:last-child td {
	border-bottom: 0;
}

.vnd-mdb2b-company-summary {
	background: #eef5f7;
	border-radius: 10px;
	display: grid;
	gap: 0.4rem 1rem;
	grid-template-columns: minmax(130px, 0.35fr) 1fr;
	margin: 0 0 1.5rem;
	padding: 1.15rem;
}

.vnd-mdb2b-company-summary :where(dt, dd) {
	margin: 0;
}

.vnd-mdb2b-company-summary dt {
	color: var(--vnd-b2b-muted);
	font-weight: 650;
}

.vnd-mdb2b-quote-decisions,
.vnd-mdb2b-customer-area-links,
.vnd-mdb2b-access-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block: 1.25rem;
}

.vnd-mdb2b-price-notice {
	color: var(--vnd-b2b-muted);
	font-size: 0.92rem;
	font-weight: 650;
}

.vnd-mdb2b-page :where(.woocommerce-info, .woocommerce-message, .woocommerce-error),
.vnd-mdb2b-company-profile :where(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	background: #eef8f7;
	border: 1px solid #b9ded9;
	border-radius: 9px;
	color: var(--vnd-b2b-ink);
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0.9rem 1rem;
}

.vnd-mdb2b-page .woocommerce-error,
.vnd-mdb2b-company-profile .woocommerce-error {
	background: #fff1f0;
	border-color: #f4c7c3;
	color: var(--vnd-b2b-danger);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	background: #fff;
	border: 1px solid var(--vnd-b2b-border);
	border-radius: 999px;
	color: var(--vnd-b2b-ink);
	display: block;
	font-weight: 650;
	padding: 0.55rem 0.9rem;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background: var(--vnd-b2b-primary);
	border-color: var(--vnd-b2b-primary);
	color: #fff;
}

@media (max-width: 760px) {
	.vnd-mdb2b-shortcode-grid {
		grid-template-columns: 1fr;
	}

	.vnd-mdb2b-registration-form,
	.vnd-mdb2b-company-form {
		grid-template-columns: 1fr;
	}

	.vnd-mdb2b-page :where(.shop_table_responsive, .woocommerce-orders-table) thead {
		display: none;
	}

	.vnd-mdb2b-page :where(.shop_table_responsive, .woocommerce-orders-table) tr {
		display: block;
		padding: 0.6rem;
	}

	.vnd-mdb2b-page :where(.shop_table_responsive, .woocommerce-orders-table) td {
		display: grid;
		gap: 1rem;
		grid-template-columns: minmax(110px, 0.6fr) 1fr;
	}

	.vnd-mdb2b-page :where(.shop_table_responsive, .woocommerce-orders-table) td::before {
		color: var(--vnd-b2b-muted);
		content: attr(data-title);
		font-weight: 700;
	}

	.vnd-mdb2b-company-summary {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vnd-mdb2b-page *,
	.vnd-mdb2b-company-profile * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
