#home-products {
  position: relative;
  z-index: 10;
  padding: 6rem 1rem 7rem;
  border-top: 1px solid rgba(67, 104, 24, 0.1);
  overflow: hidden;
}

.home-products-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.home-products-heading {
  max-width: 46rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.home-products-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(67, 104, 24, 0.15);
  border-radius: 999px;
  background: rgba(67, 104, 24, 0.07);
  color: #334e17;
  font-family: var(--font-subheading, "Outfit", sans-serif);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-products-heading h2 {
  margin: 0;
  color: #20380f;
  font-family: var(--font-subheading, "Outfit", sans-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.home-products-heading p {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  color: rgba(32, 56, 15, 0.68);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.home-product-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: -1.6rem auto 2.75rem;
}

.home-product-categories a {
  display: inline-flex;
  min-width: 7.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid rgba(67, 104, 24, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #334e17;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.home-product-categories a:hover {
  border-color: rgba(67, 104, 24, 0.35);
  background: rgba(67, 104, 24, 0.08);
  color: #20380f;
  transform: translateY(-0.12rem);
}

.home-product-categories a[aria-current="page"] {
  border-color: #436818;
  background: #436818;
  color: #fff;
  box-shadow: 0 0.7rem 1.5rem rgba(67, 104, 24, 0.18);
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.home-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2.25rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1.5rem 3rem rgba(48, 73, 25, 0.07);
  backdrop-filter: blur(14px);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.home-product-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 2rem 4rem rgba(48, 73, 25, 0.11);
}

.home-product-stage {
  align-self: flex-start;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(67, 104, 24, 0.08);
  color: #334e17;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-product-image-wrap {
  display: flex;
  aspect-ratio: 1.42 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.8rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
}

.home-product-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-product-card--wipes .home-product-image-wrap {
  padding: 0;
}

.home-product-card--wipes .home-product-image-wrap img {
  object-fit: contain;
  transform: scale(1.35);
}

.home-product-card h3 {
  margin: 0;
  color: #20380f;
  font-family: var(--font-subheading, "Outfit", sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-product-description {
  flex-grow: 1;
  margin: 0.85rem 0 1.75rem;
  color: rgba(32, 56, 15, 0.66);
  font-size: 0.98rem;
  line-height: 1.65;
}

.home-product-weights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(67, 104, 24, 0.11);
}

.home-product-weights span {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: rgba(67, 104, 24, 0.07);
  color: #294312;
  font-size: 0.69rem;
  font-weight: 800;
}

.home-products-action {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

.home-products-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.35rem;
  border-radius: 999px;
  background: #436818;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0.8rem 1.8rem rgba(67, 104, 24, 0.2);
  transition: background 200ms ease, transform 200ms ease;
}

.home-products-action a:hover {
  transform: translateY(-0.15rem);
  background: #294312;
}

@media (max-width: 900px) {
  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.875rem);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  #home-products {
    padding: 4.5rem 1rem 5rem;
  }

  .home-products-heading {
    margin-bottom: 2.5rem;
  }

  .home-product-categories {
    margin-top: -1rem;
    margin-bottom: 2rem;
  }

  .home-product-categories a {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 0.75rem;
    font-size: 0.62rem;
  }

  .home-products-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card:last-child {
    grid-column: auto;
    width: auto;
  }
}
