/* Horizon Metal products overview */

.hm-products-main {
	background: var(--hm-white);
}

.hm-products-hero {
	align-items: center;
	background: var(--hm-navy-dark);
	color: var(--hm-white);
	display: flex;
	min-height: 430px;
	overflow: hidden;
	position: relative;
}

.hm-products-hero__image,
.hm-products-hero__overlay {
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.hm-products-hero__image {
	object-fit: cover;
	object-position: center 48%;
}

.hm-products-hero__overlay {
	background: linear-gradient(90deg, rgba(25, 27, 104, 0.97) 0%, rgba(38, 40, 135, 0.88) 52%, rgba(38, 40, 135, 0.42) 100%);
}

.hm-products-hero__inner {
	padding-block: 58px 64px;
	position: relative;
	z-index: 1;
}

.hm-breadcrumbs {
	align-items: center;
	display: flex;
	font-size: 12px;
	gap: 9px;
	margin-bottom: 42px;
}

.hm-breadcrumbs a,
.hm-breadcrumbs span {
	color: rgba(255, 255, 255, 0.72);
}

.hm-breadcrumbs a:hover,
.hm-breadcrumbs a:focus-visible {
	color: var(--hm-white);
}

.hm-products-hero h1 {
	color: var(--hm-white);
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1.05;
	margin-bottom: 22px;
	max-width: 850px;
}

.hm-products-hero__inner > p:not(.hm-eyebrow) {
	color: rgba(255, 255, 255, 0.82);
	font-size: 17px;
	line-height: 1.7;
	margin-bottom: 0;
	max-width: 760px;
}

.hm-products-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hm-products-quick-links {
	background: #f5f6fa;
	border-bottom: 1px solid var(--hm-line);
	box-shadow: 0 10px 26px rgba(30, 32, 110, 0.06);
	padding-block: 20px;
	position: relative;
	z-index: 2;
}

.hm-products-quick-links__inner {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-products-quick-links a {
	align-items: center;
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	border-radius: 4px;
	box-shadow: 0 4px 14px rgba(30, 32, 110, 0.05);
	color: var(--hm-navy);
	display: flex;
	font-size: 13px;
	font-weight: 750;
	gap: 14px;
	justify-content: space-between;
	min-height: 74px;
	padding: 18px 22px;
	transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.hm-products-quick-links a > span:last-child {
	color: var(--hm-red);
	font-size: 16px;
	transition: transform 160ms ease;
}

.hm-products-quick-links a:hover,
.hm-products-quick-links a:focus-visible {
	border-color: var(--hm-navy);
	box-shadow: 0 8px 20px rgba(30, 32, 110, 0.13), inset 0 -3px 0 var(--hm-red);
	color: var(--hm-navy);
	transform: translateY(-2px);
}

.hm-products-quick-links a:hover > span:last-child,
.hm-products-quick-links a:focus-visible > span:last-child {
	transform: translateX(4px);
}

.hm-category-rail {
	background: var(--hm-white);
	border-bottom: 1px solid var(--hm-line);
}

.hm-category-rail__inner {
	align-items: center;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-block: 14px;
	scrollbar-width: none;
}

.hm-category-rail__inner::-webkit-scrollbar {
	display: none;
}

.hm-category-rail span,
.hm-category-rail a {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 650;
}

.hm-category-rail span {
	color: var(--hm-red);
	margin-right: 10px;
	text-transform: uppercase;
}

.hm-category-rail a {
	border-left: 1px solid var(--hm-line);
	color: var(--hm-ink);
	padding: 3px 15px;
}

.hm-category-rail a:hover,
.hm-category-rail a:focus-visible {
	color: var(--hm-red);
}

.hm-products-section {
	padding-block: 96px;
}

.hm-products-section__head {
	align-items: end;
	display: grid;
	gap: 60px;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
	margin-bottom: 44px;
}

.hm-products-section__head h2,
.hm-capabilities h2,
.hm-products-cta h2 {
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1.12;
	margin-bottom: 0;
}

.hm-products-section__head > p {
	color: var(--hm-steel);
	font-size: 14px;
	line-height: 1.75;
	margin-bottom: 3px;
}

.hm-product-browser {
	background: var(--hm-surface);
}

.hm-product-browser__layout {
	align-items: start;
	display: grid;
	gap: 42px;
	grid-template-columns: 280px minmax(0, 1fr);
}

.hm-product-sidebar {
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	position: sticky;
	top: 24px;
}

.hm-product-sidebar__title {
	background: var(--hm-navy);
	color: var(--hm-white);
	font-size: 13px;
	font-weight: 750;
	margin-bottom: 0;
	padding: 19px 20px;
	text-transform: uppercase;
}

.hm-product-sidebar__section + .hm-product-sidebar__section {
	border-top: 10px solid var(--hm-surface);
}

.hm-product-sidebar__section-title {
	background: #f5f5fb;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-navy);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0;
	padding: 12px 18px 10px;
	text-transform: uppercase;
}

.hm-product-sidebar__nav {
	display: grid;
}

.hm-product-sidebar__nav a {
	align-items: center;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-ink);
	display: grid;
	font-size: 13px;
	font-weight: 550;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) auto;
	line-height: 1.4;
	min-height: 54px;
	padding: 12px 18px;
	transition: background-color 160ms ease, color 160ms ease;
}

.hm-product-sidebar__nav a > span:last-child {
	color: var(--hm-red);
	font-size: 13px;
}

.hm-product-sidebar__nav a:hover,
.hm-product-sidebar__nav a:focus-visible,
.hm-product-sidebar__nav a.is-current {
	background: #eeeef8;
	color: var(--hm-navy);
}

.hm-product-sidebar__nav a.is-current {
	box-shadow: inset 3px 0 0 var(--hm-red);
	font-weight: 750;
}

.hm-product-sidebar__section--browse {
	background: var(--hm-white);
}

.hm-product-sidebar__accordion {
	border-bottom: 1px solid var(--hm-line);
}

.hm-product-sidebar__accordion summary,
.hm-product-sidebar__action {
	align-items: center;
	color: var(--hm-ink);
	display: grid;
	font-size: 13px;
	font-weight: 650;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) auto;
	line-height: 1.4;
	min-height: 54px;
	padding: 12px 18px;
	transition: background-color 160ms ease, color 160ms ease;
}

.hm-product-sidebar__accordion summary {
	cursor: pointer;
	list-style: none;
}

