/* ==========================================================================
   VTV Shop — Design tokens
   Palette sampled from the official VTV Shop logo:
     VTV mark  = đỏ (V) · xanh lá (T) · xanh dương (V)
     "Shop"    = xanh lá wordmark
   Primary action / identity = VTV Red · Secondary = Dark Navy
   Green + Blue are used as supporting brand accents (verified badges, trust,
   category accents, tri-colour brand line) — never as a competing primary.
   ========================================================================== */
:root {
  /* ---- Raw brand tri-colour (from the logo) ---- */
  --vtv-red: #E4002B;
  --vtv-green: #00A651;
  --vtv-blue: #0072BC;
  --grad-brand: linear-gradient(90deg, var(--vtv-red) 0%, var(--vtv-red) 33%, var(--vtv-green) 33%, var(--vtv-green) 66%, var(--vtv-blue) 66%, var(--vtv-blue) 100%);

  /* ---- Brand — red (primary) ---- */
  --red-50: #FFF1F3;
  --red-100: #FFDDE3;
  --red-200: #FFB9C4;
  --red-500: #F0192F;
  --red-600: #E4002B;
  --red-700: #B80024;
  --red-800: #8E001C;
  --red: var(--red-600);

  /* ---- Brand — green (logo T / "Shop" wordmark) ---- */
  --green-50: #E9F8EF;
  --green-100: #CBEFDA;
  --green-500: #1FB264;
  --green-600: #00A651;
  --green-700: #067A40;
  --green-800: #045C31;

  /* ---- Brand — blue (logo second V) ---- */
  --blue-50: #EAF4FC;
  --blue-100: #D2E7F8;
  --blue-500: #1A85CC;
  --blue-600: #0072BC;
  --blue-700: #005A96;
  --blue-800: #00436F;

  /* ---- Secondary — dark navy, tinted toward the logo blue ---- */
  --navy-950: #05101E;
  --navy-900: #08182B;
  --navy-800: #0D2440;
  --navy-700: #143454;
  --navy-600: #1C4569;
  --navy-500: #2A5C86;

  /* Neutrals */
  --ink-900: #0B1220;
  --ink-800: #1B2536;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --ink-400: #8A97A8;
  --ink-300: #B4BFCC;

  --line: #E4E8EF;
  --line-soft: #EEF1F6;
  --line-strong: #CFD7E3;

  --bg: #F5F7FA;
  --bg-alt: #EDF1F6;
  --surface: #FFFFFF;
  --surface-2: #FBFCFD;

  /* Support tones (used sparingly) */
  --amber-700: #96560B;
  --amber-50: #FEF6E7;
  --violet-50: #F2EFFF;
  --violet-700: #5B3FD1;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 30px;
  --r-pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .04);
  --sh-2: 0 2px 4px rgba(11, 18, 32, .04), 0 10px 26px rgba(11, 18, 32, .07);
  --sh-3: 0 14px 44px rgba(11, 18, 32, .14);
  --sh-red: 0 10px 26px rgba(228, 0, 43, .26);

  /* Type — system stack: renders Vietnamese diacritics reliably with no
     third-party font request (Google Fonts is blocked by CORS in some
     environments, which silently breaks the whole type scale). */
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  --fs-display: clamp(2rem, 1.15rem + 3.1vw, 3.35rem);
  --fs-h1: clamp(1.75rem, 1.15rem + 2.1vw, 2.6rem);
  --fs-h2: clamp(1.4rem, 1.1rem + 1.15vw, 2rem);
  --fs-h3: clamp(1.1rem, 1rem + .45vw, 1.32rem);
  --fs-lead: clamp(1rem, .95rem + .3vw, 1.14rem);
  --fs-body: .97rem;
  --fs-sm: .875rem;
  --fs-xs: .79rem;
  --fs-2xs: .72rem;

  /* Layout */
  --container: 1280px;
  --gutter: 20px;
  --section-y: 72px;
  --header-h: 0px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: 120ms var(--ease);
  --t: 200ms var(--ease);
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --section-y: 44px;
  }
}
