
.wd-filter-list .count {
	padding-right: 5px;
	padding-left: 5px;
	min-width: 30px;
	height: 20px;
	border: 1px solid var(--brdcolor-gray-300);
	border-radius: 35px;
	color: var(--color-gray-500);
	text-align: center;
	font-size: 12px;
	line-height: 18px;
	transition: color .25s ease, background-color .25s ease, border-color .25s ease;
	margin-inline-start: 5px;
}

.wd-filter-list .chosen .count, .wd-filter-list a:hover + .count, .wd-filter-list a:focus + .count {
	color: #fff;
	background-color: var(--wd-primary-color);
	border-color: var(--wd-primary-color);
}

.wd-filter-list {
	--swatch-height: 25px;
	--swatch-width: 25px;
	--swatch-icon-size: 12px;
	--swatch-text-size: 16px;
}

.wd-filter-list.swatches-small {
	--swatch-height: 15px;
	--swatch-width: 15px;
	--swatch-icon-size: 8px;
	--swatch-text-size: 14px;
}

.wd-filter-list.swatches-large {
	--swatch-height: 35px;
	--swatch-width: 35px;
	--swatch-icon-size: 14px;
	--swatch-text-size: 18px;
}

.wd-filter-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 5px;
}

.wd-filter-list a {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	padding-top: 5px;
	padding-bottom: 5px;
}

.wd-filter-list .chosen a {
	color: var(--color-gray-800);
	font-weight: 600;
}

.wd-filter-list.wd-scroll-content {
	padding-inline-end: 5px;
}

.filter-swatch + .filter-name {
	margin-inline-start: 10px;
}

.filter-swatch {
	position: relative;
	display: block;
	transition: all .25s ease;
}

.filter-swatch img, .filter-swatch picture {
	height: 100%;
	width: 100%;
	object-fit: contain;
	border-radius: inherit;
}

.filter-swatch.with-bg {
	font-size: 0;
	width: var(--swatch-width);
	height: var(--swatch-height);
	border-radius: 50%;
}

.filter-swatch.with-bg:not([style^="background-color"]), .filter-swatch.with-bg[style*="#ffffff"], .filter-swatch.with-bg[style*="#FFFFFF"], .filter-swatch.with-bg[style*="255,255,255"] {
	border: 1px solid rgba(0, 0, 0, .15);
}

.filter-swatch.with-bg:after, .filter-swatch.with-bg:before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: inherit;
	background-color: rgba(0, 0, 0, .1);
	color: #fff;
	font-size: var(--swatch-icon-size);
	font-weight: 600;
	opacity: 0;
	transition: inherit;
	content: "";
	font-family: "woodmart-font";
}

.filter-swatch.with-bg:before {
	font-size: calc(var(--swatch-icon-size) - 2px);
	content: "";
}

a:hover .filter-swatch.with-bg:after {
	opacity: 1;
}

.woodmart-woocommerce-layered-nav a:focus .filter-swatch.with-bg:after {
	opacity: 1;
}

.chosen .filter-swatch.with-bg:after {
	opacity: 1;
}

.chosen a:hover .filter-swatch.with-bg:after {
	opacity: 0;
}

.chosen a:hover .filter-swatch.with-bg:before {
	opacity: 1;
}

.filter-swatch.with-text {
	color: var(--color-gray-800);
	font-size: var(--swatch-text-size);
	font-weight: 600;
	min-width: 22px;
	text-align: center;
}

.filter-swatch.with-text:after {
	content: "";
	position: absolute;
	top: calc(100% + 1px);
	right: 0;
	left: 0;
	border-bottom: 2px solid var(--color-gray-800);
	opacity: 0;
	transition: inherit;
}

.filter-swatch.with-text + span {
	display: none;
}

a:hover .filter-swatch.with-text, a:focus .filter-swatch.with-text {
	color: var(--color-gray-500);
}

.chosen .filter-swatch.with-text:after {
	opacity: 1;
}

.wd-filter-list.swatches-brands {
	--swatch-height: 30px;
	--swatch-width: 60px;
}

.wd-filter-list.swatches-brands.swatches-small {
	--swatch-width: 45px;
}

.wd-filter-list.swatches-brands.swatches-large {
	--swatch-height: 40px;
	--swatch-width: 90px;
}

.wd-filter-list.swatches-brands .filter-swatch {
	border-radius: 0;
	border: none !important;
}

.wd-filter-list.swatches-brands .filter-swatch:after, .wd-filter-list.swatches-brands .filter-swatch:before {
	content: none;
}

.wd-filter-list.swatches-brands a:hover .filter-swatch, .wd-filter-list.swatches-brands a:focus .filter-swatch, .wd-filter-list.swatches-brands .chosen .filter-swatch {
	opacity: .5;
}

.wd-filter-list.show-labels-off .filter-swatch + span, .wd-filter-list.show-labels-off .count {
	display: none;
}

.wd-filter-list.swatches-display-double, .wd-filter-list.swatches-display-inline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.wd-filter-list.swatches-display-double {
	justify-content: space-between;
}

.wd-filter-list.swatches-display-double li {
	flex: 1 1 48%;
	max-width: 48%;
}

.wd-filter-list.swatches-display-inline {
	margin-bottom: -10px;
}

.wd-filter-list.swatches-display-inline li {
	margin-bottom: 10px;
	margin-inline-end: 10px;
}

.wd-filter-list.swatches-display-inline a {
	padding: 0;
}

.wd-widget-layered-nav-dropdown-form, .woocommerce-widget-layered-nav-dropdown {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.wd-widget-layered-nav-dropdown-form select[multiple="multiple"], .woocommerce-widget-layered-nav-dropdown select[multiple="multiple"] {
	overflow: hidden;
	background-image: none;
}

.wd-widget-layered-nav-dropdown-form select[multiple="multiple"].nitro-lazy, .woocommerce-widget-layered-nav-dropdown select[multiple="multiple"].nitro-lazy {
	background-image: none !important;
}

.wd-widget-layered-nav-dropdown-form select[multiple="multiple"] option, .woocommerce-widget-layered-nav-dropdown select[multiple="multiple"] option {
	margin-top: 9px;
	padding: 0;
	background-color: transparent;
}

.wd-widget-layered-nav-dropdown-form select[multiple="multiple"] option:not(:first-child), .woocommerce-widget-layered-nav-dropdown select[multiple="multiple"] option:not(:first-child) {
	display: none;
}

.wd-widget-layered-nav-dropdown__submit, .woocommerce-widget-layered-nav-dropdown__submit {
	margin-top: 20px;
	padding: 10px 14px;
	font-size: 12px;
	line-height: 16px;
}

@media (max-width: 1024px) {
	.wd-filter-list.wd-scroll-content {
		padding-inline-end: 10px;
	}
}
