.wl-ptypes {
	--wl-ptypes-icon-size: 23px;
	margin: 0 0 1.25rem;
}

.wl-ptypes__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 0.4rem;
}

.wl-ptypes__heading {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.3;
	font-weight: 600;
}

.wl-ptypes__clear {
	flex-shrink: 0;
	margin: 0;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: underline;
	color: inherit;
}

.wl-ptypes__clear:hover,
.wl-ptypes__clear:focus-visible {
	opacity: 0.8;
}

.wl-ptypes__clear[hidden] {
	display: none !important;
}

.wl-ptypes__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-ptypes:not(.is-expanded) .wl-ptypes__item--more {
	display: none;
}

.wl-ptypes__item a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 999px;
	text-decoration: none;
	color: #000;
	border: 1px solid transparent;
	background: transparent;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.wl-ptypes__item a:hover,
.wl-ptypes__item a:focus-visible {
	background: rgba(0, 0, 0, 0.05);
}

.wl-ptypes .wl-ptypes__item.is-active > a,
.wl-ptypes .wl-ptypes__item > a.is-active {
	background: #fff;
	color: #000;
}

.wl-ptypes .wl-ptypes__item.is-active > a:hover,
.wl-ptypes .wl-ptypes__item.is-active > a:focus-visible,
.wl-ptypes .wl-ptypes__item > a.is-active:hover,
.wl-ptypes .wl-ptypes__item > a.is-active:focus-visible {
	background: #fff;
	color: #000;
}

.wl-ptypes__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	visibility: hidden;
}

.wl-ptypes .wl-ptypes__item.is-active .wl-ptypes__check,
.wl-ptypes .wl-ptypes__item > a.is-active .wl-ptypes__check {
	visibility: visible;
}

.wl-ptypes__check svg {
	display: block;
	width: 16px;
	height: 16px;
}

.wl-ptypes__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--wl-ptypes-icon-size);
	height: var(--wl-ptypes-icon-size);
	flex-shrink: 0;
	color: #000;
}

.wl-ptypes__icon .wl-ms-icon {
	display: block;
	width: var(--wl-ptypes-icon-size);
	height: var(--wl-ptypes-icon-size);
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	font-size: var(--wl-ptypes-icon-size);
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 23;
}

.wl-ptypes__label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 500;
	color: #000;
}

.wl-ptypes__more {
	display: inline-block;
	margin: 0.35rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 0.85rem;
	text-decoration: underline;
	cursor: pointer;
}

.wl-ptypes__more:hover,
.wl-ptypes__more:focus-visible {
	opacity: 0.8;
}

@media only screen and (max-width: 900px) {
	.wl-ptypes {
		margin-bottom: 0.85rem;
	}

	.wl-ptypes__list {
		flex-direction: row;
		overflow-x: auto;
		gap: 8px;
		padding: 2px 2px 8px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.wl-ptypes__item {
		flex: 0 0 auto;
	}

	.wl-ptypes__item a {
		flex-direction: column;
		justify-content: flex-start;
		min-width: 78px;
		max-width: 96px;
		padding: 8px 8px 6px;
		text-align: center;
		gap: 4px;
	}

	.wl-ptypes__label {
		font-size: 0.98rem;
		line-height: 1.2;
	}
}
