/* СВЯЗЬПРОМ: общий слой двух вариантов главной. Цвета сняты с живого сайта: #2B68B0, #FBBC34. */
:root {
  --blue: #2b68b0;
  --blue-d: #1f4f8a;
  --blue-l: #e7eff8;
  --yellow: #fbbc34;
  --ink: #17212c;
  --ink-2: #4b5766;
  --ink-3: #6b7786;
  --line: #dde3ea;
  --line-2: #e9edf2;
  --bg: #fff;
  --bg-2: #f2f5f8;
  --bg-3: #e9eef3;
  --shade: 9, 11, 14;
  --wa: #25d366;

  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --r-btn: 12px;

  --wrap: 1360px;
  --gut: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pop: 0 28px 64px -24px rgba(23, 33, 44, .34), 0 8px 20px -12px rgba(23, 33, 44, .16);

  --font-h: "Manrope Var", "Manrope Fb", system-ui, sans-serif;
  --font-t: "Golos Var", "Golos Fb", system-ui, sans-serif;
  --fw-h: 700;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-t);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.fwait body { visibility: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: var(--fw-h); line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
html { scrollbar-color: #b9c4cf var(--bg-2); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #b9c4cf; border-radius: 8px; border: 3px solid var(--bg-2); }

.wrap { width: min(100%, calc(var(--wrap) + var(--gut) * 2)); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 1em; height: 1em; flex: none; fill: currentColor; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* кнопки: стрелка у всех действий, при наведении сдвиг на 3 px */
.btn {
  --bg-b: var(--blue);
  --fg-b: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 22px;
  background: var(--bg-b); color: var(--fg-b);
  border: 1.5px solid var(--bg-b); border-radius: var(--r-btn);
  font: 600 15.5px/1 var(--font-h);
  white-space: nowrap;
  transition: background-color .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease);
}
.btn .ic { width: 15px; height: 15px; transition: transform .28s var(--ease); }
.btn:hover { --bg-b: var(--blue-d); }
.btn:hover .ic { transform: translateX(3px); }
.btn--line { background: transparent; color: var(--ink); border-color: #c5ced8; }
.btn--line:hover { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--white { --bg-b: #fff; --fg-b: var(--ink); }
.btn--white:hover { --bg-b: #e9eef3; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn--full { width: 100%; justify-content: space-between; }
.btns { display: flex; gap: 12px; flex-wrap: nowrap; }
.ts { display: none; }

.more { display: inline-flex; align-items: center; gap: 10px; padding-block: 13px; margin-block: -13px; font: 600 15px/1.2 var(--font-h); color: var(--blue); }
.more .ic { width: 14px; height: 14px; transition: transform .28s var(--ease); }
.more:hover { color: var(--blue-d); }
.more:hover .ic { transform: translateX(3px); }

.sec { padding-block: clamp(44px, 6vw, 84px); }
.sec--tight { padding-block: clamp(32px, 4vw, 56px); }
.sec--grey { background: var(--bg-2); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.sec__title { font-size: clamp(25px, 2.6vw, 36px); }
.sec__note { color: var(--ink-2); margin-top: 8px; }

/* логотип: файл клиента как есть */
.logo { display: flex; align-items: center; flex: none; min-height: 44px; }
.logo img { height: 46px; width: auto; }

/* мега-меню: две панели, разделы слева, содержимое справа */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  visibility: hidden; pointer-events: none; transition: visibility 0s .34s;
}
.mega.is-open { visibility: visible; pointer-events: auto; transition: none; }
/* затемнение только под шапкой и без перехвата курсора: иначе кнопка «Каталог» теряет наведение и меню мигает */
.mega__veil { position: fixed; inset: var(--vt, 0) 0 0; background: rgba(var(--shade), .36); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.mega.is-open .mega__veil { opacity: 1; }
.mega__box {
  position: relative; display: grid; grid-template-columns: var(--rail, 288px) 1fr;
  width: min(calc(100% - var(--gut) * 2), var(--wrap));
  margin-inline: auto;
  background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--pop);
  clip-path: inset(0 -80px 100% -80px);
  transition: clip-path .34s var(--ease), visibility 0s .34s;
  overflow: hidden;
}
.mega.is-open .mega__box { clip-path: inset(0 -80px -80px -80px); transition: clip-path .34s var(--ease); overflow: visible; }
.mega__x { display: none; position: absolute; right: 10px; top: 10px; z-index: 3; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); }
.mega__x .ic { width: 16px; height: 16px; }
@media (hover: none) { .mega__x { display: grid; } .mega__head { padding-right: 52px; } }
.mega__rail { padding: 10px; background: var(--bg-2); border-radius: 0 0 0 var(--r-lg); }
.mega__sec {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 42px; padding: 7px 12px;
  border-radius: var(--r-sm);
  font: 500 14.5px/1.2 var(--font-t); text-align: left;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.mega__sec .ic { width: 19px; height: 19px; color: var(--blue); }
.mega__sec .mega__arr { width: 11px; height: 11px; margin-left: auto; color: var(--ink-3); }
.mega__sec.is-on { background: #fff; color: var(--blue); }
.mega__panes { position: relative; min-height: 0; overflow: hidden; border-radius: 0 0 var(--r-lg) 0; }
.mega__pane { display: none; height: 100%; padding: 22px 26px 24px; }
.mega__pane.is-on { display: flex; flex-direction: column; animation: paneIn .24s var(--ease) backwards; }
@keyframes paneIn { from { opacity: 0; } }
.mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.mega__head h3 { font-size: 21px; }
.mega__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.mega__scroll::-webkit-scrollbar { width: 6px; }
.mega__scroll::-webkit-scrollbar-track { background: transparent; }
.mega__scroll::-webkit-scrollbar-thumb { background: #c7d0da; border: 0; border-radius: 3px; }
.mega__cols { columns: 3 190px; column-gap: 26px; }
.mega__group { break-inside: avoid; margin-bottom: 16px; }
.mega__group h4 { font: 700 14.5px/1.3 var(--font-h); letter-spacing: 0; margin-bottom: 5px; }
.mega__group h4 a:hover { color: var(--blue); }
.mega__group li a { display: block; padding: 3px 0; font-size: 14px; line-height: 1.32; color: var(--ink-2); transition: color .18s var(--ease); }
.mega__group li a:hover { color: var(--blue); }
.mega__tops { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 14px; }
.mega__p { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px 8px 8px; background: var(--bg-2); border-radius: var(--r); font: 500 13.5px/1.22 var(--font-t); transition: color .2s var(--ease), background-color .2s var(--ease); }
.mega__p img { flex: none; width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.mega__p span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.mega__p:hover { color: var(--blue); background: var(--blue-l); }

/* поиск */
.search { position: relative; }
.search__box { display: flex; align-items: center; height: 50px; background: #fff; border: 1.5px solid var(--line); border-radius: 26px; transition: border-color .2s var(--ease); }
.search__box:focus-within { border-color: var(--blue); }
.search__input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 20px; background: none; border: 0; outline: 0; font-size: 16px; }
.search__go { display: grid; place-items: center; width: 40px; height: 40px; margin-right: 4px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; transition: background-color .2s var(--ease); }
.search__go:hover { background: var(--blue-d); }
.search__go .ic { width: 16px; height: 16px; }
.search__drop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; background: #fff; border-radius: var(--r); box-shadow: var(--pop); padding: 8px; display: none; max-height: min(70vh, 520px); overflow: auto; }
.search.is-open .search__drop { display: block; }
.search__item { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 7px 8px; border-radius: var(--r-sm); }
.search__item:hover, .search__item.is-on { background: var(--bg-2); }
.search__item img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #fff; }
.search__item b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.search__item b mark { background: none; color: var(--blue); font-weight: 600; }
.search__item span { font-size: 12.5px; color: var(--ink-3); }
.search__hint { padding: 10px 10px 6px; font-size: 13.5px; color: var(--ink-3); }

/* значок запроса в шапке */
.qbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; font: 600 14.5px/1.15 var(--font-h); }
.qbtn__ic { position: relative; display: grid; place-items: center; width: 24px; height: 24px; color: var(--blue); }
.qbtn__ic .ic { width: 22px; height: 22px; }
.qbtn__n { position: absolute; right: -9px; top: -7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yellow); color: var(--ink); font: 700 11px/18px var(--font-t); text-align: center; }
.qbtn__n[data-n="0"] { display: none; }
.qbtn.is-bump .qbtn__ic { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.22); } }

/* карточка товара */
.pgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 14px 16px 16px; background: #fff; }
.pgrid > .pcard:nth-child(n+6) { display: none; }
.pcard__img { display: block; aspect-ratio: 1; margin-bottom: 10px; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__cat { font-size: 12.5px; line-height: 1.4; color: var(--ink-3); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__name { font: 600 15px/1.3 var(--font-h); letter-spacing: -.005em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; min-height: 3.9em; transition: color .2s var(--ease); }
.pcard:hover .pcard__name { color: var(--blue); }
.pcard__price { margin: 8px 0 12px; font-size: 13.5px; color: var(--ink-2); }
.pcard__row { display: flex; gap: 8px; margin-top: auto; }
.pcard__add { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 10px; border-radius: var(--r-btn); background: var(--blue-l); color: var(--blue); font: 600 14px/1 var(--font-h); transition: background-color .25s var(--ease), color .25s var(--ease); white-space: nowrap; }
.pcard__add .ic { width: 13px; height: 13px; }
.pcard__add:hover { background: var(--blue); color: #fff; }
.pcard__add.is-in { background: var(--blue); color: #fff; }
.pcard__cmp { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: var(--r-btn); border: 1.5px solid var(--line); color: var(--ink-3); transition: color .25s var(--ease), border-color .25s var(--ease); }
.pcard__cmp .ic { width: 16px; height: 16px; }
.pcard__cmp:hover, .pcard__cmp.is-in { color: var(--blue); border-color: var(--blue); }

/* вкладки */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs__btn { padding: 9px 14px; border-radius: 22px; font: 600 14.5px/1.1 var(--font-h); color: var(--ink-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.tabs__btn:hover { color: var(--blue); }
.tabs__btn.is-on { background: var(--blue); color: #fff; }
.tabpane { display: none; }
.tabpane.is-on { display: block; animation: paneIn .3s var(--ease) backwards; }

/* лента логотипов: ячейки одной ширины, поэтому круг замыкается точно и скорость ровная */
.band { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
/* impeccable-disable-line marquee: лента логотипов клиента, стоит вне экрана и при наведении, выключена при reduce-motion */
.band__row { display: flex; width: max-content; will-change: transform; animation: band var(--dur, 60s) linear infinite paused; }
.band.is-run .band__row { animation-play-state: running; }
.band__c { flex: none; display: grid; place-items: center; width: 196px; height: 78px; }
.band__c img { max-width: 88%; height: auto; }
@keyframes band { to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) { .band:hover .band__row { animation-play-state: paused; } }

/* статьи */
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news__item { display: flex; flex-direction: column; gap: 12px; }
.news__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news__item:hover img { transform: scale(1.03); }
.news__date { font-size: 13px; color: var(--ink-3); }
.news__t { font: 600 16.5px/1.3 var(--font-h); letter-spacing: -.01em; transition: color .2s var(--ease); }
.news__item:hover .news__t { color: var(--blue); }

/* вопросы */
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; text-align: left; font: 600 17px/1.3 var(--font-h); border-top: 1px solid var(--line); transition: color .2s var(--ease); }
.faq__q:hover { color: var(--blue); }
.faq__q .ic { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.faq__q[aria-expanded="true"] .ic { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 18px; color: var(--ink-2); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

/* подвал: разделы крупно, контакты, огромное название */
.foot { position: relative; overflow: hidden; background: var(--foot-bg, #10171f); color: #fff; }
.foot__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(var(--shade), .55), rgba(var(--shade), .82)); }
.foot > .wrap { position: relative; z-index: 2; }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(36px, 5vw, 64px) clamp(26px, 3.4vw, 42px); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.foot__say { font: var(--fw-h) clamp(21px, 3.2vw, 44px)/1.14 var(--font-h); letter-spacing: -.02em; max-width: 19em; text-wrap: balance; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding-block: clamp(26px, 3.4vw, 42px); }
.foot__h { display: block; font: var(--fw-h) 21px/1.2 var(--font-h); letter-spacing: -.01em; margin-bottom: 12px; }
.foot__list a { display: block; padding: 4px 0; font-size: 15px; color: rgba(255, 255, 255, .78); transition: color .2s var(--ease); }
.foot__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__grid > * { min-width: 0; }
.foot__cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.foot__tel { display: block; font: 700 21px/1.3 var(--font-h); letter-spacing: -.01em; }
.foot__tel + .foot__tel { margin-top: 2px; }
.foot__tel:hover { color: var(--yellow); }
.foot__txt { color: rgba(255, 255, 255, .78); font-size: 15px; margin-top: 10px; }
.foot__maps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.foot__map { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-size: 14px; transition: background-color .2s var(--ease); }
.foot__map:hover { background: rgba(255, 255, 255, .2); }
.foot__map img { width: 18px; height: 18px; }
.foot__msg { display: flex; gap: 8px; margin-top: 12px; }
.foot__msg a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
/* impeccable-disable-line low-contrast: мессенджеры в фирменных цветах, решение melen */
.foot__msg .wa { background: var(--wa); color: #fff; }
/* impeccable-disable-line low-contrast: мессенджеры в фирменных цветах, решение melen */
.foot__msg .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }
.foot__msg .ic { width: 16px; height: 16px; }
.foot__word { position: relative; z-index: 2; display: block; width: 100%; margin-top: 8px; font: 800 min(9.4vw, 184px)/.76 var(--font-h); letter-spacing: -.04em; text-align: center; color: #fff; white-space: nowrap; user-select: none; transform: translateY(5%); opacity: .96; }
.foot__base { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; padding-block: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .66); border-top: 1px solid rgba(255, 255, 255, .16); }
.foot__base a { display: inline-block; padding-block: 11px; margin-block: -11px; text-decoration: underline; text-underline-offset: 3px; color: #fff; }

/* без указателя iOS Safari не передаёт нажатие по пустому блоку, и фон не закрывал бы панели */
.drawer__veil, .modal__veil, .cmp__veil, .cveil { cursor: pointer; }

/* запрос КП: боковая панель */
.drawer { position: fixed; inset: 0; z-index: 120; overflow: hidden; visibility: hidden; transition: visibility 0s .36s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__veil { position: absolute; inset: 0; background: rgba(var(--shade), .44); opacity: 0; transition: opacity .36s var(--ease); }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__box { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(100%, 460px); background: #fff; transform: translateX(102%); transition: transform .42s var(--ease); }
.drawer.is-open .drawer__box { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.drawer__head h2 { font-size: 22px; }
.drawer__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); transition: background-color .2s var(--ease); }
.drawer__x:hover { background: var(--bg-3); }
.drawer__x .ic { width: 16px; height: 16px; }
.drawer__list { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer__empty { padding: 34px 0; color: var(--ink-2); }
.drawer__empty b { display: block; font: 600 18px/1.3 var(--font-h); color: var(--ink); margin-bottom: 6px; }
.qitem { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.qitem img { width: 58px; height: 58px; object-fit: contain; }
.qitem b { display: block; font: 600 14px/1.3 var(--font-h); }
.qitem__qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; }
.qitem__qty button { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink-2); }
.qitem__qty button .ic { width: 11px; height: 11px; }
.qitem__qty span { min-width: 26px; text-align: center; font-size: 14px; }
.qitem__del { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink-3); border-radius: 8px; transition: color .2s var(--ease); }
.qitem__del:hover { color: #c33; }
.qitem__del .ic { width: 15px; height: 15px; }
.drawer__form { display: grid; gap: 10px; padding: 16px 22px 20px; border-top: 1px solid var(--line-2); background: var(--bg-2); }
.drawer__note { font-size: 13px; color: var(--ink-2); }

/* поля */
.fld { display: grid; gap: 5px; }
.fld span { font-size: 13.5px; color: var(--ink-2); }
.fld input, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); outline: 0; transition: border-color .2s var(--ease); }
.fld textarea { min-height: 82px; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--blue); }
.fld.is-err input { border-color: #c33; }
.fld__err { display: none; font-size: 13px; color: #b42b2b; }
.fld.is-err .fld__err { display: block; }
.agree { font-size: 12.5px; color: var(--ink-3); }
.agree a { display: inline-block; padding-block: 7px; margin-block: -7px; text-decoration: underline; text-underline-offset: 2px; }

/* окно заявки */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s .3s; }
.modal.is-open { visibility: visible; transition: none; }
.modal__veil { position: absolute; inset: 0; background: rgba(var(--shade), .5); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-open .modal__veil { opacity: 1; }
.modal__box { position: relative; width: min(100%, 460px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: 26px; background: #fff; border-radius: var(--r-lg); opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease), transform .36s var(--ease); }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__x { position: absolute; right: 14px; top: 14px; }
.modal__box h2 { font-size: 24px; margin-bottom: 6px; padding-right: 44px; }
.modal__box > p { color: var(--ink-2); margin-bottom: 16px; }
.modal form { display: grid; gap: 10px; }
.modal__alt { text-align: center; font-size: 14.5px; }
.modal__alt a { color: #128c4b; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.done { display: none; padding: 20px 0 8px; }
.done b { display: block; font: 700 22px/1.2 var(--font-h); margin-bottom: 6px; }
.is-done form, .is-done .drawer__list { display: none; }
.is-done .done { display: block; }

/* плавающие кнопки */
.float-wa { position: fixed; left: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 26px -14px rgba(23, 33, 44, .55); transition: background-color .25s var(--ease); }
.float-wa:hover { background: #1ebe5b; }
/* Instagram над WhatsApp, как на прежнем сайте (просьба клиента 11.11) */
/* impeccable-disable-line low-contrast: мессенджеры в фирменных цветах, решение melen */
.float-ig { position: fixed; left: 30px; bottom: 110px; z-index: 50; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; box-shadow: 0 14px 26px -14px rgba(23, 33, 44, .55); transition: transform .25s var(--ease); }
.float-ig:hover { transform: scale(1.06); }
.float-ig .ic { width: 30px; height: 30px; }
.float-wa .ic { width: 40px; height: 40px; }
.float-up { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 12px 24px -12px rgba(23, 33, 44, .4); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.float-up.is-on { opacity: 1; pointer-events: auto; }
.float-up svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.float-up .ic { width: 16px; height: 16px; }

/* меню телефона: панели со сдвигом; на планшете две колонки без переходов «назад» */
.mnav { position: fixed; inset: 0; z-index: 110; background: #fff; visibility: hidden; transform: translateX(-102%); transition: transform .38s var(--ease), visibility 0s .38s; overflow: hidden; overscroll-behavior: contain; }
.mnav.is-open { visibility: visible; transform: none; transition: transform .38s var(--ease); }
.mnav__panel { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; transform: translateX(102%); transition: transform .32s var(--ease), visibility 0s .32s; visibility: hidden; }
.mnav__panel.is-root { transform: none; visibility: visible; transition: none; }
.mnav__panel.is-on { transform: none; visibility: visible; z-index: 2; transition: transform .32s var(--ease); }
.mnav__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line-2); }
.mnav__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 17px/1.2 var(--font-h); text-align: left; }
.mnav__back .ic { width: 14px; height: 14px; color: var(--blue); }
.mnav__body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 6px 16px calc(92px + env(safe-area-inset-bottom)); }
.mnav__tabs { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 12px 16px 4px; padding: 4px; background: var(--bg-2); border-radius: 13px; }
.mnav__tabs button { height: 42px; border-radius: 10px; font: 600 15.5px/1 var(--font-h); color: var(--ink-2); transition: background-color .2s var(--ease), color .2s var(--ease); }
.mnav__tabs button.is-on { background: #fff; color: var(--blue); }
.mrow { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 52px; padding: 8px 2px; border-bottom: 1px solid var(--line-2); text-align: left; font: 500 16px/1.3 var(--font-t); }
.mrow > .ic { width: 21px; height: 21px; color: var(--blue); flex: none; }
.mrow > .ic.arr { width: 12px; height: 12px; margin-left: auto; color: var(--ink-3); }
.mcontact { margin-top: 16px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.mcontact a { color: var(--blue); }
.mall { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin: 6px 0 10px; padding: 0 16px; background: var(--blue-l); color: var(--blue); border-radius: 13px; font: 600 15.5px/1 var(--font-h); }
.mall .ic { width: 14px; height: 14px; }
.mgroup { padding-bottom: 8px; }
.mgroup__t { display: block; padding: 12px 0 4px; font: 700 16px/1.25 var(--font-h); }
.mgroup li a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.3; color: var(--ink-2); }
.mtops__t { margin: 16px 0 8px; font: 700 16px/1.25 var(--font-h); }
.mtops { display: flex; gap: 10px; margin-inline: -16px; padding: 0 16px 6px; overflow-x: auto; scrollbar-width: none; }
.mtops::-webkit-scrollbar { display: none; }
.mtop { flex: 0 0 136px; display: grid; gap: 6px; align-content: start; padding: 8px 10px 10px; background: var(--bg-2); border-radius: 13px; font: 500 13.5px/1.3 var(--font-t); }
.mtop img { width: 100%; height: 96px; object-fit: contain; mix-blend-mode: multiply; }
.mbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line-2); }
.mbar__b { display: flex; align-items: center; justify-content: center; gap: 7px; height: 50px; border: 1.5px solid var(--line); border-radius: var(--r-btn); font: 600 14px/1 var(--font-h); color: var(--ink); }
.mbar__b .ic { width: 16px; height: 16px; color: var(--blue); }
.mbar__b--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.mbar__b--go { background: var(--blue); border-color: var(--blue); color: #fff; }
.mbar__b--wa .ic, .mbar__b--go .ic { color: #fff; }
@media (min-width: 640px) {
  .mnav__panel.is-root { right: auto; width: 340px; border-right: 1px solid var(--line-2); }
  .mnav__panel[data-mp] { left: 340px; transform: none; transition: none; }
  .mnav__rootx { display: none; }
  .mnav__back { pointer-events: none; font-size: 21px; }
  .mnav__back .ic { display: none; }
  .mrow.is-cur { color: var(--blue); }
  .mrow.is-cur::after { content: ""; }
  .mgroups { columns: 2; column-gap: 32px; }
  .mgroup { break-inside: avoid; }
  .mtops { margin-inline: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .mnav__body { padding-inline: 20px; }
  .mbar { left: auto; right: 0; width: calc(100% - 340px); }
  .mnav__panel.is-root .mnav__body { padding-bottom: 24px; }
}

/* сравнение */
.cmp { position: fixed; inset: 0; z-index: 125; visibility: hidden; transition: visibility 0s .36s; }
.cmp.is-open { visibility: visible; transition: none; }
.cmp__veil { position: absolute; inset: 0; background: rgba(var(--shade), .46); opacity: 0; transition: opacity .32s var(--ease); }
.cmp.is-open .cmp__veil { opacity: 1; }
.cmp__box { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 90dvh; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(102%); transition: transform .38s var(--ease); }
.cmp.is-open .cmp__box { transform: none; }
.cmp__head { display: flex; align-items: center; justify-content: space-between; width: min(100%, calc(var(--wrap) + var(--gut) * 2)); margin-inline: auto; padding: 14px var(--gut); }
.cmp__head h2 { font-size: 24px; }
.cmp__body { overflow: auto; overscroll-behavior: contain; width: min(100%, calc(var(--wrap) + var(--gut) * 2)); margin-inline: auto; padding: 0 var(--gut) calc(20px + env(safe-area-inset-bottom)); }
.cmp__empty { padding: 12px 0 28px; color: var(--ink-2); }
.cmp__empty b { display: block; font: 600 18px/1.3 var(--font-h); color: var(--ink); margin-bottom: 6px; }
.cmpt { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: calc(172px + var(--n) * 176px); }
.cmpt th, .cmpt td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; text-align: left; font-size: 14.5px; line-height: 1.4; }
.cmpt th { position: sticky; left: 0; z-index: 1; width: 172px; padding-left: 0; background: #fff; font-weight: 500; color: var(--ink-3); }
.cmpt__img { display: block; width: 100%; max-width: 136px; aspect-ratio: 1; object-fit: contain; margin-bottom: 6px; }
.cmpt__n { display: block; font: 600 15px/1.3 var(--font-h); color: var(--ink); }
.cmpt__del { display: inline-flex; align-items: center; min-height: 36px; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.cmpt .pcard__add { width: 100%; }
.cmpt tr.cmpt__g th { position: static; width: auto; padding: 22px 0 10px; font: 700 18px/1.3 var(--font-h); color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.cmpt__wait { margin-left: 10px; font: 500 13.5px/1 var(--font-t); color: var(--ink-3); }
.cmpt__no { color: var(--ink-3); }
.cmpt td { overflow-wrap: break-word; }
.cmpt__note { padding: 14px 0; color: var(--ink-2); }
.cmp__diff { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 6px; font-weight: 500; cursor: pointer; }
.cmp__diff input { width: 20px; height: 20px; accent-color: var(--blue); }
.cmp__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-weight: 600; color: var(--blue); }
.cmp__more .ic { width: 14px; height: 14px; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 140; width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 12px; font-size: 14.5px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; }
.iconbtn .ic { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .mega__tops { display: none; }
}
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid > .pcard:nth-child(6) { display: flex; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { padding: 10px 10px 12px; }
  .pcard__name { font-size: 14px; }
  .pcard__row { gap: 6px; }
  .pcard__add { padding: 0 6px; font-size: 13.5px; gap: 6px; }
  .pcard__cmp { width: 42px; }
  .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .sec__head { align-items: center; gap: 10px; margin-bottom: 16px; }
  .sec__head:has(.tabs) { flex-direction: column; align-items: flex-start; }
  .sec__head .more { flex: none; min-height: 38px; margin: 0; padding: 0 12px; gap: 6px; border-radius: 19px; background: var(--blue-l); font-size: 13.5px; }
  .sec__head .more .ic { width: 11px; height: 11px; }
  .foot__top { flex-direction: column; align-items: flex-start; }
  .foot__grid { grid-template-columns: 1fr; gap: 24px; }
  .foot__cols2 { column-gap: 14px; }
  .foot__base { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .foot__list a { overflow-wrap: anywhere; }
  .news { gap: 16px; }
  .band__row { gap: 44px; padding-right: 44px; }
  .band img { height: 36px; }
  .float-wa { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 68px; height: 68px; }
  .float-ig { left: 20px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .float-ig .ic { width: 28px; height: 28px; }
  .float-wa .ic { width: 36px; height: 36px; }
  .float-up { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .modal { place-items: end center; padding: 0; }
  .modal__box { width: 100%; max-height: 92dvh; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); }
  .tabs__btn { min-height: 44px; }
  .btns { flex-wrap: nowrap; }
  .band__c { width: 148px; height: 64px; }
  .band__c img { max-width: 86%; max-height: 54px; width: auto; }
  .cmpt { min-width: calc(104px + var(--n) * 144px); }
  .cmpt th { width: 104px; font-size: 13px; }
  .cmpt th, .cmpt td { padding: 8px 8px; font-size: 13.5px; }
  .cmpt th { padding-left: 0; }
  .cmpt .pcard__add { font-size: 13px; }
  .cmp__head h2 { font-size: 21px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
/* телефон горизонтально: плавающие кнопки меньше, высота экрана мала */
@media (max-height: 500px) {
  .float-wa { width: 56px; height: 56px; }
  .float-wa .ic { width: 30px; height: 30px; }
  .float-ig { left: 24px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .float-ig .ic { width: 24px; height: 24px; }
}
@media (max-width: 360px) {
  .mbar { gap: 6px; padding-inline: 10px; }
  .mbar__b { gap: 5px; font-size: 12.5px; }
  .mbar__b .ic { width: 14px; height: 14px; }
  .pcard__add .ic { display: none; }
}
/* подсказки поиска важнее плавающих кнопок */
@media (max-width: 1023px) {
  .float-wa, .float-ig { transition: opacity .2s var(--ease), background-color .25s var(--ease); }
  body:has(.search.is-open) .float-wa, body:has(.search.is-open) .float-ig, body:has(.search.is-open) .float-up { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* на касании наведение не должно залипать после тапа */
@media (hover: none) {
  .pcard:hover .pcard__img img, .news__item:hover img { transform: none; }
  .pcard:hover .pcard__name, .news__item:hover .news__t { color: inherit; }
  .btn:hover { --bg-b: var(--blue); }
  .btn--white:hover { --bg-b: #fff; }
  .btn:hover .ic, .more:hover .ic { transform: none; }
  .btn--line:hover { color: var(--ink); border-color: #c5ced8; }
}
