/* Brand archive: replace HUSKY's all-site category dropdown and brand list with the brand's own categories. */
.tax-product_brand .woof_container_product_cat,
.tax-product_brand .woof_container_product_brand,
.tax-product_brand .woof_container_productbrands {
	display: none !important;
}

.bb-brand-cats {
	margin-bottom: 32px;
}

.bb-brand-cats__title {
	margin: 0 0 14px;
	font-size: 20px;
	line-height: 1.3;
}

.bb-brand-cats__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bb-brand-cats__list .bb-brand-cats__list {
	margin: 2px 0 6px 14px;
	padding-left: 10px;
	border-left: 1px solid #efe2df;
}

.bb-brand-cats__item {
	margin: 0;
}

.bb-brand-cats a,
.bb-brand-cats__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 8px;
	color: #2b2326;
	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
}

.bb-brand-cats a:hover,
.bb-brand-cats a:focus-visible {
	background: #fbf1ef;
	color: #b85c6b;
}

.bb-brand-cats .is-active > a,
.bb-brand-cats .is-active > details > summary > a,
.bb-brand-cats__all.is-active {
	background: #fbf1ef;
	color: #b85c6b;
	font-weight: 600;
}

.bb-brand-cats__all {
	margin-bottom: 4px;
	font-weight: 600;
}

.bb-brand-cats__count {
	flex: 0 0 auto;
	min-width: 28px;
	padding: 1px 8px;
	border-radius: 999px;
	background: #f5ecea;
	color: #7a6c70;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
}

.bb-brand-cats summary {
	display: flex;
	align-items: center;
	list-style: none;
	cursor: pointer;
}

.bb-brand-cats summary::-webkit-details-marker {
	display: none;
}

.bb-brand-cats summary > a {
	flex: 1 1 auto;
}

.bb-brand-cats summary::after {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin: 0 8px 0 4px;
	border-right: 1.5px solid #7a6c70;
	border-bottom: 1.5px solid #7a6c70;
	transform: rotate(-45deg);
	transition: transform 0.2s ease;
}

.bb-brand-cats details[open] > summary::after {
	transform: rotate(45deg);
}
