/* ============================================================
   GET FOX — B2B комплектующие для штор и карнизов
   Общая дизайн-система
   ============================================================ */

/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/0ed9efa6-4f80-4fd8-b907-1a6be410785e.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/b1e27f11-d53d-4e4d-b0b1-2c5a4c47e97c.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/1c39bbc6-f8da-43a5-851e-985d4ebde2b3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/7dcedd46-bdf7-4631-bc63-d1f38836d3c8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/e6999727-df92-4e49-9021-5ced4057ff5c.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fce7344b-eeaf-468e-9db5-7c8ebf3c9d43.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/0ce84a7b-4a6f-4632-8238-da3738df5cce.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/c2ea2e3a-21e4-4c44-9fd3-83b4e7256c2f.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/5e2956a2-474e-4f95-9000-af1b87be4da7.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/94ff9061-19b5-40bd-b06f-4fcbac8a35e8.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/dc63fbe6-d193-4919-9e05-75c42ef7d16c.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cd0e3d0f-4721-422e-bfdb-0a0cabee80b9.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/1376cc90-c29f-44f4-b441-79c185e713b7.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/71d8f37d-93c3-4261-bb62-b113a263d579.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/02ebc216-8bca-4522-a83d-304e7ca4228e.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/8d57b69c-1744-4cb1-83e9-328ef72cfd89.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/112433bb-2d01-4549-a36f-e6b44bae4a1b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/692ee1b3-6d59-43bd-851c-b25627a2f7d9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/280af414-dfaa-4331-86f8-42e606d75591.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/6583afd0-57ff-4ea8-a2a8-945c806d84e9.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/95c5b761-01ad-49e4-ae9f-16e3f87a6651.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/8d57b69c-1744-4cb1-83e9-328ef72cfd89.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/112433bb-2d01-4549-a36f-e6b44bae4a1b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/692ee1b3-6d59-43bd-851c-b25627a2f7d9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/280af414-dfaa-4331-86f8-42e606d75591.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/6583afd0-57ff-4ea8-a2a8-945c806d84e9.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/95c5b761-01ad-49e4-ae9f-16e3f87a6651.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/8d57b69c-1744-4cb1-83e9-328ef72cfd89.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/112433bb-2d01-4549-a36f-e6b44bae4a1b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/692ee1b3-6d59-43bd-851c-b25627a2f7d9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/280af414-dfaa-4331-86f8-42e606d75591.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/6583afd0-57ff-4ea8-a2a8-945c806d84e9.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/95c5b761-01ad-49e4-ae9f-16e3f87a6651.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/8d57b69c-1744-4cb1-83e9-328ef72cfd89.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/112433bb-2d01-4549-a36f-e6b44bae4a1b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/692ee1b3-6d59-43bd-851c-b25627a2f7d9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/280af414-dfaa-4331-86f8-42e606d75591.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/6583afd0-57ff-4ea8-a2a8-945c806d84e9.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/95c5b761-01ad-49e4-ae9f-16e3f87a6651.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;
}


