/* ==========================================================================
   Metamorph Pre School — "Locate us" branch map (assets/js/locator.js)
   Breakpoints: laptop <= 1366px, tablet <= 1024px, mobile <= 767px
   ========================================================================== */

/* ---------- Section ---------- */
.locator {
	position: relative;
	padding: 90px 30px 60px;
}

.locator::before,
.locator::after {
	content: '';
	position: absolute;
	width: 64px;
	height: 64px;
	background: no-repeat center / contain;
	pointer-events: none;
}

.locator::before {
	top: 60px;
	left: 4%;
	background-image: url("../images/leaf-1.svg");
}

.locator::after {
	right: 4%;
	bottom: 24px;
	background-image: url("../images/leaf-2.svg");
}

.locator__header {
	position: relative;
	margin: 0 auto 34px;
	max-width: 820px;
	text-align: center;
}

.locator__title {
	margin: 0;
	color: #0a303a;
	font-family: var(--font-display);
	font-size: 48px;
	font-weight: normal;
	line-height: 1.1em;
	letter-spacing: 3.4px;
}

.locator__subtitle {
	margin: 12px auto 0;
	max-width: 640px;
	color: var(--accent-2);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5em;
}

.locator__legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.locator__legend-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 18px 6px 6px;
	border-radius: 999px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(10, 48, 58, .08), 0 10px 24px -16px rgba(10, 48, 58, .45);
	text-align: left;
}

.locator__legend-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--accent-8);
}

.locator__legend-icon .lc-icon {
	width: 40px;
	height: 40px;
}

.locator__legend-text {
	color: #5B6A72;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.locator__legend-text strong {
	display: block;
	color: var(--accent-3);
	font-size: 16px;
	font-weight: 800;
}

/* ---------- App frame ---------- */
.locator__app {
	position: relative;
	padding: 18px;
	border-radius: 26px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(10, 48, 58, .05), 0 40px 80px -40px rgba(10, 48, 58, .45);
}

.locator__noscript {
	margin: 0;
	padding: 30px;
	text-align: center;
}

.locator__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding: 0 4px;
}

.locator__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.locator__crumbs li {
	display: flex;
	align-items: center;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.locator__crumbs li + li::before {
	content: '';
	width: 7px;
	height: 7px;
	margin: 0 12px 0 8px;
	border-top: 2px solid #C3B9A6;
	border-right: 2px solid #C3B9A6;
	transform: rotate(45deg);
}

.locator__crumbs button {
	padding: 4px 2px;
	border: 0;
	background: none;
	color: var(--accent-2);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(22, 114, 135, .3);
	text-underline-offset: 3px;
}

.locator__crumbs button:hover,
.locator__crumbs button:focus-visible {
	color: var(--orange);
	text-decoration-color: currentColor;
}

.locator__crumbs [aria-current] {
	color: var(--accent-3);
	font-weight: 800;
}

.locator__actions {
	display: flex;
	gap: 8px;
}

.locator__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px 8px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--accent-8);
	color: var(--accent-3);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	transition: background .2s, color .2s, opacity .2s;
}

.locator__btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.locator__btn:hover:not(:disabled),
.locator__btn:focus-visible {
	background: var(--accent-3);
	color: #FFFFFF;
}

.locator__btn:disabled {
	opacity: .4;
	cursor: default;
}

.locator__body {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 16px;
}

/* ---------- Map stage ---------- */
.locator__stage {
	position: relative;
	grid-column: 2;
	grid-row: 1;
	height: 640px;
	overflow: hidden;
	isolation: isolate;
	border-radius: 20px;
	background-color: var(--accent-8);
	background-image: radial-gradient(rgba(10, 48, 58, .10) 1px, transparent 1.4px);
	background-size: 16px 16px;
	cursor: grab;
	touch-action: pan-x pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.locator__stage::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 9;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(10, 48, 58, .06);
	pointer-events: none;
}

.locator__stage.is-dragging {
	cursor: grabbing;
}

