/* ==========================================================================
   Evopure — THE header (evopure-header.php + header.js). One stylesheet, its own .eh-* names: no rule here fights the old header's CSS
   (the old header is not rendered while this one is on).  Approved design: Haseeb, 19 Nov (round 6, option A).
   Rules: square controls that take the brand top-right corner when chosen / pressed; the glass is the one gently rounded piece (14px);
   navy / charcoal type, never light grey; no cream; no outlines.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens (EDIT HERE) */
/* registered so the glass eases between light and dark (and open) instead of jumping (Haseeb, 19 Nov: "smooth") */
@property --eh-tint { syntax: "<color>"; inherits: true; initial-value: rgba(255, 255, 255, .12); }
@property --eh-rim { syntax: "<number>"; inherits: true; initial-value: 1; }
body.eh-on {
	--eh-navy: #1D293B; --eh-ink: #2B2B2B; --eh-white: #fff; --eh-page: #FAF9F6; --eh-charcoal: #2B2B2B; --eh-evl: #213165;
	--eh-pale: rgba(29, 41, 59, .07); --eh-pale-2: rgba(29, 41, 59, .11); --eh-card: #EDEFF3;
	--eh-nh: "neue-haas-grotesk-display", "Helvetica Neue", Arial, sans-serif;
	--eh-ns: "new-spirit", Georgia, serif;
	--eh-dm: "DM Sans", "Helvetica Neue", Arial, sans-serif;
	--eh-r: 14px;                    /* the glass: bar, sheets, phone menu, search */
	--eh-corner: 12px;               /* the brand corner on a chosen / pressed control */
	--eh-ease: cubic-bezier(.32, .72, 0, 1);
	/* layout (the page's own CSS reads --evo-announce-h / --evo-bar-h / --evo-header-h) */
	--eh-gap: 8px; --eh-inset: 8px; --eh-pill: 54px;
	--evo-announce-h: 34px; --evo-bar-h: 70px; --evo-bar-h-condensed: 70px;      /* bar-h = the row the bar takes: gap + pill + gap */
	/* glass at rest (light ground); html.eh-dark flips it over a dark picture */
	--eh-tint: rgba(255, 255, 255, .12); --eh-blur: blur(16px) saturate(180%); --eh-ink-bar: var(--eh-navy);      /* clear glass: the page's own colour shows through (no whitening) */
	--eh-rim: 1; --eh-depth: 0 0 6px 0 rgba(29, 41, 59, .045), 0 8px 22px -12px rgba(29, 41, 59, .13);
	--eh-sheet: rgba(255, 255, 255, .5); --eh-sheet-blur: blur(36px) saturate(210%) brightness(1.1);
	transition: --eh-tint 300ms ease, --eh-rim 300ms ease;
}
@media (min-width: 1025px) {
	body.eh-on { --eh-gap: 16px; --eh-inset: 16px; --eh-pill: 64px; --evo-announce-h: 40px; --evo-bar-h: 80px; --evo-bar-h-condensed: 80px; }
}
html.eh-dark body.eh-on {
	--eh-tint: rgba(18, 24, 36, .16); --eh-blur: blur(18px) saturate(170%) brightness(.98); --eh-ink-bar: var(--eh-white);
	--eh-rim: .5; --eh-depth: 0 10px 28px -14px rgba(0, 0, 0, .32);
	--eh-sheet: rgba(255, 255, 255, .84); --eh-sheet-blur: blur(36px) saturate(160%) brightness(1.6);      /* over a dark picture the open glass stays near white */
}
html.eh-open body.eh-glass-b {      /* B: a sheet, the phone menu or search open: the bar is the same glass as what hangs under it */
	--eh-tint: var(--eh-sheet); --eh-blur: var(--eh-sheet-blur); --eh-ink-bar: var(--eh-navy); --eh-rim: 1;
}

