/**
 * TASK-029 — Wireframe page-catalog sections + PLZ product cards.
 */

/* WoodMart wraps shop in main.container — open shell so catalog hero can go edge-to-edge. */
body.wf-page-catalog main#main-content.container,
body.wf-page-catalog main.wd-content-layout.container,
body.wf-page-catalog .content-layout-wrapper.container {
	max-width: none;
	padding-inline: 0;
	width: 100%;
}

body.wf-page-catalog .wd-content-area,
body.wf-page-catalog .site-content,
body.wf-page-catalog .page-description {
	max-width: none;
	padding-inline: 0;
	width: 100%;
}

body.wf-page-catalog .wd-page-content {
	max-width: none;
	padding-inline: 0;
}

/* Constrain catalog sections; leave WoodMart product grid internals alone. */
body.wf-page-catalog .wf-search-module,
body.wf-page-catalog .wf-catalog-pricing,
body.wf-page-catalog .wf-catalog-factors,
body.wf-page-catalog .wf-card-list-intro,
body.wf-page-catalog .wd-products-element,
body.wf-page-catalog .shop-content-area > .shop-loop-head,
body.wf-page-catalog .wf-catalog-cta-band,
body.wf-page-catalog .woocommerce-notices-wrapper {
	margin-inline: auto;
	max-width: min(1120px, calc(100% - 2rem));
	width: 100%;
}

/* Keep result count / ordering inside the same content width as the grid. */
body.wf-page-catalog .shop-loop-head,
body.wf-page-catalog .wd-shop-tools {
	margin-inline: auto;
	max-width: min(1120px, calc(100% - 2rem));
	width: 100%;
}

/* Catalog index bar — intro + sort as one ledger toolbar. */
.wf-page-catalog .shop-loop-head {
	align-items: stretch;
	background:
		linear-gradient(180deg, var(--color-bg-brand-soft) 0%, #fff 72%);
	border: 1px solid var(--color-border-default, rgba(11, 79, 138, 0.14));
	border-radius: var(--radius-lg, 20px);
	box-shadow: 0 1px 0 rgba(11, 79, 138, 0.04);
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	justify-content: stretch;
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
	overflow: hidden;
	padding: 0;
	position: relative;
}

.wf-page-catalog .shop-loop-head::before {
	background: linear-gradient(
		90deg,
		var(--color-action-primary) 0%,
		var(--color-bg-brand) 100%
	);
	content: "";
	height: 3px;
	inset: 0 0 auto;
	position: absolute;
	width: 100%;
}

/* Result-count tools slot is visually empty (count hidden) — drop it. */
.wf-page-catalog .shop-loop-head > .wd-shop-tools:has(.woocommerce-result-count):not(:has(.wf-card-list-intro)) {
	display: none;
}

.wf-page-catalog .shop-loop-head > .wd-shop-tools {
	align-items: start;
	display: grid;
	flex: 1 1 100%;
	gap: 1rem 1.5rem;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"intro sort"
		"notice notice";
	justify-content: stretch;
	margin: 0;
	max-width: none;
	padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.5rem);
	width: 100%;
}

.wf-page-catalog .shop-loop-head .woocommerce-result-count {
	display: none;
}

.wf-page-catalog .shop-loop-head .wd-show-sidebar-btn {
	display: none !important;
}

.wf-card-list-intro {
	display: flex;
	flex-direction: column;
	grid-area: intro;
	margin: 0;
	min-width: 0;
}

.wf-card-list-intro__eyebrow {
	color: var(--color-bg-brand);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.2;
	margin: 0 0 0.45rem;
	text-transform: uppercase;
}

.wf-card-list-intro__heading {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.75rem;
	margin: 0 0 0.45rem;
}

.wf-card-list-intro__title {
	color: var(--color-bg-brand-strong);
	font-family: var(--font-sans);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin: 0;
}

.wf-card-list-intro__badge {
	align-items: center;
	background: rgba(11, 79, 138, 0.08);
	border: 1px solid rgba(11, 79, 138, 0.14);
	border-radius: 999px;
	color: var(--color-bg-brand);
	display: inline-flex;
	font-family: var(--font-mono);
	gap: 0.35rem;
	line-height: 1;
	padding: 0.35rem 0.7rem;
	white-space: nowrap;
}

