.gardensun-related-goods {
  padding: 100px 0;
  background: #FFF;
}

.gardensun-related-goods .section-title h2 {
  color: #221815;
  font-family: var(--font-family);
  font-size: 46px;
  font-style: normal;
  font-weight: 500;
  line-height: 70px; /* 152.174% */
}

@media (max-width: 767px) {
  .gardensun-related-goods .section-title h2 {
    font-size: 24px;
  }
}

.gardensun-related-goods .row {
  margin: 0 -10px;
}

.gardensun-related-goods .row > li {
  padding: 0 10px;
  margin-bottom: 20px;
}

.gardensun-related-goods .product-card {
  position: relative;
  background: #f6f5f1;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  /* height: 477px; */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gardensun-related-goods .product-card .txt-box {
  width: 100%;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.gardensun-related-goods .product-card .product-title {
  color: #221815;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px; /* 212.5% */
  margin-bottom: 12px;
  text-align: left;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制在一个块元素显示的文本的行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 68px;
}
.gardensun-related-goods .product-card .product-model{
  height: 20px;
    color: #221815;
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 10px 0;
    text-align: left;
}
.gardensun-related-goods .product-card .pic {
  display: block;
  width: 100%;
  /* height: 305px; */
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.gardensun-related-goods .product-card .pic img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.gardensun-related-goods .product-card .product-hover-content {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #f6f5f1;
  height: 0;
  opacity: 0;
  overflow: hidden;
  /* padding: 10px 0; */
  /* margin: 0 20px; */
  transition: height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 10px 20px;
  z-index: 2;
}
.gardensun-related-goods .product-card .product-desc {
  color: #221815;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: left;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.gardensun-related-goods .product-card .theme-btn.readmore-btn {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-family);
  border-bottom: 1px solid var(--color-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  transition: background 0.3s;
}
.gardensun-related-goods .product-card:hover .txt-box,
.gardensun-related-goods .product-card:hover .pic {
  transform: translateY(-10px);
}
.gardensun-related-goods .product-card:hover .product-title {
  margin-bottom: 10px;
}
.gardensun-related-goods .product-card:hover .product-hover-content {
  border-top: 1px solid var(--color-primary);
  transform: translateY(0);
  height: auto;
  opacity: 1;
}

@media (max-width: 991px) {
  .gardensun-related-goods{
    padding: 60px 0;
  }
}
@media (max-width: 767px) {
  .gardensun-related-goods {
    padding: 60px 0 0;
  }
  .gardensun-related-goods .section-title h2 {
    font-size: 28px;
    line-height: normal;
  }
} 