/* ------------------------------------------------------------------ the shell: the announcement scrolls away, the glass row stays */
.eh-skip { position: absolute; left: 8px; top: -60px; z-index: 1300; padding: 10px 14px; background: var(--eh-navy); color: #fff; font: 600 13px var(--eh-dm); text-decoration: none; }
.eh-skip:focus { top: 8px; }
.eh { position: sticky; top: calc(-1 * var(--evo-announce-h)); z-index: 1100; display: block; margin: 0; padding: 0; pointer-events: none; font-family: var(--eh-nh); }
.admin-bar .eh { top: calc(var(--wp-admin--admin-bar--height, 32px) - var(--evo-announce-h)); }
@media (max-width: 600px) { .admin-bar .eh { top: calc(-1 * var(--evo-announce-h)); } }
.eh * { box-sizing: border-box; }
.eh > * { pointer-events: auto; }
.eh-row { pointer-events: none; position: relative; height: var(--evo-bar-h); padding-top: var(--eh-gap); }      /* the gap is padding (a margin would collapse through the row) */
.eh-row > * { pointer-events: auto; }
/* pages with a picture / colour top: it runs up behind the glass (only when that top is really there: a collection without a hero is a plain page) */
body.eh-top-home:has(.evo-hero) .eh, body.eh-top-bf:has(main.bfp) .eh, body.eh-top-pdp:has(.pdp6-hero) .eh, body.eh-top-set:has(.pdp6-hero) .eh,
body.eh-top-collection:has(.cp-hero) .eh, body.eh-top-bundles:has(.bdl-head) .eh, body.eh-top-help:has(.evo-help__hero) .eh,
body.eh-top-post:has(.evo-post-hero) .eh, body.eh-top-partners:has(.pj-hero) .eh, body.eh-top-trade:has(.et-hero) .eh { margin-bottom: calc(-1 * var(--evo-bar-h)); }

/* announcement: the existing [evo_announce] component (its rotation and the Black Friday meter are its own) */
.eh-ann { position: relative; height: var(--evo-announce-h); display: grid; align-items: center; padding: 0 16px; overflow: hidden; background: var(--eh-charcoal); }
.eh-ann .evo-announce__list { height: var(--evo-announce-h); }

/* ------------------------------------------------------------------ the glass bar */
.eh-bar {
	transition: color 0s linear 150ms;      /* the text and icons flip once, at the midpoint of the tint's fade: full contrast in every frame */
	position: relative; isolation: isolate; height: var(--eh-pill); margin: 0 var(--eh-inset);
	display: grid; align-items: center; grid-template-columns: 44px 44px 1fr 44px 44px; padding: 0 5px; border-radius: var(--eh-r); color: var(--eh-ink-bar);
}
.eh-bar::before {      /* the glass is painted here, so the bar is no backdrop root and the sheets under it blur the real page */
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background:
		radial-gradient(90px 46px at 0 0, rgba(255, 255, 255, calc(.2 * var(--eh-rim))), transparent 70%),
		radial-gradient(90px 46px at 100% 100%, rgba(255, 255, 255, calc(.12 * var(--eh-rim))), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, calc(.08 * var(--eh-rim))) 0, transparent 45%, transparent 70%, rgba(255, 255, 255, calc(.05 * var(--eh-rim))) 100%),
		var(--eh-tint);
	-webkit-backdrop-filter: var(--eh-blur); backdrop-filter: var(--eh-blur);
	box-shadow: inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, calc(.95 * var(--eh-rim))), inset -1.5px -1.5px 1px -1px rgba(255, 255, 255, calc(.6 * var(--eh-rim))),
		inset 0 0 0 .5px rgba(255, 255, 255, calc(.4 * var(--eh-rim))), inset 0 12px 16px -14px rgba(255, 255, 255, calc(.7 * var(--eh-rim))),
		inset 0 -12px 16px -14px rgba(255, 255, 255, calc(.5 * var(--eh-rim))), var(--eh-depth);
	transition: backdrop-filter 300ms ease, -webkit-backdrop-filter 300ms ease;
}
.eh-bar::after {      /* the rim: brightest at two opposite corners */
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; padding: 1.5px;
	background: radial-gradient(200px 64px at 0 0, rgba(255, 255, 255, var(--eh-rim)) 0, rgba(255, 255, 255, calc(.45 * var(--eh-rim))) 32%, transparent 72%),
		radial-gradient(200px 64px at 100% 100%, rgba(255, 255, 255, calc(.8 * var(--eh-rim))) 0, rgba(255, 255, 255, calc(.3 * var(--eh-rim))) 32%, transparent 72%),
		linear-gradient(rgba(255, 255, 255, calc(.26 * var(--eh-rim))), rgba(255, 255, 255, calc(.26 * var(--eh-rim))));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	body.eh-on { --eh-tint: rgba(255, 255, 255, .97); --eh-sheet: rgba(255, 255, 255, .98); }
	html.eh-dark body.eh-on { --eh-tint: rgba(29, 41, 59, .94); }
}

/* icons */
.eh-icon { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: opacity .2s ease; }
.eh-icon:hover { opacity: .7; }
.eh-icon:focus-visible, .eh a:focus-visible, .eh button:focus-visible, .eh-menu a:focus-visible, .eh-menu button:focus-visible { outline: 2px solid var(--eh-navy); outline-offset: 2px; }
.eh-ico { display: block; width: 22px; height: 22px; stroke-width: 1.6; }
.eh-burger .eh-ico--x { display: none; }
html.eh-menu-open .eh-burger .eh-ico--menu { display: none; }
html.eh-menu-open .eh-burger .eh-ico--x { display: block; }

/* the logo: the 'e', on the bar's optical centre */
.eh-logo { grid-column: 3; justify-self: center; display: block; line-height: 0; }
.eh-logo img { display: block; width: auto; height: 30px; transform: translateY(-1px); transition: filter 0s linear 150ms; }      /* flips once, mid-fade */
html.eh-dark:not(.eh-open) .eh-logo img, html.eh-dark body.eh-glass-a .eh-logo img { filter: brightness(0) invert(1); }

