.igg-store-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
}

.igg-store-actions p,
.igg-store-notice p {
	margin: 0;
}

.igg-store-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 6px;
	background: #214e3b;
	color: #fff;
	font-weight: 650;
	text-decoration: none;
}

.igg-store-button:hover,
.igg-store-button:focus-visible {
	background: #153d2b;
	color: #fff;
}

.igg-store-notice {
	width: fit-content;
	max-width: 100%;
	margin-block: 0 16px;
	padding: 12px 16px;
	border-inline-start: 3px solid #47765f;
	background: #f7faf6;
	color: #183a2c;
}

.igg-store-categories ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.igg-store-categories a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 13px;
	border: 1px solid #c9d8cd;
	border-radius: 5px;
	color: #214e3b;
	font-weight: 600;
	text-decoration: none;
}

.igg-store-categories a:hover,
.igg-store-categories a:focus-visible {
	background: #eef5ed;
	border-color: #567963;
	color: #183a2c;
}

.igg-catalog {
	display: grid;
	grid-template-columns: minmax(0, 242px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(20px, 2.6vw, 36px);
}

.igg-catalog [hidden] {
	display: none;
}

.igg-catalog-sidebar,
.igg-catalog-products {
	min-width: 0;
}

.igg-catalog-panel {
	margin: 0;
	border: 1px solid #d6e0d7;
	border-radius: 12px;
	background: #f7faf6;
}

.igg-catalog-panel > summary {
	display: none;
}

.igg-catalog-filters {
	display: grid;
	gap: 18px;
	padding: 18px;
}

.igg-catalog-filters label,
.igg-catalog-filters fieldset {
	min-width: 0;
	margin: 0;
}

.igg-catalog-filters label:not(.igg-check) {
	display: grid;
	gap: 6px;
}

.igg-catalog-filters label:not(.igg-check) > span,
.igg-taxonomy legend {
	color: #234434;
	font-size: 0.875rem;
	font-weight: 650;
	line-height: 1.4;
}

.igg-catalog-filters :is(input[type="search"], input[type="number"], select) {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	border: 1px solid #c9d8cd;
	border-radius: 6px;
	background-color: #fff;
}

.igg-catalog-filters :is(input, select, button, a):focus-visible,
.igg-catalog-panel > summary:focus-visible {
	outline: 2px solid #47765f;
	outline-offset: 2px;
}

.igg-taxonomy {
	padding: 0;
	border: 0;
}

.igg-taxonomy legend {
	margin: 0 0 6px;
	padding: 0;
}

.igg-taxonomy-options {
	max-height: 15rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 4px;
	border: 1px solid #d6e0d7;
	border-radius: 6px;
	background: #fff;
}

.igg-catalog-filters .igg-check {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	border-radius: 4px;
	color: #254136;
}

.igg-taxonomy-options .igg-check {
	padding: 5px 6px;
}

.igg-taxonomy-options .igg-check:hover,
.igg-taxonomy-options .igg-check:has(input:checked) {
	background: #edf5ed;
}

.igg-catalog-filters .igg-check input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 0;
	accent-color: #214e3b;
}

.igg-subgroup-options + .igg-subgroup-options {
	margin-top: 6px;
}

.igg-subgroup-name {
	margin: 5px 6px 1px;
	color: #49675a;
	font-size: 0.76rem;
	font-weight: 650;
}

[data-igg-no-subgroups] {
	margin: 4px 6px;
	color: #49675a;
	font-size: 0.825rem;
}

.igg-price-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.igg-catalog-actions {
	display: grid;
	justify-items: center;
	gap: 8px;
}

.igg-catalog-actions .button {
	width: 100%;
	min-height: 42px;
	border-radius: 6px;
	background: #214e3b;
	color: #fff;
}

.igg-catalog-actions .button:hover,
.igg-catalog-actions .button:focus-visible {
	background: #153d2b;
	color: #fff;
}

.igg-catalog-actions a {
	color: #214e3b;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.igg-catalog-result {
	margin: 0 0 16px;
	color: #49675a;
}

.igg-catalog-item-status {
	display: block;
	font-size: 0.875em;
}

.igg-catalog-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 18px;
	margin-block-end: 16px;
}

