@import '../variables.less';

.wm-stepper {
  display: flex;
  flex-direction: row;
  align-items: center !important;
  justify-content: center;

  .mod-box(@alignItem) {
    display: flex;
    align-items: @alignItem;
    width: 64px;
    height: 56px;
    text-align: center;
    position: relative;
    justify-content: center;

    .icon {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      background: rgba(245, 245, 245, 1);
      border-radius: 24px;
    }

    .click-area {
      width: 64px;
      height: 56px;
      position: absolute;
      z-index: 99;
      margin-left: 12px;
    }
  }

  .reduce-box {
    .mod-box(center);

    .reduce {
      height: 16px;
      width: 16px;
    }
  }

  .add-box {
    .mod-box(center);

    .add {
      width: 16px;
      height: 16px;
    }
  }

  .int {
    width: 45px;
    font-size: @font-size-12;
    color: @color-grey-33;
    width: 60px;
    text-align: center;
  }

  .input {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: @font-size-12;
    color: @color-grey-33;
    text-align: center;
    width: 64px;
    height: 56px;
  }
}

.wm-add-cart {
  width: 88px;
  height: 56px;

  .box {
    display: flex;
    width: 40px;
    height: 40px;
    margin: 8px 24px;

    .img {
      width: 100%;
      height: 100%;
    }
  }
}
