/* ============================================================
   FLORERIA KO DESIGN SYSTEM — Variables & Design Tokens
   All CSS custom properties are defined here.
   To retheme the entire app, edit only this file.
   ============================================================ */

:root {
  /* ── Background Scale ───────────────────────────────── */
  --bg: #FFF5F7;
  /* page background, soft pink-white */
  --surface: #F5E6EB;
  /* secondary surfaces */
  --surface-2: #EDDBDF;
  /* tertiary, hover states */
  --card: #FFFFFF;

  /* ── Border ─────────────────────────────────────────── */
  --border: #E8D0D8;
  --border-2: #D4BCC4;

  /* ── Accent (Rose / Pastel Pink) ───────────────────── */
  --accent: #D4708F;
  --accent-hover: #B8597A;
  --accent-light: #FFF0F4;
  --accent-muted: rgba(212, 112, 143, 0.10);
  --accent-muted2: rgba(212, 112, 143, 0.20);

  /* ── Text ───────────────────────────────────────────── */
  --text: #1A1018;
  --text-2: #6B4858;
  --text-3: #A0848C;

  /* ── Status ─────────────────────────────────────────── */
  --success: #4A9E6E;
  --success-bg: #EAF5EF;
  --danger: #C23C1E;
  --danger-bg: #FDECE9;
  --warning: #B8860B;
  --warning-bg: #FEF7E8;
  --info: #6B8EC4;
  --info-bg: #EEF3FB;

  /* ── Typography ─────────────────────────────────────── */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  --text-xs: 0.6875rem;
  /* 11px */
  --text-sm: 0.8125rem;
  /* 13px */
  --text-base: 0.9375rem;
  /* 15px */
  --text-md: 1.0625rem;
  /* 17px */
  --text-lg: 1.1875rem;
  /* 19px */
  --text-xl: 1.375rem;
  /* 22px */
  --text-2xl: 1.75rem;
  /* 28px */
  --text-3xl: 2.25rem;
  /* 36px */
  --text-4xl: 3rem;
  /* 48px */
  --text-5xl: 4rem;
  /* 64px */

  /* ── Spacing (8pt grid) ─────────────────────────────── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* ── Border Radius ──────────────────────────────────── */
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* ── Shadows ─────────────────────────────────────────── */
  --shadow-xs: 0 1px 3px rgba(26, 16, 24, 0.06);
  --shadow-sm: 0 2px 8px rgba(26, 16, 24, 0.08);
  --shadow: 0 4px 20px rgba(26, 16, 24, 0.10);
  --shadow-md: 0 8px 32px rgba(26, 16, 24, 0.12);
  --shadow-lg: 0 16px 56px rgba(26, 16, 24, 0.16);

  /* ── Transitions ────────────────────────────────────── */
  --ease-out: cubic-bezier(0.25, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 120ms;
  --t: 220ms;
  --t-slow: 380ms;
  --t-page: 300ms;

  /* ── Layout ─────────────────────────────────────────── */
  --navbar-h: 68px;
  --max-w: 1300px;
  --max-w-sm: 680px;
  --max-w-md: 900px;
  --pad-x: clamp(var(--sp-4), 4vw, var(--sp-12));
  --pad-y: clamp(var(--sp-8), 5vw, var(--sp-16));

  /* ── Z-Index ─────────────────────────────────────────── */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 100;
  --z-modal: 800;
  --z-toast: 1000;
}

/* ── Responsive adjustments ─────────────────────────── */
@media (max-width: 640px) {
  :root {
    --navbar-h: 60px;
  }
}