/*
 * Logo-wall menu, part 1 of 2 (inc/menu-logo-wall.php prints it inline in <head>).
 * Only what is visible before anyone opens the menu: the computer bar and the
 * phone "Menu" button. Panels and the phone menu are styled in menu-logo-wall.css.
 * Breakpoint 1200px = parent main.js, which removes .mobile-container above it.
 * Minifier note: never put "+" inside calc().
 */

.ms-mlw-p:not(.is-open),
.ms-mlw-dim[hidden],
.ms-mlw-m[hidden]{
	display: none !important;
}

/* ---------- Phone header button (below 1200px) ---------- */
.ms-mobile-header .ms-mh__menu .ms-mlw-open{
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	width: 46px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #214249;
	color: #fff;
	font: 700 10px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: .2px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.ms-mobile-header .ms-mh__menu .ms-mlw-open svg{
	width: 20px;
	height: 20px;
}
.ms-mobile-header .ms-mh__menu .ms-mlw-open:focus-visible{
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}
.ms-mobile-header .ms-mh__menu .ms-mlw-open:active{
	background: #1a3439;
}

/* ---------- Computer bar (1200px and up) ---------- */
@media (max-width: 1199px){
	.ms-mlw-d{
		display: none !important;
	}
}

.ms-mlw-d{
	position: relative;
	z-index: 60;
	background: #fff;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #0f172a;
}
.ms-mlw-d .ms-mlw-wrap{
	max-width: 1140px; /* same box as the header row above (.desktop-container) */
	margin: 0 auto;
	padding: 0 24px;
}
body.tax-product_cat .ms-mlw-d .ms-mlw-wrap{
	max-width: 1200px; /* category pages use a wider header */
}
.ms-mlw-d ul.ms-mlw-bar{
	display: flex;
	align-items: center;
	gap: 0;
	height: 56px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ms-mlw-d ul.ms-mlw-bar > li{
	position: static;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ms-mlw-d ul.ms-mlw-bar > li.ms-mlw-deal-li{
	margin-left: auto;
}
.ms-mlw-d .ms-mlw-nb{
	display: flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	margin: 0;
	padding: 0 9px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #0f172a;
	font: 600 15px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .12s;
}
.ms-mlw-d .ms-mlw-nb:hover,
.ms-mlw-d .ms-mlw-nb[aria-expanded="true"]{
	background: #f1f5f9;
	color: #0f172a;
	text-decoration: none;
}
.ms-mlw-d .ms-mlw-nb:focus,
.ms-mobile-header .ms-mh__menu .ms-mlw-open:focus{
	outline: none;
	box-shadow: none;
}
.ms-mlw-d .ms-mlw-nb:focus-visible{
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}
.ms-mlw-d .ms-mlw-car{
	opacity: .55;
	transition: transform .15s;
}
.ms-mlw-d .ms-mlw-nb[aria-expanded="true"] .ms-mlw-car{
	transform: rotate(180deg);
}
.ms-mlw-d .ms-mlw-nb--brands{
	margin-right: 6px;
	padding: 0 16px 0 14px;
	background: #214249;
	color: #fff;
	font-weight: 800;
}
.ms-mlw-d .ms-mlw-nb--brands:hover,
.ms-mlw-d .ms-mlw-nb--brands[aria-expanded="true"]{
	background: #1a3439;
	color: #fff;
}
.ms-mlw-d .ms-mlw-star{
	display: flex;
	color: #ffe14a;
}
.ms-mlw-d .ms-mlw-star svg{
	width: 18px;
	height: 18px;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linejoin: round;
}
.ms-mlw-d .ms-mlw-nb--deal{
	padding: 0 18px;
	background: #ffe14a;
	font-weight: 800;
}
.ms-mlw-d .ms-mlw-nb--deal:hover{
	background: #ffd617;
}
.ms-mlw-d .ms-mlw-nb--deal.is-campaign{
	background: #0f172a;
	color: #ffe14a;
}
.ms-mlw-d .ms-mlw-nb--deal.is-campaign:hover{
	background: #000;
	color: #ffe14a;
}


@media (prefers-reduced-motion: reduce){
	.ms-mlw-d *{ transition: none !important; }
}
