.sme2-store-map {
	--surface: #ffffff;
	--ink: #17202a;
	--muted: #657180;
	--line: #d9e0e8;
	--panel: #f7f9fb;
	color: var(--ink);
	font-family: inherit;
}

.sme2-store-map *,
.sme2-store-map *::before,
.sme2-store-map *::after {
	box-sizing: border-box;
}

.sme2-store-map__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.sme2-store-map__title {
	margin: 0;
	font-size: clamp(1.6rem, 2.4vw, 2.4rem);
	line-height: 1.1;
}

.sme2-store-map__brand-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.sme2-store-map__brand-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 7px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	box-shadow: 0 1px 2px rgba(23, 32, 42, 0.06);
}

.sme2-store-map__brand-tab.is-active {
	border-color: var(--brand-color);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-color) 32%, transparent);
}

.sme2-store-map__brand-tab img,
.sme2-store-map__tab-mark {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: contain;
	background: var(--brand-color);
}

.sme2-store-map__tab-mark {
	display: inline-grid;
	place-items: center;
	color: #111;
	font-weight: 800;
}

.sme2-store-map__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 18px;
}

.sme2-store-map__filter {
	min-height: 40px;
	padding: 7px 13px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	box-shadow: 0 1px 2px rgba(23, 32, 42, 0.05);
}

.sme2-store-map__filter.is-active {
	border-color: #0f6f8f;
	background: #e8f5f8;
	color: #0b596f;
}

.sme2-store-map__layout {
	display: block;
	margin: 12px 0 14px;
}

.sme2-store-map__canvas {
	position: relative;
	aspect-ratio: 1275 / 897;
	min-height: 0;
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
	background: #d9edf2;
	line-height: 0;
}

.sme2-store-map__image {
	display: block;
	width: 100%;
	height: auto;
}

.sme2-store-map__hotspots {
	display: none;
	position: absolute;
	left: var(--grid-left, 0%);
	top: var(--grid-top, 0%);
	width: var(--grid-width, 100%);
	height: var(--grid-height, 100%);
	z-index: 2;
}

.sme2-store-map__hotspots.is-active {
	display: block;
}

.sme2-store-map__hotspot {
	position: absolute;
	left: var(--x);
	top: var(--y);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--brand-color);
	box-shadow: 0 8px 18px rgba(23, 32, 42, 0.22);
	cursor: default;
	transform: translate(-50%, -50%);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.sme2-store-map__hotspot:hover {
	transform: translate(-50%, -50%) scale(1.16);
	box-shadow: 0 12px 24px rgba(23, 32, 42, 0.28);
}

.sme2-store-map__hotspot img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.sme2-store-map__hotspot span {
	color: #111;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
}

.sme2-store-map__store-area {
	margin-top: 22px;
}

.sme2-store-map__panel {
	display: none;
}

.sme2-store-map__panel.is-active {
	display: block;
}

.sme2-store-map__panel-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.sme2-store-map__panel-heading img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.sme2-store-map__panel-heading h3 {
	margin: 0;
	font-size: 1.25rem;
}

.sme2-store-map__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sme2-store-map__list li {
	display: grid;
	gap: 4px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
}

.sme2-store-map__hotspot[hidden],
.sme2-store-map__list li[hidden] {
	display: none;
}

.sme2-store-map__list strong {
	font-size: 1rem;
	line-height: 1.25;
}

.sme2-store-map__list span,
.sme2-store-map__list small {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.35;
}

.sme2-store-map__list a {
	width: fit-content;
	margin-top: 4px;
	color: #0f6f8f;
	font-weight: 700;
	text-decoration: none;
}

.sme2-store-map__list a:hover,
.sme2-store-map__list a:focus {
	text-decoration: underline;
}

.sme2-store-map__empty {
	margin: 0;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--muted);
	font-weight: 700;
}

.sme2-store-map__empty[hidden] {
	display: none;
}

@media (max-width: 900px) {
	.sme2-store-map__header,
	.sme2-store-map__layout {
		display: grid;
		grid-template-columns: 1fr;
	}

	.sme2-store-map__brand-tabs {
		justify-content: start;
	}

	.sme2-store-map__canvas {
		aspect-ratio: 1275 / 897;
	}

	.sme2-store-map__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.sme2-store-map__brand-tab,
	.sme2-store-map__filter {
		width: 100%;
		justify-content: start;
	}

	.sme2-store-map__hotspot {
		width: 28px;
		height: 28px;
		border-width: 2px;
	}

	.sme2-store-map__hotspot img {
		width: 18px;
		height: 18px;
	}
}