.locator__map {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

/* Regions */
.locator__shadow {
	fill: rgba(10, 48, 58, .09);
}

.locator__region {
	fill: #FFFFFF;
	stroke: #DDD4C2;
	stroke-width: .8px;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
	transition: fill .3s ease;
}

.locator__region.is-active {
	fill: var(--sky);
	stroke: #FFFFFF;
	stroke-width: 1px;
	pointer-events: auto;
	cursor: pointer;
}

/* Neighbours of the area being explored step back */
.locator__region.is-dim {
	fill: #F2EFE7;
}

.locator__region.is-dim.is-active {
	fill: #DCEFF7;
}

.locator__region.is-active.is-hover {
	fill: var(--orange);
}

/* A level that has been opened sits under its own sub-divisions */
.locator__region.is-current {
	fill: transparent;
	stroke: none;
	pointer-events: none;
}

/* The district being explored */
.locator__region.is-leaf,
.locator__region.is-leaf.is-hover {
	fill: #FFFFFF;
	stroke: var(--sky);
	stroke-width: 2px;
	pointer-events: auto;
	cursor: inherit;
}

.locator__layer--detail {
	pointer-events: none;
}

.locator__subarea {
	fill: transparent;
}

/* Parts of the district that have branches: the warm yellow of the page banner */
.locator__subarea.is-active {
	fill: rgba(252, 217, 0, .2);
}

.locator__subline {
	fill: none;
	stroke: rgba(22, 114, 135, .42);
	stroke-width: 1px;
	stroke-dasharray: 4 4;
	vector-effect: non-scaling-stroke;
}

/* Marker stems and the exact spot */
.locator__leaders {
	pointer-events: none;
}

.locator__stem {
	stroke: var(--accent-3);
	stroke-opacity: .45;
	stroke-width: 1.5px;
	animation: lc-fade .4s ease backwards;
}

.locator__dot {
	fill: var(--accent-3);
	stroke: #FFFFFF;
	stroke-width: 2px;
	animation: lc-fade .4s ease backwards;
}

.locator__dot--butterfly { fill: var(--orange); }
.locator__dot--caterpillar { fill: #6E9A35; }
.locator__dot.is-selected { fill: var(--sky); }

.locator__stem--pill {
	stroke-opacity: .55;
	stroke-dasharray: 3 3;
}

.locator__dot--pill {
	fill: var(--accent-3);
}

/* ---------- Pills and markers (HTML over the map) ---------- */
.locator__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.lp,
.lm {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	pointer-events: auto;
	will-change: transform;
	-webkit-tap-highlight-color: transparent;
}

.lp:focus-visible,
.lm:focus-visible {
	outline: none;
}

.lp.is-leaving,
.lm.is-leaving {
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

.lp:hover,
.lp.is-hover,
.lm:hover,
.lm.is-hover {
	z-index: 4;
}

.lp__inner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 5px 5px 13px;
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--accent-3);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 0 0 1px rgba(10, 48, 58, .06), 0 10px 22px -8px rgba(10, 48, 58, .4);
	transition: background .2s, color .2s, transform .2s;
	animation: lc-rise .5s cubic-bezier(.2, .8, .2, 1) backwards;
}

.lp__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--orange);
	color: #FFFFFF;
	font-size: 13px;
}

.lp:hover .lp__inner,
.lp.is-hover .lp__inner,
.lp:focus-visible .lp__inner {
	background: var(--accent-3);
	color: #FFFFFF;
	transform: translateY(-2px);
}

.lp:focus-visible .lp__inner {
	box-shadow: 0 0 0 3px var(--yellow), 0 10px 22px -8px rgba(10, 48, 58, .4);
}

.lm {
	width: 46px;
	height: 46px;
	border-radius: 50%;
}

.lm__pop {
	display: block;
	width: 100%;
	height: 100%;
	animation: lc-pop .6s cubic-bezier(.34, 1.56, .64, 1) backwards;
}

