/* ==========================================================================
   eJuice Deals — base, layout, header, footer, homepage, blog
   ========================================================================== */

/* Fonts: Bricolage Grotesque + Figtree, self-hosted — the exact files and @font-face rules Google Fonts
   serves (SIL OFL 1.1, see ../fonts/OFL.txt), so there is no third-party request in front of first paint. */
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolagegrotesque-3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHWVyNJtvI.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolagegrotesque-3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHWVyNJtvI.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolagegrotesque-3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInHWVyNJ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolagegrotesque-3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHWVyNJtvI.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolagegrotesque-3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHWVyNJtvI.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolagegrotesque-3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInHWVyNJ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/figtree-_Xm9-HUzqDCFdgfMm4GnA4aZFrUvtOK3A7Yd-Ew85Eb3fO7mSkIr.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/figtree-_Xm9-HUzqDCFdgfMm4GnA4aZFrUvtOK3A7Yd-EI85Eb3fO7mSg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/figtree-_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
	--ink: #0b0f14;
	--ink-2: #26313d;
	--muted: #586473;
	--cyan: #00ccff; /* exact logo blue */
	/* Text on the logo blue is ink (the logo's own pairing, ~11:1). Long text sits on dark panels instead. */
	--on-blue: var(--ink);
	--on-blue-shadow: none;
	--on-blue-shadow-soft: none;
	--cyan-d: #00739f;
	--cyan-l: #e2f7ff;
	--deal: #ffd400;
	--hot: #ff3466;
	--ok: #13854a;
	--paper: #f3f7fa;
	--banner: #f4f5f7;      /* page + collection header banners: quiet light gray (2026-10-16) */
	--banner-line: #e3e6ea;
	--white: #fff;
	--soft: #dde5ec;

	--r: 16px;
	--r-sm: 10px;
	--r-pill: 999px;
	--bw: 2px;
	--shadow: 5px 5px 0 var(--ink);
	--shadow-sm: 3px 3px 0 var(--ink);

	--f-display: "Bricolage Grotesque", "Bricolage Fallback", "Arial Black", system-ui, sans-serif;
	--f-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1600px;
	--gutter: clamp(16px, 3vw, 32px);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* Metric-matched fallbacks: text keeps its size when the web fonts swap in (less layout shift). */
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); size-adjust: 99.24%; ascent-override: 95.72%; descent-override: 25.19%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Black"); size-adjust: 79.49%; ascent-override: 117%; descent-override: 33.97%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
/* The few generic rules of the block library, which isn't loaded where no blocks render (inc/assets.php). */
.comment-awaiting-moderation { display: block; font-size: .875em; line-height: 1.5; }
:where(figure) { margin: 0 0 1em; }
.aligncenter { clear: both; }

html { -webkit-text-size-adjust: 100%; }
/* Anchors, focused checkout fields and notices clear the sticky header (--ejd-sticky-h, measured by
   main.js). On content only: a root scroll-padding made Tab through the header nav jump the page. */
.ejd-main, .ejd-main * { scroll-margin-top: calc(var(--ejd-sticky-h, 148px) + 12px); }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* As Woodmart: stray wide content (inline-width tables, embeds, long URLs) is clipped instead of
   widening the phone's layout viewport. clip, unlike hidden, doesn't make body a scroll container,
   so the sticky header keeps working; browsers without clip keep the rule above. */
@supports (overflow-x: clip) {
	html { overflow-x: hidden; }
	body { overflow-x: clip; }
}
iframe { max-width: 100%; }

img, svg, video { max-width: 100%; height: auto; }
img { vertical-align: middle; }

a { color: var(--cyan-d); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-display);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
	color: var(--ink);
}

p { margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { max-width: 100%; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
:focus-visible:not(:where(input, select, textarea)) { border-radius: 4px; } /* :where keeps the old specificity */
/* Text entry fields never show the blue focus ring (Jesse, 2026-10-16: "it never looks good"). They mark focus
   with the black hard shadow instead (form fields in shop.css, .ejd-search:focus-within) plus the caret. The
   !important also beats plugin and browser-default rings (WooCommerce blocks, Select2, Chrome's auto ring). */
:is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="reset"], [type="image"], [type="range"], [type="color"], [type="file"]), select, textarea, .select2-selection, [contenteditable]):focus { outline: 2px solid transparent !important; } /* invisible; stays visible in forced-colors mode */

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; clip: auto; margin: 0;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}

.ejd-ico { width: 22px; height: 22px; flex: none; }

