        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
/*---------------------------------------------Home page DESIGN-----------------------------------------------------  */
        body {
            background-color: rgba(255, 255, 255, 0.665);
            font-family: 'Roboto', sans-serif;
            scroll-behavior: smooth;
            overflow-x: hidden;
            margin:0 ;
          
        }

        .nav-bar {
            width:100%;
            background-color: rgb(55, 53, 53);
            padding: 2rem;
            text-align: center;
            font-size: 2rem;
            position: relative;
            color: #fff;
            margin:0 auto;

        }

    .input-form {
        width: 100%;
        margin: 2rem auto;
        text-align: center;
    }

    .search-input {
        width: 30%;
        margin: 0 auto;
        padding: .7rem;
        font-size: 1.2rem;
        border-radius: 15px;
        border: 1px solid #ccc;
        outline: none;
    }



    .quantity {
        width: 30px;
        height: 30px;
        top: 1rem;
        font-size: 1rem;
        font-weight: 700;
        line-height: 30px;
        border-radius: 50%;
        position: absolute;
        background-color: rgb(176, 82, 82);
        color: #fff;
        box-shadow: 1px 1px 1px #363535;
        cursor: pointer;
    }

    .container {
        width: 90%;
        margin: 4rem auto;

    }

    .product-container {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(min(100%,350px),3fr));
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        text-align: center;
        gap: .8rem;

    }

    .product-cart {
        width: 80%;
        height: auto;
        margin: 1.2rem auto;
        padding: 0;
        border-top: 1px solid #cbcbcb;
        border-left: 1px solid #cbcbcb;
        border-right: 1px solid #cbcbcb;
        border-bottom: 0px solid #cbcbcb;
        border-radius: 10px;


    }

    .product-price {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .product-price,
    .product-desc {
        width: 100%;
        margin: auto;
        padding: .5rem;
        border-top: 1px solid #e0dfdf;

    }


    .product-add {
        width: 100%;
        margin: 0 auto;
        background-color: #635858;
        border-bottom-left-radius:10px ;
        border-bottom-right-radius: 10px;
        border: none;
        color: #fff;
        cursor: pointer;
        padding: .5rem;
        font-size: 1.2rem;
       

    }

    .product-img {
        width: 30%;
        text-align: center;
        object-fit: cover;
        display: block;
        margin: .5rem  auto;
        image-rendering: auto;

    }

    .product-name {
        overflow-wrap: normal;
        font-size: 1.2rem;
        font-weight: 400;
        text-transform: capitalize;
        margin: 1rem;
    }
   .footer{
    width:100%;
    display: flex;
    justify-content: center;
    padding:1.5rem;
    background-color: #000;
    color:#ccc;
    letter-spacing: .1rem;
   }
/*-------------------------------------------------cart design------------------------------------------------*/
        .empty-cart {
            margin-top: 15rem;
            text-align: center;
            font-size: 1rem;
            border-bottom: 1px solid #333;


        }
        .cart-price{
       
            margin: 1rem 2rem ;
           
        }
        .cart-name{
        margin: 1rem .2rem ;
        /* white-space: nowrap; */
        
        }
        .fa-trash {
            margin-right: -2rem;
            cursor: pointer;
        }
      .cart-quantity{

        margin-left: 2rem;
      }
        .minus,
        .plus {
            display: grid;
            grid-template-rows: repeat(auto-fit, minmax(min(100%, 5px), 3fr));
            width: 1rem;
            height:1rem;
            line-height: 1rem;
            margin: 0;
            border-radius:50%;
            justify-content:space-around;
            align-items: center;
            cursor: pointer;
            background-color: #7e1919;
            color: #fff;
          
            

        }
.minus{
    margin-left:3rem;
}
        .cart-items {
            width: 30%;
            height: 60vh;
            background-color: #ffffff;
            position: absolute;
            top: 0;
            right: .2rem;
            color: #000;
            font-size: .8rem;
            letter-spacing: .1rem;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
            transition: all ease 1s;
            transform: translateX(40rem);
        }

        .footer-cart {
            width: 30%;
            height: fit-content;
            background-color: #ffffff;
            position: absolute;
            bottom: 0;
            top: 60vh;
            right: .2rem;
            color: #000;
            font-size: .8rem;
            letter-spacing: .1rem;
            display: grid;
            grid-auto-flow: column;
            grid-gap: .5rem;
            text-align: center;
            transform: translateX(40rem);
            transition: all ease 1s;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;

        }

        .my-cart {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 10px), 1fr));
            margin: 0 .8rem auto;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px dotted #000;

        }

      

        
        .total-item {
            width: 100%;
            background-color: #000;
            padding: .5rem;
            color: #fff;
            text-align: left;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
        }

        .checkout {
            width: 100%;
            background-color: #410404;
            padding: .5rem;
            color: #fff;
            cursor: pointer;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
        }

        .close-cart {
            width: 100%;
            background-color: #eb0c0c;
            padding: .5rem;
            color: #fff;
            cursor: pointer;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
        }

        .cart-img {
            width: 30px;
            height: 30px;
            display: block;
            object-fit: cover;

        }
