/* =============================================================================
   CATEGORY PAGE — product_cat archive
   Nodes: Category Desktop 17:1038 / Category Mobile 110:3218.
   Sections: hero · collection-grid · product-section · usecases-strip ·
             application-usecases · faq · cta-two-panel.
   ============================================================================= */

/* =============================================================================
   1. CATEGORY HERO — 43:2146 desktop (1440×696) / 110:3219 mobile (393×700)
   Full-bleed image. Desktop: content at y=357 from top, gutter-aligned left.
   Mobile: breadcrumb bar at top of section, stacked full-width buttons.
   ============================================================================= */

/* Category and shop archives own their in-flow hero; they do not use the
   homepage's 700px pinned-hero spacer. */
body.tax-product_cat .site-body,
body.post-type-archive-product .site-body {
	margin-top: 0;
}

.cat-hero {
	position: relative;
	height: 696px;
	overflow: hidden;
}

.cat-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Gradient scrim so white text reads on any image */
.cat-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.65) 0%,
		rgba(0, 0, 0, 0.20) 50%,
		transparent 100%
	);
	pointer-events: none;
}

/* Breadcrumb — mobile only */
.cat-hero__breadcrumb {
	display: none;
}

/* Content block — positioned at y=357 (the lower 339px of the 696px frame) */
.cat-hero__content {
	position: absolute;
	bottom: 44px;
	left: var(--gutter);
	right: var(--gutter);
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.cat-hero__eyebrow {
	color: var(--fig-siegel-white);
	margin-bottom: 16px;
}

.cat-hero__title {
	color: var(--fig-siegel-white);
	margin: 0 0 48px;
	max-width: 672px;
}

.cat-hero__body {
	color: var(--fig-siegel-white);
	margin: 0 0 24px;
	max-width: 672px;
}

.cat-hero__actions {
	display: flex;
	gap: 16px;
}

/* Shared button shell */
.cat-hero__btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 24px;
	border-radius: var(--r-sm);
	text-decoration: none;
	transition:
		background var(--dur-fast) linear,
		border-color var(--dur-fast) linear;
}

.cat-hero__btn--primary {
	background: var(--btn-primary);
	border: 1px solid var(--btn-primary);
	color: var(--fig-siegel-white);
}

.cat-hero__btn--outline {
	background: transparent;
	border: 1px solid var(--fig-siegel-white);
	color: var(--fig-siegel-white);
}

@media (hover: hover) and (pointer: fine) {
	.cat-hero__btn--primary:hover {
		background: var(--btn-primary-hover);
		border-color: var(--btn-primary-hover);
	}
	.cat-hero__btn--outline:hover {
		background: rgba(255, 255, 255, 0.12);
	}
}

.cat-hero__btn:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.cat-hero__btn { transition: none; }
}

/* =============================================================================
   2. COLLECTION GRID — 17:1055 desktop (1440×418)
   padding-top: 64px, no bottom padding (tiles bleed to section edge).
   Header: heading (flex-shrink:0, max-w 547px) + meta (flex:1) in a flex row, gap 32px.
   Tiles: 4 × 322px, gap 24px.
   ============================================================================= */

.cat-collection {
	padding-top: var(--section-py);
	padding-bottom: 0;
}

