/**
 * BioMyst base: reset, typography, shared primitives, header, footer.
 */

/* ------------------------------------------------------------------ *
 * Reset & document
 * ------------------------------------------------------------------ */

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

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

body {
	margin: 0;
	background: var(--bm-bg);
	color: var(--bm-text);
	font-family: var(--bm-font);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

::selection {
	background: var(--bm-selection);
}

a {
	color: var(--bm-teal);
	text-decoration: none;
	transition: color var(--bm-t);
}

a:hover {
	color: var(--bm-teal-hover);
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

button {
	font-family: inherit;
}

/* Accessible skip link. */
.bm-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 12px 20px;
	background: var(--bm-ink);
	color: #fff;
	border-radius: 0 0 var(--bm-r-lg) 0;
	font-size: 14px;
	font-weight: 600;
}

.bm-skip-link:focus {
	left: 0;
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--bm-teal);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ *
 * Layout primitives
 * ------------------------------------------------------------------ */

.bm-container {
	max-width: var(--bm-container);
	margin: 0 auto;
	padding-left: var(--bm-gutter);
	padding-right: var(--bm-gutter);
}

.bm-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.bm-main {
	flex: 1;
}

/* ------------------------------------------------------------------ *
 * Type primitives
 * ------------------------------------------------------------------ */

/* "// Section kicker" — mono, letterspaced, uppercase. */
.bm-kicker {
	font-family: var(--bm-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bm-teal);
	margin-bottom: 8px;
}

.bm-kicker--on-dark {
	color: var(--bm-cyan);
}

.bm-mono {
	font-family: var(--bm-mono);
}

.bm-section-title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0;
}

.bm-arrow {
	font-family: var(--bm-mono);
}

/* ------------------------------------------------------------------ *
 * Dark bands (dot-grid texture)
 * ------------------------------------------------------------------ */

.bm-band {
	position: relative;
	overflow: hidden;
	background: var(--bm-ink);
	color: #fff;
}

.bm-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(18, 175, 203, 0.16) 1px, transparent 1.5px);
	background-size: 28px 28px;
	opacity: 0.6;
	pointer-events: none;
}

.bm-band > * {
	position: relative;
}

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */

.bm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 52px;
	padding: 0 28px;
	border: none;
	border-radius: var(--bm-r-xl);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--bm-t), border-color var(--bm-t), color var(--bm-t);
	white-space: nowrap;
}

.bm-btn--primary {
	background: var(--bm-teal);
	color: #fff;
}

.bm-btn--primary:hover,
.bm-btn--primary:focus {
	background: var(--bm-teal-hover);
	color: #fff;
}

.bm-btn--dark {
	background: var(--bm-ink);
	color: #fff;
}

.bm-btn--dark:hover,
.bm-btn--dark:focus {
	background: var(--bm-teal);
	color: #fff;
}

.bm-btn--ghost {
	background: rgba(255, 255, 255, 0.10);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(4px);
}

.bm-btn--ghost:hover,
.bm-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.bm-btn--outline {
	background: var(--bm-surface);
	color: var(--bm-ink);
	border: 1px solid var(--bm-border-strong);
	height: 48px;
	font-size: 14px;
}

.bm-btn--outline:hover,
.bm-btn--outline:focus {
	background: #F7FAFB;
	border-color: var(--bm-border-hover);
	color: var(--bm-ink);
}

.bm-btn--sm {
	height: 38px;
	padding: 0 20px;
	font-size: 13px;
	gap: 7px;
	border-radius: var(--bm-r-md);
}

.bm-btn--block {
	width: 100%;
}

.bm-btn:disabled,
.bm-btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ------------------------------------------------------------------ *
 * Cards & pills
 * ------------------------------------------------------------------ */

.bm-card {
	background: var(--bm-surface);
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r-3xl);
}

.bm-purity-pill {
	display: inline-block;
	font-family: var(--bm-mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--bm-teal-hover);
	background: var(--bm-teal-tint);
	padding: 4px 10px;
	border-radius: 7px;
	white-space: nowrap;
}

/* Purity badge over product imagery. */
.bm-purity-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	font-family: var(--bm-mono);
	font-size: 9.5px;
	letter-spacing: 0.08em;
	background: var(--bm-ink);
	color: #fff;
	padding: 4px 9px;
	border-radius: var(--bm-r-sm);
	z-index: 2;
}

