/* Lightweight global wholesale header. Shared drawer/product-card CSS should live in global/component CSS, not here. */
.screen-reader-text,
.bm-skip-link {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.bm-skip-link:focus {
	background: #fffbf3;
	border-radius: .35rem;
	box-shadow: 0 0 0 3px #f2b632;
	clip: auto !important;
	color: #1b1510;
	height: auto;
	left: .75rem;
	padding: .7rem .9rem;
	top: .75rem;
	width: auto;
	z-index: 100000;
}

.bmwa-global-header {
	--bmwa-leaf: #1e3a2a;
	--bmwa-kraft: #d9c39a;
	--bmwa-kraft-dark: #b89c6b;
	--bmwa-gold: #f2b632;
	--bmwa-ink: #1b1510;
	--bmwa-smoke: #efe6d6;
	--bmwa-surface: #fffbf3;
	--bmwa-text: #1b1510;
	--bmwa-muted: #6b5b49;
	background: var(--bmwa-leaf);
	color: var(--bmwa-smoke);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	line-height: 1.35;
	position: relative;
	z-index: 20;
	-webkit-font-smoothing: antialiased;
}

html[data-bm-theme="dark"] .bmwa-global-header,
.bmwa-global-header[data-theme="dark"] {
	--bmwa-surface: #221a13;
	--bmwa-text: #f3ebdd;
	--bmwa-muted: #b6a58c;
	--bmwa-smoke: #f3ebdd;
}

html[data-bm-theme="dark"] body:not(.bm-wholesale-home),
body.bm-theme-dark:not(.bm-wholesale-home) {
	background: #15110c;
	color: #f3ebdd;
}

html[data-bm-theme="light"] body:not(.bm-wholesale-home),
body.bm-theme-light:not(.bm-wholesale-home) {
	background: #efe6d6;
	color: #1b1510;
}

.bmwa-global-header *,
.bmwa-global-header *::before,
.bmwa-global-header *::after {
	box-sizing: border-box;
}

.bmwa-global-header a {
	color: inherit;
	text-decoration: none;
}

.bmwa-global-header button,
.bmwa-global-header input {
	font: inherit;
}

.bmwa-global-header :focus-visible {
	outline: 3px solid var(--bmwa-gold);
	outline-offset: 2px;
}

.bmwa-global-header .bmwa-hidden,
.bmwa-global-header [hidden] {
	display: none !important;
}

.bmwa-global-header .bmwa-sr {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bmwa-global-header .bmwa-wrap {
	margin-inline: auto;
	max-width: 72rem;
	padding-inline: .9rem;
}

.bmwa-global-header .bmwa-top {
	background: var(--bmwa-leaf);
	border-bottom: 2px solid var(--bmwa-ink);
	color: var(--bmwa-smoke);
	position: sticky;
	top: 0;
	z-index: 21;
}

.bmwa-global-header .bmwa-bar1 {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding-block: .6rem .5rem;
}

.bmwa-global-header .bmwa-mark {
	color: var(--bmwa-kraft);
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1;
}

.bmwa-global-header .bmwa-mark--image {
	align-items: center;
	display: inline-flex;
	line-height: 0;
	max-width: min(13rem, 52vw);
}

.bmwa-global-header .bmwa-mark__logo {
	display: block;
	height: auto;
	max-height: 3.4rem;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
	width: clamp(9rem, 28vw, 13rem);
}

.bmwa-global-header .bmwa-mark__text {
	display: block;
}

.bmwa-global-header .bmwa-mark small {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	line-height: 1.1;
	margin-top: .15rem;
}

.bmwa-global-header .bmwa-icons {
	display: flex;
	gap: .45rem;
}

.bmwa-global-header .bmwa-ibtn {
	align-items: center;
	background: transparent;
	border: 1.5px solid var(--bmwa-kraft-dark);
	border-radius: 50%;
	color: var(--bmwa-smoke);
	cursor: pointer;
	display: grid;
	height: 2.4rem;
	padding: 0;
	place-items: center;
	position: relative;
	width: 2.4rem;
}

.bmwa-global-header .bmwa-ibtn:hover,
.bmwa-global-header .bmwa-ibtn:focus-visible {
	background: rgb(0 0 0 / 18%);
}

.bmwa-global-header .bmwa-ibtn svg {
	height: 1.1rem;
	width: 1.1rem;
}

.bmwa-global-header .bmwa-dot {
	align-items: center;
	background: var(--bmwa-gold);
	border: 1.5px solid var(--bmwa-ink);
	border-radius: 999px;
	color: var(--bmwa-ink);
	display: inline-flex;
	font-size: .68rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1;
	min-height: 1.1rem;
	min-width: 1.1rem;
	padding: .12rem .25rem;
	position: absolute;
	right: -.25rem;
	top: -.28rem;
}

.bmwa-global-header .bmwa-searchrow {
	padding-bottom: .55rem;
}

.bmwa-global-header .bmwa-global-search {
	margin: 0;
}

.bmwa-global-header .bmwa-search {
	background: var(--bmwa-surface);
	border: 1.5px solid var(--bmwa-kraft-dark);
	border-radius: 999px;
	box-shadow: none;
	color: var(--bmwa-text);
	display: block;
	font-size: .95rem;
	min-height: 2.7rem;
	outline: none;
	padding: .72rem 1rem;
	width: 100%;
}

.bmwa-global-header .bmwa-search::placeholder {
	color: var(--bmwa-muted);
}

.bmwa-global-header .bmwa-scroller {
	display: flex;
	gap: .45rem;
	overflow-x: auto;
	padding-bottom: .5rem;
	scrollbar-width: none;
}

.bmwa-global-header .bmwa-scroller::-webkit-scrollbar {
	display: none;
}

.bmwa-global-header .bmwa-pill {
	align-items: center;
	background: rgb(0 0 0 / 15%);
	border: 1.5px solid rgb(217 195 154 / 35%);
	border-radius: 8px;
	color: var(--bmwa-smoke);
	display: inline-flex;
	flex: none;
	font-size: .86rem;
	padding: .4rem .75rem;
	white-space: nowrap;
}

.bmwa-global-header .bmwa-pill--quick {
	background: var(--bmwa-gold);
	border-color: var(--bmwa-gold);
	color: var(--bmwa-ink);
	font-weight: 800;
}

.bmwa-global-header .bmwa-pill--home {
	background: rgb(242 182 50 / 18%);
	border-color: rgb(242 182 50 / 42%);
	font-weight: 800;
}

@media (max-width: 640px) {
	.bmwa-global-header .bmwa-bar1 {
		gap: .8rem;
	}

	.bmwa-global-header .bmwa-mark--image {
		max-width: min(11rem, 48vw);
	}

	.bmwa-global-header .bmwa-ibtn {
		height: 2.25rem;
		width: 2.25rem;
	}
}

/* v1.1.4: keep the six lower header buttons grouped and left-aligned instead of spaced across the whole header. */
.bmwa-global-header nav.bmwa-wrap.bmwa-scroller {
	justify-content: flex-start !important;
	gap: .55rem;
	padding-top: .05rem;
}

.bmwa-global-header nav.bmwa-wrap.bmwa-scroller .bmwa-pill {
	margin: 0;
}

@media (min-width: 921px) {
	.bmwa-global-header nav.bmwa-wrap.bmwa-scroller {
		overflow-x: visible;
	}
}

@media (max-width: 640px) {
	.bmwa-global-header nav.bmwa-wrap.bmwa-scroller {
		gap: .4rem;
	}
}