.hm-product-sidebar__accordion summary::-webkit-details-marker {
	display: none;
}

.hm-product-sidebar__summary-icon {
	border-bottom: 1.5px solid var(--hm-red);
	border-right: 1.5px solid var(--hm-red);
	height: 7px;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 160ms ease;
	width: 7px;
}

.hm-product-sidebar__accordion[open] .hm-product-sidebar__summary-icon {
	transform: rotate(225deg) translate(-1px, -1px);
}

.hm-product-sidebar__accordion summary:hover,
.hm-product-sidebar__accordion summary:focus-visible,
.hm-product-sidebar__action:hover,
.hm-product-sidebar__action:focus-visible,
.hm-product-sidebar__action.is-current {
	background: #eeeef8;
	color: var(--hm-navy);
}

.hm-product-sidebar__action {
	border-bottom: 1px solid var(--hm-line);
}

.hm-product-sidebar__action.is-current {
	box-shadow: inset 3px 0 0 var(--hm-red);
	font-weight: 750;
}

.hm-product-sidebar__accordion summary + .hm-product-sidebar__subnav {
	background: #fafaff;
	border-top: 1px solid var(--hm-line);
	padding: 4px 0;
}

.hm-product-sidebar__subnav a {
	align-items: center;
	color: var(--hm-steel);
	display: grid;
	font-size: 12px;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto;
	line-height: 1.35;
	min-height: 42px;
	padding: 9px 18px 9px 30px;
	transition: background-color 160ms ease, color 160ms ease;
}

.hm-product-sidebar__subnav a span {
	color: var(--hm-red);
}

.hm-product-sidebar__subnav a:hover,
.hm-product-sidebar__subnav a:focus-visible {
	background: #eeeef8;
	color: var(--hm-navy);
}

.hm-product-sidebar__help {
	background: var(--hm-navy-dark);
	color: var(--hm-white);
	padding: 22px 20px 24px;
}

.hm-product-sidebar__help p {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 9px;
}

.hm-product-sidebar__help a {
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
}

.hm-product-sidebar__help a:hover,
.hm-product-sidebar__help a:focus-visible {
	color: var(--hm-white);
}

.hm-product-browser__content {
	min-width: 0;
}

.hm-material-browser,
.hm-featured-products,
.hm-product-catalog {
	scroll-margin-top: 24px;
}

.hm-featured-products,
.hm-product-catalog {
	border-top: 1px solid var(--hm-line);
	margin-top: 56px;
	padding-top: 56px;
}

.hm-subsection-head {
	align-items: end;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
	margin-bottom: 28px;
}

.hm-subsection-head h3 {
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 0;
}

.hm-subsection-head > p {
	color: var(--hm-steel);
	font-size: 12px;
	line-height: 1.7;
	margin-bottom: 2px;
}

.hm-featured-products .hm-subsection-head {
	grid-template-columns: 1fr;
}

.hm-material-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-material-links a {
	align-items: center;
	background: var(--hm-white);
	border-left: 1px solid var(--hm-line);
	border-top: 1px solid var(--hm-line);
	color: var(--hm-ink);
	display: flex;
	font-size: 13px;
	font-weight: 650;
	justify-content: space-between;
	min-height: 64px;
	padding: 14px 17px;
}

.hm-material-links a:nth-child(3n),
.hm-material-links a:last-child {
	border-right: 1px solid var(--hm-line);
}

.hm-material-links a:nth-last-child(-n + 3) {
	border-bottom: 1px solid var(--hm-line);
}

.hm-material-links a span {
	color: var(--hm-red);
}

.hm-material-links a:hover,
.hm-material-links a:focus-visible {
	background: var(--hm-navy);
	color: var(--hm-white);
}

.hm-product-browser__content .hm-products-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-product-browser__content .hm-products-grid--featured {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-product-tile--featured .hm-product-tile__body {
	min-height: 156px;
}

.hm-featured-slot__media {
	align-items: center;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #e5e6f1 0%, #f7f7fb 100%);
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-navy);
	display: flex;
	justify-content: center;
	padding: 20px;
	text-align: center;
	text-transform: uppercase;
}

.hm-featured-slot__media span {
	border: 1px dashed rgba(41, 43, 144, 0.42);
	color: var(--hm-navy);
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.6;
	padding: 18px 22px;
}

.hm-products-trust {
	background: var(--hm-navy);
	color: var(--hm-white);
	padding-block: 92px;
	position: relative;
}

.hm-products-trust::after {
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 48px 48px;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.hm-products-trust__head,
.hm-products-trust__grid {
	position: relative;
	z-index: 1;
}

.hm-products-trust__head {
	align-items: end;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
	margin-bottom: 48px;
}

.hm-products-trust__head .hm-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: -22px;
}

.hm-products-trust h2 {
	color: var(--hm-white);
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.1;
	margin: 0;
	max-width: 680px;
}

.hm-products-trust__head > p:last-child {
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.75;
	margin: 0;
}

.hm-products-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-products-trust__grid article {
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	min-height: 190px;
	padding: 24px 24px 10px;
}

.hm-products-trust__grid article:last-child {
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hm-products-trust__grid article > span {
	color: var(--hm-red);
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 44px;
}

.hm-products-trust__grid h3 {
	color: var(--hm-white);
	font-size: 18px;
	line-height: 1.25;
	margin-bottom: 12px;
}

.hm-products-trust__grid p {
	color: rgba(255, 255, 255, 0.68);
	font-size: 12px;
	line-height: 1.7;
	margin: 0;
}

.hm-product-entry-main {
	background: var(--hm-surface);
}

.hm-product-entry-content {
	background: var(--hm-surface);
}

.hm-product-entry-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-product-entry-grid > [id] {
	scroll-margin-top: 24px;
}

.hm-product-entry-materials {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-product-entry-materials [id],
.hm-product-entry-block {
	scroll-margin-top: 24px;
}

.hm-material-cards.hm-product-entry-materials {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.hm-material-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 370px;
	overflow: hidden;
	isolation: isolate;
	background: var(--hm-navy-dark);
	color: var(--hm-white);
}

.hm-material-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.hm-material-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 21, 53, 0.02) 10%, rgba(16, 21, 53, 0.32) 38%, rgba(16, 21, 53, 0.9) 68%, rgba(16, 21, 53, 0.97) 100%);
	pointer-events: none;
}

