/* ==========================================================================
   NHCharts — сравнительные графики (карточка товара + конфигуратор)
   ========================================================================== */

.nh-chart { margin-bottom: 14px; }

.nh-chart__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 5px;
	gap: 10px;
}

.nh-chart__label {
	font-size: 13px;
	font-weight: 600;
	color: #344054;
}

.nh-chart__value {
	font-size: 13px;
	font-weight: 700;
	color: #101828;
	white-space: nowrap;
}

.nh-chart__value--good { color: #067647; }

/* --- Диапазонный бар (прирост min–max) --- */

.nh-chart__track {
	position: relative;
	height: 10px;
	background: #eef1f5;
	border-radius: 5px;
	overflow: hidden;
}

.nh-chart__fill {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	border-radius: 5px;
}

.nh-chart__fill--solid {
	background: #1259A8;
}

.nh-chart__fill--range {
	background: repeating-linear-gradient(
		45deg,
		#8fb8e0,
		#8fb8e0 4px,
		#c3d9f0 4px,
		#c3d9f0 8px
	);
}

/* --- Точечный бар (было -> стало) --- */

.nh-chart__track--point {
	background: #f2f4f7;
	overflow: visible;
}

.nh-chart__connector {
	position: absolute;
	top: 3px;
	height: 4px;
	background: #d0d5dd;
	border-radius: 2px;
}

.nh-chart__marker {
	position: absolute;
	top: -3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	transform: translateX(-50%);
	border: 3px solid #98a2b3;
	background: #fff;
}

.nh-chart__marker--after {
	border-color: #1259A8;
	background: #1259A8;
}

.nh-chart__marker--good {
	border-color: #067647;
	background: #067647;
}

.nh-chart__legend {
	display: flex;
	gap: 14px;
	margin-top: 6px;
}

.nh-chart__legend-item {
	font-size: 11px;
	color: #98a2b3;
}