:root {
  /* Нейтральные — доминанта белого, тёплый оттенок */
  --white: #ffffff;
  --bg: #faf9f7;
  --surface: #f4f2ef;
  --surface-2: #efece8;
  --line: #e7e4df;
  --line-strong: #d7d3cc;
  --ink: #1c1b18;
  --ink-2: #46443f;
  --muted: #8b8780;
  --muted-2: #a8a49c;

  /* Оранжевый акцент — сдержанный, деловой */
  --orange: #e26a17;
  --orange-dark: #c4570e;
  --orange-tint: #fdf1e7;
  --orange-line: #f3d6bb;

  /* Служебные */
  --green: #2f7d4f;
  --green-tint: #eaf4ee;
  --amber: #b07d12;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(28, 27, 24, 0.05);
  --shadow: 0 4px 16px rgba(28, 27, 24, 0.07);
  --shadow-lg: 0 12px 32px rgba(28, 27, 24, 0.10);

  --container: 1280px;
  --header-h: 132px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.tnum { font-variant-numeric: tabular-nums; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   ШАПКА
   ============================================================ */

.topbar {
  background: var(--ink);
  color: #cfcbc3;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-left .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-right a { color: #cfcbc3; transition: color .15s; }
.topbar-right a:hover { color: #fff; }

.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
}

/* Логотип */
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-img { align-items: center; }
.logo-png { height: 36px; width: auto; display: block; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before,
.logo-mark::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
}
/* стилизованные «уши лисы» из треугольников */
.logo-mark::before {
  top: 8px; left: 9px;
  border-width: 0 0 11px 9px;
  border-color: transparent transparent #fff transparent;
}
.logo-mark::after {
  top: 8px; right: 9px;
  border-width: 0 9px 11px 0;
  border-color: transparent transparent #fff transparent;
}
.logo-dot {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; background: #fff; border-radius: 50%;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 19px; font-weight: 700; letter-spacing: 0.06em; }
.logo-text small { font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }

/* Поиск */
.search {
  flex: 1;
  display: flex;
  height: 46px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s;
}
.search:focus-within { border-color: var(--orange); }
.search select {
  border: none;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 0 14px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  outline: none;
}
.search input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  background: var(--white);
}
.search input::placeholder { color: var(--muted-2); }
.search button {
  border: none;
  background: var(--orange);
  color: #fff;
  padding: 0 22px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
}
.search button:hover { background: var(--orange-dark); }

/* Действия в шапке */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.h-phone { display: flex; flex-direction: column; align-items: flex-end; margin-right: 8px; }
.h-phone b { font-size: 16px; font-weight: 600; letter-spacing: 0.01em; }
.h-phone small { font-size: 11.5px; color: var(--muted); }
.icon-btn {
  display: flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-2);
  font-size: 13.5px; font-weight: 500;
  transition: all .15s;
  position: relative;
}
.icon-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.icon-btn.cart { border-color: var(--orange); color: var(--orange-dark); background: var(--orange-tint); }
.icon-btn.cart:hover { background: var(--orange); color: #fff; }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--orange); color: #fff;
  border-radius: 10px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}

/* Навигация по категориям */
.nav {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.nav .container { display: flex; align-items: stretch; gap: 2px; }
.nav-cat {
  display: flex; align-items: center; gap: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 20px;
  font-weight: 600;
  font-size: 14px;
  margin-right: 14px;
}
.nav-cat .bars { display: flex; flex-direction: column; gap: 3px; }
.nav-cat .bars i { display: block; width: 16px; height: 2px; background: var(--orange); border-radius: 2px; }
.nav a.nav-link {
  display: flex; align-items: center;
  padding: 13px 15px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav a.nav-link:hover { color: var(--orange-dark); border-bottom-color: var(--orange); }
.nav a.nav-link.active { color: var(--ink); border-bottom-color: var(--orange); }
.nav-right { margin-left: auto; display: flex; }
.nav-right a.nav-link { color: var(--muted); }

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 14.5px;
  border: 1.5px solid transparent;
  transition: all .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ============================================================
   ОБЩЕЕ: секции, заголовки
   ============================================================ */
.section { padding: 54px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 26px; gap: 20px;
}
.section-head h2 {
  margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.01em;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange-dark);
  margin-bottom: 9px;
}
.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-2); font-weight: 600; font-size: 14px;
  transition: gap .15s, color .15s;
}
.link-more:hover { color: var(--orange-dark); gap: 11px; }

/* Заглушка изображения */
.ph {
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 9px,
    rgba(0,0,0,0.025) 9px, rgba(0,0,0,0.025) 18px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase;
  text-align: center; padding: 12px;
}

/* ============================================================
   КАРТОЧКА ТОВАРА
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  overflow: hidden;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }

.card-media { position: relative; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); }
.card-media .ph { width: 100%; height: 100%; }
.badge {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  padding: 4px 9px; border-radius: var(--radius-sm);
  background: var(--green-tint); color: var(--green);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.badge.low { background: #fbf2e2; color: var(--amber); }
.badge.low .dot { background: var(--amber); }
.brand-chip {
  position: absolute; top: 10px; right: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500; color: var(--muted);
  background: var(--white); border: 1px solid var(--line);
  padding: 3px 8px; border-radius: var(--radius-sm);
}

.card-body { padding: 13px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-sku {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: var(--muted); margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.card-title {
  font-size: 14.5px; font-weight: 500; line-height: 1.32;
  color: var(--ink); margin: 0 0 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 38px; text-wrap: pretty;
}
.card-title:hover { color: var(--orange-dark); }
.card-specs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px;
}
.spec-tag {
  font-size: 11.5px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: var(--radius-sm);
}
.card-multiple {
  font-size: 12px; color: var(--muted); margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.card-multiple b { color: var(--ink-2); font-weight: 600; }

.card-foot { margin-top: auto; }
.card-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 11px; }
.card-price .price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 21px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.card-price .unit { font-size: 13px; color: var(--muted); }
.card-price .from { font-size: 12px; color: var(--muted); margin-right: 2px; }

.card-price .price.discount { color: var(--orange-dark); }
.card-tierhint { font-size: 11.5px; color: var(--muted); margin: -4px 0 11px; line-height: 1.4; }
.card-tierhint b { color: var(--orange-dark); font-weight: 600; font-family: 'IBM Plex Mono', monospace; }

.card-actions { display: flex; gap: 8px; }
.qty {
  display: flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  height: 40px; flex-shrink: 0;
}
.qty button {
  width: 34px; height: 100%; border: none; background: none;
  font-size: 17px; color: var(--ink-2); line-height: 1;
  transition: color .15s;
}
.qty button:hover { color: var(--orange-dark); }
.qty input {
  width: 38px; height: 100%; border: none; text-align: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 14px;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  outline: none; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-cart {
  flex: 1; height: 40px;
  background: var(--orange-tint); color: var(--orange-dark);
  border: 1px solid var(--orange-line); border-radius: var(--radius);
  font-weight: 600; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .15s;
}
.btn-cart:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { background: var(--ink); color: #b7b3ab; margin-top: 20px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px; padding: 54px 0 44px;
}
.footer h4 {
  color: #fff; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer a { color: #b7b3ab; font-size: 14px; transition: color .15s; }
.footer a:hover { color: var(--orange); }
.footer .logo-text b, .footer .logo-text small { color: #fff; }
.footer .logo-text small { color: var(--muted); }
.footer-about p { font-size: 13.5px; line-height: 1.6; color: #99958d; margin: 16px 0 0; max-width: 290px; }
.footer-contact b { color: #fff; font-size: 18px; font-weight: 600; display: block; margin-bottom: 4px; }
.footer-phone { margin-bottom: 10px; }
.footer-phone b { color: #fff; font-size: 16px; font-weight: 600; display: block; margin-bottom: 1px; }
.footer-phone small { color: var(--muted); font-size: 12px; }
.footer-bottom {
  border-top: 1px solid #34322e; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: #807c74;
}
.footer-bottom .pays { display: flex; gap: 8px; }
.footer-bottom .pays span {
  border: 1px solid #34322e; border-radius: var(--radius-sm);
  padding: 4px 9px; font-family: 'IBM Plex Mono', monospace; font-size: 11px;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Шапка ломалась на мобильных — десктопная строка категорий и блок
   логотип/поиск/телефоны/иконки не помещались и вызывали горизонтальный
   скролл всего сайта. Ниже — раскладка в несколько строк + строка
   категорий со своим внутренним скроллом вместо переполнения страницы. */
@media (max-width: 760px) {
  .container { padding: 0 16px; }

  .topbar .container { flex-wrap: wrap; height: auto; padding: 8px 0; row-gap: 4px; }
  .topbar-left, .topbar-right { flex-wrap: wrap; gap: 6px 14px; }

  .header-main { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  .search { order: 3; flex: 1 1 100%; }

  .nav .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav .container::-webkit-scrollbar { display: none; }
  .nav-cat, .nav a.nav-link { flex-shrink: 0; }
  .nav-right { margin-left: 0; }
}

/* 2 колонки карточек уже не помещаются на узких экранах (карточка не
   сжимается ниже своего контента) и тоже растягивали страницу в ширину */
@media (max-width: 560px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
}
