/* ==========================================================================
   EAC – Electrical Agencies Company theme
   ========================================================================== */

:root {
	--eac-red: #a3161c;
	--eac-red-600: #8c1218;
	--eac-red-700: #6e0d12;
	--eac-red-50: #fbefee;
	--eac-red-100: #f4d6d4;
	--eac-ink: #17191c;
	--eac-steel: #22262b;
	--eac-steel-2: #2e333a;
	--eac-text: #24272b;
	--eac-muted: #5d636b;
	--eac-line: #e2e0dc;
	--eac-line-2: #d3d0ca;
	--eac-bg: #ffffff;
	--eac-bg-2: #f5f4f1;
	--eac-ok: #1f7a4a;
	--eac-blue: #1f3f78;
	--eac-radius: 10px;
	--eac-radius-lg: 16px;
	--eac-shadow: 0 1px 2px rgba(16, 18, 20, .05), 0 6px 20px rgba(16, 18, 20, .06);
	--eac-shadow-lg: 0 2px 4px rgba(16, 18, 20, .06), 0 16px 40px rgba(16, 18, 20, .12);
	--eac-font: Barlow, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--eac-display: "Barlow Condensed", Barlow, system-ui, sans-serif;
	--eac-wrap: 1200px;
	--eac-gutter: clamp(16px, 4vw, 32px);
	--eac-header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--eac-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--eac-bg);
	color: var(--eac-text);
	font-family: var(--eac-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--eac-red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--eac-red-700); }
:focus-visible { outline: 3px solid var(--eac-red); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--eac-ink); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--eac-display); font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
abbr[title] { text-decoration: none; cursor: help; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000; background: #fff; color: var(--eac-ink); padding: 12px 18px; border-radius: 8px; box-shadow: var(--eac-shadow-lg); }

.eac-wrap { width: min(var(--eac-wrap), 100% - 2 * var(--eac-gutter)); margin-inline: auto; }
.eac-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.eac-muted { color: var(--eac-muted); }

/* ---------- Buttons ---------- */
.eac-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.35em;
	border: 2px solid var(--eac-red); border-radius: 8px;
	background: var(--eac-red); color: #fff;
	font: 600 1rem/1.2 var(--eac-font); letter-spacing: .01em; text-decoration: none;
	cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.eac-btn:hover, .wp-block-button__link:hover, .wp-element-button:hover { background: var(--eac-red-600); border-color: var(--eac-red-600); color: #fff; }
.eac-btn:active, .wp-block-button__link:active { transform: translateY(1px); }
.eac-btn .eac-icon { width: 1.1em; height: 1.1em; }
.eac-btn--outline, .is-style-outline > .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--eac-red); border-color: currentColor;
}
.eac-btn--outline:hover, .is-style-outline > .wp-block-button__link:hover { background: var(--eac-red); color: #fff; border-color: var(--eac-red); }
.eac-btn--light { background: #fff; border-color: #fff; color: var(--eac-red-700); }
.eac-btn--light:hover { background: var(--eac-red-50); border-color: var(--eac-red-50); color: var(--eac-red-700); }
.eac-btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.eac-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.eac-actions, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.eac-link-btn { background: none; border: 0; padding: 0; color: var(--eac-red); font: inherit; text-decoration: underline; cursor: pointer; }

.eac-eyebrow {
	display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9em;
	font: 700 .8rem/1.2 var(--eac-font); letter-spacing: .14em; text-transform: uppercase; color: var(--eac-red);
}
.eac-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.eac-lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--eac-muted); line-height: 1.55; }

/* ---------- Top bar ---------- */
.eac-topbar { background: var(--eac-ink); color: #c9ccd1; font-size: .875rem; }
.eac-topbar__inner { display: flex; justify-content: space-between; gap: 16px; min-height: 38px; align-items: center; }
.eac-topbar p { display: flex; gap: 20px; margin: 0; align-items: center; }
.eac-topbar span, .eac-topbar a { display: inline-flex; gap: .45em; align-items: center; color: inherit; text-decoration: none; white-space: nowrap; }
.eac-topbar a:hover { color: #fff; }
.eac-topbar__right a:last-child { color: #fff; font-weight: 600; }

/* ---------- Header / nav ---------- */
.eac-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--eac-line); }
.admin-bar .eac-header { top: 32px; }
.eac-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--eac-header-h); }
/* Logo lockup – matches the original site: EAC swoosh + stacked Montserrat ExtraBold wordmark. */
.eac-brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: #333; flex: none; }
.eac-brand img { width: 90px; height: auto; display: block; }
.eac-brand__name { font: 800 20px/1 Montserrat, var(--eac-font); text-transform: uppercase; color: #333; }
.eac-brand:hover .eac-brand__name { color: #333; }
.eac-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.eac-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.eac-menu li { position: relative; }
.eac-menu a {
	display: flex; align-items: center; gap: .35em; padding: 10px 12px; border-radius: 6px;
	color: var(--eac-ink); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.eac-menu a:hover, .eac-menu .current-menu-item > a, .eac-menu .current-menu-ancestor > a { color: var(--eac-red); }
.eac-menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); margin-left: 4px; opacity: .6;
}
.eac-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -8px; min-width: 240px;
	background: #fff; border: 1px solid var(--eac-line); border-radius: 12px; box-shadow: var(--eac-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.eac-menu li:hover > .sub-menu, .eac-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.eac-menu .sub-menu a { padding: 9px 12px; font-weight: 500; }
.eac-menu .sub-menu a:hover { background: var(--eac-bg-2); }
.eac-menu .eac-menu-button { margin-left: 10px; }
.eac-menu .eac-menu-button > a { min-height: 44px; padding: 8px 18px; border: 2px solid var(--eac-red); border-radius: 8px; color: var(--eac-red); transition: background-color .15s, color .15s; }
.eac-menu .eac-menu-button > a:hover, .eac-menu .eac-menu-button.current-menu-item > a { background: var(--eac-red); color: #fff; }
.eac-nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--eac-line); border-radius: 10px; background: #fff; color: var(--eac-ink); cursor: pointer; align-items: center; justify-content: center; }
.eac-nav-toggle .eac-icon { width: 24px; height: 24px; }
.eac-nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.eac-brand { gap: 14px; }
	.eac-brand img { width: 78px; }
	.eac-brand__name { font-size: 17px; }
	.eac-menu a { padding: 10px 9px; }
}
@media (max-width: 960px) {
	:root { --eac-header-h: 68px; }
	.eac-nav-toggle { display: inline-flex; }
	.eac-nav {
		position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 16px;
		padding: 12px var(--eac-gutter) 24px; background: #fff; border-bottom: 1px solid var(--eac-line); box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
		max-height: calc(100vh - var(--eac-header-h)); overflow-y: auto;
	}
	.eac-header.is-open .eac-nav { display: flex; }
	.eac-header.is-open .eac-nav-toggle__open { display: none; }
	.eac-header.is-open .eac-nav-toggle__close { display: block; }
	.eac-menu { flex-direction: column; align-items: stretch; }
	.eac-menu a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--eac-line); border-radius: 0; }
	.eac-menu .menu-item-has-children > a::after { display: none; }
	.eac-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; }
	.eac-menu .sub-menu a { border: 0; padding: 10px 4px; font-size: 1rem; }
	.eac-brand img { width: 72px; }
	.eac-brand__name { font-size: 16px; }
}
@media (max-width: 782px) { .admin-bar .eac-header { top: 46px; } }
@media (max-width: 600px) {
	.admin-bar .eac-header { top: 0; }
	.eac-hide-sm { display: none !important; }
	.eac-topbar p { gap: 14px; }
}

