/* Shortcode [cpt_salon_locator] */
.cpt-salon-locator {
	--cpt-salon-locator-height: 560px;
	max-width: 100%;
	margin-bottom: 1.5rem;
}

.cpt-salon-locator__notice {
	background: #fff3cd;
	border: 1px solid #ffc107;
	padding: 0.75rem 1rem;
	margin: 0 0 1rem;
	border-radius: 4px;
	font-size: 0.9rem;
}

.cpt-salon-locator__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
	background: #f6f7f7;
	border-radius: 8px;
	border: 1px solid #e2e4e7;
}

.cpt-salon-locator__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
	min-width: 0;
}

.cpt-salon-locator__field:first-child {
	flex: 1 1 200px;
}

.cpt-salon-locator__label {
	font-size: 0.8rem;
	font-weight: 600;
	color: #444;
}

.cpt-salon-locator__input,
.cpt-salon-locator__select {
	padding: 0.5rem 0.65rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95rem;
	min-width: 0;
}

.cpt-salon-locator__input--location {
	width: 100%;
	max-width: 320px;
}

.cpt-salon-locator__search-btn {
	position: relative;
	top: -10px;
	padding: 0.55rem 1.25rem;
	background: #6b2d8b;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	font-size: 0.95rem;
	align-self: flex-end;
}

.cpt-salon-locator__search-btn:hover,
.cpt-salon-locator__search-btn:focus-visible {
	background: #5a2573;
}

.cpt-salon-locator__body {
	display: grid;
	grid-template-columns: minmax(260px, 340px) 1fr;
	gap: 1rem;
	min-height: var(--cpt-salon-locator-height);
}

@media (max-width: 782px) {
	.cpt-salon-locator__body {
		grid-template-columns: 1fr;
	}
}

.cpt-salon-locator__list-wrap {
	overflow: auto;
	max-height: var(--cpt-salon-locator-height);
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	background: #fff;
}

.cpt-salon-locator__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cpt-salon-locator__item {
	padding: 1rem;
	border-bottom: 1px solid #eee;
}

.cpt-salon-locator__item:last-child {
	border-bottom: none;
}

.cpt-salon-locator__item-title {
	display: block;
	font-size: 1rem;
	margin-bottom: 0.35rem;
	color: #1a1a1a;
}

.cpt-salon-locator__item-line {
	font-size: 0.88rem;
	color: #555;
	line-height: 1.45;
	margin-top: 0.15rem;
}

.cpt-salon-locator__item-address {
	font-size: 0.88rem;
	color: #555;
	line-height: 1.45;
	white-space: pre-wrap;
	margin-top: 0.15rem;
}

.cpt-salon-locator__item-contact {
	font-size: 0.88rem;
	color: #333;
	line-height: 1.45;
	margin-top: 0.35rem;
}

a.cpt-salon-locator__item-contact {
	display: block;
	color: #6b2d8b;
	text-decoration: underline;
}

a.cpt-salon-locator__item-contact + a.cpt-salon-locator__item-contact {
	margin-top: 0.2rem;
}

a.cpt-salon-locator__item-contact:hover,
a.cpt-salon-locator__item-contact:focus-visible {
	color: #4a1f5f;
}

.cpt-salon-locator__item-distance {
	font-size: 0.85rem;
	color: #6b2d8b;
	font-weight: 600;
	margin-top: 0.35rem;
}

.cpt-salon-locator__item-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 0.65rem;
}

.cpt-salon-locator__link {
	font-size: 0.85rem;
	color: #6b2d8b;
	text-decoration: underline;
}

.cpt-salon-locator__link:hover {
	color: #4a1f5f;
}

.cpt-salon-locator__empty {
	padding: 1.5rem;
	color: #666;
	font-size: 0.95rem;
}

.cpt-salon-locator__map {
	min-height: 320px;
	height: var(--cpt-salon-locator-height);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e2e4e7;
	background: #f4f4f2;
}

/* Leaflet: KEUNE-achtige markers — witte ring, donkere rand, center stip */
.leaflet-container .cpt-salon-locator-marker-wrap {
	background: transparent !important;
	border: none !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
}

.cpt-salon-locator-marker {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #2d2d2d;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.cpt-salon-locator-marker__center {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #2d2d2d;
	flex-shrink: 0;
}

.cpt-salon-locator-marker--user {
	border-color: #b91c1c;
}

.cpt-salon-locator-marker--user .cpt-salon-locator-marker__center {
	background: #b91c1c;
}

.cpt-salon-locator__map.leaflet-container {
	z-index: 1;
}

@media (max-width: 782px) {
	.cpt-salon-locator__map {
		min-height: 280px;
		height: 50vh;
	}
}