.lm__disc {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 2.5px var(--lm-ring), 0 12px 22px -8px rgba(10, 48, 58, .5);
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}

.lm--butterfly { --lm-ring: var(--orange); }
.lm--caterpillar { --lm-ring: var(--green); }

.lm .lc-icon {
	width: 38px;
	height: 38px;
}

.lm:hover .lm__disc,
.lm.is-hover .lm__disc,
.lm:focus-visible .lm__disc {
	transform: scale(1.14);
}

.lm:focus-visible .lm__disc {
	box-shadow: inset 0 0 0 2.5px var(--lm-ring), 0 0 0 3px var(--yellow), 0 12px 22px -8px rgba(10, 48, 58, .5);
}

.lm.is-selected {
	z-index: 5;
}

.lm.is-selected .lm__disc {
	transform: scale(1.18);
	box-shadow: inset 0 0 0 3px var(--sky), 0 14px 26px -8px rgba(10, 48, 58, .55);
}

.lm.is-selected .lm__disc::before {
	content: '';
	position: absolute;
	inset: -7px;
	border: 2px solid var(--sky);
	border-radius: 50%;
	animation: lc-ring 1.8s ease-out infinite;
}

/* ---------- Icons ---------- */
.lc-icon {
	display: block;
	overflow: visible;
}

.lc-wing-up { fill: var(--orange); }
.lc-wing-low { fill: var(--yellow); }
.lc-spot { fill: var(--sky); }
.lc-spot2 { fill: #FFFFFF; }
.lc-body { fill: var(--accent-3); }

.lc-antenna {
	fill: none;
	stroke: var(--accent-3);
	stroke-width: 1.2;
	stroke-linecap: round;
}

.lc-antenna-tip { fill: var(--accent-3); }
.lc-icon--caterpillar .lc-antenna-tip { fill: var(--orange); }

.lc-seg__body {
	fill: var(--green);
	stroke: #84AE4C;
	stroke-width: 1;
}

.lc-seg__dot { fill: var(--yellow); }

.lc-seg__leg {
	fill: none;
	stroke: var(--accent-3);
	stroke-width: 1.2;
	stroke-linecap: round;
}

.lc-head__body {
	fill: #9FCB5E;
	stroke: #7EA845;
	stroke-width: 1;
}

.lc-eye { fill: #FFFFFF; }
.lc-pupil { fill: var(--accent-3); }
.lc-cheek { fill: var(--orange); opacity: .55; }

.lc-smile {
	fill: none;
	stroke: var(--accent-3);
	stroke-width: 1;
	stroke-linecap: round;
}

/* Butterfly: rests, then flaps twice; floats gently */
.lc-icon--butterfly {
	animation: lc-bob 2.6s ease-in-out infinite;
	animation-delay: var(--d, 0s);
}

.lc-wings {
	transform-box: fill-box;
	animation: lc-flap 3.2s ease-in-out infinite;
	animation-delay: var(--d, 0s);
}

.lc-wings--l { transform-origin: 100% 50%; }
.lc-wings--r { transform-origin: 0% 50%; }

/* Caterpillar: a wave runs from tail to head; the head nods */
.lc-seg {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: lc-inch 2.4s ease-in-out infinite;
	animation-delay: calc(var(--d, 0s) + var(--i, 0) * .09s);
}

.lc-head {
	transform-box: fill-box;
	transform-origin: 30% 80%;
	animation: lc-nod 2.4s ease-in-out infinite;
	animation-delay: calc(var(--d, 0s) + .45s);
}

.lc-icon--still,
.lc-icon--still * {
	animation: none !important;
}

@keyframes lc-flap {
	0%, 58%, 100% { transform: scaleX(1); }
	64% { transform: scaleX(.28); }
	70% { transform: scaleX(1); }
	76% { transform: scaleX(.34); }
	82% { transform: scaleX(1); }
}

@keyframes lc-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-1.6px); }
}

@keyframes lc-inch {
	0%, 50%, 100% { transform: translateY(0); }
	62% { transform: translateY(-2.6px); }
	74% { transform: translateY(0); }
}

