/* =========================================================
   International Heavy Equipment: стили сайта
   ========================================================= */
:root {
  --ink: #1B1E23;
  --ink-2: #22262C;
  --ink-3: #2C3138;
  --ink-line: #353B43;
  --paper: #F3F4F6;
  --white: #FFFFFF;
  --line: #E2E5E9;
  --line-2: #D5D9DE;
  --text: #1B1E23;
  --muted: #5B6470;
  --muted-2: #6B7380; /* 4.8:1 на белом */
  --on-dark: #E9ECEF;
  --on-dark-muted: #A2AAB4;
  /* Оранжевый: --acc под белым текстом кнопок (4.7:1), --acc-text для оранжевого текста на светлом фоне (5.4:1),
     --acc-2 — яркий оттенок только для акцентов на тёмном фоне */
  --acc: #B35C00;
  --acc-hover: #9A4F00;
  --acc-text: #9A4F00;
  --acc-2: #E07B12;
  --acc-soft: #FFF1E2;
  --blue: #1E6FDB;
  --blue-2: #2B86F0;
  --blue-ink: #0E2A5C;
  --wa: #1A7F34;   /* зелёный WhatsApp под белым текстом (5.1:1) */
  --wa-2: #156B2B;
  --ok: #0E7C4A;
  --warn: #A15C07;
  --r: 4px;
  --shadow: 0 1px 2px rgba(16, 20, 26, .06), 0 4px 14px rgba(16, 20, 26, .06);
  --shadow-lg: 0 10px 30px rgba(16, 20, 26, .14);
  --f-head: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --header-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.mono { font-family: var(--f-mono); }
.container { width: 100%; max-width: 1504px; margin: 0 auto; padding: 0 40px; }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--acc { color: var(--acc-2); }
.i--wa { color: var(--wa); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--r); font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; border: 1px solid transparent; }
.btn:active { transform: translateY(1px); }
.btn--acc { background: var(--acc); color: #fff; }
.btn--acc:hover { background: var(--acc-hover); box-shadow: 0 6px 18px rgba(179, 92, 0, .35); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .16); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.btn--outline { background: var(--white); border-color: var(--line-2); color: var(--text); }
.btn--outline:hover { border-color: var(--acc); color: var(--acc); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:focus-visible, .hlink:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 2px; }
a, button, label, select, [data-open] { touch-action: manipulation; }

/* ссылка для клавиатуры: перейти сразу к каталогу */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--acc); color: #fff; font-weight: 700; border-radius: var(--r); transition: top .15s; }
.skip-link:focus { top: 8px; }

/* ---------- верхняя полоса ---------- */
.topbar { background: #14161A; color: var(--on-dark-muted); font-size: 12.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 26px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar__left b { color: #fff; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.topbar__sep { width: 1px; height: 14px; background: var(--ink-line); }
.topbar__left { flex: 1 1 auto; }
.topbar__right { flex: none; }
.topbar__muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar__right span { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark); white-space: nowrap; }
.topbar .i { width: 14px; height: 14px; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--ink-2); border-bottom: 1px solid var(--ink-line); color: #fff; }
.header__in { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: auto; height: 46px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.logo__txt { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-head); font-weight: 700; font-style: italic; text-transform: uppercase; }
.logo__txt b { font-size: 18px; letter-spacing: .03em; color: #fff; }
.logo__txt small { font-size: 13.5px; letter-spacing: .03em; color: #3A8DF0; margin-top: 3px; }

.catmenu { position: relative; flex: none; }
.catmenu__btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.catmenu__btn .i { width: 16px; height: 16px; }
.catmenu__drop { position: absolute; top: calc(100% + 13px); left: 0; width: min(860px, 92vw); max-height: 70vh; overflow: auto; background: var(--white); color: var(--text); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 20px; border-top: 3px solid var(--acc); }
.catmenu__drop .catmenu__h { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--acc); margin: 10px 0 6px; }
.catmenu__drop .catmenu__h:first-child { margin-top: 0; }
.catmenu__drop a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; font-size: 13.5px; border-radius: 3px; }
.catmenu__drop a:hover { background: var(--paper); color: var(--acc); }
.catmenu__drop a em { font-style: normal; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted-2); }

.hsearch { flex: 1 1 260px; max-width: 320px; min-width: 120px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: var(--r); color: var(--on-dark-muted); transition: border-color .2s; }
.hsearch:focus-within { border-color: var(--acc); }
.hsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 14px; }
.hsearch input::placeholder { color: var(--on-dark-muted); }
.hsearch .i { width: 16px; height: 16px; }

.nav { display: flex; gap: 22px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc-2); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }

