:root {
    --sidebar-w: 280px;
    --sidebar-w2: 180px;
    --sidebar-mob: 290px;
}

.sidebar {
    width: var(--sidebar-w);
}
.sidebar h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.sidebar .widget {
    margin-bottom: 22px;
}
.sidebar ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 2.3;
}
.sidebar a {
    color: var(--bs-dark);
    font-size: 14px;
}
.sidebar .active a {
    color: var(--bs-primary);
    font-weight: 600;
}
._close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 10px 15px 20px;
    border-bottom-left-radius: 50px;
    background-color: var(--primary);
    color: #fff;
}
._close:active {
    transform: scale(1.1);
}

.prd-wrap {
    width: calc(100% - var(--sidebar-w));
    padding-left: 30px;
}
.prd-wrap .card {
    width: calc(100% / 4 - 15px);
}


@media screen and (max-width: 1040px) {
    .sidebar {
        width: var(--sidebar-w2);
    }
    .prd-wrap {
        width: calc(100% - var(--sidebar-w2));
    }
    .prd-wrap .card {
        width: calc(100% / 3 - 15px);
    }
}
@media screen and (max-width: 800px) {
    .prd-wrap .card {
        width: calc(100% / 2 - 15px);
    }
}
@media screen and (max-width: 680px) {
    .sidebar {
        opacity: 0;
        margin-left: -110%;
        transition: 300ms;
        position: fixed !important;
        top: 0;
        left: 0;
        width: var(--sidebar-mob);
        z-index: 13;
        background-color: #fff;
        height: 100vh;
        padding: 25px 20px 20px;
        box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
        position: relative;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .prd-wrap {
        width: 100%;
        padding: 0;
    }
    .prd-wrap .container {
        padding: 0 !important;
    }
    ._close {
        display: block !important;
    }
}