/* Mapa Slovenska — frontend */
.ms-map-wrap {
	--ms-ink: #1c2430;
	--ms-line: #dbe2ea;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--ms-ink);
}

/* toolbar */
.ms-map-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
}
.ms-map-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1.5px solid var(--ms-line);
	border-radius: 999px;
	background: #fff;
	color: #7a8494;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s ease;
}
.ms-chip .ms-chip-dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: #c3cad4;
}
.ms-chip.active {
	border-color: var(--chip);
	color: var(--ms-ink);
	background: color-mix(in srgb, var(--chip) 8%, #fff);
}
.ms-chip.active .ms-chip-dot { background: var(--chip); }
.ms-map-kraj {
	margin-left: auto;
	padding: 7px 12px;
	border: 1.5px solid var(--ms-line);
	border-radius: 10px;
	font-size: 14px;
	background: #fff;
	color: var(--ms-ink);
}

/* mapa + panel */
.ms-map-canvas-wrap { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(16,32,54,.12); }
.ms-map-canvas { width: 100%; z-index: 1; }
.ms-pin { background: none; border: none; }
.ms-pin svg { filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

.ms-map-detail {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(380px, 92%);
	background: #fff;
	z-index: 1000;
	transform: translateX(105%);
	transition: transform .25s ease;
	box-shadow: -6px 0 24px rgba(16,32,54,.18);
	overflow-y: auto;
}
.ms-map-detail.open { transform: translateX(0); }
.ms-map-detail-close {
	position: absolute;
	top: 10px; right: 12px;
	width: 34px; height: 34px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,.9);
	color: #333;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 1px 5px rgba(0,0,0,.25);
}
.ms-map-detail-body { padding: 0 0 22px; }
.ms-d-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ms-d-nazov { margin: 14px 18px 8px; font-size: 20px; line-height: 1.25; }
.ms-d-kat {
	display: inline-block;
	margin: 0 6px 10px 18px;
	padding: 3px 12px;
	border-radius: 999px;
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .02em;
}
.ms-d-kraj { font-size: 12.5px; color: #7a8494; }
.ms-d-row { margin: 6px 18px; font-size: 14px; line-height: 1.5; }
.ms-d-row a { font-weight: 600; }
.ms-d-popis {
	margin: 12px 18px 0;
	padding-top: 12px;
	border-top: 1px solid var(--ms-line);
	font-size: 14px;
	line-height: 1.6;
}
.ms-d-ine { margin: 10px 18px 0; font-size: 13px; color: #5b6572; line-height: 1.5; }
.ms-map-count { margin-top: 8px; font-size: 13px; color: #7a8494; }

@media (max-width: 560px) {
	.ms-map-kraj { margin-left: 0; width: 100%; }
	.ms-d-img { height: 150px; }
}