.cat-collection__container {
	max-width: var(--content-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
}

/* No margin-bottom. The header→tiles step is the inner's own 32px gap (17:1060
   sits 32 below Frame 68 on desktop, and 110:3529 32 below on mobile); the
   margin was stacking on top of it for a 64px step on both breakpoints. It
   went unnoticed on desktop because the missing body copy shortened the header
   by about the same amount. */
.cat-collection__header {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.cat-collection__heading {
	flex: 0 0 547px;
	margin: 0;
	color: var(--text-heading-primary);
}

.cat-collection__meta {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.cat-collection__body {
	margin: 0;
	color: var(--text-body-primary);
}

.cat-collection__link {
	color: var(--text-link);
	text-decoration: none;
}

.cat-collection__link:hover {
	text-decoration: underline;
}

.cat-collection__tiles {
	display: flex;
	gap: 24px;
}

/* Override category-tile width in this grid context (category-tile.css owns height:180px) */
.cat-collection__tiles .category-tile {
	flex: 0 0 322px;
}

/* =============================================================================
   3. PRODUCT SECTION — 17:1091 desktop (1440×3356)
   padding-block: 64px. Sidebar 332px (sticky), gap 38px, grid flex:1.
   Mobile: utility bar above 2-col grid. Sidebar hidden until filter trigger.
   ============================================================================= */

.cat-products {
	padding-block: var(--section-py);
}

.cat-products__inner {
	max-width: var(--content-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
}

/* Mobile utility bar — hidden on desktop */
.cat-utility-bar {
	display: none;
}

.cat-products__layout {
	display: flex;
	align-items: flex-start;
	gap: 38px;
}

/* ── Filter Sidebar ───────────────────────────────────────────────────────── */

.cat-sidebar {
	width: 332px;
	flex-shrink: 0;
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.cat-sidebar__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 12px;
	border-bottom: 1px solid var(--fig-neutral-100);
	margin-bottom: 20px;
}

.cat-sidebar__title {
	margin: 0;
	color: var(--text-heading-primary);
}

.cat-sidebar__clear {
	color: var(--text-body-primary);
	font: var(--fw-regular) 0.875rem/1 var(--font-body);
	text-decoration: underline;
}

.cat-sidebar__clear:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
	border-radius: var(--r-xs);
}

/* .cat-filter-group, .cat-filter-check — full rules in the FILTER SIDEBAR section below. */

/* ── Product Grid ─────────────────────────────────────────────────────────── */

.cat-grid {
	flex: 1;
	min-width: 0;
}

.cat-grid__loop {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.cat-grid__empty {
	color: var(--text-body-primary);
}

/* ── Load More button ─────────────────────────────────────────────────────── */

.cat-grid__pagination {
	margin-top: 48px;
}

.cat-load-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.cat-load-more[hidden] {
	display: none;
}

.cat-load-more__progress {
	margin: 0;
	color: var(--text-body-primary);
}

.cat-load-more__btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 48px;
	background: transparent;
	border: 1px solid var(--fig-neutral-900);
	border-radius: var(--r-sm);
	color: var(--text-heading-primary);
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background var(--dur-fast) linear,
		color var(--dur-fast) linear,
		border-color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.cat-load-more__btn:not(:disabled):hover {
		background: var(--btn-primary);
		border-color: var(--btn-primary);
		color: var(--fig-siegel-white);
	}
}

.cat-load-more__btn:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 3px;
}

.cat-load-more__btn:disabled {
	opacity: 0.5;
	cursor: default;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.cat-load-more__btn { transition: none; }
}

/* ── Numbered pagination (shown when JS absent) ───────────────────────────── */

.cat-pagination {
	display: flex;
	justify-content: center;
}

/* shop-filter.js sets [hidden] on this nav once JS confirms Load More is
   active; without this, the class rule above (display:flex) outranks the
   browser's default [hidden] behavior and both controls render at once. */
.cat-pagination[hidden] {
	display: none;
}

.cat-pagination ul {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.cat-pagination li a,
.cat-pagination li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 10px;
	border: 1px solid var(--fig-neutral-200);
	border-radius: var(--r-sm);
	color: var(--text-heading-primary);
	text-decoration: none;
	font: var(--fw-regular) 0.9010162354rem / 1 var(--font-body);
	transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear, color var(--dur-fast) linear;
}

.cat-pagination li span.current {
	background: var(--btn-primary);
	border-color: var(--btn-primary);
	color: var(--fig-siegel-white);
	font-weight: var(--fw-bold);
}

.cat-pagination li .prev,
.cat-pagination li .next {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

@media (hover: hover) and (pointer: fine) {
	.cat-pagination li a:hover {
		background: var(--bg-primary);
		border-color: var(--fig-neutral-400);
	}
}

.cat-pagination li a:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
	border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
	.cat-pagination li a,
	.cat-pagination li span { transition: none; }
}

/* WooCommerce catalog ordering (sort dropdown) */
.woocommerce-ordering {
	margin: 0;
}

.woocommerce-ordering select {
	font: var(--fw-regular) 0.875rem/1 var(--font-body);
	border: 1px solid var(--fig-neutral-200);
	border-radius: var(--r-sm);
	padding: 8px 12px;
	color: var(--text-heading-primary);
}

/* =============================================================================
   4. USE CASES STRIP — 254:14453 (1440×129)
   padding-block: 32px. 5 items equal-width, gap 28px. Icon 32×32, label below.
   ============================================================================= */

.cat-trust {
	padding-block: 32px;
}

.cat-trust__container {
	max-width: var(--content-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
}

.cat-trust__list {
	display: flex;
	gap: 28px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.cat-trust__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.cat-trust__icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-heading-primary);
	flex-shrink: 0;
}

.cat-trust__label {
	text-align: center;
	color: var(--text-heading-primary);
}

/* =============================================================================
   5. APPLICATION USE CASES — 17:1235 (1408×444.73 as drawn; the height is
      content-driven, see the note at the desktop geometry block)
   bg: --bg-primary. padding-block: 64px. Standard 40px gutters.
   Header: caption + h2 + body. Gap to cards: 32px.
   Cards: 5 items, flex equal, gap 28px. Icon 48×48 at top, name, desc.
   ============================================================================= */

.cat-app-usecases {
	background: var(--bg-primary);
	padding-block: var(--section-py);
}

.cat-app-usecases__container {
	max-width: var(--content-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.cat-app-usecases__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cat-app-usecases__caption {
	margin: 0;
	color: var(--text-caption);
}

.cat-app-usecases__heading {
	margin: 0;
	color: var(--text-heading-primary);
}

.cat-app-usecases__body {
	margin: 0;
	color: var(--text-body-primary);
}

.cat-app-usecases__list {
	display: flex;
	gap: 28px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.cat-app-usecases__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 16px;
	text-align: center;
}

.cat-app-usecases__link {
	display: contents; /* let the card be the link without wrapping a div */
	color: inherit;
	text-decoration: none;
}

.cat-app-usecases__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-heading-primary);
	margin-bottom: 12px;
}

.cat-app-usecases__name {
	margin-bottom: 8px;
	color: var(--text-heading-primary);
	display: block;
}

.cat-app-usecases__desc {
	margin: 0;
	color: var(--text-body-primary);
}

/* =============================================================================
   6. FAQ — 272:22841 (1440×709)
   Standard padding. 2-col flex: left heading + right accordion.
   Left col ~40% (no fixed px — let heading determine width).
   Accordion uses accordion.js + accordion.css mechanics.
   ============================================================================= */

.cat-faq {
	padding-block: var(--section-py);
}

.cat-faq__container {
	max-width: var(--content-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
	display: flex;
	gap: 64px;
	align-items: flex-start;
}

.cat-faq__left {
	flex: 0 0 400px;
}

.cat-faq__heading {
	margin: 0 0 24px;
	color: var(--text-heading-primary);
}

.cat-faq__intro {
	margin: 0;
	color: var(--text-body-primary);
}

.cat-faq__right {
	flex: 1;
	min-width: 0;
}

.cat-faq__item {
	border-bottom: 1px solid var(--fig-neutral-100);
}

.cat-faq__item:first-child {
	border-top: 1px solid var(--fig-neutral-100);
}

.cat-faq__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 20px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: var(--text-heading-primary);
}

.cat-faq__trigger:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

.cat-faq__chevron {
	flex-shrink: 0;
	transition: transform var(--dur-base) ease-out;
	color: var(--text-body-primary);
}

.cat-faq__trigger[aria-expanded='true'] .cat-faq__chevron {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.cat-faq__chevron { transition: none; }
}

.cat-faq__answer {
	color: var(--text-body-primary);
}
.accordion__panel .cat-faq__answer {
	padding: 0 0 20px;
}

.cat-faq__answer p { margin: 0 0 12px; }
.cat-faq__answer p:last-child { margin-bottom: 0; }

/* =============================================================================
   7. CTA DUAL PANEL — 182:20179 (1440×516)
   Outer padding-block: 80px (--section-py-cta).
   Two 668px panels, gap 24px, height 356px. Content padding: 52px/45px.
   Left: --btn-primary bg (red), white text, doc download buttons.
   Right: --bg-primary bg (light gray), dark text, red CTA button.
   ============================================================================= */

.cat-cta-panel {
	padding-block: var(--section-py-cta);
}

.cat-cta-panel__container {
	max-width: var(--content-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
	display: flex;
	gap: 24px;
}

.cat-cta-panel__panel {
	flex: 1;
	height: 356px;
	border-radius: var(--r-sm);
	display: flex;
	align-items: stretch;
}

.cat-cta-panel__panel--red  { background: var(--btn-primary); }
.cat-cta-panel__panel--gray { background: var(--bg-primary); }

.cat-cta-panel__content {
	padding: 52px 45px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
}

.cat-cta-panel__heading {
	margin: 0;
}

.cat-cta-panel__panel--red  .cat-cta-panel__heading { color: var(--fig-siegel-white); }
.cat-cta-panel__panel--gray .cat-cta-panel__heading { color: var(--text-heading-primary); }

.cat-cta-panel__body {
	margin: 0;
}

.cat-cta-panel__panel--red  .cat-cta-panel__body { color: var(--fig-siegel-white); }
.cat-cta-panel__panel--gray .cat-cta-panel__body { color: var(--text-body-primary); }

.cat-cta-panel__docs {
	display: flex;
	gap: 16px;
	margin-top: auto;
}

.cat-cta-panel__doc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--r-sm);
	color: var(--fig-siegel-white);
	text-decoration: none;
	transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.cat-cta-panel__doc-btn:hover {
		background: rgba(255, 255, 255, 0.12);
		border-color: var(--fig-siegel-white);
	}
}

.cat-cta-panel__doc-btn:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

.cat-cta-panel__doc-icon {
	flex-shrink: 0;
}

/* Right panel CTA button — red filled (same as .cat-hero__btn--primary) */
.cat-cta-panel__cta-btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 24px;
	background: var(--btn-primary);
	border: 1px solid var(--btn-primary);
	border-radius: var(--r-sm);
	color: var(--fig-siegel-white);
	text-decoration: none;
	margin-top: auto;
	transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.cat-cta-panel__cta-btn:hover {
		background: var(--btn-primary-hover);
		border-color: var(--btn-primary-hover);
	}
}

.cat-cta-panel__cta-btn:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.cat-cta-panel__doc-btn,
	.cat-cta-panel__cta-btn { transition: none; }
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

/* ── Fluid desktop (1024–1439px) ──────────────────────────────────────────── */

@media (max-width: 1439px) {
	.cat-collection__heading {
		flex: 0 0 40%;
	}
}

/* ── Tablet (768–1023px) ──────────────────────────────────────────────────── */

