/* ===================== CORSAIRS · SUPPLY — design tokens ===================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* surfaces */
  --bg:        #f4f3ee;
  --surface:   #ffffff;
  --surface-2: #fafaf6;
  --surface-3: #efeee7;

  /* ink */
  --ink:       #1c1c1c;
  --ink-2:     #2c2c2c;
  --ink-soft:  #4a4a44;
  --muted:     #8a8a83;
  --muted-2:   #b5b5ad;

  /* lines */
  --line:      rgba(28,28,28,0.10);
  --line-soft: rgba(28,28,28,0.06);

  /* brand — olive family */
  --olive:     #4b5320;
  --olive-2:   #5a6b3a;
  --sage:      #8a9a5b;
  --olive-bg:  #eef0e3;

  /* states */
  --cta:       #4b6a1f;       /* primary CTA (Купити) */
  --cta-hover: #3e5817;
  --orange:    #d9531e;       /* sale / promo */
  --orange-2:  #f0e8de;       /* tinted promo bg */
  --in-stock:  #2f7a3a;
  --warn:      #c98a16;
  --danger:    #b13d2a;

  /* radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.02);
  --shadow-md: 0 6px 18px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.03);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.04);

  /* type */
  --font-ui:   'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ===================== global resets ===================== */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font-ui);
  font-feature-settings: 'ss01', 'cv11';
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol, li { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
svg { display: block; }
img { display: block; max-width: 100%; }

/* ===================== utility classes ===================== */
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.upper { text-transform: uppercase; letter-spacing: 0.08em; }
.tnum { font-variant-numeric: tabular-nums; }
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.muted { color: var(--muted); }
.soft { color: var(--ink-soft); }
.line-x { border-bottom: 1px solid var(--line); }
