.page-association-goods {
  height: 100vh;
  overflow: auto;
  background: #f2f3f7;
  .list {
    padding: 20rpx 0 250rpx;
  }
  .good-card {
    min-height: 200rpx;
    padding: 20rpx;
    display: flex;
    align-items: center;
    border-radius: 20rpx;
    background-color: #fff;
    margin-bottom: 20rpx;

    .checkbox-box {
      width: 50rpx;
    }
    .img-box {
      width: 150rpx;
      height: 150rpx;
    }
    .info-box {
      flex: 1;
      width: 490rpx;
      height: 150rpx;
      padding: 5rpx 5rpx 5rpx 15rpx;
      font-size: 30rpx;
      display: flex;
      flex-flow: column;
      justify-content: space-between;

      .name-and-price {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .name {
          -webkit-line-clamp: 1;
        }
      }

      .text-over-hide {
        display: -webkit-box;
        white-space: normal;
        word-break: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
      }

      .specifications {
        font-size: 24rpx;
        color: #999999;
        margin-top: 15rpx;
        -webkit-line-clamp: 1;
      }
      .stock-and-num {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 24rpx;
        color: #999999;
        margin-top: 15rpx;

        .num {
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
    }
  }

  .footer-bar {
    position: absolute;
    bottom: 0;
    width: 750rpx;
    min-height: 120rpx;
    background-color: #fff;
    z-index: 9;
    .total-info-box {
      min-height: 40rpx;
      padding: 20rpx 0;
      border-bottom: 1rpx solid #efebeb;
      font-size: 28rpx;

      .total-info {
        display: flex;
        align-items: center;

        .combo-num {
          margin-left: 20rpx;
        }
        .total-stock {
          margin-left: 50rpx;
        }
      }
      .warming-tip {
        margin-top: 10rpx;
        font-size: 24rpx;
        margin-left: 20rpx;
        color: #f0ad4e;
      }
    }
    .btn-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 120rpx;
      .button {
        margin: 15rpx;
        background-color: #082BA6;
        line-height: 72rpx;
        font-size: 28rpx;
      }
      .btn-primary {
        flex: 1;
      }
      .btn-plain {
        flex: 1;
        background-color: #fff;
        border: 2rpx solid #082BA6;
        color: #082BA6;
      }
      .text-btn {
        width: 200rpx;
        border: none;
        background-color: #fff;
        padding: 0;
      }

      .btn-radio {
        display: flex;
        align-items: center;
        font-size: 28rpx;
        margin-left: 15rpx;

        &:deep(.uni-radio-input) {
          width: 36rpx;
          height: 36rpx;
        }
      }
      .del {
        flex: 1;
      }
    }
  }

  /*checkbox 选项框大小  */
  checkbox {
    .wx-checkbox-input {
      width: 32rpx;
      height: 32rpx;
      &.wx-checkbox-input-checked {
        background: #082BA6;
        border-color: #082BA6;
        &::before {
          text-align: center;
          font-size: 20rpx;
          color: #fff;
          background: transparent;
          transform: translate(-50%, -50%) scale(1);
          -webkit-transform: translate(-50%, -50%) scale(1);
        }
      }
    }
  }

  :deep(uni-checkbox.checkbox) {
    font-size: 12rpx;
    .uni-checkbox-input {
      background-color: #082BA6;
      border-color: #d1d1d1;
      border-radius: 1rpx !important;
      width: 28rpx !important;
      height: 28rpx !important;
      &:not(:empty) {
        border: 1px solid transparent;
      }
      &:empty {
        background-color: #fff;
      }
    }
  }

  :deep(.checkbox) {
    .uni-checkbox-input-disabled {
      background: #eeeeee !important;
    }
  }

  /* #region 加减框 */
  .m-numSelector {
    display: flex;
    box-sizing: border-box;
    border: 1px #e1e1e1 solid;
    border-radius: 22rpx;
    input {
      width: 80rpx;
      height: 44rpx;
      text-align: center;
      color: #333;
      border-left: 1rpx #e1e1e1 solid;
      border-right: 1rpx #e1e1e1 solid;
      font-size: 24rpx;
      font-family: arial;
    }
    .plus {
      &::after {
        transform: rotate(90deg);
        z-index: 1;
      }
    }
  }
  .m-numSelector .minus,
  .m-numSelector .plus {
    width: 44rpx;
    height: 44rpx;
    box-sizing: border-box;
    position: relative;
  }
  .m-numSelector .minus::before,
  .m-numSelector .plus::before,
  .m-numSelector .plus::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: " ";
    width: 20rpx;
    height: 2rpx;
    background-color: #333333;
  }
  .m-numSelector .minus.m-p-btn::before,
  .m-numSelector .plus.m-p-btn::before,
  .m-numSelector .plus.m-p-btn::after {
    background-color: #999999;
  }
  .m-numSelector:not(.disabled) .minus:not(.disabled):active,
  .m-numSelector:not(.disabled) .plus:not(.disabled):active {
    opacity: 0.6;
  }
  /* #endregion 加减框 */
}
