/* Product Buy Section */
.product-buy-section {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.product-buy-wrapper {
  max-width: 500px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #333;
}

.price-label {
  font-weight: normal;
  color: #666;
  margin-right: 0.5rem;
}

.price-amount {
  color: #2e8b57;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quantity-selector label {
  font-weight: 600;
  color: #333;
}

.quantity-input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  text-align: center;
}

.quantity-input:focus {
  outline: none;
  border-color: #2e8b57;
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

/* Add to Cart Button */
.add-to-cart-btn {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background-color: #2e8b57;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: #246b44;
}

.add-to-cart-btn:active {
  transform: scale(0.98);
}

.add-to-cart-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Confirmation Message */
.product-confirmation {
  font-weight: 600;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Out of Stock */
.product-out-of-stock {
  color: #c41e3a;
  font-weight: 600;
  font-size: 1.1rem;
}

.product-sku {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}