/* the bag count: a navy circle with the number, on the bag's corner (white with navy on dark glass) */
.eh-count {
	position: absolute; top: 4px; right: 1px; min-width: 17px; height: 17px; padding: 0 4.5px; border-radius: 9px;
	background: var(--eh-ink-bar); color: var(--eh-white); font: 600 10.5px/17px var(--eh-nh); letter-spacing: 0; text-align: center; font-variant-numeric: tabular-nums;
	transition: background-color 0s linear 150ms, color 0s linear 150ms;
}
html.eh-dark:not(.eh-open) .eh-count, html.eh-dark body.eh-glass-a .eh-count { color: var(--eh-navy); }
.eh-count[hidden] { display: none; }

/* the site's button (square; the corner + arrow on hover) */
.eh-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 26px; border: 0; border-radius: 0;
	background: var(--eh-navy); color: var(--eh-white); text-decoration: none; white-space: nowrap;
	font: 500 12px/1 var(--eh-nh); letter-spacing: .12em; text-transform: uppercase;
	transition: border-radius 250ms var(--eh-ease), background-color .25s ease, color .25s ease;
}
.eh-btn .eh-ico { position: absolute; right: 8px; width: 14px; height: 14px; stroke-width: 2; opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .25s var(--eh-ease); }
.eh-btn:hover, .eh-btn:focus-visible, .eh-btn:active { border-top-right-radius: var(--eh-corner); }
.eh-btn:hover .eh-ico, .eh-btn:focus-visible .eh-ico { opacity: 1; transform: none; }
html.eh-dark:not(.eh-open) .eh-quiz, html.eh-dark body.eh-glass-a .eh-quiz { background: var(--eh-white); color: var(--eh-navy); }

/* phone layout: menu + search | e | account + bag */
.eh-actions .eh-search-btn { display: none; }
.eh-burger { grid-column: 1; } .eh-search-btn { grid-column: 2; }
.eh-actions { grid-column: 4 / 6; display: flex; justify-content: flex-end; }
.eh-nav, .eh-quiz, .eh-sheets { display: none; }

/* ------------------------------------------------------------------ desktop */
@media (min-width: 1025px) {
	.eh-bar { grid-template-columns: auto 1fr auto; padding: 0 14px 0 28px; }
	.eh-burger, .eh-bar > .eh-search-btn { display: none; }
	.eh-actions .eh-search-btn { display: inline-grid; }
	.eh-logo { grid-column: 1; justify-self: start; }
	.eh-logo img { height: 36px; }
	.eh-nav { display: block; grid-column: 2; justify-self: center; }
	.eh-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
	.eh-nav__link { display: flex; align-items: center; gap: 6px; height: var(--eh-pill); padding: 0 13px; color: inherit; text-decoration: none; font: 500 12.5px/1 var(--eh-nh); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
	.eh-nav__link .eh-ico { width: 13px; height: 13px; stroke-width: 2; transition: transform .3s ease; }
	.eh-nav__link[aria-expanded="true"] .eh-ico { transform: rotate(180deg); }
	.eh-actions { grid-column: 3; align-items: center; gap: 2px; }
	.eh-quiz { display: inline-flex; margin-right: 10px; }
	.eh-sheets { display: block; }
}
@media (min-width: 1025px) and (max-width: 1279px) {      /* narrow desktops: one line, always */
	.eh-bar { padding: 0 8px 0 20px; }
	.eh-nav__link { padding: 0 8px; letter-spacing: .1em; }
	.eh-quiz { padding: 0 18px; margin-right: 4px; }
	.eh-quiz .eh-ico { display: none; }
	.eh-icon { width: 38px; }
}

/* ------------------------------------------------------------------ desktop sheets (Shop / Learn): one glass sheet under the bar */
.eh-sheet {
	position: absolute; top: calc(100% + 8px); left: var(--eh-inset); right: var(--eh-inset); border-radius: var(--eh-r); overflow: hidden;
	background: var(--eh-sheet); -webkit-backdrop-filter: var(--eh-sheet-blur); backdrop-filter: var(--eh-sheet-blur);
	box-shadow: inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, .95), inset 0 0 0 .5px rgba(255, 255, 255, .4), inset 0 0 28px 0 rgba(255, 255, 255, .22), 0 24px 56px -28px rgba(17, 24, 39, .3);
	opacity: 0; transform: translateY(-6px); transition: opacity 220ms ease, transform 340ms var(--eh-ease);
}
.eh-sheet.is-open { opacity: 1; transform: none; }
.eh-sheet[hidden] { display: none; }
.eh-sheet__in { display: grid; grid-template-columns: 250px minmax(0, 1fr); padding: 0 28px; }
.eh-rail { display: flex; flex-direction: column; padding: 24px 0 28px; }
.eh-rail ul { margin: 0; padding: 0; list-style: none; }
.eh-rail__link {
	display: flex; align-items: center; justify-content: space-between; margin-left: -12px; padding: 9px 28px 9px 12px; border-radius: 0;
	color: var(--eh-navy); text-decoration: none; font: 400 18px/1.2 var(--eh-nh); letter-spacing: -.005em;
	transition: background-color 200ms ease, border-radius 250ms var(--eh-ease);
}
.eh-rail__link { border-left: 2px solid transparent; }
.eh-rail__link.is-on { font-weight: 600; border-left-color: var(--eh-navy); }
.eh-rail__pins { margin-top: auto; padding-top: 28px; display: grid; gap: 0; }
.eh-pin { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--eh-navy); text-decoration: none; font: 500 12px/1 var(--eh-nh); letter-spacing: .14em; text-transform: uppercase; }
.eh-pin .eh-ico { width: 15px; height: 15px; stroke-width: 2; transition: transform .25s ease; }
.eh-pin:hover .eh-ico { transform: translateX(5px); }
.eh-views { display: grid; padding: 28px 0 24px 40px; }
.eh-view { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; animation: eh-in .3s ease both; }
.eh-view[hidden] { display: flex; visibility: hidden; animation: none; }      /* every view keeps its height: the sheet never jumps between them */
@keyframes eh-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.eh-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }

