.student-register {
  min-height: 100vh;
  background: #FFF4E2;
  overflow: hidden;

  --k-font-primary: #FF8021;
}

.studentSection {
  position: relative;
  z-index: 1;
  margin: 12px;
  overflow: inherit;

  &::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: ' ';
    background: linear-gradient(180deg, #FFFFFF 0%, #FFDAB4 53%, #FFFFFF 100%);
    box-shadow: 0px 1px 6px 0px #F0DDC8;
    border-radius: 18px;
    height: 120px;
    z-index: -1;
  }

  .goodsSection {
    border-radius: 18px 18px;
    box-shadow: 0px 1px 6px 0px #F0D8C8;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    margin-bottom: 12px;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.titleTool {
  position: relative;
  z-index: 9;
  margin: 14px auto 4px;
  width: 314px;
  height: 35px;
  background: url('./images/tool-title.png') no-repeat center;
  background-size: contain;
}

.titleBuy {
  margin: 14px auto 4px;
  width: 259px;
  height: 35px;
  background: url('./images/buy-title.png') no-repeat center;
  background-size: contain;
}

.goodsCell {
  position: relative;
  border-radius: 18px 18px 0px 0px;
  padding: 12px 14px 0;

  .noSelected,
  .selected,
  .delete {
    position: absolute;
    top: 0;
    right: 0;
    width: 29px;
    height: 23px;
  }

  .selected {
    background: url('./images/icon-checkbox-active.png') no-repeat center;
    background-size: contain;
  }

  .noSelected {
    background: url('./images/icon-checkbox-default.png') no-repeat center;
    background-size: contain;
  }

  .delete {
    background: url('./images/icon-delete-active.png') no-repeat center;
    background-size: contain;
  }

  .img {
    margin-right: 16px;
    width: 98px;
    height: 98px;
  }

  h2 {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 22px;
  }

  .brandName {
    margin-left: 4px;
    font-size: 12px;
    color: #BE7332;
    line-height: 17px;
    height: 18px;
    background-color: #FFE9D9;
    border-radius: 4px;
    border: 1px solid #FFF8E9;
  }

  .model {
    padding: 10px 0;
    font-size: 13px;
    color: #8C6142;
    line-height: 18px;

    span {
      color: #FF5A56;
      font-weight: bold;
    }
  }

  .sbtnGroup {
    display: flex;

    &>span {
      font-size: 12px;
      font-weight: 600;
      color: #AF540D;
      line-height: 18px;
      border-radius: 9px;
      border: 1px solid rgba(175, 84, 13, .62);
      padding: 0 6px;
    }

    .btnDetail,
    .btnVideo {
      display: flex;
      align-items: center;

      &:after {
        content: ' ';
        background: url('./images/icon-btn-right.png') no-repeat center;
        width: 12px;
        height: 12px;
        background-size: contain;
        margin-left: 6px;
        display: inline-block;
      }
    }

    .btnDetail {
      margin-right: 6px;
    }

    .btnVideo:after {
      content: ' ';
      background: url('./images/icon-btn-video.png') no-repeat center;
      background-size: contain;
    }
  }

  :global {

    .van-stepper__minus,
    .van-stepper__plus,
    .van-stepper__input {
      background-color: #FFF4E7;
    }

    .van-stepper__minus,
    .van-stepper__plus {
      color: #BF7434;
    }

    .van-stepper__input {
      color: #8C6142;
    }

    .van-stepper__minus {
      border-radius: 100px 0px 0px 100px;
    }

    .van-stepper__plus {
      border-radius: 0px 100px 100px 0px;
    }
  }
}

.priceCell {
  padding: 16px 14px 10px;

  .sPriceGroup {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 34px;
    background: #FFF1EC;
    border-radius: 20px;

    .tg {
      font-size: 14px;
      color: #333333;
      line-height: 20px;

      span {
        font-size: 22px;
        font-family: DINAlternate-Bold, DINAlternate;
        font-weight: bold;
        color: #FC1A19;

        i {
          font-style: normal;
          font-size: 14px;
        }
      }

    }

    del {
      padding-left: 10px;
      font-size: 14px;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #8C6142;
      line-height: 16px;
    }
  }
}

.giftCell {
  padding: 0 19px;
  background: linear-gradient(90deg, #FF8633 0%, #FFB047 100%);
  border-radius: 0px 0px 18px 18px;

  .gift {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    height: 34px;

    span {
      font-size: 15px;
      color: #FFFC89;
      padding: 0 5px;
    }
  }

  .iconGift {
    margin-right: 4px;
    width: 18px;
    height: 18px;
  }
}

.goodsEmpty {
  padding: 0 7px;
  height: 106px;
  background: #FFFFFF;
  box-shadow: 0px 1px 6px 0px #F0D8C8;
  border-radius: 18px;
  display: flex;
  align-items: center;

  .shopImg {
    height: 106px;
    width: 117px;
  }

  .goodsContainer {
    h2 {
      font-size: 16px;
      color: #333333;
      line-height: 22px;

      span {
        color: #FF5A56;
      }
    }

    .tips {
      font-size: 14px;
      color: #BE7332;
      line-height: 20px;
    }

    .goSelect {
      margin-top: 5px;
      height: 29px;
      background-color: transparent;
      border: 0;
      background: #FF8057 linear-gradient(121deg, #FFD892 0%, #FFCB75 100%);
      border-radius: 12px;
      font-size: 14px;
      font-weight: 600;
      color: #5B2C03;

      :global {
        .van-button__text {
          display: flex;
          align-items: center;
        }

        .van-icon {
          font-size: 12px;
          font-weight: bold;
        }
      }
    }
  }
}

.addButton {
  height: 42px;
  background: linear-gradient(90deg, #FF8633 0%, #FFB047 100%);
  border-radius: 22px;
  margin: 0 12px 12px;
  width: calc(100% - 24px);

  :global {
    .van-icon {
      margin-right: 5px;
      font-size: 20px;
    }

    .van-button__text {
      font-size: 16px;
      font-weight: 600;
      color: #FFFFFF;
      border: 0 solid;
      display: flex;
      align-items: center;
    }
  }
}

.paymentContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 18px 12px calc(15px + env(safe-area-inset-bottom)) 12px;
  background: #FFFFFF;
  box-shadow: 0px 1px 6px 0px #F0D7C8, inset 0px 1px 3px 0px #FFFFFF;
  border-radius: 18px 18px 0px 0px;

  .needPrice {
    color: #333333;
    padding-bottom: 7px;
    font-size: 18px;
    font-family: DINAlternate-Bold, DINAlternate;
    font-weight: bold;
    color: #FC1A19;
    padding-right: 6px;

    span {
      font-size: 28px;
      margin-right: 2px;
    }
  }

  .allPrice {
    display: inline-block;
    font-size: 14px;
    font-family: DINAlternate-Bold, DINAlternate;
    font-weight: bold;
    color: #8C6142;
    line-height: 16px;
  }

  :global {
    .van-button {
      height: 40px;
      line-height: 40px;
      width: 148px;
      background: #FF8057 linear-gradient(121deg, #FFD892 0%, #FFCB75 100%);
      border-radius: 12px;
      font-size: 18px;
      font-weight: 600;
      color: #5B2C03;
      border: 0;
    }
  }
}

.videoPopup {
  width: 90%;
  border-radius: 10px;
  overflow: hidden;
  transform: none;
  margin-top: -95px;

  :global {

    .plyr--video {
      height: 190px !important;
    }

    .plyr--video.plyr--fullscreen-fallback {
      height: 100% !important
    }
  }
}