@media (max-width: 1023px) {
	/* Hero */
	.cat-hero {
		height: clamp(500px, 55vw, 696px);
	}
	.cat-hero__content {
		top: auto;
		bottom: 0;
		padding-bottom: 40px;
	}

	/* Collection grid header: stack vertically */
	.cat-collection__header {
		flex-direction: column;
		gap: 16px;
	}
	.cat-collection__heading {
		flex: none;
	}

	/* Sidebar narrow */
	.cat-sidebar {
		width: 240px;
	}

	/* Product grid: 2-col */
	.cat-grid__loop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* App use cases: 3-col */
	.cat-app-usecases__list {
		flex-wrap: wrap;
	}
	.cat-app-usecases__item {
		flex: 0 0 calc(33.333% - 19px);
	}

	/* FAQ: stack */
	.cat-faq__container {
		flex-direction: column;
		gap: 40px;
	}
	.cat-faq__left {
		flex: none;
	}

	/* CTA panel: stack */
	.cat-cta-panel__container {
		flex-direction: column;
	}
	.cat-cta-panel__panel {
		height: auto;
		min-height: 240px;
	}
}

/* ── Large phone (394–767px) ──────────────────────────────────────────────── */

@media (max-width: 767px) {
	/*
	   The glass panel over the hero (110:3219) is what header.css already gives
	   every mobile page by default, so the duplicate background / padding /
	   pill rules that used to live here have gone. They matched the base rules
	   value for value but at higher specificity, which meant the generic
	   `.is-on-light` solid-bar state could never win here and the header stayed
	   47% transparent over the product grid.

	   Icon colour stays, because the hero behind the nav is dark — but only
	   while the header is actually over it. Once header.js flips .is-on-light
	   the bar is solid white and white icons would vanish into it.
	*/
	body.tax-product_cat .site-logo,
	body.post-type-archive-product .site-logo {
		width: 44px;
		height: 45px;
		padding: 3px;
	}
	body.tax-product_cat .site-header:not(.is-on-light) .header-utils__btn,
	body.tax-product_cat .site-header:not(.is-on-light) .mobile-nav-toggle,
	body.post-type-archive-product .site-header:not(.is-on-light) .header-utils__btn,
	body.post-type-archive-product .site-header:not(.is-on-light) .mobile-nav-toggle {
		color: var(--fig-siegel-white);
	}

	/* Hero — mobile spec: 393×700 */
	.cat-hero {
		height: 700px;
	}

	/* Breadcrumb bar — visible on mobile */
	.cat-hero__breadcrumb {
		display: flex;
		align-items: center;
		gap: 2px;
		position: absolute;
		top: 89px;
		left: 0;
		right: 0;
		z-index: 2;
		padding: 0 16px;
		min-height: 20px;
		background: transparent;
		flex-wrap: wrap;
	}

	/* The colour goes on the nav so the current page inherits it. Naming only
	   the links and the separators left the last crumb — a plain span — at the
	   body colour, so "Home /" was white over the hero and "Shop" was black
	   beside it. On the Shop page that reads as the breadcrumb starting 44px
	   further right than everywhere else, because the white half of it is
	   invisible against the light default hero. */
	.cat-hero__breadcrumb,
	.cat-hero__breadcrumb a,
	.cat-hero__breadcrumb-sep {
		color: var(--fig-siegel-white);
		text-decoration: none;
	}

	.cat-hero__content {
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		gap: 12px;
		padding: 0 16px 24px;
	}
	.cat-hero__eyebrow {
		margin: 0;
		padding: 4px;
		border-radius: var(--r-sm);
		background: rgba(255, 255, 255, 0.2);
	}
	.cat-hero__title {
		width: 100%;
		max-width: none;
		margin: 0;
		font-size: 48px;
		line-height: 50.4px;
		letter-spacing: -0.4px;
	}
	.cat-hero__body {
		max-width: none;
		margin: 0;
		font-size: 16px;
		line-height: 20.2px;
	}
	/* Mobile: full-width stacked buttons */
	.cat-hero__actions {
		flex-direction: column;
		gap: 8px;
		width: 100%;
		/* stretch, not flex-start. flex-start sized each button to its own
		   words - "View products" 126px, "Contact us" 100px - which left the
		   shop hero looking unlike every other hero on the site, where the
		   pair run the full width of the column. Reported by the client with
		   a screenshot of the correct version. */
		align-items: stretch;
	}

	.cat-hero__btn {
		width: auto;
		justify-content: center;
	}

	/* Collection grid: no header split, single column tiles scroll */
	.cat-collection__header {
		flex-direction: column;
		gap: 12px;
	}
	.cat-collection__tiles {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		gap: 12px;
		padding-bottom: 8px;
	}
	.cat-collection__tiles .category-tile {
		flex: 0 0 164px;
		height: 100px;
		scroll-snap-align: start;
	}

	/* Show mobile utility bar, hide desktop sidebar */
	.cat-utility-bar {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 12px;
		background: var(--bg-primary);
		border-radius: var(--r-sm);
		margin-bottom: 20px;
	}

	.cat-utility-bar__input {
		width: 100%;
		padding: 10px 12px;
		border: 1px solid var(--fig-neutral-200);
		border-radius: var(--r-sm);
		background: var(--bg-secondary);
		color: var(--text-heading-primary);
	}

	.cat-utility-bar__controls {
		display: flex;
		gap: 12px;
		align-items: center;
	}

	.cat-utility-bar__filter-btn {
		display: flex;
		align-items: center;
		gap: 6px;
		padding: 10px 16px;
		min-height: 44px;
		background: none;
		border: 1px solid var(--fig-neutral-200);
		border-radius: var(--r-sm);
		color: var(--text-heading-primary);
		cursor: pointer;
		flex-shrink: 0;
	}

	.cat-utility-bar__filter-btn:focus-visible {
		outline: 2px solid var(--btn-stroke-focused);
		outline-offset: 2px;
	}

	/* Hide sidebar on mobile (Phase 7 will show as dialog) */
	.cat-products__layout {
		flex-direction: column;
		gap: 0;
	}

	.cat-sidebar {
		display: none;
	}

	/* 2-col product grid on mobile */
	.cat-grid__loop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	/* Trust strip: 2-col wrap */
	.cat-trust__list {
		flex-wrap: wrap;
		gap: 20px;
	}
	.cat-trust__item {
		flex: 0 0 calc(50% - 10px);
	}

	/* App use cases: 2-col */
	.cat-app-usecases__list {
		flex-wrap: wrap;
		gap: 16px;
	}
	.cat-app-usecases__item {
		flex: 0 0 calc(50% - 8px);
	}

	/* FAQ single col */
	.cat-faq__left {
		flex: none;
		width: 100%;
	}

	/* CTA panel: stack full-width */
	.cat-cta-panel__container {
		padding-inline: 0;
	}
	.cat-cta-panel__panel {
		border-radius: 0;
		height: auto;
		min-height: 200px;
	}
	.cat-cta-panel__content {
		padding: 32px 16px;
	}
}

/* ── Mobile design width (≤393px) ────────────────────────────────────────── */

@media (max-width: 393px) {
	.cat-app-usecases__item {
		flex: 0 0 100%;
	}
}

/* =============================================================================
   FILTER SIDEBAR — details/summary groups, price inputs, mobile dialog
   Phase 7: replaces the Phase 6 stub (hardcoded disabled checkboxes).
   ============================================================================= */

/* ── Filter group (details/summary) ──────────────────────────────────────── */

.cat-filter-group {
	border-bottom: 1px solid var(--fig-neutral-100);
}

.cat-filter-group summary {
	list-style: none;
}

.cat-filter-group summary::-webkit-details-marker {
	display: none;
}

