/* =========================================================
   VARIABLES.CSS
   Design tokens — single source of truth for colors, type,
   spacing, radius, shadow. Change values here to re-theme
   the entire site without touching component CSS.
   ========================================================= */

:root {
  /* ---------- Brand colors ---------- */
  --color-white: #FFFFFF;
  --color-charcoal: #111827;
  --color-accent: #F97316;        /* Orange - primary CTA / links */
  --color-accent-hover: #EA580C;  /* hover state for accent */
  --color-accent-soft: #FFF3EA;   /* tint background for accent chips/icons */
  --color-success: #16A34A;       /* confirmations, in-stock, trust badges */
  --color-success-soft: #EAFBF1;  /* tint background for success chips */

  /* ---------- Neutral scale (derived from charcoal for cohesion) ---------- */
  --color-gray-50:  #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-500: #6B7280;
  --color-gray-700: #374151;

  /* ---------- Surface / text semantic tokens ---------- */
  --color-bg: var(--color-white);
  --color-bg-subtle: #F8FAFC;
  --color-card: #FFFFFF;
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;

  /* ---------- Typography ---------- */
  --font-bangla: 'Hind Siliguri', 'Segoe UI', sans-serif;
  --font-latin: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
  --font-base: var(--font-latin), var(--font-bangla);

  --fs-xs: 0.75rem;    /* 12px */
  --fs-sm: 0.875rem;   /* 14px */
  --fs-base: 1rem;     /* 16px */
  --fs-lg: 1.125rem;   /* 18px */
  --fs-xl: 1.375rem;   /* 22px */
  --fs-2xl: 1.875rem;  /* 30px */
  --fs-3xl: 2.5rem;    /* 40px */
  --fs-4xl: 3.25rem;   /* 52px */

  /* ---------- Spacing scale (8px base unit) ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 6rem;
  --space-20: 8rem;

  /* ---------- Radius ---------- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* ---------- Shadow (soft, premium, warm-tinted) ---------- */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 12px 32px rgba(17, 24, 39, 0.07);
  --shadow-lg: 0 24px 56px rgba(17, 24, 39, 0.12);
  --shadow-accent: 0 14px 32px rgba(249, 115, 22, 0.28);
  --shadow-accent-hover: 0 18px 40px rgba(234, 88, 12, 0.36);

  /* ---------- Glassmorphism ---------- */
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(20px);

  /* ---------- Motion ---------- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 280ms;
  --duration-slow: 500ms;

  /* ---------- Layout ---------- */
  --container-max: 1200px;
  --container-narrow-max: 760px;
  --header-height: 76px;
}
