.recommend-section-title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #ff5e5e;
  padding-left: 10px;
}
.recommend-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 默认 PC 一排 4 个 */
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
}
.recommend-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.recommend-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.recommend-content {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.recommend-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  height: 40px;      /* 固定两行高度 */
  line-height: 20px;
  overflow: hidden;  /* 超出隐藏 */
}
.recommend-price {
  margin-bottom: 10px;
  line-height: 1.5;
}
.recommend-price .old {
  font-size: 13px;
  color: #666;
  text-decoration: line-through;
  margin-right: 8px;
}
.recommend-price .new {
  font-size: 16px;
  color: #e60012;
  font-weight: bold;
}
.recommend-footer {
  font-size: 12px;
  color: #999;
}

/* 手机端：一排 2 个 */
@media (max-width: 768px) {
  .recommend-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