@keyframes lc-nod {
	0%, 50%, 100% { transform: rotate(0); }
	66% { transform: rotate(-8deg); }
	80% { transform: rotate(0); }
}

@keyframes lc-pop {
	from { opacity: 0; transform: translateY(10px) scale(.3); }
	to { opacity: 1; transform: none; }
}

@keyframes lc-rise {
	from { opacity: 0; transform: translateY(8px) scale(.92); }
	to { opacity: 1; transform: none; }
}

@keyframes lc-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes lc-ring {
	0% { opacity: .9; transform: scale(.85); }
	100% { opacity: 0; transform: scale(1.45); }
}

/* ---------- Tooltip, hint, toast, loading, credit ---------- */
.locator__tip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 7;
	max-width: 260px;
	padding: 9px 13px;
	border-radius: 12px;
	background: var(--accent-3);
	color: #FFFFFF;
	font-size: 15px;
	line-height: 1.3;
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 14px 30px -12px rgba(10, 48, 58, .7);
	transition: opacity .15s;
}

.locator__tip.is-on {
	opacity: 1;
}

.locator__tip strong {
	display: block;
	font-weight: 800;
}

.locator__tip small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, .75);
	font-size: 13px;
	font-weight: 600;
}

.locator__controls {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 0 0 1px rgba(10, 48, 58, .06), 0 12px 24px -12px rgba(10, 48, 58, .5);
	transition: opacity .2s;
}

.locator__ctrl {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: #FFFFFF;
	color: var(--accent-3);
	transition: background .2s, color .2s;
}

.locator__ctrl + .locator__ctrl {
	border-top: 1px solid #EEE8DC;
}

.locator__ctrl svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.locator__ctrl:hover,
.locator__ctrl:focus-visible {
	background: var(--accent-3);
	color: #FFFFFF;
	outline: none;
}

.locator__hint,
.locator__toast {
	position: absolute;
	left: 50%;
	z-index: 8;
	padding: 11px 18px;
	border-radius: 999px;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%);
	transition: opacity .25s;
}

.locator__hint {
	top: 50%;
	background: rgba(10, 48, 58, .88);
	white-space: nowrap;
	transform: translate(-50%, -50%);
}

.locator__toast {
	top: 14px;
	width: max-content;
	max-width: calc(100% - 28px);
	background: var(--accent-1);
}

.locator__hint.is-on,
.locator__toast.is-on {
	opacity: 1;
}

.locator__loading {
	position: absolute;
	inset: 0;
	z-index: 8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	background: rgba(244, 241, 234, .85);
	color: var(--accent-2);
	font-weight: 700;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}

.locator__loading.is-on {
	opacity: 1;
	visibility: visible;
}

.locator__loading .lc-icon {
	width: 64px;
	height: 64px;
}

.locator__credit {
	position: absolute;
	bottom: 10px;
	left: 14px;
	z-index: 3;
	margin: 0;
	color: rgba(10, 48, 58, .55);
	font-size: 11px;
	line-height: 1.2;
	transition: opacity .2s;
}

.locator__credit a {
	color: inherit;
	text-decoration: underline;
}

/* ---------- Branch card ---------- */
.locator__card {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 6;
	width: 340px;
	max-height: calc(100% - 28px);
	overflow: auto;
	overscroll-behavior: contain;
	border-radius: 20px;
	background: #FFFFFF;
	cursor: auto;
	box-shadow: 0 0 0 1px rgba(10, 48, 58, .06), 0 30px 60px -24px rgba(10, 48, 58, .55);
	opacity: 0;
	transform: translateY(12px) scale(.97);
	transform-origin: top right;
	transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
	-webkit-user-select: text;
	user-select: text;
}

.locator__card.is-open {
	opacity: 1;
	transform: none;
}

.lcard__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--accent-3);
	box-shadow: 0 4px 12px rgba(10, 48, 58, .18);
}

