.dl-locator {
	--dl-accent: #f1685e;
	--dl-selected: #2dd4bf;
	--dl-radius: 14px;
	box-sizing: border-box;
	max-width: 1100px;
	margin: 0 auto;
	font-family: inherit;
}

.dl-locator *,
.dl-locator *::before,
.dl-locator *::after {
	box-sizing: border-box;
}

/* Filters */
.dl-locator-filters {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.dl-filter {
	position: relative;
	flex: 1 1 260px;
	display: flex;
	align-items: stretch;
	border: 1px solid #e2e2e2;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.dl-filter select.dl-filter-city,
.dl-filter input.dl-filter-name {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	padding: 12px 18px;
	font-size: 14px;
	color: #444;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	min-width: 0;
}

.dl-filter-arrow {
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dl-accent);
	border: 0;
	cursor: pointer;
}

.dl-filter-arrow::before {
	content: "";
	display: block;
	width: 15px;
	height: 16px;
	background-color: #fff;
	-webkit-mask-image: url("../icons/down-arrow-selector.svg");
	mask-image: url("../icons/down-arrow-selector.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* List */
.dl-locator-body {
	display: grid;
	grid-template-columns: minmax(260px, 38%) 1fr;
	gap: 28px;
	align-items: start;
}

.dl-locator-list {
	max-height: 560px;
	overflow-y: auto;
	padding-right: 12px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	scrollbar-width: thin;
	scrollbar-color: var(--dl-selected) #eee;
}

.dl-locator-list::-webkit-scrollbar {
	width: 6px;
}

.dl-locator-list::-webkit-scrollbar-track {
	background: #eee;
	border-radius: 999px;
}

.dl-locator-list::-webkit-scrollbar-thumb {
	background: var(--dl-selected);
	border-radius: 999px;
}

.dl-card {
	background: #fff;
	border-radius: var(--dl-radius);
	padding: 20px 22px;
	cursor: pointer;
	border: 2px solid #f2f2f2;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.dl-card:hover {
	background: #f2f2f2;
}

.dl-card.is-selected {
	background: #f2f2f2;
	border-color: #f2f2f2;
}

.dl-card:focus {
	outline: 2px solid var(--dl-accent);
	outline-offset: 2px;
}

.dl-card[hidden] {
	display: none;
}

.dl-card-name {
	margin: 0 0 10px;
	color: var(--dl-accent);
	font-size: 17px;
	font-weight: 700;
}

.dl-card-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 13px;
	color: #333;
	line-height: 1.4;
}

.dl-card-row:last-child {
	margin-bottom: 0;
}

.dl-card-row a {
	color: #333;
	text-decoration: none;
	word-break: break-word;
}

.dl-card-row a:hover {
	text-decoration: underline;
}

.dl-icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	background-color: #3b3b3b;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.dl-icon-pin {
	-webkit-mask-image: url("../icons/marker.svg");
	mask-image: url("../icons/marker.svg");
}

.dl-icon-link {
	-webkit-mask-image: url("../icons/link-icon.svg");
	mask-image: url("../icons/link-icon.svg");
}

.dl-icon-facebook {
	-webkit-mask-image: url("../icons/facbook-icon.svg");
	mask-image: url("../icons/facbook-icon.svg");
}

.dl-icon-mail {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2zm0 2v.01L12 12l8-5.99V6H4zm16 12V8.24l-8 6-8-6V18h16z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2zm0 2v.01L12 12l8-5.99V6H4zm16 12V8.24l-8 6-8-6V18h16z'/%3E%3C/svg%3E");
}

.dl-locator-noresults,
.dl-locator-empty {
	color: #777;
	font-size: 14px;
	padding: 12px 4px;
}

/* Map */
.dl-locator-map {
	width: 100%;
	border-radius: var(--dl-radius);
	overflow: hidden;
	background: #eee;
}

.dl-map-pin {
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

@media (max-width: 782px) {
	.dl-locator-body {
		grid-template-columns: 1fr;
	}

	.dl-locator-list {
		max-height: none;
		order: 2;
	}

	.dl-locator-map {
		order: 1;
		height: 320px !important;
	}
}
