/* ==========================================================================
   Lushplay — header v2
   Two rows: identity + search + basket, then a department row with mega
   panels. Values come from the approved header design (Open Design project
   30a039a6-e83e-409e-baad-c96afefec851) and the live theme's own palette.

   Every rule is scoped to .lp-head / .lp-drawer so nothing here can leak
   into the rest of the storefront.
   ========================================================================== */

.lp-head,
.lp-drawer {
	/* colour — taken straight from the live theme */
	--paper: #FBF9F8;
	--paper-2: #F5F3F3;
	--surface: #FFFFFF;
	--ink: #222222;
	--ink-2: #54595F;
	--ink-3: #736B65;
	--line: #EBE5E1;
	--line-strong: #DCD3CE;
	--accent: #B0027A;
	--accent-deep: #8E0161;
	--accent-soft: rgba(176, 2, 122, 0.10);
	--accent-line: #F4D8E8;

	/* type */
	--sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--fs-sm: 0.875rem;
	--fs-xs: 0.8125rem;
	--fs-2xs: 0.75rem;
	--fs-micro: 0.6875rem;

	/* space — 4px rhythm */
	--s5: 24px;
	--s6: 32px;

	/* shape */
	--r-sm: 12px;
	--r-md: 16px;
	--r-pill: 999px;

	/* motion */
	--t-fast: 140ms;
	--t: 220ms;
	--t-slow: 320ms;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	font-family: var(--sans);
	color: var(--ink);
}

/* ---------- layout helper ---------- */

.lp-head .lp-wrap {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 24px);
}

/* ---------- icons ---------- */

.lp-head .lp-icon,
.lp-drawer .lp-icon {
	width: var(--lp-icon-size, 20px);
	height: var(--lp-icon-size, 20px);
}

/* ---------- shell ---------- */

.lp-head {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--surface);
}

/* Logged-in previews: keep the sticky header below the WordPress admin bar
   instead of letting it slide underneath. */
body.admin-bar .lp-head { top: 32px; }

@media screen and (max-width: 782px) {
	body.admin-bar .lp-head { top: 46px; }
}

