@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --ink: #14161A;
  --ink-2: #5A6170;
  --line: #E3E6EB;
  --accent: #C6F432;
  --accent-hover: #B3E01F;
  --badge-hit: #FF4D4F;
  --badge-new: #3A6BFF;
  --badge-sale: #C6F432;
  --stock-in: #12A150;
  --stock-order: #D98A00;
  --stock-out: #9AA1AD;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .62);
  --on-dark-line: rgba(255, 255, 255, .14);
  --shadow-hover: 0 6px 20px rgba(20, 22, 26, .08);
  --shadow-toast: 0 8px 24px rgba(20, 22, 26, .3);
  --backdrop: rgba(20, 22, 26, .55);
  --skeleton: #E9EBEF;

  --radius: 12px;
  --radius-btn: 10px;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 20px;
  --fs-xl: 28px;
  --fs-2xl: 36px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;

  --container: 1280px;
  --gutter: 16px;
  --header-h: 64px;
  --z-dropdown: 50;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.5;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

h1 { font-size: var(--fs-xl); font-weight: 800; line-height: 1.2; }
h2 { font-size: var(--fs-lg); font-weight: 800; line-height: 1.25; }
h3 { font-size: var(--fs-md); font-weight: 600; }
@media (min-width: 768px) {
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }
}

.price { font-variant-numeric: tabular-nums; font-weight: 800; }
.muted { color: var(--ink-2); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--badge-new); outline-offset: 2px; }
