section.hero {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  min-height: 70vh;
  gap: 2rem;
}

section.hero .wrapper {
  align-items: flex-start;
  justify-content: center;
}

section.hero .category-container {
  width: 30rem;
  height: 35rem;
  overflow-y: auto;
  /* border: 0.1rem solid var(--clr-gray-300); */
  padding: 1rem;
  border-radius: var(--radius-200);
}

section.hero .promotional-banner {
  width: calc(100% - 40rem);
  height: 35rem;
}

section.hero .banner {
  width: 100%;
  height: 100%;
}

section.hero .benefits {
  width: 80%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

section.hero .benefit {
  width: 30rem;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 1rem;
  gap: 1rem;
  /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
  border-radius: var(--radius-400);
}

section.hero .benefit span {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-primary-lightest);
  color: var(--clr-primary);
  border-radius: var(--radius-half);
}

section.hero .benefit .content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: calc(100% - 6rem);
}

section.hero .benefit .content p {
  font-size: 1.4rem;
}

/* TOP CATEGORIES */
section.top-categories {
  flex-direction: column;
  gap: 2rem;
  min-height: 50vh;
}

section.top-categories .top-categories-container {
  width: 90%;
  padding: 0.7rem;

  flex-wrap: wrap;
}

section.top-categories .top-category {
  width: 20rem;
  height: 23rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: white;
  padding: 1rem;
  border-radius: var(--radius-400);
  transition: all 300ms ease-in-out;
  margin: 0 auto;
}

section.top-categories .top-category:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

section.top-categories .category-img {
  width: 15rem;
  height: 15rem;
  background-image: linear-gradient(120deg, #9ef9d8, #caf6bf);
  border-radius: var(--radius-half);
  display: flex;
  align-items: center;
  justify-content: center;
}

section.top-categories .category-img img {
  object-fit: contain;
  width: 80%;
  height: 80%;
}

section.top-categories .content {
  color: var(--clr-gray-d300);
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 300ms ease-in-out;
  text-align: center;
}

section.top-categories .top-category:hover .content {
  color: var(--clr-primary);
}

/* PRODUCTS SECTION */
section.top-products {
  flex-direction: column;
  gap: 4rem;
}

section.top-products .products-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

section.top-products .products-heading {
  width: 100%;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  /* background-color: white; */
}

section.top-products .products-heading h2 {
  color: var(--clr-primary);
}

section.top-products a.see-more {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--clr-accent);
  position: relative;
  padding: 0.3rem;
}

section.top-products a.see-more span {
  font-size: 1.9rem;
}

section.top-products a.see-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 0.1rem;
  border-radius: var(--radius-400);
  background-color: var(--clr-accent-lighter);
}

@media (max-width: 1000px) {
  section.hero .banner img {
    object-fit: contain;
  }

  section.hero .wrapper {
    align-items: flex-start;
  }
}

@media (max-width: 950px) {
  section.hero {
    justify-content: flex-start;
    min-height: 30vh;
  }

  section.hero .category-container {
    display: none;
  }

  section.hero .promotional-banner {
    width: 100%;
    height: 35rem;
  }

  section.hero .promotional-banner img {
    object-fit: cover;
  }

  section.hero .benefits {
    justify-content: center;
    width: 100%;
  }

  section.top-categories .top-categories-container {
    width: 100%;
  }

  section.top-categories .top-category {
    width: 15rem;
    height: 17rem;
  }

  section.top-categories .category-img {
    width: 12rem;
    height: 12rem;
  }

  section.top-categories .content {
    font-size: 1.5rem;
  }
}

@media (max-width: 770px) {
  section.hero .promotional-banner img {
    object-fit: contain;
  }
}

@media (max-width: 650px) {
}
@media (max-width: 500px) {
  section.hero .benefit {
    width: 100%;
  }

  section.hero {
    padding: 1rem;
  }
}

@media (max-width: 500px) {
  section.top-products .products-heading {
    flex-direction: column;
    align-items: flex-start;
    margin: 1rem 0;
  }

  section.top-products a.see-more {
    align-self: flex-end;
  }

  section.top-categories .top-category {
    width: 70%;
  }

  section.top-categories .top-category {
    width: 16rem;
    height: 17rem;
  }

  section.top-categories .category-img {
    width: 10rem;
    height: 10rem;
  }
}
