/**
 * Product Detail Page - CSS Variables
 * Single source of truth for colors, spacing, typography, etc.
 */

:root {
  /* Primary Colors */
  --primary-green: #0aad0a;
  --primary-green-dark: #089408;
  --primary-green-light: rgba(10, 173, 10, 0.15);
  --primary-green-extra-light: rgba(10, 173, 10, 0.08);

  /* Secondary Colors */
  --secondary-blue: #0066cc;
  --secondary-blue-light: rgba(0, 102, 204, 0.1);

  /* Accent Colors */
  --accent-orange: #e67e22;
  --accent-orange-light: rgba(230, 126, 34, 0.1);

  --accent-red: #dc3545;
  --accent-red-light: rgba(220, 53, 69, 0.1);

  /* Text Colors */
  --text-dark: #1a1a1a;
  --text-dark-medium: #2d3748;
  --text-gray: #4a5568;
  --text-light: #718096;
  --text-lighter: #a0aec0;

  /* Border Colors */
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --border-dark: #cbd5e0;

  /* Background Colors */
  --background-white: #ffffff;
  --background-light: #f7fafc;
  --background-lighter: #f8f9fa;
  --background-gray: #edf2f7;

  /* Success, Warning, Info */
  --success-color: #28a745;
  --success-bg: #d4edda;
  --success-light: rgba(40, 167, 69, 0.1);

  --warning-color: #ffc107;
  --warning-light: rgba(255, 193, 7, 0.1);

  --info-color: #17a2b8;
  --info-light: rgba(23, 162, 184, 0.1);

  /* Border Radius */
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;

  /* Spacing */
  --space-xl: 1.5rem;
  --space-lg: 1rem;
  --space-md: 0.75rem;
  --space-sm: 0.5rem;
  --space-xs: 0.25rem;

  /* Typography - Font Weights */
  --font-bold: 700;
  --font-semibold: 600;
  --font-medium: 500;
  --font-normal: 400;

  /* Typography - Font Sizes */
  --font-xxl: 1.5rem;
  --font-xl: 1.25rem;
  --font-lg: 1.125rem;
  --font-md: 0.9375rem;
  --font-base: 1rem;
  --font-sm: 0.875rem;
  --font-xs: 0.75rem;

  /* Transitions */
  --transition-normal: all 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Dark mode — mirrors form-base.css to prevent :root from overriding dark variables */
[data-bs-theme="dark"] {
  --text-dark: #ffffff;
  --text-dark-medium: #ffffff;
  --text-gray: #ffffff;
  --text-light: #e5e7eb;

  --border-color: #2d3142;
  --border-light: #252834;

  --background-white: #1f2330;
  --background-light: #1a1d26;

  --primary-green-light: rgba(10, 173, 10, 0.25);
  --primary-green-extra-light: rgba(10, 173, 10, 0.15);
  --accent-red-light: rgba(220, 53, 69, 0.2);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
}

