.be-trekking-wrap {
	font-family: inherit;
	margin: 0 0 32px;
}

.be-trek-title {
	margin-bottom: 12px;
	font-size: 1.6em;
}

/* Stats strip */
.be-trek-stats-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	background: #f5f7fa;
	border-radius: 8px;
	padding: 10px 16px;
	margin-bottom: 14px;
	font-size: 14px;
}

.be-trek-stat {
	display: flex;
	align-items: center;
	gap: 6px;
}

.be-trek-diff-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
}

.be-trek-stat-label {
	color: #555;
	font-size: 13px;
}

.be-trek-stat-val {
	font-weight: 600;
	color: #333;
}

/* Map */
.be-trekking-map {
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,.15);
	margin-bottom: 10px;
	background: #e8e4d8;
}

/* Elevation chart */
.be-trek-elevation-chart {
	width: 100% !important;
	max-height: 130px;
	margin-bottom: 4px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid #e4e4e4;
	padding: 6px;
	box-sizing: border-box;
}

.be-trek-chart-labels {
	font-size: 12px;
	color: #777;
	margin-bottom: 18px;
	min-height: 16px;
}

/* Description */
.be-trek-description {
	margin: 18px 0;
	line-height: 1.7;
}

/* POI list */
.be-trek-pois {
	margin: 18px 0;
}
.be-trek-pois h3 {
	font-size: 1.05em;
	margin-bottom: 8px;
}
.be-trek-poi-list {
	list-style: disc;
	padding-left: 20px;
	line-height: 1.8;
	font-size: 14px;
}

/* How to get */
.be-trek-howto {
	margin: 18px 0;
	background: #f9f9f9;
	border-left: 4px solid #2196f3;
	padding: 12px 16px;
	border-radius: 0 6px 6px 0;
}
.be-trek-howto h3 {
	margin: 0 0 8px;
	font-size: 1em;
}
.be-trek-howto p {
	margin: 0 0 10px;
	font-size: 14px;
}

/* Nav buttons */
.be-trek-nav-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
.be-trek-nav-btn {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 20px;
	background: #2196f3;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	transition: background .2s;
}
.be-trek-nav-btn:hover {
	background: #1565c0;
}

/* Overview map wrapper */
.be-trekking-overview-wrap {
	margin: 0 0 24px;
}

/* POI popup */
.be-trek-poi-popup {
	min-width: 140px;
}
.be-trek-poi-popup strong {
	display: block;
	margin-bottom: 4px;
}
.be-trek-poi-popup p {
	margin: 0;
	font-size: 12px;
	color: #555;
}

/* ── Distance panel (overview map) ─────────────────────────────────────── */

.be-trek-dist-panel {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	background: #fff;
	border: 1px solid #dde2ea;
	border-top: none;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	padding: 10px 14px;
	font-size: 13px;
	min-height: 42px;
}

.be-trek-dist-hint {
	color: #777;
	font-style: italic;
}

.be-trek-dist-result {
	color: #333;
	flex: 1 1 auto;
}

.be-trek-dist-undo,
.be-trek-dist-reset {
	padding: 5px 14px;
	border: none;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}

.be-trek-dist-undo {
	background: #f5f5f5;
	color: #333;
}

.be-trek-dist-undo:hover {
	background: #e0e0e0;
}

.be-trek-dist-reset {
	background: #ffebee;
	color: #c62828;
}

.be-trek-dist-reset:hover {
	background: #ffcdd2;
}

/* ── Route Calculator ───────────────────────────────────────────────────── */

.be-trek-calc-wrap {
	margin: 0 0 28px;
	font-family: inherit;
}

.be-trek-calc-map {
	cursor: crosshair !important;
}

.be-trek-calc-panel {
	background: #fff;
	border: 1px solid #dde2ea;
	border-top: none;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	padding: 14px 16px 12px;
}

.be-trek-calc-hint {
	font-size: 13px;
	color: #555;
	margin-bottom: 12px;
	padding: 8px 12px;
	background: #f0f4ff;
	border-radius: 6px;
	border-left: 3px solid #2196f3;
}

.be-trek-calc-table-wrap {
	overflow-x: auto;
	margin-bottom: 12px;
}

.be-trek-calc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	min-width: 420px;
}

.be-trek-calc-table th {
	background: #f5f7fa;
	color: #444;
	font-weight: 600;
	padding: 7px 10px;
	text-align: left;
	border-bottom: 2px solid #dde2ea;
	white-space: nowrap;
}

.be-trek-calc-table td {
	padding: 6px 10px;
	border-bottom: 1px solid #eef0f3;
	color: #333;
	vertical-align: middle;
}

.be-trek-calc-table tbody tr:hover {
	background: #f9fbff;
}

.be-trek-calc-total td {
	background: #f5f7fa;
	font-weight: 600;
	border-top: 2px solid #dde2ea;
	border-bottom: none;
}

.be-trek-calc-loading {
	color: #999;
	font-style: italic;
}

.be-trek-calc-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.be-trek-calc-btn {
	padding: 7px 16px;
	border: none;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, opacity .2s;
}

.be-trek-calc-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.be-trek-calc-undo {
	background: #f5f5f5;
	color: #333;
}

.be-trek-calc-undo:not(:disabled):hover {
	background: #e0e0e0;
}

.be-trek-calc-reset {
	background: #ffebee;
	color: #c62828;
}

.be-trek-calc-reset:not(:disabled):hover {
	background: #ffcdd2;
}

.be-trek-calc-pin {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 5px rgba(0,0,0,.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

/* Responsive */
@media (max-width: 600px) {
	.be-trek-stats-strip {
		font-size: 12px;
		padding: 8px 10px;
	}
	.be-trek-diff-badge {
		font-size: 11px;
		padding: 1px 7px;
	}
	.be-trek-nav-btn {
		font-size: 12px;
		padding: 4px 10px;
	}
}
