:host {
  display: inline-block;
}

.quantity-selector {
  border: 1px solid var(--border-color);
  width: 78px;
  height: 40px;
  min-height: 40px;
  background-color: #ffffff;
  box-sizing: border-box;

  &__button {
    width: 24px;
    height: 100%;
    font-size: 20px;
    color: #6f6f6f;
    background-color: #ffffff;
    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: 62px;
    height: 28px;
    min-height: 28px;
    border-color: var(--border-color);
    background-color: #ffffff;

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

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

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

.quantity-selector--disabled {
  opacity: 0.55;
}
