.quantity-input,
.quantity-select {
  font-size: 16px !important; /* Prevents zoom on iOS */
  min-height: 44px !important; /* Minimum touch target size */
  padding: 8px 12px !important;
  text-align: center !important;
  border-radius: 0 !important;
}

.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 14px;
  padding: 8px 12px;
}

.quantity-btn:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.quantity-btn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.quantity-input,
.quantity-select {
  border-left: none !important;
  border-right: none !important;
}

/* Hide number input arrows */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button,
.quantity-select::-webkit-outer-spin-button,
.quantity-select::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type=number],
.quantity-select[type=number] {
  -moz-appearance: textfield;
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
  .table-responsive {
    font-size: 14px;
  }
  .quantity-input {
    width: 60px !important;
    text-align: center !important;
  }
  .quantity-btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 16px;
  }
}
