.bb-product-filter-categories {
    background: #fff;
    border: 1px solid #ece9f0;
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(31, 20, 43, 0.06);
    padding: 22px 18px;
}

.bb-product-filter-categories .bb-product-filter-title {
    border-bottom: 1px solid #ece9f0;
    color: #25212a;
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 12px;
    padding-bottom: 13px;
}

.bb-product-filter-categories .bb-product-filter-content {
    padding-inline-end: 3px;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items {
    margin: 0;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item {
    margin-bottom: 6px;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row {
    align-items: center;
    display: flex;
    gap: 8px;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > .bb-product-filter-link {
    align-items: center;
    border-radius: 10px;
    color: #514d57;
    display: flex;
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 500;
    gap: 10px;
    line-height: 1.35;
    min-height: 46px;
    min-width: 0;
    padding: 6px 8px 6px 7px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > .bb-product-filter-link > svg,
.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > .bb-product-filter-link > img {
    background: rgba(126, 74, 166, 0.1);
    border-radius: 8px;
    box-sizing: content-box;
    color: var(--color-1st);
    flex: 0 0 20px;
    height: 20px;
    margin: 0;
    object-fit: contain;
    padding: 6px;
    width: 20px;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > .bb-product-filter-link:hover,
.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > .bb-product-filter-link.active {
    background: rgba(126, 74, 166, 0.08);
    color: var(--color-1st);
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > [data-bb-toggle='toggle-product-categories-tree'] {
    align-items: center;
    background: rgba(126, 74, 166, 0.08);
    border: 0;
    border-radius: 8px;
    color: #777181;
    display: flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 30px;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > [data-bb-toggle='toggle-product-categories-tree']:hover,
.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > [data-bb-toggle='toggle-product-categories-tree'].active {
    background: rgba(126, 74, 166, 0.12);
    color: var(--color-1st);
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-category-row > [data-bb-toggle='toggle-product-categories-tree'] svg {
    height: 17px;
    margin: 0;
    width: 17px;
}

.bb-product-filter-categories .bb-product-filter-content > .bb-product-filter-items > .bb-product-filter-item > .bb-product-filter-items {
    border-inline-start: 1px solid #ded8e5;
    margin: 4px 0 8px 23px;
    padding-inline-start: 17px !important;
}

.bb-product-filter-categories .bb-product-filter-content .bb-product-filter-items .bb-product-filter-items .bb-product-filter-item {
    margin-bottom: 1px;
}

.bb-product-filter-categories .bb-product-filter-content .bb-product-filter-items .bb-product-filter-items .bb-product-filter-category-row {
    align-items: center;
    display: flex;
    gap: 7px;
}

.bb-product-filter-categories .bb-product-filter-content .bb-product-filter-items .bb-product-filter-items .bb-product-filter-link {
    border-radius: 8px;
    color: #69636f;
    font-size: 14px;
    flex: 1 1 auto;
    font-weight: 400;
    line-height: 1.4;
    min-height: 34px;
    min-width: 0;
    padding: 6px 9px;
}

.bb-product-filter-categories .bb-product-filter-content .bb-product-filter-items .bb-product-filter-items .bb-product-filter-link:hover,
.bb-product-filter-categories .bb-product-filter-content .bb-product-filter-items .bb-product-filter-items .bb-product-filter-link.active {
    background: rgba(126, 74, 166, 0.07);
    color: var(--color-1st);
}

.bb-product-filter-categories .bb-product-filter-content .bb-product-filter-items .bb-product-filter-items [data-bb-toggle='toggle-product-categories-tree'] {
    align-items: center;
    background: rgba(126, 74, 166, 0.07);
    border: 0;
    border-radius: 7px;
    color: #777181;
    display: flex;
    flex: 0 0 28px;
    height: 28px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 28px;
}
