.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8rpx;
}

.quantity-btn {
  width: 60rpx;
  height: 60rpx;
  min-width: 60rpx;
  padding: 0;
  border-radius: 8rpx;
  border: 1rpx solid #e5e7eb;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28rpx;
  color: #374151;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-input {
  width: 60rpx;
  height: 60rpx;
  text-align: center;
  border: 1rpx solid #e5e7eb;
  border-radius: 8rpx;
  font-size: 28rpx;
  color: #374151;
  background-color: #ffffff;
}

.quantity-input:disabled {
  background-color: #f9fafb;
  opacity: 0.5;
}

/* 商品详情页样式 - 宽输入框 */
.quantity-detail .quantity-input {
  width: 300rpx;
  height: 64rpx;
  border: none;
  font-size: 32rpx;
  color: #333;
  font-weight: 600;
  text-align: center;
  background: transparent;
  padding: 0;
  margin: 0;
}

.quantity-detail .quantity-input:focus {
  outline: none;
}

.quantity-detail .quantity-btn {
  width: 64rpx;
  height: 64rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #ff9500;
  font-size: 32rpx;
  font-weight: bold;
  padding: 0;
}

.quantity-detail .quantity-btn:active {
  opacity: 0.7;
}

.quantity-detail .quantity-btn:disabled {
  color: #ccc;
}