.ejd-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ejd-wrap--text { max-width: 820px; }
.ejd-wrap--wide { max-width: 1100px; }
.ejd-center { text-align: center; }

/* ---------- Buttons & links ---------- */

.ejd-btn,
.button,
button.button,
input.button,
a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: .7em 1.4em;
	border: var(--bw) solid var(--ink);
	border-radius: var(--r-pill);
	background: var(--cyan);
	color: var(--on-blue);
	text-shadow: var(--on-blue-shadow);
	font-family: var(--f-display);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.1;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.ejd-btn:hover,
.button:hover,
a.button:hover,
button.button:hover {
	background: var(--deal);
	color: var(--ink);
	text-shadow: none;
	transform: translate(-1px, -1px);
	box-shadow: 4px 4px 0 var(--ink);
}
.ejd-btn:active,
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.ejd-btn--sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.ejd-btn--block { display: flex; width: 100%; }

.ejd-link {
	display: inline-flex; align-items: center; gap: .35em;
	font-weight: 700; color: var(--ink); text-decoration: none;
	background: none; border: 0; padding: 0; cursor: pointer;
}
.ejd-link .ejd-ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.ejd-link:hover { color: var(--cyan-d); }
.ejd-link:hover .ejd-ico { transform: translateX(3px); }

.ejd-iconbtn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; background: none; color: var(--ink);
	border-radius: var(--r-sm); cursor: pointer;
}
.ejd-iconbtn:hover { background: var(--cyan-l); }
.ejd-iconbtn--round {
	border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--cyan); color: var(--on-blue);
	box-shadow: var(--shadow-sm);
}
.ejd-iconbtn--round:hover { background: var(--deal); color: var(--ink); }
.ejd-iconbtn--round:disabled { opacity: .35; cursor: default; box-shadow: none; background: var(--cyan); color: var(--on-blue); }

.ejd-chip {
	display: inline-block; padding: .25em .8em;
	border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
	background: var(--deal); color: var(--ink);
	font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
	text-decoration: none;
}
.ejd-chip--ghost { background: var(--white); text-transform: none; letter-spacing: 0; }
.ejd-chip:hover { background: var(--cyan); color: var(--on-blue); }

/* ---------- Header strip (compliance warning + announcement) ---------- */

.ejd-strip { font-size: .9rem; line-height: 1.35; text-align: center; }
.ejd-strip .nicotine-warning {
	background: var(--white);
	color: #000;
	font-weight: 700;
	padding: 16px var(--gutter);
	border: 3px solid #000;
	font-size: clamp(1rem, 1.25vw, 1.2rem);
	line-height: 1.3;
}
.ejd-strip .announcement-bar-text {
	background: var(--cyan);
	color: var(--on-blue);
	text-shadow: var(--on-blue-shadow);
	font-weight: 800;
	font-family: var(--f-display);
	letter-spacing: .02em;
	padding: 9px var(--gutter);
}

/* ---------- Header ---------- */

.ejd-header { position: sticky; top: 0; z-index: 60; background: var(--white); }
.admin-bar .ejd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ejd-header { top: 0; } }

.ejd-header__main { background: var(--white); }
.ejd-header__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	min-height: var(--header-h);
	padding-block: 10px;
}
.ejd-header__burger { display: none; }

.site-logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo__img { display: block; width: auto; height: 58px; max-width: 220px; object-fit: contain; }
/* Beats woocommerce-layout.css `.woocommerce img { height: auto }`, so the logo is one size on every page. */
.ejd-header .site-logo__img { height: 58px; max-width: 220px; }
.site-logo--sm .site-logo__img { height: 44px; }
.site-logo--footer .site-logo__img { height: 72px; max-width: 280px; }
.site-logo__text { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); }

.ejd-header__actions { display: flex; align-items: center; gap: 8px; }

.ejd-account {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 12px; border-radius: var(--r-pill);
	color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem;
	white-space: nowrap;
}
.ejd-account:hover { background: var(--cyan-l); color: var(--ink); }
.ejd-accountwrap { position: relative; }
.ejd-account__menu {
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 70;
	min-width: 210px; margin: 0; padding: 8px; list-style: none;
	border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s var(--ease), visibility 0s .15s;
}
.ejd-accountwrap:hover .ejd-account__menu, .ejd-accountwrap:focus-within .ejd-account__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ejd-account__menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.ejd-account__menu a:hover { background: var(--cyan-l); }

