/* ── range page: "see the other ranges" ───────────────────────────────────
 * Loaded on shop and category archives after wp.css. Sits between the product
 * grid and the footer; the consultation closer that follows is the existing
 * product-page one.
 */
.more-ranges { padding-top: 64px; }
.more-ranges .head { margin-bottom: 38px; }

.mr-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mr-grid.n1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.mr-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mr-card {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: stretch;
	background: var(--surf);
	border: 1px solid var(--line);
	border-radius: 26px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 22px 50px -34px rgba(12, 23, 48, .35);
	transition: border-color .25s, transform .25s, box-shadow .25s;
}
.mr-card:hover,
.mr-card:focus-visible {
	border-color: var(--blue-lt);
	transform: translateY(-4px);
	box-shadow: 0 30px 60px -34px rgba(29, 89, 230, .4);
}
.mr-card:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 3px; }

.mr-pic {
	margin: 0;
	display: grid;
	place-items: center;
	padding: 22px;
	background: var(--surf2);
	min-height: 260px;
}
.mr-pic img {
	width: 100%;
	height: 100%;
	max-height: 280px;
	object-fit: contain;
	display: block;
	transition: transform .5s ease;
}
.mr-card:hover .mr-pic img { transform: scale(1.05); }

.mr-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 30px 30px 26px;
	min-width: 0;
}
.mr-count {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue-lt);
}
.mr-body h3 {
	margin: 0;
	font-family: var(--disp);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 600;
	letter-spacing: -.03em;
	line-height: 1.1;
	color: var(--txt);
}
.mr-models { margin: 0; font-size: 15px; font-weight: 600; color: var(--txt); }
.mr-best { margin: 4px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--mut); flex: 1; }
.mr-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 18px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}
.mr-price { font-family: var(--disp); font-size: 18px; font-weight: 600; color: var(--txt); }
.mr-go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: var(--blue-lt);
}
.mr-go svg { width: 17px; height: 17px; transition: transform .25s; }
.mr-card:hover .mr-go svg { transform: translateX(4px); }

.mr-compare { margin: 28px 0 0; text-align: center; }
.mr-compare a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--blue-lt);
	text-decoration: none;
}
.mr-compare a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mr-compare svg { width: 17px; height: 17px; }

@media (max-width: 1100px) {
	.mr-grid,
	.mr-grid.n3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.more-ranges { padding-top: 44px; }
	.mr-card { grid-template-columns: minmax(0, 1fr); }
	.mr-pic { min-height: 0; padding: 18px; }
	.mr-pic img { max-height: 200px; }
	.mr-body { padding: 22px 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.mr-card, .mr-pic img, .mr-go svg { transition: none; }
	.mr-card:hover, .mr-card:hover .mr-pic img, .mr-card:hover .mr-go svg { transform: none; }
}

/* ── range page intro: paragraph, fact chips and a "which one?" guide ──────
 * Sits in the page's opening block. The guide takes the right-hand slot the
 * jump tiles use on the shop, so the hero stays about as tall as before.
 */
.phero .pintro {
	margin: 14px 0 0;
	max-width: 64ch;
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--mut);
}
.pchips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.pchips li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px 7px 11px;
	border-radius: 100px;
	background: var(--surf);
	border: 1px solid var(--line);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--txt);
}
.pchips svg { width: 14px; height: 14px; color: var(--pos); flex: none; }

/* ── range page: "Which Kinetic is for you?" ─────────────────────────────
 * The question is the section heading; under it each model's name and one line
 * on who it suits, in a row with hairlines between. The compare button sits at
 * the right of the heading. */
.cathead--guide { align-items: center; }
.cathead--guide h2 { margin: 0; }
.mguide {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.mguide li { padding: 0 28px; }
.mguide li:first-child { padding-left: 0; }
.mguide li:last-child { padding-right: 0; }
.mguide li + li { border-left: 1px solid var(--line); }
.mguide a { display: block; text-decoration: none; color: inherit; }
.mguide b {
	display: block;
	font-family: var(--disp);
	font-size: 19px;
	font-weight: 600;
	color: var(--txt);
	transition: color .2s;
}
.mguide span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--mut); }
.mguide a:hover b,
.mguide a:focus-visible b { color: var(--blue-lt); }
@media (max-width: 760px) {
	.mguide { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.mguide li,
	.mguide li:first-child,
	.mguide li:last-child { padding: 0; }
	.mguide li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
}

/* ── range page: opening band over a photograph ───────────────────────────
 * The headline and intro sit on a lifestyle photo with a veil that follows the
 * theme (dark on the dark skin, white on the light one). The veil is solid
 * behind the text and clears toward the right, where the machine is.
 */
.phero--photo {
	--ph-veil: linear-gradient(90deg, rgba(5, 11, 22, .93) 0%, rgba(5, 11, 22, .84) 38%, rgba(5, 11, 22, .38) 68%, rgba(5, 11, 22, .08) 100%);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: clamp(400px, 36vw, 540px);
	padding: 0;
}
html.light .phero--photo {
	--ph-veil: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .86) 38%, rgba(255, 255, 255, .34) 68%, rgba(255, 255, 255, .04) 100%);
}
.phero--photo .ph-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 30%;
}
.phero--photo .ph-veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--ph-veil);
}
.phero--photo .wrap {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	padding-block: 56px;
}
.phero--photo .pht { max-width: min(560px, 46vw); }
.phero--photo .pchips li { background: var(--surf); }