.lp-head .eyebrow {
	display: block;
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.lp-head .num { font-variant-numeric: tabular-nums; }

/* ---- announcement bar ---- */

.lp-head .promo {
	background: var(--accent);
	color: #fff;
	overflow: hidden;
	transition: height var(--t) var(--ease);
	height: 34px;
}

.lp-head .promo__in {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
}

.lp-head .promo__list {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: 0.012em;
}

.lp-head .promo__item { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.lp-head .promo__item .lp-icon { --lp-icon-size: 15px; opacity: 0.92; }

.lp-head .promo__sep {
	width: 1px;
	height: 12px;
	background: rgba(255, 255, 255, 0.34);
}

/* ---- identity + search row ---- */

.lp-head .bar {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	transition: box-shadow var(--t) var(--ease);
}

.lp-head .bar__in {
	display: flex;
	align-items: center;
	gap: var(--s5);
	min-height: 76px;
	transition: min-height var(--t) var(--ease), padding var(--t) var(--ease);
}

.lp-head .brand { display: inline-flex; align-items: center; flex: none; }
.lp-head .brand__mark {
	display: block;
	width: auto;
	height: 30px;
	transition: transform var(--t) var(--ease);
	transform-origin: left center;
}
.lp-head .brand:hover .brand__mark { opacity: 0.84; }
.lp-head .brand__text {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--accent);
	line-height: 1;
}

.lp-head .lp-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: var(--surface);
	color: var(--ink);
	transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.lp-head .lp-iconbtn:hover { border-color: var(--ink); }
.lp-head .lp-iconbtn .lp-icon { --lp-icon-size: 20px; }

.lp-head .bar .bar__burger { display: none; }

/* mobile + tablet: search collapses to an icon beside the basket */
.lp-head .bar .bar__searchbtn { display: none; }
.lp-head .bar__searchbtn[aria-expanded="true"] {
	border-color: var(--ink);
	background: var(--paper);
	color: var(--accent);
}

/* ---- search field ---- */

.lp-head .sbox {
	position: relative;
	flex: 1 1 auto;
	max-width: 520px;
	min-width: 0;
	margin-inline: auto;
}

.lp-head .sbox__field {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 6px 0 14px;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
	            box-shadow var(--t-fast) var(--ease);
}
.lp-head .sbox__field:hover { border-color: var(--ink-3); }
.lp-head .sbox__field:focus-within {
	background: var(--surface);
	border-color: var(--ink);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.lp-head .sbox__icon { --lp-icon-size: 17px; color: var(--ink-3); }
.lp-head .sbox__field:focus-within .sbox__icon { color: var(--ink); }

.lp-head .sbox__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 400;
	outline: none;
	box-shadow: none;
}
.lp-head .sbox__input::placeholder { color: var(--ink-3); opacity: 1; }
.lp-head .sbox__input::-webkit-search-cancel-button { display: none; }

.lp-head .sbox__kbd {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	background: var(--surface);
	color: var(--ink-3);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.lp-head .sbox__field:focus-within .sbox__kbd { opacity: 0; }

.lp-head .sbox__go {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--accent);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 700;
	transition: background-color var(--t-fast) var(--ease);
}
.lp-head .sbox__go:hover { background: var(--accent-deep); color: #fff; }
.lp-head .sbox__go .lp-icon { --lp-icon-size: 16px; }

/* ---- typeahead ---- */

.lp-head .sugg {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-width: calc(100vw - 32px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: 0 28px 52px -28px rgba(34, 34, 34, 0.38), 0 2px 6px rgba(34, 34, 34, 0.04);
	max-height: min(72vh, 560px);
	overflow: hidden auto;
	overscroll-behavior: contain;
	z-index: 30;
	animation: lpSuggIn var(--t-fast) var(--ease-out);
	text-align: left;
}

@keyframes lpSuggIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes lpSearchIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes lpMegaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.lp-head .sugg__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px 6px;
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.lp-head .sugg__list { padding: 0 6px 6px; }

.lp-head .sugg__opt {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 6px 10px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	text-align: left;
	color: inherit;
	cursor: pointer;
}
.lp-head .sugg__opt:hover,
.lp-head .sugg__opt[aria-selected="true"] { background: var(--paper); }
.lp-head .sugg__opt[aria-selected="true"] .sugg__name { color: var(--accent-deep); }

.lp-head .sugg__thumb {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: var(--paper-2);
	object-fit: contain;
}

.lp-head .sugg__text { display: grid; gap: 2px; min-width: 0; }
.lp-head .sugg__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.3;
}
.lp-head .sugg__meta { display: block; font-size: var(--fs-micro); color: var(--ink-3); }
.lp-head .sugg__price { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }

.lp-head .sugg__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 2px 16px 12px;
}
.lp-head .sugg__cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	background: var(--surface);
	font-size: var(--fs-2xs);
	font-weight: 600;
	color: var(--ink);
}
.lp-head .sugg__cat:hover { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.lp-head .sugg__cat span { color: var(--ink-3); font-weight: 500; }

.lp-head .sugg__empty { padding: 4px 16px 14px; font-size: var(--fs-sm); color: var(--ink-2); }
.lp-head .sugg__empty strong { color: var(--ink); }

.lp-head .sugg__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 16px;
	border-top: 1px solid var(--line);
	background: var(--paper);
	font-size: var(--fs-micro);
	color: var(--ink-3);
}
.lp-head .sugg__foot kbd {
	display: inline-block;
	padding: 1px 5px;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	background: var(--surface);
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 700;
	color: var(--ink-2);
}

/* ---- right-hand actions ---- */

.lp-head .acts { display: flex; align-items: center; gap: var(--s5); flex: none; }

.lp-head .acts__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	text-decoration: none;
}
.lp-head .acts__link .lp-icon { --lp-icon-size: 20px; color: var(--ink-2); }
.lp-head .acts__link:hover { color: var(--accent); }
.lp-head .acts__link:hover .lp-icon { color: var(--accent); }

