.hg-wrap {
	max-width: var(--hg-max);
	margin: 0 auto;
	padding: 0 var(--hg-pad);
	width: 100%;
}

.hg-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--hg-green-700);
}

.hg-kicker::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}

.hg-kicker--light {
	color: var(--hg-green-200);
	margin-bottom: 0;
}

.hg-kicker--light::before {
	width: 48px;
	height: 2px;
	background: var(--hg-green-200);
}

.hg-btn--outline {
	border-color: #717976;
	color: var(--hg-green-900);
	padding: 12px 32px;
	background: transparent;
}

.hg-btn--outline:hover {
	border-color: var(--hg-green-900);
}

.hg-main--catalog {
	background: var(--hg-paper);
}

.hg-page-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--hg-banner-min);
	padding: 80px 0 48px;
	color: var(--hg-white);
	background-color: #0a1a16;
	background-image:
		linear-gradient(90deg, rgba(1, 38, 31, 0.92) 0%, rgba(1, 38, 31, 0.55) 55%, rgba(1, 38, 31, 0.2) 100%),
		var(--hg-banner-image, none);
	background-size: cover;
	background-position: center;
}

.hg-page-banner h1 {
	margin: 12px 0 0;
	max-width: 720px;
	font-family: var(--hg-display);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.6px;
	color: var(--hg-white);
}

.hg-page-banner__lead {
	max-width: 560px;
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.16px;
	color: var(--hg-mist);
	opacity: 0.9;
}

.hg-catalog {
	padding: 48px 0 96px;
}

.hg-catalog__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.hg-catalog__aside {
	position: sticky;
	top: calc(var(--hg-header-h) + 24px);
	padding: 28px 24px;
	border: 1px solid var(--hg-line);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(188, 240, 174, 0.12) 0%, rgba(251, 249, 248, 0) 88px),
		var(--hg-white);
}

.hg-catalog__aside-kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--hg-green-700);
}

.hg-catalog__aside-title {
	margin: 0 0 20px;
	font-family: var(--hg-display);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.2px;
	color: var(--hg-green-900);
}

.hg-cat-nav,
.hg-cat-nav__sub {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hg-cat-nav > li + li {
	margin-top: 4px;
}

.hg-cat-nav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--hg-muted);
}

.hg-cat-nav__link:hover {
	background: var(--hg-mist);
	color: var(--hg-green-900);
}

.hg-cat-nav__link.is-active {
	background: var(--hg-green-900);
	color: var(--hg-white);
}

.hg-cat-nav__link em {
	flex-shrink: 0;
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.4px;
	opacity: 0.6;
}

.hg-cat-nav__sub {
	margin: 4px 0 8px;
	padding-left: 12px;
	border-left: 1px solid var(--hg-line);
}

.hg-cat-nav__sub .hg-cat-nav__link {
	font-size: 13px;
	padding: 8px 12px;
}

.hg-catalog__head {
	margin: 0 0 32px;
}

.hg-catalog__head h2 {
	margin: 0 0 8px;
	font-family: var(--hg-display);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.28px;
	color: var(--hg-ink);
}

.hg-catalog__head p {
	margin: 0;
	max-width: 560px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--hg-muted);
}

.hg-catalog__empty {
	margin: 0;
	padding: 32px;
	border: 1px dashed var(--hg-line);
	border-radius: 12px;
	color: var(--hg-muted);
}

.hg-crumbs {
	margin: 0 0 24px;
	font-size: 13px;
}

.hg-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--hg-muted);
}

.hg-crumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	opacity: 0.5;
}

.hg-crumbs a:hover {
	color: var(--hg-green-900);
}

.hg-crumbs [aria-current="page"] {
	color: var(--hg-green-900);
	font-weight: 600;
}

.hg-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.hg-cat-grid--catalog {
	grid-template-columns: repeat(3, 1fr);
}

.hg-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 220px;
	padding: 24px;
	overflow: hidden;
	border-radius: 12px;
	color: var(--hg-white);
	background-color: #2a3530;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hg-cat-card h3 {
	margin: 0 0 12px;
	font-family: var(--hg-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.4px;
	line-height: 1.3;
	color: var(--hg-white);
	text-shadow: 0 1px 10px rgba(1, 38, 31, 0.45);
}

.hg-cat-card span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.96px;
}

.hg-cat-card span::after {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.hg-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.hg-product-grid--catalog {
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.hg-product-card {
	display: flex;
	flex-direction: column;
	background: var(--hg-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(26, 60, 52, 0.04);
	border: 1px solid rgba(193, 200, 196, 0.5);
}

.hg-product-card__media {
	display: block;
	height: 224px;
	padding: 16px;
	background:
		radial-gradient(circle at 30% 20%, rgba(188, 240, 174, 0.25), transparent 50%),
		var(--hg-mist);
}

.hg-product-card__media img {
	width: 100%;
	height: 192px;
	object-fit: cover;
	display: block;
	border-radius: 4px;
}

.hg-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.hg-product-card h3 {
	margin: 0 0 8px;
	font-family: var(--hg-display);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--hg-green-900);
}

.hg-product-card p {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--hg-muted);
	flex: 1;
}

.hg-product-card__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hg-product-card__actions .hg-btn {
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
}

.hg-catalog .navigation.pagination {
	margin-top: 48px;
}

.hg-catalog .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.hg-catalog .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--hg-line);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hg-muted);
}

.hg-catalog .nav-links a.page-numbers:hover {
	border-color: var(--hg-green-900);
	color: var(--hg-green-900);
}

.hg-catalog .nav-links .page-numbers.current {
	background: var(--hg-green-900);
	border-color: var(--hg-green-900);
	color: var(--hg-white);
}

@media (max-width: 1100px) {
	.hg-catalog__layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 32px;
	}

	.hg-cat-grid--catalog,
	.hg-product-grid--catalog {
		grid-template-columns: repeat(2, 1fr);
	}

	.hg-page-banner h1 {
		font-size: 36px;
	}
}

@media (max-width: 800px) {
	.hg-page-banner {
		min-height: var(--hg-banner-min);
		padding: 56px 0 36px;
	}

	.hg-page-banner h1 {
		font-size: 32px;
	}

	.hg-catalog {
		padding: 32px 0 72px;
	}

	.hg-catalog__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hg-catalog__aside {
		position: static;
		padding: 20px;
	}

	.hg-cat-nav {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
	}

	.hg-cat-nav > li {
		flex: 0 0 auto;
		margin: 0;
	}

	.hg-cat-nav > li + li {
		margin-top: 0;
	}

	.hg-cat-nav__link {
		white-space: nowrap;
	}

	.hg-cat-nav__sub {
		display: none;
	}

	.hg-cat-grid--catalog,
	.hg-product-grid--catalog {
		grid-template-columns: 1fr;
	}
}