.wf-card-list-intro__badge-value {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.wf-card-list-intro__badge-label {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	opacity: 0.78;
	text-transform: uppercase;
}

.wf-card-list-intro__lead {
	color: var(--color-text-secondary);
	font-size: 0.975rem;
	line-height: 1.5;
	margin: 0;
	max-width: 34rem;
}

/* Active filter — full-width row under intro + sort (not beside the dropdown). */
.wf-page-catalog .shop-loop-head .wf-catalog-filter-notice {
	grid-area: notice;
	margin: 0;
	max-width: none;
	width: 100%;
}

/* Sort control — solid DS field, pinned top-right with the title block. */
.wf-page-catalog .shop-loop-head .woocommerce-ordering {
	align-self: start;
	flex: 0 0 auto;
	grid-area: sort;
	/* Sit beside the H2 row (below the eyebrow). */
	margin: 1.55rem 0 0;
}

.wf-page-catalog .shop-loop-head .woocommerce-ordering.wd-style-underline select,
.wf-page-catalog .shop-loop-head .woocommerce-ordering select {
	appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b4f8a' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-position: right 0.85rem center;
	background-repeat: no-repeat;
	background-size: 0.7rem;
	border: 1px solid rgba(11, 79, 138, 0.22);
	border-radius: 10px;
	color: var(--color-bg-brand-strong);
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	line-height: 1.3;
	max-width: none;
	min-height: 2.75rem;
	min-width: 12.5rem;
	padding: 0.65rem 2.35rem 0.65rem 0.95rem;
	transition:
		border-color var(--motion-fast, 120ms cubic-bezier(0.2, 0, 0, 1)),
		box-shadow var(--motion-fast, 120ms cubic-bezier(0.2, 0, 0, 1));
}

.wf-page-catalog .shop-loop-head .woocommerce-ordering select:hover {
	border-color: rgba(11, 79, 138, 0.4);
}

.wf-page-catalog .shop-loop-head .woocommerce-ordering select:focus {
	border-color: var(--color-bg-brand);
	box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.16);
	outline: none;
}

@media (max-width: 900px) {
	.wf-page-catalog .shop-loop-head > .wd-shop-tools {
		grid-template-columns: 1fr;
		grid-template-areas:
			"intro"
			"notice"
			"sort";
	}

	.wf-page-catalog .shop-loop-head .woocommerce-ordering {
		justify-self: stretch;
		margin-top: 0;
		width: 100%;
	}

	.wf-page-catalog .shop-loop-head .woocommerce-ordering select {
		min-width: 0;
		width: 100%;
	}

	/* Keep desktop select chrome on mobile (override WoodMart icon mode). */
	.wf-page-catalog .shop-loop-head .woocommerce-ordering.wd-ordering-mb-icon {
		display: block;
		height: auto;
		justify-content: stretch;
		width: 100%;
	}

	.wf-page-catalog .shop-loop-head .woocommerce-ordering.wd-ordering-mb-icon::after {
		display: none;
	}

	.wf-page-catalog .shop-loop-head .woocommerce-ordering.wd-ordering-mb-icon select {
		color: var(--color-bg-brand-strong) !important;
		font-size: 0.875rem;
		position: static;
	}
}

body.wf-page-catalog .wd-page-content,
body.post-type-archive-product .wd-page-content {
	max-width: none;
	padding-inline: 0;
}

.wf-page-catalog .page-title,
.wf-page-catalog .wd-shop-title,
.wf-page-catalog .wd-page-title {
	display: none;
}

.wf-catalog-pricing code {
	font-family: var(--font-mono);
	font-size: 0.92em;
}

.wf-catalog-filter-notice {
	background: rgba(11, 79, 138, 0.08);
	border-radius: var(--radius-md);
	margin-top: var(--space-4, 1rem);
	padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
}

.wf-catalog-empty {
	margin-top: var(--space-4, 1rem);
}

/* Catalog index bar — slightly quieter surface after global polish. */
.wf-page-catalog .shop-loop-head {
	box-shadow: var(--shadow-0);
}

/* PLZ meta inside native WoodMart cards — DS type hierarchy from reference. */
.wf-page-catalog .wd-product .wd-product-thumb {
	margin-bottom: 0.35rem;
}

