/* =========================================================
   VTV SHOP — DESIGN TOKENS
   Brand extracted from the VTV Shop logo:
   Red #ED312E · Green #10D911 · Blue #0B4AC0
   Hierarchy: red = primary CTA · blue = navigation/links
   green = validation/accent. White + light gray dominate.
   ========================================================= */

:root {
  /* ---------- brand ---------- */
  --red: #ED312E;
  --red-600: #D22A27;
  --red-700: #B32220;
  --red-50: #FEF2F1;
  --red-100: #FBDCDA;

  --blue: #0B4AC0;
  --blue-600: #093CA0;
  --blue-700: #072F7E;
  --blue-50: #EFF4FE;
  --blue-100: #D8E3FB;

  --green: #10D911;
  --green-700: #08860A;
  --green-50: #EDFDED;

  /* ---------- neutrals ---------- */
  --ink: #0E1A2B;
  --ink-2: #24344A;
  --body: #4C5C70;
  --muted: #5F7085;
  --line: #E5EAF1;
  --line-strong: #D2DBE6;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --bg-soft-2: #ECF1F7;
  --dark: #0B1526;
  --dark-2: #12203A;

  /* ---------- radius ---------- */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-full: 999px;

  /* ---------- elevation (soft, never heavy) ---------- */
  --sh-xs: 0 1px 2px rgba(14, 26, 43, 0.05);
  --sh-sm: 0 1px 3px rgba(14, 26, 43, 0.06), 0 1px 2px rgba(14, 26, 43, 0.04);
  --sh-md: 0 8px 22px -10px rgba(14, 26, 43, 0.16), 0 2px 6px rgba(14, 26, 43, 0.05);
  --sh-lg: 0 24px 48px -24px rgba(14, 26, 43, 0.28);
  --ring: 0 0 0 3px rgba(11, 74, 192, 0.18);
  --ring-red: 0 0 0 3px rgba(237, 49, 46, 0.16);

  /* ---------- motion ---------- */
  --t-fast: 150ms ease;
  --t: 200ms cubic-bezier(0.2, 0, 0.2, 1);
  --t-slow: 250ms cubic-bezier(0.2, 0, 0.2, 1);

  /* ---------- metrics ---------- */
  --container: 1240px;
  --gutter: 20px;
  --header-h: 72px;
}

/* ------------------------------ reset ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  /* Native stack: Google Fonts are blocked by the platform's auth-header preflight,
     and a system stack renders Vietnamese diacritics cleanly with zero network cost. */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Be Vietnam Pro', Inter, Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

p { margin: 0; }

a { color: var(--blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--blue-600); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--blue-100); color: var(--ink); }

/* --------------------------- layout helpers --------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 56px; }
.section--tight { padding-block: 40px; }
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head__text { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

.section-title {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.025em;
}

.section-sub {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--body);
  max-width: 60ch;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.link-more:hover { gap: 10px; color: var(--blue-600); }

/* ------------------------------ text utils ------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* keyboard-only skip link — visible on focus so it is actually usable */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--sh-md);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.strong-2 { color: var(--ink); font-weight: 600; }

@media (max-width: 767px) {
  .section { padding-block: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
}