.ejd-cartbtn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 16px 6px 8px;
	border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
	background: var(--deal); color: var(--ink); text-shadow: none; /* yellow cart (2026-10-16) */
	font-family: var(--f-display); font-weight: 800; text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.ejd-cartbtn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.ejd-cartbtn__icon { color: var(--ink); text-shadow: none; }
.ejd-cartbtn__icon, .ejd-toolbar__icon { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: var(--bw) solid var(--ink); }
.ejd-cartbtn__icon .ejd-ico { width: 18px; height: 18px; }
.ejd-cart-count {
	position: absolute; top: -8px; right: -8px;
	min-width: 20px; height: 20px; padding: 0 5px;
	display: grid; place-items: center;
	border-radius: var(--r-pill); background: var(--hot); color: #fff;
	font: 800 11px/1 var(--f-body); border: 2px solid var(--white);
}
.ejd-cart-total .woocommerce-Price-amount { white-space: nowrap; }

/* Search */
.ejd-search {
	position: relative;
	display: flex; align-items: center;
	width: 100%; max-width: 680px; margin-inline: auto;
	height: 52px;
	border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
	background: var(--white);
	transition: box-shadow .15s var(--ease);
}
.ejd-search:focus-within { box-shadow: var(--shadow-sm); }
.ejd-search__input {
	flex: 1; min-width: 0; height: 100%;
	padding: 0 18px; border: 0; background: none; outline: none;
	font-size: 1rem;
}
.ejd-search__input::-webkit-search-cancel-button { display: none; }
.ejd-search__cat { position: relative; display: flex; align-items: center; height: 60%; border-left: 1.5px solid var(--soft); }
.ejd-search__cat select {
	appearance: none; -webkit-appearance: none;
	height: 100%; max-width: 230px; padding: 0 34px 0 14px;
	border: 0; background: none; cursor: pointer;
	font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2);
	text-overflow: ellipsis;
}
.ejd-search__cat .ejd-ico { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; }
.ejd-search__btn {
	display: grid; place-items: center;
	width: 42px; height: 42px; margin-right: 3px; padding: 0;
	border: 0; border-radius: 50%; background: var(--cyan); color: var(--on-blue); cursor: pointer;
}
.ejd-search__btn:hover { background: var(--deal); color: var(--ink); }
.ejd-search__btn .ejd-ico { width: 20px; height: 20px; }

.ejd-search__results {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80;
	max-height: min(70vh, 520px); overflow: auto;
	border: var(--bw) solid var(--ink); border-radius: var(--r);
	background: var(--white); box-shadow: var(--shadow);
	padding: 6px;
}
.ejd-search__item {
	display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
	padding: 8px 10px; border-radius: var(--r-sm);
	color: var(--ink); text-decoration: none;
}
.ejd-search__item:hover, .ejd-search__item[aria-selected="true"] { background: var(--cyan-l); color: var(--ink); }
.ejd-search__item img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--paper); }
.ejd-search__name { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.ejd-search__price { font-weight: 800; font-size: .9rem; white-space: nowrap; }
.ejd-search__price del { color: var(--muted); font-weight: 500; margin-right: 4px; }
.ejd-search__all { display: block; padding: 10px; text-align: center; font-weight: 800; color: var(--ink); border-top: 1.5px solid var(--soft); margin-top: 4px; }
.ejd-search__none { padding: 14px; color: var(--muted); text-align: center; margin: 0; }

/* Main nav */
.ejd-nav { background: var(--white); padding-bottom: 12px; }
.ejd-menu {
	/* The blue bar spans the page content width (same edges as the hero), not the full screen. */
	list-style: none; margin: 0; padding: 4px 8px;
	display: flex; justify-content: center; flex-wrap: wrap; gap: 2px;
	background: var(--cyan); border-radius: 14px;
	box-shadow: var(--shadow); /* black drop shadow like the cards and buttons (2026-10-16) */
}
.ejd-menu > li { position: relative; }
.ejd-menu > li > a {
	display: flex; align-items: center; gap: 6px;
	padding: 14px 16px;
	color: var(--on-blue); text-shadow: var(--on-blue-shadow); text-decoration: none;
	font-family: var(--f-display); font-weight: 800; font-size: .92rem;
	text-transform: uppercase; letter-spacing: .05em;
	border-radius: var(--r-sm);
	transition: background-color .15s;
}
/* Narrow desktops: keep the nav on one row (it wrapped to two between 1025 and ~1130px). */
@media (min-width: 1025px) and (max-width: 1199px) {
	.ejd-menu > li > a { padding: 14px 10px; font-size: .84rem; letter-spacing: .03em; }
}
.ejd-menu > li > a:hover,
.ejd-menu > li:focus-within > a { background: rgba(255, 255, 255, .35); color: var(--ink); }
.ejd-menu > .current-menu-item > a,
.ejd-menu > .current-menu-ancestor > a { color: var(--white); }
.ejd-menu > li.menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-top: -3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.ejd-menu .sub-menu {
	position: absolute; top: 100%; left: 8px; z-index: 70;
	min-width: 230px; margin: 0; padding: 8px; list-style: none;
	border: var(--bw) solid var(--ink); border-radius: var(--r);
	background: var(--white); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s var(--ease), visibility 0s .15s;
}
/* The last items' dropdowns open leftwards so they stay on screen at narrow desktop widths. */
.ejd-menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 8px; }
.ejd-menu > li:hover > .sub-menu,
.ejd-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ejd-menu .sub-menu a {
	display: block; padding: 9px 12px; border-radius: var(--r-sm);
	color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem;
}
.ejd-menu .sub-menu a:hover { background: var(--cyan-l); }

