/* Store locator -- modern card + map layout. Uses the real brand system
   (navy/red/gold) and the site's actual self-hosted font (Kumbh Sans, see
   hh-performance.php) rather than an unloaded Google Font. */

.hloc {
	--navy: #00205B;
	--navy-mid: #243060;
	--red: #C62828;
	--red-hover: #B71C1C;
	--gold: #FFD100;
	--green: #1B8A4C;
	--surface: #F9FAFB;
	--border: #E5E7EB;
	--text-1: #111827;
	--text-2: #374151;
	--text-3: #6B7280;
	font-family: "Kumbh Sans", sans-serif;
	color: var(--text-1);
}

.hloc * { box-sizing: border-box; }

/* ── HERO ── */
.hloc-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
	padding: 56px 24px 64px;
	text-align: center;
}

.hloc-hero-inner { max-width: 720px; margin: 0 auto; }

.hloc-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 12px;
}

.hloc-hero h1 {
	font-size: 36px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 14px;
	line-height: 1.15;
}

.hloc-sub {
	color: rgba(255,255,255,0.78);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 28px;
}

.hloc-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	align-items: stretch;
}

.hloc-search-field {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-radius: 8px;
	padding: 0 16px;
	min-width: 260px;
	flex: 1 1 260px;
}

.hloc-search-field svg { color: var(--text-3); flex-shrink: 0; }

.hloc-search-field input {
	border: none;
	outline: none;
	height: 48px;
	font-size: 15px;
	font-family: inherit;
	color: var(--text-1);
	width: 100%;
	background: transparent;
}

.hloc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	white-space: nowrap;
}

.hloc-btn--primary { background: var(--red); color: #fff; }
.hloc-btn--primary:hover { background: var(--red-hover); }

.hloc-btn--ghost {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255,255,255,0.4);
}
.hloc-btn--ghost:hover { border-color: #fff; }

.hloc-error {
	margin: 14px 0 0;
	color: #FFD1D1;
	font-size: 13px;
	font-weight: 600;
}

/* ── BODY: list + map ── */
.hloc-body {
	display: grid;
	grid-template-columns: minmax(340px, 420px) 1fr;
	gap: 0;
	max-width: 1400px;
	margin: 0 auto;
	min-height: 640px;
}

.hloc-list {
	border-right: 1px solid var(--border);
	background: var(--surface);
	display: flex;
	flex-direction: column;
	max-height: 720px;
}

.hloc-list-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid var(--border);
	background: #fff;
}

.hloc-list-head span:first-child {
	font-weight: 800;
	color: var(--navy);
	font-size: 14px;
}

.hloc-list-sub {
	font-size: 12px;
	color: var(--text-3);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hloc-cards {
	overflow-y: auto;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.hloc-status-msg {
	text-align: center;
	color: var(--text-3);
	font-size: 14px;
	padding: 40px 0;
}

.hloc-card {
	background: #fff;
	border: 1px solid var(--border);
	border-left: 3px solid transparent;
	border-radius: 10px;
	padding: 16px 18px;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.hloc-card:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	transform: translateY(-1px);
}

.hloc-card.is-active {
	border-left-color: var(--red);
	box-shadow: 0 4px 14px rgba(0,32,91,0.12);
}

.hloc-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.hloc-card-top h3 {
	font-size: 16px;
	font-weight: 800;
	color: var(--navy);
	margin: 0;
	line-height: 1.3;
}

.hloc-card-dist {
	flex-shrink: 0;
	background: var(--navy);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 20px;
	white-space: nowrap;
}

.hloc-card-addr {
	font-size: 13px;
	color: var(--text-2);
	line-height: 1.5;
	margin: 0 0 10px;
}

.hloc-card-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 12px;
}

.hloc-card-meta .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	display: inline-block;
}

