/* ═══════════════════════════════════════════════════════════════════════════
   KPC COMMERCIAL AIR PURIFIERS
   Tokens follow the KPC v2 theme (Inter, #3fa535, pill buttons). Everything
   is scoped under .kpc-ap so nothing leaks into the rest of the site.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Safety net: anything wider than the screen is trimmed rather than letting
   the page slide sideways on a phone. clip (not hidden) keeps sticky
   elements working. */
.kpc-ap {
	overflow-x: clip;
}

.kpc-ap {
	--ap-green: #3fa535;
	--ap-green-dark: #2e8c26;
	--ap-green-tint: #eef7ec;
	/* Form fields, as the v2 theme's forms.css (Cornerstones handoff, KPC green) */
	--ap-field-border: #d2d2d7;
	--ap-field-border-hover: #a8a8b3;
	--ap-field-placeholder: #b0b0b8;
	--ap-field-focus-fill: #f3f9f2;
	--ap-field-error: #c0392b;
	--ap-field-error-fill: #fdf6f5;
	--ap-focus-ring: #2e8c26;
	--ap-ink: #0d0d0d;
	--ap-text: #1b1b1b;
	--ap-muted: #6b6b6c;
	--ap-line: #e4e4e4;
	--ap-line-strong: #d3d3d3;
	--ap-bg: #ffffff;
	--ap-tint: #f6f7f6;
	/* Behind product photos: one plain, very light warm grey (as Apple shows
	   its products), so the white units stand out and are not tinted. */
	--ap-photo-panel: #f5f5f7;
	--ap-radius: 18px;
	--ap-radius-sm: 10px;

	/* Card material, from the Cornerstones / Red Arrow dashboard: 62% white
	   glass with a light rim, a soft navy-tinted lift and a 1px highlight
	   along the top edge. Cards 16px, KPI-style tiles 20px. */
	--ap-surface: rgba(255, 255, 255, 0.62);
	--ap-surface-blur: 20px;
	--ap-surface-sat: 190%;
	--ap-glass-edge: rgba(255, 255, 255, 0.85);
	--ap-glass-shadow: 0 10px 30px rgba(37, 61, 71, 0.1);
	--ap-radius-card: 1rem;
	--ap-radius-kpi: 1.25rem;
	--ap-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
	--ap-container: 1280px;
	--ap-gutter: 2rem;
	--ap-section: 5.5rem;
	--ap-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	font-family: var(--ap-font);
	color: var(--ap-text);
	background: var(--ap-bg);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* The page sizes are in rem against the browser's 16px. Some themes change
   that (Kallyas sets 10px), so restore it on these pages only. */
html:has(> body.kpc-ap-page) {
	font-size: 16px;
}

body.kpc-ap-page {
	margin: 0;
	background: #ffffff;
}

/* Resets use :where() so they carry no specificity and never override the
   component rules below. */
:where(.kpc-ap) *,
:where(.kpc-ap) *::before,
:where(.kpc-ap) *::after {
	box-sizing: border-box;
}

:where(.kpc-ap) img {
	max-width: 100%;
	height: auto;
	display: block;
}

:where(.kpc-ap) a {
	color: inherit;
}

:where(.kpc-ap) :is(p, h1, h2, h3, figure, dl, dd) {
	margin: 0;
}

/* Theme heading styles (Kallyas sets Arial and a 40px line height on h1 to
   h6) must not reach these pages. One class of specificity beats the theme's
   element selectors; the component rules further down still win. */
.kpc-ap :where(h1, h2, h3, h4, h5, h6) {
	font-family: inherit;
	line-height: 1.25;
	color: inherit;
	text-transform: none;
}

/* Section headers are plain <header> elements. Some themes style every
   <header> as the site header (the v2 theme pins it with a white
   background), so they are put back to normal here. */
.kpc-ap :where(header) {
	position: static;
	top: auto;
	z-index: auto;
	background-color: transparent;
}

/* Other theme base styles (Bootstrap in Kallyas) put back to browser defaults */
.kpc-ap :where(dt, dd) {
	line-height: inherit;
}

.kpc-ap :where(dt, label) {
	font-weight: inherit;
}

.kpc-ap :where(label) {
	margin-bottom: 0;
}

.kpc-ap :where(a) {
	text-decoration-line: underline;
}

:where(.kpc-ap) :is(ul, ol) {
	margin: 0;
	padding: 0;
}

:where(.kpc-ap) :is(button, input, select, textarea) {
	font: inherit;
	color: inherit;
}

.kpc-ap-icon,
.kpc-ap-audience__icon,
.kpc-ap-benefits__icon,
.kpc-ap-trust__icon,
.kpc-ap-service__icon {
	flex-shrink: 0;
}

/* Keyboard focus ring for buttons, links and controls. Text fields show
   focus with their green border and fill instead, so they get no ring. */
.kpc-ap :focus-visible {
	outline: 2px solid var(--ap-focus-ring);
	outline-offset: 2px;
}

.kpc-ap input:not([type='checkbox']):not([type='radio']):focus-visible,
.kpc-ap textarea:focus-visible,
.kpc-ap select:focus-visible {
	outline: none;
}

@media (max-width: 767px) {
	.kpc-ap {
		--ap-gutter: 1rem;
		--ap-section: 3.5rem;
	}
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */

.kpc-ap-container {
	max-width: var(--ap-container);
	margin: 0 auto;
	padding: 0 var(--ap-gutter);
}

.kpc-ap-container--narrow {
	max-width: 880px;
}

/* Landing page: full width at every screen size. The side gutter scales with
   the viewport so content never touches the edge; paragraphs keep their own
   max line length for readability. */
.kpc-ap-view-landing .kpc-ap {
	--ap-container: none;
	--ap-gutter: clamp(1rem, 4vw, 4rem);
}

/* Header and footer run full width on every page, with the landing page's
   gutter, so the logo and menu sit in the same place on the landing and
   product pages. Product page content keeps its container. */
.kpc-ap-header .kpc-ap-container,
.kpc-ap-footer .kpc-ap-container {
	max-width: none;
	padding-left: clamp(1rem, 4vw, 4rem);
	padding-right: clamp(1rem, 4vw, 4rem);
}

.kpc-ap-view-landing .kpc-ap-container--narrow {
	max-width: none;
}

/* ─── Card material ──────────────────────────────────────────────────────
   Every box and card is one material, declared once, as in the dashboard:
   component rules set layout and spacing only, never their own surface,
   edge or shadow, so the cards cannot drift apart. */
.kpc-ap-card,
.kpc-ap-form,
.kpc-ap-dims,
.kpc-ap-benefits li,
.kpc-ap-size__list div {
	background: var(--ap-surface);
	backdrop-filter: blur(var(--ap-surface-blur)) saturate(var(--ap-surface-sat));
	-webkit-backdrop-filter: blur(var(--ap-surface-blur)) saturate(var(--ap-surface-sat));
	border: 1px solid var(--ap-glass-edge);
	border-radius: var(--ap-radius-card);
	box-shadow: var(--ap-glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Photo panels: plain light grey. The product photos sit on them with
   multiply, so their white backgrounds take on the panel colour. */
.kpc-ap-card__media,
.kpc-ap-gallery__main,
.kpc-ap-gallery__thumb,
.kpc-ap-stages__media {
	background: var(--ap-photo-panel);
}

.kpc-ap-stages__media {
	border-radius: var(--ap-radius-card);
}

/* Without backdrop-filter, 62% white is too thin to read over a photo. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.kpc-ap-card,
	.kpc-ap-form,
	.kpc-ap-dims,
	.kpc-ap-benefits li,
	.kpc-ap-size__list div {
		background: rgba(255, 255, 255, 0.94);
	}
}

.kpc-ap-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.kpc-ap-skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--ap-ink);
	color: #fff !important;
	border-radius: var(--ap-radius-sm);
	text-decoration: none;
}

.kpc-ap-skip:focus {
	top: 1rem;
}

/* Unconfirmed facts: impossible to miss on review */
.kpc-ap-todo {
	background: #fff3b0;
	color: #5c4700;
	outline: 1px dashed #c9a400;
	border-radius: 3px;
	padding: 0 0.25em;
	font-weight: 500;
}

.kpc-ap-preview-bar {
	background: #fff3b0;
	color: #5c4700;
	font-size: 0.875rem;
	font-weight: 500;
	text-align: center;
	padding: 0.6rem var(--ap-gutter);
	border-bottom: 1px solid #ecd774;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */

.kpc-ap-h1 {
	font-size: clamp(2.25rem, 4.6vw, 3.75rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.04;
	color: var(--ap-ink);
	margin: 0 0 1.25rem;
}

.kpc-ap-h1--product {
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	margin-bottom: 0.5rem;
}

.kpc-ap-h2 {
	font-size: clamp(1.6rem, 3vw, 2.375rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: var(--ap-ink);
	margin: 0 0 0.75rem;
}

.kpc-ap-h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--ap-ink);
	margin: 0 0 0.75rem;
}

.kpc-ap-lead {
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	color: var(--ap-muted);
	line-height: 1.6;
	max-width: 62ch;
}

.kpc-ap-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--ap-green-dark);
	margin: 0 0 0.75rem;
}

.kpc-ap-note {
	font-size: 0.875rem;
	color: var(--ap-muted);
	margin-top: 1.5rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.kpc-ap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.8rem 1.75rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}

/* Nothing moves on press; the press colour matches hover (touch feedback) */
.kpc-ap-btn--primary:active {
	background: var(--ap-green-dark);
	border-color: var(--ap-green-dark);
}

.kpc-ap-btn--secondary:active {
	background: var(--ap-ink);
	color: #fff !important;
}

.kpc-ap-btn--primary {
	background: var(--ap-green);
	border-color: var(--ap-green);
	color: #fff !important;
}

.kpc-ap-btn--secondary {
	background: transparent;
	border-color: var(--ap-ink);
	color: var(--ap-ink) !important;
}

.kpc-ap-btn--sm {
	min-height: 40px;
	padding: 0.55rem 1.25rem;
	font-size: 0.875rem;
}

.kpc-ap-btn--block {
	width: 100%;
}

.kpc-ap-btn[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.kpc-ap-btn:focus-visible {
	outline: 2px solid var(--ap-focus-ring);
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	.kpc-ap-btn--primary:hover {
		background: var(--ap-green-dark);
		border-color: var(--ap-green-dark);
	}

	.kpc-ap-btn--secondary:hover {
		background: var(--ap-ink);
		color: #fff !important;
	}
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.kpc-ap-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--ap-line);
}

body.admin-bar .kpc-ap-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .kpc-ap-header {
		top: 0;
	}
}

.kpc-ap-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: 68px;
}

.kpc-ap-header__logo img {
	width: 40px;
	height: 40px;
}

.kpc-ap-header__nav {
	display: flex;
	gap: 2rem;
	margin-right: auto;
}

.kpc-ap-header__nav a {
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--ap-text);
}

