/**
 * NEUMAX NUTRITION - Design System Variables (Redesign v2)
 * Premium eCommerce Theme (Phlox Inspired)
 */

:root {
  /* ==========================================================================
     Color Palette — single source of truth, aligned with layout.css brand
     Brand: Deep Navy #1C1F4A + Energetic Orange #EC6633
     ========================================================================== */
  --bg-base: #fffef7;
  --primary: #FF4F00;

  /* Primary Text & Base */
  --color-primary: #111827;
  --color-primary-light: #374151;
  
  /* Accent Orange */
  --color-accent: #FF4F00;
  --color-accent-light: #FFEDE5;
  --color-accent-dark: #C94F1F;
  --color-teal: #4db8a8;

  /* Backgrounds (Warm Paper) */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F9FAFB;
  --color-bg-dark: #201D1E;

  /* Typography Colors */
  --color-text: #111827;
  --color-text-body: #4B5563;
  --color-text-light: #9CA3AF;
  --color-text-on-dark: rgba(255, 255, 255, 0.92);
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.72);

  /* Borders */
  --color-border: #E5E7EB;
  --color-border-dark: rgba(255, 255, 255, 0.14);

  /* ==========================================================================
     Typography — matches Google Fonts loaded in header.php
     ========================================================================== */
  --font-heading: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  /* Type Scale (1.25 ratio approx) */
  --text-xs: 1.2rem;
  --text-sm: 1.4rem;
  --text-base: 1.6rem;
  --text-lg: 1.8rem;
  --text-xl: 2.0rem;
  --text-2xl: 2.4rem;
  --text-3xl: 3.2rem;
  --text-4xl: 4.8rem;
  --text-5xl: 6.4rem;

  --line-height-heading: 1.1;
  --line-height-body: 1.6;

  /* ==========================================================================
     Spacing & Layout
     ========================================================================== */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  --container-width: 1440px;
  --container-padding: 24px;

  /* ==========================================================================
     Borders & Shadows
     ========================================================================== */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Premium soft shadows (Tinted) */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 24px 48px hsla(220, 50%, 40%, 0.2), 0 0 0 1px hsla(220, 50%, 40%, 0.05);

  /* ==========================================================================
     Transitions
     ========================================================================== */
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}


@media (max-width: 768px) {
  :root {
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --text-4xl: 3.6rem;
    --text-5xl: 4.8rem;
  }
}