/* ---------- Sections ---------- */
.eac-section { padding: clamp(48px, 7vw, 88px) 0; }
.eac-section--tight { padding-bottom: clamp(24px, 4vw, 40px); }
.eac-section--muted { background: var(--eac-bg-2); }
.eac-section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.eac-section__head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.eac-prose { max-width: 780px; }
.eac-prose h3 { margin-top: 1.6em; }

/* ---------- Page hero (inner pages) ---------- */
.eac-page-hero {
	position: relative; overflow: hidden; color: #e8e9eb;
	background: radial-gradient(1200px 500px at 110% -10%, rgba(163, 22, 28, .55), transparent 60%), linear-gradient(160deg, var(--eac-steel-2), var(--eac-ink) 70%);
	padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 76px);
}
.eac-page-hero::after {
	content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; border-radius: 50%;
	border-top: 14px solid rgba(163, 22, 28, .55); transform: rotate(-8deg); pointer-events: none;
}
.eac-page-hero__inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.eac-page-hero.has-aside .eac-page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.eac-page-hero__title { color: #fff; margin-bottom: .3em; }
.eac-page-hero__text { font-size: 1.15rem; color: #c9ccd1; max-width: 620px; }
.eac-page-hero__text p:last-child { margin-bottom: 0; }
.eac-page-hero .eac-eyebrow { color: #ff8d8f; }
.eac-page-hero .eac-actions { margin-top: 28px; }
.eac-page-hero .eac-btn--outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.eac-page-hero .eac-btn--outline:hover { background: #fff; color: var(--eac-ink); border-color: #fff; }
.eac-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .9rem; color: #9aa0a8; }
.eac-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.eac-crumbs a { color: #c9ccd1; text-decoration: none; }
.eac-crumbs a:hover { color: #fff; text-decoration: underline; }
.eac-line-hero-logo { background: #fff; border-radius: var(--eac-radius-lg); padding: 36px; display: grid; place-items: center; min-height: 220px; box-shadow: var(--eac-shadow-lg); }
.eac-line-hero-logo img { max-height: 150px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) {
	.eac-page-hero.has-aside .eac-page-hero__inner { grid-template-columns: 1fr; }
}

/* ---------- Map ---------- */
.eac-map {
	/* Light backgrounds */
	--map-off: #e6e3de; --map-on-0: #b81d24; --map-on-1: #cc2d33; --map-on-2: #a8181e;
	--map-hover: #6e0d12; --map-dim-fill: #ebc3c3; --map-border: #fff; --map-border-w: 1.3;
	--map-label: #fff; --map-label-off: #9d978e; --map-label-shadow: rgba(0, 0, 0, .35);
	--map-pill: #fff; --map-pill-text: #17191c; --map-pill-hover: #a3161c; --map-leader: #17191c;
	--map-hq: #ffc53d; --map-hq-stroke: #17191c; --map-edge: #17191c;
	position: relative;
}
.eac-map__canvas { position: relative; }
.eac-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.eac-map__area { stroke-width: .6; stroke-linejoin: round; transition: fill .2s ease, opacity .2s ease; }
.eac-map__area.is-off { fill: var(--map-off); stroke: var(--map-off); }
.eac-map__territory--0 .eac-map__area { fill: var(--map-on-0); stroke: var(--map-on-0); }
.eac-map__territory--1 .eac-map__area { fill: var(--map-on-1); stroke: var(--map-on-1); }
.eac-map__territory--2 .eac-map__area { fill: var(--map-on-2); stroke: var(--map-on-2); }
.eac-map__territory, .eac-map__callout, .eac-map__pin { cursor: pointer; outline: none; }
.eac-map__borders path { fill: none; stroke: var(--map-border); stroke-width: var(--map-border-w); stroke-linejoin: round; pointer-events: none; }
.eac-map__borders title { pointer-events: none; }
.eac-map__edges path { fill: none; stroke: var(--map-edge, #fff); stroke-width: 1.6; stroke-linejoin: round; pointer-events: none; opacity: .95; }

/* Hover / focus: the territory lights up, everything else steps back. */
.eac-map__territory.is-hover .eac-map__area, .eac-map__territory:focus-visible .eac-map__area { fill: var(--map-hover); stroke: var(--map-hover); }
.eac-map.is-hovering .eac-map__territory:not(.is-hover) .eac-map__area { fill: var(--map-dim-fill); stroke: var(--map-dim-fill); }
/* On a territory's own page, it stays lit and the rest step back. */
.eac-map:has(.is-current) .eac-map__territory:not(.is-current):not(.is-hover) .eac-map__area { fill: var(--map-dim-fill); stroke: var(--map-dim-fill); }
.eac-map__territory.is-current .eac-map__area { fill: var(--map-hover); stroke: var(--map-hover); }

.eac-map__labels text { font: 700 12px/1 var(--eac-font); letter-spacing: .06em; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.eac-map__labels .is-on { fill: var(--map-label); paint-order: stroke; stroke: var(--map-label-shadow); stroke-width: 2px; }
.eac-map__labels .is-off { fill: var(--map-label-off); font-weight: 600; font-size: 10.5px; }

/* Callouts for the small regions (SoCal, El Paso, Scottsbluff). */
.eac-map__leader { fill: none; stroke: var(--map-leader); stroke-width: 1.4; stroke-dasharray: 2.5 2.5; opacity: .85; }
.eac-map__dot { fill: var(--map-pill); stroke: var(--map-leader); stroke-width: 2; transition: r .15s, fill .15s; }
.eac-map__pill rect { fill: var(--map-pill); transition: fill .15s; }
.eac-map__pill text { font: 700 11.5px/1 var(--eac-font); letter-spacing: .02em; fill: var(--map-pill-text); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .15s; }
.eac-map__callout.is-hover .eac-map__pill rect, .eac-map__callout:focus-visible .eac-map__pill rect, .eac-map__callout.is-current .eac-map__pill rect { fill: var(--map-pill-hover); }
.eac-map__callout.is-hover .eac-map__pill text, .eac-map__callout:focus-visible .eac-map__pill text, .eac-map__callout.is-current .eac-map__pill text { fill: #fff; }
.eac-map__callout.is-hover .eac-map__dot, .eac-map__callout.is-current .eac-map__dot { fill: var(--map-pill-hover); r: 5; }
.eac-map__callout:focus-visible .eac-map__pill rect { stroke: #ffd166; stroke-width: 2; }
.eac-map.is-hovering .eac-map__callout:not(.is-hover) { opacity: .7; }

.eac-map__pin circle { fill: var(--map-pill); stroke: var(--map-leader); stroke-width: 2.5; }
.eac-map__pin text { font: 700 12px/1 var(--eac-font); fill: var(--map-pill-text); paint-order: stroke; stroke: var(--map-pill); stroke-width: 3px; }

.eac-map__hq { pointer-events: none; }
.eac-map__hq path { fill: var(--map-hq); stroke: var(--map-hq-stroke); stroke-width: 1.1; stroke-linejoin: round; }
.eac-map__hq text { font: 800 9.5px/1 var(--eac-font); letter-spacing: .08em; fill: var(--map-hq); text-anchor: end; paint-order: stroke; stroke: var(--map-hq-stroke); stroke-width: 2.5px; }
.eac-map__hq-pulse { fill: none; stroke: var(--map-hq); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: eac-pulse 2.6s ease-out infinite; }
@keyframes eac-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }

.eac-map__tip {
	position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 16px));
	background: var(--eac-ink); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--eac-shadow-lg);
	font-size: .9rem; line-height: 1.35; white-space: nowrap;
}
.eac-map__tip strong { display: block; font-size: 1rem; }
.eac-map__tip span { color: #c9ccd1; }
.eac-map__tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }

.eac-map__legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 14px 0 0; padding: 0; font-size: .85rem; color: var(--eac-muted); }
.eac-map__legend li { display: inline-flex; align-items: center; gap: 7px; }
.eac-map__legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.eac-map__legend .is-on { background: var(--map-on-0); }
.eac-map__legend .is-off { background: var(--map-off); }
.eac-map__legend .is-hq { background: var(--map-hq); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); border-radius: 0; width: 16px; height: 16px; }

.eac-map__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.eac-map__list a { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--eac-line-2); background: #fff; color: var(--eac-ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.eac-map__list a small { font-size: .78rem; color: var(--eac-muted); background: var(--eac-bg-2); border-radius: 999px; padding: 1px 7px; }
.eac-map__list a:hover, .eac-map__list a.is-hover { border-color: var(--eac-red); color: var(--eac-red); }

/* Dark backgrounds (home hero, page banners) */
.eac-hero .eac-map, .eac-page-hero .eac-map {
	--map-off: #353a42; --map-on-0: #c8262d; --map-on-1: #db3a40; --map-on-2: #b71f26;
	--map-hover: #ff6b70; --map-dim-fill: #5c2a2e; --map-border: #17191c; --map-border-w: 1.4;
	--map-label-off: #747b85; --map-label-shadow: rgba(0, 0, 0, .25);
	--map-pill: #fff; --map-pill-text: #17191c; --map-pill-hover: #e0353b; --map-leader: #f2f2f2;
	--map-hq: #ffc53d; --map-hq-stroke: #17191c; --map-edge: #fff;
}
.eac-hero .eac-map__tip, .eac-page-hero .eac-map__tip { background: #fff; color: var(--eac-ink); }
.eac-hero .eac-map__tip span, .eac-page-hero .eac-map__tip span { color: var(--eac-muted); }
.eac-hero .eac-map__legend, .eac-page-hero .eac-map__legend { color: #a4aab2; }
.eac-map--compact .eac-map__legend { display: none; }

/* Small screens: keep labels readable as the map scales down. */
@media (max-width: 600px) {
	.eac-map__labels text { font-size: 19px; }
	.eac-map__labels .is-off { font-size: 15px; }
	.eac-map__pill text { font-size: 16px; }
	.eac-map__hq text { font-size: 13px; }
	.eac-map__legend { font-size: .8rem; gap: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) { .eac-map__hq-pulse { animation: none; } }

/* ---------- Home: block "bands" ---------- */
.eac-content { padding: clamp(40px, 6vw, 72px) 0; }
.eac-content--home { padding: 0; }
/* Page content: one left-aligned column the width of the site; text stays at a readable width. */
.eac-content {
	display: grid; align-content: start;
	grid-template-columns: [full-start] minmax(var(--eac-gutter), 1fr) [content-start] minmax(0, var(--eac-wrap)) [content-end] minmax(var(--eac-gutter), 1fr) [full-end];
}
.eac-content > * { grid-column: content; min-width: 0; margin-top: 0; margin-bottom: 0; }
.eac-content > :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote):not(.alignwide):not(.alignfull):not(.eac-checklist) { max-width: 780px; }
.eac-content > .alignfull { grid-column: full; }
.eac-content > * + * { margin-top: 1.25rem; }
.eac-content > h2, .eac-content > h3 { margin-top: 2.6rem; }
.eac-content > .alignfull + .alignfull { margin-top: 0; }

.eac-band { padding: clamp(56px, 8vw, 104px) var(--eac-gutter); }
.eac-band > * + * { margin-top: 0; }
.eac-band > .wp-block-heading { margin-bottom: .35em; }
.eac-band .eac-eyebrow + .wp-block-heading { margin-top: 0; }
.eac-band > .wp-block-buttons { margin-top: 32px; }
.eac-band--muted { background: var(--eac-bg-2); }
.eac-section-lead { color: var(--eac-muted); font-size: 1.1rem; margin-bottom: 28px; }

.eac-hero {
	position: relative; overflow: hidden; color: #d7d9dc;
	background:
		radial-gradient(900px 480px at 85% 30%, rgba(163, 22, 28, .38), transparent 65%),
		linear-gradient(160deg, var(--eac-steel-2) 0%, var(--eac-ink) 75%);
	padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px);
}
.eac-hero::before {
	content: ""; position: absolute; left: -20%; right: 35%; top: 8%; height: 160%; border-radius: 50%;
	border-left: 18px solid rgba(163, 22, 28, .7); border-top: 6px solid rgba(163, 22, 28, .45); transform: rotate(-12deg); pointer-events: none;
}
.eac-hero > * { position: relative; z-index: 1; }
.eac-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.02; margin-bottom: .35em; }
.eac-hero .eac-eyebrow { color: #ff8d8f; }
.eac-hero .eac-lead { color: #c3c7cc; max-width: 34em; }
.eac-hero .wp-block-buttons { margin-top: 28px; }
.eac-hero .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.eac-hero .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--eac-ink); border-color: #fff; }
.eac-hero__cols { gap: clamp(24px, 4vw, 56px) !important; }
.eac-hero .eac-block--territory-map { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: clamp(12px, 2vw, 24px); }

.eac-band--stats { background: var(--eac-red); padding-top: 28px; padding-bottom: 28px; color: #fff; }
.eac-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.eac-stats li { display: flex; flex-direction: column; gap: 2px; padding: 6px 0 6px 18px; border-left: 2px solid rgba(255, 255, 255, .3); }
.eac-stats strong { font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--eac-display); color: #fff; }
.eac-stats span { font-size: .92rem; color: rgba(255, 255, 255, .82); }
.eac-content:not(.eac-content--home) .eac-stats, .eac-section .eac-stats { background: var(--eac-ink); border-radius: var(--eac-radius-lg); padding: 24px; }
@media (max-width: 760px) { .eac-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } }

.eac-band--stock { background: var(--eac-bg-2); }
.eac-split { gap: clamp(24px, 5vw, 64px) !important; }
.eac-split .wp-block-image img, .eac-content .wp-block-columns .wp-block-image img { border-radius: var(--eac-radius-lg); background: #fff; box-shadow: var(--eac-shadow); }
.eac-band--logos { background: #fff; }
.eac-band--why { background: var(--eac-bg-2); }

/* ---------- Territory cards ---------- */
ul.eac-territories { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.eac-territory-card { display: flex; background: #fff; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.eac-territory-card:hover { border-color: var(--eac-red); box-shadow: var(--eac-shadow); transform: translateY(-2px); }
.eac-territory-card__main { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 16px 18px; color: var(--eac-ink); text-decoration: none; }
.eac-territory-card__name { font-weight: 700; font-size: 1.08rem; }
.eac-territory-card__count { grid-row: 2; font-size: .88rem; color: var(--eac-muted); }
.eac-territory-card__main .eac-icon { grid-row: 1 / span 2; grid-column: 2; color: var(--eac-red); transition: transform .15s; }
.eac-territory-card:hover .eac-territory-card__main .eac-icon { transform: translateX(3px); }
.eac-territory-card__pdf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 14px; border-left: 1px solid var(--eac-line); color: var(--eac-muted); font-size: .75rem; font-weight: 700; text-decoration: none; letter-spacing: .05em; }
.eac-territory-card__pdf:hover { background: var(--eac-red-50); color: var(--eac-red); }

/* ---------- Product types ---------- */
.eac-types { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.eac-types a { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); color: var(--eac-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.eac-types a:hover { border-color: var(--eac-red); box-shadow: var(--eac-shadow); }
.eac-types .eac-icon { grid-row: 1 / span 2; width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--eac-red-50); color: var(--eac-red); }
.eac-types__name { font-weight: 700; line-height: 1.25; }
.eac-types__count { font-size: .85rem; color: var(--eac-muted); }

/* ---------- Logo wall ---------- */
.eac-logos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.eac-logos a { display: grid; place-items: center; height: 96px; padding: 14px 18px; background: #fff; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); transition: border-color .15s, box-shadow .15s, transform .15s; }
.eac-logos a:hover { border-color: var(--eac-line-2); box-shadow: var(--eac-shadow); transform: translateY(-2px); }
.eac-logos img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; }
.eac-line__logo-text { font: 700 1.05rem/1.2 var(--eac-display); color: var(--eac-ink); text-align: center; }

/* ---------- Features ---------- */
.eac-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px !important; }
.eac-features > .eac-feature { margin: 0 !important; }
.eac-feature { background: #fff; border: 1px solid var(--eac-line); border-top: 4px solid var(--eac-red); border-radius: var(--eac-radius); padding: 26px; }
.eac-feature h3 { margin-top: 0; }
.eac-feature p:last-child { margin-bottom: 0; color: var(--eac-muted); }
@media (max-width: 860px) { .eac-features { grid-template-columns: 1fr; } }

/* ---------- Line card (manufacturer cards + filters) ---------- */
.eac-lines__toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.eac-lines__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.eac-search { position: relative; flex: 1 1 280px; display: block; }
.eac-search .eac-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--eac-muted); }
.eac-search input, .eac-select select {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--eac-line-2); border-radius: 8px; background: #fff;
	font: inherit; color: var(--eac-ink); transition: border-color .15s, box-shadow .15s;
}
.eac-search input { padding-left: 42px; }
.eac-search input:focus, .eac-select select:focus { outline: none; border-color: var(--eac-red); box-shadow: 0 0 0 3px rgba(163, 22, 28, .15); }
.eac-select { flex: 0 1 240px; }
.eac-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 48px; border: 1px solid var(--eac-line-2); border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; user-select: none; }
.eac-toggle input { width: 18px; height: 18px; accent-color: var(--eac-red); }
.eac-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eac-chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 999px;
	border: 1px solid var(--eac-line-2); background: #fff; color: var(--eac-ink); font: 600 .9rem/1.2 var(--eac-font); cursor: pointer; transition: all .15s;
}
.eac-chip .eac-icon { width: 1.05em; height: 1.05em; color: var(--eac-red); }
.eac-chip:hover { border-color: var(--eac-red); }
.eac-chip.is-active { background: var(--eac-ink); border-color: var(--eac-ink); color: #fff; }
.eac-chip.is-active .eac-icon { color: #ff8d8f; }
.eac-lines__count { font-size: .92rem; color: var(--eac-muted); margin: 0 0 14px; font-weight: 600; }
.eac-lines__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.eac-lines__empty { padding: 24px; text-align: center; background: #fff; border: 1px dashed var(--eac-line-2); border-radius: var(--eac-radius); }
.eac-lines__legend { margin: 20px 0 0; font-size: .85rem; color: var(--eac-muted); }

.eac-line { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--eac-line); border-radius: var(--eac-radius-lg); overflow: hidden; transition: box-shadow .15s, border-color .15s, transform .15s; }
.eac-line:hover { box-shadow: var(--eac-shadow-lg); border-color: var(--eac-line-2); transform: translateY(-2px); }
.eac-line[hidden] { display: none; }
.eac-line__logo { display: grid; place-items: center; height: 112px; padding: 18px 24px; border-bottom: 1px solid var(--eac-line); background: #fff; }
.eac-line__logo img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.eac-line__body { padding: 18px 20px 6px; flex: 1; }
.eac-line__name { font-size: 1.12rem; margin: 0 0 4px; }
.eac-line__name a { color: var(--eac-ink); text-decoration: none; }
.eac-line__name a:hover { color: var(--eac-red); }
.eac-line__products { color: var(--eac-text); font-size: .98rem; line-height: 1.45; margin-bottom: 12px; }
.eac-line__meta { margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .88rem; }
.eac-line__meta > div { min-width: 0; }
.eac-line__coverage { grid-column: 1 / -1; }
.eac-line__meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eac-muted); }
.eac-line__meta dd { margin: 1px 0 0; color: var(--eac-ink); font-weight: 500; }
.eac-line__site { display: flex; align-items: center; gap: 6px; justify-content: space-between; margin-top: auto; padding: 12px 20px; border-top: 1px solid var(--eac-line); font-size: .9rem; font-weight: 600; color: var(--eac-red); text-decoration: none; background: #fcfbfa; }
.eac-line__site:hover { background: var(--eac-red-50); }

.eac-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; }
.eac-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.eac-badge .eac-icon { width: 14px; height: 14px; }
.eac-badge--stock { background: #e7f4ec; color: var(--eac-ok); }
.eac-badge--usa { background: #e9eef8; color: var(--eac-blue); }
.eac-badge--stock.is-remote { background: #eef0f2; color: #3f454c; }
.eac-badge .eac-flag { width: 19px; height: 10px; border-radius: 1.5px; }
.eac-badges--lg .eac-badge .eac-flag { width: 24px; height: 13px; }
.eac-line__logo { position: relative; }
.eac-line__flag { position: absolute; top: 10px; right: 10px; display: flex; line-height: 0; border-radius: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.eac-line__flag .eac-flag { width: 26px; height: 14px; display: block; border-radius: 2px; }
.eac-badges--lg .eac-badge { font-size: .95rem; padding: 6px 12px; }
.eac-empty { padding: 28px; background: #fff; border: 1px dashed var(--eac-line-2); border-radius: var(--eac-radius); text-align: center; }

/* ---------- Single manufacturer ---------- */
.eac-line-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.eac-facts { display: grid; gap: 0; margin: 0 0 24px; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); overflow: hidden; }
.eac-facts > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 18px; }
.eac-facts > div + div { border-top: 1px solid var(--eac-line); }
.eac-facts dt { font-weight: 700; color: var(--eac-muted); }
.eac-facts dd { margin: 0; color: var(--eac-ink); }
.eac-card { background: var(--eac-bg-2); border-radius: var(--eac-radius-lg); padding: 24px; }
.eac-card__title { font: 700 1.1rem/1.2 var(--eac-font); margin-bottom: 14px; }
.eac-card__foot { margin: 18px 0 0; font-size: .92rem; }
.eac-pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.eac-pill-list a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--eac-line-2); color: var(--eac-ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.eac-pill-list a:hover { border-color: var(--eac-red); color: var(--eac-red); }
@media (max-width: 860px) {
	.eac-line-detail { grid-template-columns: 1fr; }
	.eac-facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Territory intro ---------- */
.eac-territory-intro { font-size: 1.08rem; }
.eac-territory-intro h3 { font-size: 1.2rem; color: var(--eac-red-700); }

/* ---------- Team ---------- */
.eac-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.eac-team__member { background: #fff; border: 1px solid var(--eac-line); border-radius: var(--eac-radius-lg); padding: 24px; margin: 0 !important; }
.eac-team__member .wp-block-image { margin: 0 0 16px; }
.eac-team__member .wp-block-image img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; border: 4px solid var(--eac-red-50); }
.eac-team__member h3 { margin: 0; font-size: 1.3rem; }
.eac-team__role { margin: 2px 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eac-red); }
.eac-team__member p:last-child { font-size: .96rem; color: var(--eac-muted); margin-bottom: 0; }

/* ---------- Lists & tables in content ---------- */
.eac-checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; }
.eac-checklist li { position: relative; padding-left: 30px; }
.eac-checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--eac-red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3161c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.eac-content > .wp-block-heading { }
.eac-table table, .eac-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.eac-content .wp-block-table { overflow-x: auto; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); }
.eac-content .wp-block-table th { text-align: left; background: var(--eac-ink); color: #fff; font-weight: 700; padding: 12px 14px; border: 0; }
.eac-content .wp-block-table td { padding: 10px 14px; border: 0; border-top: 1px solid var(--eac-line); vertical-align: top; }
.eac-content .wp-block-table tbody tr:nth-child(even) td { background: #faf9f7; }
.eac-content .wp-block-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; white-space: nowrap; font-weight: 600; }
.eac-content .wp-block-table td:last-child, .eac-content .wp-block-table th:last-child { text-align: right; white-space: nowrap; }
.eac-content .eac-block--line-grid, .eac-content .eac-block--stats { margin-top: 24px; }

/* ---------- Contact & forms ---------- */
.eac-contact-cols { gap: clamp(24px, 5vw, 56px) !important; align-items: flex-start !important; }
.eac-contact-cols > .wp-block-column { align-self: flex-start !important; }
.eac-contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 4px; }
.eac-contact li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--eac-line); }
.eac-contact .eac-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--eac-red-50); color: var(--eac-red); }
.eac-contact__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eac-muted); }
.eac-contact__value { display: block; font-weight: 600; color: var(--eac-ink); }
.eac-contact__value a { color: inherit; text-decoration: none; }
.eac-contact__value a:hover { color: var(--eac-red); text-decoration: underline; }
.eac-social { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.eac-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--eac-line-2); color: var(--eac-ink); }
.eac-social a:hover { background: var(--eac-red); border-color: var(--eac-red); color: #fff; }

.eac-location-map { display: grid; gap: 14px; justify-items: start; }
.eac-location-map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; border-radius: var(--eac-radius-lg); background: var(--eac-bg-2); box-shadow: var(--eac-shadow); }

/* ---------- CTA band + footer ---------- */
.eac-cta-band { background: linear-gradient(120deg, var(--eac-red-700), var(--eac-red) 60%, #c0262d); color: #fff; padding: clamp(40px, 5vw, 56px) 0; }
.eac-cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.eac-cta-band h2 { color: #fff; margin: 0 0 .2em; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.eac-cta-band p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.1rem; }

.eac-footer { background: var(--eac-ink); color: #b9bdc3; font-size: .96rem; }
.eac-footer__grid { display: grid; grid-template-columns: 1.3fr 1.3fr .9fr 1.1fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.eac-footer__brand img { width: 150px; margin-bottom: 14px; }
.eac-footer__brand p { max-width: 320px; }
.eac-footer__title { font: 700 .8rem/1.2 var(--eac-font); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.eac-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eac-footer__links--cols { display: block; columns: 2; column-gap: 16px; }
.eac-footer__links--cols li { break-inside: avoid; margin-bottom: 8px; }
.eac-footer a { color: #d7d9dc; text-decoration: none; }
.eac-footer a:hover { color: #fff; text-decoration: underline; }
.eac-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eac-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.eac-footer__contact .eac-icon { color: #ff8d8f; margin-top: 3px; }
.eac-footer .eac-social { margin-top: 14px; }
.eac-social .eac-icon { width: 17px; height: 17px; }
.eac-footer .eac-social a { border-color: #3a3f46; color: #d7d9dc; }
.eac-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid #2c3036; font-size: .88rem; color: #8d939b; }
.eac-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .eac-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .eac-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Misc ---------- */
.eac-post-teaser { padding: 20px 0; border-bottom: 1px solid var(--eac-line); }
.eac-post-teaser h2 { font-size: 1.6rem; margin-bottom: .2em; }
.eac-post-teaser h2 a { color: var(--eac-ink); text-decoration: none; }

@media (max-width: 781px) {
	.eac-hero .wp-block-column { flex-basis: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Editor tweaks (applied inside the block editor only) ---------- */
.eac-editor-preview a { pointer-events: none; }
.editor-styles-wrapper .eac-band { padding-left: 24px; padding-right: 24px; }

@media (max-width: 600px) {
	.eac-types { grid-template-columns: 1fr 1fr; gap: 10px; }
	.eac-types a { grid-template-columns: 1fr; row-gap: 8px; padding: 14px; }
	.eac-types .eac-icon { grid-row: auto; width: 40px; height: 40px; padding: 9px; }
	ul.eac-territories { grid-template-columns: 1fr 1fr; gap: 10px; }
	.eac-territory-card { flex-direction: column; }
	.eac-territory-card__main { padding: 14px; }
	.eac-territory-card__main .eac-icon { display: none; }
	.eac-territory-card__pdf { flex-direction: row; gap: 6px; padding: 8px 14px; border-left: 0; border-top: 1px solid var(--eac-line); justify-content: flex-start; }
	.eac-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.eac-logos a { height: 72px; padding: 10px; }
	.eac-logos img { max-height: 46px; }
}

@media (max-width: 960px) {
	.eac-menu .eac-menu-button { margin: 14px 0 0; }
	.eac-menu .eac-menu-button > a { justify-content: center; border: 2px solid var(--eac-red); border-radius: 8px; }
}

/* ---------- Live stock (Zoho) ---------- */
.eac-stock { margin-top: 8px; }
.eac-stock__head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.eac-stock__title { margin: 0; }
.eac-stock__updated { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: .9rem; color: var(--eac-muted); }
.eac-stock__head .eac-search { flex: 0 1 360px; }
.eac-stock__pick { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eac-muted); }
.eac-stock__step { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--eac-red); color: #fff; font-size: .75rem; letter-spacing: 0; }
.eac-stock__locs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--eac-bg-2); border: 1px solid var(--eac-line); border-radius: 12px; }
.eac-stock__loc-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 9px; background: transparent;
	font: inherit; font-weight: 700; color: var(--eac-ink); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.eac-stock__loc-btn .eac-icon { width: 18px; height: 18px; color: var(--eac-red); }
.eac-stock__loc-btn:hover { background: #fff; }
.eac-stock__loc-btn.is-active { background: var(--eac-ink); color: #fff; box-shadow: var(--eac-shadow); }
.eac-stock__loc-btn.is-active .eac-icon { color: #fff; }
.eac-stock__loc-btn[disabled] { opacity: .45; cursor: not-allowed; }
.eac-stock__loc-count { font-size: .8rem; font-weight: 600; opacity: .7; }
.eac-stock__mfrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.eac-stock__mfr-btn {
	display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 12px 12px; text-align: center;
	background: #fff; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); cursor: pointer; font: inherit; color: var(--eac-ink);
	transition: border-color .15s, box-shadow .15s, transform .15s, opacity .15s, filter .15s;
}
.eac-stock__mfr-btn:hover { border-color: var(--eac-line-2); box-shadow: var(--eac-shadow); transform: translateY(-1px); }
.eac-stock__mfr-btn.is-active { border-color: var(--eac-red); box-shadow: 0 0 0 2px var(--eac-red) inset, var(--eac-shadow); }
.eac-stock__mfr-btn.is-unavailable { opacity: .42; filter: grayscale(1); cursor: not-allowed; background: var(--eac-bg-2); box-shadow: none; transform: none; border-color: var(--eac-line); }
.eac-stock__mfr-logo { display: grid; place-items: center; width: 100%; height: 52px; flex: none; }
.eac-stock__mfr-logo img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; }
.eac-stock__mfr-logo span { font: 700 1.05rem/1.1 var(--eac-display); text-align: center; color: var(--eac-ink); }
.eac-stock__mfr-name { font-size: .86rem; font-weight: 700; line-height: 1.2; margin-top: 6px; }
.eac-stock__mfr-makes { font-size: .78rem; line-height: 1.35; color: var(--eac-text); }
.eac-stock__mfr-count { margin-top: auto; padding-top: 6px; font-size: .76rem; font-weight: 700; color: var(--eac-red); }
.eac-stock__mfr-btn.is-unavailable .eac-stock__mfr-count { color: var(--eac-muted); }
.eac-stock.is-searching .eac-stock__mfr-btn { opacity: .55; }
.eac-stock__mfr { margin-top: 22px; background: #fff; border: 1px solid var(--eac-line); border-radius: var(--eac-radius-lg); padding: clamp(16px, 2.4vw, 26px); }
.eac-stock__mfr[hidden], .eac-stock__loc[hidden] { display: none; }
.eac-stock__mfr-head { display: flex; gap: 20px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--eac-line); margin-bottom: 18px; }
.eac-stock__mfr-headlogo { flex: none; width: 150px; height: 84px; display: grid; place-items: center; padding: 10px; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); }
.eac-stock__mfr-headlogo img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; }
.eac-stock__mfr-info h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 4px; font-size: 1.35rem; }
.eac-stock__mfr-info h3 .eac-badge { font-size: .78rem; }
.eac-stock__mfr-desc { margin: 0 0 6px; color: var(--eac-text); }
.eac-stock__mfr-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: .9rem; font-weight: 600; }
.eac-stock__mfr-links a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.eac-stock__mfr-links a:hover { text-decoration: underline; }
.eac-stock__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 20px; }
.eac-stock__facts > div { padding: 12px 14px; background: var(--eac-bg-2); border-left: 3px solid var(--eac-red); border-radius: 0 var(--eac-radius) var(--eac-radius) 0; }
.eac-stock__facts dt { margin: 0 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eac-muted); }
.eac-stock__facts dd { margin: 0; font-weight: 600; color: var(--eac-ink); line-height: 1.35; }
.eac-stock__loc + .eac-stock__loc { margin-top: 20px; }
.eac-stock__loc-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0 0 10px; }
.eac-stock__loc-title .eac-icon { color: var(--eac-red); }
.eac-stock__loc-title span { font-size: .85rem; font-weight: 600; color: var(--eac-muted); }
.eac-stock__wrap { max-height: 520px; overflow: auto; border: 1px solid var(--eac-line); border-radius: var(--eac-radius); background: #fff; }
.eac-stock__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
@media (min-width: 641px) {
	.eac-stock__table { table-layout: fixed; }
	.eac-stock__table th:first-child { width: 36%; }
	.eac-stock__table th.is-num { width: 140px; }
}
.eac-stock__table th { position: sticky; top: 0; z-index: 1; text-align: left; background: var(--eac-ink); color: #fff; font-weight: 700; padding: 11px 14px; white-space: nowrap; }
.eac-stock__table td { padding: 10px 14px; border-top: 1px solid var(--eac-line); vertical-align: top; }
.eac-stock__table tbody tr:nth-child(even) td { background: #faf9f7; }
.eac-stock__table .is-item { font-weight: 600; color: var(--eac-ink); min-width: 180px; }
.eac-stock__table .is-desc { color: var(--eac-muted); font-size: .9rem; }
.eac-stock__table .is-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--eac-ink); }
.eac-stock__table th.is-num { color: #fff; }
.eac-stock__table tr.is-zero .is-num { color: var(--eac-muted); font-weight: 500; }
.eac-stock__table tr[hidden] { display: none; }
.eac-stock__note { margin: 14px 0 0; font-size: .88rem; color: var(--eac-muted); }
@media (max-width: 640px) {
	.eac-stock__mfrs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.eac-stock__mfr-makes { font-size: .74rem; }
	.eac-stock__locs { display: flex; }
	.eac-stock__loc-btn { flex: 1; justify-content: center; padding: 10px 8px; }
	.eac-stock__loc-count { display: none; }
	.eac-stock__mfr-head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.eac-stock__mfr-headlogo { width: 130px; height: 70px; }
	.eac-stock__wrap { max-height: none; border: 0; background: none; overflow: visible; }
	.eac-stock__table thead { display: none; }
	.eac-stock__table, .eac-stock__table tbody, .eac-stock__table td { display: block; }
	.eac-stock__table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; margin-bottom: 8px; background: var(--eac-bg-2); border-radius: var(--eac-radius); }
	.eac-stock__table tbody tr:nth-child(even) td { background: none; }
	.eac-stock__table td { border: 0; padding: 0; min-width: 0; }
	.eac-stock__table td.is-item { grid-column: 1; min-width: 0; }
	.eac-stock__table td.is-desc { grid-column: 1; font-size: .85rem; }
	.eac-stock__table td.is-num { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.05rem; }
	.eac-stock__table td:empty { display: none; }
}

/* ---------- Delivery map ---------- */
.eac-dmap { margin: 0; padding: clamp(10px, 1.6vw, 16px); background: radial-gradient(120% 90% at 70% 10%, #2a2f36 0%, var(--eac-ink) 70%); border-radius: var(--eac-radius-lg); box-shadow: var(--eac-shadow-lg); }
.eac-dmap__svg { display: block; width: 100%; height: auto; border-radius: 10px; font-family: var(--eac-font); }
.eac-dmap__state { fill: #252a30; stroke: #3d434c; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.eac-dmap__state.is-home { fill: #343a43; stroke: #59616c; }
.eac-dmap__names text { fill: #6f7782; font: 700 13px/1 var(--eac-display); letter-spacing: .32em; text-anchor: middle; }
.eac-dmap__zone { opacity: .2; }
.eac-dmap__zone path { fill: #ff3b44; stroke: #ff3b44; stroke-width: 44; stroke-linejoin: round; }
.eac-dmap__road { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.eac-dmap__road.is-i { stroke: #8f98a3; stroke-width: 2.6; }
.eac-dmap__road.is-us, .eac-dmap__road.is-sh { stroke: #69717c; stroke-width: 1.6; }
.eac-dmap__shield text { font: 700 10.5px/1 var(--eac-font); text-anchor: middle; }
.eac-dmap__shield.is-i path { fill: #2457a6; stroke: #fff; stroke-width: 1.2; }
.eac-dmap__shield.is-i text { fill: #fff; }
.eac-dmap__shield.is-us rect, .eac-dmap__shield.is-sh rect { fill: #f1f2f3; stroke: #17191c; stroke-width: 1; }
.eac-dmap__shield.is-us text, .eac-dmap__shield.is-sh text { fill: #17191c; }
.eac-dmap__towns circle { fill: #aab1b9; }
.eac-dmap__towns text { fill: #b9bfc6; font-size: 13px; font-weight: 500; paint-order: stroke; stroke: #22262b; stroke-width: 3.5px; stroke-linejoin: round; }
.eac-dmap__city circle { fill: #fff; stroke: var(--eac-ink); stroke-width: 2; }
.eac-dmap__city text { fill: #fff; font: 700 17px/1 var(--eac-display); letter-spacing: .02em; paint-order: stroke; stroke: var(--eac-ink); stroke-width: 4px; stroke-linejoin: round; }
.eac-dmap__dest circle { fill: #fff; }
.eac-dmap__dest .eac-dmap__ring, .eac-dmap__inset .eac-dmap__ring { fill: none; stroke: #ff5a61; stroke-width: 2.5; }
.eac-dmap__dest text { fill: #fff; font-size: 16px; font-weight: 700; paint-order: stroke; stroke: var(--eac-ink); stroke-width: 4px; stroke-linejoin: round; }
.eac-dmap__truck circle { fill: #fff; }
.eac-dmap__truck path, .eac-dmap__truck g circle { fill: none; stroke: var(--eac-red); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.eac-dmap__truck g circle { fill: #fff; }
.eac-dmap__hq path { fill: #ffc53d; stroke: var(--eac-ink); stroke-width: .8; }
.eac-dmap__hq text { fill: #fff; font: 700 18px/1 var(--eac-display); letter-spacing: .02em; paint-order: stroke; stroke: var(--eac-ink); stroke-width: 4px; stroke-linejoin: round; }
.eac-dmap__hq text.is-sub { fill: #c9ced4; font: 500 14px/1 var(--eac-font); letter-spacing: 0; }
.eac-dmap__pulse { fill: #ffc53d; opacity: .35; transform-origin: 0 0; animation: eac-dmap-pulse 2.4s ease-out infinite; }
@keyframes eac-dmap-pulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .eac-dmap__pulse { animation: none; } }
.eac-dmap__inset rect { fill: #fff; }
.eac-dmap__az { fill: var(--eac-red-100); stroke: var(--eac-red); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.eac-dmap__inset .eac-dmap__phx { fill: var(--eac-red); }
.eac-dmap__inset text { fill: var(--eac-ink); }
.eac-dmap__inset .is-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; fill: var(--eac-red); }
.eac-dmap__inset .is-big { font: 700 24px/1 var(--eac-display); }
.eac-dmap__inset .is-sub { font-size: 13px; fill: var(--eac-muted); }
.eac-dmap__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0 2px; padding: 0; list-style: none; font-size: .8rem; color: #c9ced4; }
.eac-dmap__legend li { display: inline-flex; align-items: center; gap: 7px; }
.eac-dmap__legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.eac-dmap__legend .is-hq { background: #ffc53d; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 71% 60%, 81% 100%, 50% 77%, 19% 100%, 29% 60%, 0 38%, 37% 35%); border-radius: 0; }
.eac-dmap__legend .is-zone { background: rgba(255, 59, 68, .35); border-radius: 4px; }
.eac-dmap__legend .is-dest { width: 9px; height: 9px; background: #fff; box-shadow: 0 0 0 2px var(--eac-ink), 0 0 0 4.5px #ff5a61; margin: 0 3px; }
.eac-dmap__legend .is-road { width: 22px; height: 0; border-top: 3px solid #8f98a3; border-radius: 0; }
.eac-badge--stock a { display: inline-flex; align-items: center; gap: inherit; color: inherit; text-decoration: none; }
.eac-badge--stock a:hover { text-decoration: underline; }
.eac-line-stock { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 0; padding: 14px 16px; background: var(--eac-red-50); border-radius: var(--eac-radius); font-weight: 600; color: var(--eac-ink); }
.eac-line-stock > .eac-icon { color: var(--eac-red); flex: none; }
.eac-line-stock span { flex: 1 1 220px; }
.eac-line-stock .eac-btn { padding-block: 8px; }
