body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
}

/* added heading  */
.heading{
  text-align: center;
  font-weight: 900;
  font-size: 50px;
  background-color: rgb(11, 80, 11);
  color: rgb(238, 238, 157);
  transform-style: preserve-3d;
  
}

/* search field style  */
.search-field {
  border: none;
  border-radius: 50px;
  padding: 5px;
  outline: none;
}

/* search field hover style  */
.search-field:hover {
  outline: none;
  border: none;
}

/* search box style  */
.search-box {
  border: 1px solid rgb(3, 118, 211);
  width: 281px;
  border-radius: 5px;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 25px;
}

/* search button style  */
.search-button {
  padding: 10px 50px;
  border-radius: 25px;
  margin-left: 24px;
  background-color: tomato;
}

/* all products style */
#all-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* border: 1px solid black; */
  text-align: center;
  width: 100%;
  margin: auto;
  align-items: center;
  justify-content: center;
  background-color: rgb(235, 226, 245);
  border-radius: 10px;
}

/* single product style */
.single-product {
  padding: 10px;
  transition: 0.6s;
}

/* .single-product hover style  */
.single-product:hover {
  box-shadow: 4px 4px 7px gray;
  border-radius: 10px;
  border: 1px solid cyan;
  background: rgb(240, 147, 240);
}

/* image style */
.product-image {
  width: 150px;
  height: 150px;
  border-radius: 10px;
}

/* cart style */
.cart {
  width: 350px;
  /* border: 1px solid green; */
  padding: 10px;
  box-shadow: 10px 10px 20px gray;
  border-radius: 5px;
  margin-right: 30px;
  position: fixed;
}
.cart-main {
  padding-right: 30px;
}

/* responsive */
@media only screen and (max-width: 768px) {
  #all-products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .cart {
    width: 300px;
    /* border: 1px solid green; */
    padding: 10px;
    box-shadow: 10px 10px 20px gray;
    border-radius: 5px;
    margin-right: 30px;
    position: fixed;
  }
  .cart-main {
    padding-right: 10px;
  }
}
@media only screen and (max-width: 468px) {
  #all-products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}
