.hg-catalog-page {
	background: #fff;
	overflow-x: clip;
}

.hg-catalog-page .hg-breadcrumb-wrap {
	border-bottom: 0;
}

.hg-catalog-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(260px, 20vw, 300px);
	margin-top: 18px;
	margin-bottom: clamp(34px, 4vw, 58px);
	border-radius: 10px;
	overflow: hidden;
	background: #2d211c;
	color: #fff;
	text-align: center;
	isolation: isolate;
}

.hg-catalog-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--hg-catalog-hero-image);
	background-size: cover;
	background-position: center;
}

.hg-catalog-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0,0,0,.42);
}

.hg-catalog-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 3.8vw, 64px);
	font-weight: 950;
	line-height: 1;
	letter-spacing: -0.045em;
}

.hg-catalog-hero p {
	max-width: 760px;
	margin: 20px auto 0;
	color: rgba(255,255,255,.94);
	font-size: clamp(15px, 1vw, 18px);
	font-weight: 650;
	line-height: 1.55;
}

.hg-catalog-shell {
	padding-bottom: clamp(54px, 6vw, 92px);
}

.hg-catalog-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	margin-bottom: 26px;
}

.hg-catalog-toolbar__left,
.hg-catalog-toolbar__right,
.hg-catalog-sort,
.hg-catalog-view,
.hg-catalog-compare {
	display: flex;
	align-items: center;
}

.hg-catalog-toolbar__left {
	gap: 24px;
}

.hg-catalog-toolbar__right {
	gap: clamp(18px, 2.2vw, 34px);
}

.hg-catalog-count {
	color: var(--hg-muted);
	font-size: 16px;
	font-weight: 750;
}

.hg-catalog-filter-toggle,
.hg-catalog-sort select,
.hg-catalog-view button {
	border: 1px solid #dedede;
	background: #fff;
	color: #111;
}

.hg-catalog-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 950;
	cursor: pointer;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hg-catalog-filter-toggle .hg-icon {
	width: 22px;
	height: 22px;
}

.hg-catalog-filter-toggle:hover {
	transform: translateY(-1px);
	border-color: #111;
	box-shadow: 0 12px 30px rgba(17,17,17,.08);
}

.hg-catalog-compare {
	gap: 8px;
	font-weight: 900;
}

.hg-catalog-compare input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hg-catalog-compare i {
	position: relative;
	width: 50px;
	height: 28px;
	border-radius: 999px;
	background: #dedede;
}

.hg-catalog-compare i::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
}

.hg-catalog-sort {
	gap: 10px;
	font-weight: 900;
}

.hg-catalog-sort select {
	min-width: 210px;
	height: 52px;
	padding: 0 48px 0 22px;
	border-radius: 999px;
	font-weight: 750;
}

.hg-catalog-view {
	gap: 10px;
	font-weight: 900;
}

.hg-catalog-view button {
	display: grid;
	place-items: center;
	place-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	color: #111;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.hg-catalog-view button.is-active {
	background: #000;
	border-color: #000;
	color: #fff;
}

.hg-catalog-view button[data-hg-view="grid"] {
	grid-template-columns: repeat(2, 7px);
	grid-template-rows: repeat(2, 7px);
	gap: 4px;
}

.hg-catalog-view button[data-hg-view="grid"] span {
	width: 7px;
	height: 7px;
	border: 2px solid currentColor;
	border-radius: 2px;
}

.hg-catalog-view button[data-hg-view="list"] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.hg-catalog-view button[data-hg-view="list"] span {
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.hg-catalog-layout {
	--hg-filter-column: minmax(230px, 250px);
	display: grid;
	grid-template-columns: var(--hg-filter-column) minmax(0, 1fr);
	gap: clamp(24px, 2.6vw, 34px);
	align-items: start;
	transition: grid-template-columns .38s cubic-bezier(.22,.61,.36,1), gap .38s cubic-bezier(.22,.61,.36,1);
}

.hg-catalog-page.is-filter-collapsed .hg-catalog-layout {
	grid-template-columns: 0 minmax(0, 1fr);
	gap: 0;
}

.hg-catalog-sidebar {
	min-width: 0;
	overflow: hidden;
	opacity: 1;
	transform: translateX(0);
	visibility: visible;
	transition: opacity .28s ease, transform .38s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s;
}

.hg-catalog-page.is-filter-collapsed .hg-catalog-sidebar {
	opacity: 0;
	transform: translateX(-18px);
	visibility: hidden;
	pointer-events: none;
	transition-delay: 0s, 0s, .38s;
}

.hg-catalog-filter-form {
	display: grid;
	gap: 0;
}

.hg-filter-group {
	padding: 0 0 26px;
	margin-bottom: 26px;
	border-bottom: 1px solid #e8e8e8;
}

.hg-filter-group h2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 950;
	letter-spacing: -0.02em;
}

