@charset "utf-8";
.af-place-list-container {
  position: relative;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;

  &:before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    display: block;
    width: 100%;
    height: 240px;
    background: url("./image/header@2x.png") center top/100% 100% no-repeat;
  }

  .header {
    position: relative;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    padding: 59px 0 25px 0;
  }

  .store-name, .open-time {
    display: flex;
    padding-left: 20px;
  }

  .store-name {
    p {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 118px;
      height: 36px;
      background: linear-gradient(86deg, #F0E1E2 0%, #DDC5C0 100%);
      border-radius: 18px;
    }

    img {
      width: 20px;
      height: 20px;
    }

    span {
      margin-left: 8px;
      font-size: 18px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #1F1E1E;
      line-height: 25px;
    }
  }

  .open-time {
    margin-top: 13px;

    p {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    img {
      width: 14px;
      height: 14px;
      margin-right: 3px;
    }

    span {
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #FFFFFF;
      line-height: 20px;
    }
  }
}

.af-van-tab {
  position: relative;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  margin-top: 28px;

  .week {
    font-size: 18px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 25px;
  }

  .date {
    margin-top: 4px;
    font-size: 12px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 17px;
  }

  ::v-deep .van-sticky--fixed {
    background: linear-gradient(45deg, #000000, #525050);
  }

  ::v-deep .van-tabs__wrap {
    height: 60px;

    .van-tabs__nav--complete {
      padding-left: 0;
      padding-right: 0;

      .van-tab {
        width: 93px;
      }

      .van-tabs__line {
        width: 93px;
      }
    }
  }

  ::v-deep .van-tabs__content {
    padding-bottom: 60px;
  }
}

.place-list {
  position: relative;
  left: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 20px;
  border-bottom: 1px solid #EBEBEB;

  .left {
    width: 60%;
  }

  .right {
    width: 40%;
    text-align: right;
  }

  .sell-out {
    width: 40%;
    text-align: right;
  }

  .name {
    font-size: 18px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 700;
    color: #1F1E1E;
    line-height: 25px;
  }

  .des {
    max-width: 100%;
    margin-top: 6px;
    font-size: 12px;
    color: #736F6F;
    line-height: 17px;
    word-break: break-all;
  }

  .price {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    color: #D32323;

    span {
      &:nth-of-type(1) {
        font-size: 24px;
        font-weight: bold;
        line-height: 28px;
      }

      &:nth-of-type(2) {
        font-size: 16px;
        font-weight: bold;
        line-height: 26px;
      }
    }

    &.disabled {
      color: #CCC6C6;
    }
  }

  .btn-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 3px;
  }

  .btn {
    font-size: 12px;
    color: #1F1E1E;
    line-height: 17px;
    margin-right: 4px;
  }

  .sell-out {
    position: absolute;
    top: 8px;
    right: 20px;
    z-index: 1;

    img {
      width: 80px;
      height: 74px;
    }

    div {
      position: absolute;
      right: 0;
      top: 13px;
      z-index: 1;

      p {
        white-space: nowrap;
      }
    }

    .sell-des {
      margin-top: 3px;
      font-size: 12px;
      color: #D32323;
      line-height: 17px;
      text-align: right;
    }
  }
}

.af-popup-main {
  position: relative;
  left: 0;
  top: 0;
  height: 100%;

  .af-van-icon {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1;
    color: #CCC6C6;
  }
}

.af-popup-header {
  width: 100%;
  background: linear-gradient(90deg, #000000 0%, #525050 100%);
  border-radius: 16px 16px 0 0;

  .date-wrap {
    display: flex;
    align-items: center;
  }

  .date {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 174px;
    height: 36px;
    font-size: 14px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #1F1E1E;
    line-height: 20px;
    background: url("./image/icon_juxing@2x.png") center center/100% 100% no-repeat;
  }

  .title {
    margin-left: 28px;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 17px;
  }

  .outlet-name {
    margin: 10px 0 4px 20px;
    font-size: 24px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 33px;
  }

  .place-name {
    width: 234px;
    height: 35px;
    margin-left: 20px;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 20px;
    background: url("./image/logo_0@2x.png") left top/100% 100% no-repeat;
  }
}

.af-popup-body {
  height: calc(100% - 118px);
  padding: 16px 0 100px;
  background: #fff;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;

  .tip {
    display: flex;
    align-items: center;
    padding-left: 20px;

    span {
      &:nth-of-type(1) {
        font-size: 14px;
        color: #736F6F;
        line-height: 20px;
      }

      &:nth-of-type(2) {
        font-size: 14px;
        color: #CCC6C6;
        line-height: 20px;
      }
    }
  }

  .time {
    margin-top: 4px;
    font-size: 24px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #1F1E1E;
    line-height: 33px;
  }
}

.width-335 {
  width: 335px;
  margin: 0 auto;
}

.people-label {
  margin-top: 14px;
  font-size: 14px;
  color: #736F6F;
  line-height: 20px;
}

.people-options {
  display: flex;
  flex-flow: row wrap;
  margin-top: 8px;

  span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 32px;
    margin-left: 26px;
    margin-bottom: 16px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #F2F2F2;
    font-size: 16px;
    color: #736F6F;
    line-height: 22px;

    &:nth-of-type(4n+1) {
      margin-left: 0;
    }

    &.active {
      color: #fff;
      background: linear-gradient(90deg, #000000 0%, #525050 100%);
      box-shadow: 0 2px 4px 0 rgba(210, 199, 199, 0.31);
    }
  }
}

.af-van-cell {
  padding-top: 20px;

  ::v-deep .van-field__label {
    span {
      font-size: 16px;
      color: #736F6F;
      line-height: 22px;
    }
  }

  .van-field__value {
    text-align: left;

    input {
      height: 22px;
      font-size: 16px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #1F1E1E;
      -webkit-text-fill-color: #1F1E1E;
      opacity: 1;
      background: transparent;
      box-shadow: inset 0 0 0 1000px #F7F7F7 !important;

      &::-webkit-input-placeholder {
        -webkit-text-fill-color: #ccc;
        opacity: 1;
        color: #ccc;
      }
    }
  }
}

.name-wrap {
  position: relative;
  left: 0;
  top: 0;
  margin-bottom: 16px;

  .gender {
    position: absolute;
    right: 0;
    top: 20px;
    z-index: 1;
    display: flex;

    span {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 54px;
      height: 24px;
      background: #FFFFFF;
      border-radius: 3px;
      border: 1px solid #F2F2F2;
      font-size: 12px;
      color: #1F1E1E;
      line-height: 17px;
      overflow: hidden;

      &:nth-of-type(2) {
        margin-left: 12px;
      }

      &.active {
        color: #fff;
        background: linear-gradient(90deg, #000000 0%, #525050 100%);
        box-shadow: 0 2px 4px 0 rgba(210, 199, 199, 0.31);
      }
    }
  }
}

.explain {
  font-size: 12px;
  color: #736F6F;
  line-height: 18px;
}

.payment-type {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;

  p {
    position: relative;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    width: 164px;
    height: 60px;
    border-radius: 4px;
    border: 1px solid #F2F2F2;
    padding-left: 25px;

    &:nth-of-type(2) {
      margin-left: 7px;
    }

    &.active {
      background: linear-gradient(90deg, #000000 0%, #525050 100%);
      border-radius: 4px;

      span {
        color: #FFFFFF;
      }
    }

    .alipay {
      width: 28px;
      height: 28px;
    }

    span {
      margin-left: 8px;
      font-size: 14px;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #231916;
      line-height: 20px;
    }

    .wechat {
      width: 26px;
      height: 25px;
    }

    .icon {
      position: absolute;
      right: 0;
      top: 0;
      z-index: 1;
      width: 20px;
      height: 19px;
    }
  }
}

.af-popup-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 375px;
  height: 68px;
  padding: 0 20px;
  background: #FFFFFF;
  box-shadow: 0px -2px 4px 0px rgba(13, 13, 13, 0.03);

  .count {
    display: flex;
    align-items: center;

    span {
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;

      &:nth-of-type(1) {
        font-size: 16px;
        color: #231916;
        line-height: 22px;
      }

      &:nth-of-type(2) {
        font-size: 24px;

        color: #D32323;
        line-height: 33px;
      }
    }
  }

  .btn {
    width: 124px;
    height: 50px;
    background: #D32323;
    border-radius: 25px;
    font-size: 16px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 50px;
    text-align: center;
  }
}

.btimap {
  margin-top: 100px;
  text-align: center;
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #736F6F;
  line-height: 22px;
}