.kpc-ap-header__nav a:hover {
	color: var(--ap-green-dark);
}

.kpc-ap-header__actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.kpc-ap-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
}

.kpc-ap-header__phone .kpc-ap-icon {
	color: var(--ap-green);
}

.kpc-ap-header__basket {
	display: inline-flex;
	padding: 0.5rem;
	margin-right: -0.5rem;
	text-decoration: none;
}

@media (max-width: 860px) {
	.kpc-ap-header__nav {
		display: none;
	}

	.kpc-ap-header__actions {
		margin-left: auto;
	}
}

@media (max-width: 420px) {
	.kpc-ap-header__phone span {
		display: none;
	}
}

/* ─── WooCommerce notices ────────────────────────────────────────────────── */

.kpc-ap-notices:empty {
	display: none;
}

.kpc-ap-notices .woocommerce-error,
.kpc-ap-notices .woocommerce-message,
.kpc-ap-notices .woocommerce-info {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0.9rem 1.1rem;
	border-radius: var(--ap-radius-sm);
	background: var(--ap-tint);
	border-left: 4px solid var(--ap-green);
	font-size: 0.9375rem;
}

.kpc-ap-notices .woocommerce-error {
	border-left-color: #c62828;
	background: #fdf1f1;
}

/* ─── Sections ───────────────────────────────────────────────────────────── */

.kpc-ap-section {
	padding: var(--ap-section) 0;
}

.kpc-ap-section--tint {
	background: var(--ap-tint);
}

.kpc-ap-section__head {
	margin-bottom: 2.5rem;
}

/* Intro on one line across the full width where it fits */
.kpc-ap-section__head--wide .kpc-ap-lead {
	max-width: none;
}

/* ─── Hero (landing) ─────────────────────────────────────────────────────── */

/* Fills the first screen below the sticky header, content centred. */
.kpc-ap-hero {
	--header-h: 68px;
	display: flex;
	align-items: center;
	/* Capped so a tall or portrait monitor does not stretch it absurdly */
	min-height: min(calc(100vh - var(--header-h)), 1000px);
	min-height: min(calc(100svh - var(--header-h)), 1000px);
	padding: clamp(1.5rem, 3vw, 3rem) 0;
	background: var(--ap-bg);
}

body.admin-bar .kpc-ap-hero {
	--header-h: 100px;
}

.kpc-ap-hero__inner {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 5.5rem);
	/* The panel stretches to the copy's height (or its own minimum) */
	align-items: stretch;
}

.kpc-ap-hero {
	--h1-size: clamp(2.5rem, 4.3vw, 4.75rem);
}

.kpc-ap-hero .kpc-ap-h1 {
	font-size: var(--h1-size);
	max-width: 15ch;
	margin-bottom: 1.25rem;
}

.kpc-ap-hero .kpc-ap-lead {
	max-width: 46ch;
}

/* Two equal model tiles: neither model looks like the main choice. Each has
   a small photo, the model, the room size and an arrow. */
.kpc-ap-hero__tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	max-width: 520px;
	margin-top: 2rem;
	container: kpc-tiles / inline-size;
}

