.bt-points {
	--bt-points-ink: #101110;
	--bt-points-surface: #191a17;
	--bt-points-paper: #f3ecdf;
	--bt-points-muted: #bcb4a8;
	--bt-points-amber: #c88b2a;
	--bt-points-border: rgba(243, 236, 223, .16);
	width: 100%;
	margin-top: clamp(36px, 5vw, 64px);
	color: var(--bt-points-paper);
}

.bt-points *,
.bt-points *::before,
.bt-points *::after {
	box-sizing: border-box;
}

.bt-points__toolbar {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(210px, .45fr) auto;
	align-items: end;
	margin-bottom: 20px;
	gap: 14px;
}

.bt-points__field {
	display: grid;
	gap: 8px;
}

.bt-points__field > span {
	color: var(--bt-points-muted);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.bt-points__field input,
.bt-points__field select {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--bt-points-border);
	border-radius: 0;
	background: var(--bt-points-surface);
	color: var(--bt-points-paper);
	font: 400 .92rem/1.2 Lato, Arial, sans-serif;
}

.bt-points__field input::placeholder { color: rgba(243, 236, 223, .48); }
.bt-points__field select { cursor: pointer; }

.bt-points__field input:focus,
.bt-points__field select:focus {
	border-color: var(--bt-points-amber);
	outline: 1px solid var(--bt-points-amber);
	outline-offset: 0;
}

.bt-points__counter {
	min-width: 92px;
	margin: 0 0 15px;
	color: var(--bt-points-amber);
	font-size: .78rem;
	font-weight: 700;
	text-align: right;
}

.bt-points__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(320px, .85fr);
	min-height: 620px;
	border: 1px solid var(--bt-points-border);
	background: var(--bt-points-surface);
}

.bt-points__map-shell {
	position: relative;
	min-height: 620px;
	border-right: 1px solid var(--bt-points-border);
	background: #24251f;
}

.bt-points__map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 620px;
	z-index: 0;
}

.bt-points__map-message {
	display: grid;
	position: absolute;
	inset: 0;
	place-content: center;
	margin: 0;
	padding: 40px;
	color: var(--bt-points-muted);
	line-height: 1.65;
	text-align: center;
}

.bt-points__map-message[hidden],
.bt-points__no-results[hidden],
.bt-point-card[hidden] {
	display: none !important;
}

.bt-points__results {
	max-height: 620px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: var(--bt-points-amber) var(--bt-points-ink);
}

.bt-point-card {
	position: relative;
	border-bottom: 1px solid var(--bt-points-border);
	background: var(--bt-points-surface);
	transition: background-color .2s ease, box-shadow .2s ease;
}