.hm-material-card__body {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 26px;
}

.hm-material-card .hm-material-card__title {
	color: var(--hm-white);
	font-size: 24px;
	line-height: 1.25;
	margin: 0 0 12px;
	overflow-wrap: anywhere;
}

.hm-material-card .hm-material-card__description {
	color: var(--hm-white);
	font-size: 13px;
	line-height: 1.7;
	margin: 0 0 20px;
	overflow-wrap: anywhere;
}

.hm-material-card__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--hm-white);
	font-size: 12px;
	font-weight: 650;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding-bottom: 6px;
}

.hm-material-card:hover,
.hm-material-card:focus-visible { color: var(--hm-white); }

.hm-material-card:hover .hm-material-card__image,
.hm-material-card:focus-visible .hm-material-card__image { transform: scale(1.04); }

.hm-material-card:focus-visible { outline: 3px solid var(--hm-red); outline-offset: 4px; }

@media (max-width: 1024px) {
	.hm-material-cards.hm-product-entry-materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.hm-material-cards.hm-product-entry-materials { grid-template-columns: 1fr; gap: 20px; }
	.hm-material-card { min-height: 360px; }
	.hm-material-card__body { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.hm-material-card__image { transition: none; }
}

.hm-product-entry-block + .hm-product-entry-block {
	margin-top: 64px;
}

.hm-product-entry-placeholder {
	background: var(--hm-white);
	border-left: 4px solid var(--hm-red);
	max-width: 720px;
	padding: 44px;
}

.hm-product-entry-placeholder > span {
	color: var(--hm-red);
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 18px;
}

.hm-product-entry-placeholder h2,
.hm-product-entry-placeholder h3 {
	font-size: 34px;
	line-height: 1.15;
	margin-bottom: 14px;
}

.hm-product-entry-placeholder p {
	color: var(--hm-steel);
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 26px;
}

.hm-product-category-content {
	background: var(--hm-surface);
}

.hm-product-category-layout {
	align-items: start;
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
}

.hm-product-category-sidebar {
	background: var(--hm-white);
	border-top: 3px solid var(--hm-navy);
	position: sticky;
	top: 24px;
}

.hm-product-category-sidebar__head {
	border-bottom: 1px solid var(--hm-line);
	padding: 24px 22px 20px;
}

.hm-product-category-sidebar__head .hm-eyebrow {
	margin-bottom: 10px;
}

.hm-product-category-sidebar__head h2 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0;
}

.hm-product-category-nav a {
	align-items: center;
	border-bottom: 1px solid var(--hm-line);
	color: var(--hm-ink);
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 14px;
	justify-content: space-between;
	line-height: 1.35;
	min-height: 58px;
	padding: 14px 18px 14px 22px;
}

.hm-product-category-nav a span:last-child {
	color: var(--hm-red);
	flex: 0 0 auto;
	transition: transform 160ms ease;
}

.hm-product-category-nav a:hover,
.hm-product-category-nav a:focus-visible,
.hm-product-category-nav a.is-current {
	background: #eeeef8;
	color: var(--hm-navy);
}

.hm-product-category-nav a:hover span:last-child,
.hm-product-category-nav a:focus-visible span:last-child,
.hm-product-category-nav a.is-current span:last-child {
	transform: translateX(4px);
}

.hm-product-category-sidebar__back {
	color: var(--hm-navy);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	margin: 18px 22px 22px;
}

.hm-product-category-sidebar__back:hover,
.hm-product-category-sidebar__back:focus-visible {
	color: var(--hm-red);
}

.hm-product-dimension-filter {
	border-bottom: 1px solid var(--hm-line);
}

.hm-product-dimension-filter summary {
	align-items: center;
	color: var(--hm-navy);
	cursor: pointer;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: space-between;
	list-style: none;
	padding: 16px 22px;
	text-transform: uppercase;
}

.hm-product-dimension-filter summary::-webkit-details-marker {
	display: none;
}

.hm-product-dimension-filter summary span {
	border-bottom: 2px solid var(--hm-red);
	border-right: 2px solid var(--hm-red);
	height: 8px;
	transform: rotate(45deg);
	transition: transform 160ms ease;
	width: 8px;
}

.hm-product-dimension-filter[open] summary span {
	transform: rotate(225deg);
}

.hm-product-dimension-filter .hm-product-category-nav {
	border-top: 1px solid var(--hm-line);
}

.hm-product-category-results {
	min-width: 0;
}

.hm-product-category-results__head {
	align-items: end;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.hm-product-category-results__head .hm-eyebrow {
	margin-bottom: 12px;
}

.hm-product-category-results__head h2 {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.1;
	margin: 0;
}

.hm-product-category-results__head > p {
	color: var(--hm-steel);
	font-size: 13px;
	margin: 0 0 4px;
	max-width: 210px;
	text-align: right;
}

.hm-product-category-products {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-product-dimension-guide {
	border-left: 1px solid var(--hm-line);
	border-top: 1px solid var(--hm-line);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 30px;
}

.hm-product-dimension-guide article {
	background: var(--hm-white);
	border-bottom: 1px solid var(--hm-line);
	border-right: 1px solid var(--hm-line);
	min-height: 150px;
	padding: 22px;
}

.hm-product-dimension-guide span {
	color: var(--hm-red);
	display: block;
	font-size: 10px;
	font-weight: 800;
	margin-bottom: 34px;
}

.hm-product-dimension-guide p {
	color: var(--hm-ink);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.55;
	margin: 0;
}

.hm-dimension-entry-label {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	padding-right: 14px;
}

.hm-dimension-entry-label img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	flex-shrink: 0;
}

.hm-dimension-entry-label strong {
	font-size: 15px;
}

.hm-dimension-entry-label p {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.7;
	margin: 6px 0 0;
}

.hm-product-dimension-intro {
	border: 1px solid var(--hm-line);
	padding: 24px;
	margin-bottom: 24px;
	line-height: 1.8;
}

.hm-product-dimension-intro > :first-child { margin-top: 0; }
.hm-product-dimension-intro > :last-child { margin-bottom: 0; }

.hm-product-dimension-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.hm-product-dimension-pagination .page-numbers {
	border: 1px solid var(--hm-line);
	padding: 10px 16px;
	color: var(--hm-navy);
}

.hm-product-dimension-pagination .current,
.hm-product-dimension-pagination a:hover {
	background: var(--hm-navy);
	color: var(--hm-white);
}

.hm-product-category-empty {
	background: var(--hm-white);
	border-left: 4px solid var(--hm-red);
	padding: 42px;
}

.hm-product-category-empty h3 {
	font-size: 28px;
	line-height: 1.2;
	margin-bottom: 14px;
}

.hm-product-category-empty p:not(.hm-eyebrow) {
	color: var(--hm-steel);
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 24px;
	max-width: 620px;
}

.hm-product-category-results__footer {
	align-items: center;
	background: var(--hm-navy-dark);
	color: var(--hm-white);
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-top: 44px;
	padding: 28px 30px;
}

.hm-product-category-results__footer .hm-eyebrow {
	margin-bottom: 10px;
}

.hm-product-category-results__footer h3 {
	color: var(--hm-white);
	font-size: 20px;
	line-height: 1.25;
	margin: 0;
}

.hm-product-category-results__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 10px;
}

