/* Таблицы сравнения ✓ / ✗ */
.brelight-compare {
	width: 100%;
	margin: .5rem 0 1.5rem;
	border-collapse: collapse;
}
.brelight-compare th,
.brelight-compare td {
	padding: .55em .8em;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	text-align: left;
	vertical-align: middle;
}
.brelight-compare th { font-weight: 600; }
.brelight-compare th:not(:first-child),
.brelight-compare td:not(:first-child) {
	width: 9em;
	text-align: center;
}
.brelight-compare .yes { color: #3ec46d; font-size: 1.3em; font-weight: 700; }
.brelight-compare .no  { color: #e5484d; font-size: 1.3em; font-weight: 700; }

@media (max-width: 600px) {
	.brelight-compare th:not(:first-child),
	.brelight-compare td:not(:first-child) { width: 5.5em; }
}

/* Схема дальности освещённости [brelight_beam] (inc/beam-diagram.php) */
.brelight-beam {
	--beam-0: #ef4444; /* ближняя зона, самая яркая */
	--beam-1: #f5b700;
	--beam-2: #22a559;
	--beam-3: #2f80ed;
	margin: .5rem 0 1.5rem;
	padding: 1.1rem 1.2rem .9rem;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 10px;
	background: rgba(0, 0, 0, .35);
}
.brelight-beam__plot { position: relative; }
.brelight-beam__svg {
	display: block;
	width: 100%;
	height: clamp(64px, 11vw, 120px);
	overflow: visible;
}
.brelight-beam__zone { stroke: rgba(0, 0, 0, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.brelight-beam__zone--0 { fill: var(--beam-0); }
.brelight-beam__zone--1 { fill: var(--beam-1); }
.brelight-beam__zone--2 { fill: var(--beam-2); }
.brelight-beam__zone--3 { fill: var(--beam-3); }
.brelight-beam__tick { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.brelight-beam__lamp { fill: #2a2f38; stroke: rgba(255, 255, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.brelight-beam__lens { fill: #e8f0ff; }
.brelight-beam__marks {
	position: relative;
	height: 1.6em;
	margin-top: .3em;
}
.brelight-beam__mark {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	font-weight: 600;
	white-space: nowrap;
}
.brelight-beam__mark--end { transform: translateX(-100%); }
.brelight-beam__legend {
	display: flex;
	flex-wrap: wrap;
	gap: .3em 1.2em;
	margin: .6em 0 0;
	padding: 0;
	list-style: none;
}
.brelight-beam__legend li { display: flex; align-items: center; gap: .45em; margin: 0; }
.brelight-beam__legend-title { opacity: .75; }
.brelight-beam__swatch {
	display: inline-block;
	width: .85em;
	height: .85em;
	border-radius: 3px;
}
.brelight-beam__swatch--0 { background: var(--beam-0); }
.brelight-beam__swatch--1 { background: var(--beam-1); }
.brelight-beam__swatch--2 { background: var(--beam-2); }
.brelight-beam__swatch--3 { background: var(--beam-3); }
.brelight-beam figcaption {
	margin-top: .5em;
	font-size: .9em;
	opacity: .7;
}
@media (max-width: 600px) {
	.brelight-beam { padding: .9rem .8rem .7rem; }
	.brelight-beam__mark { font-size: .85em; }
	/* ближние зоны на узком экране стоят тесно: подписи через одну во второй ряд */
	.brelight-beam__marks { height: 3em; }
	.brelight-beam__mark { line-height: 1.3; }
	.brelight-beam__mark:nth-child(even) { top: 1.5em; }
	.brelight-beam__legend-title { flex-basis: 100%; }
}

/* Список преимуществ с галочками */
.brelight-checklist {
	margin: .5rem 0 1.5rem;
	padding: 0;
	list-style: none;
}
.brelight-checklist li {
	position: relative;
	margin: 0 0 .45em;
	padding-left: 1.6em;
}
.brelight-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #3ec46d;
	font-weight: 700;
}