.bt-point-card:last-of-type { border-bottom: 0; }
.bt-point-card:hover,
.bt-point-card.is-active { background: #21221e; }
.bt-point-card.is-active { box-shadow: inset 3px 0 0 var(--bt-points-amber); }

.bt-point-card__main {
	display: grid;
	width: 100%;
	margin: 0;
	padding: 24px 24px 15px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-family: Lato, Arial, sans-serif;
	text-align: left;
}

button.bt-point-card__main { cursor: pointer; }

button.bt-point-card__main:focus-visible {
	outline: 2px solid var(--bt-points-amber);
	outline-offset: -4px;
}

.bt-point-card__type {
	margin-bottom: 8px;
	color: var(--bt-points-amber);
	font-size: .67rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bt-point-card__name {
	color: var(--bt-points-paper);
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.15rem, 1.4vw, 1.4rem);
	line-height: 1.15;
}

.bt-point-card__address {
	margin-top: 8px;
	color: var(--bt-points-paper);
	font-size: .84rem;
	line-height: 1.45;
}

.bt-point-card__description {
	margin-top: 8px;
	color: var(--bt-points-muted);
	font-size: .76rem;
	line-height: 1.5;
}

.bt-point-card__route {
	display: inline-flex;
	align-items: center;
	margin: 0 24px 22px;
	gap: 7px;
	color: var(--bt-points-amber) !important;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .055em;
	text-decoration: none;
	text-transform: uppercase;
}

.bt-point-card__route span {
	transition: transform .2s ease;
}

.bt-point-card__route:hover span,
.bt-point-card__route:focus-visible span { transform: translateX(4px); }
.bt-point-card__route:focus-visible { outline: 2px solid var(--bt-points-amber); outline-offset: 4px; }

.bt-points__no-results {
	margin: 0;
	padding: 40px 28px;
	color: var(--bt-points-muted);
	line-height: 1.6;
	text-align: center;
}

.bt-points-empty {
	margin-top: 40px;
	padding: clamp(28px, 4vw, 52px);
	border: 1px solid rgba(243, 236, 223, .16);
	background: #191a17;
}

.bt-points-empty h2 { margin-top: 0 !important; }
.bt-points-empty p { margin-bottom: 0; color: #bcb4a8; }

.bt-points .leaflet-container {
	background: #24251f;
	font-family: Lato, Arial, sans-serif;
}

.bt-points .leaflet-tile-pane {
	filter: grayscale(.82) saturate(.55) brightness(.82) contrast(1.08);
}

.bt-points .leaflet-control-zoom {
	border: 1px solid rgba(16, 17, 16, .22);
	border-radius: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.bt-points .leaflet-control-zoom a {
	border-radius: 0 !important;
	background: var(--bt-points-paper);
	color: var(--bt-points-ink);
}

.bt-points .leaflet-control-zoom a:hover,
.bt-points .leaflet-control-zoom a:focus { background: #fffaf1; }

.bt-points .leaflet-control-attribution {
	background: rgba(243, 236, 223, .88);
	color: #35332f;
	font-size: 9px;
}

.bt-points .leaflet-control-attribution a { color: #43351f; text-decoration: underline; }

.bt-points-marker {
	border: 0;
	background: transparent;
}

.bt-points-marker span {
	display: block;
	position: relative;
	width: 30px;
	height: 30px;
	border: 3px solid var(--bt-points-paper);
	border-radius: 50% 50% 50% 0;
	background: var(--bt-points-amber);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .36);
	transform: rotate(-45deg);
}

.bt-points-marker span::after {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bt-points-ink);
	content: "";
}

.bt-points .leaflet-popup-content-wrapper,
.bt-points .leaflet-popup-tip {
	border-radius: 0;
	background: var(--bt-points-ink);
	color: var(--bt-points-paper);
}

.bt-points .leaflet-popup-content-wrapper { box-shadow: 0 18px 45px rgba(0, 0, 0, .35); }
.bt-points .leaflet-popup-content { margin: 18px; }

.bt-point-popup { display: grid; gap: 7px; }
.bt-point-popup__type { color: var(--bt-points-amber); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bt-point-popup__name { font-family: "Playfair Display", Georgia, serif; font-size: 1.08rem; line-height: 1.15; }
.bt-point-popup__address { color: var(--bt-points-muted); font-size: .76rem; line-height: 1.45; }
.bt-point-popup__route { margin-top: 5px; color: var(--bt-points-amber) !important; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

@media (max-width: 900px) {
	.bt-points__toolbar { grid-template-columns: 1fr 1fr; }
	.bt-points__counter { grid-column: 1 / -1; margin: 0; text-align: left; }
	.bt-points__layout { grid-template-columns: 1fr; min-height: 0; }
	.bt-points__map-shell,
	.bt-points__map { min-height: 440px; }
	.bt-points__map-shell { border-right: 0; border-bottom: 1px solid var(--bt-points-border); }
	.bt-points__results { max-height: none; }
}

@media (max-width: 600px) {
	.bt-points { margin-top: 30px; }
	.bt-points__toolbar { grid-template-columns: 1fr; }
	.bt-points__counter { grid-column: auto; }
	.bt-points__map-shell,
	.bt-points__map { min-height: 360px; }
	.bt-point-card__main { padding: 21px 20px 13px; }
	.bt-point-card__route { margin: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.bt-point-card,
	.bt-point-card__route span { transition: none; }
}
