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

.section {
  display: flex;
  justify-content: space-around;
  align-content: center;
  background: @white;
  border-radius: @border-radius-md;
}

.order-section.cash-out {
  padding: 12.5px 10px;
}

.cash-out {
  &-text image {
    vertical-align: 15px;
    display: inline-block;
    width: 42px;
    height: 20px;
  }

  .card-xhk-btn {
    margin-top: 11px;
  }

  &-txt {
    color: #666;
    line-height: 1.6;
    .text-size(12);
    display: inline-block;
    margin-left: 10px;
  }

  &-raise text {
    color: #333;
    .text-size(20);
    margin: 0 5px;
    font-weight: 700;
  }

  &-return {
    color: #999;

    text {
      color: #333;
      margin-left: 5px;
    }
  }
}

.face-recognition {
  display: flex;
  justify-content: space-between;
  .text-size(11);
  color: #ed6a0c;
  background: #fffbe8;
  margin: 5px 5px 0;
  height: 30px;
  line-height: 30px;
  margin-bottom: 13px;
  padding-left: 5px;
  border-radius: 5px;

  button {
    margin-top: 5px;
    margin-right: 5px;
    width: 60px;
    height: 20px;
    display: inline-block;
    line-height: 17px;
    .text-size(10);
    padding: 0;
    color: #ed6a0c;
    background: #fffbe8;
    border: 1px solid #ed6a0c;
    border-radius: 5px;

    span {
      .text-size(11);
    }
  }
}

.container {
  // padding: @padding-sm @padding-sm 0;
  box-sizing: border-box;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
}

.user-section {
  padding: 0 0 0 @padding-sm;
  position: relative;
  padding-top: 30px;
  margin-bottom: @padding-sm;
  .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
  }
}

.user-info-box {
  // display: flex;
  // align-items: center;
  position: relative;
  justify-content: space-between;
  z-index: 1;
  .user-info {
    display: flex;
    align-items: center;
  }

  .portrait {
    width: 54px;
    height: 54px;
    border-radius: @border-radius-max;
    margin-right: @padding-xs;
  }

  .username {
    .text-size(17);
    color: @white;
  }

  .user-config {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    .head {
      height: 56px;
      width: 56px;
      margin-right: 10px;
      img{
        width: 100%;
        height: 100%;
        border-radius: @border-radius-max;
      }
    }
    .go-login {
      font-size: 16px;
      font-weight: 500;
    }
    .info-code {
      display: flex;
      flex-direction: column;
      height: 56px;
      justify-content: space-around;
      &-top {
        // line-height: 20px;
        display: flex;
        align-items: center;
        .phone {
          color: @black;
          .text-size(16);
          font-weight: @font-weight-bold;
          margin-right: 10px;
        }
        img {
          width: 50px;
        }
        // margin-bottom: 7px;
      }
      &-bottom {
        display: flex;
        flex-direction: column;
        .text-size(12);
        .growth-value {
          color: @black;
          // line-height: 20px;
          span:first-child{
            font-weight: @font-weight-bold;
          }
          .iconfont {
            .text-size(10);
            color: @black;
          }
        }
        .growth-value-progress {
          max-width: 120px;
        }
      }
     
    }
    .coupon {
      width: 25px;
      height: 25px;
      margin-top: 4.5px;
      margin-right: 10px;
      display: block;
    }
    .config {
      display: block;
      width: 24px;
      height: 24px;
      .text-size(24);
      color: #fff;
    }
  }
  .member-info {
    display: flex;
    &-item {
      .item-con {
        max-width: 280px;
      }
    }
  }
}

.card {
  &-box {
    background: @white;
    border-radius: @border-radius-sm;
    margin-bottom: @padding-sm;
  }

  &-title {
    display: flex;
    justify-content: space-between;
    padding: @padding-sd @padding-xs;
    border-bottom: 1px solid @gray-1;

    span {
      .text-size(14);
      align-self: center;
      color: @black;
      font-weight: @font-weight-bold;
    }
  }

  &-info {
    .text-size(12);
    color: @gray-4;

    .iconfont {
      .text-size(11);
      color: @gray-3;
    }
  }

  &-xhk-btn {
    width: 100px;
    height: 30px;
    line-height: 29px;
    border-radius: 20px;
    border: 1px solid #ec1500;
    font-size: 14px;
    color: #ec1500;
    text-align: center;
    background: #fff;
    margin-top: 16px;
    margin-right: 0;
  }

  &-xhk-btn.disabled {
    opacity: 0.7;
    background: #fff;
    color: rgba(236, 21, 0, 0.7);
    border: 1px solid rgba(236, 21, 0, 0.7);
  }

  &-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    border-top: 1px solid rgba(216, 216, 216, 0.3);

    .card-xhk-btn {
      margin-top: 0;
    }

    span {
      .text-size(12);
      color: #666;
    }
  }
}

