.after-header {
    padding: 15px 0 0;
}
.top-bar .custom-selects {
    display: inline-block;
}
.top-bar .custom-selects select#input-limit {
    padding: 6px;
    margin-left: 10px;
    border-radius: 3px;
    border: 1px solid rgb(21 126 210 / 11%);
}
.product-categories column#column-left {
    max-width: 250px;
}
.product-categories #content {
    flex: 1 1 auto;
    max-width: calc(100%);
}
.bottom-bar {
    padding-top: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 3px solid var(--main);
}
.category_nav.list-group {
    background-color: var(--bs-white);
    padding: 10px 5px;
    box-shadow: 0 0px 1px 1px rgb(21 126 210 / 11%);
    border-radius: 10px;
}
.list-group-item {
    display: block;
}
.category_nav.list-group a {
    border: medium none;
    border-radius: 30px;
    color: #000;
    padding: 5px;
    position: relative;
    background: none;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.category_nav.list-group  .list-group-item:hover, .category_nav.list-group  .list-group-item.active {
    background: #f1f3f5;
    color: black;
    font-size: 14px;
    transition: 0.3s ease-in-out;
    border-left: 8px solid var(--main);
}

/*
* Side Module for category
*/

/* ===================
Module CATEGORY section
===================== */


/* =========================================
   CATEGORY ACCORDION
========================================= */

.category_nav {
    width: 100%;
    overflow: visible;
}

.category-item {
    width: auto;
    border-bottom: 1px solid var(--border-bottom);
    max-width: 100%;
    display: block;
}

/* =========================================
   CATEGORY ROW
========================================= */

.category-link-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.category-link {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 5px 12px;
    color: var(--textColor);
    text-decoration: none;
    font-size: 13px;
    line-height: 20px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.category-link:hover {
    color: var(--textColor-2);
    text-decoration: none;
}

.category-link.active {
    color: var(--textColor-2);
    font-weight: 600;
}


/* =========================================
   TOGGLE BUTTON
========================================= */

.category-toggle {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--textColor);

    cursor: pointer;
}

.category-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

.category-toggle:focus {
    outline: none;
    box-shadow: none;
}

.category-toggle i {
    font-size: 12px;

    transition:
        transform 0.3s ease;
}

.category-toggle.open i {
    transform: rotate(180deg);
}


/* =========================================
   SUB CATEGORY
========================================= */

.category-children {
    max-height: 0;

    overflow: hidden;

    background: rgba(0, 0, 0, 0.025);

    transition:
        max-height 0.35s ease;
}


/*
IMPORTANT:
Do NOT use:

display: none;
position: absolute;
position: fixed;

here.

The submenu must remain in normal document flow.
*/


/* =========================================
   LEVEL 2
========================================= */

.child-item > .category-link-row > .category-link {
    padding-left: 28px;
    font-size: 12px;
}


/* =========================================
   LEVEL 3
========================================= */

.category-children.level-3 {
    background: rgba(0, 0, 0, 0.035);
}

.category-children.level-3 .category-link {
    padding-left: 48px;
    font-size: 11px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    .category-link {
        min-height: 45px;

        display: flex;
        align-items: center;
    }

    .category-toggle {
        width: 45px;
        height: 45px;
        flex: 0 0 45px;
    }

    .child-item > .category-link-row > .category-link {
        padding-left: 30px;
    }

    .category-children.level-3 .category-link {
        padding-left: 50px;
    }

}