.kpc-ap-tile {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.85rem;
	padding: 0.75rem 1rem 0.75rem 0.75rem;
	border: 1.5px solid var(--ap-field-border);
	border-radius: 16px;
	background: #fff;
	color: var(--ap-ink);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.kpc-ap-tile__thumb {
	position: relative;
	flex-shrink: 0;
	width: 48px;
	height: 56px;
	border-radius: 10px;
	background: var(--ap-photo-panel);
}

.kpc-ap-tile__thumb .kpc-ap-fit {
	position: absolute;
	inset: 4px;
}

.kpc-ap-tile__text {
	display: grid;
	line-height: 1.3;
}

.kpc-ap-tile__text strong {
	font-size: 1.0625rem;
	white-space: nowrap;
}

.kpc-ap-tile__text span {
	font-size: 0.875rem;
	color: var(--ap-muted);
}

.kpc-ap-tile__go {
	display: inline-flex;
	color: var(--ap-green-dark);
}

/* Hover only with a mouse; press gives the same look on touch. Nothing moves. */
.kpc-ap-tile:active {
	border-color: var(--ap-green);
	background: var(--ap-field-focus-fill);
}

@media (hover: hover) and (pointer: fine) {
	.kpc-ap-tile:hover {
		border-color: var(--ap-green);
		background: var(--ap-field-focus-fill);
	}
}

/* "Not sure? Compare both models": green link, down arrow in a soft circle */
.kpc-ap-hero__compare-row {
	margin: 1.25rem 0 0;
	font-weight: 500;
	color: var(--ap-muted);
}

.kpc-ap-hero__compare {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--ap-green-dark);
	text-decoration: none;
}

/* In-page links ("Compare both models", "Get a multi-buy quote") glide
   rather than jump, so it is clear the visitor stayed on the same page.
   Off for anyone who has asked their device to reduce motion. This sheet
   only loads on the campaign pages, so html is safe to target. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Each target stops just below the sticky header */
#compare,
#faqs,
#kpc-ap-main {
	scroll-margin-top: 68px;
}

body.admin-bar #compare,
body.admin-bar #faqs,
body.admin-bar #kpc-ap-main {
	scroll-margin-top: 100px;
}

/* Headings that receive focus after an in-page jump show no ring (focus set
   by script); keyboard users simply carry on from there */
.kpc-ap [data-kpc-jump-target]:focus {
	outline: none;
}

/* Proof row */
/* Two by two, or a single row once there is room for all four */
.kpc-ap-proof {
	list-style: none;
	display: grid;
	/* Two columns as wide as their text, shrinking (and wrapping) when the
	   copy column is narrow, so nothing runs past it */
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 0.85rem 2rem;
	margin-top: 2.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--ap-line);
}

.kpc-ap-proof li {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ap-ink);
}

/* One row only when the copy column itself has room for all four */
.kpc-ap-hero__copy {
	align-self: center;
	container-type: inline-size;
}

@container (min-width: 900px) {
	.kpc-ap-proof {
		grid-template-columns: repeat(4, max-content);
	}
}

.kpc-ap-proof__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--ap-green-tint);
	color: var(--ap-green-dark);
}

/* Both units together on one light grey panel, at the same height
   (deliberately not to scale), each labelled underneath. */
.kpc-ap-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 560px;
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
	border-radius: 1.75rem;
	background: var(--ap-photo-panel);
}

.kpc-ap-duo__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

/* The photo is square with wide white margins, so it is sized by the unit
   inside it (--fill-w and --fill-h, measured per model): the unit fills 90%
   of the box's height or width, whichever runs out first. No container
   query, because size containment would isolate the multiply blend and show
   the photo's white square on the coloured panel. */
.kpc-ap-fit {
	position: relative;
	display: block;
	flex: 1 1 0;
	align-self: stretch;
	min-height: 0;
	overflow: hidden; /* clips only the photo's white margins */
}

