/*
Theme Name: BatchDirect
Theme URI: https://batchdirect.com
Author: BatchDirect
Description: BatchDirect member portal — two-step research-use gate (acknowledgment + membership access code), Network/VIP tiers, member portal home and documentation pages.
Version: 2.1.1
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietary
Text Domain: batchdirect
*/

/* Inter (self-hosted, variable with optical sizing). SIL OFL 1.1 */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(assets/fonts/inter-latin-ext-opsz-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(assets/fonts/inter-latin-opsz-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
	--bd-navy: #0f172a;
	--bd-navy-2: #1e293b;
	--bd-blue: #2563eb;
	--bd-blue-bright: #3b82f6;
	--bd-blue-soft: #60a5fa;
	--bd-blue-pale: #93c5fd;
	--bd-ink: #0f172a;
	--bd-text: #334155;
	--bd-muted: #475569;
	--bd-subtle: #64748b;
	--bd-line: #e2e8f0;
	--bd-line-2: #cbd5e1;
	--bd-bg: #f8fafc;
	--bd-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--bd-font);
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: -0.012em;
	color: var(--bd-text);
	background: var(--bd-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-optical-sizing: auto;
}

a { color: var(--bd-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--bd-ink); margin: 0; }
p { margin: 0; }

.bd-container { max-width: 1100px; margin: 0 auto; padding: 0 0; }
.bd-main { display: block; }

/* ---------- Top bar ---------- */
.bd-topbar {
	background: var(--bd-navy);
	color: #fff;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 30px;
	height: 30px;
	padding: 0 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------- Logo ---------- */
.bd-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none !important; }
.bd-logo__mark {
	width: 38px; height: 38px; border-radius: 8px;
	background: var(--bd-blue);
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	flex: none;
}
.bd-logo__mark svg { width: 24px; height: 24px; }
.bd-logo__word {
	font-size: 31px;
	font-weight: 800;
	letter-spacing: -0.048em;
	line-height: 1;
	padding-right: 2px;
}
.bd-logo--dark .bd-logo__a { color: var(--bd-navy); }
.bd-logo--dark .bd-logo__b { color: var(--bd-blue); }
.bd-logo--light .bd-logo__a { color: #fff; }
.bd-logo--light .bd-logo__b { color: var(--bd-blue-bright); }

/* ---------- Header ---------- */
.bd-header { background: #fff; border-bottom: 1px solid var(--bd-line); }
.bd-header__row { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bd-header__actions { display: flex; align-items: center; gap: 21px; }

.bd-btn-outline {
	white-space: nowrap;
	display: inline-flex; align-items: center; justify-content: center;
	height: 44px; padding: 0 16px;
	border: 1px solid var(--bd-blue);
	border-radius: 6px;
	color: var(--bd-blue);
	background: #fff;
	font-size: 14px; font-weight: 600;
	transition: background .15s;
}
.bd-btn-outline:hover { background: #eff6ff; text-decoration: none; }

.bd-badge {
	font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--bd-blue);
	display: inline-flex; align-items: center; gap: 4px;
}
.bd-gem { font-size: 11px; }

.bd-btn-soft {
	white-space: nowrap;
	display: inline-flex; align-items: center;
	height: 34px; padding: 0 11px;
	border-radius: 6px;
	background: #eef2ff;
	color: var(--bd-blue);
	font-size: 13px; font-weight: 600;
}
.bd-btn-soft:hover { background: #e0e7ff; text-decoration: none; }

/* ---------- Member nav ---------- */
.bd-nav { background: #fff; border-bottom: 1px solid var(--bd-line); }
.bd-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 21px; height: 55px; align-items: center;
	overflow-x: auto; scrollbar-width: none;
}
.bd-nav__list::-webkit-scrollbar { display: none; }
.bd-nav__list a {
	color: #374151; font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.bd-nav__list a:hover { color: var(--bd-blue); text-decoration: none; }
.bd-nav__list .current-menu-item > a { color: #374151; }

/* ---------- Gate ---------- */
.bd-gate { padding: 33px 20px 48px; }
.bd-gate__card {
	max-width: 1038px; margin: 0 auto;
	display: grid; grid-template-columns: 383px 1fr;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.bd-gate__side {
	background: var(--bd-navy);
	color: #e2e8f0;
	padding: 54px 48px 60px;
	display: flex; flex-direction: column;
}
.bd-gate__tag { font-size: 13px; line-height: 20px; margin-top: 8px; color: #e2e8f0; }
.bd-pill {
	align-self: flex-start;
	margin-top: 33px;
	display: inline-flex; align-items: center;
	height: 30px; padding: 0 11px;
	border-radius: 999px;
	background: #1e3a5f;
	border: 1px solid #3a5f91;
	color: #bfdbfe;
	font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.bd-gate__display {
	color: #fff;
	font-size: 48px; line-height: 56px; font-weight: 800; letter-spacing: -0.058em;
	margin-top: 21px;
}
.bd-gate__display em { font-style: normal; color: var(--bd-blue-soft); }
.bd-gate__card--step2 .bd-gate__display { margin-top: 20px; }
.bd-gate__lede { font-size: 16px; line-height: 25px; color: #e2e8f0; margin-top: 45px; }
.bd-gate__card--step2 .bd-gate__lede { margin-top: 37px; line-height: 26px; }

.bd-gate__foot { margin-top: auto; padding-top: 40px; }
.bd-steps { list-style: none; margin: 0; padding: 0; }
.bd-steps li {
	border-top: 1px solid rgba(148, 163, 184, 0.28);
	padding: 13px 0 12px;
	font-size: 14px; color: #e2e8f0;
	display: flex; gap: 10px;
}
.bd-steps li:first-child { padding-bottom: 13px; }
.bd-steps__n { color: #cbd5e1; min-width: 16px; }
.bd-steps .is-done .bd-steps__n { color: #e2e8f0; }
.bd-gate__fine { font-size: 12.5px; line-height: 20px; color: #e2e8f0; margin-top: 23px; }

.bd-gate__main { padding: 38px 38px 38px 39px; }

.bd-progress-head {
	display: flex; justify-content: space-between;
	font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--bd-blue);
}
.bd-progress { height: 7px; background: var(--bd-line); border-radius: 4px; overflow: hidden; margin-top: 17px; }
.bd-progress span { display: block; height: 100%; background: var(--bd-blue); border-radius: 4px; transition: width .25s ease; }
.bd-progress--step2 { margin-top: 3px; height: 7px; }

.bd-gate__title {
	font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -0.045em;
	margin-top: 22px; color: var(--bd-ink);
}
.bd-code .bd-gate__title { margin-top: 20px; }
.bd-gate__sub { font-size: 14.5px; line-height: 22px; color: var(--bd-subtle); margin-top: 4px; }
.bd-code .bd-gate__sub { margin-top: 7px; }

.bd-alert {
	margin-top: 16px; padding: 10px 14px;
	background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px;
	color: #b91c1c; font-size: 13.5px;
}

.bd-checks { display: grid; gap: 11px; margin-top: 18px; }
.bd-check {
	display: flex; gap: 14px; align-items: flex-start;
	border: 1px solid var(--bd-line); border-radius: 9px;
	padding: 15px 14px 12px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.bd-check:hover { border-color: var(--bd-line-2); }
.bd-check.is-checked { border-color: #93c5fd; background: #f8fbff; }
.bd-check input {
	appearance: none; -webkit-appearance: none;
	flex: none;
	width: 19px; height: 19px; margin: 1px 0 0;
	border: 1.5px solid #475569; border-radius: 5px; background: #fff;
	display: grid; place-content: center;
	cursor: pointer;
}
.bd-check input::after {
	content: ""; width: 10px; height: 6px;
	border-left: 2px solid #fff; border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translate(1px, -1px) scale(0);
	transition: transform .12s;
}
.bd-check input:checked { background: var(--bd-blue); border-color: var(--bd-blue); }
.bd-check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.bd-check input:focus-visible { outline: 2px solid var(--bd-blue); outline-offset: 2px; }
.bd-check__body { display: flex; flex-direction: column; }
.bd-check__body strong { font-size: 14px; line-height: 19px; font-weight: 700; color: var(--bd-ink); }
.bd-check__body span { font-size: 12.8px; line-height: 18.5px; color: var(--bd-muted); margin-top: 2px; }

.bd-links { font-size: 12.5px; color: var(--bd-blue); margin-top: 18px; }
.bd-links span { color: var(--bd-blue); }

.bd-note {
	margin-top: 16px;
	background: var(--bd-bg);
	border-left: 3px solid #94a3b8;
	padding: 13px 14px 12px;
	font-size: 12.5px; line-height: 20px; color: var(--bd-muted);
}
.bd-note strong { display: block; color: var(--bd-text); font-weight: 700; }
.bd-note--plain { margin-top: 26px; padding: 11px 14px; }
.bd-note--gold { background: #fefce8; border-left-color: #eab308; }

.bd-actions { display: flex; gap: 11px; margin-top: 16px; }
.bd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 52px; padding: 0 18px;
	border-radius: 6px; border: 1px solid transparent;
	font: inherit; font-size: 14px; font-weight: 700;
	cursor: pointer; text-decoration: none !important;
	transition: background .15s, color .15s, border-color .15s;
}
.bd-btn--primary { background: var(--bd-blue); color: #fff; }
.bd-btn--primary:hover { background: #1d4ed8; }
.bd-btn--primary:disabled { background: var(--bd-line-2); color: var(--bd-muted); cursor: not-allowed; }
.bd-btn--split { flex: 1.5; justify-content: space-between; font-size: 16px; }
.bd-btn--ghost { flex: 1; background: #fff; border-color: var(--bd-line-2); color: var(--bd-ink); }
.bd-btn--ghost:hover { border-color: #94a3b8; }
.bd-btn--block { width: 100%; height: 56px; font-size: 16px; margin-top: 17px; }
.bd-arrow { flex: none; }

.bd-label { display: block; font-size: 14px; font-weight: 700; color: var(--bd-ink); margin-top: 38px; }
.bd-input {
	display: block; width: 100%; height: 55px; margin-top: 8px;
	border: 1px solid var(--bd-line-2); border-radius: 8px;
	padding: 0 15px;
	font: inherit; font-size: 14px; font-weight: 500; color: var(--bd-ink);
	background: #fff;
}
.bd-input::placeholder { color: #94a3b8; font-weight: 600; }
.bd-input:focus { outline: none; border-color: var(--bd-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }

.bd-rule { border: 0; border-top: 1px solid var(--bd-line); margin: 28px 0 0; }
.bd-eyebrow-sm {
	font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
	color: var(--bd-subtle); margin-top: 18px;
}
.bd-tier {
	margin-top: 13px;
	background: var(--bd-bg);
	border: 1px solid var(--bd-line);
	border-radius: 8px;
	padding: 16px 16px 15px;
	display: flex; flex-direction: column;
}
.bd-tier + .bd-tier { margin-top: 11px; }
.bd-tier strong { font-size: 16px; line-height: 20px; color: var(--bd-ink); font-weight: 700; }
.bd-tier span { font-size: 12.5px; color: var(--bd-subtle); margin-top: 3px; }
.bd-tier--vip { background: #eff6ff; border-color: #bfdbfe; }
.bd-tier--vip strong { color: var(--bd-blue); }
.bd-code .bd-links { margin-top: 20px; }

/* ---------- Portal ---------- */
.bd-wrap { max-width: 1068px; margin: 0 auto; padding: 32px 0 64px; }

.bd-hero {
	background: var(--bd-navy);
	border-radius: 16px;
	padding: 70px 64px 74px;
	color: #e2e8f0;
}
.bd-eyebrow {
	font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--bd-blue-pale);
}
.bd-hero__title {
	color: #fff;
	font-size: 54px; line-height: 64px; font-weight: 800; letter-spacing: -0.058em;
	margin-top: 13px;
}
.bd-hero__title em { font-style: normal; color: var(--bd-blue-pale); }
.bd-hero__lede { font-size: 16px; line-height: 24px; color: #e2e8f0; margin-top: 23px; }
.bd-hero--page { padding: 52px 64px 56px; }
.bd-hero--page .bd-hero__title { font-size: 46px; line-height: 54px; margin-top: 12px; }

.bd-welcome {
	margin-top: 22px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	padding: 30px 24px 41px;
}
.bd-welcome h2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.012em; }
.bd-welcome p { font-size: 15.5px; color: var(--bd-text); margin-top: 26px; }

.bd-cards {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; margin-top: 16px;
}
.bd-card {
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: 12px;
	padding: 26px 24px 30px;
	display: flex; flex-direction: column;
	min-height: 220px;
	transition: border-color .15s, box-shadow .15s;
}
.bd-card:nth-child(n+5) { min-height: 165px; }
.bd-card:hover { border-color: var(--bd-line-2); box-shadow: 0 8px 24px -12px rgba(15, 23, 42, .15); }
.bd-card h3 { font-size: 18.5px; line-height: 30px; font-weight: 700; letter-spacing: -0.01em; }
.bd-card p { font-size: 15.5px; line-height: 26px; color: var(--bd-muted); margin-top: 16px; }
.bd-explore {
	display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
	font-size: 15.5px; font-weight: 700; color: var(--bd-blue); margin-top: 15px;
}
.bd-explore .bd-arrow { width: 15px; height: 15px; transition: transform .15s; }
.bd-explore:hover { text-decoration: none; }
.bd-explore:hover .bd-arrow { transform: translateX(3px); }


/* ---------- Banner art: blue glow + fine diagonal lines ---------- */
.bd-hero { position: relative; overflow: hidden; isolation: isolate; }
.bd-hero > :not(.bd-hero__art) { position: relative; z-index: 1; }
.bd-hero__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 45% 120% at 88% 50%, rgba(59, 130, 246, .30), transparent 70%); }
.bd-hero__art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(147, 197, 253, .10) 0 1px, transparent 1px 14px); -webkit-mask: linear-gradient(90deg, transparent 45%, #000 85%); mask: linear-gradient(90deg, transparent 45%, #000 85%); }
.bd-hero--home .bd-hero__art { background: radial-gradient(ellipse 42% 90% at 86% 50%, rgba(59, 130, 246, .30), transparent 70%); }
@media (max-width: 640px) {
	.bd-hero__art { background: radial-gradient(ellipse 70% 100% at 100% 40%, rgba(59, 130, 246, .26), transparent 70%); }
	.bd-hero__art::after { -webkit-mask: linear-gradient(90deg, transparent 30%, #000 100%); mask: linear-gradient(90deg, transparent 30%, #000 100%); opacity: .8; }
}

/* ---------- Page content ---------- */
.bd-content {
	margin-top: 22px;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: 12px;
	padding: 40px 48px;
	font-size: 16px; line-height: 1.7; color: var(--bd-text);
}
.bd-content > * + * { margin-top: 1em; }
.bd-content h2 { font-size: 26px; line-height: 1.25; letter-spacing: -0.03em; margin-top: 1.6em; }
.bd-content h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; margin-top: 1.4em; }
.bd-content h2:first-child, .bd-content h3:first-child { margin-top: 0; }
.bd-content ul, .bd-content ol { padding-left: 1.3em; }
.bd-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bd-content th, .bd-content td { border-bottom: 1px solid var(--bd-line); padding: 10px 12px; text-align: left; }
.bd-content th { color: var(--bd-ink); background: var(--bd-bg); }
.bd-content .wp-block-button__link { background: var(--bd-blue); color: #fff; border-radius: 6px; padding: 12px 18px; font-weight: 700; }
.bd-post + .bd-post { border-top: 1px solid var(--bd-line); padding-top: 1.5em; }
.bd-post__meta { font-size: 13px; color: var(--bd-subtle); }


/* Content components (block editor output) */
.bd-content .bd-lede { font-size: 18px; line-height: 1.6; color: var(--bd-ink); }
.bd-content .wp-block-table { margin: 1.4em 0 0; overflow-x: auto; }
.bd-content .wp-block-table table { border: 1px solid var(--bd-line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.bd-content .wp-block-table th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bd-subtle); white-space: nowrap; }
.bd-content .wp-block-table td, .bd-content .wp-block-table th { border-bottom: 1px solid var(--bd-line); padding: 12px 14px; vertical-align: top; }
.bd-content .wp-block-table tr:last-child td { border-bottom: 0; }
.bd-content .wp-block-table td:first-child { font-weight: 600; color: var(--bd-ink); }
.bd-content .wp-block-table figcaption { font-size: 13px; color: var(--bd-subtle); margin-top: 8px; }
.bd-content .wp-block-details { border: 1px solid var(--bd-line); border-radius: 10px; padding: 0; margin-top: 10px; background: #fff; }
.bd-content .wp-block-details + .wp-block-details { margin-top: 10px; }
.bd-content .wp-block-details summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--bd-ink); position: relative; }
.bd-content .wp-block-details summary::-webkit-details-marker { display: none; }
.bd-content .wp-block-details summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 500; color: var(--bd-blue); }
.bd-content .wp-block-details[open] summary::after { content: "\2212"; }
.bd-content .wp-block-details > :not(summary) { margin: 0 18px 16px; }
.bd-content .bd-callout { background: var(--bd-bg); border-left: 3px solid #94a3b8; padding: 14px 16px; font-size: 14px; line-height: 1.6; color: var(--bd-muted); }
.bd-content .bd-callout strong { color: var(--bd-text); }
.bd-content .bd-sample { font-size: 13px; color: #a16207; background: #fefce8; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 14px; }
.bd-content ul li + li, .bd-content ol li + li { margin-top: .35em; }
.bd-content hr, .bd-content .wp-block-separator { border: 0; border-top: 1px solid var(--bd-line); margin: 2em 0; }
.bd-content .bd-updated { font-size: 13px; color: var(--bd-subtle); }


/* Price list (VIP International Catalog) */
.bd-content .bd-pricelist table, .bd-content .bd-shipping table { font-variant-numeric: tabular-nums; }
.bd-content .bd-pricelist td:first-child { font-weight: 600; color: var(--bd-subtle); width: 22%; font-size: 13.5px; letter-spacing: .01em; }
.bd-content .bd-pricelist td:nth-child(2) { font-weight: 600; color: var(--bd-ink); }
.bd-content .bd-pricelist th:last-child, .bd-content .bd-pricelist td:last-child,
.bd-content .bd-shipping th:last-child, .bd-content .bd-shipping td:last-child { text-align: right; white-space: nowrap; }
.bd-content .bd-pricelist td:last-child { font-weight: 700; color: var(--bd-ink); }
.bd-content .bd-pricelist tbody tr:nth-child(even) td { background: #fbfcfe; }
.bd-content .bd-pricelist td, .bd-content .bd-pricelist th { padding: 10px 14px; }
.bd-content .bd-shipping { max-width: 420px; }
.bd-content h2[id] { scroll-margin-top: 90px; }
.bd-content .bd-jump { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }
.bd-content .bd-jump span { display: none; }
.bd-content .bd-jump a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--bd-line); border-radius: 999px; background: #fff; color: var(--bd-text); font-weight: 600; white-space: nowrap; }
.bd-content .bd-jump a:hover { border-color: var(--bd-blue); color: var(--bd-blue); text-decoration: none; }
.bd-search { position: relative; margin-top: 1.6em; }
.bd-search input { width: 100%; height: 50px; border: 1px solid var(--bd-line-2); border-radius: 10px; padding: 0 16px 0 44px; font: inherit; font-size: 16px; color: var(--bd-ink); background: #fff; }
.bd-search input:focus { outline: none; border-color: var(--bd-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.bd-search svg { position: absolute; left: 15px; top: 16px; color: #94a3b8; }
.bd-search__count { font-size: 13px; color: var(--bd-subtle); margin-top: 8px; min-height: 18px; }


/* ---------- VIP catalog tabs ---------- */
.bd-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 620px; margin-top: 1.4em; }
.bd-tabs[hidden] { display: none; }
.bd-tabs__tab { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--bd-line-2); background: #fff; color: var(--bd-ink); transition: border-color .15s, background .15s, box-shadow .15s, color .15s; }
.bd-tabs__tab:hover { border-color: var(--bd-blue); }
.bd-tabs__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #eff6ff; color: var(--bd-blue); transition: background .15s, color .15s; }
.bd-tabs__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.bd-tabs__label { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.bd-tabs__sub { font-size: 12.5px; font-weight: 600; color: var(--bd-subtle); margin-top: 3px; }
.bd-tabs__tab.is-active { background: var(--bd-blue); border-color: var(--bd-blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .7); }
.bd-tabs__tab.is-active .bd-tabs__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.bd-tabs__tab.is-active .bd-tabs__sub { color: #dbeafe; }
.bd-tabs__tab:focus-visible { outline: 2px solid var(--bd-blue); outline-offset: 3px; }
.bd-content .bd-tab { border-top: 3px solid var(--bd-blue); padding-top: 18px; }
.bd-tabs__tab[data-tab="us"] .bd-tabs__icon { background: #e0f2fe; color: #0284c7; }
.bd-tabs__tab[data-tab="us"]:hover { border-color: #0284c7; }
.bd-tabs__tab[data-tab="us"].is-active { background: #0284c7; border-color: #0284c7; box-shadow: 0 10px 24px -12px rgba(2, 132, 199, .7); }
.bd-tabs__tab[data-tab="us"].is-active .bd-tabs__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.bd-tabs__tab[data-tab="us"].is-active .bd-tabs__sub { color: #e0f2fe; }
.bd-content .bd-tab--us { border-top-color: #0284c7; }
.bd-content .bd-tab { margin-top: 1.2em; }
.bd-content .bd-tab > * + * { margin-top: 1em; }
.bd-content .bd-tab[hidden] { display: none; }

/* Add-to-quote controls */
.bd-content .bd-pricelist th.bd-q-th { text-align: right; }
.bd-content .bd-pricelist td.bd-q-cell { width: 1%; white-space: nowrap; text-align: right; padding-top: 6px; padding-bottom: 6px; vertical-align: middle; }
.bd-content .bd-pricelist.bd-has-q th:nth-last-child(2) { text-align: right; }
.bd-content .bd-pricelist.bd-has-q td:nth-last-child(2) { text-align: right; white-space: nowrap; font-weight: 700; color: var(--bd-ink); }
.bd-content .bd-pricelist td:last-child.bd-q-cell { font-weight: 400; }
.bd-add { all: unset; box-sizing: border-box; cursor: pointer; height: 32px; padding: 0 14px; border-radius: 7px; border: 1px solid var(--bd-blue); color: var(--bd-blue); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.bd-add:hover { background: #eff6ff; }
.bd-add:focus-visible, .bd-step button:focus-visible { outline: 2px solid var(--bd-blue); outline-offset: 2px; }
.bd-step { display: inline-flex; align-items: center; border: 1px solid var(--bd-blue); border-radius: 7px; overflow: hidden; background: #eff6ff; height: 32px; }
.bd-step button { all: unset; cursor: pointer; width: 30px; height: 32px; text-align: center; font-size: 16px; font-weight: 700; color: var(--bd-blue); line-height: 32px; }
.bd-step button:hover { background: #dbeafe; }
.bd-step input { width: 38px; height: 32px; border: 0; border-left: 1px solid #bfdbfe; border-right: 1px solid #bfdbfe; text-align: center; font: inherit; font-size: 14px; font-weight: 700; color: var(--bd-ink); background: #fff; -moz-appearance: textfield; }
.bd-step input::-webkit-outer-spin-button, .bd-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bd-coa { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 6px; border-radius: 5px; background: #dcfce7; color: #15803d !important; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; vertical-align: 1px; text-decoration: none !important; }
.bd-coa:hover { background: #bbf7d0; }

/* Header quote link count */
.bd-quote-link { gap: 6px; }
.bd-qcount { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bd-blue); color: #fff; font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.bd-qcount[hidden] { display: none; }

/* Floating quote bar */
.bd-qbar { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 9990; display: flex; justify-content: flex-end; padding: 0 24px; pointer-events: none; }
.bd-qbar[hidden] { display: none; }
.bd-qbar__in { pointer-events: auto; display: flex; align-items: center; gap: 18px; background: var(--bd-navy); color: #e2e8f0; border-radius: 14px; padding: 10px 10px 10px 20px; box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .5); font-size: 14px; max-width: 100%; }
.bd-qbar__txt strong { color: #fff; }
.bd-qbar__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 9px; background: var(--bd-blue); color: #fff; font-weight: 700; white-space: nowrap; }
.bd-qbar__btn:hover { background: #1d4ed8; text-decoration: none; }
body.bd-has-qbar .bd-footer { padding-bottom: 110px; }

/* ---------- Quote page ---------- */
.bd-content--quote { padding: 36px 40px 44px; }
.bd-quote { margin-top: 1.6em; }
.bd-quote h2 { font-size: 20px; letter-spacing: -0.02em; }
.bd-quote__empty { text-align: center; padding: 40px 20px 20px; border: 1px dashed var(--bd-line-2); border-radius: 12px; }
.bd-quote__empty p { color: var(--bd-subtle); margin: 8px 0 20px; }
.bd-quote__empty .bd-btn { height: 46px; display: inline-flex; }
.bd-quote__region + .bd-quote__region { margin-top: 28px; }
.bd-quote__table { overflow-x: auto; margin-top: 12px; border: 1px solid var(--bd-line); border-radius: 10px; }
.bd-quote__table table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.bd-quote__table th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bd-subtle); background: var(--bd-bg); text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--bd-line); white-space: nowrap; }
.bd-quote__table td { padding: 10px 14px; border-bottom: 1px solid var(--bd-line); vertical-align: middle; }
.bd-quote__table tr:last-child td { border-bottom: 0; }
.bd-quote__table .num { text-align: right; white-space: nowrap; }
.bd-quote__table .code { color: var(--bd-subtle); font-weight: 600; font-size: 13.5px; }
.bd-quote__table .prod { font-weight: 600; color: var(--bd-ink); }
.bd-quote__table .strong { font-weight: 700; color: var(--bd-ink); }
.bd-remove { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 6px; text-align: center; line-height: 28px; font-size: 18px; color: #94a3b8; }
.bd-remove:hover { background: #fef2f2; color: #b91c1c; }

.bd-quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; margin-top: 32px; align-items: start; }
.bd-quote__grid[hidden] { display: none; }
.bd-quote__hint { font-size: 14px; color: var(--bd-subtle); margin-top: 4px; }
.bd-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 18px; }
.bd-field--full { grid-column: 1 / -1; }
.bd-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--bd-ink); margin-bottom: 6px; }
.bd-req { color: #dc2626; }
.bd-field input, .bd-field textarea { display: block; width: 100%; height: 46px; border: 1px solid var(--bd-line-2); border-radius: 8px; padding: 0 13px; font: inherit; font-size: 16px; color: var(--bd-ink); background: #fff; }
.bd-field textarea { height: auto; padding: 11px 13px; resize: vertical; }
.bd-field input:focus, .bd-field textarea:focus { outline: none; border-color: var(--bd-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.bd-field.has-error input { border-color: #dc2626; }
.bd-field__err { font-size: 12.5px; color: #b91c1c; margin-top: 4px; min-height: 0; }
.bd-field__err:empty { display: none; }
.bd-check--inline { margin-top: 18px; }
.bd-quote__form .bd-alert { margin-top: 14px; }
.bd-quote__form .bd-btn--block { margin-top: 16px; }
.bd-quote__form .bd-btn:disabled { opacity: .7; cursor: progress; }

.bd-quote__sum { position: sticky; top: 20px; background: var(--bd-bg); border: 1px solid var(--bd-line); border-radius: 12px; padding: 20px; font-variant-numeric: tabular-nums; }
.bd-sum__block { margin-top: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--bd-line); }
.bd-sum__title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bd-subtle); }
.bd-sum__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; margin-top: 6px; }
.bd-sum__total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; color: var(--bd-ink); margin-top: 14px; letter-spacing: -0.01em; }
.bd-free { color: #15803d; font-weight: 800; }
.bd-qbar .bd-free { color: #86efac; }
.bd-sum__free { font-size: 12.5px; color: var(--bd-blue); margin-top: 6px; font-weight: 600; }
.bd-sum__free.is-on { color: #15803d; }
.bd-sum__eta { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--bd-muted); margin-top: 10px; }
.bd-sum__eta svg { flex: none; margin-top: 2px; color: var(--bd-subtle); }
.bd-sum__eta strong { color: var(--bd-text); }
.bd-quote__eta { max-width: 520px; margin: 18px auto 0; text-align: left; background: var(--bd-bg); border: 1px solid var(--bd-line); border-radius: 10px; padding: 14px 16px; }
.bd-quote__eta ul { margin: 6px 0 0; padding-left: 1.1em; font-size: 14px; color: var(--bd-muted); }
.bd-quote__eta li + li { margin-top: 4px; }
.bd-pay { border: 0; margin: 22px 0 0; padding: 0; }
.bd-pay legend { font-size: 13.5px; font-weight: 700; color: var(--bd-ink); padding: 0; }
.bd-pay .bd-quote__hint { margin-top: 2px; font-size: 13px; }
.bd-pay__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.bd-pay__opt { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; border: 1px solid var(--bd-line-2); border-radius: 9px; cursor: pointer; background: #fff; }
.bd-pay__opt:hover { border-color: #94a3b8; }
.bd-pay__opt.is-on { border-color: var(--bd-blue); background: #eff6ff; box-shadow: 0 0 0 1px var(--bd-blue) inset; }
.bd-pay__opt input { accent-color: var(--bd-blue); width: 16px; height: 16px; margin: 0; flex: none; }
.bd-pay__name { font-weight: 700; color: var(--bd-ink); font-size: 14.5px; }
.bd-pay__fee { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--bd-subtle); white-space: nowrap; }
.bd-sum__row--pay { padding-top: 10px; }
.bd-quote__paid { font-size: 14px; }
.bd-content .bd-paylist { margin-top: .4em; }
@media (max-width: 640px) { .bd-pay__opts { grid-template-columns: 1fr; } }
.bd-sum__note { font-size: 12.5px; color: var(--bd-subtle); margin-top: 10px; line-height: 1.5; }

.bd-quote__done { text-align: center; padding: 30px 10px 10px; }
.bd-quote__tick { width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 28px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.bd-quote__done h2 { font-size: 26px; margin-top: 14px; }
.bd-quote__done p { color: var(--bd-muted); margin: 10px auto 0; max-width: 520px; }
.bd-quote__done .bd-quote__total { color: var(--bd-ink); font-size: 16px; }
.bd-wa { max-width: 520px; margin: 20px auto 6px; padding: 18px 18px 14px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; }
.bd-wa p { margin: 0 auto; color: var(--bd-text); }
.bd-quote__done .bd-wa .bd-btn--wa, .bd-btn--wa { display: inline-flex; align-items: center; gap: 10px; height: 52px; margin-top: 14px; padding: 0 22px; border-radius: 10px; background: #25d366; color: #fff; font-size: 16px; font-weight: 800; border: 0; }
.bd-btn--wa:hover { background: #1ebe5a; color: #fff; }
.bd-wa .bd-wa__note { font-size: 13px; color: var(--bd-subtle); margin-top: 10px; }
.bd-quote__done .bd-btn { display: inline-flex; margin-top: 22px; height: 46px; }

@media (max-width: 860px) {
	.bd-quote__grid { grid-template-columns: 1fr; }
	.bd-quote__sum { position: static; order: -1; }
}
@media (max-width: 640px) {
	.bd-content--quote { padding: 24px 18px 30px; }
	.bd-fields { grid-template-columns: 1fr; }
	.bd-tabs { gap: 8px; }
	.bd-tabs__tab { padding: 10px 10px; gap: 8px; min-height: 60px; }
	.bd-tabs__icon { width: 32px; height: 32px; }
	.bd-tabs__icon svg { width: 18px; height: 18px; }
	.bd-tabs__label { font-size: 14.5px; }
	.bd-tabs__sub { font-size: 11px; }
	.bd-qbar__in { gap: 10px; padding-left: 14px; font-size: 13px; }
	.bd-content .bd-pricelist td:first-child { width: auto; }
	.bd-content .bd-pricelist td, .bd-content .bd-pricelist th { padding: 9px 7px; font-size: 13.5px; }
	.bd-content .bd-pricelist th { font-size: 10.5px; letter-spacing: .04em; }
	.bd-content .bd-pricelist td:first-child { font-size: 12px; }
	.bd-content .bd-pricelist td.bd-q-cell { padding-right: 8px; }
	.bd-step button { width: 26px; }
	.bd-step input { width: 32px; }
	.bd-quote__table th, .bd-quote__table td { padding: 9px 7px; font-size: 13.5px; }
	.bd-quote__table th:nth-child(3), .bd-quote__table td:nth-child(3) { display: none; }
}

/* ---------- Footer ---------- */
.bd-footer { background: var(--bd-navy); color: #fff; padding: 38px 0 48px; }
.bd-footer__tag { font-size: 14px; margin-top: 20px; }
.bd-footer__legal { font-size: 14px; line-height: 21px; max-width: 820px; margin-top: 14px; color: #f1f5f9; }
.bd-footer .bd-links { font-size: 14px; margin-top: 15px; color: var(--bd-blue-pale); }
.bd-footer .bd-links a, .bd-footer .bd-links span { color: var(--bd-blue-pale); }
.bd-footer__copy { font-size: 14px; margin-top: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
	.bd-container { padding: 0 20px; }
	.bd-wrap { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 960px) {
	.bd-cards { grid-template-columns: repeat(2, 1fr); }
	.bd-card:nth-child(n+5) { min-height: 220px; }
	.bd-gate__card { grid-template-columns: 1fr; }
	.bd-gate__side { padding: 40px 32px; }
	.bd-gate__lede { margin-top: 24px; }
	.bd-gate__foot { padding-top: 32px; }
	.bd-gate__main { padding: 32px; }
}
@media (max-width: 640px) {
	.bd-topbar { font-size: 9.5px; letter-spacing: .08em; height: auto; line-height: 14px; padding: 8px 12px; white-space: normal; }
	.bd-container { padding: 0 14px; }
	.bd-header__row { height: 68px; }
	.bd-logo { gap: 7px; }
	.bd-logo__word { font-size: 22px; }
	.bd-logo__mark { width: 30px; height: 30px; border-radius: 7px; }
	.bd-logo__mark svg { width: 19px; height: 19px; }
	.bd-header__actions { gap: 8px; }
	.bd-badge { display: none; }
	.bd-view-portal .bd-hide-sm { display: none; }
	.bd-btn-outline { height: 36px; padding: 0 10px; font-size: 12.5px; }
	.bd-btn-soft { height: 36px; padding: 0 9px; font-size: 12.5px; }
	.bd-footer .bd-logo__word { font-size: 26px; }
	.bd-gate { padding: 20px 12px 32px; }
	.bd-gate__side { padding: 32px 24px; }
	.bd-gate__display { font-size: 38px; line-height: 44px; }
	.bd-gate__main { padding: 26px 20px; }
	.bd-gate__title { font-size: 26px; }
	.bd-actions { flex-direction: column; }
	.bd-btn--split, .bd-btn--ghost { flex: none; width: 100%; }
	.bd-hero { padding: 44px 26px 50px; }
	.bd-hero__title { font-size: 38px; line-height: 44px; }
	.bd-hero--page { padding: 36px 26px 40px; }
	.bd-hero--page .bd-hero__title { font-size: 32px; line-height: 38px; }
	.bd-cards { grid-template-columns: 1fr; }
	.bd-card, .bd-card:nth-child(n+5) { min-height: 0; }
	.bd-content { padding: 28px 22px; }
	.bd-wrap { padding-top: 20px; padding-left: 12px; padding-right: 12px; }
}

/* 2.1.1 — submit goes straight to WhatsApp; quote bar sits bottom-right */
.bd-btn--block.bd-btn--wa { width: 100%; justify-content: center; }
.bd-wa__note--pre { text-align: center; margin: 8px 0 0; }
@media (max-width: 640px) { .bd-qbar { justify-content: center; padding: 0 12px; bottom: 14px; } }