.hactions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hlink { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--on-dark); white-space: nowrap; }
.hlink:hover { color: var(--acc-2); }
.hlink .i { width: 16px; height: 16px; }
.badge { position: absolute; top: -8px; left: 9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--acc); color: #fff; font: 700 10px/17px var(--f-mono); text-align: center; }
.hwa { min-height: 40px; font-size: 15px; }
.hwa .mono { font-size: 11px; font-weight: 500; opacity: .9; }
.hwa__chev { width: 14px !important; height: 14px !important; transition: transform .2s; }
.wamenu { position: relative; }
.wamenu [aria-expanded="true"] .hwa__chev { transform: rotate(180deg); }
.wamenu__drop { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: 300px; padding: 10px; background: var(--white); color: var(--text); border-radius: var(--r); border-top: 3px solid var(--wa); box-shadow: var(--shadow-lg); animation: pop .2s cubic-bezier(.2, .8, .2, 1); }
.wamenu--up .wamenu__drop { top: auto; bottom: calc(100% + 10px); border-top: 0; border-bottom: 3px solid var(--wa); }
.wamenu__t { padding: 4px 8px 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wamenu__item { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 3px; transition: background .15s; }
.wamenu__item + .wamenu__item { border-top: 1px solid var(--line); }
.wamenu__item:hover { background: #EAF7EE; }
.wamenu__ava { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: var(--r); background: linear-gradient(135deg, var(--acc-2), var(--acc)); color: #fff; font-family: var(--f-head); font-size: 17px; font-weight: 700; }
.wamenu__who { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.wamenu__who b { font-size: 14.5px; }
.wamenu__who .mono { font-size: 12.5px; color: var(--muted); }
.wamenu__item > .i { width: 22px; height: 22px; color: var(--wa); }
.burger { display: none; width: 40px; height: 40px; border-radius: var(--r); background: var(--ink-3); flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 18px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: #111317; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 55%; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 23, .6) 0%, rgba(17, 19, 23, .3) 40%, rgba(17, 19, 23, 0) 65%), linear-gradient(0deg, rgba(17, 19, 23, .85) 0%, rgba(17, 19, 23, 0) 32%); }
.hero__in { position: relative; padding-top: 82px; padding-bottom: 40px; }
.eyebrow { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-2); margin-bottom: 10px; font-weight: 500; }
.hero__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 6.2vw, 78px); line-height: .98; letter-spacing: -.005em; max-width: 900px; }
.hero__lead { margin-top: 18px; max-width: 640px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: #D6DADF; }
.hero__search { display: flex; gap: 8px; margin-top: 38px; max-width: 770px; }
.hero__field { flex: 1; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; background: rgba(34, 38, 44, .85); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); backdrop-filter: blur(6px); transition: border-color .2s; }
.hero__field:focus-within { border-color: var(--acc-2); }
.hero__field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 16px; }
.hero__field input::placeholder { color: #A9B0B9; }
.hero__field .i { color: #A9B0B9; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__btns .btn { min-height: 44px; }
.hero__feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-weight: 600; font-size: 14.5px; }
.hero__feats li { display: flex; align-items: center; gap: 12px; }
.ficon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); border-radius: var(--r); color: var(--acc-2); }
.ficon .i { width: 18px; height: 18px; }

