@bottom-height: 50px;
.order-detail {
  padding-bottom: @bottom-height * 2;
  height: auto !important;
  min-height: 100vh;
  box-sizing: border-box;
}
.giftcard-desc{
  width: 100%;
  height: 36px;
  background: @white;
  margin: @padding-sm 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 0 @padding-xs;
  box-sizing: border-box;
  .cr-image{
    flex-shrink: 0;
  }
  .desc{
    font-size: 13px;
    color:@black;
    flex: 1;
    text-align: left;
    margin: 0 @padding-unit
  }
  .link{
    display: flex;
    align-items: center;
    span{
      font-size: 13px;
      color:@black;
    }
    .cr-icon{
      color:#C8C9CC;
      font-size: 14px;
    }
  }
}
.Od {
  &__item {
    background-color: @white;
    border-radius: 8px 8px 0 0 ;
    margin: @padding-sm 0 0  ;
    padding: 0 @padding-xs;
  }
  &__status {
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    &-desc {
      margin-right: @padding-unit + 2;
      width: 142px;
    }
    &-statusTxt {
      .text-size(16);
      color: @text-color;
    }
    &-txt {
      .text-size(12);
      color: @text-grey;
    }
    &-img {
      width: 100px;
      height: 100px;
    }
  }
  &__price {
    color: @text-grey;
    .text-size(13);
    &-statistic {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      span:last-child {
        color: @text-color;
      }
    }
    &-bold {
      font-weight: @font-weight-bold - 100;
      color: @red-light !important;
      .text-size(15);
    }
    &-notice {
      .text-size(11);
      color: #ED6A0C;
      line-height: 24px;
      background-color: #FFFBE8;
      padding: 0 @padding-xs;
      width: 100%;
      transform: translateX(-@padding-xs);
      border-radius: 0 0 @border-radius-sm @border-radius-sm;
    }
  }
  &__info {
    &-item {
      padding: @padding-xs 0;
      color: @text-grey;
      display: flex;
      .text-size(13);
      span {
        color: @gray-5;
      }
    }
    &-right {
      margin-left: auto;
      color: @red !important;
    }
  }
  &__bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: calc(100% - @padding-sm * 2);
    border-top: 1px solid @grey-border;
    background-color: @white;
    padding: @padding-unit @padding-sm;
    height: @bottom-height;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    .cr-button {
      margin-left: @padding-xs;
      min-width: 86px;
    }
    .cr-button--default {
      color: @black;
    }
  }
  &__address {
    padding: @padding-xs;
    &-person {
      display: flex;
      align-items: center;
      margin-bottom: @padding-unit + 2;
      .cr-tag {
        padding: 1px @padding-unit - 1;
        background: linear-gradient(269deg, #ff5d00 12%, #ff1900 86%);
        margin-right: @padding-unit;
      }
      span {
        &:last-child {
          .text-size(13);
          color: @text-color;
        }
      }
    }
    &-desc {
      .text-size(12);
      color: @text-grey;
    }
  }
}
.only-customer {
  background-color: #fff;
  border-radius: 0px 0px 8px 8px;
  margin-top: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-wrap: break-word;
  color: rgba(102, 102, 102, 1);
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  height: 40px;
  line-height: 40px;
  
  /deep/ .cr-image {
    width: 20px !important;
    margin-right: 4px;
    .cr-image--img {
      width: 20px;
      height: 20px;
      box-sizing: border-box;
    }
  }
}

.prepayArea {
  display: inline-block;
  position: relative;
  // margin-top: @padding-sm;
  margin-left: @padding-unit;
  .prepayBtn {
    display: block;
    position: relative;
    color: @red;
    border: 1px solid @red;
    background: @white;
    width: 86px;
    border-radius: 999px;
    height: 30px;
    z-index: 2;
    font-size: 14px;
  }
  .giftCardReturnInfo {
    max-width: 86px;
    position: absolute;
    right: 0.5px;
    top: -11px;
    display: inline-block;
    // padding: 0 @padding-unit;
    height: 25px;
    background-image: linear-gradient(270deg, #ff5d00 50%, #fff 91%);
    color: @white;
    font-size: 8px;
    // box-sizing: border-box;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 0;
    display: flex;
    align-items: flex-start;
    .content {
      max-width: 86px;
      position: relative;
      padding: 0 @padding-unit + 2 0 @padding-unit;
      display: inline-block;
      box-sizing: border-box;
      background-image: linear-gradient(270deg, #ff5d00 10%, #ff1900 91%);
      border-top-left-radius: 7px;
      border-top-right-radius: 7px;
      border-bottom-left-radius: 7px;
      border-bottom-right-radius: 0;
      z-index: 3;
      height: 16px;
      line-height: 17px;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}