/* Stock indicator. */
.bm-stock {
	font-family: var(--bm-mono);
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
}

.bm-stock--in {
	color: var(--bm-in-stock);
}

.bm-stock--low {
	color: var(--bm-low-stock);
}

.bm-stock--out {
	color: var(--bm-out-stock);
}

/* Teal check chip used in trust rows. */
.bm-check {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--bm-teal-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.bm-trust-row {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 13.5px;
	color: var(--bm-text-mid);
}

/* Product image frame (radial lab gradient). */
.bm-imgframe {
	position: relative;
	background: radial-gradient(circle at 50% 40%, #F4FAFC, #E7F1F5);
	overflow: hidden;
}

.bm-imgframe img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------------ *
 * Forms
 * ------------------------------------------------------------------ */

.bm-field-label {
	font-family: var(--bm-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bm-text-label);
	margin-bottom: 7px;
	display: block;
}

.bm-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
textarea,
select {
	width: 100%;
	height: 47px;
	border: 1px solid var(--bm-border-input);
	border-radius: var(--bm-r-lg);
	padding: 0 14px;
	font-size: 14px;
	font-family: inherit;
	color: var(--bm-text);
	background: var(--bm-surface);
	outline: none;
	transition: border-color var(--bm-t), box-shadow var(--bm-t);
}

textarea {
	height: auto;
	padding: 12px 14px;
	line-height: 1.6;
	resize: vertical;
}

.bm-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
	border-color: var(--bm-teal);
	box-shadow: var(--bm-focus-ring);
	outline: none;
}

.bm-input--error,
input.bm-input--error {
	border-color: var(--bm-error);
}

::placeholder {
	color: var(--bm-placeholder);
	opacity: 1;
}

.bm-field-error {
	font-size: 11.5px;
	color: var(--bm-error);
	margin-top: 6px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.bm-field-error::before {
	content: '!';
	font-weight: 700;
}

.bm-field-warn {
	font-size: 11.5px;
	color: var(--bm-low-stock);
	margin-top: 6px;
	display: flex;
	align-items: center;
	gap: 5px;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--bm-teal);
	width: 16px;
	height: 16px;
}

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */

.bm-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(237, 243, 246, 0.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--bm-border-header);
}

.bm-header__inner {
	max-width: var(--bm-container);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px var(--bm-gutter);
}

.bm-header__left {
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
}

.bm-logo img {
	height: 30px;
	width: auto;
	display: block;
}

.bm-logo--text {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--bm-ink);
	white-space: nowrap;
}

.bm-nav {
	display: flex;
	align-items: center;
}

.bm-nav__list {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bm-nav a {
	font-size: 13.5px;
	color: var(--bm-text-mid);
	font-weight: 500;
}

.bm-nav a:hover,
.bm-nav .current-menu-item > a,
.bm-nav .current_page_item > a,
.bm-nav .current-menu-parent > a {
	color: var(--bm-ink);
	font-weight: 600;
}

.bm-header__right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.bm-ruo-tag {
	font-family: var(--bm-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--bm-text-muted);
	white-space: nowrap;
}

.bm-header__signin {
	height: 36px;
	padding: 0 16px;
	border: 1px solid var(--bm-border-strong);
	border-radius: var(--bm-r-md);
	background: var(--bm-surface);
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--bm-ink);
	transition: border-color var(--bm-t);
}

.bm-header__signin:hover {
	border-color: var(--bm-border-hover);
	color: var(--bm-ink);
}

/* Cart button + count badge. */
.bm-cart-btn {
	position: relative;
	width: 38px;
	height: 38px;
	border: 1px solid var(--bm-border-strong);
	border-radius: 10px;
	background: var(--bm-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color var(--bm-t);
}

.bm-cart-btn:hover {
	border-color: var(--bm-border-hover);
}

.bm-cart-count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--bm-teal);
	color: #fff;
	border-radius: 9px;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.bm-cart-count.is-empty {
	display: none;
}

/* Mobile menu toggle — hidden on desktop. */
.bm-burger {
	display: none;
	width: 38px;
	height: 38px;
	border: 1px solid var(--bm-border-strong);
	border-radius: 10px;
	background: var(--bm-surface);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

/* ------------------------------------------------------------------ *
 * Mobile nav drawer
 * ------------------------------------------------------------------ */

.bm-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: none;
}

