/**
 * Global site header — design-system mega nav.
 * Units: px only (theme html { font-size: 10px }).
 */

.sb-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	display: block !important;
	font-family: Inter, system-ui, sans-serif;
	/*
	 * Pinned so the header is immune to whatever a page template sets on <body>
	 * (critic 6, F2).
	 *
	 * This inherited the body size, which is the parent theme's 18px on most
	 * routes and 16px on /cart/, because cart-page.css sets it. The mega panel's
	 * <li> carry no size of their own, so the SAME menu measured 340px wide on
	 * six routes and 319px on /cart/ -- a real divergence in "the same nav on
	 * every page", invisible to a static markup comparison because the <a>
	 * inside IS explicitly sized.
	 *
	 * 16px is the DESIGN's base: source/index.css sets no body font-size at all,
	 * so SanguineNav renders against the 16px default. /cart/ was the route that
	 * happened to be right.
	 */
	font-size: 16px;
}

.sb-site-header,
.sb-site-header a,
.sb-site-header button,
.sb-site-header p,
.sb-site-header li,
.sb-site-header summary,
.sb-site-header input {
	font-family: Inter, system-ui, sans-serif;
}

.sb-site-header a,
.sb-site-header a:link,
.sb-site-header a:visited,
.sb-site-header a:hover,
.sb-site-header a:focus,
.sb-site-header a:focus-visible,
.sb-site-header a:active {
	text-decoration: none !important;
}

/*
 * Mouse and touch focus only (C3-4). This used to list `:focus-visible` too,
 * which is what left ten of the eighteen reachable header controls with no
 * keyboard focus indicator at all -- measured with trusted Tab keys, every one
 * reporting `matches(':focus-visible') === true` while showing nothing. The
 * ring for those lives at the foot of this file.
 */
.sb-site-header a:focus,
.sb-site-header button:focus,
.sb-site-header summary:focus {
	outline: none;
	box-shadow: none;
}

body.sb-site-header-active .sb-site-header,
body.single-product .sb-site-header,
body.sb-catalog-archive .sb-site-header,
body.sb-blog-single .sb-site-header {
	display: block !important;
}

body.admin-bar .sb-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .sb-site-header {
		top: 46px;
	}
}

body.sb-site-header-active .fl-page-bar,
body.sb-site-header-active .fl-page-header,
body.sb-site-header-active .fl-page-header-wrap,
body.sb-site-header-active .fl-theme-builder-header,
body.sb-site-header-active [class*="fl-theme-builder-header"],
body.sb-site-header-active .sb-catalog-nav,
body.sb-site-header-active .main_header,
body.sb-site-header-active #stickyHeader,
body.sb-site-header-active #mobile_header,
body.sb-site-header-active .top_bar,
body.sb-site-header-active .top_promo_bar {
	display: none !important;
}

body.sb-site-header-active.fixed_header .fl-page {
	padding-top: 0 !important;
}

.sb-site-header__strip {
	position: relative;
	/* v3: brand-navy-deep. */
	background: #05025a;
	color: rgba(255, 255, 255, 0.8);
}

.sb-site-header__strip-inner {
	max-width: 1440px;
	margin: 0 auto;
	/*
	 * v3 AC5: the bar wraps rather than truncating the code on narrow screens,
	 * so this is a centred wrapping flex row, not a single ellipsised line.
	 */
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 12px;
	row-gap: 4px;
	padding: 6px 40px;
	text-align: center;
	/*
	 * Pin the type here rather than inheriting it. The parent theme's base is
	 * 18px, which gave this band a 26.1px line box and made the whole strip
	 * 38.1px instead of the design's 30px -- pushing every page 8px down.
	 */
	font-size: 12px;
	line-height: 18px;
}

.sb-site-header__strip-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	font-size: 12px;
	line-height: 18px;
	max-width: 100%;
}

.sb-site-header__strip-link:hover,
.sb-site-header__strip-link:focus {
	color: #fff;
}

.sb-site-header__strip-dot {
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: #eb743d;
	flex-shrink: 0;
}

.sb-site-header__strip-text {
	/* Must not ellipsise: AC5 requires the bar to wrap instead. */
	min-width: 0;
}

/*
 * The promo code is a button, not decoration: clicking copies it. It gets a
 * hairline box so it reads as something you can act on.
 */
.sb-site-header__strip-code {
	flex-shrink: 0;
	margin: 0;
	/* Design: px-1.5 py-0.5 on an 11px label -> a 23px control. */
	padding: 2px 6px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font-family: Inter, system-ui, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 17px;
	/* `tracking-wide` is 0.025em, which on an 11px label is 0.275px. */
	letter-spacing: 0.275px;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

/*
 * Beaver Builder's skin sets `.fl-page button{font-size:16px}` inside BOTH
 * its <=991 and <=767 queries, at (0,1,1) -- so the chip jumped to 16px and
 * 125px wide below 991 while matching the design at 1280 and 1440. Matched at
 * (0,2,1) so the design's 11px holds at every width.
 */
.fl-page .sb-site-header__strip-code {
	padding: 2px 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 17px;
}

.sb-site-header__strip-code:hover,
.sb-site-header__strip-code:focus-visible {
	border-color: #eb743d;
	color: #eb743d;
	background: transparent;
	outline: none;
}

.sb-site-header__strip-code.is-copied {
	border-color: #eb743d;
	color: #eb743d;
}

.sb-site-header__strip-dismiss {
	position: absolute !important;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* Design: p-1 around a 14px glyph. */
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: rgba(255, 255, 255, 0.4);
	cursor: pointer;
}

.sb-site-header__strip-dismiss:hover,
.sb-site-header__strip-dismiss:focus {
	color: #fff;
	background: transparent;
	outline: 0;
}

.sb-site-header__bar {
	position: relative;
	overflow: visible;
	background: #07038C;
	color: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.sb-site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 12px 16px;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.sb-site-header__inner {
		padding-left: 24px;
		padding-right: 24px;
	}
}

.sb-site-header__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.sb-site-header__logo img {
	display: block;
	width: auto;
	/* SanguineNav.tsx: `h-8` on the logo image. */
	height: 32px;
}

.sb-site-header__nav {
	display: none;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

@media (min-width: 1024px) {
	.sb-site-header__nav {
		display: flex;
	}
}

.sb-site-header__nav-btn,
.sb-site-header__nav-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.sb-site-header__nav-btn:hover,
.sb-site-header__nav-btn:focus,
.sb-site-header__nav-btn:focus-visible,
.sb-site-header__nav-btn[aria-expanded="true"],
.sb-site-header__nav-link:hover,
.sb-site-header__nav-link:focus,
.sb-site-header__nav-link:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	outline: none;
	box-shadow: none;
	border: 0;
	text-decoration: none;
}

.sb-site-header__nav-btn svg {
	opacity: 0.6;
}

.sb-site-header__tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
	flex: 1 1 auto;
}

.sb-site-header__search {
	min-width: 0;
}

.sb-site-header__search--desktop {
	display: none;
	flex: 1 1 auto;
	max-width: 520px;
}

.sb-site-header__search--mobile {
	display: block;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.sb-site-header__search--desktop {
		display: block;
	}

	.sb-site-header__search--mobile {
		display: none;
	}
}

.sb-site-header .sb-algolia-search__input {
	height: 36px !important;
	padding: 8px 36px 8px 36px !important;
	border-radius: 6px !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	font-size: 14px !important;
	line-height: 20px !important;
	box-shadow: none !important;
}

.sb-site-header .sb-algolia-search__field-icon {
	left: 12px;
	width: 16px;
	height: 16px;
}

/* -------------------------------------------------------------------------
 * Nav search with a trailing submit button
 *
 * The magnifier moves from a decorative glyph on the left to a real submit
 * control on the right. The form is a plain GET, so Enter in the field still
 * searches exactly as before -- the button only gives the pointer the same
 * affordance, and needs no JavaScript.
 * ---------------------------------------------------------------------- */

