/* ── Wrapper ── */
.mib-wrap {
	width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Filter bar ── */
.mib-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 0 14px;
}

.mib-filter-btn {
	padding: 7px 16px;
	border: 2px solid #009c3b;
	border-radius: 24px;
	background: #fff;
	color: #009c3b;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.17s, color 0.17s, box-shadow 0.17s;
	line-height: 1.2;
}

.mib-filter-btn:hover {
	background: #e6f5ec;
	box-shadow: 0 1px 4px rgba(0,156,59,0.2);
}

.mib-filter-btn.mib-active {
	background: #009c3b;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0,156,59,0.35);
}

/* ── Map container ── */
.mib-map-container {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0,0,0,0.14);
}

/* ── Custom marker pin ── */
.mib-marker { background: transparent; border: none; }

.mib-pin {
	position: relative;
	width: 28px;
	height: 28px;
	border-radius: 50% 50% 50% 0;
	background: #009c3b;
	transform: rotate(-45deg);
	box-shadow: 0 3px 8px rgba(0,0,0,0.35);
	transition: transform 0.15s, box-shadow 0.15s;
}

.mib-pin::after {
	content: '';
	position: absolute;
	width: 12px; height: 12px;
	background: #fff;
	border-radius: 50%;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
}

.mib-marker:hover .mib-pin {
	transform: rotate(-45deg) scale(1.15);
	box-shadow: 0 5px 14px rgba(0,0,0,0.4);
}

/* ── Popup ── */
.mib-leaflet-popup .leaflet-popup-content-wrapper {
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.18);
	padding: 0;
	overflow: hidden;
}
.mib-leaflet-popup .leaflet-popup-content { margin: 0; }
.mib-leaflet-popup .leaflet-popup-tip-container { margin-top: -1px; }

.mib-popup {
	padding: 16px 18px 18px;
	min-width: 210px;
	max-width: 300px;
}

.mib-popup-title {
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 3px solid #009c3b;
	line-height: 1.3;
}

.mib-popup-desc {
	font-size: 12.5px;
	color: #444;
	line-height: 1.6;
	margin-bottom: 12px;
}

.mib-popup-desc p { margin: 0 0 3px; }
.mib-popup-desc a { color: #009c3b; }

.mib-popup-btn {
	display: inline-block;
	background: #009c3b;
	color: #fff !important;
	text-decoration: none !important;
	padding: 7px 18px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s;
}

.mib-popup-btn:hover { background: #007a2f; }