.kpc-ap-fit img {
	position: absolute;
	left: 50%;
	top: 50%;
	height: calc(90% / var(--fill-h));
	width: auto;
	max-width: calc(90% / var(--fill-w));
	max-height: none;
	aspect-ratio: 1;
	translate: -50% -50%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.kpc-ap-duo__label {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.2rem 0.45rem;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 14px rgba(37, 61, 71, 0.08);
	font-size: 0.875rem;
	color: var(--ap-muted);
	transition: box-shadow 0.2s ease;
}

.kpc-ap-duo__label strong {
	color: var(--ap-ink);
	font-weight: 700;
}

.kpc-ap-duo__sep {
	color: var(--ap-line-strong);
}

@media (hover: hover) and (pointer: fine) {
	.kpc-ap-duo__unit:hover .kpc-ap-duo__label {
		box-shadow: 0 6px 20px rgba(37, 61, 71, 0.16);
	}
}

/* Below 1280px the one-line label no longer fits beside its photo, so it
   becomes two lines: model and price (+ VAT), then room size. */
@media (max-width: 1279.98px) {
	.kpc-ap-duo__label {
		display: grid;
		grid-template-columns: auto auto auto;
		align-items: baseline;
		justify-content: center;
		column-gap: 0.4rem;
		border-radius: 1rem;
		text-align: center;
	}

	.kpc-ap-duo__vat {
		margin-left: -0.15rem;
	}

	.kpc-ap-duo__area {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.kpc-ap-duo__sep {
		display: none;
	}
}

/* Entrance: a short rise as the page loads (off under reduced motion) */
@keyframes kpc-ap-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.kpc-ap-hero__copy > * {
	animation: kpc-ap-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.kpc-ap-hero__copy > :nth-child(2) { animation-delay: 0.06s; }
.kpc-ap-hero__copy > :nth-child(3) { animation-delay: 0.12s; }
.kpc-ap-hero__copy > :nth-child(4) { animation-delay: 0.18s; }
.kpc-ap-hero__copy > :nth-child(5) { animation-delay: 0.22s; }

.kpc-ap-duo {
	animation: kpc-ap-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both;
}

/* Tablet and phone: headline first (it must match the ad that was
   clicked), then the description, the photo panel, the two model tiles and
   the compare link. The copy column is dissolved (display: contents) so the
   photo panel can sit between the description and the tiles. */
@media (max-width: 899px) {
	.kpc-ap-hero {
		min-height: 0;
		padding-top: 1.5rem;
	}

	.kpc-ap-hero__inner {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.kpc-ap-hero__copy {
		display: contents;
	}

	.kpc-ap-hero .kpc-ap-h1 { order: 1; margin-bottom: 0.75rem; }
	.kpc-ap-hero .kpc-ap-lead { order: 2; }
	.kpc-ap-duo { order: 3; }
	.kpc-ap-hero__tiles { order: 4; }
	.kpc-ap-hero__compare-row { order: 5; }
	.kpc-ap-proof { order: 6; }

	/* A little shorter than before, so the tiles stay close behind it */
	.kpc-ap-duo {
		min-height: clamp(250px, 68vw, 380px);
		margin-top: 1.5rem;
		padding: 1.25rem 0.5rem 1rem;
		border-radius: 1.25rem;
	}

	.kpc-ap-duo__unit {
		gap: 0.75rem;
	}

	.kpc-ap-duo__label {
		padding: 0.4rem 0.8rem;
		border-radius: 0.9rem;
		font-size: 0.8125rem;
	}

	.kpc-ap-hero .kpc-ap-h1 {
		font-size: clamp(2.1rem, 8.6vw, 2.75rem);
	}

	.kpc-ap-hero__tiles {
		max-width: none;
		margin-top: 1rem;
	}

	.kpc-ap-hero__compare-row {
		align-self: center;
		text-align: center;
	}

	.kpc-ap-proof {
		gap: 0.75rem 1.25rem;
	}
}

@media (max-width: 479px) {
	.kpc-ap-proof {
		grid-template-columns: 1fr 1fr;
	}

	.kpc-ap-proof li {
		font-size: 0.875rem;
	}
}

/* When the pair of tiles is narrow (small laptops, phones) the arrow goes,
   so "View KT2" always fits and the tiles stay side by side */
@container kpc-tiles (max-width: 440px) {
	.kpc-ap-tile {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 0.6rem;
		padding: 0.6rem 0.75rem 0.6rem 0.6rem;
	}

	.kpc-ap-tile__go {
		display: none;
	}

	.kpc-ap-tile__thumb {
		width: 40px;
		height: 48px;
	}
}

@media (max-width: 349px) {
	.kpc-ap-hero__tiles {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ─── Audiences ──────────────────────────────────────────────────────────── */

.kpc-ap-audiences {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr; /* every card the height of the tallest */
	gap: 1rem;
}

/* The dashboard's flat green panel (.ms__half--good in the Red Arrow
   dashboard): an even tint with a green edge, colours as they render on
   the dashboard. Icon and title side by side, the text below them from the
   card's left edge. */
.kpc-ap-audience {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	align-content: start;
	gap: 0.85rem;
	padding: 1.35rem 1.5rem 1.5rem;
	background: #eef7f0;
	border: 1px solid #d2eed4;
	border-radius: var(--ap-radius-card);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* White icon tiles, so they still stand out on the green */
.kpc-ap-audience .kpc-ap-audience__icon {
	background: #fff;
	box-shadow: 0 1px 2px rgba(46, 140, 38, 0.12);
}

.kpc-ap-audience .kpc-ap-audience__icon + h3 {
	margin: 0;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kpc-ap-audiences .kpc-ap-audience p {
	grid-column: 1 / -1;
	align-self: start;
	text-wrap: pretty; /* no single word left on the last line */
	color: #4d5a4c;
}

@media (max-width: 1279px) {
	.kpc-ap-audiences {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* One per row on phones, so the text reads easily */
@media (max-width: 599px) {
	.kpc-ap-audiences {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.85rem;
	}

	.kpc-ap-audience {
		row-gap: 0.65rem;
		padding: 1rem 1.1rem 1.1rem;
	}
}

.kpc-ap-audience__icon,
.kpc-ap-benefits__icon,
.kpc-ap-trust__icon,
.kpc-ap-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--ap-green-tint);
	color: var(--ap-green-dark);
}

.kpc-ap-audience h3,
.kpc-ap-benefits h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--ap-ink);
	margin: 1rem 0 0.35rem;
}

.kpc-ap-audience p,
.kpc-ap-benefits p {
	font-size: 0.9375rem;
	color: var(--ap-muted);
}

/* ─── KT2 vs KT3 (after apple.com/uk/ipad/compare) ──────────────────────────
   White page, centred columns, plain type; KPC green for the buttons. */

.kpc-cmp {
	--cmp-max: 980px;
	--cmp-line: #d2d2d7;
}

.kpc-cmp__frame {
	max-width: var(--cmp-max);
	margin: 0 auto;
}

/* Intro, centred like Apple's page title */
.kpc-cmp__intro {
	display: grid;
	justify-items: center;
	gap: 0.6rem;
	text-align: center;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.kpc-cmp__intro .kpc-ap-h2 {
	margin: 0;
	font-size: clamp(2.25rem, 4vw, 3.5rem);
}

/* One line wherever it fits (about 80 characters); on narrower screens it
   wraps into balanced lines rather than leaving one word on its own. */
.kpc-cmp__intro .kpc-ap-lead {
	max-width: none;
	text-wrap: balance;
}

.kpc-cmp__learn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--ap-green-dark);
	font-weight: 500;
	text-decoration: none;
}

/* Two equal columns throughout, on every screen */
.kpc-cmp__photos,
.kpc-cmp__names,
.kpc-cmp__models,
.kpc-cmp__line,
.kpc-cmp__pairs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(1rem, 4vw, 3rem);
}

.kpc-cmp__photo {
	position: relative;
	display: block;
	height: clamp(220px, 30vw, 340px);
}

.kpc-cmp__photo .kpc-ap-fit {
	position: absolute;
	inset: 0;
}

/* Model names. Plain CSS sticky: the browser pins them under the site
   header as they arrive, with no swap and no script in the way, and they
   stay to the end of the comparison. A white band runs to the screen edges
   behind them; the hairline fades in once they are pinned (is-stuck). */
.kpc-cmp__names {
	position: sticky;
	top: 68px;
	z-index: 5;
	margin-top: 0.9rem;
	padding: 0.6rem 0;
	background: #fff;
	box-shadow: 0 0 0 100vmax #fff;
	/* The band also reaches 24px up, under the site header, so no sliver of
	   content shows between the header and the names whatever the rounding
	   (browser zoom, theme header heights). The header sits above it. */
	clip-path: inset(-24px -100vmax -1px);
}

body.admin-bar .kpc-cmp__names {
	top: 100px;
}

.kpc-cmp__names::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--cmp-line);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.kpc-cmp__names.is-stuck::after {
	opacity: 1;
}

.kpc-cmp__name {
	margin: 0;
	text-align: center;
	line-height: 1.2;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ap-ink);
}

/* Model details under the names. The two columns share their rows (text,
   price, button, link), so the prices and buttons always line up. */
.kpc-cmp__model {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-bottom: 2.25rem;
	border-bottom: 1px solid var(--cmp-line);
}

.kpc-cmp__for {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--ap-muted);
	text-wrap: balance;
}

.kpc-cmp__price {
	display: grid;
	gap: 0.4rem;
	margin: 1.4rem 0 0;
	line-height: 1.2;
}

.kpc-cmp__price strong {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ap-ink);
}

.kpc-cmp__price span {
	font-size: 0.9375rem;
	color: var(--ap-muted);
}

.kpc-cmp__price .kpc-cmp__vat {
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
}

.kpc-cmp__buy {
	margin-top: 1.5rem;
}

.kpc-cmp__learn {
	margin-top: 0.9rem;
	font-size: 1rem;
}

.kpc-cmp__learn--current {
	font-weight: 500;
	color: var(--ap-muted);
}

@supports (grid-template-rows: subgrid) {
	.kpc-cmp__model {
		display: grid;
		grid-row: span 4;
		grid-template-rows: subgrid;
		justify-items: center;
		align-content: start;
		row-gap: 0;
	}

	.kpc-cmp__model > * {
		align-self: start;
	}
}

/* Section headings, left aligned over a hairline */
.kpc-cmp__heading {
	margin: clamp(3rem, 6vw, 4.5rem) 0 0;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--cmp-line);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ap-ink);
}

/* One feature per line, centred in each column */
.kpc-cmp__line {
	text-align: center;
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--ap-ink);
	padding: 0.55rem 0;
}

.kpc-cmp__line .is-none {
	color: var(--ap-muted);
}