.cat-filter-group__label:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

.cat-filter-group__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	color: var(--text-heading-primary);
	letter-spacing: 0.06em;
}

.cat-filter-group__chevron {
	flex-shrink: 0;
	transition: transform var(--dur-fast) linear;
}

.cat-filter-group[open] .cat-filter-group__chevron {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.cat-filter-group__chevron {
		transition: none;
	}
}

.cat-filter-group__list {
	list-style: none;
	margin: 0;
	padding: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ── Checkbox labels ──────────────────────────────────────────────────────── */

/* 113:9453 — 20 tall, gap 8 (checkbox 16 + 8 puts the label on x=24), and the
   list pitch is 28. The 10px gap and the 22px auto height came to a 30px pitch
   and pushed the eighth option 16px below where the design ends the group. */
.cat-filter-check {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 20px;
	cursor: pointer;
}

.cat-filter-check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid var(--fig-neutral-300);
	border-radius: 2px;
	flex-shrink: 0;
	background: #fff;
	cursor: pointer;
	transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

.cat-filter-check input[type="checkbox"]:checked {
	background: var(--fig-red-600);
	border-color: var(--fig-red-600);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.cat-filter-check input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--btn-stroke-focused, var(--fig-red-600));
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.cat-filter-check input[type="checkbox"] {
		transition: none;
	}
}

/* ── Price range inputs ───────────────────────────────────────────────────── */

.cat-filter-price {
	padding-bottom: 16px;
}

.cat-filter-price__inputs {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.cat-filter-price__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.cat-filter-price__sep {
	padding-bottom: 10px;
	color: var(--fig-neutral-400);
}

.cat-filter-price__input-wrap {
	position: relative;
}

.cat-filter-price__symbol {
	position: absolute;
	inset-block: 0;
	left: 10px;
	display: flex;
	align-items: center;
	font-size: 0.75rem;
	color: var(--fig-neutral-500);
	pointer-events: none;
}

.cat-filter-price__input {
	width: 100%;
	height: 38px;
	padding: 0 8px 0 22px;
	border: 1px solid var(--fig-neutral-300);
	border-radius: var(--r-sm);
	background: #fff;
	font-family: inherit;
	color: var(--text-heading-primary);
	appearance: none;
	box-sizing: border-box;
}

.cat-filter-price__input:focus {
	outline: 2px solid var(--btn-stroke-focused, var(--fig-red-600));
	outline-offset: 1px;
}

/* Remove number input spinners */
.cat-filter-price__input::-webkit-inner-spin-button,
.cat-filter-price__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

/* ── Active filter badge on mobile trigger ────────────────────────────────── */

.cat-filter-badge {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fig-red-600);
	margin-left: 2px;
}

/* ── "See results" apply button — mobile dialog only ─────────────────────── */

.cat-filter-apply {
	display: none; /* shown inside dialog via mobile breakpoint */
	width: 100%;
	margin-top: 24px;
	height: 46px;
	background: var(--fig-red-600);
	color: #fff;
	border: none;
	border-radius: var(--r-sm);
	cursor: pointer;
	font-family: var(--font-heading);
	letter-spacing: 0.05em;
	transition: background var(--dur-fast) linear;
}

.cat-filter-apply:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.cat-filter-apply {
		transition: none;
	}
}

/* ── Grid loading state ───────────────────────────────────────────────────── */

.cat-grid--loading {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity var(--dur-base) ease-out;
}

@media (prefers-reduced-motion: reduce) {
	.cat-grid--loading {
		transition: none;
	}
}

/* ── Product count display ────────────────────────────────────────────────── */

.cat-grid__count {
	color: var(--fig-neutral-500);
	margin-bottom: 16px;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */

.cat-grid__empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 48px 0;
}

.cat-grid__empty-link {
	color: var(--fig-red-600);
	text-decoration: underline;
}

/* ── Mobile filter dialog ─────────────────────────────────────────────────── */

/*
   Right-hand slide-out drawer. <dialog> centres itself by default, so it is
   pinned to the right edge and given a width; `margin-left:auto` is what does
   the pinning. Open and close are symmetric — @starting-style provides the
   entry value and transition-behavior:allow-discrete keeps the element around
   long enough to animate out, so no JS animation is involved.
*/
.cat-filter-dialog {
	/* Reset browser defaults */
	border: none;
	padding: 0;
	margin: 0 0 0 auto;      /* pin to the right edge */
	max-width: 100%;
	max-height: none;
	width: min(400px, 100%);
	height: 100vh;   /* fallback: Safari <16 */
	height: 100dvh;
	overflow: hidden;
	background: #fff;
	flex-direction: column;
	translate: 100% 0;
	transition:
		translate var(--dur-base) ease-out,
		overlay var(--dur-base) ease-out allow-discrete,
		display var(--dur-base) ease-out allow-discrete;
}

/* display belongs to the OPEN state only. Declaring `display: flex` on the base
   rule overrode the UA's `dialog:not([open]) { display: none }`, so the closed
   drawer was still laid out — 393 wide, parked off the right edge by its own
   translate. That is what made the mobile document 786 wide and let the page
   drift sideways. The discrete `display` transition still animates the close,
   because the property is in the transition list above. */
.cat-filter-dialog[open] {
	display: flex;
	translate: 0 0;
}

@starting-style {
	.cat-filter-dialog[open] {
		translate: 100% 0;
	}
}

.cat-filter-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition:
		opacity var(--dur-base) ease-out,
		overlay var(--dur-base) ease-out allow-discrete,
		display var(--dur-base) ease-out allow-discrete;
}

.cat-filter-dialog[open]::backdrop {
	opacity: 1;
}

@starting-style {
	.cat-filter-dialog[open]::backdrop {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cat-filter-dialog,
	.cat-filter-dialog::backdrop {
		transition: none;
	}
}

.cat-filter-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	border-bottom: 1px solid var(--fig-neutral-100);
	flex-shrink: 0;
}

.cat-filter-dialog__title {
	margin: 0;
}

.cat-filter-dialog__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--text-heading-primary);
	padding: 0;
}

.cat-filter-dialog__close:focus-visible {
	outline: 2px solid var(--btn-stroke-focused, var(--fig-red-600));
	outline-offset: 2px;
	border-radius: var(--r-sm);
}

/*
   Filters scroll; the submit button stays put at the very bottom of the panel.
   The button lives inside the form (which JS moves in here wholesale), so it is
   pinned with position:sticky rather than being lifted out of the form —
   margin-top:auto drops it to the bottom when the filter list is short, and
   sticky bottom:0 holds it there once the list is long enough to scroll.
*/
.cat-filter-dialog__body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
}