.hm-product-category-results__actions .hm-button--outline {
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--hm-white);
}

.hm-product-category-results__actions .hm-button--outline:hover,
.hm-product-category-results__actions .hm-button--outline:focus-visible {
	background: var(--hm-red);
	border-color: var(--hm-red);
	color: var(--hm-white);
	transform: translateY(-1px);
}

.hm-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-category-card {
	border-left: 1px solid var(--hm-line);
	border-top: 1px solid var(--hm-line);
	min-width: 0;
	scroll-margin-top: 24px;
}

.hm-category-card:nth-child(3n),
.hm-category-card:last-child {
	border-right: 1px solid var(--hm-line);
}

.hm-category-card:nth-last-child(-n + 3) {
	border-bottom: 1px solid var(--hm-line);
}

.hm-category-card__media {
	background: #e8e8ef;
	display: block;
	overflow: hidden;
	position: relative;
}

.hm-category-card__media::after {
	background: linear-gradient(180deg, transparent 55%, rgba(25, 27, 91, 0.62));
	content: "";
	inset: 0;
	position: absolute;
}

.hm-category-card__media img {
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	transition: transform 300ms ease;
	width: 100%;
}

.hm-category-card:hover .hm-category-card__media img {
	transform: scale(1.035);
}

.hm-category-card__media > span {
	bottom: 16px;
	color: var(--hm-white);
	font-size: 12px;
	font-weight: 800;
	left: 18px;
	position: absolute;
	z-index: 1;
}

.hm-category-card__body {
	padding: 28px 28px 32px;
}

.hm-category-card__title-row {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	justify-content: space-between;
}

.hm-category-card h3 {
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 13px;
}

.hm-category-card small {
	color: var(--hm-red);
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 700;
	padding-top: 5px;
	text-transform: uppercase;
}

.hm-category-card p {
	color: var(--hm-steel);
	font-size: 13px;
	line-height: 1.75;
	margin-bottom: 22px;
}

.hm-arrow-link {
	align-items: center;
	color: var(--hm-navy);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
}

.hm-arrow-link span {
	color: var(--hm-red);
	transition: transform 160ms ease;
}

.hm-arrow-link:hover,
.hm-arrow-link:focus-visible {
	color: var(--hm-red-dark);
}

.hm-arrow-link:hover span,
.hm-arrow-link:focus-visible span {
	transform: translateX(4px);
}

.hm-all-products {
	background: var(--hm-surface);
	border-top: 1px solid var(--hm-line);
}

.hm-products-section__head--compact {
	margin-bottom: 38px;
}