.lp-head .bagbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}
.lp-head .bagbtn .lp-icon { --lp-icon-size: 20px; color: var(--ink-2); }
.lp-head .bagbtn:hover { color: var(--accent); }
.lp-head .bagbtn:hover .lp-icon { color: var(--accent); }

.lp-head .bagbtn__count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: var(--r-pill);
	background: var(--line);
	color: var(--ink-2);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.lp-head .bagbtn__count[data-filled="true"] { background: var(--accent); color: #fff; }

/* ---- department row ---- */

.lp-head .nav {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	transition: height var(--t) var(--ease);
}

.lp-head .nav__in {
	display: flex;
	align-items: center;
	gap: var(--s5);
	height: 52px;
	transition: height var(--t) var(--ease);
}

.lp-head .nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.9vw, 26px);
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lp-head .nav__item { position: static; }

.lp-head .nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 52px;
	padding: 0;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	font-family: inherit;
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: -0.006em;
	color: var(--ink);
	white-space: nowrap;
	transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lp-head .nav__link:hover { color: var(--accent); border-bottom-color: var(--accent-line); }
.lp-head .nav__link[aria-expanded="true"] { color: var(--accent-deep); border-bottom-color: var(--accent); }

.lp-head .nav__caret {
	--lp-icon-size: 11px;
	color: var(--ink-3);
	transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lp-head .nav__link:hover .nav__caret,
.lp-head .nav__link[aria-expanded="true"] .nav__caret { color: var(--accent); }
.lp-head .nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.lp-head .nav__more { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 24px); margin-left: auto; }

.lp-head .nav__div { width: 1px; height: 16px; background: var(--line-strong); }

.lp-head .nav__plain {
	display: inline-flex;
	align-items: center;
	height: 52px;
	border-bottom: 2px solid transparent;
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--ink-2);
	white-space: nowrap;
	text-decoration: none;
	transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lp-head .nav__plain:hover { color: var(--ink); border-bottom-color: var(--line-strong); }

.lp-head .nav__plain--sale { color: var(--accent); font-weight: 700; }
.lp-head .nav__plain--sale:hover { color: var(--accent-deep); border-bottom-color: var(--accent-line); }

/* ---- mega panel ---- */

.lp-head .mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 46px -34px rgba(34, 34, 34, 0.45);
	animation: lpMegaIn var(--t) var(--ease-out);
}
.lp-head .mega[hidden] { display: none; }

.lp-head .mega__in {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr) 296px;
	gap: var(--s6);
	padding-block: 28px 34px;
}

.lp-head .mega__col--lead { padding-right: var(--s5); border-right: 1px solid var(--line); }

.lp-head .mega__title {
	margin: 0;
	font-size: 1.625rem;
	font-weight: 800;
	letter-spacing: -0.026em;
	line-height: 1.06;
	color: var(--ink);
}

.lp-head .mega__blurb {
	margin: 10px 0 0;
	font-size: var(--fs-xs);
	line-height: 1.55;
	color: var(--ink-2);
	max-width: 30ch;
}

.lp-head .mega__count {
	margin: 12px 0 0;
	font-size: var(--fs-micro);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.lp-head .mega__all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 16px;
	font-size: var(--fs-xs);
	font-weight: 800;
	color: var(--accent);
	text-decoration: none;
}
.lp-head .mega__all .lp-icon { --lp-icon-size: 14px; transition: transform var(--t-fast) var(--ease); }
.lp-head .mega__all:hover { color: var(--accent-deep); }
.lp-head .mega__all:hover .lp-icon { transform: translateX(3px); }

.lp-head .mega__label {
	margin: 0 0 14px;
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.lp-head .mega__groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 22px;
	align-content: start;
}

