/* ─── Primenius Locator ──────────────────────────────────────────────────── */

.primenius-locator {
	width: 100%;
	font-family: inherit;
}

/* ─── Taxonomy filter ──────────────────────────────────────────────────── */

.prloc-taxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-bottom: 16px;
}

.prloc-taxonomy__item {
	display: flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	user-select: none;
}

.prloc-taxonomy__item input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
	transition: border-color .15s;
}

.prloc-taxonomy__item input[type="radio"]:checked::after {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	background: currentColor;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* ─── Zoekbalk ─────────────────────────────────────────────────────────── */

.prloc-search {
	margin-bottom: 16px;
}

.prloc-search__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}

.prloc-search__label {
	display: block;
	margin-bottom: 8px;
	font-size: 24px;
	font-weight: 600;
	color: #fff;
}

.prloc-search__input {
	flex: 1 1 220px;
	padding: 10px 14px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.4;
	background: #fff;
	color: #1a1a1a;
	transition: border-color .15s;
}

.prloc-search__input:focus {
	outline: none;
	border-color: #555;
}


.prloc-search__btn {
	flex: 0 0 auto;
	padding: 10px 24px;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	background: #1a1a1a;    /* pas aan naar huisstijlkleur */
	color: #fff;
	transition: background .15s, opacity .15s;
	white-space: nowrap;
}

.prloc-search__btn:hover {
	background: #333;
}

.prloc-search__btn:disabled,
.prloc-search__btn--loading {
	opacity: .55;
	cursor: wait;
}

.prloc-search__count {
	margin: 8px 0 0;
	font-size: 14px;
	color: #666;
	min-height: 20px;
}

/* ─── Body: kaart + lijst naast elkaar ──────────────────────────────────── */

.prloc-list--hidden {
	display: none;
}

.prloc-body--hidden {
	display: none;
}

.prloc-body {
	display: flex;
	gap: 0;
	align-items: flex-start;
}

.prloc-map-wrap {
	flex: 1 1 0%;
	min-width: 0;
}

/* ─── Kaart ─────────────────────────────────────────────────────────────── */

.prloc-map {
	width: 100%;
	height: 800px;
	border-radius: 6px 0 0 6px;
	overflow: hidden;
	background: #e8e8e8;
}

/* ─── Resultatenlijst ────────────────────────────────────────────────────── */

.prloc-list {
	flex: 0 0 300px;
	width: 300px;
	height: 800px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-left: none;
	border-radius: 0 6px 6px 0;
}

.prloc-list__items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.prloc-list__item {
	border-bottom: 1px solid #ebebeb;
	transition: background .12s;
}

.prloc-list__item:last-child {
	border-bottom: none;
}

.prloc-list__item:hover,
.prloc-list__item--active {
	background: #f5f5f5;
}

.prloc-list__link {
	display: block;
	padding: 14px 16px;
	text-decoration: none;
	color: inherit;
}

.prloc-list__name {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 3px;
	line-height: 1.3;
}

.prloc-list__meta {
	display: block;
	font-size: 12px;
	color: #777;
	line-height: 1.4;
}

/* ─── Info window ───────────────────────────────────────────────────────── */

.prloc-iw {
	padding: 4px 2px;
	max-width: 240px;
	font-family: inherit;
}

.prloc-iw__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}

.prloc-iw__address {
	margin: 0 0 10px;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

.prloc-iw__link {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.prloc-iw__link:hover {
	opacity: .75;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 700px) {
	.prloc-body {
		flex-direction: column;
	}

	.prloc-map {
		height: 400px;
		border-radius: 6px 6px 0 0;
	}

	.prloc-list {
		width: 100%;
		height: 350px;
		border-left: 1px solid #e0e0e0;
		border-top: none;
		border-radius: 0 0 6px 6px;
	}
}

@media (max-width: 480px) {
	.prloc-search__fields {
		flex-direction: column;
	}

	.prloc-search__input,
	.prloc-search__radius,
	.prloc-search__btn {
		width: 100%;
	}
}
