/* =========================================================
   Albira — Autókereskedések (/autokereskedesek/, megye, város)
   TELEFON (max. 760px, 360–430px-re tervezve). A PC-s kinézet: dealers-pc.css.
   Csak body.kmae-dealers-page alatt. Vevői oldal: kék.
   App-szerű: kék fejléc-kártya számokkal és radar-körökkel, rálógó
   üveg kereső gyors keresés sorral, gazdag kereskedő-kártyák ikonos
   gombokkal, ársávval, megyék Magyarország-térképpel.
   Elmosott üveg (backdrop-filter) csak a kereső panelen.
   ========================================================= */

body.kmae-dealers-page {
	--kd-blue: #008fbd;
	--kd-blue-deep: #0b3a66;
	--kd-blue-mid: #0a5f9e;
	--kd-blue-neon: #00c7f7;
	--kd-blue-light: #82edff;
	--kd-ink: #1d2b3a;
	--kd-muted: #4d5d6e;
	--kd-line: rgba(0, 199, 247, 0.34);
	--kd-glass: linear-gradient(150deg, rgba(240, 252, 255, 0.96), rgba(255, 255, 255, 0.9));
	--kd-shadow:
		0 1px 2px rgba(38, 68, 90, 0.08),
		0 8px 20px rgba(38, 68, 90, 0.1),
		0 24px 52px rgba(0, 143, 189, 0.12),
		inset 0 1px 0 #ffffff;
	--kd-shadow-sm:
		0 1px 2px rgba(38, 68, 90, 0.06),
		0 6px 14px rgba(38, 68, 90, 0.08),
		inset 0 1px 0 #ffffff;
	--kd-cta: linear-gradient(100deg, #1a5fd0 0%, #1f7fe0 45%, #12a6f0 100%);
	--kd-cta-shadow:
		0 2px 4px rgba(20, 90, 180, 0.16),
		0 10px 24px rgba(20, 130, 230, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	--kd-press: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;

	/* Ikonok (maszk: a szín a background-color). */
	--kd-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M10.5 3a7.5 7.5 0 0 1 5.96 12.05l4.25 4.24-1.42 1.42-4.24-4.25A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E");
	--kd-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a7 7 0 0 1 7 7c0 5.25-7 13-7 13S5 14.25 5 9a7 7 0 0 1 7-7Zm0 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Z'/%3E%3C/svg%3E");
	--kd-i-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M5 11l1.5-4.5A2 2 0 0 1 8.4 5h7.2a2 2 0 0 1 1.9 1.5L19 11a2 2 0 0 1 2 2v4a1 1 0 0 1-1 1h-1a2 2 0 0 1-4 0H9a2 2 0 0 1-4 0H4a1 1 0 0 1-1-1v-4a2 2 0 0 1 2-2Zm2.1 0h9.8l-1.2-3.6a.5.5 0 0 0-.47-.4H8.77a.5.5 0 0 0-.47.4L7.1 11ZM6.5 15.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm11 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z'/%3E%3C/svg%3E");
	--kd-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8Z'/%3E%3C/svg%3E");
	--kd-i-route: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3 3 10.53l7.5 2.97L13.47 21 21 3Z'/%3E%3C/svg%3E");
	--kd-i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 6h-2.95a15.7 15.7 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.9 8ZM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96ZM4.26 14a8.2 8.2 0 0 1 0-4h3.38a16.5 16.5 0 0 0 0 4H4.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.99 7.99 0 0 1 5.08 16Zm2.95-8H5.08a7.99 7.99 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8ZM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM14.34 14H9.66a14.7 14.7 0 0 1 0-4h4.68a14.7 14.7 0 0 1 0 4Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM16.36 14a16.5 16.5 0 0 0 0-4h3.38a8.2 8.2 0 0 1 0 4h-3.38Z'/%3E%3C/svg%3E");
	--kd-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z'/%3E%3C/svg%3E");
	--kd-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.6 16.6 13.2 12 8.6 7.4 10 6l6 6-6 6-1.4-1.4Z'/%3E%3C/svg%3E");
	--kd-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V8l8-5 8 5v13h-6v-6h-4v6H4Z'/%3E%3C/svg%3E");
	--kd-i-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M3 6h18a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm1 2v8h16V8H4Zm8 1.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z'/%3E%3C/svg%3E");
	--kd-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm-1 8v7h2v-7h-2Zm0-3v2h2V7h-2Z'/%3E%3C/svg%3E");

	/* Színes ikonok a beviteli mezőkbe (ott nincs ::before). */
	--kd-b-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23008fbd' fill-rule='evenodd' d='M10.5 3a7.5 7.5 0 0 1 5.96 12.05l4.25 4.24-1.42 1.42-4.24-4.25A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E");
	--kd-b-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23008fbd' fill-rule='evenodd' d='M3 6h18a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Zm1 2v8h16V8H4Zm8 1.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z'/%3E%3C/svg%3E");
}

/* ---------- Váz ---------- */

/* A felső térköz a témáé (.kmae-page, a fix fejléc alatt); itt oldalt és alul (iPhone-sáv is). */
body.kmae-dealers-page .kmae-dealers {
	padding-right: 16px;
	padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
	padding-left: 16px;
	color: var(--kd-ink);
	-webkit-tap-highlight-color: transparent;
}

body.kmae-dealers-page .kmae-dealers__wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}

/* ---------- Morzsamenü: egy sor, oldalra húzható ---------- */

body.kmae-dealers-page .kmae-dealers__crumbs {
	margin: 0 -16px 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

body.kmae-dealers-page .kmae-dealers__crumbs::-webkit-scrollbar {
	display: none;
}

body.kmae-dealers-page .kmae-dealers__crumbs ol {
	display: flex;
	align-items: center;
	gap: 4px;
	width: max-content;
	margin: 0;
	padding: 0 16px;
	list-style: none;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--kd-muted);
	white-space: nowrap;
}

body.kmae-dealers-page .kmae-dealers__crumbs li + li::before {
	content: "›";
	margin-right: 4px;
	opacity: 0.55;
}

body.kmae-dealers-page .kmae-dealers__crumbs a {
	display: inline-block;
	padding: 4px 9px;
	border: 1px solid var(--kd-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 2px 6px rgba(38, 68, 90, 0.06), inset 0 1px 0 #ffffff;
	color: var(--kd-blue);
	text-decoration: none;
}

body.kmae-dealers-page .kmae-dealers__crumbs [aria-current] {
	font-weight: 800;
	color: var(--kd-blue-deep);
}

/* ---------- Fejléc: kék app-kártya, számokkal ---------- */

body.kmae-dealers-page .kmae-dealers__hero {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	margin: 0 0 14px;
	padding: 20px 18px 48px;
	border: 1px solid rgba(130, 237, 255, 0.45);
	border-radius: 26px;
	background:
		radial-gradient(circle at 92% -8%, rgba(130, 237, 255, 0.55), transparent 42%),
		radial-gradient(circle at -6% 108%, rgba(0, 199, 247, 0.5), transparent 48%),
		linear-gradient(155deg, var(--kd-blue-deep) 0%, var(--kd-blue-mid) 52%, #0896c8 100%);
	box-shadow:
		0 2px 4px rgba(11, 58, 102, 0.12),
		0 14px 30px rgba(11, 58, 102, 0.22),
		0 30px 60px rgba(0, 143, 189, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
	color: #ffffff;
	text-align: left;
}

/* Neon fénycsík fent. */
body.kmae-dealers-page .kmae-dealers__hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 10%;
	right: 10%;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--kd-blue-neon), var(--kd-blue-light), transparent);
	box-shadow: 0 0 12px rgba(0, 199, 247, 0.8);
}

/* Radar-körök a jobb felső sarokban (a távolság szerinti keresés jele). */
body.kmae-dealers-page .kmae-dealers__hero::after {
	content: "";
	position: absolute;
	top: -90px;
	right: -110px;
	width: 300px;
	height: 300px;
	background: repeating-radial-gradient(circle, rgba(130, 237, 255, 0.28) 0 1px, transparent 1.5px 30px);
	-webkit-mask: radial-gradient(circle, #000 0 25%, transparent 70%);
	mask: radial-gradient(circle, #000 0 25%, transparent 70%);
	pointer-events: none;
}

body.kmae-dealers-page .kmae-dealers__hero > * {
	position: relative;
	z-index: 1;
}

body.kmae-dealers-page .kmae-dealers__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 10px;
	padding: 5px 11px 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: #ffffff;
}

body.kmae-dealers-page .kmae-dealers__eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--kd-blue-light);
	box-shadow: 0 0 0 3px rgba(130, 237, 255, 0.25), 0 0 10px var(--kd-blue-neon);
}

