/* Product page quantity stepper: keep WooCommerce's original input and add clear controls. */
.woocommerce div.product form.cart .quantity.age-quantity-control {
  display: grid;
  width: auto;
  min-height: 46px;
  overflow: hidden;
  align-items: stretch;
  grid-template-columns: 38px minmax(46px, 64px) 38px;
  border: 1px solid var(--age-line);
  border-radius: 4px;
  background: var(--age-paper);
}

.woocommerce div.product form.cart .quantity.age-quantity-control .qty {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-right: 1px solid var(--age-line);
  border-left: 1px solid var(--age-line);
  border-radius: 0;
  appearance: textfield;
  background: var(--age-paper);
  color: var(--age-ink);
  text-align: center;
}

.woocommerce div.product form.cart .quantity.age-quantity-control .qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity.age-quantity-control .qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.woocommerce div.product form.cart .age-quantity-button {
  display: grid;
  min-width: 0;
  padding: 0;
  place-items: center;
  border: 0;
  background: var(--age-surface);
  color: var(--age-ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.woocommerce div.product form.cart .age-quantity-button:hover:not(:disabled),
.woocommerce div.product form.cart .age-quantity-button:focus-visible:not(:disabled) {
  background: var(--age-accent);
  color: var(--age-paper);
  outline: 0;
}

.woocommerce div.product form.cart .age-quantity-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