.kpc-cmp__line--big {
	padding-top: 2.5rem;
	font-size: clamp(3rem, 6vw, 4.5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.kpc-cmp__line--caption {
	padding-top: 0.75rem;
	font-size: 0.9375rem;
	color: var(--ap-muted);
}

/* Height under the room size, so the size of each unit is clear (brief 4) */
.kpc-cmp__line--height {
	padding-top: 1.25rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.kpc-cmp__group {
	padding-top: 2.25rem;
}

.kpc-cmp__line--icon {
	padding-bottom: 1rem;
	color: var(--ap-ink);
}

.kpc-cmp__line--icon svg {
	display: inline-block;
	stroke-width: 1.5;
}

.kpc-cmp__group--plain {
	padding-top: 1.25rem;
}

/* Size and weight: label over value, centred like the other groups */
.kpc-cmp__pairs dl {
	display: grid;
	gap: 1.1rem;
	text-align: center;
	margin: 0;
	padding-top: 1.75rem;
}

.kpc-cmp__pairs dt {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ap-ink);
}

.kpc-cmp__pairs dd {
	margin: 0.15rem 0 0;
	font-size: 1.0625rem;
	color: var(--ap-text);
}

/* Full specifications on demand */
.kpc-cmp__full {
	margin-top: 3rem;
}

.kpc-cmp__full > summary {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	padding: 1rem;
	border-top: 1px solid var(--cmp-line);
	border-bottom: 1px solid var(--cmp-line);
	font-weight: 600;
	color: var(--ap-green-dark);
	cursor: pointer;
	list-style: none;
}

.kpc-cmp__full > summary::-webkit-details-marker {
	display: none;
}

.kpc-cmp__full > summary::after {
	content: "+";
	font-weight: 500;
}

.kpc-cmp__full[open] > summary::after {
	content: "−";
}

.kpc-cmp__full .kpc-cmp__heading:first-of-type {
	margin-top: 2rem;
}

/* Phones: still two columns, like Apple, with smaller type */
@media (max-width: 599px) {
	.kpc-cmp__photos,
	.kpc-cmp__names,
	.kpc-cmp__models,
	.kpc-cmp__line,
	.kpc-cmp__pairs {
		column-gap: 1rem;
	}

	.kpc-cmp__photo {
		height: 200px;
	}

	.kpc-cmp__for {
		font-size: 0.8125rem;
	}

	.kpc-cmp__buy .kpc-ap-btn {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.kpc-cmp__line {
		font-size: 0.9375rem;
		padding: 0.5rem 0;
	}

	.kpc-cmp__line--big {
		padding-top: 2rem;
		font-size: 2.5rem;
	}

	.kpc-cmp__pairs dd {
		font-size: 0.9375rem;
	}

}

/* ─── Model cards ────────────────────────────────────────────────────────── */

.kpc-ap-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

@media (max-width: 767px) {
	.kpc-ap-cards {
		grid-template-columns: 1fr;
	}
}

.kpc-ap-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.kpc-ap-card__media {
	display: block;
	aspect-ratio: 4 / 3;
}

.kpc-ap-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	padding: 1rem;
	transition: transform 0.35s ease;
}

.kpc-ap-card:hover .kpc-ap-card__media img {
	transform: scale(1.03);
}

.kpc-ap-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem 1.5rem 1.75rem;
}

.kpc-ap-card__eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ap-green-dark);
}

.kpc-ap-card__title {
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0.25rem 0 0.35rem;
}

.kpc-ap-card__title a {
	text-decoration: none;
}

.kpc-ap-card__tagline {
	color: var(--ap-muted);
}

.kpc-ap-card__facts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 1rem 0 1.5rem;
}

.kpc-ap-card__facts li {
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: var(--ap-tint);
}

.kpc-ap-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
}

.kpc-ap-card__price strong {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ap-ink);
}

.kpc-ap-card__price span {
	font-size: 0.875rem;
	color: var(--ap-muted);
	margin-left: 0.25rem;
}

.kpc-ap-card__stock {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: #b3261e;
}

/* ─── Filtration stages ──────────────────────────────────────────────────── */

.kpc-ap-stages {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.kpc-ap-stages__media {
	margin: 0;
	padding: 1.5rem;
}

.kpc-ap-stages__media img {
	mix-blend-mode: multiply;
}

.kpc-ap-stages__media figcaption {
	font-size: 0.8125rem;
	color: var(--ap-muted);
	text-align: center;
	margin-top: 0.5rem;
}

.kpc-ap-stages__list {
	list-style: none;
	display: grid;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
}

/* One green card per stage (the dashboard's flat green panel, as in Built
   for shared spaces): icon and title side by side, text below from the
   left edge, and a small arrow down to the next card. */
.kpc-ap-st {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.85rem;
	padding: 1.1rem 1.5rem 1.25rem;
	background: #eef7f0;
	border: 1px solid #d2eed4;
	border-radius: var(--ap-radius-card);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kpc-ap-st:not(:last-child)::after {
	content: "";
	position: absolute;
	left: calc(50% - 5px); /* centred under the card */
	bottom: calc(-1.75rem + 0.5rem);
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--ap-green);
	border-bottom: 2px solid var(--ap-green);
	rotate: 45deg;
	opacity: 0.7;
}

.kpc-ap-st__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #fff;
	color: var(--ap-green-dark);
	box-shadow: 0 1px 2px rgba(46, 140, 38, 0.12);
}

.kpc-ap-st__title {
	display: grid;
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--ap-ink);
}

.kpc-ap-st__step {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ap-green-dark);
}

.kpc-ap-st__text {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.9375rem;
	color: #4d5a4c;
	text-wrap: pretty;
}

@media (max-width: 599px) {
	.kpc-ap-st {
		padding: 1rem 1.1rem 1.1rem;
	}

}

@media (max-width: 899px) {
	.kpc-ap-stages {
		grid-template-columns: 1fr;
	}

	.kpc-ap-stages__media {
		max-width: 420px;
	}
}

/* ─── FAQs ───────────────────────────────────────────────────────────────── */

.kpc-ap-faq {
	border-top: 1px solid var(--ap-line);
}

.kpc-ap-faq__item {
	border-bottom: 1px solid var(--ap-line);
}

.kpc-ap-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 0;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--ap-ink);
	cursor: pointer;
	list-style: none;
}

.kpc-ap-faq__item summary::-webkit-details-marker {
	display: none;
}

.kpc-ap-faq__item summary::after {
	content: '';
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-3px, -3px);
	transition: transform 0.2s ease;
}

.kpc-ap-faq__item[open] summary::after {
	transform: rotate(-135deg) translate(-3px, -3px);
}

.kpc-ap-faq__answer {
	padding: 0 0 1.5rem;
	color: var(--ap-muted);
	max-width: 62ch; /* about 65 characters per line */
}

.kpc-ap-faq__answer a {
	color: var(--ap-green-dark);
}

/* Two columns: heading and help on the left (stays in view while the
   questions scroll), questions on the right at a readable width, so each
   arrow sits at the end of its question. One column below 900px. */
.kpc-ap-faqs__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 760px);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
	justify-content: space-between;
}

.kpc-ap-faqs__aside {
	position: sticky;
	top: calc(68px + 2rem);
	max-width: 22rem;
}

body.admin-bar .kpc-ap-faqs__aside {
	top: calc(100px + 2rem);
}

.kpc-ap-faqs__aside .kpc-ap-h2 {
	margin: 0;
}

.kpc-ap-faqs__help {
	margin: 1rem 0 0;
	color: var(--ap-muted);
	line-height: 1.6;
}

.kpc-ap-faqs__help a {
	font-weight: 600;
	color: var(--ap-green-dark);
	text-decoration: none;
	white-space: nowrap;
}

@media (hover: hover) {
	.kpc-ap-faqs__help a:hover {
		text-decoration: underline;
	}
}