.bm-mobile-nav.is-open {
	display: block;
}

.bm-mobile-nav__scrim {
	position: absolute;
	inset: 0;
	background: rgba(12, 20, 23, 0.44);
	animation: bm-fade 0.2s ease;
}

.bm-mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(320px, 86vw);
	background: var(--bm-surface);
	padding: 22px 22px 32px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	animation: bm-slide-in 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
	overflow-y: auto;
}

.bm-mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.bm-mobile-nav__close {
	width: 36px;
	height: 36px;
	border: 1px solid var(--bm-border-strong);
	border-radius: 10px;
	background: var(--bm-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	color: var(--bm-text-soft);
	padding: 0;
}

.bm-mobile-nav__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Scoped to the link list — a bare `.bm-mobile-nav a` also matched the drawer's
   .bm-btn sign-in link and out-specified it. */
.bm-mobile-nav__list a {
	display: block;
	padding: 13px 0;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--bm-ink);
	border-bottom: 1px solid var(--bm-border-faint);
}

.bm-mobile-nav__foot {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@keyframes bm-slide-in {
	from { transform: translateX(100%); }
	to   { transform: translateX(0); }
}

@keyframes bm-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* ------------------------------------------------------------------ *
 * Compliance band
 * ------------------------------------------------------------------ */

.bm-compliance {
	margin-top: var(--bm-section-y);
}

/* The compliance band's dot-grid is finer and softer than the science band's
   (design: 26px / opacity .55 / .14 alpha), so override the shared .bm-band base. */
.bm-compliance::before {
	background-image: radial-gradient(rgba(18, 175, 203, 0.14) 1px, transparent 1.5px);
	background-size: 26px 26px;
	opacity: 0.55;
}

/* Design gives the compliance kicker a 12px gap; base .bm-kicker is 8px. */
.bm-compliance .bm-kicker {
	margin-bottom: 12px;
}

.bm-compliance__inner {
	max-width: var(--bm-container);
	margin: 0 auto;
	padding: clamp(40px, 5vw, 64px) var(--bm-gutter);
}

.bm-compliance__body {
	max-width: 660px;
}

.bm-compliance__lede {
	font-size: clamp(18px, 2.6vw, 24px);
	font-weight: 600;
	color: #fff;
	line-height: 1.4;
	margin-bottom: 12px;
	text-wrap: balance;
}

.bm-compliance__note {
	font-size: 14px;
	line-height: 1.65;
	color: var(--bm-on-dark-mid);
}

/* Boxed variant (inside a container, rounded). */
.bm-compliance--boxed {
	border-radius: var(--bm-r-4xl);
	padding: clamp(22px, 4vw, 32px);
	margin: 36px 0 0;
}

/* The boxed compliance band (shop/product) reads its dot-grid stronger than the
   full-bleed one (design: 26px / opacity .6 / .18 alpha). */
.bm-compliance--boxed::before {
	background-image: radial-gradient(rgba(18, 175, 203, 0.18) 1px, transparent 1.5px);
	opacity: 0.6;
}

.bm-compliance--boxed .bm-compliance__lede {
	font-size: clamp(16px, 2.4vw, 20px);
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */

.bm-footer {
	background: var(--bm-ink);
	color: #fff;
}

.bm-footer__inner {
	max-width: var(--bm-container);
	margin: 0 auto;
	padding: clamp(40px, 5vw, 60px) var(--bm-gutter);
}

.bm-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--bm-on-dark-line);
}

.bm-footer__brand {
	max-width: 260px;
}

.bm-footer__brand img {
	height: 28px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.92;
	margin-bottom: 14px;
}

.bm-footer__brand-text {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
	margin-bottom: 14px;
}

.bm-footer__tagline {
	font-size: 13px;
	line-height: 1.6;
	color: var(--bm-on-dark-faint);
}

.bm-footer__head {
	font-family: var(--bm-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bm-cyan);
	margin-bottom: 14px;
}

.bm-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bm-footer__links a {
	font-size: 13.5px;
	color: var(--bm-on-dark-soft);
}

.bm-footer__links a:hover {
	color: #fff;
}

.bm-footer__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	padding-top: 24px;
	font-size: 12.5px;
	color: var(--bm-on-dark-faintest);
}

.bm-footer__copy {
	font-family: var(--bm-mono);
	letter-spacing: 0.03em;
}

