@import '../../theme/regular';

.afterSalesType {
  background-color: #f9fafb;
  padding: 12px;

  .afterSalesTypeItem {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    border-radius: 6px;
    margin-bottom: 12px;
    box-sizing: border-box;

    .afterSalesTypeTitle {
      font-size: 14px;
      font-weight: 500;
      color: $fontColor;
      padding-bottom: 12px;
    }

    .afterSalesTypeContent {
      display: flex;

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

      .info {
        flex: 1;
        display: block;
        padding-left: 8px;
        text-align: left;

        .base {
          display: flex;
          justify-content: space-between;
          margin-bottom: 4px;

          .name {
            flex: 1;
            font-size: 12px;
            font-weight: 400;
            color: $fontColor;
            line-height: 18px;
          }

          .price {
            width: 70px;
            text-align: right;
            font-size: 14px;
            font-weight: 50;
            color: $fontColor;
            line-height: 21px;
          }
        }

        .advance {
          display: flex;
          justify-content: space-between;
          align-items: center;
          .size {
            font-size: 12px;
            font-weight: 400;
            color: #888e9b;
            line-height: 18px;
          }

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

            .icon {
              height: auto;
              margin-top: 0;
            }
          }
        }

        .tip {
          padding: 2px 6px;
          color: #888e9b;
          font-size: 12px;
          background-color: #ffffff;
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
          border: 1px solid #eaeaea;
          margin-top: 4px;
          border-radius: 4px;
          line-height: 15px;
        }
      }
    }
  }

  .afterSalesTypeType {
    padding: 12px;
    border-radius: 6px;
    background-color: #ffffff;

    .title {
      font-size: 14px;
      font-weight: 500;
      color: $fontColor;
      line-height: 21px;
      margin-bottom: 16px;
    }

    .item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;

      &:last-child {
        margin-bottom: 4px;
      }

      .headline {
        font-size: 14px;
        font-weight: 400;
        color: $fontColor;
      }
    }
  }
}