@media (max-width: 899px) {
	.kpc-ap-faqs__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5rem;
	}

	.kpc-ap-faqs__aside {
		position: static;
		max-width: none;
	}
}

/* ─── Trust row ──────────────────────────────────────────────────────────── */

.kpc-ap-trust {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* One flat green panel (the dashboard's .ms__half--good, as in Built for
   shared spaces), five items divided by fine lines. */
.kpc-ap-trust__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0.5rem;
	background: #eef7f0;
	border: 1px solid #d2eed4;
	border-radius: 1.25rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kpc-ap-trust__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	align-content: start;
	gap: 0.85rem;
	padding: 1.25rem 1.25rem 1.35rem;
}

.kpc-ap-trust__item + .kpc-ap-trust__item {
	border-left: 1px solid #d2eed4;
}

.kpc-ap-trust .kpc-ap-trust__icon {
	background: #fff;
	box-shadow: 0 1px 2px rgba(46, 140, 38, 0.12);
}

.kpc-ap-trust__title {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--ap-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kpc-ap-trust__text {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.9375rem;
	color: #4d5a4c;
	text-wrap: pretty;
}

.kpc-ap-trust__text a {
	font-weight: 600;
	color: var(--ap-green-dark);
	text-decoration: none;
	white-space: nowrap;
}

.kpc-ap-trust__text a:hover {
	text-decoration: underline;
}

/* Below wide screens: one item per row (two columns from 600px), icon and
   title on one line, text below. Five across needs about 1400px for the
   titles to fit on one line. */
@media (max-width: 1399px) {
	.kpc-ap-trust__list {
		grid-template-columns: minmax(0, 1fr);
		padding: 0.25rem 1.25rem;
	}

	.kpc-ap-trust__item {
		padding: 1.1rem 0;
	}

	.kpc-ap-trust__item + .kpc-ap-trust__item {
		border-left: 0;
		border-top: 1px solid #d2eed4;
	}
}

@media (min-width: 600px) and (max-width: 1399px) {
	.kpc-ap-trust__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2rem;
	}

	.kpc-ap-trust__item:nth-child(2) {
		border-top: 0;
	}

	.kpc-ap-trust__item:last-child {
		grid-column: 1 / -1;
	}
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.kpc-ap-footer {
	background: #1f1f1f;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.875rem;
	padding: 3rem 0 2rem;
}

.kpc-ap-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: 2rem;
}

.kpc-ap-footer__brand {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	max-width: 440px;
}

.kpc-ap-footer__brand img {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.kpc-ap-footer ul {
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.kpc-ap-footer a {
	color: #fff;
	text-decoration: none;
}

.kpc-ap-footer a:hover {
	color: var(--ap-green);
}

.kpc-ap-footer__links {
	grid-template-columns: repeat(2, auto);
	column-gap: 2rem !important;
}

.kpc-ap-footer__legal {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.kpc-ap-breadcrumb {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.kpc-ap-breadcrumb ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-size: 0.8125rem;
	color: var(--ap-muted);
}

.kpc-ap-breadcrumb li + li::before {
	content: '/';
	margin-right: 0.4rem;
	color: var(--ap-line-strong);
}

.kpc-ap-breadcrumb a {
	text-decoration: none;
}

.kpc-ap-breadcrumb a:hover {
	color: var(--ap-green-dark);
}

.kpc-ap-buy {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
	padding-bottom: var(--ap-section);
}

@media (max-width: 899px) {
	.kpc-ap-buy {
		grid-template-columns: 1fr;
	}
}

/* Gallery */
/* The gallery scrolls with the page (it used to stay pinned while the buy
   box scrolled past it) */
.kpc-ap-gallery {
	position: relative;
}

.kpc-ap-gallery__main {
	position: relative;
	aspect-ratio: 1;
	border-radius: 22px;
	overflow: hidden;
}

.kpc-ap-gallery__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: contain;
	mix-blend-mode: multiply;
	padding: 6%;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.kpc-ap-gallery__image.is-active {
	opacity: 1;
}

.kpc-ap-gallery__thumbs {
	display: flex;
	gap: 0.6rem;
	margin-top: 0.75rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.kpc-ap-gallery__thumb {
	flex: 0 0 76px;
	height: 76px;
	padding: 0.35rem;
	border: 2px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.kpc-ap-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.kpc-ap-gallery__thumb.is-active {
	border-color: var(--ap-green);
}

/* The whole photo opens the full-screen viewer; an expand icon in the
   corner says so */
.kpc-ap-gallery__open {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 0.9rem;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.kpc-ap-gallery__open-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--ap-ink);
	box-shadow: 0 2px 10px rgba(13, 13, 13, 0.12);
	transition: background-color 0.18s ease, color 0.18s ease;
}

.kpc-ap-gallery__open:active .kpc-ap-gallery__open-icon {
	background: var(--ap-ink);
	color: #fff;
}

@media (hover: hover) and (pointer: fine) {
	.kpc-ap-gallery__open:hover .kpc-ap-gallery__open-icon {
		background: var(--ap-ink);
		color: #fff;
	}
}

.kpc-ap-gallery__open:focus-visible {
	outline: 2px solid var(--ap-focus-ring);
	outline-offset: -4px;
	border-radius: 22px;
}

/* Previous and next photo on the gallery, matching the expand button */
.kpc-ap-gallery__step {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--ap-ink);
	box-shadow: 0 2px 10px rgba(13, 13, 13, 0.12);
	cursor: pointer;
	translate: 0 -50%;
	transition: background-color 0.18s ease, color 0.18s ease, opacity 0.2s ease;
}

.kpc-ap-gallery__step--prev {
	left: 0.9rem;
}

.kpc-ap-gallery__step--next {
	right: 0.9rem;
}

.kpc-ap-gallery__step:active {
	background: var(--ap-ink);
	color: #fff;
}

.kpc-ap-gallery__step:focus-visible {
	outline: 2px solid var(--ap-focus-ring);
	outline-offset: 2px;
}

/* With a mouse, the arrows appear while the pointer is over the photo (or
   while one has keyboard focus); on touch screens they always show. */
@media (hover: hover) and (pointer: fine) {
	.kpc-ap-gallery__step {
		opacity: 0;
	}

	.kpc-ap-gallery__main:hover .kpc-ap-gallery__step,
	.kpc-ap-gallery__step:focus-visible {
		opacity: 1;
	}

	.kpc-ap-gallery__step:hover {
		background: var(--ap-ink);
		color: #fff;
	}
}

/* Photo viewer: a lightbox over the dimmed page, the photo fitted inside */
.kpc-ap-no-scroll {
	overflow: hidden;
}

.kpc-ap-lightbox {
	width: min(1100px, calc(100vw - 3rem));
	max-width: none;
	height: min(880px, calc(100dvh - 3rem));
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: #fff;
	color: var(--ap-ink);
	box-shadow: 0 30px 80px rgba(13, 13, 13, 0.3);
	overflow: hidden;
}

.kpc-ap-lightbox::backdrop {
	background: rgba(13, 13, 13, 0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.kpc-ap-lightbox[open] {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	animation: kpc-ap-lightbox-in 0.22s ease-out;
}

.kpc-ap-lightbox[open]::backdrop {
	animation: kpc-ap-backdrop-in 0.22s ease-out;
}

@keyframes kpc-ap-lightbox-in {
	from {
		opacity: 0;
		transform: scale(0.97);
	}
}

@keyframes kpc-ap-backdrop-in {
	from {
		opacity: 0;
	}
}

.kpc-ap-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0.75rem 0.25rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ap-muted);
}

.kpc-ap-lightbox__stage {
	--lb-side: clamp(3.75rem, 7vw, 5.5rem);
	--lb-foot: 1.5rem;
	position: relative;
	min-height: 0;
	overflow: hidden;
}

/* Placed explicitly inside the stage, so no theme image rule (height: auto)
   can make the photo taller than the panel */
.kpc-ap-lightbox__image {
	position: absolute;
	top: 0;
	left: var(--lb-side);
	width: calc(100% - 2 * var(--lb-side));
	height: calc(100% - var(--lb-foot)) !important;
	max-width: none;
	object-fit: contain;
	cursor: zoom-in;
	transition: transform 0.25s ease;
}

/* A general img rule would otherwise beat the hidden attribute */
.kpc-ap-lightbox__image[hidden] {
	display: none;
}

.kpc-ap-lightbox__image.is-zoomed {
	transform: scale(2.2);
	cursor: zoom-out;
}

.kpc-ap-lightbox__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #f5f5f7;
	color: var(--ap-ink);
	cursor: pointer;
	transition: background-color 0.18s ease;
}

.kpc-ap-lightbox__btn:active {
	background: #e8e8ed;
}

@media (hover: hover) and (pointer: fine) {
	.kpc-ap-lightbox__btn:hover {
		background: #e8e8ed;
	}
}

.kpc-ap-lightbox__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	translate: 0 -50%;
}

.kpc-ap-lightbox__nav--prev {
	left: clamp(0.5rem, 1.5vw, 1rem);
}

.kpc-ap-lightbox__nav--next {
	right: clamp(0.5rem, 1.5vw, 1rem);
}

/* Phones: the panel is sized to the (square) photo rather than the screen,
   and the arrows sit over the photo's own white margins */
@media (max-width: 599px) {
	.kpc-ap-lightbox {
		width: calc(100vw - 1rem);
		height: fit-content;
		max-height: calc(100dvh - 1rem);
		border-radius: 16px;
	}

	.kpc-ap-lightbox[open] {
		grid-template-rows: auto auto;
	}

	.kpc-ap-lightbox .kpc-ap-lightbox__stage {
		--lb-side: 0.5rem;
		--lb-foot: 0.75rem;
		height: min(calc(100vw - 1rem), calc(100dvh - 5rem));
	}

	.kpc-ap-lightbox .kpc-ap-lightbox__nav {
		width: 36px;
		height: 36px;
		background: rgba(245, 245, 247, 0.9);
	}
}

@media (prefers-reduced-motion: reduce) {
	.kpc-ap-lightbox__image {
		transition: none;
	}

	.kpc-ap-lightbox[open],
	.kpc-ap-lightbox[open]::backdrop {
		animation: none;
	}
}

/* Stock line and card marks share one row by the button */
.kpc-ap-buybox__status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-top: 0.9rem;
}

