#category .container {
    display: flex;
}

#category-info #filter-open {
    display: none;
}

#sidebar {
    width: 300px;
    flex: 0 0 300px;
    background: #fff;
    padding: 0 10px 20px 0;
    box-sizing: border-box;
    overflow-y: auto;
}

#sidebar .list-group {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

#sidebar .list-group:last-of-type {
    margin-bottom: 0;
}

#filter-form > h3 {
    font-weight: 500;
    font-size: 21px;
    color: #5c5c5e;
    margin: 10px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ed0608;
}

#filter-form .list-group h4 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row nowrap;
    font-size: 16px;
    font-weight: 700;
    line-height: 17px;
    padding: 15px 25px 12px 25px;
    box-sizing: border-box;
    margin: 0;
    position: relative;
    background: #F5F7F8;
}

#filter-form .list-group.active h4 {
    margin: 0 0 30px 0;
}

#filter-form .list-group h4 span {
    width: 12px;
    height: 12px;
    cursor: pointer;
}

#filter-form .list-group h4 img {
    font-size: 0;
    width: 100%;
    max-width: 100%;
}

#filter-form .list-group > div {
    display: none;
}

#filter-form .list-group.active > div {
    display: block;
}

#filter-form .slimScrollDiv {
    width: 100% !important;
}

#filter-form .list-group.active h4 span {
    transform: rotate(180deg);
}


#filter-form .list-group .lbl-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: start;
    width: fit-content;
    font-size: 14px;
    line-height: 15px;
    font-weight: 400;
    color: #151C20;
    box-sizing: border-box;
    position: relative;
    padding: 0 0 0 50px;
    margin-bottom: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#filter-form .list-group .lbl-checkbox-label:last-of-type {
    margin: 0;
}


#filter-form .list-group .lbl-checkbox-input {
    margin: 0;
    padding: 0;
    height: 0;
    display: none;
}

#filter-form .list-group .lbl-checkbox-label::before {
    border: 1px solid #000000;
    border-radius: 2px;
    background: transparent;
    width: 17px;
    height: 17px;
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
    box-sizing: border-box;
}

#filter-form .list-group .lbl-checkbox-input:checked + .lbl-checkbox-label::before {
    background: #ed0608;
    border: 1px solid #ed0608;
}

#filter-form .list-group .lbl-checkbox-input:checked + .lbl-checkbox-label {
    color: #ed0608;
}

#filter-form .list-group .lbl-checkbox-input:checked + label::after {
    content: '';
    position: absolute;
    z-index: 3;
    top: 45%;
    transform: translateY(-50%) rotate(135deg);
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    left: 63px;
    background: transparent;
    width: 10px;
    height: 5px;
    box-sizing: border-box;
}

#filter-form .list-group-container {
    padding-top: 5px;
}

.noUi-connect {
    background: #ed0608 !important;
}

.noUi-horizontal .noUi-handle:last-child {
    right: -10px !important;
}

.noUi-handled-fields {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.noUi-field {
    width: 40px;
    border: 0;
    border-bottom: 1px solid #707070;
    padding: 5px;
    font-size: 14px;
    text-align: center;
}


.noUi-horizontal .noUi-handle {
    width: 14px !important;
    height: 14px !important;
    border-radius: 5px;
    top: -5px !important;
    outline-style: none;
}

.noUi-touch-area {
    background: #151C20 !important;
    border-radius: 5px;
    cursor: pointer;
}

.noUi-handle:after, .noUi-handle:before {
    display: none !important;
}


.noUi-connects {
    background: #F0DDC6 !important;
}

.noUi-base, .noUi-connects {
    height: 4px !important;;
}

.noUi-target {
    background: #ffffff !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0;
}

#sidebar .slider-container {
    width: 100%;
    padding: 0 15px 0 15px;
    box-sizing: border-box;
}

#sidebar .slider-container .fltr-prcs {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

#sidebar .slider-container .fltr-prcs input::-webkit-outer-spin-button,
#sidebar .slider-container .fltr-prcs input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#sidebar .slider-container .fltr-prcs input[type=number] {
    -moz-appearance: textfield;
}

#sidebar .slider-container .fltr-prcs label {
    display: none;
}

#sidebar .slider-container .fltr-prcs input {
    width: 45px;
    background: #F3F5F6;
    box-sizing: border-box;
    text-align: center;
    border-radius: 3px;
    padding: 6px 4px;
    font-size: 16px;
    line-height: 17px;
    color: #000;
    border: none;
}

#products {
    flex-grow: 1;
    box-sizing: border-box;
}

#products h1 {
    font-size: 21px;
    color: #5c5c5e;
    padding-left: 10px;
    font-weight: 500;
    line-height: 25px;
    margin-bottom: 0;
}

#category-info {
    margin: -10px 0 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
}

#category-info .total_pro {
    font-size: 13px;
    color: #5c5c5e;
    margin-bottom: -40px;
    padding-left: 10px;
}

#category-info .orderby {
    width: 210px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 15px 10px 15px;
}

