@import url('../../style/mixins');
.pay {
  padding: @padding-sm;
}
.price-box {
  background-color: @white;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .text-size(13);
  color: @black;
  border-radius: @border-radius-sm;

  .price{
    .text-size(30);
    color: @font-color-red;
    font-weight: bold;
    margin-top: @padding-xs;
    &:before{
      content: '￥';
      .text-size(14);
      font-weight: bold;
    }
  }
  .time{
    display: flex;
    align-items: center;
    margin-top: @padding-unit;
  }
}
.payBtn{
  width: 100%;
  position: fixed;
  padding: @padding-xs @padding-lg;
  box-sizing: border-box;
  z-index: 98;
  bottom: 0;
  left:0;
  background-color:@white;
  padding-bottom: calc(@padding-xs + constant(safe-area-inset-bottom));
  padding-bottom: calc(@padding-xs + env(safe-area-inset-bottom));
  button{
    .text-size(16);
    width: 100%;
    color: @white;
    font-size: @line-height-sm;
    border-radius: @border-radius-lx;
    span{
      font-weight: bold;
    }
  }
  button[disabled] {
    color: rgba(255,255,255,.6);
  }
  &-primary {
    @primary-bg();
  }
}
.btn{
  width: 100%;
  position: fixed;
  padding: @padding-xs @padding-lg;
  box-sizing: border-box;
  bottom: 0;
  left:0;
  background-color:@white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: calc(@padding-xs + constant(safe-area-inset-bottom));
  padding-bottom: calc(@padding-xs + env(safe-area-inset-bottom));
  button{
    flex:1;
    color: @white;
    font-size: @line-height-sm;
    border-radius: @border-radius-lx;
  }
  button[disabled] {
    color: rgba(255,255,255,.6);
  }
  &-primary {
    @primary-bg();
  }
  &-default{
    border: 1px solid @cherry-color-error;
    color: @cherry-color-error !important;
    margin-right: @padding-xs;
    background-color: @white !important;
  }

}
.placeholder{
  width: 100%;
  height: 200px;
}