.bm-footer__legal {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bm-footer__legal a {
	color: var(--bm-on-dark-faintest);
}

.bm-footer__legal a:hover {
	color: #fff;
}

/* Accepted payment methods — white chips so every card brand reads on the dark footer. */
.bm-paybadges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bm-paybadge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 34px;
	padding: 5px 7px;
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
}

.bm-paybadge img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bm-footer__bar {
	align-items: center;
}

/* ------------------------------------------------------------------ *
 * Toast (add-to-cart confirmation)
 * ------------------------------------------------------------------ */

.bm-toast {
	position: fixed;
	left: 50%;
	bottom: 32px;
	transform: translateX(-50%);
	z-index: 90;
	background: var(--bm-ink);
	color: #fff;
	padding: 14px 22px;
	border-radius: var(--bm-r-xl);
	box-shadow: var(--bm-shadow-toast);
	display: flex;
	align-items: center;
	gap: 11px;
	animation: bm-toast 2.6s ease forwards;
	pointer-events: none;
	max-width: calc(100vw - 32px);
}

.bm-toast__icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--bm-teal);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.bm-toast__text {
	font-size: 14px;
	font-weight: 500;
}

@keyframes bm-toast {
	0%   { opacity: 0; transform: translate(-50%, 14px); }
	12%  { opacity: 1; transform: translate(-50%, 0); }
	88%  { opacity: 1; transform: translate(-50%, 0); }
	100% { opacity: 0; transform: translate(-50%, 14px); }
}

@keyframes bm-spin {
	to { transform: rotate(360deg); }
}

@keyframes bm-pop {
	0%   { transform: scale(0.6); opacity: 0; }
	60%  { transform: scale(1.15); }
	100% { transform: scale(1); opacity: 1; }
}

.bm-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	display: inline-block;
	animation: bm-spin 0.7s linear infinite;
	flex: none;
}

/* ------------------------------------------------------------------ *
 * Cart flyout (primary cart interface)
 *
 * Blocks, top to bottom: head (title · count · price-hold chip · close) → rewards ladder →
 * items (with bulk-tier nudges) → add-ons → "Complete your order" → promo → footer
 * (savings · itemised totals · secure-checkout CTA · trust line).
 * ------------------------------------------------------------------ */

.bm-flyout {
	position: fixed;
	inset: 0;
	z-index: 80;
}

.bm-flyout[hidden] {
	display: none;
}

.bm-flyout__scrim {
	position: absolute;
	inset: 0;
	background: rgba(12, 20, 23, 0.44);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.bm-flyout.is-open .bm-flyout__scrim {
	opacity: 1;
}

.bm-flyout__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(440px, 100%);
	background: var(--bm-bg);
	display: flex;
	flex-direction: column;
	box-shadow: -24px 0 60px -30px rgba(12, 34, 48, 0.5);
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: transform;
}

.bm-flyout.is-open .bm-flyout__panel {
	transform: translateX(0);
}

/*
 * Line-item changes still lock the panel so a second click cannot race the first,
 * but only barely dim it. At 0.55 against a white surface this read as the screen
 * blanking out. Add-on switches no longer come through here at all — they settle
 * locally and have nothing to wait for.
 */
.bm-flyout.is-busy .bm-flyout__body {
	opacity: 0.92;
	pointer-events: none;
	transition: opacity 0.12s ease;
}

/* Head. */
.bm-flyout__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	background: var(--bm-surface);
	border-bottom: 1px solid var(--bm-border-header);
}

.bm-flyout__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--bm-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bm-ink);
	flex: 1;
	min-width: 0;
}

