/* ==========================================================================
   ME STORE - DESIGN SYSTEM TOKENS & VARIABLES
   Brand Identity: Luxury, Modern, Elegant, Clean, Refined Feminine
   ========================================================================== */

:root {
  /* Brand Core Colors (From Official Brand Guide) */
  --color-primary-dark: #3B286B;     /* البنفسجي الداكن الملكي */
  --color-primary: #5A4A8B;          /* البنفسجي الأنيق */
  --color-primary-light: #CFC2DC;    /* اللافندر الفاتح */
  
  /* Luxury Tonal Palette & Neutrals */
  --color-primary-soft: #F3EEF9;     /* تدرج لافندر ناعم جداً */
  --color-primary-tint: #FAF7FD;     /* خلفية لافندر فائقة النعومة */
  --color-primary-hover: #2F1F56;    /* هوفر الأزرار الأساسية */
  
  --color-bg-body: #FAF8FC;          /* خلفية الصفحة الفاخرة المريحة */
  --color-bg-surface: #FFFFFF;       /* كروت وعناصر الواجهة */
  --color-bg-alt: #F6F3F9;          /* خلفيات الأقسام البديلة */
  --color-bg-dark: #241744;          /* فوتر وبانرات داكنة فاخرة */

  /* Text Colors */
  --color-text-main: #231B38;        /* النصوص الرئيسية عالية الوضوح */
  --color-text-body: #4E4461;        /* نصوص الفقرات والأوصاف */
  --color-text-muted: #7E7493;       /* النصوص الثانوية والتفاصيل */
  --color-text-inverse: #FFFFFF;     /* النصوص على خلفيات داكنة */
  --color-text-lavender: #CFC2DC;

  /* Borders & Dividers */
  --color-border: #E8E1F0;
  --color-border-light: #F2ECF7;
  --color-border-focus: #5A4A8B;

  /* Accent & Functional Status Colors */
  --color-gold: #C5A059;             /* لمسات ذهبية راقية للتقييم والمميزات */
  --color-gold-light: #FDF9F0;
  --color-sale: #D03B5B;             /* شارات الخصومات والعروض */
  --color-sale-light: #FDEEF1;
  --color-success: #2A8C5E;          /* توفر المخزون والإشعار الناجح */
  --color-success-light: #EBF7F0;
  --color-warning: #DE7E22;          /* كمية محدودة */
  --color-warning-light: #FEF6EC;

  /* Typography */
  --font-arabic: 'Alexandria', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-latin: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Typography Scale */
  --fs-xs: 0.75rem;    /* 12px */
  --fs-sm: 0.875rem;   /* 14px */
  --fs-base: 1rem;     /* 16px */
  --fs-md: 1.125rem;   /* 18px */
  --fs-lg: 1.25rem;    /* 20px */
  --fs-xl: 1.5rem;     /* 24px */
  --fs-2xl: 1.875rem;  /* 30px */
  --fs-3xl: 2.25rem;   /* 36px */
  --fs-4xl: 3rem;      /* 48px */

  /* Spacing */
  --space-2xs: 0.25rem; /* 4px */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 0.75rem;  /* 12px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4.5rem;  /* 72px */

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Luxury Shadows */
  --shadow-xs: 0 2px 6px rgba(59, 40, 107, 0.04);
  --shadow-sm: 0 4px 14px rgba(59, 40, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(59, 40, 107, 0.08);
  --shadow-lg: 0 16px 36px rgba(59, 40, 107, 0.12);
  --shadow-xl: 0 24px 50px rgba(59, 40, 107, 0.16);
  --shadow-glow: 0 0 24px rgba(90, 74, 139, 0.25);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max-width: 1280px;
  --header-height: 84px;
  --header-topbar-height: 38px;
  --bottom-nav-height: 64px;

  /* Z-indices */
  --z-base: 1;
  --z-sticky: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-toast: 400;
}