.hm-products-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-featured-products > .hm-shell > .hm-products-grid--featured {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-product-tile {
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hm-product-tile__media {
	background: #e7e7ee;
	display: block;
	overflow: hidden;
}

.hm-product-tile__media img {
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	transition: transform 260ms ease;
	width: 100%;
}

.hm-product-tile:hover .hm-product-tile__media img {
	transform: scale(1.035);
}

.hm-product-tile__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 22px 24px;
}

.hm-product-tile__category {
	color: var(--hm-red);
	font-size: 10px;
	font-weight: 750;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.hm-product-tile h3 {
	font-size: 18px;
	line-height: 1.35;
	margin-bottom: 12px;
}

.hm-product-tile h3 a {
	color: var(--hm-ink);
}

.hm-product-tile h3 a:hover,
.hm-product-tile h3 a:focus-visible {
	color: var(--hm-red-dark);
}

.hm-product-tile__body > p:not(.hm-product-tile__category) {
	color: var(--hm-steel);
	font-size: 12px;
	line-height: 1.7;
	margin-bottom: 22px;
}

.hm-product-tile .hm-arrow-link {
	margin-top: auto;
}

.hm-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 42px;
}

.hm-pagination .page-numbers {
	align-items: center;
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	color: var(--hm-ink);
	display: inline-flex;
	font-size: 13px;
	justify-content: center;
	min-height: 42px;
	min-width: 42px;
	padding: 8px 13px;
}

.hm-pagination .page-numbers.current,
.hm-pagination a.page-numbers:hover,
.hm-pagination a.page-numbers:focus-visible {
	background: var(--hm-navy);
	border-color: var(--hm-navy);
	color: var(--hm-white);
}

.hm-products-empty {
	background: var(--hm-white);
	border-left: 4px solid var(--hm-red);
	padding: 38px;
}

.hm-products-empty h3 {
	font-size: 24px;
	margin-bottom: 10px;
}

.hm-products-empty p {
	color: var(--hm-steel);
	margin-bottom: 24px;
}

.hm-capabilities {
	background: var(--hm-navy);
	color: var(--hm-white);
	padding-block: 92px;
	position: relative;
}

.hm-capabilities::after {
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 48px 48px;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.hm-capabilities__grid {
	display: grid;
	gap: 80px;
	grid-template-columns: 0.9fr 1.1fr;
	position: relative;
	z-index: 1;
}

.hm-capabilities h2 {
	color: var(--hm-white);
	margin-bottom: 22px;
}

.hm-capabilities__intro > p:last-child {
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.75;
	margin-bottom: 0;
}

.hm-capabilities__lists {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-capabilities__lists > div {
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	padding-left: 34px;
}

.hm-capabilities__lists h3 {
	color: var(--hm-white);
	font-size: 14px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.hm-capabilities__lists ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hm-capabilities__lists li {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	padding: 12px 0;
}

.hm-products-cta {
	background: var(--hm-white);
	padding-block: 82px;
}

.hm-products-cta__inner {
	align-items: center;
	border-left: 4px solid var(--hm-red);
	display: grid;
	gap: 60px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding-left: 38px;
}

.hm-products-cta h2 {
	font-size: clamp(30px, 3vw, 42px);
	margin-bottom: 14px;
}

.hm-products-cta__inner > div > p:last-child {
	color: var(--hm-steel);
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 0;
	max-width: 760px;
}

@media (max-width: 1020px) {
	.hm-products-quick-links__inner,
	.hm-products-trust__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-products-trust__head {
		grid-template-columns: 1fr;
	}

	.hm-products-trust__head .hm-eyebrow {
		margin-bottom: 0;
	}

	.hm-featured-products > .hm-shell > .hm-products-grid--featured,
	.hm-product-entry-grid,
	.hm-product-entry-materials {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-product-browser__layout {
		gap: 28px;
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.hm-product-browser__content .hm-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-subsection-head,
	.hm-material-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-material-links a:nth-child(3n) {
		border-right: 0;
	}

	.hm-material-links a:nth-child(2n) {
		border-right: 1px solid var(--hm-line);
	}

	.hm-material-links a:nth-last-child(-n + 3) {
		border-bottom: 0;
	}

	.hm-material-links a:nth-last-child(-n + 2) {
		border-bottom: 1px solid var(--hm-line);
	}

	.hm-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-category-card:nth-child(3n) {
		border-right: 0;
	}

	.hm-category-card:nth-child(2n) {
		border-right: 1px solid var(--hm-line);
	}

	.hm-category-card:nth-last-child(-n + 3) {
		border-bottom: 0;
	}

	.hm-category-card:nth-last-child(-n + 2) {
		border-bottom: 1px solid var(--hm-line);
	}

	.hm-products-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.hm-products-quick-links__inner {
		grid-template-columns: 1fr;
	}

	.hm-products-quick-links a,
	.hm-products-quick-links a:last-child {
		border: 1px solid var(--hm-line);
		min-height: 60px;
	}

	.hm-products-trust {
		padding-block: 72px;
	}

	.hm-products-trust__grid {
		grid-template-columns: 1fr;
	}

	.hm-products-trust__grid article,
	.hm-products-trust__grid article:last-child {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		border-right: 1px solid rgba(255, 255, 255, 0.2);
		min-height: 0;
	}

	.hm-products-trust__grid article > span {
		margin-bottom: 24px;
	}

	.hm-featured-products > .hm-shell > .hm-products-grid--featured,
	.hm-product-entry-grid,
	.hm-product-entry-materials {
		grid-template-columns: 1fr;
	}

	.hm-product-entry-placeholder {
		padding: 30px 24px;
	}

	.hm-product-browser__layout {
		grid-template-columns: 1fr;
	}

	.hm-product-sidebar,
	.hm-product-category-sidebar {
		position: static;
	}

	.hm-product-category-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.hm-product-browser__content {
		margin-top: 28px;
	}

	.hm-products-hero {
		min-height: 500px;
	}

	.hm-products-hero__overlay {
		background: linear-gradient(180deg, rgba(37, 39, 132, 0.68) 0%, rgba(25, 27, 104, 0.97) 75%);
	}

	.hm-products-hero__inner {
		padding-block: 48px 58px;
	}

	.hm-breadcrumbs {
		margin-bottom: 62px;
	}

	.hm-products-hero h1 {
		font-size: 42px;
	}

	.hm-products-section {
		padding-block: 74px;
	}

	.hm-products-section__head,
	.hm-subsection-head,
	.hm-capabilities__grid,
	.hm-products-cta__inner {
		gap: 24px;
		grid-template-columns: 1fr;
	}

	.hm-products-section__head {
		margin-bottom: 34px;
	}

	.hm-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-capabilities {
		padding-block: 74px;
	}

	.hm-capabilities__grid {
		gap: 48px;
	}

	.hm-products-cta__inner > .hm-button {
		justify-self: start;
	}

	/* Material / application detail page — tablet adjustments */
	.hm-product-category-results__head {
		flex-wrap: wrap;
		gap: 16px;
	}

	.hm-product-category-results__head > p {
		font-size: 12px;
		max-width: 100%;
		text-align: left;
	}

	.hm-product-dimension-guide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-product-dimension-guide article:nth-child(2n) {
		border-right: 0;
	}

	.hm-product-dimension-guide article:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.hm-product-category-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.hm-product-category-results__footer {
		padding: 24px;
		gap: 20px;
	}
}

@media (max-width: 540px) {
	.hm-product-sidebar__nav a,
	.hm-product-sidebar__accordion summary,
	.hm-product-sidebar__action {
		font-size: 13px;
		min-height: 50px;
	}

	.hm-product-sidebar__subnav a {
		min-height: 44px;
	}

	.hm-product-browser__content .hm-products-grid--featured {
		grid-template-columns: 1fr;
	}

	.hm-material-links {
		grid-template-columns: 1fr;
	}

	.hm-material-links a,
	.hm-material-links a:nth-child(2n),
	.hm-material-links a:nth-child(3n),
	.hm-material-links a:nth-last-child(-n + 3) {
		border-bottom: 0;
		border-right: 1px solid var(--hm-line);
	}

	.hm-material-links a:last-child {
		border-bottom: 1px solid var(--hm-line);
	}

	.hm-products-hero {
		min-height: 420px;
	}

	.hm-products-hero__inner {
		padding-block: 38px 46px;
	}

	.hm-products-hero h1 {
		font-size: 32px;
		line-height: 1.1;
		margin-bottom: 16px;
	}

	.hm-products-hero__inner > p:not(.hm-eyebrow) {
		font-size: 14px;
		line-height: 1.65;
	}

	.hm-breadcrumbs {
		margin-bottom: 32px;
	}

	.hm-products-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hm-products-section {
		padding-block: 56px;
	}

	.hm-subsection-head {
		margin-bottom: 22px;
	}

	.hm-subsection-head h2,
	.hm-products-section__head h2,
	.hm-product-category-results__head h2,
	.hm-product-entry-placeholder h2,
	.hm-product-entry-placeholder h3 {
		font-size: 26px;
		line-height: 1.15;
	}

	.hm-product-entry-placeholder {
		padding: 24px 20px 26px;
	}

	.hm-product-entry-placeholder h2,
	.hm-product-entry-placeholder h3 {
		font-size: 22px;
	}

	.hm-product-entry-placeholder p {
		font-size: 13px;
		margin-bottom: 20px;
	}

	.hm-product-entry-block + .hm-product-entry-block {
		margin-top: 40px;
	}

	.hm-material-cards.hm-product-entry-materials {
		gap: 16px;
	}

	.hm-material-card {
		min-height: 260px;
	}

	.hm-material-card__body {
		padding: 20px;
	}

	.hm-material-card .hm-material-card__title {
		font-size: 20px;
	}

	.hm-category-rail span {
		display: none;
	}

	.hm-category-rail a:first-of-type {
		border-left: 0;
		padding-left: 0;
	}

	.hm-category-grid,
	.hm-products-grid,
	.hm-capabilities__lists {
		grid-template-columns: 1fr;
	}

	.hm-category-card,
	.hm-category-card:nth-child(2n),
	.hm-category-card:nth-child(3n),
	.hm-category-card:nth-last-child(-n + 3) {
		border-bottom: 0;
		border-right: 1px solid var(--hm-line);
	}

	.hm-category-card:last-child {
		border-bottom: 1px solid var(--hm-line);
	}

	.hm-category-card__body {
		padding: 24px 22px 28px;
	}

	.hm-products-section__head h2,
	.hm-capabilities h2 {
		font-size: 28px;
	}

	.hm-capabilities__lists > div {
		padding-left: 24px;
	}

	.hm-capabilities__lists > div + div {
		margin-top: 30px;
	}

	.hm-products-cta {
		padding-block: 60px;
	}

	.hm-products-cta__inner {
		padding-left: 22px;
	}

	/* Material / application detail page — tighter mobile layout */
	.hm-product-dimension-hero .hm-products-hero__inner {
		padding-block: 36px 44px;
	}

	.hm-product-category-sidebar {
		border-top-width: 2px;
	}

	.hm-product-category-sidebar__head {
		padding: 18px 20px 16px;
	}

	.hm-product-category-sidebar__head h2 {
		font-size: 18px;
	}

	.hm-product-category-nav a {
		font-size: 12px;
		min-height: 50px;
		padding: 12px 18px;
	}

	.hm-product-dimension-filter summary {
		padding: 14px 18px;
	}

	.hm-product-category-sidebar__back {
		margin: 14px 20px 18px;
	}

	.hm-product-category-results__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 22px;
	}

	.hm-product-category-results__head > p {
		max-width: none;
		text-align: left;
		font-size: 12px;
		margin: 0;
	}

	.hm-product-category-results__head .hm-eyebrow {
		margin-bottom: 8px;
	}

	.hm-product-dimension-guide {
		grid-template-columns: 1fr;
	}

	.hm-product-dimension-guide article {
		padding: 18px 20px;
		min-height: 0;
	}

	.hm-product-dimension-guide span {
		margin-bottom: 18px;
	}

	.hm-product-dimension-intro {
		padding: 18px 20px;
		font-size: 13px;
	}

	.hm-product-dimension-pagination .page-numbers {
		padding: 8px 12px;
		font-size: 12px;
	}

	.hm-dimension-flow {
		font-size: 14px;
		line-height: 1.65;
	}

	.hm-product-category-empty {
		padding: 26px 20px;
	}

	.hm-product-category-empty h3 {
		font-size: 22px;
	}

	.hm-product-category-empty p:not(.hm-eyebrow) {
		font-size: 13px;
		margin-bottom: 18px;
	}

	.hm-product-category-results__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 22px 20px;
	}

	.hm-product-category-results__footer h3 {
		font-size: 17px;
	}

	.hm-product-category-results__actions {
		width: 100%;
	}

	.hm-product-category-results__actions .hm-button {
		flex: 1 1 auto;
		justify-content: center;
		text-align: center;
	}

	.hm-product-category-products {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* Single product detail */
.hm-product-detail-main {
	background: var(--hm-white);
}

.hm-product-detail-hero {
	background: var(--hm-surface);
	border-bottom: 1px solid var(--hm-line);
	padding-block: 28px 92px;
}

.hm-product-breadcrumbs {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 9px;
	margin-bottom: 32px;
}

.hm-product-breadcrumbs a,
.hm-product-breadcrumbs span {
	color: var(--hm-steel);
}

.hm-product-breadcrumbs a:hover,
.hm-product-breadcrumbs a:focus-visible {
	color: var(--hm-red-dark);
}

.hm-product-detail-hero__grid {
	align-items: start;
	display: grid;
	gap: 72px;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.hm-product-gallery {
	min-width: 0;
}

.hm-product-gallery__stage {
	aspect-ratio: 1 / 1;
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	display: flex;
	overflow: hidden;
	padding: 32px;
}

.hm-product-gallery__stage img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.hm-product-gallery__thumbs {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 12px;
}

.hm-product-gallery__thumbs button {
	aspect-ratio: 1 / 1;
	background: var(--hm-white);
	border: 1px solid var(--hm-line);
	border-radius: 0;
	cursor: pointer;
	overflow: hidden;
	padding: 6px;
}

.hm-product-gallery__thumbs button:hover,
.hm-product-gallery__thumbs button:focus-visible,
.hm-product-gallery__thumbs button.is-current {
	border-color: var(--hm-navy);
	box-shadow: inset 0 -3px 0 var(--hm-red);
}

.hm-product-gallery__thumbs img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.hm-product-summary {
	padding-top: 18px;
}

.hm-product-summary h1 {
	color: var(--hm-navy);
	font-size: 52px;
	line-height: 1.08;
	margin: 14px 0 22px;
}

.hm-product-summary__intro {
	color: var(--hm-steel);
	font-size: 16px;
	line-height: 1.75;
}

.hm-product-summary__intro p:last-child {
	margin-bottom: 0;
}

.hm-product-summary__certs {
	margin: 24px 0 4px;
	padding: 18px 0;
	border-top: 1px solid var(--hm-line);
	border-bottom: 1px solid var(--hm-line);
}

.hm-product-summary__certs .hm-eyebrow {
	margin: 0 0 12px;
}

.hm-product-summary__certs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hm-product-summary__cert {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hm-product-summary__cert-logo {
	height: 38px;
	width: auto;
	display: block;
}

.hm-product-summary__cert-name {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	font-weight: 700;
	color: var(--hm-ink, #1c1d3c);
	line-height: 1.2;
}

.hm-product-summary__cert-name small {
	font-size: 10px;
	font-weight: 500;
	color: var(--hm-steel, #686a7d);
	letter-spacing: 0.04em;
	margin-top: 2px;
}

.hm-product-summary__contact {
	margin: 16px 0 4px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hm-product-summary__contact-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--hm-ink, #1c1d3c);
	text-decoration: none;
	font-size: 15px;
	line-height: 1.4;
	transition: color .15s ease;
}

.hm-product-summary__contact-item:hover,
.hm-product-summary__contact-item:focus-visible {
	color: var(--hm-red, #eb0000);
}

.hm-product-summary__contact-item strong {
	font-weight: 700;
	margin-right: 4px;
}

.hm-product-summary__contact-icon {
	flex-shrink: 0;
	color: var(--hm-red, #eb0000);
}

@media (max-width: 640px) {
	.hm-product-summary__certs-list {
		gap: 12px 20px;
	}

	.hm-product-summary__cert-logo {
		height: 32px;
	}
}

.hm-product-summary__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hm-product-detail-main .hm-button.hm-button--outline {
	background: transparent;
	border-color: var(--hm-navy);
	color: var(--hm-navy) !important;
}

.hm-product-detail-main .hm-button.hm-button--outline:hover,
.hm-product-detail-main .hm-button.hm-button--outline:focus-visible {
	background: var(--hm-navy);
	color: var(--hm-white) !important;
}

.hm-product-summary__note {
	color: var(--hm-steel);
	font-size: 12px;
	line-height: 1.65;
	margin: 34px 0 0;
}

.hm-product-detail-nav {
	background: var(--hm-white);
	border-bottom: 1px solid var(--hm-line);
	box-shadow: 0 8px 22px rgba(30, 32, 110, 0.06);
}

.hm-product-detail-nav__inner {
	display: flex;
	overflow-x: auto;
}

.hm-product-detail-nav a {
	border-left: 1px solid var(--hm-line);
	color: var(--hm-navy);
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 750;
	min-height: 60px;
	padding: 21px 20px;
	white-space: nowrap;
}

.hm-product-detail-nav a:last-child {
	border-right: 1px solid var(--hm-line);
}

.hm-product-detail-nav a:hover,
.hm-product-detail-nav a:focus-visible {
	background: #eeeef8;
	box-shadow: inset 0 -3px 0 var(--hm-red);
}

.hm-product-detail-section {
	padding-block: 48px;
}

.hm-product-detail-head {
	align-items: end;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	margin-bottom: 42px;
}

.hm-product-detail-head h2,
.hm-product-overview h2,
.hm-product-options h2 {
	color: var(--hm-navy);
	font-size: 46px;
	line-height: 1.12;
	margin: 12px 0 0;
}

.hm-product-detail-head > p,
.hm-product-options__grid > div > p:not(.hm-eyebrow) {
	color: var(--hm-steel);
	font-size: 14px;
	line-height: 1.75;
	margin-bottom: 0;
}

/* Overview on the product detail page: prose on top, optional media below. */
.hm-product-overview__grid {
	display: grid;
	gap: 48px;
	grid-template-columns: 1fr;
}

.hm-product-overview__copy {
	max-width: 860px;
}

.hm-product-overview__gallery {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-product-overview__media {
	background: var(--hm-line);
	border-radius: 4px;
	margin: 0;
	overflow: hidden;
}

.hm-product-overview__media img {
	display: block;
	height: 320px;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 760px) {
	.hm-product-overview__gallery {
		grid-template-columns: 1fr;
	}

	.hm-product-overview__media img {
		height: 240px;
	}
}

.hm-product-rich-text {
	color: var(--hm-steel);
	font-size: 15px;
	line-height: 1.8;
	margin-top: 26px;
}

.hm-product-rich-text h2,
.hm-product-rich-text h3 {
	color: var(--hm-navy);
	line-height: 1.2;
	margin: 34px 0 14px;
}

.hm-product-rich-text img {
	height: auto;
	max-width: 100%;
}

.hm-product-spec-brief {
	background: var(--hm-navy);
	color: var(--hm-white);
	padding: 38px;
}

.hm-product-spec-brief > span {
	color: #ff8585;
	display: block;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.12em;
}

.hm-product-spec-brief h3 {
	color: var(--hm-white);
	font-size: 28px;
	margin: 16px 0 24px;
}

.hm-product-spec-brief ul {
	display: grid;
	gap: 13px;
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.hm-product-spec-brief li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.55;
	padding: 0 0 12px 20px;
	position: relative;
}

.hm-product-spec-brief li::before {
	background: var(--hm-red);
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 7px;
	width: 7px;
}

.hm-product-spec-brief .hm-arrow-link {
	color: var(--hm-white);
}

.hm-product-specifications,
.hm-product-related {
	background: var(--hm-surface);
}

.hm-product-spec-table {
	background: var(--hm-white);
	border-left: 1px solid var(--hm-line);
	border-top: 1px solid var(--hm-line);
}

.hm-product-spec-table > div {
	display: grid;
	grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
}

.hm-product-spec-table strong,
.hm-product-spec-table span {
	border-bottom: 1px solid var(--hm-line);
	border-right: 1px solid var(--hm-line);
	font-size: 14px;
	line-height: 1.6;
	padding: 18px 22px;
}

.hm-product-spec-table strong {
	background: #eeeef8;
	color: var(--hm-navy);
}

.hm-product-spec-table span {
	color: var(--hm-ink);
}

/* Applications on the product detail page: prose on top, image below. */
.hm-product-applications .hm-product-detail-head {
	grid-template-columns: 1fr;
}

.hm-product-use-grid {
	display: grid;
	gap: 44px 32px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-product-use-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hm-product-use-card--text-only {
	background: #f5f5f8;
	border-radius: 4px;
	gap: 12px;
	justify-content: center;
	padding: 28px 24px;
}

.hm-product-use-card__body h3 {
	color: var(--hm-navy);
	font-size: 22px;
	line-height: 1.28;
	margin: 0 0 10px;
}

.hm-product-use-card__body p {
	color: var(--hm-steel);
	font-size: 13px;
	line-height: 1.7;
	margin: 0;
}

.hm-product-use-card__media {
	background: var(--hm-line);
	border-radius: 4px;
	margin: 0;
	overflow: hidden;
}

.hm-product-use-card__media img {
	display: block;
	height: 250px;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 760px) {
	.hm-product-use-grid {
		gap: 32px;
		grid-template-columns: 1fr;
	}

	.hm-product-use-card__media img {
		height: 220px;
	}
}

.hm-product-options {
	background: var(--hm-navy-dark);
	color: var(--hm-white);
}

.hm-product-options__grid {
	align-items: center;
	display: grid;
	gap: 72px;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.hm-product-options h2 {
	color: var(--hm-white);
}

.hm-product-options__grid > div > p:not(.hm-eyebrow) {
	color: rgba(255, 255, 255, 0.76);
	margin: 22px 0 28px;
}

.hm-product-options__list {
	border-left: 1px solid rgba(255, 255, 255, 0.22);
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-product-options__list span {
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	border-right: 1px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.5;
	min-height: 84px;
	padding: 24px;
}

@media (max-width: 480px) {
	.hm-product-category-nav {
		grid-template-columns: 1fr;
	}

	.hm-product-category-empty {
		padding: 30px 24px;
	}

	.hm-product-category-results__footer {
		padding: 24px;
	}

	.hm-product-category-results__actions {
		width: 100%;
	}

	.hm-product-category-results__actions .hm-button {
		text-align: center;
		width: 100%;
	}

	.hm-product-gallery__stage {
		padding: 18px;
	}

	.hm-product-spec-brief {
		padding: 30px 24px;
	}
}

/* ============================================================
   Dimension detail flow — mixed prose + images
   Replaces the old 01/02/03 considerations block.
   Used on material and application L3 detail pages.
   ============================================================ */
.hm-dimension-flow {
	margin: 0 0 32px 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--hm-ink, #1c1d3c);
}
.hm-dimension-flow::after {
	content: "";
	display: block;
	clear: both;
}
.hm-dimension-section {
	box-sizing: border-box;
}
.hm-dimension-section--prose {
	margin: 0 0 18px 0;
}
.hm-dimension-section--prose p {
	margin: 0 0 14px 0;
	color: var(--hm-ink, #1c1d3c);
}
.hm-dimension-section--prose p:last-child {
	margin-bottom: 0;
}
.hm-dimension-section--media {
	margin: 0 0 20px 0;
	max-width: 100%;
}
.hm-dimension-section--media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	background: #e6e6ef;
}
.hm-dimension-section--media figcaption {
	margin-top: 8px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--hm-ink, #1c1d3c);
	opacity: 0.72;
}
.hm-dimension-section--media-left {
	float: left;
	max-width: 48%;
	margin: 4px 24px 16px 0;
}
.hm-dimension-section--media-right {
	float: right;
	max-width: 48%;
	margin: 4px 0 16px 24px;
}
.hm-dimension-section--media-center {
	display: block;
	max-width: 86%;
	margin: 20px auto;
	clear: both;
}
.hm-dimension-section--media-full {
	display: block;
	margin: 24px 0;
	clear: both;
}

/* Drop the float on narrow screens so images sit full-width */
@media (max-width: 720px) {
	.hm-dimension-section--media-left,
	.hm-dimension-section--media-right {
		float: none;
		max-width: 100%;
		margin: 16px 0;
	}
}


/* ============================================================
   Rich-text HTML tables — for chemical composition, spec sheets,
   comparison tables inserted via the Product description editor
   on single-product.php. Pairs with .hm-product-rich-text
   (the wrapper around apply_filters('the_content', $full_content)).
   Theme palette: navy #292b90, red #eb0000, ink #1c1d3c.
   ============================================================ */
.hm-product-rich-text table,
.hm-product-rich-text figure.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0 32px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--hm-ink, #1c1d3c);
	background: var(--hm-white, #ffffff);
	border-top: 2px solid var(--hm-navy, #292b90);
	border-bottom: 1px solid var(--hm-line, #e2e3ee);
}

.hm-product-rich-text table thead th,
.hm-product-rich-text figure.wp-block-table table thead th {
	background: var(--hm-navy, #292b90);
	color: var(--hm-white, #ffffff);
	font-weight: 750;
	text-align: left;
	padding: 14px 18px;
	border-bottom: 2px solid var(--hm-red, #eb0000);
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	vertical-align: middle;
}

.hm-product-rich-text table thead th:last-child,
.hm-product-rich-text figure.wp-block-table table thead th:last-child {
	border-right: none;
}

.hm-product-rich-text table tbody td,
.hm-product-rich-text figure.wp-block-table table tbody td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--hm-line, #e2e3ee);
	border-right: 1px solid var(--hm-line, #e2e3ee);
	vertical-align: top;
}

.hm-product-rich-text table tbody td:last-child,
.hm-product-rich-text figure.wp-block-table table tbody td:last-child {
	border-right: none;
}

.hm-product-rich-text table tbody tr:last-child td,
.hm-product-rich-text figure.wp-block-table table tbody tr:last-child td {
	border-bottom: none;
}

.hm-product-rich-text table tbody tr:nth-child(even),
.hm-product-rich-text figure.wp-block-table table tbody tr:nth-child(even) {
	background: #f5f6fc;
}

.hm-product-rich-text table tbody tr:hover,
.hm-product-rich-text figure.wp-block-table table tbody tr:hover {
	background: #eeeef8;
}

.hm-product-rich-text table tbody tr td:first-child,
.hm-product-rich-text figure.wp-block-table table tbody tr td:first-child {
	font-weight: 700;
	color: var(--hm-navy, #292b90);
}

.hm-product-rich-text table caption,
.hm-product-rich-text figure.wp-block-table figcaption,
.hm-product-rich-text figure.wp-block-table table caption {
	caption-side: top;
	text-align: left;
	color: var(--hm-steel, #686a7d);
	font-size: 13px;
	padding: 0 0 12px;
	font-style: italic;
	background: transparent;
}

/* Narrow screens: scroll the table horizontally so wide tables stay readable */
@media (max-width: 720px) {
	.hm-product-rich-text table,
	.hm-product-rich-text figure.wp-block-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		min-width: 480px;
	}
	.hm-product-rich-text table thead th,
	.hm-product-rich-text table tbody td,
	.hm-product-rich-text figure.wp-block-table table thead th,
	.hm-product-rich-text figure.wp-block-table table tbody td {
		padding: 10px 12px;
		font-size: 13px;
	}
}
