/* One shared storefront quantity style: product, voucher, quick view, offer,
   cart, checkout and mini-cart. Existing data attributes own their behavior. */
.ndn-quantity-control {
  box-sizing: border-box;
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 0;
  width: 152px;
  min-width: 152px;
  max-width: 100%;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ndn-color-quantity-border);
  border-radius: 0;
  background: var(--ndn-color-white);
  color: var(--ndn-color-quantity-text);
  vertical-align: middle;
}
.ndn-quantity-control > button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}
.ndn-quantity-control > input,
.ndn-quantity-control > output {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: 1 1 54px;
  width: 54px;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline: 1px solid var(--ndn-color-quantity-divider);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.ndn-quantity-control > input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.ndn-quantity-control > input[type=number]::-webkit-inner-spin-button,
.ndn-quantity-control > input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ndn-quantity-control > button:hover:not(:disabled) { background: var(--ndn-color-selected); }
.ndn-quantity-control > button:disabled { opacity: .35; cursor: not-allowed; }
.ndn-quantity-control > :focus-visible { outline: 3px solid var(--ndn-color-quantity-focus); outline-offset: 3px; }
