@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body{
  margin: 0;
  font-family: Poppins;
  
}
.menu {
  display: flex;
 
  justify-content: space-around;
  background-color: #f8f9fa;
  padding: 10px 10px;
}

.menu li {
  list-style: none;
}

.menu a {
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}

.menu a i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

/*@media (max-width: 768px) {
  .menu {
      position: fixed;
      bottom: 0;
      width: 100%;
      z-index: 1000;
  }
}*/

.icon-cart span{
  
  
  color: red;
  
    
}


.container{
  width: 900px;
  margin: auto;
  max-width: 90vw;
  text-align: center;
  padding-top: 10px;
  transition: transform .5s;
}
svg{
  width: 30px;
}


.container{
  margin-top: 200px;
}

.icon-cart i{color:black;font-size: 24px;}
.icon-cart{
    position: relative;
}



header{
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 20px 0;
}

#listProduct .item img{
  width: 90%;
  filter: drop-shadow(0 50px 20px #0009);
  border-radius: 10px;
}
#listProduct{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
#listProduct .item{
  background-color: #EEEEE6;
  padding: 20px;
  border-radius: 10px;
}
#listProduct .item h2{
  font-weight: 500;
  font-size: medium;
}
#listProduct .item .price{
  letter-spacing: 5px;
  font-size: small;
}
#listProduct .item button{
  
  background-color: #353432;
  color: #eee;
  border: none;
  padding: 5px 10px;
  margin-top: 10px;
  border-radius: 20px;
}
  
  @media screen and (max-width: 768px) {
    .card{
      font-size: 0.9em;
    }
  }

  
  
  .cartTab{
    width: 380px;
    background-color: #353432;
    color: #eee;
    position: fixed;
    top: 100px;
    right: -400px;
    bottom: 0;
    display: grid;
    grid-template-rows: 70px 70px 1fr 70px 70px;
    transition: .5s;
}

body.showCart .cartTab{
  right: 0;
}
body.showCart .container{
  transform: translateX(-250px);
}
.cartTab h1{
  padding: 20px;
  margin: 0;
  font-weight: 300;
}
.cartTab .total{
  display: grid;
  margin-left: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.cartTab .btn{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.cartTab button{
  background-color: #E8BC0E;
  border: none;
  font-family: Poppins;
  font-weight: 500;
  cursor: pointer;
}
.cartTab .close{
  background-color: #eee;
}

.listCart .item img{
  width: 100%;
}

.cartTab .listheader{
  height: 40px;
  margin-top: 5px;
  padding-left: 2px;
  font-size: medium;
  background-color: #E8BC0E;
  display: grid;
  grid-template-columns: 100px 40px 60px 70px 40px;
  gap: 10px;
  text-align:center;
  align-items:center;
}

.listCart .item{
  margin-top: 5px;
  padding-left: 5px;
  font-size: small;
  display: grid;
  grid-template-columns: 100px 40px 60px 70px 40px;
  gap: 10px;
  text-align:center;
  align-items:center;
}

.listCart .item:nth-child(even){
  background-color: #eee1;
}
.listCart{
  overflow: auto;
}
.listCart::-webkit-scrollbar{
  width: 0;
}

@media only screen and (max-width: 992px) {
  #listProduct{
      grid-template-columns: repeat(3, 1fr);
  }
}


/* mobile */
@media only screen and (max-width: 768px) {
  #listProduct{
      grid-template-columns: repeat(2, 1fr);
  }
}