/* ════════════════════════════════════════════════════
   KachaBazar — Design Tokens
   THE ONLY FILE YOU NEED TO EDIT for brand/color changes.
   All other files reference these variables.
   ════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  /* ── Brand Palette ──────────────────── */
  --color-primary:        #0d9488;
  --color-primary-hover:  #0f766e;
  --color-primary-light:  #ccfbf1;
  --color-primary-50:     #f0fdfa;
  --color-primary-100:    #ccfbf1;
  --color-primary-200:    #99f6e4;
  --color-primary-300:    #5eead4;
  --color-primary-700:    #0f766e;
  --color-primary-800:    #115e59;
  --color-primary-900:    #134e4a;

  /* ── Grays ──────────────────────────── */
  --color-gray-50:   #f9fafb;
  --color-gray-100:  #f3f4f6;
  --color-gray-200:  #e5e7eb;
  --color-gray-300:  #d1d5db;
  --color-gray-400:  #9ca3af;
  --color-gray-500:  #6b7280;
  --color-gray-600:  #4b5563;
  --color-gray-700:  #374151;
  --color-gray-800:  #1f2937;
  --color-gray-900:  #111827;

  /* ── Status ─────────────────────────── */
  --color-success: #16a34a;
  --color-danger:  #dc2626;
  --color-warning: #d97706;
  --color-sale:    #ef4444;
  --color-hot:     #f97316;

  /* ── Semantic Aliases ───────────────── */
  --color-text-primary:   var(--color-gray-900);
  --color-text-secondary: var(--color-gray-500);
  --color-text-muted:     var(--color-gray-400);
  --color-bg:             #ffffff;
  --color-bg-surface:     var(--color-gray-50);
  --color-bg-muted:       var(--color-gray-100);
  --color-border:         var(--color-gray-200);

  /* ── Typography ─────────────────────── */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Nunito', 'Inter', sans-serif;

  /* ── Spacing Scale ──────────────────── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* ── Border Radius ──────────────────── */
  --radius-sm:   4px;
  --radius-base: 6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* ── Shadows ────────────────────────── */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:   0 25px 50px -12px rgba(0,0,0,.25);
  --shadow-card: 0 2px 8px rgba(0,0,0,.08);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,.12);

  /* ── Z-Index ────────────────────────── */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
  --z-topmost:  9999;

  /* ── Layout ─────────────────────────── */
  --container-max: 1280px;
  --header-height: 72px;
  --subnav-height: 48px;
  --sidebar-width: 260px;

  /* ── Transitions ────────────────────── */
  --t-fast: 150ms ease;
  --t-base: 200ms ease;
  --t-slow: 300ms ease;
}