@media (max-width: 800px) {
	.phero--photo {
		--ph-veil: linear-gradient(180deg, rgba(5, 11, 22, .9) 0%, rgba(5, 11, 22, .78) 60%, rgba(5, 11, 22, .6) 100%);
		min-height: 0;
	}
	html.light .phero--photo {
		--ph-veil: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 60%, rgba(255, 255, 255, .7) 100%);
	}
	.phero--photo .wrap { padding-block: 40px; }
}

/* ── range page: the models side by side ──────────────────────────────────
 * Sits between the product grid and "Not quite the one?". The button at the top
 * of the range links here (#compare-models), so it clears the sticky header.
 * Table styling is the shared .cmp one; this only adds the photo heads, the
 * "only show what differs" switch and a pinned label column for small screens.
 */
/* Spacing between the sections of a range page. The theme gives every section
 * 78 to 104px top and bottom, which stacked to about 220px between the cards and
 * the table; each section here takes a single 56px gap above it instead. */
section.range-compare { padding: 56px 0 0; scroll-margin-top: 90px; }
.range-compare .head { margin-bottom: 26px; }

.rc-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }

.difftog {
	display: inline-flex; align-items: center; gap: 10px; cursor: pointer; flex: none;
	font-size: 14px; font-weight: 600; color: var(--mut); user-select: none;
}
.difftog:hover { color: var(--txt); }
.difftog input {
	appearance: none; -webkit-appearance: none; margin: 0; flex: none; position: relative;
	width: 38px; height: 22px; border-radius: 100px; cursor: pointer;
	background: var(--surf2); border: 1px solid var(--line2);
	transition: background .22s, border-color .22s;
}
.difftog input::after {
	content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
	border-radius: 50%; background: var(--mut); transition: transform .22s, background .22s;
}
.difftog input:checked { background: var(--blue); border-color: var(--blue); }
.difftog input:checked::after { transform: translateX(16px); background: #fff; }
.difftog input:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 3px; }

.rc-table table { table-layout: fixed; min-width: 720px; }
.rc-table .cmp-label { width: 22%; }
.rc-table td, .rc-table th { overflow-wrap: anywhere; vertical-align: middle; }
.rc-table tbody th[scope="row"] { color: var(--txt); font-weight: 600; }
.cmp.diffonly tr[data-same] { display: none; }

.rc-head { text-align: center; padding: 18px 14px 18px; }
.rc-head a { display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* The photos are 4:3 tiles with empty space round the machine, so the box has to be
 * tall for the machine itself to read at a good size. */
.rc-pic { display: grid; place-items: center; width: 100%; height: 340px; }
.rc-pic img { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; }
.rc-name { font-family: var(--disp); font-size: 18px; font-weight: 600; color: var(--txt); }
.rc-table td { text-align: center; }

.rc-price td { font-size: 17px; color: var(--txt); }
.rc-price td b { font-family: var(--disp); font-weight: 600; }
.rc-price td s { margin-left: 6px; font-size: 14px; color: var(--mut2); }
.rc-acts td { display: table-cell; padding: 18px 10px; }
.rc-acts .btn { margin: 4px; padding: 11px 18px; font-size: 14.5px; }

@media (max-width: 900px) {
	/* the table scrolls sideways inside its card; keep the spec names in view */
	.rc-table tbody th[scope="row"], .rc-table thead .cmp-label {
		position: sticky; left: 0; z-index: 2; background: var(--surf);
		box-shadow: 1px 0 0 var(--line);
	}
}
@media (max-width: 640px) {
	section.range-compare { padding-top: 40px; scroll-margin-top: 72px; }
	.rc-tools { justify-content: flex-start; }
	.rc-table .cmp-label { width: 120px; }
	.rc-table table { min-width: 640px; }
	.rc-pic { height: 210px; }
	.rc-pic img { max-height: 210px; }
}

/* ── range page: fold the long spec table ─────────────────────────────────
 * The script adds .folded and reveals the button; without it every row shows.
 * "Only show what differs" already trims the table, so it overrides the fold. */
.cmp.folded:not(.diffonly) tr[data-fold] { display: none; }
.rc-more { display: flex; justify-content: center; margin-top: 22px; }
.rc-more .btn[hidden] { display: none; }
.rc-more .btn::after {
	content: ""; width: 8px; height: 8px; margin-left: 4px; flex: none;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .25s;
}
.rc-more .btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

/* ── range page: "Where a Kinetic fits in" photo tiles ────────────────────
 * Between the model cards and the table, to break up a long run of text. */
section.range-suits { padding: 56px 0 0; }
.catsec--tight { padding-bottom: 0; }
section.more-ranges { padding-top: 56px; }
.range-suits .head { margin-bottom: 28px; }
.rs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rs-tile {
	margin: 0; overflow: hidden; border-radius: 26px;
	background: var(--surf); border: 1px solid var(--line);
}
.rs-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surf2); }
.rs-pic img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .8, .3, 1);
}
.rs-tile:hover .rs-pic img { transform: scale(1.04); }
.rs-tile figcaption { padding: 20px 22px 24px; }
.rs-tile h3 { margin: 0; font-size: 20px; }
.rs-tile p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--mut); }
/* three tiles stay in one row; two columns would strand the third */
.rs-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) {
	.rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rs-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 900px) {
	section.range-suits { padding-top: 40px; }
}
@media (max-width: 760px) {
	.rs-grid.n3 { grid-template-columns: minmax(0, 560px); justify-content: center; }
}
@media (max-width: 560px) {
	.rs-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.rs-grid.n3 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.rs-pic img, .rc-more .btn::after { transition: none; }
	.rs-tile:hover .rs-pic img { transform: none; }
}