/* ---------- Drawers (mobile menu, cart, filters) ---------- */

.ejd-drawer { position: fixed; inset: 0; z-index: 100; }
.ejd-drawer[hidden] { display: none; }
.ejd-drawer__scrim {
	position: absolute; inset: 0; background: rgba(11, 15, 20, .55);
	animation: ejd-fade .2s ease;
}
.ejd-drawer__panel {
	position: absolute; top: 0; bottom: 0;
	width: min(420px, 92vw);
	display: flex; flex-direction: column;
	background: var(--white);
	animation: ejd-in-l .25s var(--ease);
}
.ejd-drawer__panel--left { left: 0; border-right: var(--bw) solid var(--ink); }
.ejd-drawer__panel--right { right: 0; border-left: var(--bw) solid var(--ink); animation-name: ejd-in-r; }
.ejd-drawer__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 16px; border-bottom: var(--bw) solid var(--ink);
}
.ejd-drawer__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; }
.ejd-drawer__body { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }

@keyframes ejd-fade { from { opacity: 0; } }
@keyframes ejd-in-l { from { transform: translateX(-100%); } }
@keyframes ejd-in-r { from { transform: translateX(100%); } }

.ejd-tabs__list { display: grid; grid-template-columns: 1fr 1fr; border: var(--bw) solid var(--ink); border-radius: var(--r-pill); overflow: hidden; }
.ejd-tabs__list button {
	padding: 10px; border: 0; background: var(--white); cursor: pointer;
	font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem;
}
.ejd-tabs__list button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.ejd-tabs__panel { padding-top: 8px; }

.ejd-mmenu, .ejd-mmenu .sub-menu, .ejd-mmenu .children { list-style: none; margin: 0; padding: 0; }
.ejd-mmenu li { border-bottom: 1.5px solid var(--soft); }
.ejd-mmenu a { display: block; padding: 13px 4px; color: var(--ink); text-decoration: none; font-weight: 700; }
.ejd-mmenu > li > a { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.ejd-mmenu .sub-menu { padding-left: 14px; border-top: 1.5px solid var(--soft); }
.ejd-mmenu .sub-menu li:last-child { border-bottom: 0; }

/* The item list scrolls on its own; subtotal and buttons stay pinned at the bottom (as Woodmart's side cart). */
.ejd-drawer__body.ejd-minicart { overflow: hidden; }
.ejd-minicart .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

/* ---------- Main / sections ---------- */

.ejd-main { display: block; min-height: 50vh; }

.ejd-section { padding-block: clamp(40px, 6vw, 80px); }
.ejd-section--tight { padding-block: 24px; }
.ejd-section + .ejd-section { padding-top: 0; }
.ejd-section.ejd-story, .ejd-section.ejd-blogsec { padding-top: clamp(40px, 6vw, 80px); }

.ejd-section__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-bottom: clamp(18px, 2.5vw, 28px);
}
.ejd-section__head--center { justify-content: center; text-align: center; }
.ejd-section__title {
	position: relative; margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.ejd-section__head--center .ejd-section__title { padding-bottom: 14px; }
.ejd-section__head--center .ejd-section__title::after {
	content: ""; position: absolute; left: 50%; bottom: 0;
	width: 64px; height: 6px; margin-left: -32px;
	border-radius: 6px; background: var(--cyan); border: var(--bw) solid var(--ink);
}
.ejd-section__more { font-family: var(--f-display); font-weight: 800; font-size: 1rem; white-space: nowrap; }

/* ---------- Hero ---------- */

.ejd-hero { padding: clamp(14px, 2vw, 24px) var(--gutter) 0; max-width: var(--wrap); margin-inline: auto; }
.ejd-hero__frame {
	position: relative;
	border: var(--bw) solid var(--ink); border-radius: calc(var(--r) + 6px);
	overflow: hidden; background: var(--paper);
	box-shadow: var(--shadow);
}
.ejd-hero__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none;
}
.ejd-hero__track::-webkit-scrollbar { display: none; }
.ejd-hero__track { align-items: flex-start; }
.ejd-hero__slide { flex: 0 0 100%; scroll-snap-align: start; }
.ejd-hero__slide a { display: block; }
.ejd-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 400; object-fit: cover; }
.ejd-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center; width: 48px; height: 48px;
	border: var(--bw) solid var(--ink); border-radius: 50%;
	background: var(--cyan); color: var(--on-blue); cursor: pointer;
	box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s, background-color .15s;
}
.ejd-hero__frame:hover .ejd-hero__nav, .ejd-hero__nav:focus-visible { opacity: 1; }
.ejd-hero__nav:hover { background: var(--deal); color: var(--ink); }
.ejd-hero__nav--prev { left: 16px; }
.ejd-hero__nav--next { right: 16px; }
.ejd-hero__dots { display: flex; justify-content: center; gap: 8px; padding-top: 16px; }
.ejd-hero__dots button {
	width: 12px; height: 12px; padding: 0; border-radius: var(--r-pill);
	border: var(--bw) solid var(--ink); background: var(--white); cursor: pointer;
	transition: width .25s var(--ease), background-color .2s;
}
.ejd-hero__dots button[aria-current="true"] { width: 34px; background: var(--cyan); }