.cat-filter-dialog__body .cat-sidebar,
.cat-filter-dialog__body .cat-sidebar__form {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.cat-filter-dialog__body .cat-filter-apply {
	position: sticky;
	bottom: 0;
	margin-top: auto;
	margin-bottom: 0;
	flex-shrink: 0;
	/* Opaque, so filter rows scrolling underneath do not show through. */
	background: var(--fig-red-600);
	box-shadow: 0 -12px 16px -8px rgba(255, 255, 255, 0.9);
}

/* Dialog open: prevent body scroll */
html.filter-dialog-open {
	overflow: hidden;
}

/* ── Desktop: hide dialog chrome elements, always show sidebar ────────────── */

@media (min-width: 768px) {
	.cat-filter-dialog {
		display: none !important;
	}

	.cat-filter-apply {
		display: none !important;
	}

	.cat-utility-bar__filter-btn {
		display: none;
	}
}

/* ── Mobile: show dialog apply button when inside dialog ─────────────────── */

@media (max-width: 767px) {
	.cat-filter-dialog__body .cat-filter-apply {
		display: block;
	}

	/* Sidebar hidden in its normal DOM position on mobile —
	   JS moves it into the dialog when the trigger is tapped */
	.cat-sidebar {
		display: none;
	}

	/* … but when moved into the dialog body, show it. Flex column rather than
	   block, so the form can fill the panel and drop the submit button to the
	   bottom — this rule sits after the drawer layout above and would otherwise
	   reset it to block at equal specificity. */
	.cat-filter-dialog__body .cat-sidebar {
		display: flex;
		flex-direction: column;
		flex: 1;
		min-height: 0;
		/* Desktop panel chrome — fixed width, sticky offset, boxed border —
		   is meaningless once the aside is inside the drawer. */
		width: auto;
		position: static;
		border: 0;
		border-radius: 0;
	}

	/* The drawer already has a "Filters" heading; the sidebar's own title
	   would repeat it. Clear all stays. */
	.cat-filter-dialog__body .cat-sidebar__header {
		padding-inline: 0;
		border: 0;
		justify-content: flex-end;
	}

	.cat-filter-dialog__body .cat-sidebar__title {
		display: none;
	}
}

/* ── Collection section ───────────────────────────────────────────────────── */

.cat-collection {
	padding-block: var(--section-py);
}

.cat-collection__inner {
	max-width: var(--content-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
	box-sizing: content-box;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.cat-collection__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.cat-collection__heading {
	margin: 0;
}

.cat-collection__body {
	margin: 8px 0 0;
	color: var(--fig-neutral-600);
}

.cat-collection__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--fig-red-600);
	text-decoration: none;
	flex-shrink: 0;
	transition: color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.cat-collection__link:hover {
		color: var(--fig-red-700, #b91c1c);
	}
}

.cat-collection__link:focus-visible {
	outline: 2px solid var(--btn-stroke-focused, var(--fig-red-600));
	outline-offset: 2px;
	border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
	.cat-collection__link {
		transition: none;
	}
}

.cat-collection__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 767px) {
	.cat-collection {
		padding-block: 40px;
	}

	.cat-collection__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.cat-collection__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}


/* ==========================================================================
   FIGMA CATEGORY ARCHIVE RECONCILIATION
   Desktop 17:1038 (1440px) / Mobile 110:3218 (393px)
   ========================================================================== */
.cat-hero__content {
	gap: 24px;
}
.cat-hero__eyebrow {
	margin: 0;
	padding: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.2);
}
/* Type comes from .t-display (72/75.2, --ls-tight) — 38:1588 exactly. The
   font-size/line-height/letter-spacing that used to be redeclared here made it
   72/73.44, 1.76px tight per line, and the -12px margin was compensating for
   the resulting drift rather than fixing it. */
.cat-hero__title {
	max-width: 777px;
	margin: 0;
	white-space: pre-line;
}

/* 38:1585 — badge and heading are one group at gap-12, sitting inside the
   container's gap-24. */
.cat-hero__heading-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.cat-hero__body {
	margin: 0;
}
/* 38:1592/38:1593 are 46 tall. p-14 with the 17.3 line of .t-body-sm-exbold
   comes to 45.3, and Figma draws its 1px stroke inside the frame — so 13 + the
   border reaches the same 14 from the edge, and min-height rounds to the drawn
   46. They used to carry .t-adhoc-button (Aktiv SemiBold 12/12.15), which is a
   different button tier and left them 42.2 tall. */
.cat-hero__btn {
	box-sizing: border-box;   /* the theme has no global reset; without this the
	                             46 is added to the padding and border, not
	                             measured through them, and the button is 74. */
	justify-content: center;
	min-height: 46px;
	padding: 13px 14px;
}
.cat-hero__btn--outline {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

/* 17:1055 is pt-64 with no bottom padding — 64 + 354 = its drawn 418. The
   breathing room under the tiles is the product section's own pt-64
   (17:1091), so paying it twice put 128 between the tiles and the filters. */
.cat-collection {
	padding-block: 64px 0;
}
.cat-collection__inner {
	gap: 32px;
}
.cat-collection__header {
	display: grid;
	grid-template-columns: 547px minmax(0, 1fr);
	align-items: start;
	gap: 32px;
}
.cat-collection__header-left {
	display: contents;
}
.cat-collection__heading {
	grid-column: 1;
	margin: 0;
	color: #101828;
}
.cat-collection__body {
	grid-column: 2;
	margin: 0;
	max-width: 781px;
	color: #6b6d6f;
}
.cat-collection__link {
	grid-column: 2;
	justify-self: start;
	margin-top: -20px;
}
.cat-collection__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

/* ── More than four tiles: carousel ──────────────────────────────────────────
   17:1060 draws four across the 1360 container and stops there. The shop page
   has eleven top-level categories, which wrapped to three rows and pushed the
   section from its drawn 418 to 726. Past four the row scrolls instead, with
   the tile and the 24 gap unchanged so a full frame still reads exactly as the
   design does. Four or fewer keeps the grid above and is untouched. */
.cat-collection__grid--carousel {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* Without this a swipe that runs past the end triggers browser back. */
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cat-collection__grid--carousel::-webkit-scrollbar {
	display: none;
}

/* Desktop only. Mobile already scrolls this row at every tile count — 110:3529
   draws four 164s in a 361 container — and its own rule sets the 164 width, so
   a 322 basis here would override it and blow the tile up. */
@media (min-width: 768px) {
	.cat-collection__grid--carousel > .cat-collection__tile-wrap {
		flex: 0 0 322px;
		scroll-snap-align: start;
	}
}

.cat-collection__grid--carousel:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 4px;
}

/* Arrows sit on the heading line, right-aligned — the same arrangement the
   home page's category row uses. The header is a two-column grid until they
   appear, so the third column is only declared when it has something in it and
   the four-tile layout keeps its drawn 547 / 781 split. */
.cat-collection__header:has(.cat-collection__arrows) {
	grid-template-columns: 547px minmax(0, 1fr) auto;
	align-items: center;
}

.cat-collection__arrows {
	display: flex;
	gap: 17px;
	align-items: center;
}

.cat-collection__arrows[hidden] {
	display: none;   /* beats the display:flex above when the track cannot scroll */
}

/* No arrows on mobile: the row is swipeable, the design draws none, and a pair
   of 46px buttons beside a 32px heading on a 393 screen crowds it. */
@media (max-width: 767px) {
	.cat-collection__arrows {
		display: none;
	}
}

.cat-collection__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 9px;
	background: #f3f4f4;
	border: none;
	border-radius: var(--r-md);
	cursor: pointer;
	color: var(--text-body-primary);
	transition: background var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.cat-collection__arrow:hover {
		background: #e8e9ea;
	}
}

.cat-collection__arrow:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.cat-collection__arrow {
		transition: none;
	}
}
.cat-collection__tile-wrap,
.cat-collection__grid .category-tile {
	min-width: 0;
	height: 180px;
}
.cat-collection__grid .category-tile {
	width: 100%;
}

