/* Spacious, restrained styling for the existing product category sidebar. */
.inner-page .container .pro-nav .sidebar-nav:has(.nbwccl-category-panel) {
    display: block !important;
    padding: 0;
    background: #fff;
}
.sidebar-nav .nbwccl-product-directory,
.sidebar-nav .nbwccl-category-panel li {
    margin: 0 !important;
    padding: 0;
    list-style: none;
}
.sidebar-nav .nbwccl-category-panel ul { margin: 0; padding: 0; list-style: none; }
.sidebar-nav .nbwccl-category-panel {
    --nbwccl-category-red: #ee0b05;
    color: #202226;
    background: #fff;
    border: 1px solid #eeefec;
    padding: 18px 14px 14px;
    font-family: 'Roboto-Regular', Arial, Helvetica, sans-serif;
}
.sidebar-nav .nbwccl-category-panel * { box-sizing: border-box; }
.sidebar-nav .nbwccl-category-toolbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 0 0 22px;
    border-bottom: 1px solid #eeefec;
    background: #fff;
}
.sidebar-nav .nbwccl-category-toolbar::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--nbwccl-category-red);
    content: '';
}
.sidebar-nav .nbwccl-category-heading {
    flex: 1 1 110px;
    min-width: 0;
    font-family: 'roboto-medium', 'Roboto-Regular', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.3px;
    text-transform: none;
}
.sidebar-nav .nbwccl-category-all,
.sidebar-nav .nbwccl-category-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: #65686d;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    transition: color .18s, background-color .18s, border-color .18s;
}
.sidebar-nav .nbwccl-category-all {
    flex: none;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #e4e5e1;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}
.sidebar-nav .nbwccl-category-panel .nbwccl-category-tree { padding: 0; }
.sidebar-nav .nbwccl-category-tree > .nbwccl-category-item { margin-bottom: 4px !important; }
.sidebar-nav .nbwccl-category-tree > .nbwccl-category-item:last-child { margin-bottom: 0 !important; }
.sidebar-nav .nbwccl-category-row {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 0;
    border-radius: 5px;
    transition: background-color .18s;
}
.inner-page .container .pro-nav .sidebar-nav .nbwccl-category-panel .nbwccl-category-row > a {
    display: block;
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 15px 18px;
    border: 0;
    background: transparent;
    color: #202226;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .18s;
}
.inner-page .container .pro-nav .sidebar-nav .nbwccl-category-panel .nbwccl-category-row > a::before { content: none; }
.sidebar-nav .nbwccl-category-row:hover { background: #f6f7f4; }
.sidebar-nav .nbwccl-category-item.active > .nbwccl-category-row { background: #fff0ef; }
.sidebar-nav .nbwccl-category-item.active > .nbwccl-category-row::before {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: var(--nbwccl-category-red);
    content: '';
}
.inner-page .container .pro-nav .sidebar-nav .nbwccl-category-panel .nbwccl-category-row > a:hover,
.inner-page .container .pro-nav .sidebar-nav .nbwccl-category-panel .active > .nbwccl-category-row > a { color: var(--nbwccl-category-red); }
.sidebar-nav .nbwccl-category-toggle {
    flex: 0 0 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-right: 8px;
    padding: 0;
    border-radius: 6px;
}
.sidebar-nav .nbwccl-category-chevron {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .22s;
}
.sidebar-nav .nbwccl-category-toggle[aria-expanded="true"] .nbwccl-category-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.sidebar-nav .nbwccl-category-panel .nbwccl-product-subcategories {
    margin: 7px 0 9px 20px;
    padding-left: 14px;
    border-left: 1px solid #e9eae6;
}
.sidebar-nav .nbwccl-product-subcategories .nbwccl-category-row { min-height: 44px; }
.inner-page .container .pro-nav .sidebar-nav .nbwccl-category-panel .nbwccl-product-subcategories .nbwccl-category-row > a {
    padding: 11px 14px;
    font-size: 14px;
    line-height: 1.5;
    text-transform: none;
}
.sidebar-nav .nbwccl-product-subcategories .nbwccl-category-item.active > .nbwccl-category-row::before { top: 10px; bottom: 10px; }
.sidebar-nav .nbwccl-category-panel [hidden] { display: none !important; }
.sidebar-nav .nbwccl-category-panel button:hover,
.sidebar-nav .nbwccl-category-toggle[aria-expanded="true"] { color: var(--nbwccl-category-red); }
.sidebar-nav .nbwccl-category-panel button:hover { background: #fff0ef; border-color: #f4cac7; }
.sidebar-nav .nbwccl-category-panel a:focus-visible,
.sidebar-nav .nbwccl-category-panel button:focus-visible { outline: 2px solid var(--nbwccl-category-red); outline-offset: 2px; }
@media (pointer: coarse) {
    .sidebar-nav .nbwccl-category-toggle { flex-basis: 44px; height: 44px; }
    .sidebar-nav .nbwccl-category-all { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .sidebar-nav .nbwccl-category-panel * { transition: none !important; }
}
