/* «Ціни» — classes + table. */
.bm-b-price .bm-b-price__head { margin-bottom: 18px; }
.bm-b-price__intro { max-width: 760px; margin: 0 0 36px; font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
.bm-b-price__intro p { margin: 0 0 10px; }
.bm-b-price__intro p:last-child { margin-bottom: 0; }

.bm-b-price__classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 40px; }
/* four classes (owner round 86, 2026-11-10: «Стандарт», «Комфорт», «Комфорт А», «Премиум»): four in a row, two by two to 768 px, one column on phones */
.bm-b-price__classes:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bm-b-price__class {
	padding: 22px 22px 24px;
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r);
	background: #fff;
}
.bm-b-price__class.is-hot { border-color: var(--bm-orange); box-shadow: inset 0 0 0 .5px var(--bm-orange); }
.bm-b-price__class strong {
	display: block;
	margin: 0 0 10px;
	font: 800 15px/1.2 var(--bm-fd);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.bm-b-price__class span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--bm-muted-text); }
.bm-b-price__tintro { max-width: 760px; margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; }
.bm-b-price__caption { margin: 0 0 16px; font: 800 22px/1.25 var(--bm-fd); color: var(--bm-strong); text-wrap: balance; }

.bm-b-price__scroll {
	overflow-x: auto;
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r);
	background: #fff;
	-webkit-overflow-scrolling: touch;
}
.bm-b-price__table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
.bm-b-price__table thead th {
	padding: 14px 20px;
	background: var(--bm-navy-700);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: left;
	color: #fff;
}
.bm-b-price__table tbody tr { border-top: 1px solid var(--bm-border); transition: background 160ms ease; }
.bm-b-price__table tbody tr:hover { background: var(--bm-g50); }
.bm-b-price__table tbody th,
.bm-b-price__table td { padding: 15px 20px; text-align: left; }
.bm-b-price__table tbody th { width: 30%; font-weight: 700; color: var(--bm-strong); }
/* the model link fills its cell (the cell's padding moves onto the link): a target as tall as the row, ≥ 48 px */
.bm-b-price__table tbody th a { display: block; margin: -15px -20px; padding: 15px 20px; color: inherit; }
.bm-b-price__table tbody th a:hover { color: var(--bm-orange-text); }
.bm-b-price__table td { color: var(--bm-text); }
.bm-b-price__table .bm-b-price__total { font-weight: 700; color: var(--bm-orange-text); white-space: nowrap; }
.bm-b-price__note { margin: 14px 0 0; font-size: 12.5px; color: var(--bm-muted-text); }

@media (max-width: 1100px) {
	.bm-b-price__table thead th, .bm-b-price__table tbody th, .bm-b-price__table td { padding-left: 14px; padding-right: 14px; font-size: 13px; }
	.bm-b-price__table tbody th a { margin-inline: -14px; padding-inline: 14px; }
	.bm-b-price__classes:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.bm-b-price__classes, .bm-b-price__classes:has(> :nth-child(4)) { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
	.bm-b-price__intro { margin-bottom: 24px; }
}
@media (max-width: 400px) {
	/* the narrowest phones, RU (owner «да» 2026-10-05): in «… на быстровозводимые дома?» the long word is 12.72 × the
	   font size (305 px at 24 px; 13.07 × with the landing view's fallback face) against a 292 px column at 320 px — it
	   ran into the right gutter at 320–332 px, and past the screen edge (sideways scroll) at 320–327 px while the
	   fallback face showed. As the hero title, the heading scales with the section's width so that the word fits between
	   the gutters: 22.1 px at 320, 24 px again from ≈ 345 px, with ONE divisor (13.2, the fallback face's width) in every
	   font phase, so the size is the same before and after the web font arrives. UA headings fit as they are. */
	.bm-b-price { container-type: inline-size; }
	.bm-b-price .bm-h2:lang(ru) { font-size: min(24px, calc((100cqi - 2 * var(--bm-pad)) / 13.2)); }
}
