/* ==========================
   WooCommerce Quantity (with +/- steppers)
   ========================== */
.quantity.quantity--with-steppers {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #cacaca;
  border-radius: 4px;
  padding: 3px 14px;
  height: 34px;
  transition: border-color 0.2s ease;

  &:has(input:focus-visible) {
    border-color: black;
  }
}

.quantity.quantity--with-steppers .qty-btn {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  background: unset;
  border: none;
  display: flex;
  align-items: center;
  font-size: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;

  &:disabled {
    cursor: not-allowed;
    opacity: 0.3;
  }
}

.quantity.quantity--with-steppers input.qty,
.quantity.quantity--with-steppers input[type='number'] {
  width: 1em;
  text-align: center;
  border: none !important;
  box-shadow: none !important;
  height: 100%;
  margin: 0;
  font-size: 16px;
  background: transparent;
  color: #2c2b2b;
  padding: 0;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 16px */
  text-transform: uppercase;
}

/* Hide default spinners */
.quantity.quantity--with-steppers
  input[type='number']::-webkit-outer-spin-button,
.quantity.quantity--with-steppers
  input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