/* ---------- Intro (H1) ---------- */

.ejd-intro__inner { text-align: center; }
.ejd-intro__title {
	font-size: clamp(1.9rem, 2.7vw, 3rem);
	line-height: 1.08;
	margin-bottom: .5em;
	text-wrap: balance;
}
.ejd-intro__text { max-width: 1460px; margin-inline: auto; color: var(--ink-2); font-size: clamp(1rem, 1.1vw, 1.15rem); }
.ejd-intro__text p:last-child { margin-bottom: 0; }

/* ---------- Brand logos ---------- */

.ejd-brands {
	/* Soft depth: fades in from white, a faint logo-blue glow behind the logos, fades back out. No outline. */
	background:
		radial-gradient(60% 70% at 50% 55%, rgba(0, 204, 255, .14), rgba(0, 204, 255, 0) 70%),
		linear-gradient(180deg, #fff 0%, #eef8fd 22%, #e6f5fc 60%, #eef8fd 82%, #fff 100%);
}
.ejd-brands .ejd-section__head--center .ejd-section__title::after { border: 0; height: 5px; }
.ejd-brands__item { box-shadow: 0 10px 24px -12px rgba(0, 120, 160, .45); }
.ejd-section + .ejd-section.ejd-brands { padding-top: clamp(40px, 6vw, 80px); }
.ejd-brands__grid {
	list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
	display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 40px) clamp(14px, 3vw, 48px);
}
.ejd-brands__grid li { flex: 0 0 calc((100% - 4 * clamp(14px, 3vw, 48px)) / 5); max-width: 168px; }
.ejd-brands__item {
	display: block; aspect-ratio: 1;
	border-radius: 50%;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ejd-brands__item img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.ejd-brands__item:hover { transform: translateY(-5px) rotate(-3deg); box-shadow: 0 18px 32px -12px rgba(0, 120, 160, .55); }

/* ---------- Rails (shared by products and posts) ---------- */

.ejd-rail { position: relative; }
.ejd-rail__track {
	--cols: 5;
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cols) - 1) * 20px) / var(--cols));
	gap: 20px;
	margin: 0 !important; padding: 6px 6px 14px !important;
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: 6px;
	scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
	list-style: none;
}
.ejd-rail__track::before, .ejd-rail__track::after { display: none !important; }
.ejd-rail__track > * { scroll-snap-align: start; width: auto !important; margin: 0 !important; float: none !important; }
.ejd-rail__ctrl { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.ejd-rail__ctrl[hidden] { display: none; }

.ejd-railsec:nth-of-type(even) { background: linear-gradient(var(--white), var(--white)); }
.ejd-section.ejd-brands + .ejd-section.ejd-railsec { padding-top: clamp(48px, 6vw, 88px); }

/* ---------- Story / SEO copy ---------- */

/* Light gray instead of black (2026-10-16). */
.ejd-story { background: var(--banner); color: var(--ink); border-top: 1px solid var(--banner-line); }
.ejd-story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ejd-story__media img {
	width: 100%; height: auto; border-radius: var(--r);
	border: var(--bw) solid var(--ink); box-shadow: var(--shadow);
}
.ejd-story__title { color: var(--cyan-d); font-size: clamp(1.3rem, 2vw, 1.7rem); }
.ejd-story .ejd-prose { color: var(--ink); }
.ejd-story .ejd-prose a { color: var(--cyan-d); }

.ejd-readmore__inner { position: relative; }
.ejd-readmore.is-collapsible:not(.is-open) .ejd-readmore__inner { max-height: 420px; overflow: hidden; }
.ejd-readmore.is-collapsible:not(.is-open) .ejd-readmore__inner::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
	background: linear-gradient(rgba(244, 245, 247, 0), var(--banner));
}
.ejd-readmore__btn { margin-top: 12px; font-family: var(--f-display); font-size: 1rem; }

