/**
 * ShopFactory - Default Theme Tokens
 * 
 * CSS custom properties for theming.
 * Copy and customize for each client.
 * 
 * Usage in client themes:
 *   frontend/src/themes/[clientname]/tokens.css
 */

:root {
  /* =====================
     COLORS
     ===================== */
  
  /* Primary - Farm/Nature Green */
  --color-primary: #2d5016;
  --color-primary-dark: #1e3610;
  --color-primary-light: #e8f0e0;
  
  /* Accent - Warm/Harvest */
  --color-accent: #d97706;
  --color-accent-dark: #92400e;
  --color-accent-light: #fef3c7;
  
  /* Neutral */
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-bg: #fafaf8;
  --color-surface: #f5f5f0;
  --color-border: #e5e5e5;
  
  /* Semantic */
  --color-success: #16a34a;
  --color-success-light: #d1fae5;
  --color-success-dark: #065f46;
  
  --color-error: #dc2626;
  --color-error-light: #fee2e2;
  --color-error-dark: #991b1b;
  
  --color-info: #2563eb;
  --color-info-light: #dbeafe;
  --color-info-dark: #1e40af;
  
  /* =====================
     TYPOGRAPHY
     ===================== */
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: var(--font-family);
  
  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.25rem;     /* 20px */
  --font-size-xl: 1.5rem;      /* 24px */
  --font-size-2xl: 1.75rem;    /* 28px */
  --font-size-3xl: 2.25rem;    /* 36px */
  --font-size-4xl: 3rem;       /* 48px */
  
  --line-height: 1.5;
  --line-height-tight: 1.25;
  --line-height-loose: 1.75;
  
  /* =====================
     SPACING
     ===================== */
  
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  
  /* =====================
     LAYOUT
     ===================== */
  
  --container-max: 1200px;
  --header-height: 64px;
  
  /* =====================
     BORDERS & RADIUS
     ===================== */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* =====================
     SHADOWS
     ===================== */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* =====================
     TRANSITIONS
     ===================== */
  
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  
  /* =====================
     Z-INDEX
     ===================== */
  
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
}

/* =====================
   CLIENT CUSTOMIZATION
   =====================
   
   To customize for a specific client, create:
   frontend/src/themes/[clientname]/tokens.css
   
   Then override specific variables:
   
   :root {
     --color-primary: #8b4513;        // Wine red for a winery
     --color-primary-dark: #5c2d0e;
     --color-primary-light: #fdf5f0;
     --color-accent: #722f37;
   }
*/
