.minimog-wp-widget-filter {
	.filter-pseudo-link {
		display: none;
	}

	ul {
		display: flex;
		flex-wrap: wrap;

		li {
			display: flex;
			flex-wrap: wrap;
			list-style-type: none;
		}

		a {
			font-size: $body-font-size;
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			line-height: 26px;
			color: $text-color;

			&:hover {
				color: $heading-color;
			}
		}

		.chosen {
			> a {
				color: $heading-color;
			}
		}

		.count {
			font-size: 15px;
			font-weight: $body-font-weight;
			color: $text-lighten2-color;
			margin: 0 0 0 5px;
		}

		> li.disabled a,
		a.disabled {
			cursor: auto;
			opacity: .5;
		}

		&.single-choice {
			.chosen > a {
				cursor: auto;
			}
		}

		ul.children {
			margin: 6px 0 0 31px;
			width: 100%;

			&:empty {
				display: none !important;
			}
		}

		&.show-display-inline {
			flex-direction: row;

			li {
				margin: 0 10px 10px 0;
			}
		}

		&.show-display-list {
			flex-direction: column;

			li {
				+ li {
					margin: 8px 0 0;
				}
			}
		}

		&.show-items-count-off {
			.count {
				display: none;
			}
		}

		&.show-labels-off {
			&.list-style-color,
			&.list-style-image {
				li {
					.term-name {
						display: none;
					}

					.term-shape {
						margin: 0;
					}
				}
			}
		}

		&.list-style-normal {
			a {
				&:after {
					content: '';
					position: absolute;
					bottom: 5px;
					right: 0;
					width: 0;
					height: 1px;
					background: currentColor;
					transition: all .3s ease;
				}
			}

			.chosen > a,
			a:not(.disabled):hover {
				&:after {
					left: 0;
					right: auto;
					width: 100%;
				}
			}
		}

		&.list-style-checkbox {
			> li:not(.disabled) {
				a {
					&:hover:before {
						border-color: $heading-color;
					}
				}
			}

			a {
				position: relative;
				padding-left: 30px;

				&:before,
				&:after {
					@extend %NormalTransition;
					content: '';
					position: absolute;
					width: 18px;
					height: 18px;
					border-radius: 0;
					top: 4px;
					left: 0;
				}

				&:before {
					border: 1px solid #cacaca;
					background: #fff;
				}

				&:after {
					@extend %FontAwesomeRegular;
					content: $fa-check;
					font-size: 14px;
					line-height: 18px;
					text-align: center;
					transform: scale(0, 0);
					color: #fff;
					background: $heading-color;
				}
			}

			.chosen {
				> a {
					&:before {
						border-color: transparent;
					}

					&:after {
						transform: scale(1, 1);
					}
				}
			}
		}

		&.list-style-radio {
			> li:not(.disabled) {
				a {
					&:hover:before {
						border-color: $heading-color;
					}
				}
			}

			a {
				position: relative;
				padding-left: 30px;

				&:before,
				&:after {
					@extend %NormalTransition;
					content: '';
					position: absolute;
					top: 4px;
					left: 0;
					width: 18px;
					height: 18px;
					border-radius: 50%;
				}

				&:before {
					border: 1px solid #cacaca;
					background: #fff;
				}

				&:after {
					opacity: 0;
					width: 10px;
					height: 10px;
					background: $heading-color;
					transform: translate(4px, 4px);
				}
			}

			.chosen {
				> a {
					&:after {
						opacity: 1;
					}
				}
			}
		}

		&.list-style-color,
		&.list-style-image {
			.term-shape {
				position: relative;
				width: 32px;
				height: 32px;
				display: block;
				border-radius: 50%;

				.term-shape-border {
					@extend %NormalTransition;
					--size: 100%;
					display: block;
					position: absolute;
					top: 0;
					left: 0;
					width: var(--size);
					height: var(--size);
					border-radius: 50%;
					border: 1px solid $heading-color;
					opacity: 0;
				}

				.term-shape-bg {
					--size: 100%;
					transition: all .25s ease;
					display: block;
					position: absolute;
					top: 0;
					left: 0;
					width: var(--size);
					height: var(--size);
					border-radius: 50%;
					background-size: cover;
					background-position: center;
					background-repeat: no-repeat;
					box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
				}
			}

			li.chosen,
			a:hover {
				.term-shape-border {
					opacity: 1;
				}

				.term-shape-bg {
					transform: scale(.75);
					box-shadow: none;
				}
			}

			.term-name {
				margin: 0 0 0 6px;
			}

			&.show-labels-on {
				.term-link {
					&:before,
					&:after {
						display: none;
					}
				}
			}
		}

		&.list-style-text {
			a {
				color: $heading-color;
				border: 1px solid #bdbdbd;
				border-radius: 5px;
				font-size: 18px;
				line-height: 22px;
				padding: 9px;
				min-width: 42px;
				user-select: none;
				text-align: center;
			}

			.count {
				color: inherit;
			}

			.chosen > a,
			a:hover {
				background: $heading-color;
				border-color: $heading-color;
				color: #fff;
			}
		}
	}
}
