:host {
  display: inline-block;
}

.quantity-selector {
  border: 1px solid #d8d8d8;
  width: 78px;
  height: 40px;
  min-height: 40px;
  background: #f6f6f6;
  box-sizing: border-box;

  &__button {
    width: 24px;
    height: 100%;
    font-size: 20px;
    color: #6f6f6f;
    background: #f6f6f6;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;

    &:not(:disabled):hover {
      background-color: #e9e9e9;
      color: #333333;
    }

    &:disabled {
      color: #A0A0A0;
      opacity: 1;
      cursor: not-allowed;
    }
  }

  &__value {
    font-size: 16px;
    color: #6f6f6f;
  }

  &--small {
    width: 46px;
    height: 21px;
    min-height: 21px;
    border: 1px solid #cfcfcf;
    background: #ffffff;

    .quantity-selector__button {
      width: 15px;
      font-size: 10px;
      background: #ffffff;
      color: #666666;

      &:not(:disabled):hover {
        background-color: #f0f0f0;
      }
    }

    .quantity-selector__value {
      font-size: 10px;
      color: #666666;
    }
  }
}