body.kmae-dealers-page .kmae-dealers__title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 7vw, 2rem);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(11, 58, 102, 0.35);
}

body.kmae-dealers-page .kmae-dealers__lead {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.86);
}

body.kmae-dealers-page .kmae-dealers__lead strong {
	color: #ffffff;
}

/* Számok: 3 üveg csempe. */
body.kmae-dealers-page .kmae-dealers__mstats {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

body.kmae-dealers-page .kmae-dealers__mstat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 34px 10px 10px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 16px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07));
	box-shadow:
		0 4px 12px rgba(11, 58, 102, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.kmae-dealers-page .kmae-dealers__mstat::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	width: 18px;
	height: 18px;
	background: var(--kd-blue-light);
	-webkit-mask: var(--kd-i-home) center / contain no-repeat;
	mask: var(--kd-i-home) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealers__mstat--car::before {
	-webkit-mask-image: var(--kd-i-car);
	mask-image: var(--kd-i-car);
}

body.kmae-dealers-page .kmae-dealers__mstat--pin::before {
	-webkit-mask-image: var(--kd-i-pin);
	mask-image: var(--kd-i-pin);
}

body.kmae-dealers-page .kmae-dealers__mstat b {
	overflow: hidden;
	font-size: 1.18rem;
	line-height: 1.1;
	font-weight: 800;
	color: #ffffff;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.kmae-dealers-page .kmae-dealers__mstat span {
	font-size: 0.7rem;
	line-height: 1.25;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.78);
}

body.kmae-dealers-page .kmae-dealers__mfresh {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	font-size: 0.74rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.78);
}

body.kmae-dealers-page .kmae-dealers__mfresh::before {
	content: "";
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	background: #6ee7a0;
	-webkit-mask: var(--kd-i-check) center / contain no-repeat;
	mask: var(--kd-i-check) center / contain no-repeat;
	filter: drop-shadow(0 0 4px rgba(110, 231, 160, 0.7));
}

/* ---------- Kereső panel (az egyetlen elmosott üveg; rálóg a fejlécre) ---------- */