.lcard__close svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.lcard__close:hover,
.lcard__close:focus-visible {
	background: var(--accent-3);
	color: #FFFFFF;
}

.lcard__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--accent-8);
}

.lcard__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lcard__body {
	padding: 18px 20px 20px;
}

.lcard__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	padding: 3px 12px 3px 4px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.lcard__badge--butterfly { background: #FDECE4; color: #B4471D; }
.lcard__badge--caterpillar { background: #EEF6E3; color: #4C7A1D; }

.lcard__badge .lc-icon {
	width: 26px;
	height: 26px;
}

.lcard__title {
	margin: 0 30px 10px 0;
	color: var(--accent-3);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	outline: none;
}

.lcard__media + .lcard__body .lcard__title {
	margin-right: 0;
}

.lcard__address {
	display: flex;
	gap: 10px;
	margin: 0 0 12px;
	color: var(--ink);
	font-family: var(--font-comic);
	font-size: 14px;
	line-height: 1.7;
}

.lcard__address svg {
	flex: none;
	width: 12px;
	height: 16px;
	margin-top: 4px;
	fill: var(--orange);
}

.lcard__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.lcard__contacts svg {
	flex: none;
	width: 15px;
	height: 15px;
	margin-top: 4px;
	fill: var(--accent-2);
}

.lcard__contacts a {
	color: var(--accent-3);
}

.lcard__contacts a:hover {
	color: var(--orange);
}

.lcard__note {
	margin: 4px 0 0;
	color: #6B7780;
	font-size: 13px;
	line-height: 1.4;
}

.lcard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.lcard__btn {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 18px;
	border-radius: 999px;
	font-size: 14px;
}

.lcard__btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ---------- Side panel ---------- */
.locator__panel {
	display: flex;
	flex-direction: column;
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
	max-height: 640px;
	padding: 22px 20px;
	border-radius: 20px;
	background: #FBF9F5;
	box-shadow: inset 0 0 0 1px rgba(10, 48, 58, .06);
}

.locator__eyebrow {
	margin: 0 0 4px;
	color: var(--orange);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.locator__panel-title {
	margin: 0;
	color: var(--accent-3);
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: normal;
	line-height: 1.1;
	letter-spacing: 1.5px;
}

.locator__panel-meta {
	margin: 6px 0 0;
	color: var(--accent-2);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.locator__mix {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.locator__mix-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px 4px 4px;
	border-radius: 999px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(10, 48, 58, .07);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.locator__mix-item b {
	font-weight: 800;
}

.locator__mix-item .lc-icon {
	width: 26px;
	height: 26px;
}

.locator__panel-hint {
	margin: 18px 0 10px;
	padding-top: 16px;
	border-top: 1px dashed #E2D8C6;
	color: #6B7780;
	font-size: 14px;
	line-height: 1.45;
}

.locator__list {
	flex: 1 1 auto;
	margin: 0 -8px;
	padding: 2px 8px 4px;
	overflow: auto;
}

.locator__list li + li {
	margin-top: 6px;
}

.locator__item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 12px 12px 14px;
	border: 0;
	border-radius: 14px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px rgba(10, 48, 58, .07);
	color: var(--accent-3);
	text-align: left;
	transition: box-shadow .2s, transform .2s, background .2s;
}

.locator__item:hover,
.locator__item.is-hover,
.locator__item:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--sky), 0 12px 22px -14px rgba(10, 48, 58, .5);
	transform: translateY(-1px);
}

.locator__item.is-selected {
	background: #FFF5EF;
	box-shadow: 0 0 0 2px var(--orange);
}

.locator__item--branch {
	padding-left: 8px;
}

.locator__item-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--accent-8);
}

.locator__item-icon .lc-icon {
	width: 32px;
	height: 32px;
}

.locator__item-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.locator__item-name {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.locator__item-sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	color: #6B7780;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.locator__item-sub .lc-icon {
	width: 20px;
	height: 20px;
}

.locator__item-sub .lc-icon + .lc-icon,
.locator__item-sub .lc-icon:not(:first-child) {
	margin-left: 6px;
}

