:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .hero-section {
	background-color: rgba(232, 220, 196, 0.3);
	border-bottom: 1px solid rgba(22, 74, 56, 0.2);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .hero-section .entry-header {
	margin-inline: auto;
	max-width: 1240px;
	padding: clamp(42px, 6vw, 70px) 24px;
	text-align: left;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .hero-section .page-title {
	color: var(--sbg-color-primary);
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1;
	margin: 0;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .hero-section .page-title::after {
	color: rgba(28, 42, 57, 0.6);
	content: "All Supplies / Index";
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.3;
	margin-top: 12px;
	text-transform: uppercase;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) #main > .ct-container {
	max-width: 1240px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) #main > .ct-container > section {
	display: grid;
	gap: clamp(32px, 4vw, 54px);
	grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-products-header {
	display: none;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .sbg-shop-filter {
	grid-column: 1;
	grid-row: 1 / span 5;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-notices-wrapper,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woo-listing-top,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-no-products-found,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .ct-pagination {
	grid-column: 2;
	min-width: 0;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-no-products-found {
	align-self: start;
	border: 1px solid rgba(22, 74, 56, 0.26);
	color: var(--sbg-color-primary);
	padding: clamp(22px, 4vw, 40px);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-no-products-found .woocommerce-info {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}

.sbg-shop-filter__inner {
	position: sticky;
	top: calc(var(--admin-bar, 0px) + var(--header-sticky-height, 0px) + 24px);
}

.sbg-shop-filter__heading {
	border-bottom: 2px solid var(--sbg-color-primary);
	color: var(--sbg-color-primary);
	display: flex;
	font-size: 12px;
	font-weight: 900;
	justify-content: space-between;
	letter-spacing: 0.12em;
	line-height: 1.2;
	padding-bottom: 10px;
	text-transform: uppercase;
}

.sbg-shop-filter__heading small {
	color: rgba(28, 42, 57, 0.58);
	font-size: inherit;
	font-weight: inherit;
}

.sbg-filter-group {
	border-bottom: 1px solid rgba(22, 74, 56, 0.22);
	padding: 17px 0;
}

.sbg-filter-group summary {
	align-items: center;
	color: var(--sbg-color-primary);
	cursor: pointer;
	display: flex;
	font-size: 18px;
	font-weight: 850;
	justify-content: space-between;
	list-style: none;
}

.sbg-filter-group summary::-webkit-details-marker {
	display: none;
}

.sbg-filter-group summary span::before {
	content: "+";
	font-size: 22px;
	line-height: 1;
}

.sbg-filter-group[open] summary span::before {
	content: "-";
}

.sbg-filter-list {
	display: grid;
	gap: 8px;
	margin-top: 14px;
}

.sbg-filter-list a {
	align-items: center;
	color: var(--sbg-color-primary-hover);
	display: grid;
	font-size: 14px;
	gap: 10px;
	grid-template-columns: 13px minmax(0, 1fr) auto;
	line-height: 1.35;
	text-decoration: none;
}

.sbg-filter-list a::before {
	border: 1px solid rgba(22, 74, 56, 0.75);
	content: "";
	height: 13px;
	width: 13px;
}

.sbg-filter-list a:hover,
.sbg-filter-list a.is-active {
	color: var(--sbg-color-accent);
}

.sbg-filter-list a.is-active::before {
	background-color: var(--sbg-color-primary);
	box-shadow: inset 0 0 0 2px var(--sbg-color-background);
}

.sbg-filter-list em {
	color: rgba(28, 42, 57, 0.48);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 12px;
	font-style: normal;
}

.sbg-filter-chips {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 14px;
}

.sbg-filter-chips a,
.sbg-filter-reset {
	align-items: center;
	border: 1px solid rgba(22, 74, 56, 0.34);
	border-radius: 0;
	color: var(--sbg-color-primary);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: center;
	min-height: 34px;
	padding: 7px 10px;
	text-align: center;
	text-decoration: none;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.sbg-filter-chips a:hover,
.sbg-filter-chips a.is-active,
.sbg-filter-reset:hover {
	background-color: var(--sbg-color-primary);
	border-color: var(--sbg-color-primary);
	color: var(--sbg-color-background);
}

.sbg-filter-reset {
	margin-top: 18px;
	width: 100%;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woo-listing-top {
	align-items: center;
	border-bottom: 1px solid rgba(22, 74, 56, 0.2);
	display: flex;
	gap: 18px;
	margin-bottom: 0;
	padding-bottom: 18px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-result-count {
	color: rgba(28, 42, 57, 0.75);
	font-size: 14px;
	font-weight: 650;
	margin: 0;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-ordering select {
	background-color: transparent;
	border: 0;
	border-bottom: 1px solid var(--sbg-color-primary);
	border-radius: 0;
	color: var(--sbg-color-primary);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	height: 38px;
	padding: 0 28px 0 0;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products {
	counter-reset: sbg-product-index;
	display: grid !important;
	gap: 24px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin-top: 26px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product {
	background-color: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(22, 74, 56, 0.34);
	border-radius: 0;
	box-shadow: none;
	counter-increment: sbg-product-index;
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	overflow: hidden;
	padding: 0;
	position: relative;
	transition: border-color 160ms ease, transform 160ms ease;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product:hover {
	border-color: var(--sbg-color-primary);
	transform: translateY(-2px);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product::before {
	background-color: var(--sbg-color-background);
	border-bottom: 1px solid rgba(22, 74, 56, 0.34);
	border-right: 1px solid rgba(22, 74, 56, 0.34);
	color: var(--sbg-color-primary);
	content: "REF: 0" counter(sbg-product-index, decimal-leading-zero);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 10px;
	font-weight: 800;
	left: 0;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: 7px 9px 6px;
	position: absolute;
	top: 0;
	z-index: 2;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product figure {
	background-color: var(--sbg-color-background);
	border-bottom: 1px solid rgba(22, 74, 56, 0.16);
	margin: 0;
	order: 1;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .ct-media-container {
	align-items: center;
	aspect-ratio: 1 / 1;
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: clamp(14px, 2vw, 24px);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .ct-media-container img {
	aspect-ratio: 1 / 1 !important;
	filter: drop-shadow(0 12px 12px rgba(22, 74, 56, 0.1));
	height: 100%;
	mix-blend-mode: multiply;
	object-fit: contain;
	width: 100%;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .entry-meta {
	margin: 14px 0 0;
	order: 2;
	padding-inline: 16px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .entry-meta a {
	color: rgba(28, 42, 57, 0.52);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.11em;
	text-decoration: none;
	text-transform: uppercase;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .woocommerce-loop-product__title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--sbg-color-primary);
	display: -webkit-box;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.36;
	margin: 6px 0 0;
	min-height: 2.72em;
	order: 3;
	overflow: hidden;
	padding-inline: 16px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product:hover .woocommerce-loop-product__title {
	color: var(--sbg-color-accent);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .price {
	color: var(--sbg-color-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 18px;
	font-weight: 850;
	margin: auto 0 0;
	order: 4;
	padding: 14px 16px 16px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .ct-woo-card-actions {
	margin: 0;
	opacity: 1 !important;
	order: 5;
	transform: none !important;
	visibility: visible !important;
	width: 100%;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .ct-woo-card-actions .button {
	background-color: transparent;
	border: 0;
	border-radius: 0 !important;
	border-top: 1px solid rgba(22, 74, 56, 0.34);
	color: var(--sbg-color-primary);
	font-size: 13px;
	font-weight: 850;
	justify-content: center;
	letter-spacing: 0.12em;
	min-height: 46px;
	text-transform: uppercase;
	width: 100%;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product .ct-woo-card-actions .button:hover {
	background-color: var(--sbg-color-primary);
	color: var(--sbg-color-background);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .ct-pagination {
	border-top: 1px solid rgba(22, 74, 56, 0.22);
	justify-content: center;
	margin-top: clamp(42px, 6vw, 64px);
	padding-top: 26px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .ct-pagination .page-numbers {
	border: 1px solid transparent;
	border-radius: 0;
	color: var(--sbg-color-primary);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	min-height: 34px;
	min-width: 34px;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .ct-pagination .page-numbers.current,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .ct-pagination .page-numbers:hover {
	background-color: var(--sbg-color-primary);
	border-color: var(--sbg-color-primary);
	color: var(--sbg-color-background);
}


@media (max-width: 999px) {
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) #main > .ct-container > section {
		grid-template-columns: 1fr;
	}

	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .sbg-shop-filter,
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-notices-wrapper,
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woo-listing-top,
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products,
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-no-products-found,
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .ct-pagination {
		grid-column: 1;
	}

	.sbg-shop-filter__inner {
		position: static;
	}

	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 680px) {
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .hero-section .entry-header {
		padding-inline: 18px;
	}

	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) #main > .ct-container {
		width: calc(100% - 32px);
	}

	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woo-listing-top {
		align-items: flex-start;
		flex-direction: column;
	}

	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-ordering,
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) .woocommerce-ordering select {
		width: 100%;
	}

	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products {
		grid-template-columns: 1fr !important;
	}

	.sbg-filter-chips {
		grid-template-columns: 1fr;
	}
}

@media (hover: none) and (pointer: coarse) {
	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product:hover {
		transform: none;
	}

	:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_brand) ul.products .product:hover .ct-media-container img {
		transform: none;
	}
}