body.kmae-dealers-page .kmae-dealers__search {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	margin: -42px 8px 20px;
	padding: 18px 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 24px;
	background:
		radial-gradient(circle at 8% 0%, rgba(0, 199, 247, 0.16), transparent 42%),
		radial-gradient(circle at 50% 120%, rgba(130, 237, 255, 0.22), transparent 55%),
		linear-gradient(135deg, rgba(240, 252, 255, 0.9), rgba(255, 255, 255, 0.86));
	box-shadow:
		0 2px 4px rgba(38, 68, 90, 0.06),
		0 14px 32px rgba(38, 68, 90, 0.16),
		0 30px 60px rgba(0, 143, 189, 0.14),
		inset 0 1px 0 #ffffff;
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
	transition: box-shadow 0.2s ease;
}

/* Gépelés közben a panel kék fényt kap. */
body.kmae-dealers-page .kmae-dealers__search:focus-within {
	box-shadow:
		0 2px 4px rgba(38, 68, 90, 0.06),
		0 14px 32px rgba(38, 68, 90, 0.16),
		0 30px 60px rgba(0, 143, 189, 0.18),
		0 0 0 5px rgba(0, 199, 247, 0.14),
		0 0 36px rgba(0, 199, 247, 0.26),
		inset 0 1px 0 #ffffff;
}

body.kmae-dealers-page .kmae-dealers__search::before {
	content: "";
	position: absolute;
	top: 0;
	left: 12%;
	right: 12%;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--kd-blue-neon), var(--kd-blue-light), transparent);
	box-shadow: 0 0 10px rgba(0, 199, 247, 0.6);
}

body.kmae-dealers-page .kmae-dealers__label {
	display: block;
	margin: 0 0 7px;
	padding: 0;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--kd-blue-deep);
}

body.kmae-dealers-page .kmae-dealers__place {
	position: relative;
	display: flex;
	gap: 8px;
}

body.kmae-dealers-page .kmae-dealers__input {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	height: 54px;
	padding: 0 14px 0 44px;
	border: 1px solid var(--kd-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.95) var(--kd-b-search) 14px center / 20px no-repeat;
	box-shadow: inset 0 1px 3px rgba(38, 68, 90, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9);
	font-size: 16px;
	font-weight: 600;
	color: var(--kd-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.kmae-dealers-page .kmae-dealers__input::placeholder {
	font-weight: 500;
	color: #7d8b99;
}

body.kmae-dealers-page .kmae-dealers__input:focus {
	outline: none;
	border-color: var(--kd-blue-neon);
	box-shadow: 0 0 0 4px rgba(0, 199, 247, 0.18), inset 0 1px 3px rgba(38, 68, 90, 0.08);
}

/* Helyzetem: app-ikon gomb, felirat alatta. */
body.kmae-dealers-page .kmae-dealers__locate {
	flex: 0 0 auto;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 70px;
	height: 54px;
	padding: 0 4px;
	border: 0;
	border-radius: 16px;
	background: var(--kd-cta);
	box-shadow: var(--kd-cta-shadow);
	font-size: 0.66rem;
	font-weight: 800;
	color: #ffffff;
	cursor: pointer;
	transition: var(--kd-press);
}

body.kmae-dealers-page .kmae-dealers__locate svg {
	width: 20px;
	height: 20px;
}

body.kmae-dealers-page .kmae-dealers__locate:active {
	transform: scale(0.95);
}

body.kmae-dealers-page .kmae-dealers__locate[hidden] {
	display: none;
}

body.kmae-dealers-page .kmae-dealers__locate:disabled {
	opacity: 0.6;
}

body.kmae-dealers-page .kmae-dealers__suggest {
	position: absolute;
	z-index: 5;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-height: 60vh;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	list-style: none;
	border: 1px solid var(--kd-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow:
		0 4px 10px rgba(38, 68, 90, 0.1),
		0 18px 40px rgba(38, 68, 90, 0.22),
		inset 0 1px 0 #ffffff;
}

body.kmae-dealers-page .kmae-dealers__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 12px;
	border-radius: 12px;
	cursor: pointer;
}

body.kmae-dealers-page .kmae-dealers__opt::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background: var(--kd-blue);
	-webkit-mask: var(--kd-i-pin) center / contain no-repeat;
	mask: var(--kd-i-pin) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealers__opt + .kmae-dealers__opt {
	box-shadow: 0 -1px 0 rgba(0, 143, 189, 0.1);
}

body.kmae-dealers-page .kmae-dealers__opt b {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 700;
	color: var(--kd-ink);
}

body.kmae-dealers-page .kmae-dealers__opt span {
	font-size: 0.76rem;
	color: var(--kd-muted);
	white-space: nowrap;
}

body.kmae-dealers-page .kmae-dealers__opt.is-active,
body.kmae-dealers-page .kmae-dealers__opt:active {
	background: rgba(0, 199, 247, 0.14);
}

body.kmae-dealers-page .kmae-dealers__radius {
	margin: 16px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

body.kmae-dealers-page .kmae-dealers__seg {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--kd-line);
	border-radius: 16px;
	background: rgba(225, 245, 252, 0.7);
	box-shadow: inset 0 1px 3px rgba(38, 68, 90, 0.1);
}

body.kmae-dealers-page .kmae-dealers__seg-item {
	position: relative;
	margin: 0;
}

body.kmae-dealers-page .kmae-dealers__seg-item input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

body.kmae-dealers-page .kmae-dealers__seg-item span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 12px;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--kd-muted);
	white-space: nowrap;
	cursor: pointer;
	transition: var(--kd-press), color 0.15s ease;
}