/*-------------------------------------------------cart tablet design------------------------------------------------*/
@media (width <= 700px) {
html {
        margin: 0;
        padding: 0;
    }

    body {
            background-color: rgba(255, 255, 255, 0.665);
            font-family: 'Roboto', sans-serif;
            scroll-behavior: smooth;
            overflow-x: hidden;
            margin-bottom: 0 ;
           
    
        }
         .quantity {
             width: 20px;
             height: 20px;
             top: 1rem;
             font-size: .8rem;
             font-weight: 700;
             line-height: 20px;
             border-radius: 50%;
             position: absolute;
             background-color: rgb(176, 82, 82);
             color: #fff;
             box-shadow: 1px 1px 1px #363535;
             cursor: pointer;
         }
    
         .container {
             width: 100%;
             margin: 0 auto;
    
         }
        .nav-bar{
            width:100%;
            background-color: rgb(55, 53, 53);
            padding: 1.5rem;
            text-align: center;
            font-size: 1.5rem;
            position: relative;
            color: #fff;
            margin-right: 0;
            margin-left: 0;
            display: flex;
            justify-content: center;

    
        }
        .search-input {
            width: 30%;
            margin: 0 auto;
            padding: .7rem;
            font-size: 1.2rem;
            border-radius: 15px;
            border: 1px solid #ccc;
            outline: none;
            display: none;
        }
    .cart-items {
            width: 100%;
            height: 60vh;
            background-color: #ffffff;
            position: absolute;
            top: 0;
            right: .2rem;
            color: #000;
            font-size: .8rem;
            letter-spacing: .1rem;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
            transition: all ease 1s;
            transform: translateX(40rem);
        }
          .cart-name {
              margin: 1rem .2rem;
             
    
          }
        .footer-cart {
            width: 100%;
            height: fit-content;
            background-color: #ffffff;
            position: absolute;
            bottom: 0;
            top: 60vh;
            right: .2rem;
            color: #000;
            font-size: .8rem;
            letter-spacing: .1rem;
            display: grid;
            grid-auto-flow: column;
            grid-gap: .5rem;
            text-align: center;
            transform: translateX(40rem);
            transition: all ease 1s;
            box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    
        }

            .footer {
            display: none;
            }
    
}
@media (width <=500px) {
    html {
        margin: 0;
        padding: 0;
    }

    body {
        background-color: rgba(255, 255, 255, 0.665);
        font-family: 'Roboto', sans-serif;
        scroll-behavior: smooth;
        overflow-x: hidden;
        margin-bottom: 0;


    }

    .quantity {
        width: 20px;
        height: 20px;
        top: 1rem;
        font-size: .8rem;
        font-weight: 700;
        line-height: 20px;
        border-radius: 50%;
        position: absolute;
        background-color: rgb(176, 82, 82);
        color: #fff;
        box-shadow: 1px 1px 1px #363535;
        cursor: pointer;
    }

    .container {
        width: 100%;
        margin: 0 auto;

    }

    .nav-bar {
        width: 100%;
        background-color: rgb(55, 53, 53);
        padding: 1.5rem;
        text-align: center;
        font-size: 1.5rem;
        position: relative;
        color: #fff;
        margin-right: 0;
        margin-left: 0;
        display: flex;
        justify-content: center;


    }

    .search-input {
        width: 30%;
        margin: 0 auto;
        padding: .7rem;
        font-size: 1.2rem;
        border-radius: 15px;
        border: 1px solid #ccc;
        outline: none;
        display: none;
    }

    .cart-items {
        width: 100%;
        height: 60vh;
        background-color: #ffffff;
        position: absolute;
        top: 0;
        right: .2rem;
        color: #000;
        font-size: .8rem;
        letter-spacing: .1rem;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
        transition: all ease 1s;
        transform: translateX(40rem);
    }

    .cart-name {
        margin: 1rem .2rem;


    }

    .footer-cart {
        width: 100%;
        height: fit-content;
        background-color: #ffffff;
        position: absolute;
        bottom: 0;
        top: 60vh;
        right: .2rem;
        color: #000;
        font-size: .8rem;
        letter-spacing: .1rem;
        display: grid;
        grid-auto-flow: column;
        grid-gap: .5rem;
        text-align: center;
        transform: translateX(40rem);
        transition: all ease 1s;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;

    }

    .footer {
        display: none;
    }

}