.rt-price-map {
	margin: 2.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--rt-line, rgba(15, 42, 51, 0.12));
}

.rt-price-map__title {
	font-family: var(--rt-font-display, "Literata", serif);
	font-weight: 600;
	font-size: clamp(1.25rem, 2.2vw, 1.7rem);
	letter-spacing: -0.02em;
	text-align: center;
	margin: 0 0 0.85rem;
	color: var(--rt-water-deep, #0e4a56);
}

.rt-price-map__legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem 1.1rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	color: var(--rt-muted, #5a6f78);
	font-size: 0.88rem;
}

.rt-price-map__legend li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.rt-price-map__swatch {
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
}

.rt-price-map__swatch--red { background: #ed4543; }
.rt-price-map__swatch--blue { background: #1e98ff; }
.rt-price-map__swatch--green { background: #56db40; }
.rt-price-map__swatch--grey { background: #b3b3b3; }

.rt-price-map__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 25%;
	gap: 1rem 1.25rem;
	align-items: stretch;
}

.rt-price-map__canvas {
	min-height: min(60vh, 520px);
	height: min(60vh, 520px);
	border-radius: 14px;
	overflow: hidden;
	background: #e8eef2;
}

.rt-price-map__panel {
	min-width: 0;
	min-height: min(60vh, 520px);
	max-height: min(60vh, 520px);
	overflow: auto;
	padding: 0.85rem 1rem 1rem;
	border: 1px solid rgba(15, 42, 51, 0.1);
	border-radius: 14px;
	background: #fff;
}

.rt-price-map__panel.is-empty {
	color: var(--rt-muted, #5a6f78);
}

.rt-price-map__hint {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
}

.rt-price-map__dock-title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rt-ink, #0f2a33);
}

.rt-price-map__dock-meta {
	margin: 0 0 0.2rem;
	color: var(--rt-muted, #5a6f78);
	font-size: 0.88rem;
}

.rt-price-map__metro {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.25rem;
	color: var(--rt-muted, #5a6f78);
	font-size: 0.88rem;
	line-height: 1.3;
}

.rt-price-map__metro-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.15em;
	height: 1.15em;
	border: 1.5px solid #8a9298;
	border-radius: 50%;
	background: transparent;
	color: #000;
	font-size: 0.72em;
	font-weight: 700;
	line-height: 1;
	font-family: inherit;
}

.rt-price-map__metro-name {
	min-width: 0;
}

.rt-price-map__empty {
	margin: 0.75rem 0 0;
	color: var(--rt-muted, #5a6f78);
	font-size: 0.95rem;
	line-height: 1.45;
}

.rt-price-map__trips {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.rt-price-map__trip {
	padding: 0.7rem 0.85rem;
	border-radius: 14px;
	background:
		linear-gradient(180deg, rgba(232, 243, 245, 0.55), rgba(232, 243, 245, 0) 42%);
}

.rt-price-map__trip-title {
	color: #0096d2;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.rt-price-map__trip-title:hover,
.rt-price-map__trip-title:focus-visible {
	color: #004d6c;
	text-decoration: underline;
}

.rt-price-map__trip-meta {
	margin-top: 0.2rem;
	color: var(--rt-muted, #5a6f78);
	font-size: 0.86rem;
}

.rt-price-map__trip-price {
	margin-top: 0.25rem;
	font-weight: 700;
	color: var(--rt-ink, #0f2a33);
}

@media (max-width: 767px) {
	.rt-price-map__layout {
		grid-template-columns: 1fr;
	}

	.rt-price-map__canvas,
	.rt-price-map__panel {
		min-height: 280px;
		height: auto;
		max-height: none;
	}

	.rt-price-map__canvas {
		height: 280px;
	}

	.rt-price-map__panel {
		max-height: 22rem;
	}
}