.bm-flyout__count {
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--bm-teal);
	color: #fff;
	font-family: var(--bm-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bm-flyout__count.is-empty {
	background: var(--bm-border-strong);
	color: var(--bm-text-soft);
}

/* Price-hold chip ("Batch price held 13:01"). */
.bm-flyout__hold {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 26px;
	padding: 0 9px;
	border-radius: 13px;
	background: var(--bm-teal-tint);
	color: var(--bm-teal-hover);
	font-family: var(--bm-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.01em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	flex: none;
}

.bm-flyout__hold[hidden] {
	display: none;
}

.bm-flyout__hold.is-urgent {
	background: rgba(198, 138, 18, 0.12);
	color: var(--bm-low-stock);
}

.bm-flyout__hold.is-expired {
	background: var(--bm-border-faint);
	color: var(--bm-text-soft);
}

.bm-flyout__close {
	width: 34px;
	height: 34px;
	border: 1px solid var(--bm-border-strong);
	border-radius: 10px;
	background: var(--bm-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
	transition: border-color var(--bm-t);
}

.bm-flyout__close:hover {
	border-color: var(--bm-border-hover);
}

.bm-flyout__body {
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.bm-flyout__body > .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

/* Rewards ladder. */
.bm-rewards {
	margin: 14px 20px 0;
	padding: 12px 12px 12px;
	background: var(--bm-surface);
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r-2xl);
}

.bm-rewards.is-complete {
	border-color: rgba(18, 175, 203, 0.35);
	background: linear-gradient(180deg, rgba(18, 175, 203, 0.06), rgba(18, 175, 203, 0.02));
}

.bm-rewards__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.bm-rewards__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--bm-ink);
	min-width: 0;
}

.bm-rewards__status strong {
	color: var(--bm-teal-hover);
	font-weight: 700;
}

.bm-rewards.is-complete .bm-rewards__status {
	color: var(--bm-teal-hover);
}

.bm-rewards__pill {
	flex: none;
	font-family: var(--bm-mono);
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--bm-teal-tint);
	color: var(--bm-teal-hover);
}

.bm-rewards__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.bm-reward {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 10px 12px;
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r-lg);
	background: var(--bm-surface-sunken);
	overflow: hidden;
	color: var(--bm-text-soft);
}

.bm-reward.is-unlocked {
	border-color: rgba(18, 175, 203, 0.45);
	background: var(--bm-teal-tint-05);
	color: var(--bm-teal-hover);
}

.bm-reward__icon {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--bm-border-faint);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	color: var(--bm-text-soft);
}

.bm-reward.is-unlocked .bm-reward__icon {
	background: var(--bm-teal-tint-12);
	color: var(--bm-teal-hover);
}

.bm-reward__text {
	min-width: 0;
	line-height: 1.25;
}

.bm-reward__label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--bm-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bm-reward__state {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 2px;
	font-family: var(--bm-mono);
	font-size: 10.5px;
	font-weight: 600;
	color: var(--bm-teal-hover);
}

.bm-reward__state--locked {
	color: var(--bm-text-muted);
	font-weight: 500;
}

.bm-reward__track {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--bm-border);
}

.bm-reward__fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--bm-teal), var(--bm-cyan));
	transition: width 0.4s ease;
}

/* Items. */
.bm-flyout__items {
	list-style: none;
	margin: 0;
	padding: 12px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bm-flyout__item {
	position: relative;
	background: var(--bm-surface);
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r-2xl);
	overflow: hidden;
}

.bm-flyout__item.is-locked {
	border-style: dashed;
	border-color: rgba(18, 175, 203, 0.45);
}

.bm-flyout__main {
	position: relative;
	display: flex;
	gap: 12px;
	padding: 12px;
}

.bm-flyout__thumb {
	width: 60px;
	height: 60px;
	border-radius: var(--bm-r-lg);
	border: 1px solid var(--bm-border-faintest);
	flex: none;
}

.bm-flyout__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-flyout__meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-right: 20px;
}

.bm-flyout__name {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--bm-ink);
}

.bm-flyout__name a {
	color: inherit;
}

.bm-flyout__name a:hover {
	color: var(--bm-teal-hover);
}

.bm-flyout__tag {
	display: inline-block;
	vertical-align: middle;
	margin-left: 2px;
	padding: 2px 6px;
	border-radius: 5px;
	background: var(--bm-teal-tint-12);
	color: var(--bm-teal-hover);
	font-family: var(--bm-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
}

.bm-flyout__variation {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 6px;
	font-family: var(--bm-mono);
	font-size: 11px;
	color: var(--bm-text-muted);
}

.bm-flyout__variation p {
	margin: 0;
}

.bm-flyout__dose + .bm-flyout__stock::before {
	content: "·";
	margin-right: 6px;
	color: var(--bm-text-faint);
}

.bm-flyout__stock {
	font-weight: 500;
}

.bm-flyout__stock.bm-stock--low {
	color: var(--bm-low-stock);
}

.bm-flyout__stock.bm-stock--out {
	color: var(--bm-out-stock);
}

.bm-flyout__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 2px;
}