/* the arrow circle (cards, tiles) */
.eh-go { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px currentColor; color: var(--eh-navy); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.eh-go .eh-ico { width: 14px; height: 14px; stroke-width: 2; }
a:hover > .eh-go, a:hover .eh-card__foot .eh-go, a:hover .eh-lc__foot .eh-go { background: var(--eh-navy); color: var(--eh-white); box-shadow: none; }

/* a product / range card */
.eh-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; color: var(--eh-navy); text-decoration: none; }
.eh-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 var(--eh-corner) 0 0; background: var(--eh-card); }
.eh-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--eh-ease); }
.eh-card:hover .eh-card__img { transform: scale(1.03); }
.eh-card__soon { position: absolute; left: 10px; top: 10px; padding: 5px 8px; background: var(--eh-navy); color: #fff; font: 500 10.5px/1 var(--eh-nh); letter-spacing: .12em; text-transform: uppercase; }
.eh-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eh-card__name { font: italic 700 19px/1.15 var(--eh-ns); letter-spacing: -.005em; }
.eh-card__name.is-blend { font-weight: 700; }
/* the range card in spare slots */
.eh-intro { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; background: var(--eh-pale); color: var(--eh-navy); text-decoration: none; transition: border-radius 250ms var(--eh-ease); }
.eh-intro:hover { border-top-right-radius: var(--eh-corner); }
.eh-intro__t { font: italic 700 24px/1.1 var(--eh-ns); }
.eh-intro__s { font: 400 14px/1.5 var(--eh-dm); color: var(--eh-ink); }
.eh-intro__cta, .eh-ad__cta, .eh-world__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 12px/1 var(--eh-nh); letter-spacing: .14em; text-transform: uppercase; }
.eh-intro__cta .eh-ico, .eh-ad__cta .eh-ico, .eh-world__cta .eh-ico { width: 14px; height: 14px; stroke-width: 2; }
/* the bundle builder card */
.eh-ad { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; background: var(--eh-pale); color: var(--eh-navy); text-decoration: none; transition: border-radius 250ms var(--eh-ease); overflow: hidden; }
.eh-ad:hover { border-top-right-radius: var(--eh-corner); }
.eh-ad__media { background: center / cover no-repeat var(--eh-card); }
.eh-ad__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px; }
.eh-ad__title { font: italic 300 24px/1.1 var(--eh-ns); } .eh-ad__title b { font-weight: 700; }
.eh-ad__text { font: 400 13.5px/1.5 var(--eh-dm); color: var(--eh-ink); }
/* the Evolabs brand tile (first of four) */
.eh-world { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: var(--eh-evl); color: #fff; text-decoration: none; transition: border-radius 250ms var(--eh-ease); }
.eh-world:hover { border-top-right-radius: var(--eh-corner); }
.eh-world__logo { display: block; width: 70%; max-width: 180px; height: auto; }
.eh-world__name { font: 700 28px/1 var(--eh-nh); }
/* the foot row: the range's line + its highlight tile */
.eh-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: auto; }
.eh-foot__line { margin: 0; font: italic 300 clamp(22px, 1.8vw, 27px)/1.1 var(--eh-ns); color: var(--eh-navy); } .eh-foot__line b { font-weight: 700; }
.eh-tile { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 400px; max-width: 100%; min-height: 58px; padding: 10px 14px 10px 18px; background: var(--eh-white); color: var(--eh-navy); text-decoration: none; transition: border-radius 250ms var(--eh-ease); }
.eh-tile:hover { border-top-right-radius: var(--eh-corner); }
.eh-tile__t { display: block; font: 300 15px/1.25 var(--eh-nh); } .eh-tile__t b { font-weight: 600; }
.eh-tile__s { display: block; margin-top: 3px; font: 400 13px/1.35 var(--eh-dm); color: var(--eh-ink); }
.eh-tile { display: grid; grid-template-columns: 1fr auto; }
.eh-tile .eh-tile__t, .eh-tile .eh-tile__s { grid-column: 1; }
.eh-tile .eh-go { grid-column: 2; grid-row: 1 / span 2; }
.eh-tile.is-offer { background: var(--eh-charcoal); color: #fff; }
.eh-tile.is-offer .eh-tile__s { color: rgba(255, 255, 255, .9); }
.eh-tile.is-offer .eh-go { color: #fff; }
.eh-tile.is-offer:hover .eh-go { background: #fff; color: var(--eh-charcoal); }
/* Learn cards */
.eh-grid--4 { --cols: 4; }
.eh-lc { display: flex; flex-direction: column; gap: 10px; min-width: 0; color: var(--eh-navy); text-decoration: none; }
.eh-lc__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 var(--eh-corner) 0 0; background: var(--eh-card); }
.eh-lc__img { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .5s var(--eh-ease); }
.eh-lc:hover .eh-lc__img { transform: scale(1.03); }
.eh-lc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eh-lc__name { font: 500 15px/1.25 var(--eh-nh); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eh-lc__group { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.eh-lc__group .eh-lc__img { position: relative; }
.eh-lc__tile { position: absolute; inset: 0; display: grid; place-items: center; background: var(--eh-navy); color: #fff; font: italic 300 28px/1 var(--eh-ns); } .eh-lc__tile b { font-weight: 700; }
.eh-lc__quote { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; background: var(--eh-pale); color: var(--eh-navy); font: 400 15px/1.4 var(--eh-nh); }
.eh-lc__quote b { font-weight: 400; letter-spacing: .1em; font-size: 13px; }
.eh-lc__rate { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(20, 29, 43, .7)); color: #fff; font: 400 15px/1.2 var(--eh-nh); } .eh-lc__rate b { font-weight: 600; }

/* the page behind an open sheet: a light white wash (it never takes the pointer) */
.eh-dim {      /* the page, the announcement and the margins around the bar dim when a sheet or the phone menu opens (Haseeb: plain navy, no blur, 200ms);
	   it is the shadow of a transparent copy of the bar's shape, so the bar itself keeps seeing the undimmed page: the same glass open or closed */
	position: absolute; inset: 0; z-index: -2; border-radius: inherit; pointer-events: none;
	box-shadow: 0 0 0 200vmax rgba(29, 41, 59, .4); opacity: 0; transition: opacity 200ms ease;
}
html.eh-sheet-open .eh-dim, html.eh-menu-open .eh-dim { opacity: 1; }

/* ------------------------------------------------------------------ search: the field drops as glass under the bar */
.eh-search { position: absolute; top: calc(100% + 8px); left: var(--eh-inset); right: var(--eh-inset); border-radius: var(--eh-r); overflow: hidden;
	background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(40px) saturate(105%) brightness(1.2); backdrop-filter: blur(40px) saturate(105%) brightness(1.2);
	box-shadow: inset 0 1px 0 0 #fff, 0 24px 56px -28px rgba(17, 24, 39, .3); opacity: 0; transform: translateY(-6px); transition: opacity 200ms ease, transform 300ms var(--eh-ease); }
.eh-search.is-open { opacity: 1; transform: none; }
.eh-search[hidden] { display: none; }
.eh-search__form { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 16px; color: var(--eh-navy); }
.eh-search__form input[type="search"] { flex: 1 1 auto; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; outline: 0; color: var(--eh-ink); font: 400 17px var(--eh-dm); }
.eh-search__form input::placeholder { color: var(--eh-navy); opacity: .7; }
.eh-search__results:not(:empty) { padding: 4px 16px 16px; }
.eh-search__results ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.eh-search__results a.eh-sr { display: flex; align-items: center; gap: 12px; padding: 8px; color: var(--eh-navy); text-decoration: none; transition: background-color .2s ease, border-radius .25s var(--eh-ease); }
.eh-search__results a.eh-sr:hover { background: var(--eh-pale); border-top-right-radius: var(--eh-corner); }
.eh-sr__img { flex: none; width: 48px; height: 48px; background: center / cover no-repeat var(--eh-card); }
.eh-sr__t { font: 500 15px/1.25 var(--eh-nh); } .eh-sr__p { display: block; font: 400 13px var(--eh-dm); color: var(--eh-ink); }
.eh-search__all { display: inline-flex; margin-top: 10px; color: var(--eh-navy); font: 500 12px/1 var(--eh-nh); letter-spacing: .14em; text-transform: uppercase; }
.eh-search__empty { margin: 6px 0 0; font: 400 14px var(--eh-dm); color: var(--eh-ink); }

/* ------------------------------------------------------------------ phone menu: a glass sheet under the bar, the page washed white behind */
.eh-scrim { position: fixed; inset: 0; z-index: 1090; background: transparent; }      /* catches a tap outside the open phone menu (the dim is .eh-dim) */
.eh-scrim[hidden], .eh-menu[hidden] { display: none; }
.eh-menu {
	position: fixed; z-index: 1105; top: calc(var(--eh-menu-top, 100px) + 8px);      /* above the header's dim */ left: var(--eh-inset); right: var(--eh-inset);
	max-height: calc(100dvh - var(--eh-menu-top, 100px) - 18px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	border-radius: var(--eh-r); background: var(--eh-sheet); -webkit-backdrop-filter: var(--eh-sheet-blur); backdrop-filter: var(--eh-sheet-blur);
	box-shadow: inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, .95), inset 0 0 0 .5px rgba(255, 255, 255, .4), inset 0 0 28px 0 rgba(255, 255, 255, .22), 0 24px 56px -28px rgba(17, 24, 39, .3);
	color: var(--eh-navy); font-family: var(--eh-nh);
	opacity: 0; transform: translateY(-10px); transition: opacity 200ms ease, transform 340ms var(--eh-ease);
}
html.eh-menu-open .eh-menu { opacity: 1; transform: none; }
.eh-menu * { box-sizing: border-box; }
.eh-menu__top { padding: 12px 16px 4px; display: grid; gap: 12px; }
.eh-btn--block { width: 100%; height: 48px; justify-content: space-between; padding: 0 18px; font-size: 12.5px; letter-spacing: .16em; }
.eh-btn--block .eh-ico { position: static; opacity: 1; transform: none; width: 18px; height: 18px; }
.eh-sw { margin: 0; }
.eh-sw.evo-sw button { height: 40px; padding: 0 12px; font-size: 14px; line-height: 20px; }
.eh-sw.evo-sw button[aria-pressed="true"] { box-shadow: none !important; }      /* switch.css draws a lift; Haseeb: no shadows (its !important needs one here) */
.eh-menu__panel[hidden] { display: none; }
.eh-menu__panel { animation: eh-panel 340ms var(--eh-ease) both; }
@keyframes eh-panel { from { opacity: 0; transform: translateX(var(--eh-dx, 0)); } to { opacity: 1; transform: none; } }
.eh-acc { border: 0; }
.eh-acc__head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding: 12px 20px; border: 0; border-radius: 0; background: none; color: var(--eh-navy); font: 400 22px/1.2 var(--eh-nh); letter-spacing: -.015em; text-align: left; cursor: pointer; }
.eh-acc__head .eh-ico { width: 22px; height: 22px; stroke-width: 1.6; transition: transform .3s var(--eh-ease); }
.eh-acc__head[aria-expanded="true"] .eh-ico { transform: rotate(45deg); }
.eh-acc__body { padding: 4px 16px 14px; }
.eh-acc__body[hidden] { display: none; }
.eh-acc__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eh-acc__cards .eh-card__name { font-size: 16px; }
.eh-acc__cards .eh-go { width: 24px; height: 24px; }
.eh-acc__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--eh-navy); text-decoration: none; font: 500 12px/1 var(--eh-nh); letter-spacing: .14em; text-transform: uppercase; }
.eh-acc__all .eh-ico { width: 14px; height: 14px; stroke-width: 2; }
/* the link cards: Black Friday full width on top, a 2x2 of picture cards, Rewards full width */
.eh-qcs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 16px 0; }
.eh-qc { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 76px; padding: 12px 12px 12px 16px; background: var(--eh-card); color: var(--eh-navy); text-decoration: none; border-radius: 0; -webkit-tap-highlight-color: transparent; transition: border-radius 250ms var(--eh-ease), background-color 200ms ease; }
.eh-qc:active, .eh-qc:focus-visible { border-top-right-radius: 16px; background: #E3E7ED; }
.eh-qc__t { flex: 1 1 auto; min-width: 0; font: 600 19px/1.15 var(--eh-nh); letter-spacing: -.015em; }      /* the words carry the card (no pictures) */
.eh-qc .eh-go { align-self: flex-end; }
.eh-qc.is-offer, .eh-qc.is-wide { grid-column: 1 / -1; }
.eh-qc.is-offer { min-height: 64px; padding: 12px 12px 12px 16px; background: var(--eh-charcoal); color: #fff; }
.eh-qc.is-offer:active { background: var(--eh-charcoal); }
.eh-qc.is-offer .eh-qc__t { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; font-size: 21px; }
.eh-qc.is-offer .eh-qc__t b { font-weight: 700; }
.eh-qc.is-offer .eh-qc__t span { font: 400 15px/1.2 var(--eh-dm); }
.eh-qc.is-offer .eh-go { align-self: center; }
.eh-qc.is-offer .eh-go { color: #fff; }
/* Learn: the pages with their pictures */
.eh-learn { margin: 6px 16px 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 10px; }      /* as live: photo cards, 2 up */
.eh-learn a { display: grid; gap: 10px; color: var(--eh-ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.eh-lg__img { display: block; aspect-ratio: 4 / 3; background: center / cover no-repeat var(--eh-card); }
.eh-lg__t { font: 600 15px/1.25 var(--eh-nh); letter-spacing: -.005em; color: var(--eh-ink); }
.eh-lg__hub { display: grid; place-items: center; background: var(--eh-navy); color: #fff; }
.eh-lg__hub .eh-ico { width: 26px; height: 26px; stroke-width: 2; }
.eh-menu__trust { margin: 14px 16px calc(14px + env(safe-area-inset-bottom)); text-align: center; font: 400 13px/1.3 var(--eh-dm); color: var(--eh-navy); }
@media (min-width: 1025px) { .eh-menu, .eh-scrim { display: none !important; } }      /* the phone menu never shows on desktop, whatever state it was left in */

/* ==========================================================================
   PAGE TOPS UNDER THE GLASS (evo_header_top() sets body.eh-top-<type>; body.eh-over = the header overlaps the page by --evo-bar-h).
   These rules reach into page templates owned by other files, so they are the only ones here that need !important (to outrank those
   templates' own top spacing). Each is scoped to its page type.
   ========================================================================== */
/* coloured tops: the colour runs up behind the glass (a transparent top border the section paints its own background under) */
body.eh-top-pdp .pdp6-hero, body.eh-top-set .pdp6-hero, body.eh-top-help .evo-help__hero { border-top: var(--evo-bar-h) solid transparent !important; }
body.eh-top-post .evo-post-hero, body.eh-top-partners .pj-hero, body.eh-top-trade .et-hero { border-top: var(--evo-bar-h) solid transparent !important; box-sizing: content-box !important; }
/* collections + bundles: the photo runs up behind the glass; on phones the tone colour does */
body.eh-top-collection .cp-hero, body.eh-top-bundles .bdl-head { border-top: var(--evo-bar-h) solid transparent !important; box-sizing: content-box; }
@media (min-width: 768px) {
	body.eh-top-collection .cp .cp-hero { border-top: 0 !important; padding-top: var(--evo-bar-h) !important; }
	body.eh-top-collection .cp .cp-hero > img { margin-top: calc(-1 * var(--evo-bar-h)) !important; height: calc(100% + var(--evo-bar-h)) !important; }
	body.eh-top-collection .cp .cp-hc { padding-top: var(--evo-bar-h) !important; }
	body.eh-top-collection .cp .cp-hc > .cp-crumb { top: calc(18px + var(--evo-bar-h)) !important; }
	body.eh-top-bundles .bdl-head { border-top: 0 !important; padding-top: var(--evo-bar-h) !important; }
	body.eh-top-bundles .bdl-head .bdl-head__img { margin-top: calc(-1 * var(--evo-bar-h)) !important; }
	body.eh-top-bundles .bdl-head .bdl-head__copy { padding-top: var(--evo-bar-h) !important; }
}
/* the homepage hero pins at the very top (under the glass, the announcement scrolls away above it), with no easing: whatever the scroll
   position, the hero's top is never below the announcement's bottom, so the white page never shows behind the glass */
html.evo-2026 body.eh-top-home.eh-on .evo-hero.lab-has-slides, html.evo-2026 body.eh-top-home.eh-on .evo-hero { top: var(--evo-ab, 0px) !important; transition: none !important; }      /* outranks bf-hero.css's sticky top + its 0.25s ease */
/* the homepage hero: it pins under the announcement (home.css and bf-hero.js read --evo-pressbar-h: a literal, the script parses it),
   so the picture runs behind the glass; the copy clears the glass */
body.eh-top-home, body.eh-top-home .evo-hero { --evo-pressbar-h: -70px; --evo-hero-above: calc(var(--evo-announce-h) - var(--evo-radius-sweep, 0px)); }      /* bf-hero.css sizes the hero 100svh minus this: only the announcement sits above it now, and the next section's rounded top overlaps the hero by one sweep, so it starts exactly at the fold */
@media (min-width: 1025px) {
	body.eh-top-home, body.eh-top-home .evo-hero { --evo-pressbar-h: -80px; }
	body.eh-top-home .evo-hero .lab-hslide .t2-c.bfn--1 .bfn-copy,
	body.eh-top-home .evo-hero .lab-hslide.sl-s.bfn-slide > .bfn .bfn-copy { top: calc(40px + var(--evo-bar-h)) !important; }
	body.eh-top-home .evo-hero .lab-hslide.sl-s1 .lab-fill { object-position: 16% 100% !important; }
}
@media (min-width: 1025px) and (max-height: 760px) {
	body.eh-top-home .evo-hero .lab-hslide .t2-c.bfn--1 .bfn-copy,
	body.eh-top-home .evo-hero .lab-hslide.sl-s.bfn-slide > .bfn .bfn-copy { top: calc(40px + 64px) !important; }
}
@media (max-width: 1024px) {
	body.eh-top-home .evo-hero .bfn-copy, body.eh-top-home .evo-hero .t2-copy, body.eh-top-home .evo-hero .evo-hero__content { margin-top: var(--evo-bar-h) !important; }
	body.eh-top-bf main.bfp > section:first-of-type { padding-top: var(--evo-bar-h) !important; }
	/* slide 1 on phones (the shorter hero under the glass): the packs sit clear below the tab row (the photo shows from its top, so the products
	   drop by the plate's spare height, no gap), and the seal moves onto the empty floor at the lower right, off the jars */
	body.eh-top-home .evo-hero .t2-c.bfn--1 .t2-img { object-position: 52% 0% !important; }
	html.evo-2026 body.eh-top-home .evo-hero .t2-c.bfn--1 .bfn-seal { width: 64px !important; height: 64px !important; left: auto !important; right: 14px !important; }      /* smaller, its top right where it was: off the jars */
}

@media (prefers-reduced-motion: reduce) {
	.eh-sheet, .eh-search, .eh-menu, .eh-dim, .eh-view, .eh-menu__panel, .eh-btn, .eh-qc, .eh-card__img, .eh-lc__img { transition: none; animation: none; }
}

/* ==========================================================================
   TWO APPROVED SITE FIXES that ship with this header (Haseeb, 19 Nov; the Master: they release together)
   ========================================================================== */
/* homepage "The brand we always said we'd build": 2018 / £0 / Every batch sit together, centred (desktop + tablet; phones keep the full-width three) */
@media (min-width: 768px) {
	html.evo-2026 body.eh-on .lab-st__figs { grid-template-columns: repeat(3, auto); justify-content: center; width: auto; column-gap: clamp(48px, 5vw, 80px); row-gap: 0; margin-bottom: clamp(28px, 3vw, 40px); }
}
/* "Still got a question?": the homepage's grey, not cream (homepage FAQ, product pages, collections' fallback) */
html.evo-2026 body.eh-on .lab-faqhelp { background: var(--eh-page); }
body.eh-on .cp .lab-faqhelp { background: var(--hb, var(--pw, var(--eh-page))) !important; }      /* collection.css sets it with !important */

/* ==========================================================================
   GLASS A (the default, restraint): glass only on the bar and the switches. The Shop / Learn sheets and the phone menu are solid white,
   charcoal / navy type, no blur; the bar's blur is quieter, its edge crisp. GLASS B (?glass=b) = the glass sheets above.
   ========================================================================== */
/* A: the bar is the same clear glass open or closed (its light / dark ink follows the page under it); only the sheet below is solid */
body.eh-glass-a .eh-sheet, body.eh-glass-a .eh-menu {
	background: var(--eh-white); -webkit-backdrop-filter: none; backdrop-filter: none;
	box-shadow: 0 24px 56px -28px rgba(17, 24, 39, .28);
}
body.eh-glass-a .eh-tile { background: var(--eh-card); }      /* the phone cards' navy-tinted grey: no cream (Haseeb) */
body.eh-glass-a .eh-tile.is-offer { background: var(--eh-charcoal); }
body.eh-glass-a .eh-search { background: var(--eh-white); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ==========================================================================
   THE THEME'S RESET (Hello Elementor) paints every <button> pink on :hover / :focus (a tap on iOS) and links #336 on :hover / :active.
   Inside the header and the phone menu the states keep each control's own look; keyboard focus is a navy ring, pointer focus none.
   ========================================================================== */
.eh button, .eh-menu button { -webkit-tap-highlight-color: transparent; text-decoration: none; }
.eh button:is(:hover, :focus, :active), .eh-menu button:is(:hover, :focus, :active) { background-color: transparent; color: inherit; text-decoration: none; }
:where(.eh, .eh-menu) a { --eh-lc: currentColor; -webkit-tap-highlight-color: transparent; }      /* a link's colour on hover / tap = its own colour */
.eh-qc.is-offer, .eh-tile.is-offer, .eh-world, .eh-btn { --eh-lc: #fff; }
html.eh-dark:not(.eh-open) .eh-quiz, html.eh-dark body.eh-glass-a .eh-quiz { --eh-lc: var(--eh-navy); }
.eh a:is(:hover, :focus, :active), .eh-menu a:is(:hover, :focus, :active) { color: var(--eh-lc); }
.eh :is(a, button):focus:not(:focus-visible), .eh-menu :is(a, button):focus:not(:focus-visible) { outline: none; }
