.component-sku-selected-con{
  /* 已选 */
  .sku {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 20rpx;
    background: #fff;
    padding: 30rpx 20rpx;
    margin-top: 20rpx;
  }
  .sku-tit {
    font-size: 22rpx;
    color: #999;
    margin-right: 20rpx;
  }
  .sku-con {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 28rpx;
    font-weight: bold;
    max-width: 77%;
  }
  .more {
    position: absolute;
    right: 20rpx;
    width: 60rpx;
    top: 16rpx;
    text-align: right;
    font-size: 40rpx;
    color: #999;
    letter-spacing: 1px;
  }
  /* 已选 end */
  /** 规格弹窗**/
  .pup-sku {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .pup-sku-main {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 375px;
    background-color: #fff;
    border-radius: 20rpx 20rpx 0 0;
    max-height: 750px;
  }
  .close {
    color: #aaa;
    border-radius: 12px;
    line-height: 20px;
    text-align: center;
    height: 20px;
    width: 20px;
    font-size: 18px;
    padding: 1px;
    top: 10px;
    right: 10px;
    position: absolute;
    &::before {
      content: '\2716';
    }
  }
  .pup-sku-header {
    position: relative;
    font-size: 16px;
    color: #333;
    padding: 20rpx 20rpx;
    background-color: #fff;
    border-bottom: 1rpx solid #f2f2f2;
    padding-top: 35rpx;
    border-radius: 20rpx 20rpx 0 0;
  }
  .pup-sku-img {
    display: inline-block;
    width: 27%;
    height: 180rpx;
    vertical-align: middle;
    border-radius: 10rpx;
    image {
      display: block;
      width: 180rpx;
      height: 100%;
    }
  }
  .pup-sku-prod {
    display: inline-block;
    width: 70%;
    vertical-align: middle;
    padding-left: 10rpx;
  }
  .prod-title {
    font-size: 28rpx;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin: 15rpx 0;
  }
  .pup-sku-price {
    display: inline-block;
    height: 1.5em;
    line-height: 1.5em;
    color: #e43130;
    font-size: 26rpx;
  }
  .group-sku-pri {
    display: flex;
    align-items: center;
  }
  .pup-sku-price-int {
    font-size: 34rpx;
  }
  .pup-sku-prop {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-size: 26rpx;
    color: #333;
    line-height: 1.4em;
    padding-right: 10px;
    margin-top: 16rpx;
    overflow: unset;
    text {
      &:first-child {
        color: #999;
      }
    }
  }
  .sel-sku {
    display: inline-block;
    max-width: 340rpx;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 5px;
  }
  .pup-sku-body {
    padding-bottom: calc(110rpx + constant(safe-area-inset-bottom));
    padding-bottom: calc(110rpx + env(safe-area-inset-bottom));
  }
  .pup-sku-area {
    max-height: 245px;
    overflow-y: scroll;
    .sku-box {
      max-height: 245px;
      overflow-y: scroll;
    }
    .sku-kind {
      font-size: 12px;
      color: #999;
      margin: 0 10px;
      height: 40px;
      line-height: 40px;
    }
    .con {
      padding-right: 20rpx;
    }
    .sku-choose {
      overflow: hidden;
      margin-bottom: 3px;
    }
  }
  .sku-choose-item {
    display: inline-block;
    min-width: 100rpx;
    max-width: 540rpx;
    padding: 0 10rpx;
    overflow: hidden;
    height: 50rpx;
    line-height: 50rpx;
    text-align: center;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 30rpx;
    color: #333;
    background-color: #f7f7f7;
    font-size: 14px;
    border: 1px solid #aaa;
    &.active {
      background-color: #e43130;
      color: #fff;
      border: 1px solid #e43130 !important;
    }
    &.gray {
      background-color: #f9f9f9;
      color: #ddd;
    }
    &.dashed {
      border: 1px dashed #ccc;
    }
  }
  .pup-sku-count {
    padding: 0 10px 13px;
    font-size: 12px;
    margin-top: 20rpx;
    .count-name {
      height: 31px;
      line-height: 31px;
      width: 100rpx;
      color: #000;
      font-weight: bold;
    }
    .num-wrap {
      position: relative;
      z-index: 0;
      width: 110px;
      float: right;
      vertical-align: middle;
      display: flex;
    }
    &.virtual-goods-msg {
      margin-bottom: 30rpx;
      max-height: 600rpx;
      overflow-y: auto;
      .msg-item {
        display: flex;
        align-items: center;
        border-bottom: 2rpx solid #f2f2f2;
        font-size: 24rpx;
        padding-bottom: 20rpx;
        &:not(:first-child) {
          margin-top: 40rpx;
        }
        .msg-tit {
          flex-wrap: wrap;
          width: 180rpx;
          margin-right: 20rpx;
          word-break: break-word;
        }
        .stress {
          color: #e43130;
          margin-right: 10rpx;
          font-size: 26rpx;
        }
        .msg-int {
          font-size: 24rpx;
          width: 100%;
          .uni-input-placeholder {
            color: #aaa;
          }
        }
      }
    }
    .text-wrap {
      position: relative;
      width: 45px;
      z-index: 0;
      margin: 0 1px;
      input {
        height: 30px;
        width: 100%;
        color: #333;
        font-size: 12px;
        text-align: center;
        border: none;
        background: #f7f7f7;
      }
    }
  }
  /* 留言（虚拟商品） */
  .virtual-goods-tips {
    display: block;
    background: #f9f9f9;
    padding: 20rpx;
    color: #999999;
    font-size: 24rpx;
    margin-bottom: 20rpx;
    line-height: 1.5em;
  }
  /* 留言（虚拟商品）/ */
  .num-wrap .minus,
  .num-wrap .plus {
    position: relative;
    max-width: 30px;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    background: #f7f7f7;
    text-align: center;
  }
  .num-wrap {
    .minus {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
    }
    .plus {
      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
    }
    .row {
      border-radius: 20px;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -7px;
      margin-top: -1px;
      width: 14px;
      height: 2px;
      background-color: #ccc;
    }
    .col {
      border-radius: 20px;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -1px;
      margin-top: -7px;
      width: 2px;
      height: 14px;
      background-color: #999;
    }
  }
  .pup-sku-footer {
    position: fixed;
    bottom: 0;
    bottom: constant(safe-area-inset-bottom);
    bottom: env(safe-area-inset-bottom);
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row nowrap;
    align-items: center;
    height: 110rpx;
    z-index: 999;
    .btn {
      position: relative;
      display: flex;
      flex-grow: 1;
      justify-content: center;
      align-items: center;
      background-color: #fff;
      font-size: 30rpx;
      flex-flow: column;
      border-radius: 60rpx;
      height: 2.8em;
      width: 45%;
      margin: 0 15rpx;
      &.cart {
        background: #584e61;
        color: #fff;
      }
      &.buy {
        background: #e43130;
        color: #fff;
      }
      &.pre-sale-buy {
        background: #e43130;
        color: #fff;
      }
    }
    &.gray {
      .btn {
        background: #eee;
        color: #999;
      }
    }
  }
  /* 输入框聚焦遮罩 */
  .input-mask {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
  }
}