.hg-filter-group h2::after {
	content: "";
	width: 14px;
	height: 2px;
	border-radius: 999px;
	background: #111;
}

.hg-filter-group p {
	margin: -4px 0 18px;
	color: var(--hg-muted);
	font-size: 15px;
	line-height: 1.45;
}

.hg-filter-group label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
	color: var(--hg-muted);
	font-size: 16px;
	font-weight: 720;
	cursor: pointer;
}

.hg-filter-group label input[type="checkbox"] {
	appearance: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #aaa;
	border-radius: 2px;
	background: #fff;
}

.hg-filter-group label input[type="checkbox"]:checked {
	background: #000;
	border-color: #000;
	box-shadow: inset 0 0 0 4px #fff;
}

.hg-filter-group label em {
	margin-left: auto;
	color: #777;
	font-style: normal;
}

.hg-price-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.hg-price-range {
	position: relative;
	height: 26px;
	margin: 2px 0 16px;
	--hg-range-min: 0%;
	--hg-range-max: 100%;
}

.hg-price-range__track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 999px;
	background: #dedede;
	transform: translateY(-50%);
	pointer-events: none;
}

.hg-price-range__track i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--hg-range-min);
	right: calc(100% - var(--hg-range-max));
	border-radius: inherit;
	background: #000;
}

.hg-price-range input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
}

.hg-price-range input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	background: transparent;
}

.hg-price-range input[type="range"]::-moz-range-track {
	height: 4px;
	background: transparent;
}

.hg-price-range input[type="range"]::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -7px;
	border: 1px solid #111;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 5px 16px rgba(17,17,17,.14);
	cursor: grab;
	pointer-events: auto;
	appearance: none;
	-webkit-appearance: none;
}

.hg-price-range input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 1px solid #111;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 5px 16px rgba(17,17,17,.14);
	cursor: grab;
	pointer-events: auto;
}

.hg-price-range input[type="range"]:active::-webkit-slider-thumb {
	cursor: grabbing;
	transform: scale(1.08);
}

.hg-price-range input[type="range"]:active::-moz-range-thumb {
	cursor: grabbing;
	transform: scale(1.08);
}

.hg-price-inputs label {
	min-height: 52px;
	padding: 0 16px;
	border-radius: 999px;
	background: #eee;
	color: #111;
}

.hg-price-inputs input {
	width: 100%;
	border: 0;
	background: transparent;
	outline: 0;
	color: #777;
	font-weight: 800;
}

.hg-filter-actions {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
}

.hg-filter-actions .hg-button {
	min-height: 48px;
	border-radius: 999px;
	background: #000;
	color: #fff;
}

.hg-filter-actions a {
	color: var(--hg-muted);
	font-weight: 850;
}

.hg-catalog-results {
	min-width: 0;
	transition: opacity .2s ease, transform .2s ease;
}

.hg-catalog-results.is-loading {
	opacity: .55;
	transform: translateY(4px);
	pointer-events: none;
}

.hg-catalog-grid--archive {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(22px, 1.8vw, 32px);
}

.hg-catalog-page:not(.is-filter-collapsed) .hg-catalog-grid--archive {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hg-catalog-results.is-list-view .hg-catalog-grid {
	grid-template-columns: 1fr;
}

.hg-catalog-results.is-list-view .hg-catalog-grid--archive > .hg-catalog-promo-card {
	display: none;
}

.hg-catalog-results.is-list-view .hg-catalog-card {
	display: grid;
	grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) minmax(190px, 240px);
	gap: clamp(24px, 3.2vw, 46px);
	align-items: center;
	padding-bottom: 28px;
	border-bottom: 1px solid #e7e7e7;
}

.hg-catalog-results.is-list-view .hg-catalog-card__body {
	padding-top: 0;
}

.hg-catalog-results.is-list-view .hg-catalog-card__quick {
	display: none;
}

