.hcp-catalogue-page { margin-block-start: 0; font-family: var(--wp--preset--font-family--system, system-ui, sans-serif); }
.hcp-catalogue-wrap { box-sizing: border-box; width: min(100% - 48px, 1240px); margin-inline: auto; }
.hcp-catalogue-hero { background: #F4F5F7; padding-block: clamp(44px, 7vw, 90px); border-bottom: 1px solid #E5E5E5; }
.hcp-catalogue-hero h1 { color: #202020; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.08; margin: 0 0 20px; overflow-wrap: anywhere; }
.hcp-catalogue-hero h1::before { content: ""; display: block; width: 42px; height: 4px; background: #C90000; margin-bottom: 18px; }
.hcp-catalogue-hero p { color: #555555; max-width: 58ch; margin-block: 0; }
.hcp-catalogue-hero-grid { display: grid; align-items: center; gap: clamp(24px, 5vw, 72px); }
.hcp-catalogue-hero-grid.has-category-image { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.hcp-catalogue-path { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #555555; margin-bottom: 22px; }
.hcp-catalogue a { text-underline-offset: .18em; }
.hcp-catalogue a:focus-visible { outline: 2px solid #C90000; outline-offset: 3px; }
.hcp-catalogue section:not(.hcp-catalogue-hero), .hcp-catalogue-subnav { padding-block: clamp(28px, 5vw, 64px); }
.hcp-catalogue section + section { padding-block-start: 0; }
.hcp-catalogue h2 { color: #202020; font-size: clamp(1.55rem, 3vw, 2.6rem); margin: 0 0 24px; }
.hcp-catalogue-category-grid, .hcp-catalogue-series-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hcp-catalogue-series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hcp-catalogue-card { min-width: 0; background: #fff; border: 1px solid #E5E5E5; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.hcp-catalogue-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; gap: 12px; padding: clamp(18px, 2.5vw, 30px); }
.hcp-catalogue-card h3, .hcp-catalogue-card p { margin: 0; overflow-wrap: anywhere; }
.hcp-catalogue-card h3 { color: #202020; font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
.hcp-catalogue-card h3 a { color: inherit; }
.hcp-catalogue-card p, .hcp-catalogue-empty p { color: #555555; }
.hcp-catalogue-media { margin: 0; background: #F4F5F7; }
.hcp-catalogue-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.hcp-catalogue-category-grid .hcp-catalogue-media img, .hcp-catalogue-hero .hcp-catalogue-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.hcp-catalogue-hero .hcp-catalogue-media { border-radius: 10px; overflow: hidden; }
.hcp-catalogue-media figcaption { padding: 7px 12px; background: #F4F5F7; color: #555555; font-size: .78rem; }
.hcp-catalogue-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; color: #555555; }
.hcp-catalogue-category-grid .hcp-catalogue-placeholder { aspect-ratio: 16 / 9; }
.hcp-catalogue-tags, .hcp-catalogue-children { display: flex; flex-wrap: wrap; gap: 8px; }
.hcp-catalogue-children { list-style: none; margin: 0; padding: 0; }
.hcp-catalogue-children a, .hcp-catalogue-tags a { display: inline-flex; align-items: center; min-height: 44px; color: #202020; background: #F4F5F7; padding: 4px 12px; border-radius: 5px; font-size: .9rem; overflow-wrap: anywhere; }
.hcp-catalogue .hcp-catalogue-button { color: #fff; background: #C90000; text-decoration: none; font-weight: 650; padding: 10px 16px; box-sizing: border-box; border-radius: 5px; min-height: 44px; display: inline-flex; align-items: center; margin-top: auto; }
.hcp-catalogue-children { gap: 10px 12px; }
.hcp-catalogue-children a {
	box-sizing: border-box;
	min-height: 46px;
	padding: 8px 13px;
	border: 1px solid #E5E5E5;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
}
.hcp-catalogue-children a:focus-visible {
	background: #C90000;
	border-color: #C90000;
	color: #fff;
}
.hcp-catalogue-empty {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px 30px;
	border: 1px solid #E5E5E5;
	border-inline-start: 4px solid #C90000;
	background: #F4F5F7;
	border-radius: 10px;
	padding: clamp(22px, 4vw, 44px);
}
.hcp-catalogue-empty-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 8px 14px;
	box-sizing: border-box;
	border: 1px solid #C90000;
	border-radius: 6px;
	color: #C90000;
	font-weight: 650;
	text-decoration: none;
}
.hcp-catalogue-empty-link:focus-visible { background: #C90000; color: #fff; }
.hcp-catalogue-empty h3, .hcp-catalogue-empty p { margin: 0; }
.hcp-catalogue-empty p { margin-top: 8px; }
.hcp-catalogue-pagination { padding-bottom: 48px; }
.hcp-catalogue-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.hcp-catalogue-pagination a, .hcp-catalogue-pagination span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 8px; border: 1px solid #E5E5E5; border-radius: 5px; }
.hcp-catalogue-pagination .current { background: #C90000; color: #fff; }

.hcp-catalogue-intro {
	padding-block: clamp(30px, 4vw, 56px);
}

.hcp-catalogue-intro h1 {
	font-size: clamp(2.2rem, 4.5vw, 4rem);
	margin-bottom: 12px;
}

.hcp-catalogue-intro h1::before { margin-bottom: 12px; }
.hcp-catalogue-intro p { max-width: 72ch; }

.hcp-catalogue section.hcp-catalogue-index-categories,
.hcp-catalogue section.hcp-catalogue-index-featured {
	padding-block: clamp(26px, 3vw, 44px);
	scroll-margin-block-start: 112px;
}

.hcp-catalogue section.hcp-catalogue-index-featured {
	padding-block-start: clamp(20px, 2.5vw, 34px);
	border-block-start: 1px solid #E5E5E5;
}

.hcp-catalogue-index-categories h2,
.hcp-catalogue-index-featured h2 {
	margin-bottom: 16px;
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	line-height: 1.2;
}

.hcp-catalogue-index-categories .hcp-catalogue-category-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.hcp-catalogue-index-categories .hcp-catalogue-card:focus-within {
	border-color: #d4d4d4;
	box-shadow: 0 8px 24px #20202015;
}

.hcp-catalogue-index-categories .hcp-catalogue-media img {
	object-fit: contain;
}

.hcp-catalogue-index-categories .hcp-catalogue-media,
.hcp-catalogue-index-featured .hcp-catalogue-media { position: relative; }

.hcp-catalogue-index-categories figcaption,
.hcp-catalogue-index-featured figcaption {
	position: absolute;
	inset: auto auto 8px 8px;
	max-width: calc(100% - 16px);
	box-sizing: border-box;
	padding: 3px 7px;
	border: 1px solid #E5E5E5;
	border-radius: 4px;
	background: #fff;
	font-size: .7rem;
}

.hcp-catalogue-index-categories .hcp-catalogue-card-body {
	padding: clamp(15px, 2vw, 20px);
	gap: 9px;
}

.hcp-catalogue-index-categories .hcp-catalogue-card h3,
.hcp-home-featured-models .hcp-catalogue-card h3 {
	font-size: var(--hcp-card-title-size, clamp(1.12rem, 2vw, 1.3rem));
	line-height: 1.2;
}

.hcp-catalogue-category-copy { margin-block-end: 4px; }
.hcp-catalogue-category-copy p { font-size: .94rem; line-height: 1.55; }
.hcp-catalogue-category-copy p + p { margin-block-start: .6em; }

@media (min-width: 641px) {
	.hcp-catalogue-index-categories .hcp-catalogue-card h3 { min-block-size: 2.4em; }

	@supports (grid-template-rows: subgrid) {
		.hcp-catalogue-index-categories .hcp-catalogue-card {
			display: grid;
			grid-template-rows: subgrid;
			grid-row: span 4;
			row-gap: 0;
		}

		.hcp-catalogue-index-categories .hcp-catalogue-card-body {
			display: grid;
			grid-template-rows: subgrid;
			grid-row: span 3;
			justify-items: start;
			align-items: start;
		}

		.hcp-catalogue-index-categories .hcp-catalogue-card h3 { min-block-size: 0; }
		.hcp-catalogue-index-categories .hcp-catalogue-category-copy { grid-row: 2; }
		.hcp-catalogue-index-categories :is(.hcp-catalogue-button, .hcp-home-category-link) { grid-row: 3; }
	}
}

.hcp-catalogue :is(.hcp-home-category-link, .hcp-home-model-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 16px;
	margin: auto auto 0;
	color: #555555;
	font-weight: 650;
	text-decoration: none;
}
.hcp-catalogue .hcp-home-category-title { color: #222222; text-decoration: none; }
.home .hcp-catalogue-index-categories :is(.hcp-catalogue-card h3, .hcp-catalogue-category-copy),
.home .hcp-featured-model-copy {
	width: 100%;
	text-align: center;
}
.home .hcp-catalogue :is(.hcp-home-category-link, .hcp-home-category-title, .hcp-home-model-link):is(:hover, :focus-visible) {
	color: #C90000;
	text-decoration: none;
}

.hcp-catalogue-index-subnav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-block-start: 16px;
	padding: 12px 16px;
	border: 1px solid #E5E5E5;
	border-radius: 8px;
	background: #F4F5F7;
}

.hcp-catalogue-index-subnav h3 { margin: 0; font-size: 1rem; }
.hcp-catalogue-index-subnav .hcp-catalogue-children { gap: 8px; }
.hcp-catalogue-index-subnav a { background-color: #fff; min-height: 44px; }

.hcp-catalogue-index-featured .hcp-catalogue-empty {
	padding: clamp(16px, 2vw, 24px);
	gap: 12px 24px;
}

.hcp-catalogue-index-featured .hcp-catalogue-empty p { margin: 0; }
.hcp-catalogue-index-featured .hcp-catalogue-card-body { padding: clamp(16px, 2vw, 22px); gap: 10px; }
.hcp-catalogue-index-featured:not(.hcp-home-featured-models) .hcp-catalogue-card h3 { line-height: 1.25; }
.hcp-catalogue-index-featured .hcp-catalogue-media img { aspect-ratio: 16 / 9; }
.hcp-home-featured-models .hcp-catalogue-placeholder { aspect-ratio: 16 / 9; }
.hcp-featured-model-copy {
	--hcp-card-title-size: clamp(1.12rem, 2vw, 1.3rem);
	/* Preserve the existing two-line title and supporting text allowance. */
	min-block-size: calc(2.4 * var(--hcp-card-title-size) + 35.6px);
	width: 100%;
}
.hcp-home-featured-models .hcp-featured-model-copy h3 { color: #222; font-weight: 600; }
.hcp-home-featured-models .hcp-featured-model-copy p {
	margin-block-start: 6px;
	color: #666;
	font-size: .9rem;
	font-weight: 400;
	line-height: 1.45;
}

.hcp-catalogue-index-featured .hcp-catalogue-series-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: clamp(14px, 2vw, 20px);
}
.hcp-featured-all { display: flex; justify-content: flex-start; margin-block-start: 20px; }

.hcp-catalogue-index-categories .hcp-catalogue-button:focus-visible,
.hcp-catalogue-index-featured .hcp-catalogue-button:focus-visible { background: #a50000; }

html:has(.hcp-products-quote) { scroll-padding-block-end: 76px; }

.hcp-catalogue-page .hcp-products-quote {
	position: fixed;
	z-index: 9;
	inset-inline-end: max(16px, env(safe-area-inset-right));
	inset-block-end: calc(14px + env(safe-area-inset-bottom));
	margin: 0;
}

.hcp-products-quote .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 8px 15px;
	border-radius: 6px;
	background: #C90000;
	color: #fff;
	font-size: .875rem;
	font-weight: 650;
	box-shadow: 0 3px 14px #20202029;
}

.hcp-products-quote .wp-block-button__link:focus-visible { background: #a50000; }
.hcp-products-quote .wp-block-button__link:focus-visible { outline: 2px solid #C90000; outline-offset: 3px; }
.wp-site-blocks:has(.hcp-header .is-menu-open) .hcp-products-quote { visibility: hidden; }
.wp-site-blocks:has(.hcp-products-quote) .hcp-footer { padding-block-end: calc(76px + env(safe-area-inset-bottom)); }

@media (max-width: 1050px) {
	.hcp-catalogue-index-categories .hcp-catalogue-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.hcp-catalogue-index-categories .hcp-catalogue-category-grid { grid-template-columns: minmax(0, 1fr); }
	.hcp-catalogue-index-subnav { align-items: start; }
	.hcp-catalogue-index-subnav .hcp-catalogue-children {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}
	.hcp-catalogue-index-subnav a { width: 100%; height: 100%; font-size: .81rem; padding-inline: 9px; }
	.hcp-catalogue-page .hcp-products-quote { inset-inline-end: max(12px, env(safe-area-inset-right)); }
	.hcp-products-quote .wp-block-button__link { padding-inline: 12px; font-size: .8125rem; }
}

@media (max-width: 900px) {
	.hcp-catalogue-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.hcp-catalogue-wrap { width: calc(100% - 32px); }
	.hcp-catalogue-hero-grid.has-category-image, .hcp-catalogue-category-grid, .hcp-catalogue-series-grid { grid-template-columns: minmax(0, 1fr); }
}

.tax-hcp_product_cat .hcp-catalogue-wrap,
.tax-hcp_product_cat .wp-site-blocks > .hcp-breadcrumbs { width: min(100% - 2 * clamp(16px, 3vw, 32px), 1240px); }
.tax-hcp_product_cat .wp-site-blocks > .hcp-breadcrumbs { padding-block: 10px; }
.tax-hcp_product_cat .hcp-catalogue-page .hcp-catalogue-hero { padding-block: clamp(22px, 3.5vw, 44px); }
.tax-hcp_product_cat .hcp-catalogue-hero h1 { font-size: clamp(1.9rem, 3.5vw, 3.5rem); font-weight: 700; line-height: 1.12; margin: 0; }
.tax-hcp_product_cat .hcp-catalogue-hero h1::before { margin-block-end: 12px; }
.tax-hcp_product_cat .hcp-catalogue-description { margin-block-start: 12px; }
.tax-hcp_product_cat .hcp-catalogue-description p + p { margin-block-start: 8px; }
.tax-hcp_product_cat .hcp-catalogue section:not(.hcp-catalogue-hero),
.tax-hcp_product_cat .hcp-catalogue-subnav { padding-block: clamp(20px, 3vw, 36px); }
.tax-hcp_product_cat .hcp-catalogue-subnav + section { padding-block-start: 0; }
.tax-hcp_product_cat .hcp-catalogue h2 { margin-block-end: 14px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.tax-hcp_product_cat .hcp-catalogue-series-grid { grid-template-columns: repeat(auto-fill, min(100%, 21.5rem)); gap: 18px; justify-content: start; }
.tax-hcp_product_cat .hcp-catalogue-card-body { padding: 16px; gap: 10px; }
.tax-hcp_product_cat .hcp-catalogue-card h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.tax-hcp_product_cat .hcp-catalogue-series-grid .hcp-catalogue-media { overflow: hidden; }
.hcp-catalogue-archive-empty { margin: 0; padding: 12px 14px; color: #555555; background: #F4F5F7; border-inline-start: 3px solid #C90000; border-radius: 4px; }
.hcp-category-branch-grid { display: grid; grid-template-columns: repeat(auto-fill, min(100%, 21.5rem)); grid-auto-rows: 1fr; gap: 18px; justify-content: start; }
.hcp-category-branch-grid .hcp-catalogue-media { aspect-ratio: 16 / 9; overflow: hidden; }
.hcp-category-branch-grid .hcp-catalogue-media img { height: 100%; aspect-ratio: auto; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.hcp-category-branch-grid .hcp-catalogue-media img { transition: transform 220ms ease; }
}
@media (max-width: 700px) {
	.hcp-category-branch-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: hover) and (pointer: fine) {
	.tax-hcp_product_cat .hcp-catalogue-card:hover { box-shadow: 0 4px 14px #20202017; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.tax-hcp_product_cat .hcp-catalogue-series-grid .hcp-catalogue-media img { transition: transform 220ms ease; }
	.tax-hcp_product_cat .hcp-catalogue-card:hover .hcp-catalogue-media img { transform: scale(1.025); }
}
@media (min-width: 961px) {
	:is(.tax-hcp_product_cat, .home, .wp-site-blocks:has(.hcp-catalogue-intro)) .hcp-header .wp-block-navigation .hcp-products-menu.hcp-has-mega:not([data-hcp-products-open]) > .wp-block-navigation__submenu-container { display: none; }
}
@media (max-width: 700px) {
	.tax-hcp_product_cat .hcp-catalogue-series-grid { grid-template-columns: minmax(0, 1fr); }
}