.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__field {
	position: relative;
	display: block;
	width: 100%;
}

.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__input {
	/* No leading glyph any more; the trailing padding clears the button. */
	padding: 8px 48px 8px 14px !important;
	border-radius: 8px !important;
	border: 0 !important;
	background: #fff !important;
	color: #141d2e !important;
}

.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__input::placeholder {
	color: #647690 !important;
	opacity: 1;
	/*
	 * Family and size pinned too (critic 8, F4/F8).
	 *
	 * `custom_style.css` carries a BARE `::placeholder { ... !important }` that
	 * reaches the global header whenever `sb_co_is_active()` is false -- so on a
	 * logged-out /my-account/ the search placeholder rendered in HKGrotesk while
	 * every other route rendered Inter. Exactly the hole C6V4-B closed for
	 * font-size, one property over: the header must not inherit page-scoped
	 * typography from anywhere.
	 */
	font-family: Inter, system-ui, sans-serif !important;
	font-size: 14px !important;
}

.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__submit {
	position: absolute;
	top: 50%;
	right: 4px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	/* The glyph carries the colour; a filled chip read far too heavy here. */
	background: transparent;
	color: #07038c;
	cursor: pointer;
	flex-shrink: 0;
	transition: color 0.15s ease;
}

.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__submit:hover,
.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__submit:focus-visible {
	background: transparent;
	color: #05026b;
	outline: none;
}

/*
 * With no fill there is nothing for a focus ring to sit against, so the ring
 * goes on the control itself -- keyboard users still get a visible target.
 */
.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__submit:focus-visible {
	box-shadow: 0 0 0 2px rgba(7, 3, 140, 0.45);
}

.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__submit svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* The clear affordance sits inboard of the submit button rather than at the edge. */
.sb-site-header .sb-algolia-search--with-submit .sb-algolia-search__clear {
	right: 48px;
}

.sb-site-header__icon-btn {
	display: none;
	margin-left: 10px !important;
	margin-right: 5px !important;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 1px solid #ccccccbd !important;
	border-radius: 100%;
	background: transparent !important;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	cursor: pointer;
	flex-shrink: 0;
}

@media (min-width: 640px) {
	.sb-site-header__icon-btn {
		display: inline-flex;
	}
}

.sb-site-header__icon-btn:hover,
.sb-site-header__icon-btn:focus,
.sb-site-header__icon-btn:focus-visible {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.85);
	outline: none;
	box-shadow: none;
	border: 1px solid #ccccccbd !important;
	text-decoration: none;
}

/* --- Account tray -------------------------------------------------------- */

.sb-site-header__account {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.sb-site-header__account-tray {
	/* v4, 15 Sep: same four values as the signed-out tray in
	   css/sb-site-modals.css -- SanguineNav.tsx renders both states in ONE
	   `w-[360px] rounded-lg border border-border bg-card p-6 shadow-xl`
	   wrapper, so they must not drift apart. Change them together. */
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1200;
	display: none;
	width: 360px;
	padding: 24px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	text-align: left;
	border: 1px solid #dbdfe6;
}

.sb-site-header__account:hover .sb-site-header__account-tray,
.sb-site-header__account:focus-within .sb-site-header__account-tray,
.sb-site-header__account.is-open .sb-site-header__account-tray {
	display: block;
}

/*
 * Escape wins over :hover and :focus-within (critic 8, F5).
 *
 * The tray is shown by three conditions, two of which are pointer/focus state
 * the user cannot "undo" by pressing a key. So with the pointer resting on the
 * control -- where a click leaves it -- Escape set `aria-expanded="false"` and
 * the panel stayed on screen: the announced state and the visible state
 * disagreed, which is the same fault C7V4-C fixed for the keyboard path and
 * this is its mouse-path twin.
 *
 * The class is cleared as soon as the pointer or focus leaves, so the tray
 * behaves normally on the next hover.
 */
.sb-site-header__account.is-dismissed .sb-site-header__account-tray {
	display: none !important;
}

.sb-site-header__account-greeting {
	margin: 0;
	padding: 6px 12px 8px;
	border-bottom: 1px solid rgba(20, 25, 43, 0.1);
	color: rgba(20, 25, 43, 0.55);
	font-family: Inter, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sb-site-header__account-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sb-site-header__account-list li.is-divided {
	margin-top: 4px;
	padding-top: 4px;
	border-top: 1px solid rgba(20, 25, 43, 0.1);
}

.sb-site-header__account-list a,
.sb-site-header__account-list button {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: rgba(20, 25, 43, 0.8);
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.sb-site-header__account-list a:hover,
.sb-site-header__account-list a:focus-visible,
.sb-site-header__account-list button:hover,
.sb-site-header__account-list button:focus-visible {
	background: rgba(20, 25, 43, 0.05);
	color: #ea6e40;
	outline: none;
}

.sb-site-header__icon-btn[aria-expanded="true"] {
	border-color: rgba(255, 255, 255, 0.65) !important;
}

.sb-site-header__cart {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.sb-site-header__cart .sb-popup-cart-trigger {
	color: rgba(255, 255, 255, 0.85);
	width: 36px;
	height: 36px;
	border-radius: 6px;
}

.sb-site-header__cart .sb-popup-cart-trigger:hover,
.sb-site-header__cart .sb-popup-cart-trigger:focus {
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
}

/*
 * The two header icons must be the same size, because the design draws them
 * that way: SanguineNav.tsx gives both the account `User` and the cart
 * `ShoppingCart` `h-4 w-4` inside a 36px button. Live had the account icon at
 * 16 and the cart at 28 -- a 12px mismatch sitting side by side in the top
 * right of every page on the site, which is where a size difference is least
 * possible to miss.
 */
.sb-site-header__cart .sb-popup-cart-trigger__icon > svg {
	width: 16px;
	height: 16px;
}

.sb-site-header__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
}

.sb-site-header__menu-toggle:hover,
.sb-site-header__menu-toggle:focus,
.sb-site-header__menu-toggle:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	outline: none;
	box-shadow: none;
	border: 0;
}

@media (min-width: 1024px) {
	.sb-site-header__menu-toggle {
		display: none;
	}
}

.sb-site-header__panel {
	position: absolute;
	left: 0;
	right: auto;
	top: calc(100% - 2px);
	padding-top: 2px;
	z-index: 20;
	pointer-events: none;
	width: max-content;
	max-width: 100%;
}

.sb-site-header__panel:not([hidden]) {
	display: block;
	pointer-events: auto;
}

.sb-site-header__panel-card {
	pointer-events: auto;
	display: inline-flex;
	flex-wrap: nowrap;
	width: max-content;
	max-width: 100%;
	margin: 0;
	gap: 40px;
	padding: 32px;
	border: 0;
	border-radius: 0 0 12px 12px;
	background: #fff;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
	box-sizing: border-box;
}

.sb-site-header__panel-card--diseases {
	display: flex;
	width: 100%;
	max-width: 100%;
	padding: 0;
	gap: 0;
}

.sb-site-header__col {
	/*
	 * No `width`, and no flex growth -- critic 7, F10.
	 *
	 * SanguineNav.tsx L423 is `min-w-[180px] max-w-[260px]` and nothing else, so
	 * each column sizes to its CONTENT between those bounds. A fixed
	 * `width: 200px` made both the min and the max inert: C1V4-D shipped
	 * `max-width: 260px` further down this file believing it changed something,
	 * and forcing 240 back on the live page moved the columns not at all --
	 * [200, 200, 200] either way.
	 *
	 * A declaration that cannot change what a user sees is not a fix, and this
	 * one had a correct-sounding comment attached to it.
	 */
	flex: 0 1 auto;
	min-width: 180px;
	max-width: 260px;
	box-sizing: border-box;
}

.sb-site-header__col-heading {
	margin: 0 0 16px;
	font-size: 10px;
	font-weight: 600;
	line-height: 14px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #eb743d;
	overflow-wrap: break-word;
}

.sb-site-header__col-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sb-site-header__col-list a {
	color: rgba(20, 25, 43, 0.8);
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	overflow-wrap: break-word;
}

.sb-site-header__col-list a:hover,
.sb-site-header__col-list a:focus,
.sb-site-header__col-list a:focus-visible {
	color: #ea6e40;
	text-decoration: none;
	outline: none;
	box-shadow: none;
	border: 0;
}

.sb-site-header__promo {
	width: 240px;
	flex: 0 0 240px;
	flex-shrink: 0;
	border-left: 0;
	padding-left: 32px;
	box-sizing: border-box;
}

.sb-site-header__promo-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	color: #07038C;
}

.sb-site-header__promo-text {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 20px;
	color: rgba(20, 25, 43, 0.6);
}

.sb-site-header__promo-cta {
	display: inline-flex;
	align-items: center;
	height: 36px;
	margin-top: 16px;
	padding: 0 16px;
	border-radius: 6px;
	background: #eb743d;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	text-decoration: none;
}

.sb-site-header__promo-cta:hover,
.sb-site-header__promo-cta:focus,
.sb-site-header__promo-cta:focus-visible {
	background: #d35a22;
	color: #fff;
	text-decoration: none;
	outline: none;
	box-shadow: none;
	border: 0;
}

.sb-site-header__diseases-rail {
	width: 280px;
	flex-shrink: 0;
	padding: 24px;
	background: #eff1f8;
	box-sizing: border-box;
}

.sb-site-header__diseases-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sb-site-header__diseases-btn {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: rgba(20, 25, 43, 0.8);
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
	cursor: pointer;
}

.sb-site-header__diseases-btn:hover,
.sb-site-header__diseases-btn:focus,
.sb-site-header__diseases-btn:focus-visible {
	background: rgba(6, 3, 141, 0.1);
	color: #07038C;
	outline: none;
	box-shadow: none;
	border: 0;
}

.sb-site-header__diseases-btn.is-active {
	background: #07038C;
	color: #fff;
}

.sb-site-header__diseases-btn svg {
	opacity: 0.5;
	flex-shrink: 0;
}

.sb-site-header__diseases-main {
	min-width: 0;
	flex: 1 1 auto;
	padding: 24px 32px;
	max-height: 70vh;
	overflow: auto;
}

.sb-site-header__diseases-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	column-count: 2;
	column-gap: 32px;
}

