.page-group-prods {
  .banner {
    font-size: 0;
    width: 710rpx;
    height: 280rpx;
    border-radius: 10rpx;
    overflow: hidden;
    margin: 20rpx;
  }
  /* 分类 */
  .group-category {
    padding: 10rpx 20rpx;
    .category-box {
      white-space: nowrap;
      .item{
        max-width: 180rpx;
        display: inline-block;
        text-align: center;
        font-size: 28rpx;
        position: relative;
        padding: 0 20rpx 16rpx;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        &.active {
          color: #fc1b35;
          font-weight: 600;
        }
        &.active::after {
          background: linear-gradient(to right, #fc1b35, #f2f3f7);
        }

        &::after {
          position: absolute;
          left: 25%;
          right: 25%;
          bottom: 0;
          display: block;
          height: 6rpx;
          content: " ";
          font-size: 0;
          background: transparent;
          border-radius: 6rpx;
        }
      }
    }
  }
}

/* 列表 */
.line-prods {
  margin: 0 20rpx 30rpx;
  background: #f2f3f7;
  padding: 0;
  .item {
    background: #fff;
    margin-top: 20rpx;
    padding: 20rpx;
    border-radius: 10rpx;
    position: relative;
    .group-icon {
      background: linear-gradient(to right, #fc1b35, #fe401d);
      color: #fff;
      font-size: 20rpx;
      padding: 2rpx 12rpx;
      border-radius: 10rpx 0 10rpx 0;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 10;
    }
    .img {
      width: 190rpx;
      height: 190rpx;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .text-box {
      height: 190rpx;
      .name {
        max-height: 72rpx;
        height: 72rpx;
        line-height: 36rpx;
        font-size: 28rpx;
        font-weight: 600;
      }
      .price-box {
        position: relative;
        height: 40rpx;
        margin-top: 20rpx;
        display: flex;
        align-items: baseline;
        .price{
          .big {
            font-size: 40rpx;
          }
        }
        .old-price {
          color: #999;
          margin-left: 10rpx;
          text-decoration:line-through
        }
      }
      .btn-box {
        height: 50rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 8rpx;
        .sold {
          color: #999;
        }
        .btn {
          padding: 8rpx 24rpx;
          color: #fff;
          background: linear-gradient(to right, #fc1b35, #fe401d);
          font-size: 26rpx;
          font-weight: 600;
          border-radius: 40rpx;
        }
      }
    }
  }
}