/* ---------- секции ---------- */
.section { padding: 80px 0; }
.section--light { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #fff; }
.section--catalog { padding-top: 10px; }
#categories { padding-bottom: 50px; }
.h2 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -.003em; }
.h2--light { color: #fff; }
.h2--xl { font-size: clamp(32px, 3.6vw, 46px); }
.sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.sub--light { color: #C8CDD3; font-size: 17px; line-height: 1.6; margin-top: 14px; }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.shead--line { padding-bottom: 24px; border-bottom: 1px solid var(--line-2); margin-bottom: 32px; }
.shead__tools { display: flex; gap: 10px; }

/* ---------- табы и плитки разделов ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: linear-gradient(135deg, var(--blue-ink), #133B80); border-radius: 6px; box-shadow: 0 8px 22px rgba(14, 42, 92, .28); }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 4px; font-weight: 700; font-size: 15px; color: #D7E4F7; transition: background .18s, color .18s, box-shadow .18s; }
.tabs button em { font-style: normal; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; padding: 2px 7px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #BFD3F2; }
.tabs button:not([aria-selected="true"]):hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 4px 12px rgba(43, 134, 240, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.tabs button[aria-selected="true"] em { background: rgba(255, 255, 255, .25); color: #fff; }
.tabs button:focus-visible { outline-color: #fff; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.cat { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s; overflow: hidden; }
.cat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--acc); transform: scaleY(0); transition: transform .2s; }
.cat:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat:hover::before { transform: scaleY(1); }
.cat__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--paper); border-radius: var(--r); color: var(--acc); }
.cat__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cat b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* длинные слова («Электрооборудование», «Гидротрансформаторы») переносятся по слогам, а не обрезаются */
.cat > span:last-child { min-width: 0; }
.cat small { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted-2); }
.cats--collapsed .cat:nth-child(n+17) { display: none; }
.cats__more { grid-column: 1 / -1; justify-self: center; margin-top: 6px; }

/* ---------- каталог ---------- */
.catalog { display: grid; grid-template-columns: 330px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; scrollbar-width: thin; }
.filters__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters__head h3 { font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.link-reset { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.link-reset:hover { color: var(--acc); }
.link-reset .i { width: 14px; height: 14px; }
.fgroup { padding: 18px 0; border-bottom: 1px solid var(--line); }
.flabel { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; color: #3A4049; }
.finput { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--muted-2); background: var(--white); }
.finput:focus-within { border-color: var(--acc); }
.finput input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--text); }
.finput .i { width: 16px; height: 16px; }
.select { position: relative; display: inline-flex; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 38px 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); font-size: 13.5px; cursor: pointer; min-width: 190px; }
.select select:focus { outline: 0; border-color: var(--acc); }
.select::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select--block, .select--block select { width: 100%; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chip { height: 32px; padding: 0 10px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 3px; font-family: var(--f-mono); font-size: 12px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; justify-content: space-between; align-items: center; gap: 6px; transition: border-color .15s, background .15s; }
.chip em { font-style: normal; color: var(--muted-2); font-size: 10.5px; flex: none; }
/* длинное имя бренда сокращается многоточием, а число позиций видно всегда */
.chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.chip--wide { grid-column: 1 / -1; }
.chip:hover { border-color: var(--acc); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] em { color: var(--on-dark-muted); }
.chips__more { grid-column: 1 / -1; font-size: 12.5px; color: var(--acc); font-weight: 600; text-align: left; padding: 4px 0; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding: 3px 0; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 3px; display: grid; place-items: center; transition: background .15s, border-color .15s; background: var(--white); }
.check input:checked + span { background: var(--acc); border-color: var(--acc); }
.check input:checked + span::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.check input:focus-visible + span { outline: 2px solid var(--acc-2); outline-offset: 2px; }
.supply { margin-top: 20px; padding: 18px; background: var(--ink); color: #D7DBE0; border-radius: var(--r); font-size: 13.5px; line-height: 1.55; }
.supply__t { color: var(--acc-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.supply .btn { margin-top: 16px; }
.filters-toggle { display: none; }
.filters__apply { display: none; margin-top: 18px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.afilter { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: var(--white); border: 1px solid var(--line-2); border-radius: 15px; font-size: 13px; }
.afilter:hover { border-color: var(--acc); color: var(--acc); }
.afilter .i { width: 13px; height: 13px; }

.results { min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { min-width: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s, border-color .2s; animation: cardIn .35s ease both; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-2); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.card__media { position: relative; aspect-ratio: 1 / 1; border-radius: 2px; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #4A5059 0%, #2A2E35 55%, #1D2025 100%); display: grid; place-items: center; cursor: pointer; }
.card__media::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 24px 24px; }
.card__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(0deg, rgba(200, 105, 10, .18), transparent); }
.card__ill { position: relative; width: 42%; height: 42%; color: #E6E9ED; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); transition: transform .35s; }
.card:hover .card__ill { transform: scale(1.06) rotate(-2deg); }
.card__media--photo { background: #fff; }
.card__media--photo::before, .card__media--photo::after { display: none; }
.card__photo { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .35s; }
/* фото нельзя перетащить или сохранить через «Сохранить картинку как»: клик проходит к карточке */
.card__photo { pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.card:hover .card__photo { transform: scale(1.05); }
.card__media--photo .card__cat { color: var(--muted); }
.pm .card__media--photo .card__photo { padding: 6%; }
.card__photo--ill { padding: 12%; }
.card__illnote { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 3px 7px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line, #E2E5EA); color: var(--muted-2, #6B7380); font: 600 10px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; border-radius: 2px; }
.card__cat { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__id { position: absolute; right: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; background: rgba(20, 22, 26, .85); color: #fff; font: 700 10px/1 var(--f-mono); letter-spacing: .04em; border-radius: 2px; }
.card__id::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2BC06A; }
.fav { position: absolute; left: 8px; top: 8px; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); border-radius: 3px; color: var(--ink); transition: background .15s, color .15s, transform .15s; }
.fav .i { width: 15px; height: 15px; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { background: #C62828; color: #fff; }
.fav[aria-pressed="true"] .i { fill: currentColor; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 4px 4px; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.card__brand { font-family: var(--f-mono); font-weight: 700; font-size: 11.5px; }
.stock { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 2px; font: 700 10.5px/1.2 var(--f-mono); color: #fff; white-space: nowrap; }
.stock .i { width: 11px; height: 11px; }
.stock--ok { background: var(--ok); }
.stock--order { background: #ECEEF1; color: var(--warn); }
.card__title { font-size: 16px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.card__title:hover { color: var(--acc); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tag { display: inline-block; max-width: 100%; padding: 3px 8px; background: #F1F3F5; border: 1px solid var(--line); border-radius: 2px; font: 500 11px/1.4 var(--f-mono); color: #3A4049; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__desc { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); }
.card__body > .tags + .card__price, .card__body > .card__desc + .card__price { margin-top: auto; }
.card__spacer { flex: 1; min-height: 14px; }
.card__price span { font-size: 13px; color: var(--muted); }
.price { font-family: var(--f-head); font-weight: 600; font-size: 22px; letter-spacing: .01em; white-space: nowrap; }
.price--req { font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--acc); }
.card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.card__btns .btn { min-height: 34px; font-size: 13px; padding: 0 10px; }
.card__btns .btn .i { width: 15px; height: 15px; }
.btn.is-added { background: var(--ink); }

.empty { text-align: center; padding: 60px 24px; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty > .i { width: 40px; height: 40px; color: var(--acc); }
.empty h3 { margin-top: 12px; font-family: var(--f-head); text-transform: uppercase; font-size: 22px; }
.empty p { margin: 8px auto 0; max-width: 520px; color: var(--muted); }
.empty__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
.more .btn { min-width: 240px; min-height: 46px; }
.more__info { font-size: 12px; color: var(--muted-2); }

/* ---------- менеджеры ---------- */
.managers { position: relative; overflow: hidden; }
.managers::before { content: ''; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 105, 10, .18), transparent 65%); }
.managers__head { position: relative; max-width: 820px; }
.mgrs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.mgr { display: flex; flex-direction: column; gap: 18px; padding: 26px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r); transition: border-color .2s, transform .2s; }
.mgr:hover { border-color: var(--acc); transform: translateY(-3px); }
.mgr__ava { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r); background: linear-gradient(135deg, var(--acc-2), var(--acc)); font-family: var(--f-head); font-size: 26px; font-weight: 700; }
.mgr h3 { font-family: var(--f-head); font-size: 26px; font-weight: 600; text-transform: uppercase; }
.mgr__role { color: var(--on-dark-muted); font-size: 14px; margin-top: 2px; }
.mgr__tel { display: inline-block; margin-top: 12px; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.mgr__tel:hover { color: var(--acc-2); }
.mgr__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }

/* ---------- бренды ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 34px; }
.brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 148px; padding: 20px 14px; background: #F5F6F8; border: 1px solid var(--line); border-radius: 2px; text-align: center; transition: background .2s, border-color .2s, transform .2s; }
.brand:hover { background: var(--white); border-color: var(--acc); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand b { font-family: var(--f-head); font-size: 30px; letter-spacing: .14em; font-weight: 700; }
.brand span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.brand em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; color: var(--acc); letter-spacing: .06em; }

/* ---------- форма подбора ---------- */
.podbor__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.podbor__list { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: grid; gap: 22px; }
.podbor__list li { display: flex; gap: 14px; }
.podbor__list b { display: block; font-size: 15px; }
.podbor__list small { display: block; color: var(--on-dark-muted); font-size: 13px; margin-top: 2px; }
.ficon--dark { width: 34px; height: 34px; background: var(--ink-2); border-color: var(--ink-line); }
.ficon--dark .i { width: 16px; height: 16px; }
.pform { padding: 32px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r); display: grid; gap: 18px; }
.pform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf { display: grid; gap: 8px; }
.pf > span { font-size: 13px; font-weight: 700; color: #E3E6EA; }
.pf i { color: var(--acc-2); font-style: normal; }
.pf input, .pf textarea { width: 100%; padding: 12px 13px; background: #191C20; border: 1px solid var(--ink-line); border-radius: var(--r); color: #fff; outline: 0; font-size: 15px; resize: vertical; transition: border-color .2s; }
.pf input::placeholder, .pf textarea::placeholder { color: #7E8690; }
.pf input:focus, .pf textarea:focus { border-color: var(--acc); }
.pf input.is-err { border-color: #E5484D; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; border: 1px dashed #4A515A; border-radius: var(--r); background: #191C20; text-align: center; font-size: 13px; color: #C9CED4; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--acc); background: #1E2126; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .i { width: 22px; height: 22px; }
.drop__prev { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.drop__prev img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; border: 1px solid var(--ink-line); }
.pform__note { font-size: 12.5px; color: var(--on-dark-muted); }

/* ---------- о компании ---------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.about__big { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 6vw, 82px); line-height: .95; }
.about__lead { margin-top: 16px; font-size: 21px; line-height: 1.4; font-weight: 500; }
.about__txt { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin-top: 34px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.stats div { background: var(--white); padding: 18px; }
.stats b { display: block; font-family: var(--f-head); font-size: 30px; color: var(--acc); font-weight: 600; line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted); }
.about__right { display: grid; gap: 16px; }
.acard { display: flex; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.acard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.acard__ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: var(--r); background: var(--paper); color: var(--acc); }
.acard h3 { font-size: 17px; font-weight: 700; }
.acard p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.urgent { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 20px 20px 22px; background: var(--ink-2); color: #fff; border-radius: var(--r); }
.urgent b { display: block; font-size: 15px; }
.urgent span { display: block; font-size: 13px; color: var(--on-dark-muted); margin-top: 2px; }

/* ---------- доставка ---------- */
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.dcard { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, transform .2s; }
.dcard:hover { border-color: var(--acc); transform: translateY(-3px); }
.dcard__n { position: absolute; right: 18px; top: 16px; font-size: 12px; color: var(--muted-2); }
.dcard__ic { width: 28px; height: 28px; color: var(--acc); }
.dcard h3 { margin-top: 18px; font-size: 17px; }
.dcard p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- футер ---------- */
.footer { background: var(--ink-2); color: var(--on-dark-muted); padding: 64px 0 0; font-size: 13.5px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; }
.logo--foot img { height: 58px; }
.logo--foot .logo__txt b { font-size: 24px; }
.logo--foot .logo__txt small { font-size: 18px; }
.footer__about { margin-top: 18px; line-height: 1.7; }
.footer__ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 12px; border-radius: var(--r); background: var(--ink-3); color: #fff; font-size: 13.5px; }
.footer__ig .i { color: var(--acc-2); width: 16px; height: 16px; }
.footer__ig:hover { background: var(--ink-line); }
.footer h4 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 17px; color: #fff; margin-bottom: 18px; letter-spacing: .01em; }
.fcontacts { display: grid; gap: 14px; }
.fcontacts span { display: block; }
.fcontacts a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; margin-top: 3px; }
.fcontacts a:hover { color: var(--acc-2); }
.fcontacts .i { width: 15px; height: 15px; }
.flinks { display: grid; gap: 9px; }
.flinks a { color: #E3E6EA; display: inline-flex; gap: 8px; }
.flinks a::before { content: '›'; color: var(--muted-2); }
.flinks a:hover { color: var(--acc-2); }
.frules { display: grid; gap: 14px; }
.frules li { display: flex; gap: 10px; line-height: 1.5; }
/* снизу запас под плавающие кнопки «Заявка» и «WhatsApp», чтобы они не закрывали текст */
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; padding-bottom: 110px; border-top: 1px solid var(--ink-line); font-size: 13px; }
.container.footer__bottom { padding-bottom: 110px; }
.footer__policy { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__policy:hover { color: #fff; }
/* реквизиты компании */
.footer__req { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; font-size: 13px; line-height: 1.7; }
.freq { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: baseline; }
.freq b { color: #fff; font-weight: 600; }
.freq a, .freq__bank a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.freq__bank summary { cursor: pointer; color: #fff; }
.freq__bank p { margin-top: 6px; }
/* страница политики конфиденциальности */
.legal-page { background: #F3F4F6; color: #1D2025; }
.legal-head { background: #1B1E23; }
.legal-head__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.legal-back { color: #fff; font-weight: 600; font-size: 14px; }
.legal-back:hover { color: var(--acc, #B35C00); }
.legal { max-width: 860px; padding-top: 40px; padding-bottom: 56px; line-height: 1.7; font-size: 15.5px; }
.legal h1 { font-family: var(--f-head); text-transform: uppercase; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.legal__date { color: var(--muted-2, #6B7380); margin: 6px 0 26px; font-size: 14px; }
.legal h2 { font-family: var(--f-head); font-size: 20px; text-transform: uppercase; margin: 28px 0 8px; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 10px 20px; list-style: disc; }
.legal a { color: var(--acc-text, #9A4F00); text-decoration: underline; }
.legal-foot { background: #1B1E23; color: #B8BEC7; font-size: 13px; padding: 22px 0; }
.legal-foot a { color: #fff; }
/* согласие на обработку персональных данных у форм */
.consent { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--on-dark-muted); }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent--light { color: var(--muted-2, #6B7380); }
.footer__upd { font-size: 12px; }

/* ---------- плавающие кнопки ---------- */
.floating { position: fixed; right: 14px; bottom: 16px; z-index: 40; display: grid; gap: 10px; }
.fbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 142px; height: 44px; padding: 0 16px; border-radius: var(--r); color: #fff; font-weight: 800; font-size: 13.5px; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .2s, background .2s; text-transform: uppercase; }
.fbtn:hover { transform: translateY(-2px); }
.fbtn--acc { background: var(--acc); }
.fbtn--acc:hover { background: var(--acc-2); }
.fbtn--acc em { font-style: normal; background: #fff; color: var(--acc); font-family: var(--f-mono); font-size: 11px; padding: 1px 6px; border-radius: 2px; }
.fbtn--wa { background: var(--wa); text-transform: none; }
.fbtn.is-bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.1); } }

/* ---------- панель заявки ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(15, 17, 20, .6); backdrop-filter: blur(4px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--white); box-shadow: -10px 0 40px rgba(0, 0, 0, .25); transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 22px 18px; background: #F0F2F4; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-head); text-transform: uppercase; font-size: 24px; }
.drawer__head p { font-size: 13px; color: var(--muted); }
.iconbtn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); color: var(--text); }
.iconbtn:hover { background: rgba(0, 0, 0, .06); }
.drawer__body { flex: 1; overflow: auto; padding: 4px 22px 22px; }
.citem { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.citem__b { font: 700 11px/1 var(--f-mono); color: var(--acc); }
.citem__n { grid-column: 1; font-size: 14px; font-weight: 600; line-height: 1.35; }
.citem__a { grid-column: 1 / -1; font: 11px/1.4 var(--f-mono); color: var(--muted); }
.citem__rm { grid-row: 1 / 3; grid-column: 2; align-self: start; width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); border-radius: 3px; }
.citem__rm:hover { color: #C62828; background: #FDECEC; }
.citem__rm .i { width: 16px; height: 16px; }
.citem__row { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 3px; height: 30px; }
.qty button { width: 28px; height: 100%; color: var(--muted); font-size: 15px; }
.qty button:hover { color: var(--acc); }
.qty input { width: 40px; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 600 13px var(--f-mono); outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.citem__p { font-family: var(--f-head); font-size: 17px; font-weight: 600; }
.citem__p.req { font-family: var(--f-body); font-size: 12.5px; color: var(--acc); font-weight: 700; }
.drawer__empty { text-align: center; padding: 40px 10px 10px; color: var(--muted); font-size: 14px; }
.drawer__empty .i { width: 40px; height: 40px; color: var(--line-2); margin-bottom: 10px; }
.drawer__form { padding-top: 20px; display: grid; gap: 10px; }
.drawer__lbl { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #3A4049; margin-top: 6px; }
.drawer__form input:not([type="radio"]) { width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: var(--r); background: #F5F6F8; outline: 0; font-size: 14px; }
.drawer__form input:focus { border-color: var(--acc); background: #fff; }
.drawer__form input.is-err { border-color: #E5484D; }
.mgrpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mgrpick label { cursor: pointer; }
.mgrpick input { position: absolute; opacity: 0; }
.mgrpick span { display: block; padding: 9px 8px; border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 700; font-size: 13.5px; text-align: center; transition: border-color .15s, background .15s; }
.mgrpick small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.mgrpick input:checked + span { border-color: var(--wa); background: #EAF7EE; }
.mgrpick input:focus-visible + span { outline: 2px solid var(--acc-2); }
.drawer__foot { padding: 16px 22px 20px; border-top: 1px solid var(--line); background: #F7F8F9; }
.no-prices .drawer__total, .no-prices .citem__p { display: none; }
.no-prices .drawer__hint { font-size: 13px; color: var(--text); font-weight: 500; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total span { font-size: 13.5px; color: var(--muted); }
.drawer__total b { font-family: var(--f-head); font-size: 28px; font-weight: 600; }
.drawer__hint { font-size: 12px; color: var(--muted); margin-top: 2px; min-height: 16px; }
.drawer__btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 12px; }
.drawer__btns .btn { min-height: 46px; font-size: 13.5px; text-transform: uppercase; }

/* ---------- модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(15, 17, 20, .65); backdrop-filter: blur(4px); animation: fade .2s; }
.modal__box { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__x { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(255, 255, 255, .9); }
.pm { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm .card__media { aspect-ratio: auto; min-height: 100%; border-radius: 0; cursor: default; }
.pm .card__ill { width: 46%; height: 46%; }
/* галерея фото в окне товара */
.pm__thumbs { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pm__thumb { width: 58px; height: 58px; padding: 3px; background: #fff; border: 2px solid var(--line, #E2E5EA); border-radius: 3px; cursor: pointer; transition: border-color .15s; }
.pm__thumb img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.pm__thumb:hover, .pm__thumb.is-active { border-color: var(--acc, #B35C00); }
.pm .card__media--photo:has(.pm__thumbs) .card__photo { padding-bottom: 84px; }
.pm__body { padding: 30px 30px 26px; }
.pm__body .card__top { padding-right: 44px; }
.pm__title { font-size: 22px; font-weight: 700; line-height: 1.3; margin-top: 10px; }
.pm__specs { margin-top: 18px; border-top: 1px solid var(--line); }
.pm__specs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.pm__specs dt, .pm__specs span:first-child { color: var(--muted); }
.pm__specs span:last-child { font-weight: 500; overflow-wrap: anywhere; }
.pm__specs .mono { font-size: 12.5px; }
.pm__note { margin-top: 16px; padding: 12px 14px; background: var(--acc-soft); border-left: 3px solid var(--acc); font-size: 13px; line-height: 1.55; }
.pm__price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.pm__price .price { font-size: 30px; }
.pm__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pm__btns .btn { min-height: 46px; }
.pm__call { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pm__call a { color: var(--text); font-weight: 700; font-family: var(--f-mono); white-space: nowrap; }
.pm__call a:hover { color: var(--acc); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 200%); visibility: hidden; padding: 12px 18px; background: var(--ink); color: #fff; border-left: 3px solid var(--acc-2); border-radius: var(--r); font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .3s cubic-bezier(.2, .8, .2, 1); max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- появление ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .overlay, .modal, .modal__box { animation: none; }
}

/* =========================================================
   Адаптивность
   ========================================================= */
@media (min-width: 1681px) {
  .container { max-width: 1640px; }
}
@media (max-width: 1680px) {
  .hlink span { display: none; }
  .hlink .badge { left: 10px; }
}
@media (max-width: 1280px) {
  .container { padding: 0 28px; }
  .hwa .mono { display: none; }
  .nav { gap: 16px; font-size: 14px; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .catalog { grid-template-columns: 290px 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1220px) {
  .header__in { gap: 14px; }
  .nav { gap: 13px; font-size: 13.5px; }
  .logo__txt b { font-size: 16px; }
  .logo__txt small { font-size: 12px; }
}
@media (max-width: 1100px) {
  .topbar__muted, .topbar__sep { display: none; }
  .nav { position: fixed; top: calc(var(--header-h) + 26px); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--ink-line); padding: 8px 28px 18px; transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; z-index: -1; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--ink-line); font-size: 16px; }
  .nav a::after { display: none; }
  .burger { display: flex; }
  .hsearch { max-width: none; min-width: 0; flex: 1 1 auto; }
  .header__in { gap: 14px; }
  .hactions { gap: 12px; margin-left: 0; }
  .hwa { width: 40px; padding: 0; font-size: 0; gap: 0; }
  .hwa .i { width: 20px; height: 20px; }
  .hwa .hwa__chev, .hwa .mono { display: none; }
  .mgrs { grid-template-columns: 1fr; }
  .mgr { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .mgr__body { flex: 1; min-width: 180px; }
  .mgr__btns { margin-top: 0; min-width: 260px; }
  .podbor__in, .about { grid-template-columns: 1fr; gap: 40px; }
  .dgrid { grid-template-columns: 1fr 1fr; }
  .hero__feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .catalog { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; }
  .filters__apply { display: flex; position: sticky; bottom: 0; z-index: 2; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; z-index: 90; width: min(360px, 92vw); max-height: none; background: var(--paper); padding: 14px; transform: translateX(-105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .filters.is-open { transform: none; box-shadow: 10px 0 40px rgba(0, 0, 0, .25); }
  .pm { grid-template-columns: 1fr; }
  .pm .card__media { min-height: 220px; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .container { padding: 0 16px; }
  .topbar__right { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__left b { font-size: 11px; }
  .hactions .hlink { display: none; }
  .header__in { gap: 10px; flex-wrap: nowrap; }
  .logo__txt { display: none; }
  .catmenu__btn { padding: 0 12px; font-size: 14px; }
  .catmenu__drop { position: fixed; left: 8px; right: 8px; top: calc(var(--header-h) + 34px); width: auto; grid-template-columns: 1fr; }
  .hsearch { flex: 0 0 40px; padding: 0; justify-content: center; cursor: pointer; }
  .hsearch input { display: none; }
  .hsearch .i { width: 18px; height: 18px; }
  .hactions { gap: 10px; margin-left: auto; }
  .hwa { width: 40px; padding: 0; font-size: 0; gap: 0; }
  .hwa .i { width: 20px; height: 20px; }
  .hero__in { padding-top: 48px; }
  .hero__bg img { object-position: 78% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(17, 19, 23, .35) 0%, rgba(17, 19, 23, .6) 45%, rgba(17, 19, 23, .88) 100%); }
  .hero__search { flex-direction: column; }
  .hero__btns .btn { flex: 1; }
  .hero__feats { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; }
  .section { padding: 56px 0; }
  .section--catalog { padding-top: 0; }
  .shead { align-items: stretch; }
  .shead__tools { width: 100%; }
  .shead__tools .select { flex: 1; }
  .shead__tools .select select { min-width: 0; width: 100%; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tabs button { justify-content: space-between; padding: 11px 12px; font-size: 14px; text-align: left; line-height: 1.25; }
  .cats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat { padding: 12px; gap: 10px; }
  .cat__ic { width: 36px; height: 36px; }
  .cat__ic svg { width: 22px; height: 22px; }
  .cat b { font-size: 13px; }
  .cats--collapsed .cat:nth-child(n+9) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 16 / 10; }
  .brands { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand { min-height: 120px; }
  .brand b { font-size: 22px; }
  .mgr { flex-direction: column; align-items: stretch; }
  .mgr__btns { min-width: 0; }
  .pform { padding: 20px; }
  .pform__row { grid-template-columns: 1fr; }
  .stats b { font-size: 24px; }
  .urgent { flex-direction: column; align-items: stretch; }
  .dgrid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .floating { right: 10px; bottom: 10px; grid-auto-flow: column; }
  .fbtn { min-width: 0; height: 46px; }
  .fbtn--wa { width: 46px; padding: 0; font-size: 0; gap: 0; }
  .fbtn--wa .i { width: 22px; height: 22px; }
  .pm__body { padding: 22px 18px; }
  .pm__specs div { grid-template-columns: 110px 1fr; }
  .drawer__btns { grid-template-columns: 1fr; }
}

/* =========================================================
   Доступность и удобство (аудит по UI/UX Pro Max)
   ========================================================= */
/* Контраст: оранжевый текст на светлом фоне — тёмный оттенок (≥4.5:1) */
.section--light .eyebrow, .section--white .eyebrow { color: var(--acc-text); }
.price--req, .brand em, .chips__more, .citem__b, .citem__p.req, .catmenu__drop .catmenu__h, .card__title:hover,
.link-reset:hover, .afilter:hover, .pm__call a:hover, .catmenu__drop a:hover, .btn--outline:hover, .fbtn--acc em { color: var(--acc-text); }
.fbtn--acc:hover { background: var(--acc-hover); }
.card__media--photo .card__cat { display: none; }
.more__info, .dcard__n, .chip em { color: var(--muted); }
.chip[aria-pressed="true"] em { color: var(--on-dark-muted); }
.hwa .mono { font-size: 12px; }
/* мышь: цель нажатия не меньше 24px (WCAG 2.2) */
.hlink, .link-reset, .fcontacts a, .flinks a, .pm__call a, .chips__more { min-height: 24px; display: inline-flex; align-items: center; }
.hlink { min-width: 32px; min-height: 32px; justify-content: center; }
@media (max-width: 1440px) { .hwa .mono { display: none; } }

/* Текст не мельче 12px */
.eyebrow, .cat small, .card__brand, .catmenu__drop a em, .tabs button em, .fbtn--acc em { font-size: 12px; }
.card__id { font-size: 12px; }
.card__cat, .stock, .tag, .chip em, .brand em, .citem__b, .citem__a { font-size: 12px; }
.stock .i { width: 12px; height: 12px; }

/* Цели нажатия: «в избранное» крупнее, кнопки карточек выше */
.fav { width: 36px; height: 36px; left: 8px; top: 8px; }
.fav .i { width: 18px; height: 18px; }
.card__btns .btn { min-height: 40px; }

/* Подписи полей в панели заявки */
.dlabel { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: #3A4049; }

/* Ошибки рядом с полем */
.pf__err { color: #FF8A8E; font-size: 13px; font-weight: 500; }
.pf input[aria-invalid="true"] { border-color: #E5484D; }

@media (max-width: 760px) {
  /* 44px — минимальная цель нажатия на телефоне */
  .btn, .card__btns .btn, .mgr__btns .btn, .catmenu__btn, .filters-toggle, .select select, .finput, .hsearch, .burger, .hwa, .iconbtn { min-height: 44px; }
  .burger, .hwa, .hsearch, .iconbtn { width: 44px; height: 44px; }
  .catmenu__btn { height: 44px; }
  .fav { width: 44px; height: 44px; left: 6px; top: 6px; }
  .mgr__tel { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
  .flinks a, .fcontacts a, .footer__ig { min-height: 44px; display: inline-flex; align-items: center; }
  .flinks { gap: 0; }
  .qty { height: 44px; }
  .qty button { width: 40px; }
  .check { min-height: 44px; }
  .chip { height: 44px; }
  .wamenu__item { min-height: 52px; }
  .tabs button { min-height: 44px; }
  .topbar__left b { font-size: 12px; }
  .select select { font-size: 16px; }
  /* 16px в полях — iPhone не увеличивает страницу при вводе */
  input, select, textarea, .hero__field input, .finput input, .pf input, .pf textarea, .drawer__form input:not([type="radio"]) { font-size: 16px; }
}