@media (min-width: 1100px) {
	.sb-site-header__diseases-grid {
		column-count: 3;
	}
}

.sb-site-header__diseases-grid li {
	break-inside: avoid;
	padding: 4px 0;
}

.sb-site-header__diseases-grid a {
	color: rgba(20, 25, 43, 0.75);
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.sb-site-header__diseases-grid a:hover,
.sb-site-header__diseases-grid a:focus,
.sb-site-header__diseases-grid a:focus-visible {
	color: #ea6e40;
	text-decoration: none;
	outline: none;
	box-shadow: none;
	border: 0;
}

.sb-site-header__drawer {
	position: fixed;
	inset: 0;
	z-index: 1100;
}

.sb-site-header__drawer[hidden] {
	display: none;
}

.sb-site-header__drawer-overlay {
	position: absolute;
	inset: 0;
	border: 0;
	margin: 0;
	padding: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.sb-site-header__drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	height: 100%;
	background: #fff;
	color: #14192b;
	box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
	overflow: auto;
}

.sb-site-header__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
}

.sb-site-header__drawer-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: #07038C;
}

.sb-site-header__drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #64748b;
	cursor: pointer;
}

.sb-site-header__drawer-nav {
	padding: 12px 20px 32px;
}

.sb-site-header__drawer-link,
.sb-site-header__drawer-acc > summary {
	display: block;
	padding: 10px 0;
	color: #14192b;
	font-family: Inter, system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
	border: 0;
	outline: none;
	box-shadow: none;
}

.sb-site-header__drawer-link:hover,
.sb-site-header__drawer-link:focus,
.sb-site-header__drawer-link:focus-visible,
.sb-site-header__drawer-acc > summary:hover,
.sb-site-header__drawer-acc > summary:focus,
.sb-site-header__drawer-acc > summary:focus-visible {
	color: #ea6e40;
	text-decoration: none;
	outline: none;
	box-shadow: none;
}

.sb-site-header__drawer-acc {
	border-bottom: 1px solid #eef2f7;
}

.sb-site-header__drawer-acc > summary::-webkit-details-marker {
	display: none;
}

.sb-site-header__drawer-heading {
	margin: 8px 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #eb743d;
}