.bm-flyout__qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--bm-border-strong);
	border-radius: var(--bm-r-md);
	background: var(--bm-surface);
	overflow: hidden;
}

.bm-flyout__qty--locked {
	border-style: dashed;
	padding: 0 8px;
	height: 30px;
	color: var(--bm-text-soft);
}

.bm-flyout__qbtn {
	width: 28px;
	height: 30px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
	color: var(--bm-text-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	transition: background var(--bm-t);
}

.bm-flyout__qbtn:hover:not(:disabled) {
	background: #F4F8FA;
}

.bm-flyout__qbtn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.bm-flyout__qval {
	min-width: 26px;
	text-align: center;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bm-ink);
}

.bm-flyout__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.15;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--bm-ink);
	white-space: nowrap;
}

.bm-flyout__price del {
	color: var(--bm-text-strike);
	font-weight: 500;
	font-size: 12px;
	margin-top: 2px;
}

.bm-flyout__free {
	color: var(--bm-teal-hover);
	font-family: var(--bm-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bm-flyout__remove {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	border: none;
	background: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: background var(--bm-t);
}

.bm-flyout__remove:hover {
	background: var(--bm-border-faint);
}

/* Bulk-tier nudge: "Buy 3 → save 10% on this item   [+1 →]". */
.bm-flyout__nudge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	background: var(--bm-teal-tint-05);
	border-top: 1px dashed rgba(18, 175, 203, 0.35);
}

.bm-flyout__nudge-text {
	font-size: 12px;
	color: var(--bm-text-soft);
	min-width: 0;
}

.bm-flyout__nudge-text strong {
	color: var(--bm-teal-hover);
	font-weight: 700;
}

.bm-flyout__nudge-cta {
	flex: none;
	height: 26px;
	padding: 0 10px;
	border: none;
	border-radius: 13px;
	background: var(--bm-teal);
	color: #fff;
	font-family: var(--bm-mono);
	font-size: 11.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--bm-t);
}

.bm-flyout__nudge-cta:hover {
	background: var(--bm-teal-hover);
}

/* Add-ons (shipping protection, priority packing). */
.bm-addons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 2px 20px 4px;
}

.bm-addon {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	background: var(--bm-surface);
	border: 1px solid var(--bm-border-strong);
	border-radius: var(--bm-r-xl);
	text-align: left;
	font: inherit;
	color: inherit;
	cursor: pointer;
	transition: border-color var(--bm-t), background var(--bm-t);
}

.bm-addon:hover {
	border-color: var(--bm-border-hover);
}

.bm-addon.is-on {
	border-color: var(--bm-teal);
	background: var(--bm-teal-tint-05);
}

.bm-addon__check {
	width: 18px;
	height: 18px;
	border-radius: 5px;
	border: 1.5px solid var(--bm-radio-off);
	background: var(--bm-surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	transition: background var(--bm-t), border-color var(--bm-t);
}

.bm-addon__check svg {
	opacity: 0;
	transition: opacity var(--bm-t);
}

.bm-addon.is-on .bm-addon__check {
	background: var(--bm-teal);
	border-color: var(--bm-teal);
}

.bm-addon.is-on .bm-addon__check svg {
	opacity: 1;
}

.bm-addon__icon {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--bm-teal-tint);
	color: var(--bm-teal-hover);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.bm-addon__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.bm-addon__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--bm-ink);
}

.bm-addon__desc {
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--bm-text-soft-2);
}

.bm-addon__price {
	flex: none;
	font-family: var(--bm-mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--bm-teal-hover);
}

/* "Complete your order" cross-sell. */
.bm-xsell {
	margin: 10px 20px 4px;
}

.bm-xsell__head {
	font-family: var(--bm-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bm-text-soft);
	margin-bottom: 8px;
}

.bm-xsell__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.bm-xsell__card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px;
	background: var(--bm-surface);
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r-xl);
	min-width: 0;
}

.bm-xsell__thumb {
	position: relative;
	display: block;
	width: 44px;
	height: 44px;
	border-radius: var(--bm-r-md);
	border: 1px solid var(--bm-border-faintest);
	overflow: hidden;
	margin-bottom: 4px;
}

.bm-xsell__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bm-xsell__name {
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--bm-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bm-xsell__dose {
	font-family: var(--bm-mono);
	font-size: 10.5px;
	color: var(--bm-text-muted);
}

.bm-xsell__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 4px;
}