/* ---------- Blog cards ---------- */

.ejd-blogsec { background: var(--paper); border-top: var(--bw) solid var(--ink); }
.ejd-postgrid--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.ejd-postgrid.ejd-rail__track { --cols: 4; }
.ejd-postcard {
	position: relative; /* contains its screen-reader text inside the rail's scroll area */
	display: flex; flex-direction: column;
	border: var(--bw) solid var(--ink); border-radius: var(--r);
	background: var(--white); overflow: hidden;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ejd-postcard:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.ejd-postcard__media { display: block; aspect-ratio: 16 / 10; background: var(--cyan-l); border-bottom: var(--bw) solid var(--ink); overflow: hidden; }
.ejd-postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ejd-postcard:hover .ejd-postcard__media img { transform: scale(1.04); }
.ejd-postcard__ph { display: grid; place-items: center; height: 100%; color: var(--cyan-d); }
.ejd-postcard__ph .ejd-ico { width: 48px; height: 48px; }
.ejd-postcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.ejd-postcard__meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ejd-postcard__meta a { color: var(--cyan-d); text-decoration: none; position: relative; z-index: 1; }
.ejd-postcard__meta a:hover { text-decoration: underline; }
.ejd-postcard__meta .ejd-postcard__author { color: var(--muted); }
.ejd-postcard__title { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.ejd-postcard__title a { color: var(--ink); text-decoration: none; }
.ejd-postcard__title a:hover { color: var(--cyan-d); }
.ejd-postcard__excerpt { margin: 0; color: var(--ink-2); font-size: .95rem; flex: 1; }

/* ---------- Page heads / prose ---------- */

.ejd-pagehead { background: var(--banner); border-bottom: 1px solid var(--banner-line); padding-block: clamp(28px, 4vw, 48px); }
.ejd-pagehead__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.01em; color: var(--ink); }
.ejd-pagehead__desc { max-width: 760px; margin-top: 10px; color: var(--ink); }
.ejd-pagehead__desc a { color: var(--ink); font-weight: 700; }
.ejd-pagehead__desc p:last-child { margin: 0; }

.ejd-page .ejd-prose,
.ejd-page__wc { padding-block: clamp(28px, 4vw, 56px); }
.ejd-page__builder { padding-block: 24px; }
.ejd-prose { max-width: 860px; }
.ejd-prose > *:first-child { margin-top: 0; }
.ejd-prose h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.ejd-prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.ejd-prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.ejd-prose h4, .ejd-prose h5, .ejd-prose h6 { font-size: 1.1rem; margin-top: 1.3em; }
.ejd-prose ul, .ejd-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.ejd-prose li { margin-bottom: .35em; }
.ejd-prose li::marker { color: var(--cyan-d); font-weight: 800; }
.ejd-prose blockquote {
	margin: 1.4em 0; padding: 16px 20px;
	border: var(--bw) solid var(--ink); border-radius: var(--r);
	background: var(--cyan-l); font-weight: 600;
}
.ejd-prose table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.ejd-prose th, .ejd-prose td { padding: 10px 12px; border: 1.5px solid var(--soft); text-align: left; }
.ejd-prose th { background: var(--paper); }
.ejd-prose img { border-radius: var(--r-sm); }
.ejd-prose iframe { max-width: 100%; }
.ejd-prose, .woocommerce-Tabs-panel, .ejd-postcard__excerpt { overflow-wrap: break-word; }
.woocommerce-Tabs-panel table { max-width: 100%; }
.ejd-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.ejd-prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.ejd-prose .aligncenter { display: block; margin-inline: auto; }
.ejd-prose::after { content: ""; display: table; clear: both; }

/* ---------- Single post ---------- */

.ejd-post__head { padding-block: clamp(32px, 5vw, 64px) 24px; text-align: center; }
.ejd-post__title { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.05; margin: 16px 0 14px; text-wrap: balance; }
.ejd-post__meta { display: flex; justify-content: center; gap: 10px; color: var(--muted); font-weight: 600; margin: 0; }
.ejd-post__hero img { width: 100%; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.ejd-post .ejd-prose { padding-block: 36px 16px; font-size: 1.07rem; }
.ejd-post__tags { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; }
.ejd-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 24px; border-top: var(--bw) solid var(--ink); }
.ejd-postnav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.ejd-postnav .nav-next { text-align: right; }
.ejd-postnav__k { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cyan-d); }
.ejd-postnav__t { font-family: var(--f-display); font-weight: 800; line-height: 1.2; }
.ejd-related-posts { background: var(--paper); border-top: var(--bw) solid var(--ink); }
.ejd-related-posts .ejd-section__title { font-size: clamp(1.4rem, 2.6vw, 2rem); }