.sb-site-header__drawer-acc ul {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.sb-site-header__drawer-acc li a {
	display: block;
	padding: 6px 0;
	color: #334155;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.sb-site-header__drawer-acc li a:hover,
.sb-site-header__drawer-acc li a:focus,
.sb-site-header__drawer-acc li a:focus-visible {
	color: #ea6e40;
	text-decoration: none;
	outline: none;
	box-shadow: none;
	border: 0;
}

.sb-site-header__drawer-acc--nested {
	margin-left: 8px;
	border-bottom: 0;
}

.sb-site-header__drawer-acc--nested > summary {
	font-weight: 500;
	font-size: 14px;
}

body.sb-site-header-drawer-open {
	overflow: hidden;
}

@media (max-width: 1023px) {
	.sb-site-header__panel {
		display: none !important;
	}
}

/* -------------------------------------------------------------------------
 * Toast
 *
 * The design uses a Radix toast viewport pinned bottom-right on desktop and
 * top on mobile. This is the minimal equivalent: the promo-code confirmation
 * is currently its only caller.
 * ---------------------------------------------------------------------- */

.sb-toast-region {
	position: fixed;
	z-index: 100000;
	top: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
	pointer-events: none;
}

@media (min-width: 640px) {
	.sb-toast-region {
		top: auto;
		left: auto;
		bottom: 16px;
		right: 16px;
		max-width: 420px;
	}
}

.sb-toast {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border: 1px solid #dbdfe6;
	border-radius: 8px;
	background: #fff;
	color: #141d2e;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease;
	pointer-events: auto;
}

.sb-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* -------------------------------------------------------------------------
 * v3 AC4 — one typeface across the application UI
 *
 * "All text — headings, body, table cells, lot numbers, patient IDs, cart
 * badge, keyboard hints — renders in Inter. No monospaced or serif text
 * remains anywhere in the application UI."
 *
 * Twelve child-theme stylesheets declare Plus Jakarta Sans (the v2 heading
 * face, which v3 supersedes) and twelve declare HKGrotesk-Regular, several of
 * them with !important and several in files this changeset must not touch.
 * Overriding at the point of use is the only route that reaches all of them.
 *
 * Scoped to the five app surfaces, not the marketing site. Icon carriers are
 * excluded: icon fonts are glyph payloads, not text, and AC4 is about text.
 * Pseudo-elements are untouched by the element selector, so `.fa::before`
 * style icon fonts keep their family regardless.
 * ---------------------------------------------------------------------- */

body.sb-sf-page :where(h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, caption,
	button, input, select, textarea, label, strong, em, b, small, dt, dd,
	figcaption, blockquote, summary, legend, div):not([class*="fa-"]):not([class*="icon"]):not([class*="Icon"]):not(.fa):not([class*="ult-"]),
body.single-product :where(h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, caption,
	button, input, select, textarea, label, strong, em, b, small, dt, dd,
	figcaption, blockquote, summary, legend, div):not([class*="fa-"]):not([class*="icon"]):not([class*="Icon"]):not(.fa):not([class*="ult-"]),
body.woocommerce-cart :where(h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, caption,
	button, input, select, textarea, label, strong, em, b, small, dt, dd,
	figcaption, blockquote, summary, legend, div):not([class*="fa-"]):not([class*="icon"]):not([class*="Icon"]):not(.fa):not([class*="ult-"]),
body.woocommerce-checkout :where(h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, caption,
	button, input, select, textarea, label, strong, em, b, small, dt, dd,
	figcaption, blockquote, summary, legend, div):not([class*="fa-"]):not([class*="icon"]):not([class*="Icon"]):not(.fa):not([class*="ult-"]),
body.woocommerce-account :where(h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, caption,
	button, input, select, textarea, label, strong, em, b, small, dt, dd,
	figcaption, blockquote, summary, legend, div):not([class*="fa-"]):not([class*="icon"]):not([class*="Icon"]):not(.fa):not([class*="ult-"]) {
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* -------------------------------------------------------------------------
 * v3 page ground
 *
 * The design's page wrapper is `min-h-screen bg-background`, measured
 * rgb(246, 247, 249) on all thirteen pages. Live had three different wrong
 * values on `body` and, worse, `div.fl-page-content` painting plain white over
 * the top on the catalog and account pages -- so every white card sat on white.
 *
 * Scoped to the same five app surfaces as the typeface rule below, so the
 * marketing site keeps its own ground.
 * ---------------------------------------------------------------------- */

body.sb-sf-page,
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
	background-color: #f6f7f9;
}

body.sb-sf-page .fl-page,
body.sb-sf-page .fl-page-content,
body.single-product .fl-page,
body.single-product .fl-page-content,
body.woocommerce-cart .fl-page,
body.woocommerce-cart .fl-page-content,
body.woocommerce-checkout .fl-page,
body.woocommerce-checkout .fl-page-content,
body.woocommerce-account .fl-page,
body.woocommerce-account .fl-page-content {
	background-color: #f6f7f9;
}

/* The body itself, so inherited text starts from Inter too. */
body.sb-sf-page,
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* AC4 allows tabular figures for numeric alignment, same family. */
body.sb-sf-page table td,
body.sb-sf-page table th,
body.single-product table td,
body.single-product table th {
	font-variant-numeric: tabular-nums;
}

/*
 * The product page's tab panes set Plus Jakarta on h2/h3/h4 at (0,5,1) with
 * !important, which out-weighs the scoped AC4 rule above. Matched selector
 * shape plus one class, so Inter wins without disturbing the other
 * declarations in that block (colour, weight, margins).
 */
/*
 * Note the `html` prefix: their :not(#faq):not(#overview):not(#protocols)
 * counts three IDs, so that selector is (3,3,2). Matching it exactly only
 * ties, and single-product-modern.css loads after this file, so a tie loses.
 */
html body.single-product .sb-product-tabs .tabs-content .tab-pane:not(#faq):not(#overview):not(#protocols) h2,
html body.single-product .sb-product-tabs .tabs-content .tab-pane:not(#faq):not(#overview):not(#protocols) h3,
html body.single-product .sb-product-tabs .tabs-content .tab-pane:not(#faq):not(#overview):not(#protocols) h4,
body.single-product .sb-product-tabs .tabs-content .tab-pane h2,
body.single-product .sb-product-tabs .tabs-content .tab-pane h3,
body.single-product .sb-product-tabs .tabs-content .tab-pane h4,
body.sb-sf-page .sb-sf .font-heading,
body.single-product .sb-sf .font-heading,
body.sb-sf-page .sb-sf h1, body.sb-sf-page .sb-sf h2, body.sb-sf-page .sb-sf h3,
body.single-product .sb-sf h1, body.single-product .sb-sf h2, body.single-product .sb-sf h3 {
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/*
 * v3 widens every app shell from max-w-6xl (1152) to 1440 with 24px gutters.
 * The compiled Tailwind build predates the arbitrary-value class, so it is
 * declared here rather than left to resolve to nothing.
 */
.max-w-\[1440px\] {
	max-width: 1440px;
}
/*
 * Navy is #07038C throughout, which is what the design's own token renders:
 * `--primary: 242 96% 28%` = hsl(242, 96%, 28%) = rgb(7,3,140). The #06038D
 * that used to appear here is the Pantone 2738 C reference the design carries
 * in a COMMENT, not a value it ever paints. Keeping both in one theme is what
 * made register row C2 look like a real deviation for eleven rounds.
 */

/* -------------------------------------------------------------------------
 * BRIAN 14 SEP -- signed-in account tray
 *
 * Lovable gave only the tile shape, so the rest is judgement: an identity row
 * at the top so the customer can see WHICH account they are in, a quiet
 * section label, a two-column tile grid, and Log out separated below a rule.
 *
 * Deliberate choices worth keeping:
 *  - the tray is 320px, not the old 216px: two columns of "Account Dashboard"
 *    need the room, and the tiles read as buttons rather than a cramped list.
 *  - tiles are equal height via `align-items: stretch` on the grid, so a
 *    two-line label does not leave its neighbour short.
 *  - hover moves the BORDER and background, not the text position -- nothing
 *    shifts under the cursor.
 *  - Log out is outside the grid and is the only thing that turns accent
 *    orange, because it is the only destructive action in the panel.
 * ---------------------------------------------------------------------- */

/* v4, 15 Sep. This block sits AFTER the base rule near the top of the file and
   was silently undoing it -- the base already said 360/24px/8px and the tray
   still measured 320/14px/12px. SanguineNav.tsx renders both account states in
   one `w-[360px] rounded-lg border border-border bg-card p-6 shadow-xl`
   wrapper. */
.sb-site-header__account-tray {
	width: 360px;
	min-width: 0;
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.sb-site-header__account-head {
	display: flex;
	align-items: center;
	gap: 12px;                                      /* gap-3, SanguineNav.tsx L220 */
	padding: 0 2px 12px;
	border-bottom: 1px solid rgba(20, 25, 43, 0.1);
}

.sb-site-header__account-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	/* grid h-11 w-11 place-items-center rounded-full bg-primary text-base
	   font-bold text-primary-foreground */
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: #07038c;                            /* --primary 242 96% 28% */
	color: #fff;
	font-size: 16px;                                /* text-base */
	font-weight: 700;
	font-family: Inter, system-ui, sans-serif;
	line-height: 1;
}

.sb-site-header__account-who {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sb-site-header__account-who strong {
	/* SanguineNav.tsx L224: `font-heading text-base font-bold` -> 16px/700. */
	font-family: Inter, system-ui, sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: -0.025em;                       /* tracking-tight = -0.025em */
	color: #141d2e;
}

/* The address can be long; it truncates rather than widening the tray. */
.sb-site-header__account-who small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	/* L225: `truncate text-sm text-muted-foreground` -> 14px on the token. */
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #647690;                                 /* --muted-foreground 216 18% 48% */
}

.sb-site-header__account-section {
	margin: 12px 0 8px;
	padding: 0 2px;
	/* L239: `text-xs font-semibold uppercase tracking-wide text-muted-foreground`. */
	color: #647690;                                 /* --muted-foreground */
	font-family: Inter, system-ui, sans-serif;
	font-size: 12px;
	line-height: 16px;                              /* text-xs is 12/16 */
	font-weight: 600;
	letter-spacing: 0.025em;                        /* tracking-wide */
	text-transform: uppercase;
}

.sb-site-header__account-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-site-header__account-tiles li {
	margin: 0;
	list-style: none;
	display: flex;
}

.sb-site-header__account-tiles a {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	/*
	 * No min-height: L252 is `rounded-md border border-border px-3 py-2 text-sm`,
	 * which is 8px + 20px + 8px + 2px of border = 38px. The 44px here was a
	 * tap-target choice the component does not make, and this pass already
	 * records the design's smaller targets as faithful (C3V4-I).
	 */
	padding: 8px 12px;
	/* L252: `rounded-md border border-border px-3 py-2 text-sm
	   text-muted-foreground` -- rounded-md is 6px, not 8. */
	border: 1px solid rgba(219, 223, 230, 0.9);
	border-radius: 6px;
	background: #fff;
	color: #647690;                                 /* --muted-foreground */
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;                               /* L252 sets no weight class */
	text-decoration: none;
	transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}

/*
 * `hover:border-accent/60 hover:text-foreground` -- SanguineNav.tsx L252
 * (critic 9, F5). No fill change and no navy: the border warms to accent and
 * the label goes to foreground. The tinted navy fill was invented here.
 */
.sb-site-header__account-tiles a:hover,
.sb-site-header__account-tiles a:focus-visible {
	border-color: rgba(235, 116, 61, 0.6);    /* accent/60 */
	background: #ffffff;
	color: #141d2e;                            /* --foreground */
}

.sb-site-header__account-tiles a:focus-visible {
	outline: 2px solid #07038c;
	outline-offset: 2px;
}

.sb-site-header__account-logout {
	/* text-sm font-medium text-muted-foreground, per SanguineNav.tsx. */
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 10px 2px 2px;
	border-top: 1px solid rgba(20, 25, 43, 0.1);
	color: #647690;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: color 120ms ease;
}

.sb-site-header__account-logout:hover,
.sb-site-header__account-logout:focus-visible {
	color: #eb743d;
}

@media (max-width: 420px) {
	.sb-site-header__account-tray {
		min-width: 260px;
	}

	.sb-site-header__account-tiles {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
 * Critic 1, 15 Sep -- header findings, each against SanguineNav.tsx.
 * ====================================================================== */

/* #14  Mega-menu column headings are `text-primary` -- NAVY, not orange.
 *      Ours rendered rgb(234,115,61), which is also the wrong orange (the hex
 *      from a comment rather than the token). */
.sb-site-header .sb-site-header__col-heading {
	color: #07038c !important;                 /* --primary 242 96% 28% */
}

/* #15  Feature body copy is `text-muted-foreground`, a SOLID token, not a
 *      translucent near-black. */
.sb-site-header .sb-site-header__promo-text {
	color: #647690 !important;                 /* --muted-foreground */
}

/* #16  Mega links are `text-foreground/80`; the theme was carrying a slightly
 *      different foreground (20,25,43 instead of 20,29,46). */
.sb-site-header .sb-site-header__col-list a {
	color: rgba(20, 29, 46, 0.8);              /* --foreground 220 40% 13% */
}

/* #17  The account control is `h-9 w-9 rounded-md` with NO border. Ours was a
 *      30px circle with a grey ring, which no longer matched the 36px square
 *      cart button sitting beside it. */
.sb-site-header .sb-site-header__icon-btn {
	width: 36px !important;
	height: 36px !important;
	border-radius: 6px !important;             /* rounded-md */
	border: 0 !important;                      /* the design gives it no ring */
}

/* #18  Search: `lg:max-w-[460px]`, shell `h-10 rounded-lg ring-1 ring-white/20`,
 *      input `px-4`. Ours was 520x36 with no ring and 14px of left padding. */
@media (min-width: 1024px) {
	.sb-site-header .sb-site-header__search--desktop {
		max-width: 460px;
	}
}

.sb-site-header .sb-site-header__search--desktop .sb-algolia-search__shell,
.sb-site-header .sb-site-header__search--desktop form,
.sb-site-header .sb-site-header__search--desktop > div {
	height: 40px;                              /* h-10 */
	border-radius: 8px;                        /* rounded-lg */
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);   /* ring-1 ring-white/20 */
}

.sb-site-header .sb-site-header__search--desktop input {
	padding-left: 16px;                        /* px-4 */
}

/* #21  The mega panel has `border border-t-0 border-border`. */
.sb-site-header .sb-site-header__panel-card {
	border-left: 1px solid #dbdfe6;
	border-right: 1px solid #dbdfe6;
	border-bottom: 1px solid #dbdfe6;
	border-top: 0;
}

/* #22  The feature column is divided from the links by `border-l border-border`. */
.sb-site-header .sb-site-header__promo {
	border-left: 1px solid #dbdfe6;
}

/* #23  Columns are `max-w-[260px]`, not 240. */
.sb-site-header .sb-site-header__col {
	max-width: 260px;
}

/* #29  The tray hangs at `top-[calc(100%+10px)]`, not flush against the bar. */
.sb-site-header__account-tray {
	top: calc(100% + 10px);
}

/* #42  The identity block is separated by `my-5 h-px bg-border` -- a real
 *      divider in the border token, not 12px of padding and a 10%-alpha rule. */
.sb-site-header .sb-site-header__account-head {
	padding-bottom: 20px;                      /* my-5 */
	margin-bottom: 20px;
	border-bottom: 1px solid #dbdfe6;          /* bg-border */
}


/* ---------------------------------------------------------------------------
 * Keyboard focus rings (C3-4).
 *
 * Thirteen separate rules in this file each set `outline: none`, several of
 * them on `:focus-visible`, so this block carries `!important` on the outline
 * properties rather than unpicking all thirteen. Nothing else here is forced.
 *
 * Two colours, because the header has two grounds. The bar is `#07038C` and the
 * promo strip `#04025C`, so the design's navy `--ring` (242 96% 28%, which
 * renders rgb(7,3,140)) would be a navy ring on navy -- invisible. Controls
 * sitting on navy get white; controls inside the white surfaces the header
 * opens -- the account tray, the mobile drawer, the mega panel -- get the
 * design's navy.
 *
 * `:focus-visible` only, so nothing changes for a mouse user.
 * ------------------------------------------------------------------------- */
/*
 * No `input` or `select` here, and no border-radius -- both were mine and both
 * were wrong (critic 4, F8 and F9).
 *
 * A TEXT INPUT matches `:focus-visible` when you click it with the mouse, by
 * design: the browser assumes anyone focusing a text field wants to see where
 * they are typing. So `input:focus-visible` handed mouse users a 2px white ring
 * on the header search, which is exactly the "no new outlines for the mouse"
 * line this change was not supposed to cross. SanguineNav.tsx styles that input
 * with `focus:border-accent` and no ring, so dropping it also follows the
 * component.
 *
 * `border-radius` in a focus block changes the control's SHAPE on focus: the
 * logo went 0 -> 4px and the nav buttons 6px -> 4px, while the account icon kept
 * 6px because a more specific rule beat this one. An outline already follows the
 * element's own radius, so the declaration was never needed.
 */
.sb-site-header a:focus-visible,
.sb-site-header button:focus-visible,
.sb-site-header summary:focus-visible {
	outline: 2px solid #ffffff !important;
	outline-offset: 2px !important;
}

/*
 * No `input` here either, for the reason above: a text input matches
 * `:focus-visible` on a mouse click, so ringing it shows the mouse an outline.
 * SanguineNav.tsx L301/L310 style these fields `focus:border-primary
 * focus:outline-none` -- a border colour change and no ring -- so dropping them
 * follows the component as well as fixing the leak. Surfaced while correcting
 * the F9 check, not by the critic.
 */
.sb-site-header__account-tray a:focus-visible,
.sb-site-header__account-tray button:focus-visible,
.sb-site-header__drawer a:focus-visible,
.sb-site-header__drawer button:focus-visible,
.sb-site-header__drawer summary:focus-visible,
.sb-site-header__panel a:focus-visible,
.sb-site-header__panel button:focus-visible {
	outline: 2px solid #07038c !important;   /* --ring 242 96% 28% */
	outline-offset: 2px !important;
}


/* ---------------------------------------------------------------------------
 * The search field's focus ring (critic 5, F3).
 *
 * SanguineNav.tsx L173 carries `focus-within:ring-2 focus-within:ring-accent` on
 * the WRAPPER, and the input's `focus:outline-none` on L181 exists because of
 * it. C4V4-D dropped inputs from the header ring block on a misreading of that
 * -- believing the component ringed the input -- which left this control with no
 * focus indicator of any kind, on every page of the site.
 *
 * The ring goes on the wrapper, which is also what makes it survive: a Tailwind
 * ring is a box-shadow, and line 342 sets `box-shadow: none !important` on the
 * INPUT, so any indicator placed there is erased.
 *
 * `--accent: 19 81% 58%` renders rgb(235,116,61) -- the token, not the #EA733D
 * written beside it, which is rgb(234,115,61).
 * ------------------------------------------------------------------------- */
.sb-site-header .sb-algolia-search__field:focus-within {
	/* 8px to match `rounded-lg` on the wrapper -- 6px was a guess made before
	   the wrapper carried the box at all (critic 6, F6). */
	box-shadow: 0 0 0 2px rgb(235, 116, 61) !important;
	border-radius: 8px;
}

/* ---------------------------------------------------------------------------
 * The header sticks on the account routes too (critic 5, F5).
 *
 * `/my-account/` was the only route of six computing `position: relative`;
 * SanguineNav.tsx is `sticky top-0 z-50` and this file already says so at the
 * top, so something the account pages load out-specifies it. Stated here at a
 * specificity they cannot beat, scoped to the header so nothing else moves.
 * ------------------------------------------------------------------------- */
body.woocommerce-account header.sb-site-header,
body.woocommerce-page header.sb-site-header {
	position: sticky !important;
	top: 0 !important;
}


/* ---------------------------------------------------------------------------
 * The search control's box belongs to the WRAPPER (critic 6, F6).
 *
 * SanguineNav.tsx L173:
 *   <div className="flex h-10 w-full items-center overflow-hidden rounded-lg
 *                   bg-white ring-1 ring-white/20 transition-shadow
 *                   focus-within:ring-2 focus-within:ring-accent">
 *     <input className="h-full min-w-0 flex-1 bg-transparent ..." />
 *
 * Measured before this: the wrapper was transparent, 36px tall, radius 0, while
 * the INPUT carried the white fill and the 8px radius. The visible result was
 * close enough to pass a colour check and wrong in two ways -- 36px instead of
 * 40, and my own F3 focus ring drawn around a transparent box whose edges did
 * not match the white one the user sees.
 *
 * So the fill, the height, the radius and the ring all move to the wrapper, and
 * the input becomes what the component says it is: transparent and full height.
 * ------------------------------------------------------------------------- */
.sb-site-header .sb-algolia-search__field {
	display: flex;
	align-items: center;
	overflow: hidden;
	height: 40px;                                   /* h-10 */
	border-radius: 8px;                             /* rounded-lg */
	background: #ffffff;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2); /* ring-1 ring-white/20 */
}

.sb-site-header .sb-algolia-search__input {
	height: 100% !important;
	background: transparent !important;
	border-radius: 0 !important;
	border: 0 !important;
}


/* ---------------------------------------------------------------------------
 * Two tray details from critic 7.
 *
 * F6: SanguineNav.tsx L262 puts the SAME `my-5 h-px bg-border` above Log out as
 * above the tiles -- 20px, a 1px rule on the border token, 20px. C1V4-D #42
 * converted the FIRST divider and left the second on the old translucent black
 * with 12px/10px spacing.
 *
 * F11: L218 wraps the tray in `... bg-card p-6 text-foreground ...`. The theme
 * set no colour at all, so the root inherited white from the navy bar and every
 * descendant that does not set its own was one edit from white-on-white. Not
 * currently visible -- a contrast scan of the open tray found 0 nodes below
 * 2:1 -- which is exactly why it would have been found by a regression rather
 * than a review.
 * ------------------------------------------------------------------------- */
.sb-site-header .sb-site-header__account-tray {
	color: #141d2e;                                 /* --foreground */
}

.sb-site-header .sb-site-header__account-logout {
	margin-top: 20px;                               /* my-5 */
	padding-top: 20px;
	border-top: 1px solid #dbdfe6;                  /* bg-border */
}


/*
 * The tray's Close control (C6V4-G). SanguineNav.tsx puts it top-right of the
 * identity row, `text-muted-foreground` hovering to `text-foreground`, with a
 * 16px glyph. The tray is `position: absolute`, so this anchors to its padding
 * box rather than sitting in the flex row -- which keeps the identity block's
 * `gap-3` exactly as the component specifies it.
 */
.sb-site-header__account-close {
	/*
	 * `!important` on position, and on every state (critic 10, F2/F3).
	 *
	 * A parent-theme rule -- `button:focus, button:active { position: relative }`
	 * at (0,1,1) -- beat this at (0,1,0). So on MOUSEDOWN the button took focus,
	 * flipped to `relative`, left its absolute slot and reflowed to the tray's
	 * TOP-LEFT while the tray grew 418 -> 442px. The pointer was then no longer
	 * over it at mouseup, so Chrome dispatched `click` on the common ancestor and
	 * the button's own handler never ran: the Close control did nothing for a
	 * mouse user, 6 trials of 6, on two routes.
	 *
	 * The handler was correct the whole time -- element.click() closed the tray,
	 * and getEventListeners named the right function. Asserting the handler, the
	 * class or the selector would all have passed. Only clicking it failed.
	 */
	position: absolute !important;
	top: 24px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #647690;                                 /* --muted-foreground */
	cursor: pointer;
	transition: color 120ms ease;
}

.sb-site-header__account-close:hover,
.sb-site-header__account-close:focus,
.sb-site-header__account-close:focus-visible,
.sb-site-header__account-close:active {
	position: absolute !important;
	top: 24px;
	right: 24px;
	color: #141d2e;                                 /* --foreground */
	background: transparent;
}


/*
 * V6 CRITIC ROUND -- header type, against SanguineNav.tsx at Lovable HEAD.
 *
 * The search field is `text-sm` with no weight class, so it inherits normal.
 * Live rendered it at 500 from css/algolia-search-modern.css, which is not in
 * this changeset's deploy list -- so the correction is made here, in the file
 * the header actually owns, rather than by shipping an unaudited sheet.
 */
.sb-site-header .sb-algolia-search__input,
.sb-site-header__search .sb-algolia-search__input {
	font-weight: 400;
}

/*
 * The promo chip's tracking is corrected in `.sb-site-header__strip-code`
 * above, which is the class the markup actually carries
 * (template-parts/header/site-header.php). Two selectors written here first --
 * `.sb-site-header__promo-code` and `.sb-promo-bar__code` -- matched nothing
 * at all, which is the quietest way to ship a fix that does nothing.
 */

/* =====================================================================
 * HOMEPAGE HERO — about 40% shorter, on Brian's instruction of 18 Sep.
 *
 * It measured 271px: a 166px slider viewport plus a 104px PAGER. The pager was
 * 104px because its four `.bx-pager-item`s were stacking -- each one 1440px
 * wide and 26px tall, one per line -- where a bxSlider pager is meant to be a
 * single row of links. So most of the height was a broken control strip, not
 * content.
 *
 * Laying the items out inline and floating the pager over the foot of the
 * slide removes the whole strip from the flow: the row becomes the viewport's
 * own 166px, which is 39% shorter and lands where Brian asked without touching
 * the slide's typography.
 *
 * WHY THIS LIVES IN site-header.css: it is the only site-wide stylesheet in
 * dm_deploy.FILES. A new file would need enqueueing from functions.php, which
 * is merge-only. The rules are scoped to .homepage_banner_row so nothing else
 * can be caught by them.
 * ===================================================================== */
.homepage_banner_row .bx-wrapper {
	position: relative;
}

.homepage_banner_row .bx-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: auto;
	pointer-events: none;
}

.homepage_banner_row .bx-controls .bx-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	height: auto;
	padding: 0;
}

.homepage_banner_row .bx-controls .bx-pager-item {
	display: inline-flex;
	width: auto;
	height: auto;
	pointer-events: auto;
}

.homepage_banner_row .bx-controls .bx-pager-link {
	width: auto;
	height: auto;
	line-height: 20px;
}

/*
 * HERO, second cut — Brian, 18 Sep: "still too tall. Cut off the top 30-40% of
 * the hero image if you have to, we're replacing this page soon anyway."
 *
 * 166px -> 108px, another 35%. bxSlider writes the viewport height inline from
 * JS, so this overrides it and crops rather than rescaling: the slide is pulled
 * up by the 58px difference and the overflow is clipped, which takes the cut off
 * the TOP as asked and leaves the headline sitting on the fold.
 *
 * This is deliberately blunt. It fights the slider's own measurement instead of
 * reconfiguring the module, and it will need redoing if the slide content
 * changes height -- accepted because the page is being replaced.
 */
/*
 * THE BOTTOM IS NEVER CUT. THE PHOTO IS CROPPED; THE CONTENT IS NOT.
 *
 * Brian, 18 Sep: "I need them to NEVER cut off the bottom because that's where
 * my buttons and shit are."
 *
 * The previous version capped every box at a hard height with `overflow:
 * hidden`, which cropped the PHOTO correctly but also clipped
 * `.fl-slide-foreground` -- the headline, the copy and the buttons. Anything the
 * slide needed below 412px was simply cut off.
 *
 * So nothing is clipped by height any more. 412px is a MINIMUM: the boxes size
 * to their content and grow past it when a slide needs more room, so no
 * foreground element can ever be cut. The photo still shrinks to fit, because
 * `cover` + `background-position: bottom` crops it from the TOP against
 * whatever height the slide ends up with.
 *
 * `.bx-viewport` keeps `overflow: hidden` -- bxSlider lays the slides out in one
 * wide row and needs it to show only the current one -- but its HEIGHT is auto,
 * so it fits its content rather than cutting it. That is the difference between
 * this and the version that clipped.
 */
.homepage_banner_row,
.homepage_banner_row .fl-row-content-wrap,
.homepage_banner_row .fl-row-content,
.homepage_banner_row .fl-col-group,
.homepage_banner_row .fl-col,
.homepage_banner_row .fl-col-content,
.homepage_banner_row .fl-module,
.homepage_banner_row .fl-module-content,
.homepage_banner_row .fl-content-slider,
.homepage_banner_row .bx-wrapper {
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	overflow: visible !important;
}

.homepage_banner_row .bx-viewport {
	height: auto !important;
	max-height: none !important;
	/* Horizontal clipping only -- this is what keeps one slide on screen. */
	overflow: hidden !important;
}

/* 412 is the floor, not the ceiling. A taller slide makes the hero taller. */
.homepage_banner_row .bx-viewport > ul,
.homepage_banner_row .bx-viewport > ul > li,
.homepage_banner_row .fl-slide {
	height: auto !important;
	max-height: none !important;
	min-height: 412px !important;
}

/* The foreground is never constrained -- this is the bit with the buttons. */
.homepage_banner_row .fl-slide-foreground {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

/*
 * THE PHOTO LAYER IS PINNED TO THE SLIDE, NOT SIZED AS A PERCENTAGE OF IT.
 *
 * `height: 100%` was the bug behind the blue bar (Brian, 18 Sep): the slide is
 * `height: auto` with a `min-height`, and a percentage height against an
 * auto-height parent resolves to AUTO. So the photo collapsed to its own
 * natural height, the slide stayed at 412, and the row's navy background showed
 * through underneath -- a different amount per slide, because each photo has a
 * different natural height. That is also why the crop looked inconsistent.
 *
 * Pinned with inset:0 it fills the slide box whatever height that box ends up
 * being, so there is never a gap and every slide crops identically: `cover`
 * anchored to the BOTTOM, which takes the excess off the top and never off the
 * buttons.
 */
.homepage_banner_row .fl-slide {
	position: relative !important;
}

.homepage_banner_row .fl-slide-bg-photo {
	position: absolute !important;
	inset: 0 !important;
	width: auto !important;
	height: auto !important;
	max-height: none !important;
	background-size: cover !important;
	background-position: bottom !important;
}

/* Keeps the headline, copy and buttons above the pinned photo. */
.homepage_banner_row .fl-slide-foreground {
	position: relative;
	z-index: 1;
}

.homepage_banner_row img {
	max-height: none !important;
	object-fit: cover;
	object-position: bottom;
}

.homepage_banner_row .fl-slide {
	background-size: cover !important;
	background-position: bottom !important;
}

/*
 * The 10px the tray hangs below the bar belongs to nothing, so the pointer
 * leaves the account wrapper while travelling from the icon to the tray and the
 * tray closes under it (Brian, 18 Sep). This bridges the gap with a transparent
 * strip that is part of the tray, so the journey never leaves the wrapper.
 *
 * Paired with the 400ms close delay in js/site-header.js -- the delay handles an
 * overshoot past the tray, this handles the gap itself.
 */
.sb-site-header__account-tray::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 12px;
}

/*
 * Lift the hero's headline and CTA off the bottom edge.
 *
 * Brian, 18 Sep: "the hero CTA and text just need to be bumped up a little."
 * With the slide at a 412px floor and the photo pinned behind it, the
 * foreground sat hard against the bottom of the frame. This is padding rather
 * than a height change, so it moves the content without re-cropping the photo
 * or reintroducing a clip.
 */
.homepage_banner_row .fl-slide-foreground {
	padding-bottom: 44px;
	box-sizing: border-box;
}

/*
 * THE BLUE BAR, KILLED AT THE SOURCE.
 *
 * Brian, 18 Sep, third report. Every fix so far has chased the GEOMETRY -- make
 * the photo fill the slide, cap this box, pin that one -- and each time a
 * different gap appeared, because I was reasoning about staging's layout from
 * local's, where the hero slide has no photo and no CTA.
 *
 * The bar is the ROW'S OWN NAVY BACKGROUND showing through wherever the photo
 * does not reach: bxSlider ships `.bx-wrapper { margin-bottom: 60px }` to make
 * room for its pager, and that margin sits outside the photo but inside the
 * row.
 *
 * So this stops trying to make the geometry perfect and removes the thing that
 * makes a gap VISIBLE. The slider's own spacing is zeroed, and the row is given
 * no background of its own -- the photo is full-bleed `cover`, so it is the
 * background. If a gap ever does appear again it will be the page behind it,
 * not a navy band, and it will not look like a rendering fault.
 */
.homepage_banner_row .bx-wrapper,
.homepage_banner_row .bx-viewport,
.homepage_banner_row .fl-content-slider,
.homepage_banner_row .fl-module-content {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.homepage_banner_row,
.homepage_banner_row .fl-row-content-wrap,
.homepage_banner_row .fl-col-content {
	background-color: transparent !important;
	background-image: none !important;
}

/* The pager rides over the photo, so it never needs a strip of its own. */
.homepage_banner_row .bx-controls {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 10px !important;
	top: auto !important;
	height: auto !important;
	margin: 0 !important;
	background: transparent !important;
}

/*
 * HERO PAGER — Brian, 18 Sep: "The first image in the hero slider now has a
 * white bar at the bottom. It looks like there's a random dot in the image
 * because the inactive dot/slides aren't visible."
 *
 * Both halves of that are the same control. bxSlider's `.bx-controls` was
 * dropping back into normal flow below the viewport, so it reserved its own
 * strip of page under the hero -- that is the white bar, and the hero itself is
 * not short. The rules above already position it absolutely; something loaded
 * after this file was resetting it, so these re-declare with enough weight to
 * hold and are placed last in the file so source order is on their side too.
 *
 * The "random dot" is the active pager link. The inactive ones were rendering
 * effectively invisible against the photo, so a four-slide pager read as a
 * single stray dot. They now carry a translucent white fill and a hairline
 * border, which stays legible over both the dark left side of the slide and the
 * lighter right, without competing with the active one.
 *
 * Sized 10px with a 20px hit area: the visual dot stays small, the tap target
 * does not.
 */
.homepage_banner_row .bx-wrapper {
	position: relative !important;
}

.homepage_banner_row .bx-controls {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 14px !important;
	top: auto !important;
	z-index: 3;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	background: none !important;
	pointer-events: none;
}

.homepage_banner_row .bx-controls .bx-pager {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 4px;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	background: none !important;
	/* bxSlider ships `position: absolute; bottom: -30px` on .bx-pager, which is
	   what pushed the dots out from under the slide in the first place. */
	position: static !important;
}

.homepage_banner_row .bx-controls .bx-pager-item {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	pointer-events: auto;
}

.homepage_banner_row .bx-controls .bx-pager-link {
	display: block !important;
	/*
	 * Brian, 18 Sep: "now it's just a square instead of a circle."
	 *
	 * That was `background-clip: content-box`. border-radius rounds the BORDER
	 * box; the content box keeps square corners, so clipping the paint to it
	 * paints a square inside a rounded element. The padding trick cannot survive
	 * a border-radius, so the dot is simply a 10px round element now and the
	 * spacing comes from margin instead of a hit-area pad.
	 */
	box-sizing: border-box;
	width: 10px !important;
	height: 10px !important;
	padding: 0 !important;
	margin: 5px !important;
	border-radius: 50% !important;
	/*
	 * Measured on prod: the inactive links were rgb(255,255,255) -- pure white.
	 * Over the navy slide that is fine, but the pager can land on the white page
	 * below the image, and there they vanish completely. That is the whole
	 * "random dot" report: three dots were rendering, two of them invisible.
	 *
	 * So the inactive fill is a mid tone that holds contrast BOTH ways, with a
	 * hairline ring so it still reads if it ever sits on plain white again.
	 * Picking a translucent white here would have reproduced the bug.
	 */
	border: 0;
	box-shadow: none;
	text-indent: -9999px;
	overflow: hidden;
	line-height: 0 !important;
	opacity: 1;
	transition: background-color 0.15s ease;
}

.homepage_banner_row .bx-controls .bx-pager-link:hover,
.homepage_banner_row .bx-controls .bx-pager-link:focus-visible {
	background-color: #c3cad8 !important;
}

.homepage_banner_row .bx-controls .bx-pager-link.active {
	background-color: #ee6c2d !important;
}

/*
 * THE WHITE BAR UNDER SOME SLIDES — Brian, 18 Sep: "the image has a big white
 * bar under it. None of the other images have that."
 *
 * Measured on prod at 1342px, walking the real chain from a short slide:
 *
 *     .bx-viewport                    h=536   (inline height 460.375px, overridden)
 *       .fl-content-slider-wrapper    h=0
 *         .fl-slide (float:left)      h=460
 *
 * Two things, and my first attempt at this fixed neither because it was written
 * against markup that does not exist: this slider has NO <ul>/<li> at all, so
 * every `.bx-viewport > ul > li` selector matched nothing.
 *
 * What actually happens: the slides are FLOATS, and .bx-viewport was
 * `height: auto; overflow: hidden`. That pair makes the viewport a block
 * formatting context, so it grows to contain the tallest float -- all five
 * slides, not the visible one. Slides measure 536/460/536/536/460, so whenever a
 * 460 slide is showing, 76px of empty viewport sits below it. That is the white
 * bar, and it is why it appears on some slides and not others.
 *
 * bxSlider's own inline height (the current slide's) was being overridden by that
 * `!important` auto, so the slider could not correct it either.
 *
 * Fixed by making the hero a DEFINITE height and stretching every slide to it,
 * so "tallest slide" and "this slide" are the same number and no gap can open.
 * A percentage needs a definite parent, which is exactly what `height: auto` was
 * denying it -- hence the explicit pixel heights here.
 *
 * Blunt on purpose, in keeping with the rest of this hero block: the page is
 * being replaced, and a deterministic height is worth more right now than a
 * self-measuring one that has produced a visible defect three times.
 */
.homepage_banner_row .bx-viewport {
	height: 440px !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: hidden !important;
}

.homepage_banner_row .fl-content-slider-wrapper {
	height: 440px !important;
}

.homepage_banner_row .fl-slide {
	height: 440px !important;
	min-height: 440px !important;
}

/* The photo is absolute inset:0 on the slide, so it follows automatically. The
   foreground has to be told, or the copy stays at its own content height. */
.homepage_banner_row .fl-slide-foreground {
	min-height: 440px !important;
}

@media (max-width: 992px) {
	.homepage_banner_row .bx-viewport,
	.homepage_banner_row .fl-content-slider-wrapper,
	.homepage_banner_row .fl-slide,
	.homepage_banner_row .fl-slide-foreground {
		height: 380px !important;
		min-height: 380px !important;
	}

	.homepage_banner_row .fl-slide-foreground {
		height: auto !important;
	}
}

@media (max-width: 600px) {
	.homepage_banner_row .bx-viewport,
	.homepage_banner_row .fl-content-slider-wrapper,
	.homepage_banner_row .fl-slide,
	.homepage_banner_row .fl-slide-foreground {
		height: 330px !important;
		min-height: 330px !important;
	}

	.homepage_banner_row .fl-slide-foreground {
		height: auto !important;
	}
}

/*
 * DOT COLOUR, AT A WEIGHT THAT ACTUALLY WINS.
 *
 * The inactive dots stayed pure white through two rounds of `!important`.
 * Asking the browser which rules matched settled it:
 *
 *   .bx-wrapper .bx-pager.bx-default-pager a   background:#fff !important
 *       -- legacy-site.css, specificity (0,3,1)
 *   .homepage_banner_row .bx-controls .bx-pager-link   (0,3,0)
 *       -- mine
 *
 * Both !important, so the winner is decided on specificity, and that trailing
 * bare `a` was worth exactly the one point I was short. Adding another
 * `!important` could never have fixed it.
 *
 * Restated here against legacy-site.css's own selector shape plus the archive
 * scope and the link's class, which puts it clearly ahead without resorting to
 * an id or an inline style.
 */
.homepage_banner_row .bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link {
	background: #98a2b7 !important;
}

.homepage_banner_row .bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link:hover,
.homepage_banner_row .bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link:focus-visible {
	background: #c3cad8 !important;
}

.homepage_banner_row .bx-wrapper .bx-pager.bx-default-pager a.bx-pager-link.active {
	background: #ee6c2d !important;
}

/*
 * AUTOIMMUNE/INFLAMMATORY GETS A FOURTH COLUMN — Brian, 18 Sep: "The expanded
 * Autoimmune/Inflammatory in the nav needs to be four columns as well... Just
 * that one category needs four columns, no others."
 *
 * It is the only area with enough conditions to need one: 65 links in the pane
 * against a 3-column default, so the list ran far past the panel and had to be
 * scrolled. Every other area fits in three.
 *
 * Scoped by the pane's own data attribute rather than by an nth-child position,
 * because the areas are ordered by the menu and a reorder would silently move
 * the fourth column onto whichever area happened to land in that slot. The slug
 * is therapeutic_area term 561, "autoimmune-inflammatory".
 *
 * Inside the 1100px breakpoint only: below it the panel is not wide enough for
 * four legible columns, and the 2/3-column defaults still apply there.
 */
@media (min-width: 1100px) {
	.sb-site-header__diseases-pane[data-sb-area-pane="autoimmune-inflammatory"] .sb-site-header__diseases-grid {
		column-count: 4;
		column-gap: 24px;
	}
}

/*
 * ONE SLIDE NEEDS NO PAGER — Brian, 18 Sep: "I just want one image that's
 * static, not a scrolling hero."
 *
 * The homepage hero is now a single slide (Beaver Builder post 34824, node
 * hmotay5nl6rd), but bxSlider still builds its pager and draws one dot. A single
 * dot under a static image is exactly the "random dot" reported earlier: it
 * advertises a control that cannot do anything.
 *
 * `:only-child` is the whole test -- one pager item means one slide. Written
 * this way rather than as a body class so it stays correct by itself if a second
 * slide is ever added back: the dots simply return.
 */
.homepage_banner_row .bx-controls .bx-pager-item:only-child {
	display: none !important;
}
