/* ==========================================================================
   TOKENS.CSS - Toko Buku Jingga Design System
   Palet Hangat Jingga-Krem & Tipografi Sastra
   ========================================================================== */

:root {
  /* Brand Palette (Jingga Hangat Terkurasi) */
  --color-primary: #E65100;          /* Deep Amber Orange */
  --color-primary-hover: #BF360C;    /* Dark Terracotta */
  --color-primary-light: #FF9800;    /* Vibrant Amber */
  --color-primary-soft: #FFF3E0;     /* Pastel Cream Orange */
  --color-primary-border: #FFCC80;   /* Subtle orange border */

  /* Secondary & Accents */
  --color-secondary: #D84315;        /* Warm Rust */
  --color-accent-amber: #F57C00;     /* Gold Amber */
  --color-accent-green: #2E7D32;     /* Hijau daun - Badge Hemat Pelajar */
  --color-accent-green-bg: #E8F5E9;  /* Background badge hemat */
  --color-accent-gold: #FFB300;      /* Star rating gold */

  /* Neutral & Background (Krem Alami / Hangat) */
  --color-bg-body: #FFFDF9;          /* Krem sangat terang - latar utama */
  --color-bg-surface: #FFFFFF;       /* Putih murni untuk kartu */
  --color-bg-warm: #FFF8E7;          /* Krem kehangatan untuk selang-seling */
  --color-bg-subtle: #F6EFE7;        /* Krem abu untuk pembatas & chip */
  --color-bg-footer: #211A16;        /* Cokelat kopi tua untuk footer */

  /* Text & Typography */
  --color-text-primary: #29201B;     /* Cokelat kopi pekat kontras tinggi */
  --color-text-secondary: #5C4E46;   /* Cokelat abu netral untuk sub-informasi */
  --color-text-muted: #8D7B70;       /* Muted caption & metadata */
  --color-text-inverse: #FFFFFF;     /* Teks putih di background gelap/oranye */

  /* Border & Dividers */
  --color-border: #EFE4D6;          /* Garis pembatas kartu */
  --color-border-light: #F7EFE6;    /* Divider sangat halus */

  /* Typography Scales */
  --font-serif: 'Lora', 'Merriweather', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

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

  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --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 */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadows (Hangat dan Terlihat Lembut) */
  --shadow-sm: 0 2px 6px rgba(92, 58, 20, 0.05);
  --shadow-md: 0 6px 18px rgba(92, 58, 20, 0.08);
  --shadow-lg: 0 12px 32px rgba(92, 58, 20, 0.12);
  --shadow-hover: 0 16px 36px rgba(230, 81, 0, 0.16);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