/* Comments */
.comments-area { padding-block: 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1.5px solid var(--soft); }
.comment-reply-title { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 .4em; }
.comment-form { display: grid; gap: 14px; }
.comment-form > p { margin: 0; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 700; font-size: .9rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }
.comment-form textarea { min-height: 140px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 500; }
.comment-form .form-submit .submit { min-height: 48px; }

/* Pagination (blog) */
.pagination .nav-links, .woocommerce-pagination ul.page-numbers {
	display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px;
	margin: 40px 0 0 !important; padding: 0 !important; border: 0 !important; list-style: none;
}
.pagination .page-numbers, .woocommerce-pagination .page-numbers li { border: 0 !important; float: none !important; }
.pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-grid !important; place-items: center;
	min-width: 46px; height: 46px; padding: 0 12px !important;
	border: var(--bw) solid var(--ink) !important; border-radius: var(--r-pill);
	background: var(--white); color: var(--ink) !important;
	font-family: var(--f-display); font-weight: 800; text-decoration: none;
}
.pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink) !important; color: var(--white) !important; }
.pagination a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--deal) !important; }
.pagination .page-numbers.dots, .woocommerce nav.woocommerce-pagination ul li span.dots { border-color: transparent !important; background: none; }
.pagination .ejd-ico, .woocommerce-pagination .ejd-ico { width: 18px; height: 18px; }

.ejd-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- 404 ---------- */

.ejd-404 { padding-block: clamp(48px, 8vw, 110px); text-align: center; }
.ejd-404__code {
	margin: 0; font-family: var(--f-display); font-weight: 800; line-height: .9;
	font-size: clamp(6rem, 20vw, 13rem); color: var(--cyan);
	-webkit-text-stroke: 4px var(--ink); text-shadow: 8px 8px 0 var(--ink);
}
.ejd-404__kicker { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan-d); margin: 18px 0 8px; }
.ejd-404__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.ejd-404__search { max-width: 560px; margin: 24px auto; }

/* ---------- Footer ---------- */