body.kmae-dealers-page .kmae-dealers__seg-item span:active {
	transform: scale(0.94);
}

body.kmae-dealers-page .kmae-dealers__seg-item input:checked + span {
	background: var(--kd-cta);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(20, 130, 230, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.kmae-dealers-page .kmae-dealers__seg-item input:focus-visible + span {
	outline: 2px solid var(--kd-blue-neon);
	outline-offset: 1px;
}

body.kmae-dealers-page .kmae-dealers__price {
	margin: 16px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

body.kmae-dealers-page .kmae-dealers__price-row {
	display: block;
}

body.kmae-dealers-page .kmae-dealers__price-row .kmae-dealers__input {
	width: 100%;
	height: 50px;
	background-image: var(--kd-b-note);
}

body.kmae-dealers-page .kmae-dealers__hint {
	margin: 7px 2px 0;
	font-size: 0.74rem;
	line-height: 1.4;
	color: var(--kd-muted);
}

body.kmae-dealers-page .kmae-dealers__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 56px;
	margin: 16px 0 0;
	border: 0;
	border-radius: 18px;
	background: var(--kd-cta);
	box-shadow: var(--kd-cta-shadow), 0 0 22px rgba(0, 199, 247, 0.22);
	font-size: 1.02rem;
	font-weight: 800;
	color: #ffffff;
	cursor: pointer;
	transition: var(--kd-press);
}

body.kmae-dealers-page .kmae-dealers__submit::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--kd-i-search) center / contain no-repeat;
	mask: var(--kd-i-search) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealers__submit:active {
	transform: scale(0.97);
	box-shadow: 0 4px 12px rgba(20, 130, 230, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.kmae-dealers-page .kmae-dealers__msg {
	margin: 12px 0 0;
	padding: 10px 12px;
	border: 1px solid rgba(233, 94, 19, 0.3);
	border-radius: 12px;
	background: rgba(255, 240, 230, 0.9);
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.4;
	color: #b4470f;
}

/* Gyors keresés: nagy városok, oldalra húzható sor a panel alján. */
body.kmae-dealers-page .kmae-dealers__quick {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px -14px 0;
	padding: 12px 14px 4px;
	overflow-x: auto;
	border-top: 1px solid rgba(0, 199, 247, 0.22);
	scroll-snap-type: x proximity;
	scroll-padding: 0 14px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 22px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 22px), transparent 100%);
}

body.kmae-dealers-page .kmae-dealers__quick::-webkit-scrollbar {
	display: none;
}

body.kmae-dealers-page .kmae-dealers__quick-label {
	flex: 0 0 auto;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--kd-muted);
	white-space: nowrap;
}

body.kmae-dealers-page .kmae-dealers__quick-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--kd-line);
	border-radius: 999px;
	background: linear-gradient(160deg, #ffffff, rgba(240, 252, 255, 0.92));
	box-shadow: var(--kd-shadow-sm);
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--kd-blue-deep);
	text-decoration: none;
	white-space: nowrap;
	scroll-snap-align: start;
	transition: var(--kd-press);
}

body.kmae-dealers-page .kmae-dealers__quick-chip:active {
	transform: scale(0.95);
}

body.kmae-dealers-page .kmae-dealers__quick-chip.is-active {
	border-color: transparent;
	background: var(--kd-cta);
	box-shadow: var(--kd-cta-shadow);
	color: #ffffff;
}

/* ---------- Eredmény ---------- */

body.kmae-dealers-page .kmae-dealers__results {
	scroll-margin-top: 80px;
}

body.kmae-dealers-page .kmae-dealers__summary {
	margin: 0 0 14px;
}

body.kmae-dealers-page .kmae-dealers__count {
	position: relative;
	margin: 0 0 10px;
	padding: 2px 0 0 16px;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--kd-muted);
}

/* Kék neon függőleges csík a szám előtt. */
body.kmae-dealers-page .kmae-dealers__count::before {
	content: "";
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 0;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--kd-blue-neon), #1a5fd0);
	box-shadow: 0 0 10px rgba(0, 199, 247, 0.5);
}

body.kmae-dealers-page .kmae-dealers__count strong {
	margin-right: 2px;
	font-size: 1.7rem;
	line-height: 1;
	font-weight: 800;
	color: var(--kd-blue-deep);
}

body.kmae-dealers-page .kmae-dealers__count-price {
	display: block;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(0, 199, 247, 0.12);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--kd-blue);
}

/* Csúszka-csipek: oldalra húzható, a széleken elhalványul. */
body.kmae-dealers-page .kmae-dealers__chips {
	display: flex;
	gap: 8px;
	margin: 0 -16px;
	padding: 4px 16px 10px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding: 0 16px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
}

body.kmae-dealers-page .kmae-dealers__chips::-webkit-scrollbar {
	display: none;
}

body.kmae-dealers-page .kmae-dealers__chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	padding: 0 8px 0 14px;
	border: 1px solid var(--kd-line);
	border-radius: 999px;
	background: linear-gradient(160deg, #ffffff, rgba(240, 252, 255, 0.92));
	box-shadow: var(--kd-shadow-sm);
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--kd-blue-deep);
	text-decoration: none;
	white-space: nowrap;
	scroll-snap-align: start;
	transition: var(--kd-press);
}

