.cartConfirm {
  padding: 10px 14px;
  padding-bottom: 100px;

  :global {
    .van-cell-group {
      border-radius: 6px;
      overflow: hidden;
    }
  }
}

.cartConfirmBox {
  padding: 0;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;

  // border-bottom: 3px solid;
  // border-image-source: url('./images/icon-address-border.png');
  .cartItem {
    margin: 0;
    border-radius: 0;
    padding: 0;
  }

  :global {
    .van-cell__value {
      color: #666;
      font-weight: 500;
    }
  }
}

.mlr13 {
  margin-right: 13px;
  margin-left: 13px;
}

.protocol {
  box-shadow: none !important;
  padding: 8px 0 !important;
  background: #fff4e9;

  :global {
    .van-checkbox__label {
      color: #777;
    }
  }
}

.paymentContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  box-shadow: none !important;
  background: #fff;
  padding-top: 12px;

  .needPrice {
    display: flex;
    align-items: center;
    color: #333333;
    font-family: DINAlternate-Bold, DINAlternate;

    span {
      font-size: 22px;
      font-weight: bold;
      color: #fc1a19;

      i {
        font-style: normal;
        font-size: 18px;
        margin-right: 3px;
      }
    }
  }

  .allPrice {
    color: #aaa;
  }

  :global {
    .van-button {
      height: 40px;
      line-height: 40px;
      min-width: 112px;
    }
  }
}

.cellItem {
  padding: 15px 12px;
  border-radius: 10px;
  overflow: hidden;

  .img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 15px;
  }

  .cellPrice {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    line-height: 24px;
  }

  .numFont {
    font-family: 'DINA';

    .numPrefix {
      font-size: 14px !important;
      margin-right: 2px;
    }
  }

  .goodsContent {

    // h2 {
    //   font-size: 16px;
    //   font-weight: 500;
    //   color: #333333;
    //   line-height: 22px;
    // }
    .goodsNum {
      font-size: 18px;
      color: #777777;
      line-height: 20px;
      flex-shrink: 0;
    }

    .goodsPrice {
      padding-top: 4px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .free {
        font-size: 14px;
      }
    }

    .goodsNums {
      font-size: 18px;
      font-weight: bold;
      color: #fc1a19;
      font-family: DINAlternate-Bold, DINAlternate;
    }

    h2 {
      font-size: 16px;
      font-weight: 500;
      color: #333333;
      line-height: 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .brandName {
      line-height: 18px;
      font-size: 12px;
      padding: 0 6px;
      color: #BE7332;
      background-color: #FFF5E6;
      border-radius: 4px;
      border: 1px solid #FFE9D9;
    }

    .model {
      padding-top: 3px;
      font-size: 13px;
      color: #777;
      line-height: 18px;
    }
  }
}

.popupCode {
  :global {
    .van-popup__close-icon {
      color: #fff;
      right: 24px;
    }
  }
}

.codeContainer {
  position: relative;

  .codeClose {
    display: inline-block;
    position: absolute;
    top: -55px;
    right: 0;
    background: url('./images/icon-close.png') no-repeat center center;
    background-size: contain;
    width: 35px;
    height: 35px;
  }

  .codeImg {
    width: 331px;
    height: 557px;
    // padding-left: 8px;
    background: url('./images/download.png') no-repeat center center;
    background-size: contain;
    margin: 0 auto;

    .codeTitle {
      text-align: center;
      padding-top: 13px;
      font-size: 24px;
      font-weight: bold;
      color: #ffffff;
      text-shadow: 1px 1px 7px #f4672a;
    }

    .codeName {
      padding: 38px 12px 0;
      font-size: 16px;
      font-weight: 600;
      color: #ffffff;
      text-align: center;
    }

    .codeQr {
      margin: 23px auto 0;
      width: 221px;
      height: 221px;
      padding: 10px;
      background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
      border-radius: 11px;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
      }
    }

    .codeBtnText {
      min-width: 240px;
      margin: 15px auto 0;
      display: inline-block;
      background: linear-gradient(135deg, #ff9c63 0%, #ff7144 100%);
      border-radius: 18px;
      padding: 6px 0;
      font-size: 16px;
      font-weight: 600;
      color: #ffffff;
    }

    .codeTips {
      width: 285px;
      box-sizing: border-box;
      font-size: 12px;
      font-weight: 500;
      color: #333333;
      line-height: 17px;
      background: #ffffff;

      overflow: hidden;
      border: 2px solid rgba(255, 140, 87, 1);
      // border-image: linear-gradient(133deg, rgba(255, 140, 87, 1), rgba(255, 128, 87, 1)) 2 2;
      border-radius: 10px;
      margin: 15px auto 0;
      padding: 10px 0px 10px 8px;

      .tipsTitle {
        font-size: 13px;
        font-weight: 500;
        color: #f16437;
        padding-bottom: 2px;
      }
    }
  }

  .close {
    position: absolute;
    top: 12px;
    right: 15px;
  }

  .codeBottom {
    position: relative;
    margin-top: 32px;
    background: #ffffff;
    border-radius: 20px 20px 0px 0px;
    padding-bottom: 10px;
  }

  .title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 22px;
    padding: 15px 15px 0;

    i {
      display: inline-block;
      margin-right: 6px;
      width: 4px;
      height: 12px;
      background: #ff8057;
      border-radius: 2px;
    }
  }

  .shareImg {
    width: 47px;
    height: 47px;
  }

  .shareText {
    padding-top: 6px;
    font-size: 14px;
    color: #333333;
    line-height: 20px;
  }
}

.freight {
  margin-top: 12px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  padding: 15px 12px;
  font-size: 16px;
  color: #333;

  :global {
    .van-cell__value {
      color: #ff4e19;
    }
  }
}


.submitBtn {
  height: 40px;
  border-radius: 12px;
  border: 0;
  padding: 0 40px;
  font-size: 16px;
  font-weight: 600;


  // &.vipBtn {
  //   background: var(--van-primary);
  //   color: #fff;
  // }

  // &.otherBtn {
  background: linear-gradient(121deg, #FFD892 0%, #FFCB75 100%);
  color: #5B2C03;
  // }
}