.hloc-status.is-open { color: var(--green); }
.hloc-status.is-open .dot { background: var(--green); }
.hloc-status.is-closed { color: #B91C1C; }
.hloc-status.is-closed .dot { background: #B91C1C; }

/* One quiet line of supporting detail instead of a row of boxed pills --
   bordered badges next to bordered buttons was too much competing chrome. */
.hloc-card-services {
	font-size: 12px;
	color: var(--text-3);
	margin: 0 0 14px;
	line-height: 1.5;
}

.hloc-svc-more { color: var(--text-3); font-weight: 600; }

/* Primary action: gold, full-width, the one decision this page exists for.
   Comes before the lighter secondary actions, not after, so it reads as
   the main event rather than one button among five. */
.hloc-card-select-row { margin-bottom: 10px; }

.hloc-btn--gold {
	width: 100%;
	height: 42px;
	background: var(--gold);
	color: var(--navy);
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.18s ease;
}
.hloc-btn--gold:hover { background: #E6BC00; }

.hloc-btn--gold.is-selected {
	background: var(--navy);
	color: var(--gold);
}
.hloc-btn--gold.is-selected:hover { background: var(--navy-mid); }

.hloc-card.is-selected {
	border-color: var(--gold);
	box-shadow: 0 0 0 2px rgba(255,209,0,0.35);
}

/* Secondary actions: smaller and quieter than the primary CTA above --
   Directions/Call as compact outline buttons, "View Store details" as a
   plain link rather than a third boxed button. */
.hloc-card-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.hloc-btn--sm {
	height: 34px;
	padding: 0 13px;
	font-size: 12px;
}

.hloc-btn--sm.hloc-btn--outline {
	background: #fff;
	color: var(--navy);
	border: 1.5px solid var(--border);
}
.hloc-btn--sm.hloc-btn--outline:hover { border-color: var(--navy); }

.hloc-btn--sm.hloc-btn--ghost {
	background: #fff;
	color: var(--navy);
	border: 1.5px solid var(--border);
}
.hloc-btn--sm.hloc-btn--ghost:hover { border-color: var(--navy); }

.hloc-card-link {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--navy);
	text-decoration: none;
	margin-left: auto;
}
.hloc-card-link:hover { color: var(--red); }

/* ── MAP ── */
.hloc-map-wrap { position: relative; }

#hloc-map {
	position: sticky;
	top: 0;
	height: 720px;
	width: 100%;
	background: var(--surface);
}

.hloc-pin {
	width: 30px;
	height: 30px;
	border-radius: 50% 50% 50% 0;
	background: var(--navy);
	transform: rotate(-45deg);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.35);
	border: 2px solid #fff;
}

.hloc-pin svg { transform: rotate(45deg); color: #fff; width: 14px; height: 14px; }

.hloc-pin.is-active { background: var(--red); width: 36px; height: 36px; }

.leaflet-popup-content-wrapper { border-radius: 8px; }
.leaflet-popup-content { font-family: "Kumbh Sans", sans-serif; margin: 12px 14px; }
.hloc-popup strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 4px; }
.hloc-popup span { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.hloc-popup a { font-size: 12px; font-weight: 700; color: var(--red); text-decoration: none; }
.hloc-popup a:hover { color: var(--red-hover); }

/* ── LAYER CONTROL (Map / Satellite toggle) ── */
.leaflet-control-layers {
	border-radius: 8px !important;
	border: none !important;
	box-shadow: 0 2px 10px rgba(0,0,0,0.18) !important;
	font-family: "Kumbh Sans", sans-serif;
}
.leaflet-control-layers-toggle {
	width: 36px !important;
	height: 36px !important;
}
.leaflet-control-layers-expanded {
	padding: 10px 14px !important;
	color: var(--text-1);
}
.leaflet-control-layers label { font-size: 13px; font-weight: 600; margin-bottom: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
	.hloc-hero h1 { font-size: 28px; }
	.hloc-search { flex-wrap: wrap; }
	.hloc-search-field { flex: 0 0 100%; height: 48px; }
	.hloc-btn--primary { flex: 1; }
	.hloc-btn--ghost { flex: 1; }
	.hloc-body { grid-template-columns: 1fr; min-height: 0; }
	.hloc-list { border-right: none; border-top: 1px solid var(--border); max-height: none; }
	.hloc-map-wrap { display: none; }
	#hloc-map { position: relative; height: 320px; }
	.hloc-cards { max-height: 600px; }
}
