/* Woo Vertical Category Menu with collapsible toggles */
.wvcm { font-size: 15px; }
.wvcm__list { list-style: none; margin: 0; padding: 0; }
.wvcm__item { margin: 0; }
.wvcm__item + .wvcm__item { margin-top: 6px; }

.wvcm__row { display: flex; align-items: center; gap: 6px; }
.wvcm__toggle {
	border: 0;
	background: none;
	padding: 4px;
	line-height: 1;
	cursor: pointer;
}
.wvcm__toggle:focus { outline: 2px solid currentColor; outline-offset: 2px; }
.wvcm__toggle-icon { display: inline-block; width: 12px; height: 12px; position: relative; }
.wvcm__toggle-icon::before,
.wvcm__toggle-icon::after {
	content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%);
	background: currentColor;
}
.wvcm__toggle-icon::after { transform: translateY(-50%) rotate(90deg); }

/* Links */
.wvcm__link { text-decoration: none; display: inline-block; padding: 8px 10px; border-radius: 6px; }
.wvcm__count { opacity: .7; font-size: .9em; }

/* Indentation for levels */
.wvcm__level-0 > .wvcm__item .wvcm__sublist { margin-left: 12px; }
.wvcm__item--level-2 > .wvcm__sublist { margin-left: 12px; }
.wvcm__item--level-3 > .wvcm__sublist { margin-left: 12px; }

/* Active/ancestor states */
.wvcm__item.is-current > .wvcm__row > .wvcm__link,
.wvcm__item.is-current > .wvcm__link { font-weight: 600; outline: 1px solid currentColor; }
.wvcm__item.is-ancestor > .wvcm__row > .wvcm__link,
.wvcm__item.is-ancestor > .wvcm__link { text-decoration: underline; }

/* Collapsed state */
.wvcm__sublist.is-collapsed { display: none; }
