.main-shop {
    padding: 8%;
    /* margin-top: 80px; */
}

.product-header {
    background-color: #f2f2f2;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    margin-top: 25px;
}

.product-header .menu-icon {
    display: flex;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    visibility: hidden;
}

.product-header-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-header-right span {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-right: 4px;
}

.product-header-right #sort {
    border-radius: 0;
    min-width: auto;
    min-height: auto;
    border: none;
    background-color: transparent;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    padding: 12px;
    color: #000;
}

#productCount {
    margin-left: 6px;
}

.main-shop .container {
    position: relative;
}

.aside {
    width: 250px;
    position: absolute;
    top: 20px;
    left: 0px;
    background-color: #f2f2f2;
    overflow-x: hidden;
    transition: 0.5s;
    padding: 60px 30px;
    z-index: 1;
}

.aside h2 {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 8px;
}

.shop_categories a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.shop_categories a.active,
.shop_categories a:hover {
    color: #333333;
}

/*---------------- products ---------------------*/
.products {
    margin-left: 0;
    padding: 16px;
    flex-grow: 1;
    transition: margin-left 0.5s;
    width: 100%;
    padding-left: 270px;
}

.products .content {
    display: grid;
    gap: 20px;
    padding: 16px;
}

.product-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-img {
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: all 1s linear;
    min-height: 350px;
    max-height: 350px;

}

.card-img:hover img {
    transform: scale(1.1);
}

.card-img .addToCart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: all .4s;
}

.card-img .addToCart:hover {
    background-color: #000000dc;
    color: #fff;
}

.card-info {
    padding: 16px 0;
    text-align: center;
}

.product-name {
    font-size: 18px;
    font-weight: 400;
    color: #222;
    margin: 0 0 8px;
}

.product-price {
    font-size: 16px;
    font-weight: 400;
    color: #696969;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .main-shop{
        margin-top: 55px;
    }

    .product-header .menu-icon {
        visibility: visible;
    }

    .sortBy {
        display: none;
    }

    .aside {
        width: 100%;
        left: -200%;
    }

    .aside.open {
        left: 0;
    }

    .products {
        padding-left: 16px;
    }

    .card-img img {
        min-height: 200px;
        max-height: 200px;
    }

    .product-name {
        font-size: 16px;
        text-align: center;
    }

    .prices {
        justify-content: center;
    }

    .product-price {
        text-align: center;
        font-weight: 500;
        font-size: 14px;
    }
}