.ejd-footer { background: var(--banner); color: var(--ink); border-top: var(--bw) solid var(--ink); } /* light gray instead of black (2026-10-16) */
.ejd-footer__brand { padding-top: clamp(36px, 5vw, 56px); }
.ejd-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr);
	gap: clamp(24px, 3vw, 48px);
	padding-block: 32px clamp(36px, 5vw, 56px);
}
.ejd-footer__title {
	margin: 0 0 16px; color: var(--ink);
	font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em;
}
.ejd-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ejd-footer__links a, .ejd-footer__legal a { color: var(--ink); text-decoration: none; }
.ejd-footer__links a:hover, .ejd-footer__legal a:hover { color: var(--cyan-d); text-decoration: underline; }
.ejd-footer__text { margin: 0 0 10px; font-family: var(--f-body); font-weight: 400; font-size: .98rem; line-height: 1.6; letter-spacing: 0; color: var(--muted); }
.ejd-footer__col--about .ejd-footer__title { color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 1.35rem; }
.ejd-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ejd-social a {
	display: grid; place-items: center; width: 42px; height: 42px;
	border: var(--bw) solid var(--ink); border-radius: 50%; color: var(--ink);
	transition: background-color .15s, color .15s, transform .15s var(--ease);
}
.ejd-social a:hover { background: var(--cyan); border-color: var(--ink); color: var(--on-blue); transform: translateY(-2px); }
.ejd-social .ejd-ico { width: 18px; height: 18px; }
.ejd-footer__bar { border-top: 1.5px solid var(--banner-line); padding-block: 22px calc(22px + env(safe-area-inset-bottom)); font-size: .88rem; }
.ejd-footer__barrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ejd-footer__legal { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.ejd-footer__legal li:not(:last-child)::after { content: "·"; margin: 0 10px; color: rgba(11, 15, 20, .35); }
.ejd-footer__copy { margin: 0; font-family: var(--f-body); font-weight: 400; font-size: .88rem; letter-spacing: 0; color: var(--muted); }
.ejd-footer__badge img { max-height: 44px; width: auto; border-radius: 6px; background: #fff; padding: 4px 8px; }

/* Mobile toolbar */
.ejd-toolbar { display: none; }

.ejd-totop {
	position: fixed; right: 18px; bottom: 18px; z-index: 50;
	display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
	border: var(--bw) solid var(--ink); border-radius: 50%;
	background: var(--cyan); color: var(--on-blue); cursor: pointer; box-shadow: var(--shadow-sm);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.ejd-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ejd-totop:hover { background: var(--deal); color: var(--ink); }

/* ---------- Elementor content inside the theme ---------- */

.ejd-page__builder .elementor-widget-heading .elementor-heading-title { font-family: var(--f-display) !important; }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
	.ejd-rail__track { --cols: 4; }
	.ejd-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ejd-footer__col--about { grid-column: span 3; }
	.ejd-account__label { display: none; }
}

@media (max-width: 1024px) {
	:root { --header-h: 64px; }
	.ejd-header__row { grid-template-columns: auto 1fr auto; gap: 8px; }
	.ejd-header__burger { display: inline-grid; }
	.ejd-header .site-logo { justify-self: center; }
	.site-logo__img, .ejd-header .site-logo__img { height: 46px; }
	.ejd-header__search { grid-column: 1 / -1; order: 3; padding-bottom: 4px; }
	.ejd-search { height: 46px; }
	.ejd-nav { display: none; }
	.ejd-header__main { box-shadow: 0 1px 0 var(--soft); }
	.ejd-accountwrap { display: none; }
	.ejd-cart-total { display: none; }
	.ejd-cartbtn { padding: 4px; }
	.ejd-rail__track { --cols: 3; }
	.ejd-story__grid { grid-template-columns: 1fr; }
	.ejd-story__media { max-width: 420px; }
	.ejd-postgrid--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ejd-postgrid.ejd-rail__track { --cols: 2.3; }

	.ejd-toolbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--white); border-top: var(--bw) solid var(--ink);
	}
	.ejd-toolbar a, .ejd-toolbar button {
		display: flex; flex-direction: column; align-items: center; gap: 2px;
		padding: 8px 4px; border: 0; background: none; cursor: pointer;
		color: var(--ink); text-decoration: none;
		font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
	}
	.ejd-toolbar .ejd-ico { width: 22px; height: 22px; }
	.ejd-toolbar__icon { width: auto; height: auto; border: 0; background: none; }
	.ejd-toolbar .ejd-cart-count { top: -6px; right: -12px; }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	.ejd-totop { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

@media (max-width: 767px) {
	.ejd-hero { padding-inline: 12px; }
	.ejd-hero__img { aspect-ratio: 1 / 1; height: auto !important; object-fit: contain; background: var(--ink); }
	.ejd-hero__nav { display: none; }
	.ejd-rail__track { --cols: 2.15; gap: 12px; grid-auto-columns: calc((100% - 12px) / 2.15); }
	.ejd-rail__ctrl { display: none; }
	.ejd-brands__grid li { flex-basis: calc((100% - 2 * 14px) / 3); }
	.ejd-postgrid--grid { grid-template-columns: 1fr; }
	.ejd-postgrid.ejd-rail__track { --cols: 1.2; grid-auto-columns: 82%; }
	.ejd-footer__grid { grid-template-columns: 1fr 1fr; }
	.ejd-footer__col--about { grid-column: span 2; }
	.ejd-section__head { align-items: center; }
	.ejd-search__cat select { max-width: 150px; padding-left: 10px; padding-right: 26px; font-size: .72rem; letter-spacing: .01em; }
	.ejd-strip { font-size: .8rem; }
}

@media (max-width: 420px) {
	.ejd-search__cat { display: none; }
	.ejd-footer__grid { grid-template-columns: 1fr; }
	.ejd-footer__col--about { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
