* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
ul{
  list-style: none;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.headerleft {
  display: flex;
  /* align-items: center;  */
}
.logo {
  padding: 24px 30px;
  border-right: 1px solid #ccc;
}
.headeraddress {
  padding: 20px 30px;
}
.headeraddress h3 {
  font-size: 18px;
  margin-bottom: 5px;
}
.headeraddress p {
  font-size: 14px;
}
.headersearch {
  flex-grow: 1;
  display: flex;
  border: 1px solid #f4f4f4;
  background-color: #f8f8f8;
  border-radius: 15px;
}
.headersearch button {
  padding: 15px;
  background-color: transparent;
  border: none;
}
.headersearch input {
  flex-grow: 1;

  background-color: transparent;
  border: none;
}
.headerbtn {
  display: flex;
  margin-right: 40px;
  gap: 30px;
}
a {
  text-decoration: none;
}
.headerbtn a {
  padding: 15px;
  background-color: transparent;
  border: none;
  font-size: 16px;
  color: #6b6565;
}

.headerbtn a:last-child {
  background-color: rgb(12 131 31);
  color: white;
  border-radius: 5px;
  font-weight: bold;
}
.bannersection {
  margin: 0px auto;
}
.bannersection img {
  width: 100%;
}
.orderbanner {
  display: flex;
}
.orderitemsbanner {
  flex-basis: 27%;
  margin: 1%;
}
.orderitemsbanner img {
  width: 100%;
}
.categoryitems {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}
.categoryitem1 {
  flex-basis: 10%;
}
.categoryitem1 img {
  width: 100%;
}

.headingrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.headingrow h2 {
  font-size: 24px;
}
.headingrow a {
  font-size: 18px;
  color: #328839;
}
.productrow {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0px 0px 0px;
  gap: 2%;
}
.productitems {
  flex-basis: 15%;
  border: 1px solid #ccc;
  border-radius: 15px;
  box-shadow: 0px 0px 10px 2px #c4bfbf;
}
.product_img img {
  width: 100%;
  text-align: center;
  padding: 15px;
}
.product_img p {
  width: 150px;

  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 12px;
  text-align: left;
}
.product_img p img {
  width: 30%;
}
.product_content {
  padding: 15px;
}
.product_content h3 {
  font-size: 14px;
  margin-bottom: 15px;
}
.product_content p {
  color: #777171;
  font-size: 12px;
}
.btn_outer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.btn_outer a {
  padding: 5px 15px;
  border: 1px solid #328839;
  border-radius: 10px;
}

footer {
  padding: 40px 0 0 0;
}
.footer-mid-row1 {
  width: 100%;
}
.footer-mid-row1-left {
  
  width: 100%;
}
/* .footer-mid-row1-right {
   width: 70%;
} */
.footer-mid-row1-left h4 {
  margin-bottom: 20px;
}
.usefull_links {
  display: flex;
  flex-direction: row;
}
a {
  text-decoration: none;
}
.usefull_links ul {
  flex-basis: 16.66%;
  list-style: none;
}
.usefull_links ul li a {
  font-size: 14px;
  display: block;
  margin-bottom: 15px;
  color: rgb(102 102 102);
}
.footer-mid-row3 p{
  color: rgb(102 102 102);
  font-size: 14px;
  padding: 20px 0;
  line-height: 20px;
}

.footer-mid-row2{
  background-color: #fcfcfc;
  width: 100%;
  padding: 20px 0px;
  display: flex;
  align-items: center;
}
.footer-mid-row2 p{
  flex-basis: 40%;
  font-size: 14px;
  text-align: center;
}
.download_link{
  display: flex;
  flex-basis: 30%;
  gap: 10px;
  align-items: center;
}
.links {
  display: flex;
  gap: 20px;
}
.links i{
  width: 45px;
  height: 45px;
  color: white;
  background-color: #1f1f1f;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}

/* .footer-mid-row1-left h5{
  margin: 0px auto;
}
.Categories_links{
  display: flex;
} */

@media only screen and (max-width: 575px) {
  nav {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 10px;
  }
  .headerleft {
    justify-content: center;
  }
  .logo {
    padding: 10px;
  }
  .headeraddress {
    padding: 10px;
  }

  .headeraddress p {
    font-size: 12px;
  }
  .headeraddress h3 {
    font-size: 15px;
  }
  .headersearch button {
    padding: 10px;
  }
  .headerbtn {
    position: fixed;
    margin-right: 0px;
    bottom: 0px;
    justify-content: center;
    width: 100%;
    background-color: white;
  }

  .bannersection {
    display: none;
  }

  .orderbanner {
    flex-direction: column;
    padding: 10px;
  }

  .categoryitem1 {
    flex-basis: 25%;
  }

  .productsection {
    padding: 30px 10px;
  }

  .productitems {
    flex-basis: 49%;
  }
   .footer {
    padding-top: 0px;
  } 
   /* .footer-mid-row1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
  .usefull_links ul{
    display: flex;
    flex-basis: 20%;
    
  }   */
}



@media only screen and (max-width: 575px) {
     /* .footer-mid-row1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
  .usefull_links ul{
    display: flex;
    flex-basis: 20%;
    
  } */
   .usefull_links{
    flex-direction: column;
   }
   .usefull_links h4{
    margin: 0 auto;
   }
   .usefull_links ul{
    margin: 15px auto;
    font-size: 20px;
    padding: 10px 10px;
   }
   .footer-mid-row3{
    padding: 0px 10px;
   }

   .footer-mid-row2{
    flex-direction: column;
    gap: 20px;
   }
}
