/**
 * Prime Store - CSS Custom Properties
 * Global design tokens for consistent styling across the plugin
 * 
 * These variables can be overridden dynamically via PHP settings
 * See: includes/class-prime-store-assets.php
 *
 * @package PrimeStore
 * @version 2.0.0
 */

:root {
    /* ===================================================================
       COLORS - Brand & Theme
       =================================================================== */
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-primary-light: #eef2ff;
    --color-secondary: #6366f1;

    /* ===================================================================
       COLORS - Neutral Palette
       =================================================================== */
    --color-text: #1f2937;
    --color-text-secondary: #6b7280;
    --color-text-light: #9ca3af;
    --color-border: #e5e7eb;
    --color-bg: #ffffff;
    --color-bg-secondary: #f9fafb;
    --color-bg-tertiary: #f3f4f6;

    /* ===================================================================
       COLORS - Status & Feedback
       =================================================================== */
    --color-success: #10b981;
    --color-success-bg: #d1fae5;
    --color-success-text: #065f46;

    --color-warning: #f59e0b;
    --color-warning-bg: #fef3c7;
    --color-warning-text: #92400e;

    --color-error: #ef4444;
    --color-error-bg: #fee2e2;
    --color-error-text: #991b1b;

    --color-info: #3b82f6;
    --color-info-bg: #dbeafe;
    --color-info-text: #1e40af;

    /* ===================================================================
       SPACING - Consistent Margins & Padding
       =================================================================== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;

    /* ===================================================================
       BORDER RADIUS - Consistent Roundness
       =================================================================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ===================================================================
       SHADOWS - Elevation System
       =================================================================== */
    --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 -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* ===================================================================
       TRANSITIONS - Smooth Animations
       =================================================================== */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* ===================================================================
       Z-INDEX - Stacking Context Layers
       =================================================================== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ===================================================================
       TYPOGRAPHY - Font Sizing Scale
       =================================================================== */
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-md: 15px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
}