.igg-catalog-toolbar .igg-catalog-result {
	margin: 0;
}

.igg-catalog-views {
	display: inline-flex;
	gap: 3px;
	padding: 3px;
	border: 1px solid #d6e0d7;
	border-radius: 8px;
	background: #f0f5f0;
}

.igg-catalog-views a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 5px 12px;
	border: 1px solid transparent;
	border-radius: 5px;
	color: #38564a;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.igg-catalog-views a:hover {
	color: #214e3b;
}

.igg-catalog-views a[aria-current="true"] {
	border-color: #bacdbf;
	background: #fff;
	color: #183a2c;
	font-weight: 700;
}

.igg-catalog-views a:focus-visible {
	outline: 2px solid #47765f;
	outline-offset: 2px;
}

.igg-product-list {
	display: grid;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.igg-product-list-item {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr) minmax(128px, 30%);
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 10px 14px 10px 10px;
	border: 1px solid #d6e0d7;
	border-radius: 8px;
	background: #fff;
}

.igg-product-list-image {
	display: block;
	overflow: hidden;
	border-radius: 5px;
	background: #f0f5f0;
}

.igg-product-list-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
}

.igg-product-list-information,
.igg-product-list-details {
	min-width: 0;
	overflow-wrap: anywhere;
}

.igg-product-list-title {
	margin: 0;
	color: #183a2c;
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.4;
}

.igg-product-list-title a {
	color: inherit;
}

.igg-product-list-title a:hover,
.igg-product-list-title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.igg-product-list-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin: 4px 0 0;
	color: #536d62;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.igg-product-list-details {
	display: grid;
	justify-items: end;
	gap: 4px;
	text-align: end;
}

.igg-product-list-details > * {
	margin-block: 0;
}

.igg-product-list-status {
	color: #49675a;
	font-size: 0.8125rem;
}

.igg-product-list-price {
	color: #214e3b;
	font-weight: 700;
}

.igg-product-list-details .button {
	max-width: 100%;
	min-height: 36px;
	white-space: normal;
}

@media (min-width: 861px) {
	.igg-catalog-sidebar {
		--igg-sticky-top: 16px;
		position: sticky;
		top: var(--igg-sticky-top);
	}

	.admin-bar .igg-catalog-sidebar {
		--igg-sticky-top: calc(16px + var(--wp-admin--admin-bar--height, 32px));
	}

	.igg-catalog-panel {
		max-height: calc(100vh - var(--igg-sticky-top) - 16px);
		max-height: calc(100dvh - var(--igg-sticky-top) - 16px);
		overflow-y: auto;
	}
}

@media (max-width: 860px) {
	.igg-catalog {
		grid-template-columns: minmax(0, 1fr);
	}

	.igg-catalog-panel > summary {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 48px;
		padding: 10px 16px;
		border-radius: 11px;
		color: #234434;
		font-weight: 650;
		cursor: pointer;
		list-style: none;
	}

	.igg-catalog-panel > summary::-webkit-details-marker {
		display: none;
	}

	.igg-catalog-panel > summary::after {
		width: 8px;
		height: 8px;
		margin-inline-start: auto;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		content: "";
		transform: rotate(45deg);
	}

	.igg-catalog-panel[open] > summary::after {
		transform: rotate(225deg);
	}

	.igg-catalog-panel [data-igg-filter-count] {
		padding: 1px 7px;
		border-radius: 5px;
		background: #dceadf;
		color: #234434;
		font-size: 0.8rem;
	}

	.igg-catalog-filters {
		padding: 8px 16px 16px;
	}

	.igg-catalog-filters .igg-check {
		min-height: 40px;
	}

	.igg-catalog-views a {
		min-height: 42px;
	}
}

@media (max-width: 540px) {
	.igg-product-list-item {
		grid-template-columns: 58px minmax(0, 1fr);
		column-gap: 10px;
		row-gap: 6px;
		align-items: start;
	}

	.igg-product-list-details {
		grid-column: 2;
		justify-items: start;
		text-align: start;
	}
}

.igg-price-restricted :is(.whb-header, .wd-toolbar) .wd-header-cart,
.igg-price-restricted .wd-tools-element.wd-header-cart {
	display: none;
}