.lp-head .mega__g {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
	min-height: 42px;
	margin-inline: -10px;
	padding-inline: 10px;
	border-radius: 10px;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.012em;
	color: var(--ink);
	text-decoration: none;
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lp-head .mega__g:hover { color: var(--accent); background: var(--paper); }
.lp-head .mega__gname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-head .mega__gcount { font-size: var(--fs-micro); font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lp-head .mega__g:hover .mega__gcount { color: var(--ink-2); }

.lp-head .cnt { font-size: var(--fs-micro); font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.lp-head .mega__cards { display: grid; gap: 8px; }

.lp-head .mega__card {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: var(--r-sm);
	color: inherit;
	text-decoration: none;
	transition: background-color var(--t-fast) var(--ease);
}
.lp-head .mega__card:hover { background: var(--paper); color: inherit; }
.lp-head .mega__card:hover .mega__cname { color: var(--accent); }

.lp-head .mega__thumb {
	width: 62px;
	height: 62px;
	border-radius: 10px;
	background: var(--paper-2);
	object-fit: contain;
	mix-blend-mode: multiply;
}

.lp-head .mega__cname {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: var(--fs-xs);
	font-weight: 600;
	line-height: 1.35;
}
.lp-head .mega__cprice { display: block; margin-top: 3px; font-size: var(--fs-xs); font-weight: 800; }
.lp-head .mega__cprice s,
.lp-head .mega__cprice del { font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.lp-head .mega__cprice ins { text-decoration: none; }

/* ---- condensed state ---- */

.lp-head.is-condensed .promo { height: 0; }
.lp-head.is-condensed .bar__in { min-height: 62px; }
.lp-head.is-condensed .nav__in { height: 46px; }
.lp-head.is-condensed .nav__link,
.lp-head.is-condensed .nav__plain { height: 46px; }
.lp-head.is-condensed .brand__mark { transform: scale(0.9); }
.lp-head.is-condensed .bar { box-shadow: 0 12px 26px -22px rgba(34, 34, 34, 0.45); }
.lp-head.is-condensed .nav__list { opacity: 0.98; }

/* ==========================================================================
   Mobile menu drawer
   ========================================================================== */

.lp-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: min(392px, 92vw);
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 0 60px -12px rgba(34, 34, 34, 0.42);
	overflow: hidden;
}
.lp-drawer--left { left: 0; right: auto; }

.lp-drawer[open] { animation: lpDrawerIn var(--t-slow) var(--ease-out); }
@keyframes lpDrawerIn { from { transform: translateX(-100%); } to { transform: none; } }

.lp-drawer::backdrop { background: rgba(34, 34, 34, 0.44); }

.lp-drawer__panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }

.lp-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	min-height: 62px;
}

.lp-drawer__title { margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }

.lp-drawer .lp-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: var(--surface);
	color: var(--ink);
	transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lp-drawer .lp-iconbtn:hover { border-color: var(--ink); }

.lp-drawer__body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 28px; }

.lp-drawer__foot {
	border-top: 1px solid var(--line);
	padding: 16px;
	background: var(--surface);
}
.lp-drawer__note { margin: 0; font-size: var(--fs-micro); color: var(--ink-3); line-height: 1.5; }

/* search entry inside the drawer — hands over to the header field */
.lp-drawer .msearch {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	margin: 8px 0 14px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	background: var(--paper);
	color: var(--ink-3);
	font-family: inherit;
	font-size: var(--fs-sm);
	text-align: left;
}
.lp-drawer .msearch:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.lp-drawer .msearch .lp-icon { --lp-icon-size: 17px; }

/* mobile department accordions */
.lp-drawer .mgroup { border-bottom: 1px solid var(--line); }

.lp-drawer .mgroup__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	text-align: left;
	color: var(--ink);
}
.lp-drawer .mgroup__btn:hover { color: var(--accent); }
.lp-drawer .mgroup__meta { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-micro); font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lp-drawer .mgroup__btn .lp-icon { --lp-icon-size: 12px; color: var(--ink-3); transition: transform var(--t-fast) var(--ease); }
.lp-drawer .mgroup__btn[aria-expanded="true"] .lp-icon { transform: rotate(180deg); color: var(--accent); }