.locator__item-count {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--orange);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 800;
}

.locator__item-go svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: #B9AF9C;
}

/* ==========================================================================
   RESPONSIVE — LAPTOP (<= 1366px)
   ========================================================================== */
@media (max-width: 1366px) {
	.locator__body {
		grid-template-columns: 290px minmax(0, 1fr);
	}
}

/* ==========================================================================
   RESPONSIVE — TABLET (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.locator {
		padding: 60px 30px 40px;
	}

	.locator::before,
	.locator::after {
		width: 44px;
		height: 44px;
	}

	.locator__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.locator__stage {
		grid-column: 1;
		grid-row: 1;
		height: 540px;
	}

	.locator__panel {
		grid-column: 1;
		grid-row: 2;
		max-height: none;
	}

	.locator__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		overflow: visible;
	}

	.locator__list li + li {
		margin-top: 0;
	}
}

/* ==========================================================================
   RESPONSIVE — MOBILE (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
	.locator {
		padding: 50px 20px 30px;
	}

	.locator::before {
		top: 30px;
		left: 2%;
	}

	.locator::after {
		display: none;
	}

	.locator__title {
		font-size: 30px;
		line-height: 1.2em;
	}

	.locator__subtitle {
		font-size: 15px;
	}

	.locator__legend {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.locator__legend-item {
		border-radius: 18px;
	}

	.locator__app {
		padding: 10px;
		border-radius: 20px;
	}

	.locator__toolbar {
		flex-wrap: nowrap;
		gap: 8px;
		margin-bottom: 10px;
	}

	.locator__crumbs {
		min-width: 0;
	}

	.locator__crumbs li {
		font-size: 14px;
	}

	.locator__crumbs li + li::before {
		margin: 0 8px 0 4px;
	}

	.locator__btn {
		padding: 9px;
	}

	.locator__btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.locator__stage {
		height: 480px;
		height: min(72svh, 480px);
		border-radius: 16px;
	}

	.locator__stage.has-card .locator__controls,
	.locator__stage.has-card .locator__credit {
		opacity: 0;
		pointer-events: none;
	}

	.locator__card {
		top: auto;
		right: 8px;
		bottom: 8px;
		left: 8px;
		width: auto;
		max-height: 62%;
		border-radius: 18px;
		transform: translateY(24px);
		transform-origin: bottom center;
	}

	.lcard__media {
		display: none;
	}

	.lcard__body {
		padding: 14px 14px 14px;
	}

	.lcard__badge {
		margin-bottom: 6px;
	}

	.lcard__title {
		margin-bottom: 6px;
		font-size: 17px;
	}

	.lcard__address {
		margin-bottom: 8px;
		font-size: 13px;
		line-height: 1.55;
	}

	.lcard__contacts li {
		margin-bottom: 4px;
		font-size: 14px;
	}

	.lcard__note {
		display: none;
	}

	.lcard__actions {
		flex-wrap: nowrap;
		margin-top: 10px;
	}

	.lcard__btn {
		padding: 11px 12px;
		font-size: 13px;
	}

	.lp__inner {
		gap: 6px;
		padding: 4px 4px 4px 10px;
		font-size: 13px;
	}

	.lp__count {
		min-width: 22px;
		height: 22px;
		font-size: 12px;
	}

	.lm {
		width: 40px;
		height: 40px;
	}

	.lm .lc-icon {
		width: 33px;
		height: 33px;
	}

	.locator__controls {
		right: 10px;
		bottom: 10px;
	}

	.locator__ctrl {
		width: 36px;
		height: 36px;
	}

	.locator__hint {
		white-space: normal;
		width: max-content;
		max-width: calc(100% - 40px);
	}

	.locator__panel {
		padding: 18px 14px;
	}

	.locator__panel-title {
		font-size: 26px;
	}

	.locator__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.locator *,
	.locator *::before {
		animation: none !important;
		transition: none !important;
	}
}
