.harus-category-page {
	--hmc-green: var(--hm-green, var(--harus-brand-green, #23ac39));
	--hmc-green-deep: var(--hm-green-dark, var(--harus-dark-green, #145c24));
	--hmc-green-soft: var(--hm-green-soft, var(--harus-soft-green, #eaf7ec));
	--hmc-bg: var(--hm-bg, #f7faf8);
	--hmc-surface: var(--hm-surface, #ffffff);
	--hmc-surface-soft: var(--hm-surface-soft, #f4faf5);
	--hmc-media: var(--hm-media-bg, #f5faf5);
	--hmc-ink: var(--hm-text, var(--harus-text, #111827));
	--hmc-muted: var(--hm-text-muted, #536056);
	--hmc-line: var(--hm-border, rgba(17, 24, 39, 0.08));
	--hmc-shadow: var(--hm-shadow, 0 8px 22px rgba(15, 23, 17, 0.08));
	--hmc-radius: 8px;
	color: var(--hmc-ink);
	font-size: 16px;
	line-height: 1.55;
}

.harus-category-page *,
.harus-category-page *:before,
.harus-category-page *:after {
	box-sizing: border-box;
}

.harus-category-page a {
	color: inherit;
	text-decoration: none;
}

.harus-category-page img {
	display: block;
	max-width: 100%;
	height: auto;
}

.harus-category-page svg {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.harus-product-category-active {
	background-color: var(--hm-bg, #f7faf8);
}

body.harus-product-category-active .wd-page-wrapper,
body.harus-product-category-active .main-page-wrapper,
body.harus-product-category-active .wd-content-layout,
body.harus-product-category-active .wd-content-area {
	background-color: var(--hm-bg, #f7faf8) !important;
}

body.harus-product-category-active .wd-page-title {
	display: none;
}

body.harus-product-category-active .elementor-widget-wd_shop_archive_woocommerce_title,
body.harus-product-category-active .elementor-widget-wd_product_categories,
body.harus-product-category-active .elementor[data-elementor-id] > .e-con:has(.elementor-widget-wd_shop_archive_woocommerce_title) {
	display: none !important;
}

.hm-cat-section {
	padding: 12px 0;
}

.harus-category-page--intro .hm-cat-section:first-child {
	padding-top: 24px;
}

.harus-category-page--after .hm-cat-section:last-child {
	padding-bottom: 34px;
}

.hm-cat-container {
	width: min(1290px, calc(100% - 32px));
	margin-inline: auto;
}

.hm-cat-eyebrow {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	margin: 0 0 9px;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--hmc-green-soft);
	color: var(--hmc-green-deep);
	font-size: 12px;
	font-weight: 820;
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
}

.hm-cat-hero__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
	gap: clamp(18px, 3.5vw, 44px);
	align-items: stretch;
	min-height: clamp(260px, 27vw, 340px);
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid rgba(20, 92, 36, 0.14);
	border-radius: var(--hmc-radius);
	background:
		radial-gradient(circle at 82% 18%, rgba(35, 172, 57, 0.15), transparent 30%),
		linear-gradient(135deg, #ffffff 0%, #fbfaf3 58%, #eaf7ec 100%);
	overflow: hidden;
}

.hm-cat-hero__panel.has-image:before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--hm-cat-hero-image);
	background-position: center;
	background-size: cover;
	opacity: 0.14;
}

.hm-cat-hero__content,
.hm-cat-hero__media {
	position: relative;
	z-index: 1;
}

.hm-cat-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	margin-bottom: 18px;
	color: var(--hmc-muted);
	font-size: 13px;
	font-weight: 720;
	line-height: 1.25;
}

.hm-cat-breadcrumb a {
	color: var(--hmc-green-deep);
}

.hm-cat-hero h1 {
	max-width: 760px;
	margin: 0;
	color: var(--hmc-ink);
	font-size: clamp(34px, 4.7vw, 64px);
	font-weight: 860;
	letter-spacing: 0;
	line-height: 0.98;
}

.hm-cat-hero__description {
	max-width: 690px;
	margin: 16px 0 0;
	color: var(--hmc-muted);
	font-size: clamp(15px, 1.45vw, 18px);
	line-height: 1.55;
}

.hm-cat-count {
	display: inline-flex;
	align-items: center;
	width: max-content;
	margin-top: 18px;
	padding: 9px 12px;
	border: 1px solid rgba(20, 92, 36, 0.18);
	border-radius: var(--hmc-radius);
	background: rgba(255, 255, 255, 0.76);
	color: var(--hmc-green-deep);
	font-size: 13px;
	font-weight: 820;
	line-height: 1;
}

.hm-cat-hero__media {
	display: grid;
	align-items: stretch;
	min-width: 0;
}

.hm-cat-hero__media-card {
	display: flex;
	align-items: end;
	justify-content: start;
	min-height: 100%;
	padding: 20px;
	border: 1px solid rgba(20, 92, 36, 0.16);
	border-radius: var(--hmc-radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(20, 92, 36, 0.44)),
		linear-gradient(135deg, rgba(35, 172, 57, 0.12), rgba(255, 255, 255, 0.7));
	box-shadow: var(--hmc-shadow);
	overflow: hidden;
}

.hm-cat-hero__panel.has-image .hm-cat-hero__media-card {
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(20, 92, 36, 0.5)),
		var(--hm-cat-hero-image);
	background-position: center;
	background-size: cover;
}

.hm-cat-hero__media-card span {
	display: inline-flex;
	max-width: 100%;
	padding: 8px 10px;
	border-radius: var(--hmc-radius);
	background: rgba(255, 255, 255, 0.88);
	color: var(--hmc-green-deep);
	font-size: 13px;
	font-weight: 820;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.hm-cat-chip-row {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 2px 0 4px;
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.hm-cat-chip {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 14px;
	border: 1px solid rgba(20, 92, 36, 0.18);
	border-radius: 999px;
	background: var(--hmc-surface);
	color: var(--hmc-ink);
	font-size: 14px;
	font-weight: 780;
	line-height: 1.1;
	white-space: nowrap;
}

.hm-cat-chip:hover,
.hm-cat-chip:focus-visible,
.hm-cat-chip.is-active {
	border-color: var(--hmc-green);
	background: var(--hmc-green);
	color: #ffffff;
}

.hm-cat-section-head {
	margin-bottom: 14px;
}

.hm-cat-section-head h2 {
	margin: 0;
	color: var(--hmc-ink);
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.12;
}

.hm-cat-need-grid,
.hm-cat-related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.hm-cat-need-card,
.hm-cat-related-card,
.hm-cat-help__panel {
	border: 1px solid var(--hmc-line);
	border-radius: var(--hmc-radius);
	background: var(--hmc-surface);
}

.hm-cat-need-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 84px;
	padding: 16px;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.hm-cat-need-card:after {
	content: ">";
	color: var(--hmc-green-deep);
	font-size: 18px;
	font-weight: 820;
}

.hm-cat-need-card:hover,
.hm-cat-need-card:focus-visible,
.hm-cat-related-card:hover,
.hm-cat-related-card:focus-visible {
	border-color: rgba(35, 172, 57, 0.45);
	transform: translateY(-1px);
}

.hm-cat-need-card span {
	color: var(--hmc-ink);
	font-size: 15px;
	font-weight: 820;
	line-height: 1.25;
}

body.harus-product-category-active .woocommerce-result-count {
	float: none;
	margin: 0;
	color: var(--hm-text-muted, #536056);
	font-size: 14px;
	font-weight: 700;
}

body.harus-product-category-active .woocommerce-ordering {
	float: none;
	margin: 0;
}

body.harus-product-category-active .woocommerce-ordering select,
body.harus-product-category-active select.orderby {
	min-height: 42px;
	border: 1px solid var(--hm-border, rgba(17, 24, 39, 0.12));
	border-radius: 8px;
	background-color: var(--hm-surface, #ffffff);
	color: var(--hm-text, #111827);
}

body.harus-product-category-active .shop-loop-head,
body.harus-product-category-active .wd-shop-tools,
body.harus-product-category-active .woocommerce-notices-wrapper + .woocommerce-result-count {
	border-radius: 8px;
}

body.harus-product-category-active .shop-loop-head,
body.harus-product-category-active .wd-shop-tools {
	gap: 12px;
	margin-bottom: 16px;
	padding: 14px;
	border: 1px solid var(--hm-border, rgba(17, 24, 39, 0.08));
	background: var(--hm-surface, #ffffff);
}

body.harus-product-category-active .wd-show-sidebar-btn,
body.harus-product-category-active .woodmart-show-sidebar-btn,
body.harus-product-category-active .wd-sidebar-opener {
	border-radius: 8px;
	color: var(--hm-green-dark, #145c24);
	font-weight: 800;
}

body.harus-product-category-active .widget-area,
body.harus-product-category-active .sidebar-container {
	border-radius: 8px;
}

body.harus-product-category-active .widget-area .widget,
body.harus-product-category-active .sidebar-container .widget {
	padding: 16px;
	border: 1px solid var(--hm-border, rgba(17, 24, 39, 0.08));
	border-radius: 8px;
	background: var(--hm-surface, #ffffff);
}

body.harus-product-category-active .products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 14px !important;
	align-items: stretch;
	margin-bottom: 0;
}

body.harus-product-category-active .products:before,
body.harus-product-category-active .products:after {
	display: none;
}

body.harus-product-category-active .products .wd-product,
body.harus-product-category-active .woocommerce ul.products li.product,
body.harus-product-category-active ul.products li.product {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
}

body.harus-product-category-active .products .product-wrapper,
body.harus-product-category-active .woocommerce ul.products li.product .product-wrapper {
	display: grid;
	height: 100%;
	padding: 12px;
	border: 1px solid var(--hm-border, rgba(17, 24, 39, 0.08));
	border-radius: 8px;
	background: var(--hm-surface, #ffffff);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

body.harus-product-category-active .products .product-wrapper:hover,
body.harus-product-category-active .products .product-wrapper:focus-within {
	border-color: rgba(35, 172, 57, 0.45);
	transform: translateY(-1px);
}

body.harus-product-category-active .product-element-top {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	margin-bottom: 12px;
	border-radius: 8px;
	background: var(--hm-media-bg, #f5faf5);
	overflow: hidden;
}

body.harus-product-category-active .product-element-top img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}

body.harus-product-category-active .product-element-bottom {
	display: grid;
	gap: 7px;
	align-content: start;
}

body.harus-product-category-active .wd-entities-title {
	margin: 0;
	color: var(--hm-text, #111827);
	font-size: 14px;
	font-weight: 820;
	line-height: 1.28;
}

body.harus-product-category-active .wd-entities-title a {
	color: var(--hm-text, #111827);
}

body.harus-product-category-active .price {
	color: var(--hm-green-dark, #145c24);
	font-size: 15px;
	font-weight: 840;
	line-height: 1.25;
}

body.harus-product-category-active .price del {
	color: var(--hm-text-muted, #536056);
	font-size: 13px;
	font-weight: 500;
}

body.harus-product-category-active .price ins {
	background: transparent;
	text-decoration: none;
}

body.harus-product-category-active .wd-add-btn a,
body.harus-product-category-active .wd-add-btn a.button,
body.harus-product-category-active .add-to-cart-loop,
body.harus-product-category-active a.button.product_type_simple {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 10px;
	border: 1px solid var(--hm-green, #23ac39);
	border-radius: 8px;
	background-color: var(--hm-green, #23ac39) !important;
	color: var(--hm-button-text, #ffffff) !important;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
}

body.harus-product-category-active .woocommerce-pagination,
body.harus-product-category-active nav.woocommerce-pagination {
	margin-top: 24px;
}

body.harus-product-category-active .woocommerce-pagination ul.page-numbers,
body.harus-product-category-active .page-numbers {
	border-radius: 8px;
}

body.harus-product-category-active .woocommerce-pagination .page-numbers.current,
body.harus-product-category-active .page-numbers.current {
	background: var(--hm-green, #23ac39);
	color: #ffffff;
}

.hm-cat-help__panel {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
	gap: clamp(18px, 3vw, 34px);
	padding: clamp(22px, 3.5vw, 36px);
}

.hm-cat-help__copy h2 {
	max-width: 620px;
	margin: 0;
	color: var(--hmc-ink);
	font-size: clamp(25px, 2.8vw, 38px);
	line-height: 1.12;
}

.hm-cat-help__copy p {
	max-width: 700px;
	margin: 14px 0 0;
	color: var(--hmc-muted);
	font-size: 16px;
}

.hm-cat-faqs {
	display: grid;
	gap: 10px;
	align-content: start;
}

.hm-cat-faq {
	border: 1px solid var(--hmc-line);
	border-radius: var(--hmc-radius);
	background: var(--hmc-surface-soft);
}

.hm-cat-faq summary {
	cursor: pointer;
	padding: 14px 16px;
	color: var(--hmc-ink);
	font-size: 14px;
	font-weight: 820;
	line-height: 1.25;
}

.hm-cat-faq p {
	margin: 0;
	padding: 0 16px 16px;
	color: var(--hmc-muted);
	font-size: 14px;
	line-height: 1.45;
}

.hm-cat-related-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 98px;
	padding: 12px;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.hm-cat-related-card__media {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	background: var(--hmc-media);
	color: var(--hmc-green-deep);
	overflow: hidden;
}

.hm-cat-related-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hm-cat-related-card__name {
	color: var(--hmc-ink);
	font-size: 14px;
	font-weight: 820;
	line-height: 1.22;
}

.hm-cat-related-card__count {
	display: block;
	margin-top: 4px;
	color: var(--hmc-muted);
	font-size: 12px;
	font-weight: 720;
	line-height: 1.2;
}

html[data-hm-theme-resolved="dark"] .harus-category-page {
	--hmc-bg: #0f1711;
	--hmc-surface: #162019;
	--hmc-surface-soft: #1b291f;
	--hmc-ink: #f3f4f6;
	--hmc-muted: #a7b0aa;
	--hmc-line: rgba(255, 255, 255, 0.1);
	--hmc-green-soft: rgba(35, 172, 57, 0.16);
	--hmc-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

html[data-hm-theme-resolved="dark"] .hm-cat-hero__panel {
	background:
		radial-gradient(circle at 82% 18%, rgba(35, 172, 57, 0.18), transparent 30%),
		linear-gradient(135deg, #162019 0%, #172019 58%, #1b291f 100%);
}

html[data-hm-theme-resolved="dark"] body.harus-product-category-active .woocommerce-ordering select,
html[data-hm-theme-resolved="dark"] body.harus-product-category-active select.orderby,
html[data-hm-theme-resolved="dark"] body.harus-product-category-active .products .product-wrapper,
html[data-hm-theme-resolved="dark"] body.harus-product-category-active .widget-area .widget,
html[data-hm-theme-resolved="dark"] body.harus-product-category-active .sidebar-container .widget,
html[data-hm-theme-resolved="dark"] body.harus-product-category-active .shop-loop-head,
html[data-hm-theme-resolved="dark"] body.harus-product-category-active .wd-shop-tools {
	border-color: rgba(255, 255, 255, 0.1);
	background-color: #162019;
	color: #f3f4f6;
}

@media (max-width: 1180px) {
	.hm-cat-need-grid,
	.hm-cat-related-grid,
	body.harus-product-category-active .products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.hm-cat-hero__panel {
		grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
	}
}

@media (max-width: 768px) {
	.hm-cat-container {
		width: min(100% - 24px, 1290px);
	}

	.harus-category-page--intro .hm-cat-section:first-child {
		padding-top: 18px;
	}

	.hm-cat-hero__panel {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 22px;
	}

	.hm-cat-hero__media {
		min-height: 150px;
	}

	.hm-cat-hero h1 {
		font-size: clamp(32px, 10vw, 44px);
	}

	.hm-cat-chip-row {
		margin-inline: -12px;
		padding-inline: 12px;
	}

	.hm-cat-need-grid,
	.hm-cat-related-grid,
	body.harus-product-category-active .products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.hm-cat-help__panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.hm-cat-hero__panel {
		padding: 18px;
	}

	.hm-cat-breadcrumb {
		margin-bottom: 14px;
		font-size: 12px;
	}

	.hm-cat-hero__media {
		min-height: 128px;
	}

	.hm-cat-need-card {
		min-height: 76px;
		padding: 14px;
	}

	.hm-cat-related-card {
		grid-template-columns: 58px minmax(0, 1fr);
		min-height: 82px;
	}

	.hm-cat-related-card__media {
		width: 58px;
		height: 58px;
	}

	body.harus-product-category-active .shop-loop-head,
	body.harus-product-category-active .wd-shop-tools {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 374px) {
	.hm-cat-container {
		width: min(100% - 18px, 1290px);
	}

	.hm-cat-need-grid,
	.hm-cat-related-grid,
	body.harus-product-category-active .products {
		grid-template-columns: 1fr !important;
	}
}