.wf-page-catalog .wd-product .wd-entities-title,
.wf-page-catalog .wd-product .wd-entities-title a {
	color: var(--color-bg-brand) !important;
	font-family: var(--font-sans);
	font-size: clamp(1.2rem, 1.6vw, 1.375rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 0.25rem;
}

.wf-page-catalog .wd-product .wd-entities-title a:hover {
	color: var(--color-bg-brand-strong) !important;
}

.wf-page-catalog .wd-product .wf-plz-card-meta__sku {
	color: var(--color-text-secondary);
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.4;
	margin: 0 0 0.15rem;
}

.wf-page-catalog .wd-product .wf-plz-card-meta {
	margin: 0 0 0.5rem;
}

.wf-page-catalog .wd-product .wf-plz-card-meta__plz {
	color: var(--color-text-primary);
	font-family: var(--font-sans);
	font-size: var(--type-body-size);
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 0.25rem;
}

.wf-page-catalog .wd-product .wf-plz-card-meta__breakdown {
	color: var(--color-text-secondary);
	display: flex;
	flex-direction: column;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 400;
	gap: 0.15rem;
	line-height: 1.45;
	margin: 0;
}

.wf-page-catalog .wd-product .wf-plz-card-meta__row {
	display: block;
}

.wf-page-catalog .wd-product .price,
.wf-page-catalog .wd-product .woocommerce-Price-amount {
	font-family: var(--font-sans);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.wf-page-catalog .wf-search-module__form:not(.wf-big-search__form) {
	max-width: 36rem;
}

body.wf-page-catalog .wf-catalog-hero__search.wf-search-module {
	max-width: min(53.125rem, calc(100% - 2rem));
}

.wf-page-catalog .wf-card-list-intro__lead,
.wf-page-catalog .wf-muted {
	font-size: var(--type-body-size);
	line-height: var(--type-body-line);
}

/* Full-bleed catalog hero with brand aurora (no purple — DS navy/blue/ember). */
.wf-page-catalog .wf-catalog-hero.wf-section,
.wf-page-catalog .wf-catalog-hero.alignfull,
.wf-page-catalog .page-description > .wf-catalog-hero {
	border-top: 0;
	left: 50%;
	margin: 0;
	max-width: 100vw;
	padding: 0;
	position: relative;
	right: auto;
	transform: translateX(-50%);
	width: 100vw;
	/* Keep autocomplete above factors / shop-loop-head when it overflows the hero. */
	z-index: 40;
}

.wf-catalog-hero__plane {
	--aurora-color1: rgba(11, 79, 138, 0.42);
	--aurora-color2: rgba(198, 40, 40, 0.28);
	background: #071018;
	color: var(--color-text-on-brand, #fff);
	isolation: isolate;
	min-height: clamp(18rem, 42vh, 26rem);
	/* Visible so autocomplete can extend past the hero edge; aurora stays clipped. */
	overflow: visible;
	position: relative;
	width: 100%;
}

.wf-aurora {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wf-aurora__pulse {
	animation: wf-aurora-pulse 12s ease-in-out infinite;
	background-image:
		radial-gradient(circle at 28% 40%, var(--aurora-color1) 0%, transparent 72%),
		radial-gradient(circle at 78% 60%, var(--aurora-color2) 0%, transparent 75%);
	background-size: 100% 100%;
	inset: 0;
	opacity: 0.7;
	position: absolute;
}

.wf-aurora__blobs {
	inset: 0;
	mix-blend-mode: screen;
	position: absolute;
}

.wf-aurora__blob {
	border-radius: 50%;
	filter: blur(64px);
	opacity: 0.42;
	position: absolute;
	will-change: transform;
}

.wf-aurora__blob--brand {
	animation: wf-aurora-drift-a 32s ease-in-out infinite alternate;
	background: var(--color-bg-brand, #0b4f8a);
	height: 55%;
	left: -18%;
	top: -28%;
	width: 55%;
}

.wf-aurora__blob--ember {
	animation: wf-aurora-drift-b 40s ease-in-out infinite alternate;
	background: var(--color-action-primary, #c62828);
	bottom: -30%;
	height: 50%;
	opacity: 0.32;
	right: -16%;
	width: 50%;
}

.wf-aurora__blob--navy {
	animation: wf-aurora-drift-c 48s ease-in-out infinite alternate;
	background: var(--color-bg-brand-strong, #0a2f4a);
	height: 40%;
	left: 32%;
	opacity: 0.38;
	top: 22%;
	width: 40%;
}

.wf-aurora__stars {
	inset: 0;
	position: absolute;
}

.wf-aurora__stars span {
	animation: wf-aurora-twinkle 3.6s ease-in-out infinite;
	background: #fff;
	border-radius: 50%;
	height: 2px;
	opacity: 0;
	position: absolute;
	width: 2px;
}

.wf-aurora__stars span:nth-child(1) { left: 8%; top: 18%; animation-delay: 0.2s; }
.wf-aurora__stars span:nth-child(2) { left: 16%; top: 62%; animation-delay: 1.1s; }
.wf-aurora__stars span:nth-child(3) { left: 24%; top: 34%; animation-delay: 2.4s; }
.wf-aurora__stars span:nth-child(4) { left: 33%; top: 12%; animation-delay: 0.7s; }
.wf-aurora__stars span:nth-child(5) { left: 41%; top: 71%; animation-delay: 1.8s; }
.wf-aurora__stars span:nth-child(6) { left: 49%; top: 28%; animation-delay: 0.4s; }
.wf-aurora__stars span:nth-child(7) { left: 57%; top: 54%; animation-delay: 2.9s; }
.wf-aurora__stars span:nth-child(8) { left: 64%; top: 16%; animation-delay: 1.4s; }
.wf-aurora__stars span:nth-child(9) { left: 72%; top: 68%; animation-delay: 0.9s; }
.wf-aurora__stars span:nth-child(10) { left: 79%; top: 38%; animation-delay: 2.1s; }
.wf-aurora__stars span:nth-child(11) { left: 86%; top: 22%; animation-delay: 1.6s; }
.wf-aurora__stars span:nth-child(12) { left: 92%; top: 58%; animation-delay: 0.3s; }
.wf-aurora__stars span:nth-child(13) { left: 12%; top: 48%; animation-delay: 2.7s; }
.wf-aurora__stars span:nth-child(14) { left: 28%; top: 78%; animation-delay: 1.2s; }
.wf-aurora__stars span:nth-child(15) { left: 38%; top: 44%; animation-delay: 3.1s; }
.wf-aurora__stars span:nth-child(16) { left: 52%; top: 8%; animation-delay: 0.6s; }
.wf-aurora__stars span:nth-child(17) { left: 61%; top: 82%; animation-delay: 2.2s; }
.wf-aurora__stars span:nth-child(18) { left: 74%; top: 46%; animation-delay: 1.5s; }
.wf-aurora__stars span:nth-child(19) { left: 83%; top: 74%; animation-delay: 0.8s; }
.wf-aurora__stars span:nth-child(20) { left: 95%; top: 32%; animation-delay: 2.5s; }
.wf-aurora__stars span:nth-child(21) { left: 5%; top: 76%; animation-delay: 1.9s; }
.wf-aurora__stars span:nth-child(22) { left: 19%; top: 24%; animation-delay: 3.3s; }
.wf-aurora__stars span:nth-child(23) { left: 45%; top: 58%; animation-delay: 0.1s; }
.wf-aurora__stars span:nth-child(24) { left: 68%; top: 30%; animation-delay: 2.8s; }
.wf-aurora__stars span:nth-child(25) { left: 88%; top: 12%; animation-delay: 1.3s; }
.wf-aurora__stars span:nth-child(26) { left: 14%; top: 88%; animation-delay: 2s; }
.wf-aurora__stars span:nth-child(27) { left: 36%; top: 6%; animation-delay: 0.5s; }
.wf-aurora__stars span:nth-child(28) { left: 55%; top: 40%; animation-delay: 3s; }
.wf-aurora__stars span:nth-child(29) { left: 77%; top: 88%; animation-delay: 1.7s; }
.wf-aurora__stars span:nth-child(30) { left: 90%; top: 50%; animation-delay: 2.6s; }

.wf-catalog-hero__inner {
	margin: 0 auto;
	max-width: min(720px, 100%);
	/* Extra top inset so eyebrow/title clear the sticky WoodMart header. */
	padding: clamp(7.25rem, 14vh, 9.5rem) var(--space-4, 1rem) clamp(2.75rem, 6vh, 3.75rem);
	position: relative;
	text-align: center;
	z-index: 1;
}

.wf-catalog-hero .wf-eyebrow {
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	margin: 0 0 var(--space-4, 1rem);
	text-transform: uppercase;
}

.wf-catalog-hero__title,
.wf-catalog-hero h1.wp-block-heading {
	color: #fff !important;
	font-size: clamp(1.9rem, 4.5vw, 2.9rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: 0 auto var(--space-4, 1rem);
	max-width: none;
}

.wf-catalog-hero__accent {
	color: rgba(255, 210, 210, 0.95);
}

.wf-catalog-hero .wf-lead {
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(1.05rem, 1.5vw, 1.15rem);
	line-height: 1.55;
	margin: 0 auto 1.5rem;
	max-width: 40rem;
}

/* Catalog hero search — same pill chrome as homepage big-search, Ort/PLZ only. */
.wf-catalog-hero__search {
	--bs-white: #ffffff;
	--bs-grey100: #f7f7f7;
	--bs-grey200: #f2f2f2;
	--bs-grey300: #ebebeb;
	--bs-grey400: #dddddd;
	--bs-grey600: #8c8c8c;
	--bs-grey700: #6c6c6c;
	--bs-grey1000: #222222;
	--bs-bar-h: 68px;
	--bs-pill-radius: 100px;
	--bs-seg-radius: 40px;
	--bs-panel-radius: 32px;
	--bs-panel-h: 24rem;
	--bs-pad-x: 24px;
	--bs-font: var(--font-sans, "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif);

	display: block;
	isolation: isolate;
	margin: 0 auto 1.25rem;
	max-width: min(53.125rem, 100%);
	position: relative;
	text-align: left;
	width: 100%;
	z-index: 50;
}

.wf-catalog-hero__search .wf-search-module__form.wf-big-search__form,
.wf-catalog-hero__search-form.wf-big-search__form {
	align-items: stretch !important;
	background: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: block !important;
	gap: 0 !important;
	grid-template-columns: none !important;
	margin: 0 !important;
	max-width: none !important;
	overflow: visible;
	padding: 0 !important;
	position: relative;
	width: 100% !important;
}

.wf-catalog-hero__search .wf-big-search__bar--location-only {
	align-items: stretch;
	background: var(--bs-white);
	border: 1px solid var(--bs-grey400);
	border-radius: var(--bs-pill-radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	height: var(--bs-bar-h);
	overflow: hidden;
	position: relative;
}

.wf-catalog-hero__search .wf-big-search__segment--location {
	grid-column: 1 / 2;
	min-width: 0;
}

.wf-catalog-hero__search .wf-big-search__submit,
.wf-catalog-hero__search button.wf-big-search__submit[type="submit"] {
	align-self: center;
	grid-column: 2 / 3;
	margin: 0 9px 0 0 !important;
}

/* Always show the catalog CTA label (homepage hides text until expanded). */
.wf-catalog-hero__search .wf-big-search__submit-text {
	display: inline !important;
	text-transform: none !important;
}

.wf-catalog-hero__search .wf-big-search__submit,
.wf-catalog-hero__search button.wf-big-search__submit[type="submit"] {
	padding: 0 20px !important;
}

/* Clear chip only when Ort has a value (WoodMart button styles must not unhide it). */
.wf-catalog-hero__search .wf-big-search__clear {
	display: none !important;
}

.wf-catalog-hero__search .wf-big-search__segment.has-value .wf-big-search__clear {
	display: inline-flex !important;
}

.wf-catalog-hero__search .wf-search-autocomplete {
	position: relative;
	z-index: 60;
}

.wf-catalog-hero__search .wf-search-autocomplete__list,
.wf-catalog-hero__search .wf-big-search__panel--location {
	z-index: 70;
}

.wf-catalog-hero__search .wf-search-module__hint,
.wf-catalog-hero__search .wf-search-module__target {
	display: none;
}

.wf-catalog-hero__search .wf-search-module__loading,
.wf-catalog-hero__search .wf-search-module__error,
.wf-catalog-hero__search .wf-search-module__empty {
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--type-body-sm-size, 0.9rem);
	margin: 0.65rem 0 0;
	text-align: center;
}

.wf-catalog-hero__search .wf-search-module__error a {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 559px) {
	.wf-catalog-hero__search {
		--bs-bar-h: auto;
		--bs-pad-x: 16px;
	}

	.wf-catalog-hero__search .wf-big-search__bar--location-only {
		border-radius: 24px;
		grid-template-columns: 1fr;
		height: auto;
		overflow: visible;
		padding: 0.35rem;
	}

	.wf-catalog-hero__search .wf-big-search__segment--location {
		border-radius: 20px;
		min-height: 3.5rem;
	}

	.wf-catalog-hero__search .wf-big-search__submit,
	.wf-catalog-hero__search button.wf-big-search__submit[type="submit"] {
		margin: 0.35rem 0.25rem 0.25rem !important;
		width: calc(100% - 0.5rem) !important;
	}
}

.wf-catalog-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.15rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wf-catalog-hero__chips li {
	align-items: center;
	color: rgba(255, 255, 255, 0.88);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 600;
	gap: 0.35rem;
	line-height: 1.35;
}

.wf-catalog-hero__chips li span[aria-hidden="true"] {
	color: rgba(255, 190, 190, 0.95);
}

/* Price factors — premium ledger strip (mono indices + ember rail). */
.wf-page-catalog .wf-catalog-factors.wf-section {
	background: transparent;
	border-radius: 0;
	border-top: 0;
	margin-top: clamp(0.5rem, 2vw, 1rem);
	padding: clamp(2.25rem, 4.5vw, 3rem) clamp(1rem, 3vw, 1.5rem) clamp(2rem, 4vw, 2.75rem);
	position: relative;
}

.wf-catalog-factors__eyebrow,
.wf-catalog-factors .wf-eyebrow {
	color: var(--color-bg-brand);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	margin: 0 0 0.65rem;
	text-align: center;
	text-transform: uppercase;
}

.wf-catalog-factors .wp-block-heading {
	color: var(--color-bg-brand-strong);
	font-family: var(--font-sans);
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin: 0 auto 0.65rem;
	text-align: center;
}

.wf-catalog-factors__lead {
	color: var(--color-text-secondary) !important;
	font-size: clamp(1rem, 1.3vw, 1.0625rem);
	line-height: 1.55;
	margin: 0 auto 1.85rem !important;
	max-width: 36rem;
	text-align: center;
}

.wf-catalog-factors__grid {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.wf-catalog-factors__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (min-width: 960px) {
	.wf-catalog-factors__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
	}
}

.wf-catalog-factor {
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-default);
	border-radius: 14px;
	box-shadow: 0 1px 0 rgba(11, 79, 138, 0.04);
	display: flex;
	flex-direction: column;
	isolation: isolate;
	min-height: 100%;
	overflow: hidden;
	padding: 1.25rem 1.2rem 1.35rem 1.3rem;
	position: relative;
	transition:
		border-color var(--motion-fast, 120ms cubic-bezier(0.2, 0, 0, 1)),
		box-shadow var(--motion-med, 260ms cubic-bezier(0.2, 0.8, 0.2, 1)),
		transform var(--motion-med, 260ms cubic-bezier(0.2, 0.8, 0.2, 1));
}

.wf-catalog-factor::before {
	background: linear-gradient(
		180deg,
		var(--color-action-primary) 0%,
		var(--color-bg-brand) 100%
	);
	border-radius: 14px 0 0 14px;
	content: "";
	inset: 0 auto 0 0;
	opacity: 0.9;
	position: absolute;
	width: 3px;
}

.wf-catalog-factor:hover {
	border-color: rgba(11, 79, 138, 0.28);
	box-shadow: var(--shadow-1);
	transform: translateY(-2px);
}

.wf-catalog-factor__index {
	color: var(--color-bg-brand);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1;
	margin: 0 0 0.85rem;
	opacity: 0.72;
}

.wf-catalog-factor__title {
	color: var(--color-bg-brand-strong);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.3;
	margin: 0 0 0.5rem;
}

.wf-catalog-factor__text {
	color: var(--color-text-secondary);
	flex: 1;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.wf-catalog-factor {
		transition: none;
	}

	.wf-catalog-factor:hover {
		transform: none;
	}
}

@keyframes wf-aurora-pulse {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(1);
	}
	50% {
		opacity: 0.85;
		transform: scale(1.04);
	}
}

@keyframes wf-aurora-drift-a {
	from {
		transform: translate3d(-4%, -2%, 0) scale(1);
	}
	to {
		transform: translate3d(8%, 5%, 0) scale(1.18);
	}
}

@keyframes wf-aurora-drift-b {
	from {
		transform: translate3d(5%, 3%, 0) scale(1);
	}
	to {
		transform: translate3d(-7%, -4%, 0) scale(1.22);
	}
}

@keyframes wf-aurora-drift-c {
	from {
		transform: translate3d(2%, -4%, 0) rotate(0deg) scale(1);
	}
	to {
		transform: translate3d(-4%, 5%, 0) rotate(18deg) scale(1.12);
	}
}

@keyframes wf-aurora-twinkle {
	0%,
	100% {
		opacity: 0;
	}
	50% {
		opacity: 0.75;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wf-aurora__pulse,
	.wf-aurora__blob,
	.wf-aurora__stars span {
		animation: none !important;
	}

	.wf-aurora__pulse {
		opacity: 0.7;
	}

	.wf-aurora__stars span {
		opacity: 0.35;
	}
}