#category-info .orderby .orderby_cont {
    width: 100%;
    background: #fff;
    position: relative;
    box-shadow: 0px 1px 5px #0000001F;
}

#category-info .orderby select {
    cursor: pointer;
    border: none;
    width: 100%;
    padding: 15px 40px 12px 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 17px;
    color: #000000;
    font-weight: 400;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    position: relative;
    background: transparent;
    z-index: 5;
}

#category-info .orderby::after {
    position: absolute;
    right: 35px;
    top: 48%;
    transform: translateY(-50%) rotate(135deg);
    content: '';
    width: 7px;
    height: 7px;
    background: transparent;
    border-top: 2px solid #151C20;
    border-right: 2px solid #151C20;
}

.allproducts .glbprdr {
    display: flex;
    height: auto;
    flex: 0 0 calc(33.3% - 15px);
    margin: 0 15px 20px 0;
    box-sizing: border-box;
    flex-direction: column;
}

.allproducts .glbprdr .tags {
    position: absolute;
    top: 18px;
    left: 18px;
}

.allproducts .glbprdr .new {
    color: #fff;
    background: #e60e3d;
    padding: 5px 9px;
    height: 18px;
    font-size: 12px;
    align-items: center;
}

#pagination {
    margin: 75px auto;
}

#pagination .pagination {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    flex-flow: wrap;
}

#pagination .pagination li {
    margin-bottom: 5px;
    margin-right: 8px;
}

#pagination .pagination li:last-of-type {
    margin-right: 0;
}

#pagination .pagination a {
    display: block;
    padding: 6px 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 17px;
    color: var(--main-color);
}

#pagination .pagination .active {
    border-bottom: 3px solid #ed0608;
}

#pagination .pagination .active a {
    color: #ed0608;
    font-weight: 500;
}

#pagination .pagination li a span {
    position: relative;
}

#pagination .pagination li a span::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    width: 6px;
    height: 6px;
    background: transparent;
}

#pagination .pagination li a span::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    width: 6px;
    height: 6px;
    background: transparent;
}

@media only screen and (max-width: 986px) {

    #sidebar {
        padding: 0 20px 20px 0;
    }

    #sidebar .list-group h4 {
        padding: 15px 12px;
    }

    #products h1 {
        margin: 0;
        padding-top: 10px;
    }

    #filter-form .list-group .lbl-checkbox-label {
        padding-left: 40px;
    }

    #filter-form .list-group .lbl-checkbox-label::before {
        left: 10px;
    }

    #filter-form .list-group .lbl-checkbox-input:checked + label::after {
        left: 13px;
    }

    #sidebar .slider-container {
        padding: 0 15px;
    }

    #sidebar .slider-container .fltr-prcs {
        justify-content: space-evenly;
    }
}

@media only screen and (max-width: 900px) {

    #products h1 {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 10px;
    }

    #sidebar {
        left: -320px;
        position: fixed;
        z-index: 1000;
        transition: left 0.5s ease-in-out;
        box-sizing: border-box;
        height: 100%;
        top: 0;
    }

    #sidebar.open {
        padding: 20px 20px;
        left: 0;
    }

    #category-info .total_pro {
        font-size: 15px;
        margin: 0 auto -38px 0;
    }

    #category-info #filter-open {
        display: inline-block;
        padding: 12px;
        font-size: 16px;
        box-sizing: border-box;
        background: #ed0608;
        color: #fff;
        margin-top: 7px;
        transition: all 0.3s ease-in-out;
    }


    #close_filter {
        position: absolute;
        right: 20px;
        top: 10px;
        width: 18px;
        height: 18px;
    }

    #close_filter::before {
        content: '';
        background: #000;
        height: 2px;
        width: 17px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(-135deg);
    }

    #close_filter::after {
        content: '';
        background: #000;
        height: 2px;
        width: 17px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    #category-info .orderby {
        width: 170px;
    }

    #category-info .orderby::after {
        top: 50%;
    }

    .allproducts .glbprdr {
        flex: 0 0 calc(33% - 7px);
        width: calc(33% - 7px);
        margin: 0 10px 10px 0;
    }


    .allproducts .glbprdr:nth-child(3n) {
        margin: 0 10px 10px 0;
    }

    .allproducts .glbprdr:nth-child(2n) {
        margin: 0 0 10px 0;
    }

}

@media only screen and (max-width: 640px) {

    .allproducts .glbprdr {
        flex: 0 0 calc(50% - 7px);
        width: calc(50% - 7px);
    }
}

@media only screen and (max-width: 480px) {

    #sidebar {
        width: 100%;
        left: -480px;
    }

    #category-info .orderby select,
    #category-info #filter-open {
        font-size: 14px;
    }

    #pagination .pagination {
        margin: 0 0 20px 0;
    }

    .allproducts .glbprdr {
        flex: 0 0 calc(100% - 7px);
        width: calc(100% - 7px);
    }

}


@media only screen and (max-width: 400px) {

    #category-info .total_pro {
        font-size: 14px;
    }

}