
.goods-grid {
  margin-top: 18rpx;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18rpx;
}

.goods-card {
  border-radius: 22rpx;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18rpx 36rpx rgba(0, 0, 0, 0.06);
}

.goods-card__imgWrap {
  padding: 18rpx 18rpx 0;
}

.goods-card__img {
  width: 100%;
  height: 280rpx;
  border-radius: 18rpx;
  background: #f4f4f4;
}

.goods-card__body {
  padding: 18rpx 18rpx 20rpx;
}

.goods-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 26rpx;
  font-weight: 700;
  color: #1c1c1c;
  min-height: 72rpx;
}

.goods-card__meta {
  margin-top: 10rpx;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10rpx;
}

.goods-card__sold {
  font-size: 22rpx;
  color: #9a9a9a;
  white-space: nowrap;
}

.goods-card__price {
  display: flex;
  align-items: baseline;
  gap: 4rpx;
  color: #27c86b;
  white-space: nowrap;
}

.goods-card__priceUnit {
  font-size: 22rpx;
  font-weight: 800;
}

.goods-card__priceValue {
  font-size: 36rpx;
  font-weight: 900;
}

.goods-card__actions {
  margin-top: 16rpx;
  display: flex;
  gap: 14rpx;
}

.goods-card__btn {
  flex: 1;
  height: 64rpx;
  border-radius: 999rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goods-card__btn--ghost {
  border: 2rpx solid rgba(32, 194, 106, 0.7);
  background: #ffffff;
}

.goods-card__btn--primary {
  background: linear-gradient(90deg, #24d34c 0%, #6df09a 100%);
}

.goods-card__btnText {
  font-size: 24rpx;
  font-weight: 700;
  color: #18b85a;
  white-space: nowrap;
}

.goods-card__btnText--primary {
  color: #ffffff;
}

.buy-btn{
  height: 70px;
  background: linear-gradient(to bottom, #1cd98a, #24ca94);
  border-radius: 100px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  .cart-icon{
    background: linear-gradient(to bottom, #bbe094, #4ee265);
    border-radius: 100px 0 0 100px;
    height: 70px;
  }
}