.cat-products {
	padding-block: 64px;
}
.cat-products__layout {
	gap: 38px;
}
.cat-sidebar {
	width: 332px;
	box-sizing: border-box;
	border: 1px solid #f5f6f6;
	border-radius: 2px;
	top: calc(var(--header-h) + 24px);
}
.cat-sidebar__header {
	height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 12px;
	border-bottom: 1px solid #e6e6e6;
}
.cat-sidebar__title {
	font: 700 12px/16px var(--font-heading);
	letter-spacing: 0.6px;
	text-transform: uppercase;
}
.cat-sidebar__clear {
	font: 400 14.416px/17.3px var(--font-body);
	color: #8b8d8e;
}
.cat-sidebar__form {
	padding: 12px;
}
.cat-filter-group {
	margin: 0;
	padding: 0 0 16px;
	border: 0;
}
.cat-filter-group + .cat-filter-group {
	padding-top: 16px;
	border-top: 1px solid #e6e6e6;
}
.cat-filter-group__label {
	padding: 0;
	font: 800 12.814px/15.377px var(--font-body);
	letter-spacing: 0;
}
.cat-filter-group__list {
	gap: 8px;
	margin-top: 16px;
}
.cat-filter-check {
	gap: 8px;
	min-height: 20px;
}
.cat-filter-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
}
.cat-grid__count {
	margin: 0 0 16px;
	color: #6b6d6f;
}
.cat-grid__loop {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.cat-grid__mobile-count {
	display: none;
}

.cat-trust {
	padding-block: 32px;
}
.cat-trust__list {
	gap: 28px;
}
.cat-trust__item {
	gap: 12px;
}
.cat-trust__label {
	font: 400 16px/20.2px var(--font-body);
	color: #6b6d6f;
}

.cat-app-usecases {
	margin-inline: 16px;
	padding: 64px 73.333px;
	border-radius: 2px;
}
.cat-app-usecases__container {
	max-width: 1261.334px;
	padding: 0;
	gap: 32px;
}
.cat-app-usecases__header {
	gap: 11.733px;
}
.cat-app-usecases__caption {
	font: 700 11.733px/15.644px var(--font-heading);
	letter-spacing: 0.5867px;
	text-transform: uppercase;
}
.cat-app-usecases__list {
	gap: 28px;
}
.cat-app-usecases__item {
	min-width: 0;
	min-height: 179px;
	box-sizing: border-box;
	justify-content: flex-start;
	gap: 12px;
	padding: 24px;
	border-radius: 2px;
	background: #fff;
}
.cat-app-usecases__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}
.cat-app-usecases__icon {
	width: 48px;
	height: 48px;
	margin: 0;
	object-fit: contain;
}
.cat-app-usecases__name {
	margin: 0;
	font: 700 20px/24px var(--font-heading);
	letter-spacing: -0.4px;
	
}
.cat-app-usecases__desc {
	font: 400 14.416px/17.3px var(--font-body);
	color: #6b6d6f;
	text-align: center;
}

