:root {
  /* === Colors (Denna refined olive palette) === */
  --color-bg: #f2f3f0;
  --color-bg-soft: #e7e9e2;
  --color-surface: #ffffff;
  --color-surface-warm: #f8f9f4;
  --color-ink: #2b2b2b;
  --color-ink-soft: #4a4a48;
  --color-muted: #2b2b2b;   /* Bumped from #6f7268 — global readability pass, all meta/caption text is now ink-dark for better legibility */
  --color-line: #dee0d7;

  --color-accent: #5470a8;         /* muted slate navy — decorative */
  --color-accent-dark: #1e3a6b;    /* deep navy — text accent / hover */
  --color-accent-soft: #d8e0ed;
  --color-accent-action: #1e3a6b;  /* deep navy — CTA fill */

  --color-promo-bg: #1a253d;       /* deep navy charcoal — topbar / footer */
  --color-promo-fg: #f7f4ee;

  --color-star: #c9a14a;
  --color-sale: #c25c4a;
  --color-flash-bg: #ff7a18;       /* Flash deals — Hasaki-style orange (v1.8.3) */
  --color-flash-dark: #ff4d00;     /* Dark end of orange gradient */
  --color-flash-fill: #ffb27a;     /* Light orange — progress fill */

  /* Warm CTA — Alibaba-inspired orange→red gradient for the high-intent
   * topbar buttons (Tìm kiếm + Tạo tài khoản). Reserved for CTA only —
   * NOT for use on banner / hero / brand-feature areas. */
  --color-cta-warm:      #ff7a18;
  --color-cta-warm-dark: #ff4d00;

  /* === Glass surface === */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-blur: blur(14px) saturate(140%);

  /* === Fonts (Hasaki uses Inter across the board) === */
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* === Type scale === */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2.125rem;
  --fs-2xl: 3rem;
  --fs-3xl: 4rem;
  --fs-display: 5rem;

  /* === Spacing (bumped — "spacing lớn") === */
  --space-1: 0.25rem;
  --space-2: 0.625rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.625rem;
  --space-6: 2.25rem;
  --space-7: 3.25rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* === Radius (bo góc 24px) === */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* === Soft shadow === */
  --shadow-sm: 0 1px 3px rgba(43, 43, 43, 0.04);
  --shadow-md: 0 12px 32px rgba(43, 43, 43, 0.06);
  --shadow-lg: 0 24px 56px rgba(43, 43, 43, 0.08);

  /* === Container === */
  --container: 1200px;
  --container-wide: 1320px;

  /* === Transitions (animation chậm) === */
  --transition-fast: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 480ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1024px) {
  :root {
    --fs-3xl: 3rem;
    --fs-display: 3.5rem;
    --space-9: 4rem;
    --space-10: 4.75rem;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-2xl: 2.125rem;
    --fs-3xl: 2.5rem;
    --fs-display: 2.75rem;
    --fs-xl: 1.625rem;
    --space-8: 2.75rem;
    --space-9: 3.25rem;
    --space-10: 4rem;
  }
}