.hg-catalog-results.is-list-view .hg-catalog-card__actions {
	display: grid;
	gap: 14px;
	justify-items: stretch;
	align-content: center;
}

.hg-catalog-results.is-list-view .hg-catalog-card__button {
	width: 100%;
	min-height: 54px;
}

.woocommerce-pagination {
	margin-top: 46px;
}

.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-pagination li {
	list-style: none;
	border: 0 !important;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #f4f4f4;
	color: #111;
	font-weight: 900;
}

.woocommerce-pagination .current {
	background: #000;
	color: #fff;
}

@media (max-width: 1180px) {
	.hg-catalog-toolbar {
		grid-template-columns: 1fr;
	}
	.hg-catalog-toolbar__right {
		justify-content: space-between;
	}
	.hg-catalog-grid--archive,
	.hg-catalog-page:not(.is-filter-collapsed) .hg-catalog-grid--archive {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.hg-catalog-layout,
	.hg-catalog-page.is-filter-collapsed .hg-catalog-layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.hg-catalog-sidebar {
		display: block;
		max-height: 2200px;
		opacity: 1;
		transform: translateY(0);
		transition: max-height .42s cubic-bezier(.22,.61,.36,1), opacity .24s ease, transform .32s ease, visibility 0s linear 0s;
	}
	.hg-catalog-page.is-filter-collapsed .hg-catalog-sidebar {
		max-height: 0;
		opacity: 0;
		transform: translateY(-8px);
		visibility: hidden;
		pointer-events: none;
		transition-delay: 0s, 0s, 0s, .42s;
	}
	.hg-catalog-toolbar__right {
		max-width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.hg-catalog-toolbar__right::-webkit-scrollbar {
		display: none;
	}
	.hg-catalog-grid--archive,
	.hg-catalog-page:not(.is-filter-collapsed) .hg-catalog-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hg-catalog-hero {
		min-height: 220px;
		margin-top: 12px;
		margin-bottom: 28px;
		border-radius: 14px;
	}
	.hg-catalog-hero p {
		width: min(100% - 32px, 560px);
	}
	.hg-catalog-toolbar {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 18px 14px;
		margin-bottom: 22px;
	}
	.hg-catalog-toolbar__left {
		display: contents;
	}
	.hg-catalog-toolbar__right {
		display: contents;
		padding-bottom: 0;
		overflow: visible;
	}
	.hg-catalog-count {
		grid-column: 1;
		grid-row: 1;
		align-self: center;
		font-size: 18px;
	}
	.hg-catalog-filter-toggle {
		grid-column: 1;
		grid-row: 2;
		width: max-content;
		min-height: 58px;
		padding: 0 24px;
		border-color: transparent;
		background: #f1f1f1;
		box-shadow: none;
	}
	.hg-catalog-compare {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		justify-content: flex-end;
	}
	.hg-catalog-sort {
		display: none;
	}
	.hg-catalog-view {
		grid-column: 2;
		grid-row: 2;
		align-self: center;
		justify-content: flex-end;
	}
	.hg-catalog-compare span,
	.hg-catalog-view > span {
		font-size: 17px;
	}
	.hg-catalog-compare i {
		width: 44px;
		height: 24px;
	}
	.hg-catalog-compare i::after {
		width: 18px;
		height: 18px;
	}
	.hg-catalog-view button {
		width: 46px;
		height: 46px;
	}
	.hg-catalog-view button[data-hg-view="grid"] {
		grid-template-columns: repeat(2, 6px);
		grid-template-rows: repeat(2, 6px);
		gap: 3px;
	}
	.hg-catalog-view button[data-hg-view="grid"] span {
		width: 6px;
		height: 6px;
		border-width: 1.5px;
	}
	.hg-catalog-view button[data-hg-view="list"] span {
		width: 18px;
	}
	.hg-catalog-promo-card {
		width: 100%;
		aspect-ratio: auto;
		min-height: 300px;
		padding: 20px;
	}
	.hg-catalog-results.is-list-view .hg-catalog-grid--archive > .hg-catalog-promo-card {
		display: flex;
	}
	.hg-catalog-results.is-list-view .hg-catalog-card {
		display: flex;
		padding-bottom: 0;
		border-bottom: 0;
	}
	.hg-catalog-results.is-list-view .hg-catalog-card__actions {
		display: none;
	}
	.hg-catalog-promo-card strong {
		max-width: 100%;
		font-size: clamp(24px, 7.8vw, 34px);
	}
}