.cat-faq {
	padding: 96px 40px;
}
.cat-faq__container {
	max-width: 1360px;
	padding: 0;
	justify-content: space-between;
	gap: 64px;
}
.cat-faq__left {
	flex: 0 0 448px;
}
.cat-faq__heading {
	margin: 0 0 20px;
}
.cat-faq__right {
	flex: 0 0 720px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.cat-faq__item,
.cat-faq__item:first-child {
	border: 0;
}
.cat-faq__trigger {
	min-height: 48px;
	align-items: flex-start;
	padding: 0;
	font: 700 20px/24px var(--font-heading);
	letter-spacing: -0.4px;
}
.cat-faq__chevron {
	width: 24px;
	height: 24px;
	color: #333;
}
.cat-faq__trigger[aria-expanded="true"] .cat-faq__chevron {
	transform: none;
}
.accordion__panel .cat-faq__answer {
	padding: 8px 48px 0 0;
}

.cat-cta-panel__heading {
	max-width: 469px;
	font: 700 48px/50.4px var(--font-heading);
	letter-spacing: -0.4px;
}
.cat-cta-panel__content {
	gap: 32px;
}
.cat-cta-panel__body {
	max-width: 540px;
	font: 400 16px/20.2px var(--font-body);
}
.cat-cta-panel__docs {
	gap: 12px;
}
/* 105:11647 is 46 tall. Figma strokes inside the frame, so 13 + the 1px border
   reaches the same 14 from the edge; padding 14 plus the border made it 47.3. */
.cat-cta-panel__doc-btn,
.cat-cta-panel__cta-btn {
	box-sizing: border-box;   /* no global reset — see .cat-hero__btn */
	gap: 8px;
	justify-content: center;
	min-height: 46px;
	padding: 13px 14px;
	font: 800 14.416px/17.3px var(--font-body);
}

@media (max-width: 767px) {
	.cat-hero__content {
		gap: 12px;
	}
	.cat-hero__title {
		font-size: 48px;
		line-height: 50.4px;
	}
	.cat-hero__actions {
		gap: 8px;
	}

	.cat-collection {
		padding-block: 32px;
	}
	.cat-collection__inner {
		gap: 32px;
		overflow: hidden;
	}
	.cat-collection__header {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}
	.cat-collection__header-left {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}
	.cat-collection__heading {
		font-size: 32px;
		line-height: 34px;
		letter-spacing: -0.4px;
	}
	/* Type only. The clamp that used to live here is gone — shop-filter.js
	   measures the copy and writes the cut, and a surviving -webkit-line-clamp
	   silently re-clipped the element to 3 lines underneath it. */
	.cat-collection__body {
		margin: 0;
		font-size: 14.416px;
		line-height: 17.3px;
	}
	.cat-collection__link {
		margin: -16px 0 0;
		font-size: 14.416px;
		line-height: 17.3px;
		text-decoration: underline;
	}
	.cat-collection__grid {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.cat-collection__grid::-webkit-scrollbar {
		display: none;
	}
	.cat-collection__tile-wrap,
	.cat-collection__grid .category-tile {
		flex: 0 0 164px;
		width: 164px;
		height: 100px;
		scroll-snap-align: start;
	}

	.cat-products {
		padding: 0 0 64px;
	}
	.cat-products__inner {
		max-width: none;
		padding-inline: 12px;
	}
	/* Sticky on mobile, asked for by the client: the grid is long and search,
	   filter and sort were only reachable by scrolling all the way back up.
	   The header is absolute here, so it scrolls away and the bar can pin to
	   the very top. The negative margin lets the white band reach both screen
	   edges, or cards would show through the 12px gutters as they pass under.
	   z-index stays below the header (100) and the search overlay (250). */
	.cat-utility-bar {
		position: sticky;
		top: 0;
		z-index: 20;
		display: flex;
		gap: 8px;
		margin-inline: -12px;
		margin-block: 0;
		padding: 16px 12px;
		background: #fff;
	}
	.cat-utility-bar__search {
		position: relative;
		display: flex;
		align-items: center;
		height: 36px;
		padding: 0 12px;
		border-radius: 2px;
		background: #f5f6f6;
	}
	.cat-utility-bar__search-icon {
		flex: 0 0 16px;
	}
	.cat-utility-bar__input {
		height: 36px;
		padding: 0 0 0 10px;
		border: 0;
		background: transparent;
		font-size: 12.814px;
		line-height: 15.377px;
	}
	.cat-utility-bar__input:focus {
		outline: 0;
	}
	.cat-utility-bar__controls {
		position: relative;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		height: 42px;
		border-radius: 2px;
		background: #f5f6f6;
	}
	.cat-utility-bar__filter-btn,
	.cat-utility-bar__sort-label {
		display: flex;
		align-items: center;
		gap: 6px;
		height: 42px;
		padding: 0 12px;
		border: 0;
		background: transparent;
		font: 700 12px/16px var(--font-heading);
		letter-spacing: 0.6px;
		text-transform: uppercase;
	}
	.cat-utility-bar__sort-label {
		justify-content: flex-end;
	}
	.cat-utility-bar__controls .woocommerce-ordering {
		position: absolute;
		inset: 0 0 0 50%;
		z-index: 2;
		margin: 0;
		opacity: 0;
	}
	.cat-utility-bar__controls .woocommerce-ordering select {
		width: 100%;
		height: 100%;
		cursor: pointer;
	}
	.cat-grid__count {
		display: none;
	}
	.cat-grid__loop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 8px;
		row-gap: 28px;
	}
	.cat-grid__pagination {
		margin-top: 60px;
	}
	.cat-pagination ul {
		gap: 0;
	}
	.cat-pagination li a,
	.cat-pagination li span {
		width: 36px;
		min-width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		background: transparent;
		color: #8b8d8e;
	}
	.cat-pagination li span.current {
		background: transparent;
		color: #333;
		font-weight: 400;
	}
	.cat-grid__mobile-count {
		display: block;
		margin: 24px 0 0;
		padding-top: 0;
		text-align: center;
		color: #82807d;
		font-size: 10px;
		line-height: 12px;
		letter-spacing: 0.6px;
		text-transform: uppercase;
	}

	/* While Load More is on screen it already says "16 of 71 products" directly
	   above the button, so this total underneath it was the same fact twice -
	   and with no margin it sat flush against the button. Reported by the
	   client. It comes back once the button goes, which is the only time the
	   grid has no other count on it: everything loaded, or a category short
	   enough never to paginate. shop-filter.js owns that hidden attribute. */
	.cat-grid:has(.cat-load-more:not([hidden])) .cat-grid__mobile-count {
		display: none;
	}

	.cat-trust {
		padding: 32px 0;
		overflow: hidden;
	}
	.cat-trust__container {
		width: 393px;
		max-width: none;
		padding: 0;
	}
	.cat-trust__list {
		display: grid;
		grid-template-columns: repeat(2, 182.5px);
		gap: 28px;
		width: 393px;
	}
	.cat-trust__item {
		min-height: 65px;
		justify-content: flex-start;
		padding: 0 24px;
		box-sizing: border-box;
	}
	.cat-trust__item:last-child {
		min-height: 84px;
	}
	.cat-trust__label {
		font-size: 14.416px;
		line-height: 17.3px;
		white-space: nowrap;
	}
	.cat-trust__item:last-child .cat-trust__label {
		white-space: normal;
	}

	.cat-app-usecases {
		margin: 20px 16px 0;
		padding: 24px 16px;
	}
	.cat-app-usecases__container {
		gap: 32px;
	}
	.cat-app-usecases__header {
		gap: 16px;
	}
	.cat-app-usecases__caption {
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 0.6px;
	}
	.cat-app-usecases__heading {
		font-size: 32px;
		line-height: 34px;
		letter-spacing: -0.4px;
	}
	.cat-app-usecases__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.cat-app-usecases__item {
		min-height: 140px;
		padding: 12px;
		gap: 4px;
	}
	.cat-app-usecases__link {
		gap: 4px;
	}
	.cat-app-usecases__icon {
		width: 32px;
		height: 32px;
	}
	.cat-app-usecases__name {
		font-size: 22px;
		line-height: 24px;
	}
	.cat-app-usecases__desc {
		font-size: 14.416px;
		line-height: 17.3px;
	}

	.cat-faq {
		padding: 64px 16px;
	}
	.cat-faq__container {
		gap: 48px;
	}
	.cat-faq__left {
		width: 100%;
	}
	.cat-faq__heading {
		margin: 0 0 16px;
		font-size: 30px;
		line-height: 38px;
	}
	.cat-faq__right {
		flex: none;
		width: 100%;
		gap: 32px;
	}
	.cat-faq__trigger {
		min-height: 48px;
		font-size: 22px;
		line-height: 24px;
	}
	.accordion__panel .cat-faq__answer {
		padding: 8px 48px 0 0;
	}

	.cat-cta-panel {
		padding-block: 32px;
	}
	.cat-cta-panel__container {
		gap: 12px;
		padding-inline: 16px;
	}
	.cat-cta-panel__panel {
		min-height: 0;
		border-radius: 2px;
	}
	.cat-cta-panel__content {
		gap: 16px;
		padding: 24px;
	}
	.cat-cta-panel__heading {
		max-width: none;
		font-size: 32px;
		line-height: 34px;
	}
	.cat-cta-panel__docs {
		flex-direction: column;
		gap: 12px;
		width: 100%;
		margin-top: 0;
	}
	.cat-cta-panel__doc-btn,
	.cat-cta-panel__cta-btn {
		width: 100%;
		box-sizing: border-box;
		margin-top: 0;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.cat-collection__header {
		grid-template-columns: minmax(0, 40%) 1fr;
	}
	.cat-sidebar {
		width: 260px;
	}
	.cat-grid__loop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.cat-app-usecases {
		padding-inline: 40px;
	}
	.cat-faq__left,
	.cat-faq__right {
		flex: 1 1 0;
	}
}


/* Final responsive geometry corrections from live side-by-side comparison. */

/* No width here. 100vw includes the scrollbar, so on a 1440 viewport the body
   measured 1455 and every centred container inside it — hero content,
   collection, FAQ, CTA — resolved its auto margins against 1455 and landed
   7.5px right of the 40px gutter. overflow-x:clip then hid the 15px of
   overflow, so it read as "everything is very slightly off" rather than as a
   bug. The body is already the full width of the viewport without being told.
   home.css §244 records the same lesson. */
body.tax-product_cat,
body.post-type-archive-product {
	overflow-x: clip;
}
@media (max-width: 767px) {
	.cat-collection {
		min-height: 360px;
		box-sizing: border-box;
	}
	/* 63:2846 stacks the name row and the two price rows with no gap at all —
	   20 + 15.995 + 15.995 = 51.99, which is what makes the card 290.47. */
	.product-card-mobile__info {
		gap: 0;
	}
	.product-card-mobile__price-primary,
	.product-card-mobile__price-secondary {
		margin: 0;
	}
	.cat-app-usecases__item {
		min-height: 135.5px;
	}
	.cat-faq__left {
		flex: none;
	}
}


@media (max-width: 767px) {
	.cat-grid .product-card-mobile__info {
		gap: 0;
	}
	.cat-faq {
		min-height: 868px;
		box-sizing: border-box;
	}
}

/* Exact desktop section geometry from Figma node 17:1038. */
@media (min-width: 768px) {
	.cat-collection__inner {
		gap: 36px;
	}
	.cat-trust {
		min-height: 129px;
		box-sizing: border-box;
	}
	.cat-trust__icon {
		height: 32px !important;
		object-fit: contain;
	}
	/* .cat-app-usecases had height: 444.733px here, the frame height from
	   17:1235. A section height is an output of its content, not an input:
	   Figma measured 444.73 because that is what five short use cases came
	   to. Measured on /product-category/flooring-adhesives/ at 1440 - the
	   five cards there end 376px in, so the fixed height was adding nothing,
	   and lengthening one description by four lines pushed the cards 18px
	   past the section's own bottom edge and into the CTA panel below, since
	   overflow is visible. Unset, the same content gives 526px with the
	   designed 64px bottom padding intact. The 444.733 is also scaled-
	   component noise, which the token rules say to normalise rather than
	   reproduce. */
	.cat-app-usecases__icon {
		height: 48px !important;
	}
	.cat-faq {
		min-height: 709px;
		box-sizing: border-box;
	}
}
/* FIGMA CATEGORY FINAL PASS 17:1038 */
.cat-collection__more {
	display: none;
	appearance: none;
	padding: 0;
	border: 0;
	background: #fff;
	color: #6b6d6f;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.cat-filter-group--figma {
	min-width: 0;
	height: 255px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 0 16px;
	border: 0;
}
.cat-filter-group--figma .cat-filter-group__label {
	display: block;
	width: 100%;
}
.cat-filter-group--figma .cat-filter-group__list {
	margin-top: 16px;
}
/* No rotation on the third icon. It was keyed to position, not to the icon, so
   it turned whatever use case happened to land third - on
   /product-category/flooring-adhesives/ that is Flooring, and every category
   with a different third entry had an unrelated icon lying on its side. The
   icons are uploaded artwork: one drawn at the wrong angle is fixed in the
   file, not rotated back by the stylesheet. */
.cat-cta-panel__panel--red .cat-cta-panel__doc-btn img {
	filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
	.cat-collection {
		
		padding: 64px 40px 0;
		box-sizing: border-box;
		overflow: hidden;
	}
	.cat-collection__inner {
		max-width: 1360px;
		
		padding: 0;
		gap: 32px;
		box-sizing: border-box;
	}
	.cat-collection__header {
		
	}
	.cat-collection__body {

		overflow: hidden;
	}
	.cat-grid__count {
		display: none;
	}
	.product-card__name-group {
		flex: 0 1 auto;
	}
	.product-card__price-primary {
		flex: 0 0 auto;
		margin-left: auto;
	}
}

@media (max-width: 767px) {
	.cat-collection {
		height: 360px;
		min-height: 360px;
		padding: 32px 16px;
		overflow: hidden;
	}
	.cat-collection__inner {
		height: 296px;
		padding: 0;
		gap: 32px;
	}
	.cat-collection__header {
		flex: 0 0 164px;
		height: 164px;
		gap: 0;
	}
	/* "See more" sits in the flow after the copy, not on top of it. It used to
	   be absolutely positioned at right:42/bottom:0 so it would fit inside the
	   fixed 164 without adding height — which parked it over the last clamped
	   line. Now the stack is heading → copy → control, and the clamp gives back
	   the room the control needs:

	       34 heading + 24 + 69.2 copy (4 lines) + 8 + 17.3 control = 152.5

	   inside the drawn 164, so nothing overlaps and nothing is clipped. The
	   design has no "See more" at all — its 104px of supporting text is six
	   lines with nothing after them — so the two lines the control costs are
	   the price of having a way to read the rest. */
	.cat-collection__header-left {
		position: static;
		height: 164px;
		gap: 0;
	}
	.cat-collection__heading {
		margin-bottom: 24px;
	}
	/* No clamp. shop-filter.js measures the copy and writes the cut, because
	   -webkit-line-clamp spends one of its lines on the <br><br> between the
	   two paragraphs and puts the ellipsis on a row by itself. The element just
	   needs to be free to size to whatever the script leaves in it. */
	.cat-collection__body {
		/* flex:none is load-bearing. The parent is a fixed-height column, so a
		   shrinkable body gets squeezed to whatever room is left — its box
		   reported 3 lines while its content was 5, the overflow painted over
		   "See more", and the script had no honest number to measure against.
		   At its natural height the box and the content agree. */
		flex: none;
		height: auto;
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}
	.cat-collection__more {
		position: static;
		align-self: flex-start;
		margin-top: 8px;
		display: inline-block;
		font-size: 14.416px;
		line-height: 17.3px;
	}
	.cat-collection__header-left.is-expanded {
		height: auto;
	}
	.cat-collection__header-left.is-expanded .cat-collection__body {
		display: block;
		height: auto;
		max-height: none;
	}

	/* Nothing clamped means nothing to reveal — shop-filter.js sets this when
	   the copy already fits, so the control does not sit there doing nothing. */
	.cat-collection__more[hidden] {
		display: none;
	}
	.cat-collection:has(.cat-collection__header-left.is-expanded),
	.cat-collection__inner:has(.cat-collection__header-left.is-expanded),
	.cat-collection__header:has(.cat-collection__header-left.is-expanded) {
		height: auto;
	}
	.cat-collection:has(.cat-collection__header-left.is-expanded) {
		overflow: visible;
	}
	.cat-collection__header:has(.cat-collection__header-left.is-expanded) {
		flex-basis: auto;
	}
	.cat-collection__header-left.is-expanded {
		height: auto;
		padding-bottom: 16px;
	}
	.cat-collection__header-left.is-expanded .cat-collection__more {
		position: static;
		align-self: flex-start;
	}
	.product-card-mobile__name-row {
		gap: 5px;
		overflow: visible;
	}
	.product-card-mobile__name {
		flex: 0 1 auto;
		overflow: visible;
		text-overflow: clip;
		letter-spacing: -0.55px;
	}
}
/* Archive backgrounds and shared chrome stay full viewport width, matching
   every other page. Only the inner Figma content frame remains centred. */
@media (min-width: 768px) {
	.cat-hero__content {
		width: min(calc(100% - 80px), 1360px);
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
}

/* Figma crops the 1440x866 source against the bottom edge of the 696px hero. */
.cat-hero__bg {
	object-position: center bottom;
}
/* Final mobile archive geometry: force full-bleed media and stretch the lone
   grid flex item across the 369px content width (393px frame minus gutters). */
@media (max-width: 767px) {
	.cat-hero__bg {
		height: 100% !important;
	}
	.cat-grid {
		width: 100%;
	}
}

/* ── Above the 1440 design frame ──────────────────────────────────────────── */
/*
   89:5693 draws this band 1408 wide, inset 16px inside the 1440 frame. The
   `margin-inline:16px` above reproduces that at the design width but lets the
   grey grow with the viewport beyond it — at 1920 the band was 1888 wide while
   every neighbouring block capped at 1440, so the grey ran on either side of
   the content. Cap it to the drawn width and centre. No-op at 1440 and below.
*/
.cat-app-usecases {
	max-width: calc(var(--page-w) - 2 * var(--sp-5)); /* 1440 - 16 - 16 = 1408 */
	margin-inline: auto;
	box-sizing: border-box;
}

/* ── The filter panel scrolls on its own ──────────────────────────────────────
   Measured on /shop/ at 1440x900: the panel is 1228px tall against a 900px
   viewport, and position: sticky pins its TOP edge, so once stuck it never
   moves again until the layout's bottom edge pushes it. The lower ~520px of
   the filters - TAGS among them - could not be reached at any scroll position
   until the whole product grid had gone past. Which is exactly what was
   reported: scroll the entire grid before the rest of the filters appear.

   Capping the panel at the viewport, less the 189px sticky offset and the
   24px that balances it at the bottom, hands it its own scrollbar and leaves
   the grid to scroll the page. A panel shorter than the cap is untouched and
   shows no scrollbar.

   Below 768 the aside is display:none here and is moved into the filter
   dialog, which has its own scrolling - hence the media query. */
@media (min-width: 768px) {
	.cat-sidebar {
		max-height: calc(100vh - var(--header-h) - 48px);
		/* dvh where it exists: a tablet's toolbars change the viewport, and vh
		   keeps measuring the largest size. */
		max-height: calc(100dvh - var(--header-h) - 48px);
		overflow-y: auto;
	}

	/* Filter / Clear all stay put while the groups scroll under them. Opaque,
	   or the rows show through: the panel itself is transparent and what you
	   see behind it is .site-body. */
	.cat-sidebar__header {
		position: sticky;
		top: 0;
		z-index: 1;
		background: var(--fig-siegel-white);
	}
}
