.product-item {
  background-color: #fff;
  box-sizing: border-box;
  border-bottom: 1rpx solid #DDDDDD;
  margin-bottom: 20rpx;

  .product {
    box-sizing: border-box;

    .mian {
      position: relative;
      display: flex;
      width: 100%;
      box-sizing: border-box;

      .img {
        position: relative;
        flex-shrink: 0;
        width: 112rpx;
        height: 112rpx;
        border-radius: 16rpx;
        margin-right: 20rpx;

        .err {
          display: flex;
          width: 100%;
          height: 100%;
          align-items: center;
          justify-content: center;
          font-size: 22rpx;
          border: 1px solid #ddd;
          box-sizing: border-box;
          color: #666;
          border-radius: 16rpx;
        }

        .tag-box {
          display: flex;
          justify-content: center;
          width: 100%;
          position: absolute;
          top: 94rpx;

          .tag {
            max-width: 70rpx;
            font-family: PingFang SC, PingFang SC;
            font-size: 18rpx;
            color: #FFFFFF;
            line-height: 32rpx;
            border-radius: 16rpx;
            background-color: #52C41A;
            padding: 0 12rpx;
          }
        }
      }

      .dec {
        flex: 1;
        width: 0;
        min-height: 128rpx;
        height: 100%;
        font-size: 24rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        color: #999999;

        .title {
          display: flex;
          width: 90%;
          height: 40rpx;
          font-size: 28rpx;
          font-weight: 600;
          color: #333333;

          .line-1 {
            max-width: 380rpx;
          }

          .tag {
            display: inline-block;
            color: #fff;
            background-color: #F80700;
            padding: 0 20rpx;
            margin-left: 20rpx;
            border-radius: 20rpx;
            font-weight: normal;
            font-size: 22rpx;
            line-height: 40rpx;
          }
        }

        .subfield {
          display: flex;
          margin-top: 8rpx;
          height: 34rpx;
          line-height: 34rpx;

          text {
            display: inline-block;
            width: 48%;
          }
        }

        .price {
          font-size: 30rpx;
          color: #FF3B30;
        }

        .old-price {
          font-size: 24rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          color: #999999;
          margin-left: 8rpx;
          text-decoration-line: line-through;
        }

      }

      .delete {
        position: absolute;
        width: 68rpx;
        height: 68rpx;
        line-height: 68rpx;
        right: -30rpx;
        top: -20rpx;
        text-align: center;
        font-size: 32rpx;
        color: #999;
      }
    }
  }
}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30rpx;
	position: fixed;
	width: 100vw;
	height: 130rpx;
	background: #FFFFFF;
	box-shadow: 0px -4rpx 16rpx 2rpx rgba(150, 157, 165, 0.16);
	bottom: 0;
	box-sizing: border-box;

	.count {
		font-size: 28rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		color: #333333;
	}

	.but {
		width: 156rpx;
		height: 90rpx;
		background: #3874F6;
		border-radius: 8rpx;
		font-size: 28rpx;
		font-family: PingFang SC-Bold, PingFang SC;
		font-weight: bold;
		color: #FFFFFF;
	}
}

.iconfont {
	font-size: 28rpx;
	font-family: PingFang SC-Regular, PingFang SC;
	color: #666666;
	padding: 0 10rpx;
}