.xhk {
  &-state {
    position: relative;
    display: flex;
    padding: 0 10px 10px;
  }

  &-icon {
    width: 26px;
    height: 18px;
    margin-top: 22.5px;
  }

  &-title {
    margin-top: 13px;
    margin-left: 8px;
    .text-size(12);
    color: #666;
    width: 250px;

    text {
      line-height: 1.7;
    }
  }

  &-txt {
    .text-size(12);
    color: #666666;
  }

  &-bold {
    font-weight: 400;
    color: #333;
    .text-size(16);
  }
}

.cover-container {
  background: @page-color-base;
  padding-bottom: 10px;

  .arc {
    position: absolute;
    left: 0;
    top: -16px;
    width: 100%;
    height: 18px;
  }
}

.main-list {
  position: relative;
  padding: 0 @padding-sm ;
  // margin-top: -25px;
}

.tj-sction {
  &:extend(.section);

  .tj-item {
    &:extend(.flex-center);
    flex-direction: column;
    height: 70px;
    .text-size(12);
    color: #75787d;
  }

  .num {
    .text-size(12);
    color: @font-color-dark;
    margin-bottom: 4px;
    font-weight: 700;
  }
}

.order-section {
  padding: @padding-sm 0;
  &:extend(.section);

  &.serve {
    .occupy {
      width: 60px;
    }
  }

  .order-item {
    &:extend(.flex-center);
    position: relative;
    width: 80px;
    height: 60px;
    border-radius: @border-radius-sm;
    .text-size(12);
    color: @gray-5;
    .coupon-desc{
      // width: 40px;
      height: 34px;
      line-height: 34px;
      color:@black;
      .coupon-num{
        font-weight: 500;
        font-size: 18px;
        margin-right: 1px;
      }
      .coupon-unit{
        font-size: 10px;
      }
    }
    .giftcard-desc{
      height: 34px;
      line-height: 34px;
      color:@black;
      .giftcard-num{
        .int{
          font-weight: 500;
          font-size: 18px;
        }
        .float{
          font-weight: 500;
          font-size: 11px;
        }
      }
      .giftcard-unit{
        font-size: 10px;
      }
    }
    img {
      width: 40px;
      height: 40px;
      display: block;
    }

    .num {
      background: @red;
      color: @white;
      border: 1px solid @white;
      .text-size(10);
      text-align: center;
      padding: 0 @padding-unit;
      border-radius: @border-radius-max;
      display: inline-block;
      position: absolute;
      top: 3px;
      right: 8px;
      z-index: 9;
    }
  
  }
}
.order-item {
  &:extend(.flex-center);
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: @border-radius-sm;
  .text-size(12);
  color: @gray-5;

  img {
    width: 40px;
    height: 40px;
    display: block;
  }
}
.card-bag{
  &:extend(.flex-center);
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: @border-radius-sm;
  .text-size(12);
  color: @gray-5;
  img {
    width: 34px;
    height: 34px;
    display: block;
  }
  .card-bag-info{
    display: flex;
  }
}


.js-tel {
  color: #000000;
}


.superscript {
  position: absolute;
  top: 0px;
  left: 50px;
  width: 60px;
  height: 60px;
  .desc {
    position: absolute;
    top: 0;
    left: 0;
    background: #EC1500;
    background-image: linear-gradient(269deg, #FF5D00 12%, #FF1900 86%);
    border-radius: 7px 7px 7px 0;
    color: #FFFFFF;
    text-align: center;
    padding:0 2px;
  }
  .bubble{
    width:6px;
    height: 6px;
    background-image: linear-gradient(269deg, #FF5D00 12%, #FF1900 86%);
    border-radius: 7px;
    position: absolute;
    top: 0;
    left: 0;
  
    display: flex;
    flex-wrap: nowrap;
    font-size: 10px;
    color: #FFFFFF;
    letter-spacing: 0;
    text-align: center;
  }
}
