/* =========================================================
   TỔNG KHO NỒI ĐẤT HÀN QUỐC — V3 DESIGN TOKENS
   Concept: Korean Premium · Earthenware House
   ========================================================= */

:root {
  /* Brand palette */
  --color-black: #171513;
  --color-ink: #292521;
  --color-ivory: #F4EEE5;
  --color-white: #FFFDFC;
  --color-clay: #A64F35;
  --color-clay-dark: #7E3929;
  --color-brown: #6B4632;
  --color-brass: #C09A67;
  --color-red: #8C302A;

  /* Neutral palette */
  --color-text: #292521;
  --color-text-muted: #776D65;
  --color-text-soft: #998D84;
  --color-border: #E2D7CB;
  --color-border-light: #EEE6DD;
  --color-surface: #FFFDFC;
  --color-surface-soft: #F8F3EC;
  --color-surface-dark: #1E1A17;

  /* Semantic */
  --color-success: #376E53;
  --color-warning: #A67832;
  --color-danger: #A53D32;
  --color-info: #45697E;

  /* Typography */
  --font-display: "Noto Serif", Georgia, serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-korean: "Noto Serif KR", "Noto Serif", serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --heading-sm: 28px;
  --heading-md: 36px;
  --heading-lg: 48px;
  --heading-xl: 64px;
  --heading-hero: 76px;

  --leading-tight: 1.05;
  --leading-heading: 1.15;
  --leading-body: 1.65;
  --tracking-tight: -0.03em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-eyebrow: 0.16em;

  /* Spacing — 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-card: 22px;
  --radius-lg: 28px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 4px 16px rgba(46, 29, 20, .05);
  --shadow-sm: 0 10px 35px rgba(46, 29, 20, .07);
  --shadow-md: 0 20px 60px rgba(46, 29, 20, .10);
  --shadow-lg: 0 25px 70px rgba(46, 29, 20, .14);

  /* Motion */
  --duration-fast: 180ms;
  --duration-normal: 300ms;
  --duration-slow: 450ms;
  --ease-premium: cubic-bezier(.2, .8, .2, 1);

  /* Containers */
  --container-sm: 960px;
  --container-md: 1180px;
  --container-lg: 1320px;

  /* Layering */
  --z-base: 1;
  --z-card: 10;
  --z-header: 100;
  --z-floating: 300;
  --z-dropdown: 500;
  --z-modal: 1000;
  --z-toast: 1200;

  /* Breakpoint reference for JS/docs.
     CSS media queries must use literal values. */
  --bp-xs: 420px;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1440px;

  /* =======================================================
     V2.1 COMPATIBILITY ALIASES
     Do not remove until all legacy selectors are migrated.
     ======================================================= */
  --ink: var(--color-ink);
  --muted: var(--color-text-muted);
  --paper: var(--color-ivory);
  --white: var(--color-white);
  --terracotta: var(--color-clay);
  --terracotta-dark: var(--color-clay-dark);
  --gold: var(--color-brass);
  --line: var(--color-border);
  --soft: var(--color-surface-soft);
  --black: var(--color-black);
  --ok: var(--color-success);
  --shadow: var(--shadow-md);
  --radius: var(--radius-lg);
}