.lp-drawer .mgroup__panel { padding: 0 0 14px; }
.lp-drawer .mgroup__panel[hidden] { display: none; }
.lp-drawer .mgroup__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-size: var(--fs-xs);
	font-weight: 800;
	color: var(--accent);
	text-decoration: none;
}
.lp-drawer .mgroup__all .lp-icon { --lp-icon-size: 13px; }

.lp-drawer .mgroup__g { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); text-decoration: none; }
.lp-drawer .mgroup__g:hover { color: var(--accent); }
.lp-drawer .mgroup__gname { min-width: 0; }

.lp-drawer__quick { display: grid; gap: 2px; margin-top: 18px; }
.lp-drawer__quick a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
.lp-drawer__quick a:last-child { border-bottom: 0; }
.lp-drawer__quick a:hover { color: var(--accent); }
.lp-drawer__quick .lp-icon { --lp-icon-size: 15px; color: var(--ink-3); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
	.lp-head .mega__in { grid-template-columns: 210px minmax(0, 1fr) 270px; gap: var(--s5); }
	.lp-head .nav__list { gap: 14px; }
	.lp-head .nav__more { gap: 14px; }
	.lp-head .nav__link,
	.lp-head .nav__plain { font-size: 13.5px; }
	.lp-head .acts { gap: 18px; }
}

@media (max-width: 1023px) {
	.lp-head .promo__in { height: 30px; }
	.lp-head .promo { height: 30px; }
	.lp-head .promo__list { gap: 10px; font-size: 11px; }
	.lp-head .promo__item--third,
	.lp-head .promo__sep--third { display: none; }

	.lp-head .bar__in {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) auto;
		grid-template-areas: "burger brand acts";
		column-gap: 12px;
		min-height: 0;
		padding-block: 6px 8px;
	}

	.lp-head .bar .bar__burger { display: inline-grid; grid-area: burger; }
	.lp-head .bar .bar__searchbtn { display: inline-grid; }

	.lp-head .brand { grid-area: brand; justify-self: center; }
	.lp-head .brand__mark { height: 24px; }
	.lp-head .acts { grid-area: acts; gap: 8px; }
	.lp-head .acts__link { display: none; }
	.lp-head .bagbtn { min-width: 44px; justify-content: flex-end; }
	.lp-head .bagbtn__label { display: none; }

	/* the field only exists while the icon is expanded */
	.lp-head .sbox { grid-area: search; max-width: none; width: 100%; margin-inline: 0; }
	.lp-head:not(.is-searching) .sbox { display: none; }
	.lp-head.is-searching .bar__in {
		grid-template-areas:
			"burger brand acts"
			"search search search";
		row-gap: 8px;
	}
	.lp-head.is-searching .sbox { animation: lpSearchIn var(--t) var(--ease-out); }

	.lp-head .sbox__field { height: 48px; padding: 0 4px 0 14px; }
	.lp-head .sbox__kbd { display: none; }
	.lp-head .sbox__input { font-size: 1rem; }
	.lp-head .sbox__go { width: 40px; height: 40px; padding: 0; }

	.lp-head .nav { display: none; }

	.lp-head .sugg__cat { min-height: 44px; }

	.lp-head.is-condensed .bar__in { padding-block: 4px 6px; }
	.lp-head.is-condensed .brand__mark { transform: none; }
}

@media (max-width: 560px) {
	.lp-head .promo__list { font-size: 10.5px; }
	.lp-head .promo__item--second,
	.lp-head .promo__sep--second { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.lp-head,
	.lp-drawer,
	.lp-head *,
	.lp-drawer * {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* The header is taller than the old one, so anchor targets need more room
   than the theme's 96px when the department row is showing. */
@media (min-width: 1024px) {
	html { scroll-padding-top: 170px; }
	.post-content h2,
	.page-content h2 { scroll-margin-top: 170px; }
}
