.gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}

@media screen and (max-width:576px) {
  /*hero sction*/
  .hero {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 20px;
  }
  
  .hero-text  {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
  }
  .hero-img {
    width: 100%;
  }

 .hero h1 {
  font-size: 24px;
  margin-top: 28px;
 }
 .hero p {
  font-size: 14px;
 }

/*header section*/
.navlinks {
  display: none;
}
 
.logo {
  width: 100px;
  margin-left: 16px
}
.header {
  margin-top: 5px;
}

.Cart {
  font-size: 16px;
  font-weight: 600;
  margin-right: 10px;
}

/*card grid section*/
.gallery {
  grid-template-columns: repeat(2 ,1fr);
  gap: 16px;
  margin: 16px;
}
.product-gallery > .heading h3 {
  font-size: 24px;
}

.product-gallery > .heading {
  margin: 16px;
}

.product-gallery > .heading h5 {
  font-size: 14px;
}

/*trust section*/
.badge {
  display: none;
}

.trust {
  flex-direction: column;
  margin: 16px;
  margin-top: 20px;

}

.trust-details{
  width: auto
}
.trust-details h3{
 font-size: 24px;
}

.trust-details li{
  font-size: 14px;
}

.trust-image {
  width: auto;
}

/*deals section*/

.deals-cta {
  grid-template-columns: repeat(1 ,1fr);
  margin: 0 auto;
  padding: 16px;
}

.deals-card {
  width: 400px;
  height: 200px;
  border-radius: 10px;

}

.deals-card2 h5{
  font-size: 20px;
}

.deals>.heading h3 {
  font-size: 24px;
  
}
.deals>.heading h5 {
  font-size: 14px;
  width: 400px;
}

/*newslater section */

.cta {
  height: 276px;
}

.cta-content h3 {
  font-size: 24px;
} 

.input1 {
  width: 80%;
}
.input2 {
  padding: 0 5px;
}

/*footer*/

.footer , .footer-links {
  flex-direction: column;
}

.footer {
  margin-left: 24px;
}

.social-icons {
  margin-top: 10px;
  justify-content: center;
}

}