.number-spinner-block {
  align-items: stretch;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  position: relative;
  width: auto;
}

.number-spinner-block .minus-btn,
.number-spinner-block .plus-btn,
.number-spinner-block input[type="number"] {
  align-items: center;
  border: 0;
  display: flex;
  height: 40px;
  justify-content: center;
  outline: none;
  padding: 0 5px;
  text-align: center;
}

.number-spinner-block .minus-btn,
.number-spinner-block .plus-btn {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px;
  border: 1px solid var(--bs-black);
  width: 40px;
  z-index: 8;
}

.number-spinner-block .minus-btn:focus,
.number-spinner-block .plus-btn:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
  outline: 0 !important;
}

.number-spinner-block .minus-btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8'/%3E%3C/svg%3E");
}

.number-spinner-block .plus-btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2'/%3E%3C/svg%3E");
}

.number-spinner-block input[type="number"] {
  -moz-appearance: textfield;
  border-bottom: 1px solid var(--bs-black);
  border-top: 1px solid var(--bs-black);
  font-weight: 700;
  width: 60px;
}

.number-spinner-block input[type="number"]::-webkit-outer-spin-button,
.number-spinner-block input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