.bm-xsell__price {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	min-width: 0;
	white-space: nowrap;
}

.bm-xsell__price ins {
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	color: var(--bm-ink);
}

.bm-xsell__price del {
	font-size: 11px;
	color: var(--bm-text-strike);
}

.bm-xsell__add {
	flex: none;
	height: 26px;
	padding: 0 10px;
	border: none;
	border-radius: 13px;
	background: var(--bm-ink);
	color: #fff;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 26px;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--bm-t), opacity var(--bm-t);
}

.bm-xsell__add:hover {
	background: var(--bm-teal);
	color: #fff;
}

.bm-xsell__add:disabled,
.bm-xsell__add.is-busy {
	opacity: 0.5;
	cursor: wait;
}

/* Promo code. */
.bm-coupon {
	padding: 10px 20px 0;
}

.bm-coupon__applied {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.bm-coupon__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px 6px 10px;
	background: var(--bm-teal-tint-05);
	border: 1px solid var(--bm-teal);
	border-radius: var(--bm-r-md);
	font-size: 12px;
}

.bm-coupon__code {
	font-family: var(--bm-mono);
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--bm-ink);
}

.bm-coupon__amt {
	font-family: var(--bm-mono);
	color: var(--bm-teal-hover);
}

.bm-coupon__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
	border-radius: 5px;
	transition: background var(--bm-t);
}

.bm-coupon__remove:hover {
	background: var(--bm-border-faint);
}

.bm-coupon__form {
	position: relative;
	display: flex;
	gap: 8px;
}

.bm-coupon__icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--bm-teal-hover);
	display: flex;
	pointer-events: none;
}

.bm-coupon .bm-coupon__input,
.bm-coupon input.bm-coupon__input {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 1px dashed rgba(18, 175, 203, 0.55);
	border-radius: var(--bm-r-lg);
	padding: 0 12px 0 34px;
	font-size: 13px;
	font-family: var(--bm-mono);
	letter-spacing: 0.02em;
	color: var(--bm-text);
	background: var(--bm-surface);
	outline: none;
	transition: border-color var(--bm-t), box-shadow var(--bm-t);
	text-transform: uppercase;
}

.bm-coupon input.bm-coupon__input::placeholder {
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--bm-font);
	color: var(--bm-text-muted);
}

.bm-coupon input.bm-coupon__input:focus {
	border-style: solid;
	border-color: var(--bm-teal);
	box-shadow: var(--bm-focus-ring);
}

.bm-coupon__apply {
	flex: none;
	height: 40px;
	padding: 0 16px;
	border: none;
	border-radius: var(--bm-r-lg);
	background: var(--bm-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background var(--bm-t);
}

.bm-coupon__apply:hover {
	background: var(--bm-teal);
}

.bm-coupon__msg {
	margin: 8px 0 0;
	font-size: 12px;
}

.bm-coupon__msg.is-error {
	color: var(--bm-error);
}

.bm-coupon__msg.is-ok {
	color: var(--bm-in-stock);
}

/* Footer: savings · totals · CTA · trust. */
.bm-flyout__foot {
	margin-top: auto;
	padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px));
	background: var(--bm-surface);
	border-top: 1px solid var(--bm-border-header);
}

.bm-flyout__saving {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-bottom: 10px;
	padding: 7px 10px;
	border-radius: var(--bm-r-md);
	background: var(--bm-teal-tint);
	color: var(--bm-teal-hover);
	font-size: 12.5px;
	font-weight: 600;
}

.bm-flyout__saving strong {
	font-weight: 700;
}

.bm-totals-mini {
	margin: 0 0 12px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.bm-totals-mini__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
	color: var(--bm-text-soft);
}

.bm-totals-mini__row dt,
.bm-totals-mini__row dd {
	margin: 0;
}

.bm-totals-mini__row dd {
	font-family: var(--bm-mono);
	font-size: 12.5px;
	color: var(--bm-ink);
	font-variant-numeric: tabular-nums;
}

.bm-totals-mini__row--promo dd {
	color: var(--bm-in-stock);
}

.bm-totals-mini__free {
	color: var(--bm-in-stock);
	font-weight: 600;
}

.bm-totals-mini__muted {
	color: var(--bm-text-muted);
	font-family: var(--bm-font);
	font-size: 12px;
}