body.kmae-dealers-page .kmae-dealers__chip:active {
	transform: scale(0.95);
}

body.kmae-dealers-page .kmae-dealers__chip b {
	min-width: 26px;
	padding: 3px 8px;
	box-sizing: border-box;
	border-radius: 999px;
	background: rgba(0, 199, 247, 0.16);
	font-size: 0.76rem;
	text-align: center;
	color: var(--kd-blue);
}

body.kmae-dealers-page .kmae-dealers__chip.is-active {
	border-color: transparent;
	background: var(--kd-cta);
	box-shadow: var(--kd-cta-shadow);
	color: #ffffff;
}

body.kmae-dealers-page .kmae-dealers__chip.is-active b {
	background: rgba(255, 255, 255, 0.26);
	color: #ffffff;
}

/* Nincs találat: manó-kártya. */
body.kmae-dealers-page .kmae-dealers__empty {
	position: relative;
	margin: 0 0 18px;
	padding: 22px 18px 18px;
	border: 1px solid rgba(0, 199, 247, 0.4);
	border-radius: 24px;
	background:
		radial-gradient(circle at 50% -10%, rgba(0, 199, 247, 0.18), transparent 55%),
		var(--kd-glass);
	box-shadow: var(--kd-shadow);
	text-align: center;
}

body.kmae-dealers-page .kmae-dealers__mano {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin: 0 0 8px;
	border-radius: 50%;
	background: var(--kd-cta);
	box-shadow:
		0 8px 20px rgba(20, 130, 230, 0.3),
		0 0 0 6px rgba(0, 199, 247, 0.14),
		0 0 24px rgba(0, 199, 247, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	font-size: 1.6rem;
	color: #ffffff;
}

body.kmae-dealers-page .kmae-dealers__mano-who {
	margin: 0 0 6px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--kd-blue);
}

body.kmae-dealers-page .kmae-dealers__mano-why {
	margin: 0 0 8px;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.4;
	color: var(--kd-blue-deep);
}

body.kmae-dealers-page .kmae-dealers__mano-tip {
	margin: 0 0 16px;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--kd-muted);
}

body.kmae-dealers-page .kmae-dealers__mano-actions {
	display: grid;
	gap: 8px;
}

body.kmae-dealers-page .kmae-dealers__btn,
body.kmae-dealers-page .kmae-dealers__more {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 18px;
	border-radius: 16px;
	background: var(--kd-cta);
	box-shadow: var(--kd-cta-shadow);
	font-weight: 800;
	color: #ffffff;
	text-decoration: none;
	transition: var(--kd-press);
}

body.kmae-dealers-page .kmae-dealers__btn:active,
body.kmae-dealers-page .kmae-dealers__more:active {
	transform: scale(0.97);
}

body.kmae-dealers-page .kmae-dealers__btn--ghost {
	border: 1px solid var(--kd-line);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: var(--kd-shadow-sm);
	color: var(--kd-blue-deep);
}

body.kmae-dealers-page .kmae-dealers__more {
	gap: 8px;
	margin: 8px 0 0;
	min-height: 54px;
	border: 1px solid var(--kd-line);
	background: linear-gradient(160deg, #ffffff, rgba(232, 250, 255, 0.95));
	box-shadow: var(--kd-shadow);
	color: var(--kd-blue-deep);
}

body.kmae-dealers-page .kmae-dealers__more::after {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--kd-blue);
	transform: rotate(90deg);
	-webkit-mask: var(--kd-i-chev) center / contain no-repeat;
	mask: var(--kd-i-chev) center / contain no-repeat;
}

/* ---------- Kereskedő-kártya (lista: egy kereskedés = egy tömör sor) ---------- */

