.goodsApply {
  background: linear-gradient(to right, #F7E3AA 0%, #FFAC9B 100%);
  min-height: 100vh;
  position: relative;

  .dialogSubmit {
    :global {
      .van-dialog__cancel {
        color: #f67146;
      }

      .van-dialog__confirm {
        color: #777777;
      }
    }
  }
}

.headBg {
  position: absolute;
  top: 0;
  width: 100%;
  // opacity: .2;
}

.goodsHeader {
  position: relative;
  height: 175px;
}

.orchestraTitle {
  padding: 35px 0 0 18px;
  position: relative;
  z-index: 2;

  .headTitle {
    width: 170px;
    height: 82px;
  }

  .name {
    max-width: 220px;
    font-size: 15px;
    color: #54260D;
    line-height: 21px;
  }
}

.headPhone {
  position: absolute;
  right: 9px;
  top: 4px;
  width: 158px;
  height: 157px;
}

.form {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px 20px 0 0;
  border: 2px solid #FFFFFF;
  border-bottom: 0;
  padding-bottom: 12px; // calc(12px + env(safe-area-inset-bottom));
}

.applyCellGroup {
  position: relative;
  margin: 30px 13px 0;
  border-radius: 16px;
  padding-top: 22px;
  overflow: visible;

  &.self {
    margin-top: 12px;
    padding-top: 0px;

    // &::before {
    //   content: ' ';
    //   position: absolute;
    //   right: 24%;
    //   top: -6px;
    //   display: inline-block;
    //   width: 21px;
    //   height: 21px;
    //   background: #FFFFFF;
    //   border-radius: 3px 0px 0px 0px;
    //   transform: rotate(45deg);
    // }
  }


  .title {
    position: absolute;
    top: -10px;
    left: 50%;
    height: 32px;
  }

  .titleApply {
    width: 178px;
    margin-left: -89px;
    background: url('./images/title-1.png') no-repeat center;
    background-size: contain;
  }

  .titleParent {
    width: 178px;
    margin-left: -89px;
    background: url('./images/title-2.png') no-repeat center;
    background-size: contain;
  }

  .titleTips {
    width: 292px;
    margin-left: -146px;
    background: url('./images/title-3.png') no-repeat center;
    background-size: contain;

  }

  .titleTool {
    width: 214px;
    margin-left: -107px;
    background: url('./images/title-4.png') no-repeat center;
    background-size: contain;
  }

  .titleIntrumentTool {
    width: 235px;
    margin-left: -118px;
    background: url('./images/title-5.png') no-repeat center;
    background-size: contain;
  }

  :global {
    .van-cell {
      padding: 18px 12px;
      border-radius: 16px;
    }

    .van-field__label {
      font-size: 16px;
      // color: #F44541;
      color: #1A1A1A;
      line-height: 22px;
    }

    .van-field__control {
      padding-right: 2px;
    }
  }

  .toolRadioGroup {
    padding-top: 12px;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .radioSectionTag {
    min-height: 28px;
    flex: 1;
    font-weight: 600;
    padding: 5px 0px 7px !important;
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 22px !important;

    .radioTip {
      font-weight: 400;
      padding-top: 4px;
      font-size: 11px;
      color: #987D6E;
      line-height: 16px;
    }

    &.active {
      .radioTip {
        color: #54260D;
      }
    }
  }

  .radioSection {
    position: relative;
    min-width: 32px;
    justify-content: center;
    background-color: #fff;
    color: #987D6E;
    border: 1px solid #987D6E;
    border-radius: 6px;
    line-height: 1;
    padding: 5px 10px 3.5px;
    font-weight: 500;
    font-size: 16px;




    .radioItem {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      opacity: 0;
    }

    &+.radioSection {
      margin-left: 12px;
    }

    &.active {
      background-color: #FFD460;
      color: #54260D;
      border: 1px solid #FFD460;
    }
  }
}

.tipsContainer {
  // padding: 14px 12px 10px 43px;
  padding: 14px 12px 10px 12px;
  font-size: 14px;

  .line {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    line-height: 24px;
    padding-bottom: 8px;

    .child {
      padding-top: 2px;
      font-size: 13px;
      color: #666;
      font-weight: 400;
    }
  }

  .num {
    position: absolute;
    left: 12px;
    display: block;
    width: 23px;
    height: 23px;
  }

  .numOne {
    background: url('./images/p-1.png') no-repeat center;
    background-size: contain;
  }

  .numTwo {
    background: url('./images/p-2.png') no-repeat center;
    background-size: contain;
  }
}

.toolImg {
  position: relative;
  padding-top: 12px;
  margin: 0 12px 0;
  // width: 325px;
  height: 256px;
  width: calc(100% - 24px);
  border-radius: 12px;
  overflow: hidden;

  :global {
    .van-image {
      border-radius: 12px;
      overflow: hidden;
      width: 100%;
    }

    .van-button {
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      color: #131415;
      line-height: 20px;
    }
  }

  .toolImgOverflow {
    position: absolute;
    top: 12px;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }




  .iconHead {
    position: absolute;
    right: 37px;
    bottom: 25px;
    width: 75px;
    height: 83px;
    // animation: loadFade 1s ease-in-out infinite;
    animation: head-change 1s ease infinite;
  }
}

@keyframes head-change {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}


.toolInput {
  :global {
    .van-field__body {
      margin-top: 8px;
      padding: 0 12px;
      height: 44px;
      border-radius: 6px;
      border: 1px solid #DEDEDE;
    }
  }
}


.groupBuy {
  // overflow: hidden;
  padding-bottom: 24px;

  :global {
    .van-cell__value {
      text-align: left;
    }
  }

  .goodsImg {
    width: 90px;
    height: 90px;
    margin-right: 12px;
    border-radius: 8px;
    overflow: hidden;
  }

  .goodsTitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 600;
    color: #131415;
    line-height: 22px;
    padding-right: 4px;
    padding-bottom: 4px;

    img {
      margin-top: -1px;
      height: 18px;
      margin-left: 4px;
    }
  }

  .goodsTips {
    font-size: 12px;
    color: #FF4100;
    line-height: 16px;
    padding-bottom: 4px;
  }

  .goodsMemo {
    font-size: 13px;
    color: #777777;
    padding-bottom: 4px;
  }

  .goodsPrice {
    display: flex;
    align-items: center;
    font-family: DINAlternate-Bold, DINAlternate;
    flex: 1;
  }

  .priceGroup {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    line-height: 20px;

    p {
      font-size: 20px;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #FC1A19;
      line-height: 16px;

      span {
        font-size: 14px;
      }
    }
  }

  .priceOrigin {
    padding-left: 6px;
    font-size: 12px;
    color: #AAAAAA;
    line-height: 17px;
  }

  .iconBao {
    width: 56px;
    height: 19px;
    margin-right: 4px;
  }

  .baoTitle {
    font-size: 12px;
    color: #131415;
    line-height: 17px;
  }

  .baoContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .baoPrice {
      display: flex;
      align-items: center;
      font-size: 16px;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #FC1A19;
      line-height: 16px;
      display: flex;
      align-content: center;

      p {
        padding-right: 6px;
      }

      .prefix {
        font-size: 14px;
      }

      .suffix {
        font-size: 12px;
        vertical-align: bottom;
      }
    }

    .checkboxImg {
      width: 14px;
      height: 14px;
    }
  }

  .inspectCell {
    margin: 0 12px 0;
    padding: 8px 14px;
    background: #FFF3EA;
    border-radius: 6px;
    width: auto;
  }
}

.paymentContainer {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 15px 12px 22px 12px;

  .needPrice {
    display: flex;
    align-items: center;
    color: #333333;

    span {
      display: flex;
      align-items: center;
      font-size: 24px;
      font-weight: bold;
      color: #ff4e19;
      font-family: DINAlternate-Bold, DINAlternate;

      span {
        font-size: 16px;
        margin-right: 2px;

      }
    }
  }

  :global {
    .van-button {
      height: 40px;
      line-height: 40px;
      min-width: 112px;
      font-size: 16px;
      font-weight: 600;
    }
  }
}

.inspectPopup {
  width: calc(100% - 50px);
  border-radius: 16px;
}