.rayou-home-products {
  padding: 72px 24px 80px;
  background: #f4f6f7;
}

.rayou-home-products-inner {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.rayou-home-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.rayou-home-products-heading > div > span {
  color: #d99500;
  font-size: 12px;
  font-weight: 700;
}

.rayou-home-products-heading h2 {
  margin: 6px 0 0;
  color: #2f3644;
  font-size: 30px;
  font-weight: 600;
}

.rayou-home-products-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d99500;
  color: #343b45;
  font-size: 14px;
}

.rayou-home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rayou-home-product {
  display: block;
  min-width: 0;
  background: #fff;
  color: #2f3644;
  text-decoration: none;
}

.rayou-home-product-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}

.rayou-home-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.rayou-home-product:hover .rayou-home-product-image img {
  transform: scale(1.035);
}

.rayou-home-product-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 92px;
  padding: 17px 19px;
}

.rayou-home-product-copy h3 {
  margin: 0 0 5px;
  color: #2f3644;
  font-size: 19px;
  font-weight: 600;
}

.rayou-home-product-copy p {
  margin: 0;
  color: #727b84;
  font-size: 13px;
}

.rayou-home-product-copy > span {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #d8dde1;
  border-radius: 50%;
  color: #d99500;
  font-size: 17px;
}

@media (max-width: 767px) {
  .rayou-home-products {
    padding: 48px 16px 54px;
  }

  .rayou-home-products-heading h2 {
    font-size: 25px;
  }

  .rayou-home-products-heading > a {
    gap: 5px;
    font-size: 12px;
  }

  .rayou-home-product-grid {
    gap: 9px;
  }

  .rayou-home-product-copy {
    min-height: 72px;
    gap: 6px;
    padding: 10px 9px;
  }

  .rayou-home-product-copy h3 {
    font-size: 15px;
  }

  .rayou-home-product-copy p {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rayou-home-product-copy > span {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}
