[data-quantity] {
  position: relative;
  width: 100%;
  max-width: 11rem;
  padding: 0;
  margin: 0;
  border: 0;
}

[data-quantity] legend {
  display: none;
}

[data-quantity] input,
.total-input-col input,
.total-col input {
  font-size: 18px;
  height: 3rem;
  padding: 0 3rem;
  border-radius: 5px;
  border: 0;
  background: #fff;
  color: #222;
  /* box-shadow: 0 10px 65px -10px rgba(0, 0, 0, 0.25); */
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.total-col .input-group-text {
  height: 3rem;
}

.total-input-col input {
  padding: 0;
}

[data-quantity] input:focus {
  outline: none;
  //box-shadow: 0 5px 55px -10px rgba(0, 0, 0, 0.2), 0 0 4px #3fb0ff; /* Allows border radius on focus */
}

[data-quantity] input[type='number']::-webkit-inner-spin-button,
[data-quantity] input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

[data-quantity] input[type='number'] {
  -moz-appearance: textfield;
}

[data-quantity] button {
  position: absolute;
  width: 2.8rem;
  height: 2.8rem;
  /* top: 0.6rem; */
  padding: 0;
  margin: 0;

  top: 50%;
  margin-top: -1.4rem;
  display: block;
  border: 0;
  background: #fff
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="50"><path d="M17 25h16M67 25h16M75 17v16" fill="none" stroke="rgb(59,69,66)" stroke-width="1.5px" stroke-linecap="round" stroke-linejoin="round" /></svg>')
    no-repeat 0 0;
  background-size: 5.6rem 2.8rem;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  /* border-radius: 1.4rem; */
  cursor: pointer;
  transition: opacity 0.15s;
  opacity: 0.5;
  /* background-color: red; */
}

[data-quantity] button:active {
  background-position-y: 1px;
  /* box-shadow: inset 0 2px 12px -4px #c5d1d9; */
}

[data-quantity] button:focus {
  outline: none;
}

[data-quantity] button:hover {
  opacity: 1;
}

[data-quantity] button.sub {
  /* left: 0.6rem; */
  left: 1px;
  border-right: 1px solid #dee2e6;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

[data-quantity] button.add {
  right: 1px;
  border-left: 1px solid #dee2e6;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-position-x: -2.8rem;
}