.kpc-ap-buybox__status .kpc-ap-buybox__stock {
	margin: 0;
}

.kpc-ap-paymarks {
	display: inline-flex;
	gap: 0.35rem;
	margin: 0;
}

.kpc-ap-paymarks svg {
	display: block;
}

/* Buy box */
.kpc-ap-buybox__tagline {
	font-size: 1.0625rem;
	color: var(--ap-muted);
}

.kpc-ap-buybox__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 0.6rem;
	margin: 1.5rem 0 1.25rem;
}

.kpc-ap-buybox__price strong {
	font-size: clamp(2.25rem, 3.6vw, 2.875rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	color: var(--ap-ink);
	line-height: 1;
}

.kpc-ap-buybox__price span {
	font-size: 0.9375rem;
	color: var(--ap-muted);
}

.kpc-ap-buybox__ex {
	flex-basis: 100%;
	font-size: 0.875rem !important;
}

.kpc-ap-buybox__summary {
	color: var(--ap-text);
}

.kpc-ap-chips {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin: 1.5rem 0;
}

.kpc-ap-chips li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 0.85rem;
	border-radius: 12px;
	background: var(--ap-tint);
	font-size: 0.875rem;
	font-weight: 600;
}

.kpc-ap-chips .kpc-ap-icon {
	color: var(--ap-green-dark);
}

.kpc-ap-cart {
	display: flex;
	gap: 0.75rem;
}

.kpc-ap-qty {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--ap-field-border);
	border-radius: 999px;
	height: 52px;
	flex-shrink: 0;
	transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) {
	.kpc-ap-qty:hover {
		border-color: var(--ap-field-border-hover);
	}
}

.kpc-ap-qty:focus-within {
	border-color: var(--ap-green);
	background-color: var(--ap-field-focus-fill);
	box-shadow: inset 0 1px 4px rgba(13, 13, 13, 0.08);
}

.kpc-ap-qty__btn:focus-visible {
	outline: 2px solid var(--ap-focus-ring);
	outline-offset: -2px;
}

.kpc-ap-qty__btn {
	width: 44px;
	height: 100%;
	border: 0;
	background: none;
	font-size: 1.25rem;
	cursor: pointer;
	border-radius: 999px;
}

.kpc-ap-qty input {
	width: 2.75rem;
	height: 100%;
	border: 0;
	outline: none;
	font-size: 1rem;
	text-align: center;
	font-weight: 600;
	-moz-appearance: textfield;
	background: none;
}

.kpc-ap-qty input::-webkit-outer-spin-button,
.kpc-ap-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.kpc-ap-cart .kpc-ap-btn {
	min-height: 52px;
	font-size: 1rem;
}

.kpc-ap-buybox__stock {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.9rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ap-green-dark);
}

.kpc-ap-buybox__stock.is-out {
	color: #b3261e;
}

.kpc-ap-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ap-green);
	box-shadow: 0 0 0 4px var(--ap-green-tint);
}

.kpc-ap-buybox__multi {
	margin-top: 1rem;
	font-size: 0.9375rem;
	color: var(--ap-muted);
}

.kpc-ap-buybox__multi a {
	color: var(--ap-ink);
	font-weight: 600;
}

/* Delivery, returns, warranty */
.kpc-ap-service {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 1rem;
	margin: 2rem 0 0;
	padding: 0;
}

/* Green cards, as in Built for shared spaces */
.kpc-ap-service li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	align-content: start;
	gap: 0.85rem;
	padding: 1.35rem 1.5rem 1.5rem;
	background: #eef7f0;
	border: 1px solid #d2eed4;
	border-radius: var(--ap-radius-card);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kpc-ap-service .kpc-ap-service__icon {
	background: #fff;
	box-shadow: 0 1px 2px rgba(46, 140, 38, 0.12);
}

.kpc-ap-service h3 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--ap-ink);
}

.kpc-ap-service p {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.9375rem;
	color: #4d5a4c;
}

@media (max-width: 899px) {
	.kpc-ap-service {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: auto;
		gap: 0.6rem;
	}
}

/* Buy box: delivery, returns and warranty on one short list by the button */
.kpc-ap-assure {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.1rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--ap-line);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--ap-ink);
}

.kpc-ap-assure li {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.45rem;
}