body.kmae-dealers-page .kmae-dealers__list {
	display: grid;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

/* A sor: balra az ikon, mellette minden egymás alatt, a névvel egy vonalban. */
body.kmae-dealers-page .kmae-dealer {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	box-sizing: border-box;
	padding: 14px 14px 12px 64px;
	border: 1px solid rgba(0, 199, 247, 0.32);
	border-radius: 20px;
	background:
		radial-gradient(circle at 100% 0%, rgba(0, 199, 247, 0.1), transparent 40%),
		var(--kd-glass);
	box-shadow: var(--kd-shadow);
	content-visibility: auto;
	contain-intrinsic-size: auto 170px;
}

body.kmae-dealers-page .kmae-dealer > * {
	flex: 1 1 100%;
	min-width: 0;
}

/* Kiemelés az első soron: keresésnél a legközelebbi, megyében a legnagyobb kínálat. */
body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:first-child {
	padding-top: 30px;
	border-color: rgba(0, 199, 247, 0.7);
	box-shadow: var(--kd-shadow), 0 0 0 3px rgba(0, 199, 247, 0.12), 0 0 26px rgba(0, 199, 247, 0.2);
}

body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:first-child::before {
	content: "★ Legnagyobb kínálat";
	position: absolute;
	top: -1px;
	left: 18px;
	padding: 4px 12px 5px;
	border-radius: 0 0 12px 12px;
	background: var(--kd-cta);
	box-shadow: 0 4px 12px rgba(20, 130, 230, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #ffffff;
}

body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:first-child:has(.kmae-dealer__dist)::before {
	content: "★ Legközelebbi";
}

/* Fej: név és távolság; az autó-ikon a sor bal szélén. */
body.kmae-dealers-page .kmae-dealer__top {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

body.kmae-dealers-page .kmae-dealer__top::before {
	content: "";
	position: absolute;
	top: 0;
	left: -52px;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4), transparent 55%),
		linear-gradient(150deg, var(--kd-blue-deep), var(--kd-blue-mid) 55%, var(--kd-blue-neon));
	box-shadow: 0 5px 12px rgba(11, 58, 102, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.kmae-dealers-page .kmae-dealer__top::after {
	content: "";
	position: absolute;
	top: 10px;
	left: -42px;
	width: 20px;
	height: 20px;
	background: #ffffff;
	-webkit-mask: var(--kd-i-car) center / contain no-repeat;
	mask: var(--kd-i-car) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealer__name {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 800;
	color: var(--kd-blue-deep);
	overflow-wrap: anywhere;
}

body.kmae-dealers-page .kmae-dealer__dist {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 9px 4px 7px;
	border: 1px solid rgba(0, 199, 247, 0.5);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 0 12px rgba(0, 199, 247, 0.22), inset 0 1px 0 #ffffff;
	font-size: 0.76rem;
	font-weight: 800;
	color: var(--kd-blue);
	white-space: nowrap;
}

body.kmae-dealers-page .kmae-dealer__dist::before {
	content: "";
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: var(--kd-i-pin) center / contain no-repeat;
	mask: var(--kd-i-pin) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealer__addr {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.4;
	color: var(--kd-muted);
}

/* Kínálat és árak: egy sorban, szövegként (nem csempe). */
body.kmae-dealers-page .kmae-dealer > .kmae-dealer__stock,
body.kmae-dealers-page .kmae-dealer > .kmae-dealer__price {
	flex: 0 1 auto;
}

body.kmae-dealers-page .kmae-dealer__stock,
body.kmae-dealers-page .kmae-dealer__price {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 4px 0 0;
	font-size: 0.8rem;
	line-height: 1.3;
	color: var(--kd-muted);
}

body.kmae-dealers-page .kmae-dealer__stock::before,
body.kmae-dealers-page .kmae-dealer__price::before {
	content: "";
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	background: var(--kd-blue);
	-webkit-mask: var(--kd-i-car) center / contain no-repeat;
	mask: var(--kd-i-car) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealer__price::before {
	-webkit-mask-image: var(--kd-i-note);
	mask-image: var(--kd-i-note);
}

body.kmae-dealers-page .kmae-dealer__stock strong,
body.kmae-dealers-page .kmae-dealer__price strong {
	font-size: 0.9rem;
	font-weight: 800;
	color: var(--kd-blue-deep);
	white-space: nowrap;
}

/* Ársáv: 300 e – 50 M Ft logaritmikus skálán; a kék szakasz a kereskedés árai. */
body.kmae-dealers-page .kmae-dealer__bar {
	position: relative;
	display: block;
	height: 6px;
	margin: 4px 0 2px;
	border-radius: 999px;
	background:
		linear-gradient(90deg, transparent calc(30% - 1px), rgba(11, 58, 102, 0.18) calc(30% - 1px), rgba(11, 58, 102, 0.18) calc(30% + 1px), transparent calc(30% + 1px)),
		linear-gradient(90deg, transparent calc(60% - 1px), rgba(11, 58, 102, 0.18) calc(60% - 1px), rgba(11, 58, 102, 0.18) calc(60% + 1px), transparent calc(60% + 1px)),
		linear-gradient(90deg, rgba(0, 199, 247, 0.12), rgba(26, 95, 208, 0.16));
	box-shadow: inset 0 1px 2px rgba(38, 68, 90, 0.14);
}

body.kmae-dealers-page .kmae-dealer__bar i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--a, 0%);
	right: calc(100% - var(--b, 100%));
	min-width: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--kd-blue-neon), #1a5fd0);
	box-shadow: 0 0 8px rgba(0, 199, 247, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Gombok: elöl a készlet (teljes szélesség), alatta hívás / weboldal / útvonal kis gombként. */
body.kmae-dealers-page .kmae-dealer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

body.kmae-dealers-page .kmae-dealer__btn {
	position: relative;
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0 10px 0 34px;
	border: 1px solid var(--kd-line);
	border-radius: 13px;
	background: linear-gradient(160deg, #ffffff, rgba(240, 252, 255, 0.92));
	box-shadow: var(--kd-shadow-sm);
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--kd-blue-deep);
	text-decoration: none;
	white-space: nowrap;
	transition: var(--kd-press);
}

body.kmae-dealers-page .kmae-dealer__btn:active {
	transform: scale(0.96);
	box-shadow: 0 1px 3px rgba(38, 68, 90, 0.1), inset 0 1px 0 #ffffff;
}

/* Ikon-kör (::before) és benne az ikon (::after). */
body.kmae-dealers-page .kmae-dealer__btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 7px;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	border-radius: 50%;
	background: rgba(0, 199, 247, 0.16);
	box-shadow: inset 0 0 0 1px rgba(0, 199, 247, 0.25);
}

body.kmae-dealers-page .kmae-dealer__btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 12px;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	background: var(--kd-blue);
	-webkit-mask: var(--kd-i-route) center / contain no-repeat;
	mask: var(--kd-i-route) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealer__btn--call::before {
	background: var(--kd-cta);
	box-shadow: 0 3px 8px rgba(20, 130, 230, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.kmae-dealers-page .kmae-dealer__btn--call::after {
	background: #ffffff;
	-webkit-mask-image: var(--kd-i-phone);
	mask-image: var(--kd-i-phone);
}

body.kmae-dealers-page .kmae-dealer__btn--link[href*="google.com/maps"]::after {
	-webkit-mask-image: var(--kd-i-route);
	mask-image: var(--kd-i-route);
}

body.kmae-dealers-page .kmae-dealer__btn--link:not([href*="google.com/maps"])::after {
	-webkit-mask-image: var(--kd-i-globe);
	mask-image: var(--kd-i-globe);
}

body.kmae-dealers-page .kmae-dealer__btn--stock {
	order: -1;
	flex: 1 1 100%;
	min-height: 44px;
	padding: 0 14px 0 44px;
	border-color: transparent;
	background: var(--kd-cta);
	box-shadow: var(--kd-cta-shadow), 0 0 18px rgba(0, 199, 247, 0.18);
	font-size: 0.88rem;
	color: #ffffff;
	white-space: normal;
}

body.kmae-dealers-page .kmae-dealer__btn--stock::before {
	left: 10px;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	background: rgba(255, 255, 255, 0.22);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

body.kmae-dealers-page .kmae-dealer__btn--stock::after {
	left: 16px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: #ffffff;
	-webkit-mask-image: var(--kd-i-car);
	mask-image: var(--kd-i-car);
}

body.kmae-dealers-page .kmae-dealer__btn--stock:active {
	box-shadow: 0 4px 10px rgba(20, 130, 230, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* ---------- Megyék: csempék ---------- */

body.kmae-dealers-page .kmae-dealers__counties {
	margin: 26px 0 0;
}

body.kmae-dealers-page .kmae-dealers__h2 {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 1.16rem;
	font-weight: 800;
	color: var(--kd-blue-deep);
}

body.kmae-dealers-page .kmae-dealers__h2::before {
	content: "";
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 11px;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4), transparent 55%),
		var(--kd-cta);
	box-shadow: 0 4px 10px rgba(20, 130, 230, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* A térkép-tű a kék négyzetben. */
body.kmae-dealers-page .kmae-dealers__h2::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 8px;
	width: 16px;
	margin-top: -8px;
	height: 16px;
	background: #ffffff;
	-webkit-mask: var(--kd-i-pin) center / contain no-repeat;
	mask: var(--kd-i-pin) center / contain no-repeat;
}

/* Magyarország-térkép a csempék fölött: üvegkártya, megyénként a kereskedések számával. */
body.kmae-dealers-page .kmae-dealers__map {
	position: relative;
	box-sizing: border-box;
	margin: 0 0 14px;
	padding: 16px 10px 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 24px;
	background:
		radial-gradient(circle at 15% 8%, rgba(0, 199, 247, 0.16), transparent 45%),
		radial-gradient(circle at 92% 100%, rgba(130, 237, 255, 0.3), transparent 50%),
		var(--kd-glass);
	box-shadow: var(--kd-shadow);
}

body.kmae-dealers-page .kmae-dealers__map::before {
	content: "";
	position: absolute;
	top: 0;
	left: 12%;
	right: 12%;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--kd-blue-neon), var(--kd-blue-light), transparent);
	box-shadow: 0 0 10px rgba(0, 199, 247, 0.6);
}

body.kmae-dealers-page .kmae-dealers__map-svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	filter: drop-shadow(0 10px 14px rgba(0, 143, 189, 0.2));
}

body.kmae-dealers-page .kmae-dealers__mc path,
body.kmae-dealers-page path.kmae-dealers__mc {
	stroke: #ffffff;
	stroke-width: 2.5;
	stroke-linejoin: round;
	transition: fill 0.15s ease;
}

body.kmae-dealers-page path.kmae-dealers__mc.is-empty {
	fill: #eef4f7;
}

body.kmae-dealers-page .kmae-dealers__mc.is-l1 path,
body.kmae-dealers-page .kmae-dealers__legend .is-l1 {
	fill: #dcf4fc;
	background: #dcf4fc;
}

body.kmae-dealers-page .kmae-dealers__mc.is-l2 path,
body.kmae-dealers-page .kmae-dealers__legend .is-l2 {
	fill: #aee4f6;
	background: #aee4f6;
}

body.kmae-dealers-page .kmae-dealers__mc.is-l3 path,
body.kmae-dealers-page .kmae-dealers__legend .is-l3 {
	fill: #6ccbee;
	background: #6ccbee;
}

body.kmae-dealers-page .kmae-dealers__mc.is-l4 path,
body.kmae-dealers-page .kmae-dealers__legend .is-l4 {
	fill: #25a4dc;
	background: #25a4dc;
}

body.kmae-dealers-page .kmae-dealers__mc.is-current path {
	fill: var(--kd-blue-deep);
	stroke: var(--kd-blue-light);
}

body.kmae-dealers-page .kmae-dealers__mc:active path,
body.kmae-dealers-page .kmae-dealers__mc.is-hot path {
	fill: var(--kd-blue-deep);
}

/* Buborék: telefonon nagyobb, hogy a szám olvasható legyen. */
body.kmae-dealers-page .kmae-dealers__pin circle {
	fill: #ffffff;
	stroke: var(--kd-blue-neon);
	stroke-width: 2.5;
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(1.7);
}

body.kmae-dealers-page .kmae-dealers__pin text {
	fill: var(--kd-blue-deep);
	font-size: 24px;
	font-weight: 800;
	text-anchor: middle;
	dominant-baseline: central;
	pointer-events: none;
}

body.kmae-dealers-page .kmae-dealers__pin.is-current circle,
body.kmae-dealers-page .kmae-dealers__pin.is-hot circle,
body.kmae-dealers-page .kmae-dealers__pin:active circle {
	fill: var(--kd-blue);
	stroke: #ffffff;
}

body.kmae-dealers-page .kmae-dealers__pin.is-current text,
body.kmae-dealers-page .kmae-dealers__pin.is-hot text,
body.kmae-dealers-page .kmae-dealers__pin:active text {
	fill: #ffffff;
}

body.kmae-dealers-page .kmae-dealers__map-foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 10px 4px 0;
	padding: 10px 0 0;
	border-top: 1px solid rgba(0, 199, 247, 0.22);
	text-align: center;
}

body.kmae-dealers-page .kmae-dealers__map-info {
	margin: 0;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--kd-muted);
}

body.kmae-dealers-page .kmae-dealers__map-info b {
	font-weight: 800;
	color: var(--kd-blue-deep);
}

body.kmae-dealers-page .kmae-dealers__legend {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--kd-muted);
}

body.kmae-dealers-page .kmae-dealers__legend i {
	width: 22px;
	height: 9px;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(0, 143, 189, 0.18);
}

body.kmae-dealers-page .kmae-dealers__legend i:first-of-type {
	margin-left: 4px;
}

body.kmae-dealers-page .kmae-dealers__legend i:last-of-type {
	margin-right: 4px;
}

body.kmae-dealers-page .kmae-dealers__county-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.kmae-dealers-page .kmae-dealers__county-grid a {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	box-sizing: border-box;
	height: 100%;
	min-height: 78px;
	padding: 12px 30px 12px 12px;
	border: 1px solid rgba(0, 199, 247, 0.32);
	border-radius: 18px;
	background:
		radial-gradient(circle at 100% 0%, rgba(0, 199, 247, 0.14), transparent 50%),
		var(--kd-glass);
	box-shadow: var(--kd-shadow-sm), 0 12px 24px rgba(0, 143, 189, 0.08);
	color: var(--kd-blue-deep);
	text-decoration: none;
	transition: var(--kd-press);
}

body.kmae-dealers-page .kmae-dealers__county-grid a:active {
	transform: scale(0.96);
	box-shadow: 0 1px 3px rgba(38, 68, 90, 0.1), inset 0 1px 0 #ffffff;
}

body.kmae-dealers-page .kmae-dealers__county-grid a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 8px;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: var(--kd-blue);
	opacity: 0.7;
	-webkit-mask: var(--kd-i-chev) center / contain no-repeat;
	mask: var(--kd-i-chev) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealers__county-grid span {
	font-size: 0.9rem;
	line-height: 1.25;
	font-weight: 800;
	overflow-wrap: anywhere;
}

body.kmae-dealers-page .kmae-dealers__county-grid b {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(0, 199, 247, 0.14);
	font-size: 0.74rem;
	font-weight: 800;
	color: var(--kd-blue);
}

body.kmae-dealers-page .kmae-dealers__county-grid b::after {
	content: "kereskedés";
	font-weight: 600;
}

/* ---------- Forrás ---------- */

body.kmae-dealers-page .kmae-dealers__source {
	position: relative;
	margin: 28px 0 0;
	padding: 14px 16px 14px 50px;
	border: 1px solid var(--kd-line);
	border-radius: 18px;
	background: var(--kd-glass);
	box-shadow: var(--kd-shadow-sm);
	font-size: 0.8rem;
	line-height: 1.5;
	text-align: left;
	color: var(--kd-muted);
}

body.kmae-dealers-page .kmae-dealers__source::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 16px;
	width: 22px;
	height: 22px;
	background: var(--kd-blue);
	-webkit-mask: var(--kd-i-info) center / contain no-repeat;
	mask: var(--kd-i-info) center / contain no-repeat;
}

body.kmae-dealers-page .kmae-dealers__source p {
	margin: 0 0 4px;
}

body.kmae-dealers-page .kmae-dealers__source a {
	font-weight: 800;
	color: var(--kd-blue);
}

/* ---------- Mozgás: finom beúszás (ha a telefon engedi) ---------- */

@media (prefers-reduced-motion: no-preference) {
	body.kmae-dealers-page .kmae-dealers__hero,
	body.kmae-dealers-page .kmae-dealers__search,
	body.kmae-dealers-page .kmae-dealers__summary,
	body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:nth-child(-n+4),
	body.kmae-dealers-page .kmae-dealers__counties {
		animation: kmae-kd-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	body.kmae-dealers-page .kmae-dealers__search {
		animation-delay: 0.06s;
	}

	body.kmae-dealers-page .kmae-dealers__summary {
		animation-delay: 0.1s;
	}

	body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:nth-child(1) {
		animation-delay: 0.14s;
	}

	body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:nth-child(2) {
		animation-delay: 0.19s;
	}

	body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:nth-child(3) {
		animation-delay: 0.24s;
	}

	body.kmae-dealers-page .kmae-dealers__list > .kmae-dealer:nth-child(4) {
		animation-delay: 0.29s;
	}
}

@keyframes kmae-kd-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Csak PC-s elemek elrejtése ---------- */

body.kmae-dealers-page .kmae-dl-pc-only {
	display: none !important;
}
