@import "../../../style/CommonStyle.module.less";
@import "../../../style/utils.module.less";

.container {
  .size(@w: 600px , @h: inherit);
  background-color: #2c343f;
  position: sticky;
  top: 90px;
  height: calc(100vh - 90px);
}

.order {
  display: flex;
  flex-direction: column;
  padding: 69px 60px 40px 60px;

  > h3 {
    font-weight: bold;
    font-size: 30px;
    padding-bottom: 29px;
  }

  .line {
    .size(@w: 480px , @h: 1px);
    background-color: #ffffff;
    opacity: 0.1;
    margin-bottom: 20px;
  }
  .itemWrap {
    font-weight: normal;
    font-size: 24px;
    color: #cccccc;
    min-height: 324px;

    .noticeBox {
      padding: 30px;
      background-color: rgba(0, 0, 0, 0.2);
      font-size: 24px;
      color: #8290a0;
      line-height: 1.33;
      text-align: center;
    }
  }
  .item {
    margin-bottom: 21px;
    display: flex;
    justify-content: space-between;
  }
}

.total {
  .size(@w: 600px , @h: auto);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 31px 59px 31px 61px;
  margin-bottom: 120px;

  .totalBox {
    width: 100%;
    display: flex;
    justify-content: space-between;

    .totalTitle {
      font-weight: bold;
      font-size: 30px;
      color: #ffffff;
    }
    .price {
      font-weight: bold;
      font-size: 42px;
    }
  }

  .noticeBox {
    width: 100%;
    margin-top: 23px;
    font-size: 22.5px;
    color: #ccc;
  }
}

.bottom {
  padding: 0 60px;

  .termsWrap {
    .termsList {
      margin-bottom: 30px;
      width: 100%;
      display: flex;
      justify-content: space-between;

      .termsTypeName {
        display: inline-block;
        .font(@fontFamily: @baseFont, @fontSize: 24px);
        color: #009cff;
        text-decoration: underline;
        .elip(@clamp: 1);
        width: 332px;
      }

      .viewAllButton {
        margin-left: 25px;
        min-width: unset;
        max-width: unset;
        width: 124px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
      }
    }
  }

  .tButton {
    width: 480px;
  }
}

.checkoutErrorPopup {
  > div > div > div > div {
    padding: 50px 0 !important;
  }

  .popupContainer {
    width: 780px;
    .flex(@display: flex, @justifyCenter: center, @alignCenter: center, @direction: column);

    p {
      width: 100%;
      font-size: 28px;
      color: #222222;
      text-align: center;
    }

    .popupBtn {
      .size(@w: 300px , @h: 78px);
      margin-top: 38px;
    }
  }
}