.kpc-ap-assure .kpc-ap-icon {
	margin-top: 0.15rem;
	color: var(--ap-green-dark);
}

.kpc-ap-assure__more {
	display: inline-block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ap-green-dark);
	text-decoration: none;
}

@media (hover: hover) {
	.kpc-ap-assure__more:hover {
		text-decoration: underline;
	}
}

#delivery {
	scroll-margin-top: 68px;
}

/* Benefits */
.kpc-ap-benefits {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.kpc-ap-benefits li {
	padding: 1.5rem;
}

@media (max-width: 1023px) {
	.kpc-ap-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.kpc-ap-benefits {
		grid-template-columns: 1fr;
	}
}

/* Size and weight */
.kpc-ap-size {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.kpc-ap-size__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.75rem 0 0;
}

.kpc-ap-size__list div {
	padding: 1rem;
}

.kpc-ap-size__list dt {
	font-size: 0.8125rem;
	color: var(--ap-muted);
}

.kpc-ap-size__list dd {
	margin: 0.15rem 0 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--ap-ink);
}

@media (max-width: 899px) {
	.kpc-ap-size {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 479px) {
	.kpc-ap-size__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* To-scale drawing (SVG in millimetres, so text sizes are in mm too) */
.kpc-ap-dims {
	margin: 0;
	padding: clamp(1rem, 3vw, 2rem);
}

.kpc-ap-dims svg {
	width: 100%;
	height: auto;
	max-height: 440px;
	display: block;
}

.kpc-ap-dims__figure {
	fill: #d9dcd8;
}

.kpc-ap-dims__unit rect:first-child {
	fill: #ffffff;
	stroke: var(--ap-ink);
	stroke-width: 10;
}

.kpc-ap-dims__panel {
	fill: var(--ap-ink);
}

.kpc-ap-dims__wheel {
	fill: #555;
}

.kpc-ap-dims__marker line {
	stroke: var(--ap-green);
	stroke-width: 10;
}

.kpc-ap-dims__label {
	fill: var(--ap-green-dark);
	font-family: var(--ap-font);
	font-size: 92px;
	font-weight: 700;
}

.kpc-ap-dims__caption {
	fill: var(--ap-muted);
	font-family: var(--ap-font);
	font-size: 70px;
}

.kpc-ap-dims__caption--strong {
	fill: var(--ap-ink);
	font-weight: 700;
}

.kpc-ap-dims__floor {
	stroke: #c8c8c8;
	stroke-width: 6;
}

.kpc-ap-dims figcaption {
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--ap-muted);
	text-align: center;
}

/* Specification */
/* Tech specs: group heading on the left, specs in two columns on the
   right, fine lines between groups (Apple's tech specs layout) */
.kpc-ap-specs__frame {
	max-width: calc(1080px + 2 * var(--ap-gutter, 1.5rem));
}

.kpc-ap-specs__frame > .kpc-ap-h2 {
	margin: 0 0 1.5rem;
}

.kpc-ap-specs__group {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: 1.5rem;
	padding: 1.75rem 0;
	border-top: 1px solid var(--ap-field-border);
}

.kpc-ap-specs__group:last-child {
	border-bottom: 1px solid var(--ap-field-border);
}

.kpc-ap-specs__group h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--ap-ink);
}

.kpc-ap-specs__group dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 2rem;
	margin: 0;
}

.kpc-ap-specs__group dt {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ap-ink);
}

.kpc-ap-specs__group dd {
	margin: 0.2rem 0 0;
	color: var(--ap-text);
}

.kpc-ap-specs__group ul {
	list-style: none;
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	color: var(--ap-text);
}

@media (max-width: 899px) {
	.kpc-ap-specs__group {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
}

@media (max-width: 599px) {
	.kpc-ap-specs__group dl {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
}

/* Sticky mobile buy bar, shown once the main button scrolls away */
.kpc-ap-stickybar {
	display: none;
}

@media (max-width: 899px) {
	.kpc-ap-stickybar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.75rem var(--ap-gutter) calc(0.75rem + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--ap-line);
		transform: translateY(110%);
		transition: transform 0.25s ease;
	}

	.kpc-ap-stickybar.is-visible {
		transform: translateY(0);
	}

	/* Room under the footer, so the bar never covers its last line */
	body.kpc-ap-view-product {
		padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
	}

	.kpc-ap-stickybar strong {
		display: block;
		color: var(--ap-ink);
	}

	.kpc-ap-stickybar span {
		font-size: 0.875rem;
		color: var(--ap-muted);
	}
}

@media (prefers-reduced-motion: reduce) {
	.kpc-ap *,
	.kpc-ap *::before,
	.kpc-ap *::after {
		transition: none !important;
		animation: none !important;
	}
}

/* ─── Chevron button ─────────────────────────────────────────────────────── */
/* KPC's one "go" symbol, matching .kpc-chev in the v2 theme: a small circle
   with a chevron, light grey on white, filling green when its link is
   hovered. The plugin carries its own copy so it works on any theme. */
.kpc-ap-chev {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ececef;
	color: #1d1d1f;
	vertical-align: middle;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.kpc-ap-chev svg {
	width: 11px;
	height: 11px;
	margin-left: 1px;
}

.kpc-ap-chev--down svg {
	margin: 1px 0 0;
}

.kpc-ap-chev--lg {
	width: 28px;
	height: 28px;
}

.kpc-ap-chev--lg svg {
	width: 13px;
	height: 13px;
}

@media (hover: hover) {
	.kpc-ap a:hover .kpc-ap-chev {
		background: var(--ap-green);
		color: #fff;
	}
}

.kpc-ap a:focus-visible .kpc-ap-chev {
	background: var(--ap-green);
	color: #fff;
}

/* ─── Inside the theme's header and footer ──────────────────────────────── */

/* The script measures where the theme's pinned header (and the admin bar)
   ends and sets --ap-pin-top, so pinned parts of these pages sit just below
   it at every screen size (Kallyas pins a 68px header on desktop and 140px
   on phones). Until it runs, classic themes fall back to the top of the
   screen and block themes keep the 68px default above. */
.kpc-ap--header-scrolls .kpc-cmp__names {
	top: 0;
}

.kpc-ap--header-scrolls .kpc-ap-faqs__aside {
	top: 2rem;
}

.kpc-ap--header-scrolls :is(#compare, #faqs, #kpc-ap-main, #delivery) {
	scroll-margin-top: 1rem;
}

.kpc-ap--theme-chrome[style*="--ap-pin-top"] .kpc-cmp__names {
	top: var(--ap-pin-top);
}

.kpc-ap--theme-chrome[style*="--ap-pin-top"] .kpc-ap-faqs__aside {
	top: calc(var(--ap-pin-top) + 2rem);
}

.kpc-ap--theme-chrome[style*="--ap-pin-top"] :is(#compare, #faqs, #kpc-ap-main, #delivery) {
	scroll-margin-top: calc(var(--ap-pin-top) + 1rem);
}

.kpc-ap--theme-chrome[style*="--ap-pin-top"] .kpc-ap-hero {
	--header-h: var(--ap-pin-top);
}

/* Themes may cap every image at 100% width with a stronger selector; the
   full-screen viewer sizes its image itself. */
.kpc-ap .kpc-ap-lightbox__image {
	max-width: none;
}
