/**
 * =============================================================================
 * CORE DESIGN TOKENS - Essential Variables Only
 * =============================================================================
 */

:root {
  /* ===========================================================================
     BRAND COLORS - Always use variables (changes for promotions/rebranding)
     =========================================================================== */
  
  --color-primary: #FFBC00;        /* Amber Yellow */
  --color-secondary: #c94a00;      /* Main brand orange */
  
  /* ===========================================================================
     COMMON GRAYS - Most frequently used neutral colors
     =========================================================================== */
  
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Text Colors */
  --text-primary: #262626;         /* Main text */
  --text-secondary: #6c757d;       /* Secondary text */
  --text-muted: #999999;           /* Muted text */
  --text-light: #d6d6d6;           /* Light text on dark bg */
  --text-inverse: #ffffff;         /* White text on colored bg */
  
  /* Background Colors */
  --bg-surface: #ffffff;           /* Cards, panels */
  --bg-surface-hover: #f2f2f2;     /* Hover states */
  --bg-body: #fafafa;              /* Page background */
  --bg-input: #f0f0f0;             /* Form inputs */
  
  /* Border Colors */
  --border-base: #ebebeb;          /* Main borders */
  --border-subtle: #e5e5e5;        /* Subtle borders */
  --divider: #ebebeb;              /* Visual dividers */

  /* Palette Grays */
  --palette-gray-100: #fafafa;
  --palette-gray-200: #f2f2f2;
  --palette-gray-300: #ebebeb;
  --palette-gray-400: #d6d6d6;
  --palette-gray-500: #999999;
  --palette-gray-600: #6c757d;
  --palette-gray-700: #475569;
  --palette-gray-800: #334155;
  --palette-gray-900: #1e293b;
  
  /* ===========================================================================
     TYPOGRAPHY - Font families and common sizes
     =========================================================================== */
  
  --font-family-base: "Inter", sans-serif;
  
  /* Most common font sizes (use these, leave edge cases hardcoded) */
  --font-size-xs: 0.75rem;         /* 12px - small text */
  --font-size-sm: 0.8125rem;       /* 13px - small text */
  --font-size-base: 1rem;          /* 15px - body text */
  --font-size-md: 1rem;            /* 16px - slightly larger */
  --font-size-lg: 1.125rem;        /* 18px - buttons, headers */
  --font-size-xl: 1.25rem;         /* 20px - larger headers */
  --font-size-2xl: 1.5rem;         /* 24px - x large */
  --font-size-3xl: 1.875rem;       /* 30px - xx large */
  --font-size-4xl: 2.25rem;        /* 36px - xxx large */
  --font-size-5xl: 2.5rem;         /* 40px - xxxx large */
  --font-size-6xl: 3rem;           /* 48px - xxxxx large */
  --font-size-7xl: 3.5rem;         /* 56px - xxxxxxx large */
  
  /* Common font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Heading sizes (h1-h6) */
  --h1-size: 2rem;                 /* 32px */
  --h2-size: 1.75rem;              /* 28px */
  --h3-size: 1.5rem;               /* 24px */
  --h4-size: 1.25rem;              /* 20px */
  --h5-size: 1rem;                 /* 16px */
  --h6-size: 0.875rem;             /* 14px */
  
  --line-height-xs: 1;
  --line-height-sm: 1.2;
  --line-height-normal: 1.4;
  
  /* ===========================================================================
     COMMON SPACING - Only the most frequently used values
     =========================================================================== */
  
  --space-2: 0.5rem;              /* 8px */
  --space-3: 0.75rem;             /* 12px */
  --space-4: 1rem;                /* 16px */
  --space-5: 1.25rem;             /* 20px */
  --space-6: 1.5rem;              /* 24px */
  --space-8: 2rem;                /* 32px */
  
  /* ===========================================================================
     BORDER RADIUS - Consistent rounding
     =========================================================================== */
  
  --radius-sm: 0.09375rem;        /* 1.5px - small elements */
  --radius-md: 0.125rem;          /* 2px - medium elements */
  --radius-lg: 0.25rem;           /* 4px - large elements */
  
  /* ===========================================================================
     SHADOWS - Consistent elevation
     =========================================================================== */
  
  --elevation-card: 0 1px 3px rgba(0, 0, 0, 0.09);
  --elevation-dropdown: 0 2px 20px rgba(0, 0, 0, 0.2);
  
  /* ===========================================================================
     TRANSITIONS - Common animation durations
     =========================================================================== */
  
  --duration-fast: 0.1s;
  --duration-normal: 0.2s;
  --transition-color: color 0.1s ease-in-out;
  --transition-normal: all 0.2s ease-in-out;
  
  /* ===========================================================================
     COMPONENT-SPECIFIC - Only for multi-use branded components
     =========================================================================== */
  
  /* Alerts (6 types used across site) */
  --alert-primary-bg: #b2d9ff;
  --alert-primary-text: #36414d;
  --alert-success-bg: #bde5a1;
  --alert-success-text: #34402d;
  --alert-danger-bg: #ffb8b8;
  --alert-danger-text: #473333;
  --alert-warning-bg: #f2e291;
  --alert-warning-text: #4d472e;
  --alert-info-bg: #b8e2e5;
  --alert-info-text: #2d3e40;
  
  /* Badges (used throughout product listings) */
  --badge-new-bg: #3377ff;
  --badge-new-text: #ffffff;
  --badge-sale-bg: #ff3333;
  --badge-sale-text: #ffffff;
  --badge-hot-bg: #614ba6;
  --badge-hot-text: #ffffff;
  --badge-theme-text: #000;
  --badge-theme-bg: var(--color-primary);
  
  /* Layout */
  --container-max-width: 1000px;
  --product-gutter: 20px;
  
  /* Menu (used in header) */
  --menu-link-size: 1rem;     /* 15px */
  --menu-link-weight: 500;
  --menu-link-height: 1.3rem;
  
  /* ===========================================================================
     PRICE DISPLAY - Used across product cards, cart, wishlist, etc.
     =========================================================================== */
  
  /* Price Container */
  --price-font-weight: 500;
  --price-letter-spacing: -0.02em;
  --price-line-height: 1.5;
  
  /* Current/New Price */
  --price-new-color: var(--text-primary);
  --price-new-size: 0.875rem;      /* 14px - default, overridden in specific contexts */
  --price-new-weight: var(--font-weight-medium);
  
  /* Old/Crossed-out Price */
  --price-old-color: var(--color-secondary);
  --price-old-size: 0.8125rem;     /* 13px */
  --price-old-weight: var(--font-weight-normal);
  --price-old-decoration: line-through;
  
  /* Tax/Small Price Text */
  --price-tax-color: var(--text-muted);
  --price-tax-size: var(--font-size-sm);
  --price-tax-line-height: 1.4;
  
  /* ===========================================================================
     BUTTONS & INTERACTIVE ELEMENTS - Common button styles
     =========================================================================== */
  
  /* Primary Action Button (Add to Cart, Submit, etc.) */
  --btn-action-bg: var(--color-primary);                 /* #ffbc00 */
  --btn-action-text: var(--text-inverse);                /* #fff */
  --btn-action-hover-bg: var(--palette-gray-800);        /* #333 */
  --btn-action-active-bg: var(--palette-gray-secondary); /* #4d4d4d */
  
  /* Icon Buttons (Wishlist, Compare, etc.) */
  --icon-fill-default: #d9d9d9;        /* Default icon color */
  --icon-fill-hover: #bfbfbf;          /* Icon hover */
  --icon-fill-active: #b3b3b3;         /* Icon active/pressed */
  
  /* Icon Button Backgrounds */
  --icon-btn-bg-hover: #f5f5f5;        /* Light gray hover */
  --icon-btn-bg-active: var(--bg-input); /* #f0f0f0 */
  
  /* Common Interactive States */
  --interactive-transition-fast: background-color 0.15s, color 0.15s;
  --interactive-transition-normal: background 0.15s, fill 0.15s;
}