.bm-totals-mini__row--total {
	margin-top: 4px;
	padding-top: 9px;
	border-top: 1px solid var(--bm-border);
	font-size: 14px;
	font-weight: 600;
	color: var(--bm-ink);
}

.bm-totals-mini__row--total dd {
	font-family: var(--bm-font);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bm-flyout__checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 50px;
	font-size: 14.5px;
}

.bm-flyout__checkout-sep {
	opacity: 0.55;
}

.bm-flyout__checkout-total {
	font-family: var(--bm-mono);
	font-weight: 600;
	font-size: 13.5px;
}

.bm-flyout__trust {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 14px;
}

.bm-flyout__trust li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--bm-mono);
	font-size: 10.5px;
	color: var(--bm-text-muted);
	white-space: nowrap;
}

.bm-flyout__trust svg {
	color: var(--bm-teal-hover);
}

/* Empty state. */
.bm-flyout__empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px 32px;
	gap: 4px;
}

.bm-flyout__empty-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--bm-surface);
	border: 1px solid var(--bm-border);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.bm-flyout__empty-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--bm-ink);
	margin: 0;
}

.bm-flyout__empty-sub {
	font-size: 13.5px;
	color: var(--bm-text-soft);
	margin: 0 0 20px;
	max-width: 240px;
}

@media (max-width: 480px) {
	.bm-flyout__panel {
		width: 100%;
	}

	.bm-flyout__head {
		padding: 14px 16px;
	}

	.bm-rewards,
	.bm-addons,
	.bm-xsell {
		margin-left: 16px;
		margin-right: 16px;
	}

	.bm-flyout__items {
		padding-left: 16px;
		padding-right: 16px;
	}

	.bm-coupon {
		padding-left: 16px;
		padding-right: 16px;
	}

	.bm-flyout__foot {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* ------------------------------------------------------------------ *
 * WooCommerce notices (restyled to the design system)
 * ------------------------------------------------------------------ */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	list-style: none;
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: var(--bm-r-xl);
	background: var(--bm-surface);
	border: 1px solid var(--bm-border);
	border-left: 3px solid var(--bm-teal);
	font-size: 14px;
	color: var(--bm-text-mid);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce-error {
	border-left-color: var(--bm-error);
	color: var(--bm-error);
}

.woocommerce-error li {
	list-style: none;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
	height: 36px;
	padding: 0 16px;
	background: var(--bm-ink);
	color: #fff;
	border: none;
	border-radius: var(--bm-r-md);
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	transition: background var(--bm-t);
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
	background: var(--bm-teal);
	color: #fff;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ------------------------------------------------------------------ *
 * Pages & long-form prose
 * (page.php, single.php, index.php, 404.php — the content pages:
 *  Research, About, Compliance, Shipping, Returns, Contact, Terms.)
 * ------------------------------------------------------------------ */

.bm-page {
	padding-bottom: 48px;
}

.bm-page__head {
	padding: 36px 0 24px;
}

/* Title-block kicker sits at 10px, not the base 8px — matches .bm-catalog__title. */
.bm-page__head .bm-kicker {
	margin-bottom: 10px;
}

.bm-page__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.05;
	margin: 0;
}

/* Measure capped for readability — the container is 1200px, prose is not. */
.bm-prose {
	max-width: 720px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--bm-text-mid);
}

.bm-prose h2 {
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 600;
	color: var(--bm-ink);
	margin: 34px 0 10px;
}

.bm-prose h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--bm-ink);
	margin: 26px 0 8px;
}

.bm-prose > *:first-child {
	margin-top: 0;
}

.bm-prose p {
	margin: 0 0 14px;
}

.bm-prose ul,
.bm-prose ol {
	margin: 0 0 14px;
	padding-left: 20px;
}

.bm-prose li {
	margin-bottom: 6px;
}

.bm-prose strong {
	color: var(--bm-ink);
	font-weight: 600;
}

.bm-prose a {
	color: var(--bm-teal);
	font-weight: 500;
}

.bm-prose a:hover {
	color: var(--bm-teal-hover);
}

.bm-page-links {
	margin-top: 24px;
	font-size: 13.5px;
	color: var(--bm-text-soft);
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 860px) {
	.bm-nav,
	.bm-header__signin,
	.bm-ruo-tag {
		display: none;
	}

	.bm-burger {
		display: flex;
	}

	.bm-header__left {
		gap: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
