/* iENERGY — ienergy.com.ua
   Палітра бренду: графіт #18212B, синій #146EF5, зелений #20B95A, жовтий #FFC515. Шрифт Manrope. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  --green: #146EF5; --green-700: #0f57c7; --green-900: #18212B; --green-50: #eaf2fe;
  --yellow: #FFC515; --yellow-600: #e6ad00;
  --ink: #18212B; --muted: #5b6470; --line: #dde3ea; --paper: #f4f6f9; --white: #fff;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --blue: #146EF5; --brand-green: #20B95A;
  --radius: 10px;
  --header-h: 80px;
  --focus: #146EF5; /* кільце фокуса: синє на світлому (4,6:1 на білому), на темних блоках — жовте */
}
*, *::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: 400 16px/1.6 var(--font); color: var(--ink); background: var(--white); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--ink); overflow-wrap: break-word; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.accent { color: var(--green); }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* мітки розділів «[01] — ...» */
.label { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 .78rem/1.2 var(--font);
  letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.label b { font-weight: 600; color: var(--ink); }
.label--light, .label--light b, .calc__result .label b { color: var(--yellow); }
.section__head .label, .split .label { color: var(--green); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.5em; border-radius: var(--radius);
  border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-600); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-700); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: .6em 1em; font-size: .88rem; }
.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link-arrow:hover { color: var(--green); border-color: var(--green); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__logo { flex-shrink: 0; }
.header__logo img { width: 162px; height: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .93rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav__extra { display: none; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* перший екран головної */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(calc(100vh - var(--header-h)), 780px); }
.hero > * { min-width: 0; }
.hero__text { background: var(--paper); padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 64px) 48px max(16px, calc((100vw - 1240px) / 2));
  display: flex; flex-direction: column; justify-content: center; }
.hero__text h1 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); }
.hero__sub { font-size: 1.12rem; color: var(--muted); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 18px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 36px 0 0; padding: 0; list-style: none;
  font: 600 .74rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__photo { position: relative; background: var(--green-900) 74% 45%/cover no-repeat; color: #fff; display: flex; align-items: flex-end;
  padding: 40px clamp(20px, 4vw, 56px); }
.hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,33,43,.05) 30%, rgba(24,33,43,.85) 100%); }
.hero__caption { position: relative; }
.hero__caption p { margin: 0 0 6px; font: 600 .74rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.hero__caption strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }

/* смуга фактів */
.facts { background: var(--green-900); color: #fff; }
.facts__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item { padding: 30px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__item strong { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; color: var(--yellow); }
.facts__item span { color: #b9c3cf; font-size: .92rem; }

/* розділи */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--green-900); color: #d9e0e8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 40px 0 64px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split > * { min-width: 0; }
.section__head { max-width: 820px; margin-bottom: 44px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.big-text { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }

.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillars em { grid-row: span 2; font: 600 .8rem var(--font); font-style: normal; color: var(--green); padding-top: 4px; }
.pillars strong { font-size: 1.15rem; font-weight: 700; }
.pillars span { color: var(--muted); }

/* плитки-посилання */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 22px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: background .2s, border-color .2s; }
.tile:hover { border-color: var(--green); }
.tile:hover { background: var(--green-50); }
.tile small { font: 600 .72rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.tile strong { font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.tile span { color: var(--muted); font-size: .9rem; margin-top: auto; }
.tile--dark { background: var(--green-900); color: #fff; }
.tile--dark:hover { background: var(--green-700); }
.tile--dark span { color: #b9c3cf; }
.tile--dark small { color: var(--yellow); }

/* картки товарів */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.pgrid > * { min-width: 0; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s; }
.pcard:hover { border-color: var(--green); transform: translateY(-2px); }
.pcard__img { display: grid; place-items: center; height: 230px; padding: 20px; background: var(--paper); }
.pcard__img img { max-height: 190px; width: auto; object-fit: contain; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pcard__cat { margin: 0 0 6px; font: 600 .72rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pcard h3 { margin-bottom: .3em; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard__sub { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.pcard__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pcard--cta { background: var(--green-900); color: #d9e0e8; border-color: var(--green-900); }
.pcard--cta h3 { color: #fff; }
.pcard--cta .pcard__cat { color: var(--yellow); }
.pcard--cta .pcard__sub { color: #b9c3cf; }

.chips { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: .28em .7em; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink); background: #fff; }
.price { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.price small { font-size: .75rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price--req { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price--big { font-size: 2.2rem; }
.price--req.price--big { font-size: 1.3rem; }

/* приклад комплекту */
.example { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  margin-top: 28px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.example b { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.example span { color: var(--muted); font-size: .85rem; }
.example i { font-style: normal; color: var(--green); font-size: 1.4rem; }
.example__note { flex-basis: 100%; margin: 0; font-size: .82rem; color: var(--muted); }

/* калькулятор */
.calc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.calc > * { min-width: 0; }
.calc__form { padding: clamp(20px, 3vw, 40px); }
.calc__form h3 { margin-bottom: 14px; }
.calc__list { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.calc__list li { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.calc__list label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.calc__list input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--green); }
.calc__w { display: flex; align-items: center; gap: 6px; }
.calc__w input { width: 76px; padding: .45em .5em; border: 1px solid var(--line); border-radius: 4px; font: inherit; text-align: right; }
.calc__w span { color: var(--muted); font-size: .85rem; }
.calc__hours { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.calc__hours legend { width: 100%; margin-bottom: 10px; font-weight: 600; }
.calc__hours label { position: relative; }
.calc__hours input { position: absolute; opacity: 0; }
.calc__hours span { display: inline-block; padding: .6em 1.1em; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.calc__hours input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.calc__hours input:focus-visible + span { outline: 3px solid var(--yellow); }
.calc__note { font-size: .8rem; color: var(--muted); margin: 0; }
.calc__result { background: var(--green-900); color: #d9e0e8; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; }
.calc__result .label { color: var(--yellow); }
.calc__big { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.calc__big b { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -.05em; color: #fff; line-height: 1; }
.calc__big span { font-size: .85rem; color: #b9c3cf; }
.calc__rows { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid rgba(255,255,255,.14); }
.calc__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .92rem; }
.calc__rows b { color: #fff; font-weight: 600; }
.calc__rec { margin: 0 0 18px; padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.06); font-size: .95rem; }
.calc__rec a { color: var(--yellow); }
.calc__result .btn { margin-top: auto; }

/* конфігурації автономності */
.configs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.config { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.config:hover { border-color: var(--green); transform: translateY(-2px); }
.config strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.config em { font-style: normal; font-size: 1.05rem; font-weight: 600; color: var(--green); }
.config span { color: var(--muted); font-size: .86rem; }
.config--current { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }

/* кроки */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.16); }
.steps li { counter-increment: s; padding: 24px 22px 8px 0; }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 18px; font: 600 .8rem var(--font); letter-spacing: .12em; color: var(--yellow); }
.steps h3 { font-size: 1.1rem; }
.steps p { color: #b9c3cf; font-size: .95rem; }

/* списки */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 20px; max-width: 60em; }

/* внутрішні сторінки */
.page-hero { background: var(--paper); padding: 36px 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-bottom: 26px; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a9b3be; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.list-h2 { margin: 56px 0 22px; font-size: clamp(1.5rem, 2.6vw, 2rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; }
.list-h2 a { font-size: .95rem; letter-spacing: 0; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose h2 { margin-top: 1.4em; }

/* сторінка товару */
.product { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.product > * { min-width: 0; }
.product__media { display: grid; place-items: center; min-height: 460px; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.product__media img { max-height: 480px; width: auto; object-fit: contain; }
.product__media figcaption { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; }
.product__title { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: .2em; }
.product__sub { font-size: 1.1rem; color: var(--muted); }
.product__buy { margin: 24px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.product__note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.specs { width: 100%; border-collapse: collapse; font-size: .93rem; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.specs th { width: 50%; font-weight: 400; color: var(--muted); }
/* довгі значення без пробілів (напр. «GPRS/WIFI/Bluetooth/4G/LAN(опціонально)») переносяться, а не розпирають таблицю на телефоні */
.specs td { overflow-wrap: anywhere; }
.doc-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.doc-link::before { content: "PDF"; padding: 4px 6px; border-radius: 3px; background: var(--green); color: #fff; font-size: .7rem; }
.doc-link:hover { color: var(--green); }
.note-small { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* заявка */
.request { background: var(--green-900); color: #d9e0e8; }
.request h2 { color: #fff; }
.request__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.request__inner > * { min-width: 0; }
.request__contacts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.request__contacts span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9eabb9; }
.request__contacts a { color: #fff; font-size: 1.35rem; text-decoration: none; letter-spacing: -.02em; }
.request__contacts a:hover { color: var(--yellow); }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form__row { display: grid; gap: 6px; }
.form__row--wide { grid-column: 1 / -1; }
.form label { font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; padding: .8em .9em; border: 1px solid #b9c3cf; border-radius: 4px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,110,245,.15); }
.form textarea { resize: vertical; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .85rem; font-weight: 400 !important; color: var(--muted); }
.form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.form__context { display: none; margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--yellow); background: var(--paper); font-size: .86rem; white-space: pre-line; }
.form__context.is-visible { display: block; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; }
.form__status { margin: 12px 0 0; font-weight: 600; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: #b42318; }
.form .is-invalid { border-color: #b42318; }

/* підвал */
.footer { background: #18212B; color: #9eabb9; padding: 56px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 220px; max-width: 100%; height: auto; }
.footer__brand p { margin-top: 14px; }
.footer h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #c9d2dc; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.fab { display: none; position: fixed; right: 14px; bottom: 14px; z-index: 60; padding: .9em 1.2em; border-radius: 999px; background: var(--yellow);
  color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.22); }

/* адаптив */
@media (max-width: 1180px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 18px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__extra { display: block; color: var(--green) !important; font-weight: 700; border-bottom: 0 !important; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__text { padding: 40px 16px; }
  .hero__photo { min-height: 320px; }
  .facts__inner { grid-template-columns: 1fr 1fr; }
  .facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .split, .calc, .product, .request__inner { grid-template-columns: 1fr; }
  .product__media { min-height: 300px; }
  .fab { display: inline-block; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .header__logo img { width: 150px; }
  .header__inner { gap: 12px; }
  .steps, .ticks--2, .form__grid, .footer__grid { grid-template-columns: 1fr; }
  .calc__list li { grid-template-columns: 1fr 96px; }
  .calc__w input { width: 64px; }
  .hero__actions .btn { width: 100%; }
  .product__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* =================== елементи за зразком 3dbeton.com.ua =================== */
.noscroll, .noscroll body { overflow: hidden; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar__r { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--green); }
.cartbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-left: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); flex-shrink: 0; }
.cartbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cartbtn:hover { border-color: var(--green); color: var(--green); }
.ccount { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--green); color: #fff; font: 700 .72rem/20px var(--font); text-align: center; }
.vfab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; padding: .85em 1.3em; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.vfab:hover { background: var(--green-700); }
@media (max-width: 900px) { .vfab { display: inline-block; } }

/* вікно «Товар додано в кошик» */
.cdlg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(16, 22, 30, .55); }
.cdlg[hidden] { display: none; }
.cdlg__box { position: relative; width: min(460px, 100%); padding: 28px; border-radius: 12px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.cdlg__x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); }
.cdlg__t { margin: 0 0 16px; font-weight: 700; color: var(--green); }
.citem { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.citem img { width: 80px; height: 80px; object-fit: contain; background: var(--paper); border-radius: 8px; padding: 6px; }
.citem b { display: block; }
.citem span { color: var(--muted); font-size: .92rem; }
.cdlg__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* сторінка товару */
.pp { padding: 24px 0 56px; }
.pp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.pp__grid > * { min-width: 0; }
.pp__zoom { display: grid; place-items: center; min-height: 460px; padding: 32px; border-radius: 14px; background: var(--paper); cursor: zoom-in; }
.pp__zoom img { max-height: 480px; width: auto; object-fit: contain; }
.pp__cap { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.pp__info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.03em; line-height: 1.12; }
.pp__lead { font-size: 1.1rem; color: var(--muted); }
.pp__price { display: grid; gap: 8px; justify-items: start; margin: 20px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.pp__lbl { font-size: .85rem; color: var(--muted); }
.pp__val { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; color: var(--green); letter-spacing: -.02em; }
.pp__val--req { color: var(--ink); }
/* Статус наявності: зрозумілий з тексту, кольорова позначка лише підсилює */
.stock { display: grid; gap: 3px; margin: 0; line-height: 1.4; }
.stock b { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 700; color: var(--ink); }
.stock b::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-green); }
.stock--order b::before { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow-600); }
.stock--ask b::before { background: #fff; box-shadow: inset 0 0 0 2px var(--blue, #146EF5); }
.stock--wait b::before { background: #fff; box-shadow: inset 0 0 0 2px var(--yellow-600); }   /* «Очікується» — прайс власника 17.10.2026 */
.stock--out b::before { background: #D64545; }
.stock__note { font-size: .88rem; color: var(--muted); }
.pcard .stock { margin-top: -2px; }
.pp__price p { margin: 0; font-size: .9rem; color: var(--muted); }
.pp__link { font-size: .92rem; color: var(--green); }
.pp__pill { margin-top: 4px; padding: .35em .8em; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8rem; color: var(--muted); }
.pp__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pp__btns .btn { padding: .9em 1.3em; }
.pp__params { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-size: .95rem; }
.pp__params th, .pp__params td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pp__params th { width: 45%; font-weight: 400; color: var(--muted); border-right: 1px solid var(--line); }
.pp__docs { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.pp__docs .doc-link { margin-top: 0; }
.pp__about p { font-size: 1.05rem; }
.pp__about h2 { font-size: 1.5rem; margin-top: 1.2em; }
.caps { text-transform: uppercase; letter-spacing: -.02em; }
.specs--full { max-width: 900px; }
.specs--full th { width: 55%; }

/* шапка категорій: цифри та розділи */
.nums { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 8px 0 22px; }
.nums b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.nums span { font-size: .85rem; color: var(--muted); }
.catchips { display: flex; flex-wrap: wrap; gap: 8px; }
.catchips a { padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; }
.catchips a:hover, .catchips a[aria-current="page"] { border-color: var(--green); background: var(--green); color: #fff; }
.price { color: var(--green); }
.price--req { color: var(--muted); }

/* кошик */
.cart__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; margin-top: 12px; }
.cart__grid > * { min-width: 0; }
.cstep { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; }
.cstep span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1rem; letter-spacing: 0; }
.crow { display: grid; grid-template-columns: 80px 1fr auto auto 32px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cimg img { width: 80px; height: 80px; object-fit: contain; background: var(--paper); border-radius: 8px; padding: 6px; }
.cinfo { display: grid; gap: 4px; }
.cn { color: var(--ink); font-weight: 600; text-decoration: none; }
.cp { font-size: .88rem; color: var(--muted); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 34px; border: 0; background: var(--paper); font-size: 1.1rem; cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; font: inherit; }
.cs { font-weight: 700; white-space: nowrap; }
.crm { border: 0; background: none; font-size: 1.4rem; color: var(--muted); cursor: pointer; }
.csum { margin: 18px 0 4px; font-size: 1.2rem; }
.csum b { color: var(--green); }
.cart__grid .form { border: 1px solid var(--line); }
.cart__grid .form__row { margin-bottom: 12px; }
.csteps { margin-top: 40px; padding: 24px; border-radius: 12px; background: var(--paper); }
.csteps ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); }
.cdone { padding: 32px 0; }
.cdone__ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; }

/* контакти, прайс */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cgrid--5 { grid-template-columns: repeat(5, 1fr); }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); }
.big-link a { font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.big-link a:hover { color: var(--green); }
.dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 8px; }
.dlrow { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.dlrow:hover { border-color: var(--green); }
.dlrow b { font-size: 1.25rem; }
.dl__k { font-size: .8rem; color: var(--muted); }
.dlrow span:last-child { color: var(--green); font-weight: 600; }
.tscroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.price-table th, .price-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { background: var(--paper); font-weight: 600; }
.price-table td.num { white-space: nowrap; font-weight: 700; color: var(--green); }
.price-table a { color: var(--ink); font-weight: 600; }
.request__note { margin-top: 18px; font-size: .88rem; color: #9eabb9; }
.calc__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.form__status.is-wait { color: var(--muted); }
.form [aria-invalid="true"] { border-color: #b42318; }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(16, 22, 30, .92); }
.lb[hidden] { display: none; }
.lb img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; background: #fff; border-radius: 8px; padding: 16px; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lbx { top: 16px; right: 16px; } .lbp { left: 16px; } .lbn { right: 16px; }
.lbc { position: absolute; bottom: 16px; color: #fff; font-size: .9rem; }

@media (max-width: 1180px) { .cartbtn { margin-left: auto; } .burger { margin-left: 4px; } }
@media (max-width: 900px) {
  .pp__grid, .cart__grid { grid-template-columns: 1fr; }
  .pp__zoom { min-height: 300px; }
  .cgrid, .cgrid--5, .dl { grid-template-columns: 1fr; }
  .topbar__inner > span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .fab { display: none !important; }
}
@media (max-width: 640px) {
  .topbar__r > a:nth-child(n+3) { display: none; }
  .topbar__r { gap: 12px; align-items: center; }
  /* мови завжди окремим рядком: висота верхньої смуги не залежить від того, чи вже завантажився шрифт (інакше CLS) */
  .topbar__r .langs { flex-basis: 100%; }
  .crow { grid-template-columns: 64px 1fr 32px; }
  .crow .qty { grid-column: 2; }
  .crow .cs { grid-column: 2; }
  .crow .crm { grid-row: 1; grid-column: 3; }
  .cimg img { width: 64px; height: 64px; }
  .pp__btns .btn { width: 100%; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .price-table td { border: 0; padding: 2px 0; }
  .vfab { padding: .75em 1.1em; }
}
/* блог */
.post h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.post__body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.post__body p { color: var(--ink); font-size: 1.07rem; }
.post__body .ticks { margin: 0 0 1.2em; }
.post__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; padding: 22px; border-radius: 12px; background: var(--paper); }
.post__cta p { flex-basis: 100%; margin: 0; font-weight: 600; color: var(--ink) !important; }
.post__more { padding-left: 1.2em; display: grid; gap: 8px; }
.tiles--posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-tile span { margin-top: 8px; }
.footer__brand a { color: #c9d2dc; }
.topbar a { text-decoration: none; }
/* перемикач мов */
.langs { display: inline-flex; gap: 2px; }
.langs a { padding: 2px 7px; border-radius: 6px; color: var(--muted) !important; font-weight: 600; text-decoration: none; }
.langs a.on { background: var(--green-50); color: var(--green) !important; }
.footer .langs a { color: #c9d2dc !important; }
.footer .langs a.on { background: rgba(255,255,255,.1); color: #fff !important; }

/* ---- Аудит 08.10.2026 (AUDIT.md) ---- */
/* C1: кнопка меню не стискається до нуля на мобільному */
.burger { flex: 0 0 44px; }
.header__logo { min-width: 0; flex-shrink: 1; }
.header__logo picture { display: block; }
.header__logo img { max-width: 100%; }
/* доступність */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--ink); font-weight: 700; border-radius: 6px; }
.skip-link:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer__h { margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; }
.footer__bottom a { color: inherit; text-decoration: underline; }
.form__consent a { color: inherit; text-decoration: underline; }
/* H5: LCP-зображення як <img srcset> замість CSS-фону */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 45%; z-index: 0; }
.hero__photo::before { z-index: 1; }
.hero__caption { z-index: 2; }
/* H8: перший екран — консультація, телефон, вибір сценарію */
.hero__call { margin: 14px 0 0; color: var(--muted); font-size: .98rem; }
.hero__call a[href^="tel:"] { color: var(--ink); font-weight: 700; text-decoration: none; }
.hero__paths { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__paths a { padding: 9px 16px; border: 1px solid var(--line, #d7dde4); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.hero__paths a:hover { border-color: var(--green); color: var(--green); }
/* H9: блок довіри */
.cgrid.trust { grid-template-columns: repeat(4, 1fr); }
.cgrid.trust .card { display: flex; flex-direction: column; }
.cgrid.trust .link-arrow { margin-top: auto; padding-top: 10px; }
@media (max-width: 900px) { .cgrid.trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cgrid.trust { grid-template-columns: 1fr; } .hero__actions .btn--line { width: 100%; } .hero__paths a { flex: 1 1 auto; text-align: center; } }
.vfab { transition: opacity .2s, transform .2s; }
.vfab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
/* вузькі екрани (320 px): поля форми й довгі адреси не розпирають сторінку */
.form__grid > *, .form__row { min-width: 0; }
.form select, .form input, .form textarea { max-width: 100%; min-width: 0; }
.big-link, .request__contacts a, .footer__brand a { overflow-wrap: anywhere; }
.label { overflow-wrap: anywhere; }
@media (max-width: 400px) { .label { letter-spacing: .08em; } .calc__w input { width: 58px; } .calc__list li { gap: 6px; } }

/* ---------- калькулятор окупності СЕС (/kalkuliator-okupnosti-ses/) ---------- */
.ses { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.ses > * { min-width: 0; }
.ses__h { font-weight: 700; margin: 0 0 10px; }
.ses-map { position: sticky; top: calc(var(--header-h) + 16px); background: var(--paper); border-radius: var(--radius); padding: 18px; }
.ses-map__svg { width: 100%; height: auto; display: block; }
.ses-map__svg path { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .15s, opacity .15s; }
.ses-map__svg path:hover { opacity: .8; }
.ses-map__svg path.is-on { fill: var(--green); }
.ses-map__legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); }
.ses-map__legend span { width: 18px; height: 12px; border-radius: 2px; display: inline-block; }
.ses-map__legend i { flex: 0 0 18px; height: 2px; background: var(--line); }
.ses-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.ses-field { margin: 0 0 16px; padding: 0; border: 0; }
.ses-field > label, .ses-field legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.ses-field select, .ses-unit input { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.ses-unit { display: flex; align-items: center; gap: 10px; }
.ses-unit input { flex: 1; min-width: 0; }
.ses-unit span { flex: 0 0 auto; color: var(--muted); font-size: 14px; }
.ses-orient { display: flex; flex-wrap: wrap; gap: 8px; }
.ses-orient legend { width: 100%; }
.ses-orient label { cursor: pointer; }
.ses-orient input { position: absolute; opacity: 0; }
.ses-orient span { display: inline-block; padding: 8px 13px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; }
.ses-orient input:checked + span { border-color: var(--green); background: var(--green-50); color: var(--green-700); font-weight: 700; }
.ses-orient input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ses-note { font-size: 13px; color: var(--muted); margin: -4px 0 16px; }
.ses-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.ses-res > div { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 14px 12px; }
.ses-res span { display: block; font-size: 12.5px; opacity: .8; line-height: 1.3; min-height: 2.6em; }
.ses-res b { display: block; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; margin-top: 6px; color: var(--yellow); white-space: nowrap; }
.ses-res small { font-size: 13px; opacity: .85; }
.ses-chart { margin: 0 0 16px; }
.ses-chart figcaption { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.ses-chart ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 110px; }
.ses-chart li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.ses-bar { width: 100%; background: linear-gradient(var(--yellow), #e69100); border-radius: 3px 3px 0 0; transition: height .3s; min-height: 2px; }
.ses-chart small { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.ses-warn { font-size: 13px; color: var(--muted); background: var(--paper); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 16px; }
.ses-cta { width: 100%; text-align: center; }
@media (max-width: 900px) {
  .ses { grid-template-columns: 1fr; }
  .ses-map { position: static; padding: 12px; }
}
@media (max-width: 480px) {
  .ses-res { grid-template-columns: 1fr; }
  .ses-res span { min-height: 0; }
  .ses-form { padding: 16px; }
}
.ses-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-radius: var(--radius); background: var(--green-900); color: #fff; }
.ses-promo h2 { color: #fff; margin: 4px 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.ses-promo p { margin: 0; opacity: .85; }
.ses-promo .label { color: var(--yellow); opacity: 1; }
@media (max-width: 700px) { .ses-promo { flex-direction: column; align-items: flex-start; } }
.ses-map__src { font-size: 11px; color: var(--muted); margin: 6px 0 0; }

/* кнопка BESS-калькулятора у верхньому рядку шапки */
.topbar__bess { background: var(--yellow); color: var(--ink) !important; font-weight: 700; padding: 3px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.topbar__bess:hover { background: var(--yellow-600); }

/* кнопка BESS-калькулятора в першому екрані головної */
.hero__call { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero__bess::before { content: "⚡"; margin-right: 8px; }
@media (max-width: 640px) { .hero__bess { width: 100%; } }

/* ---------- порівняння товарів і фільтри розділів ---------- */
.cmpbtn { margin-top: 10px; width: 100%; padding: 7px 10px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; }
.cmpbtn:hover { border-color: var(--green); color: var(--green); }
.cmpbtn.is-on { border-style: solid; border-color: var(--green); background: var(--green-50); color: var(--green-700); font-weight: 700; }
.pp__btns .cmpbtn { width: auto; margin-top: 0; }
.pcard[hidden], .list-h2[hidden], .pgrid[hidden] { display: none !important; }

/* ---------- Порівняння: кнопка в шапці, сповіщення, сторінка /porivnyannya/ (compare.js, compare-page.js) ---------- */
.cmpnav { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; margin-left: 12px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; flex-shrink: 0; }
.cmpnav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmpnav:hover { border-color: var(--green); color: var(--green); }
.cmpnav.is-on { border-color: var(--green); background: var(--green-50); color: var(--green-700); }
.cmpnav__t { display: none; }
.cmpnav__n { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--yellow); color: var(--ink); font: 700 .74rem/20px var(--font); text-align: center; }
.cmpnav__n[hidden] { display: none; }
.cmpnav.bump .cmpnav__n { animation: cmpbump .45s; }
@keyframes cmpbump { 0% { transform: scale(1); } 40% { transform: scale(1.55); } 100% { transform: scale(1); } }
@media (max-width: 1180px) { .cmpnav { margin-left: auto; } .cmpnav + .cartbtn { margin-left: 8px; } }
.cmptoast { position: fixed; top: calc(var(--header-h) + 10px); right: 16px; z-index: 80; display: flex; align-items: center; gap: 14px; max-width: min(380px, calc(100vw - 24px)); padding: 12px 16px; border-radius: 10px; background: var(--green-900); color: #fff; font-size: .92rem; line-height: 1.3; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.cmptoast[hidden] { display: none; }
.cmptoast a { flex-shrink: 0; color: var(--yellow); font-weight: 700; text-decoration: none; white-space: nowrap; }
.cmpc__bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.cmpc__seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.cmpc__seg button { border: 0; border-right: 1px solid var(--line); background: #fff; padding: 10px 18px; font: inherit; font-size: .92rem; color: var(--ink); cursor: pointer; }
.cmpc__seg button:last-child { border-right: 0; }
.cmpc__seg button.on { background: var(--green); color: #fff; font-weight: 700; }
.cmpc__opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cmpc__clear { border: 0; background: none; color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.cmpc__clear:hover { color: var(--green); }
.cmpc__sum { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.cmpc__sum li { padding: 6px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: .88rem; }
.cmpc__scroll { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cmp-t { table-layout: fixed; border-collapse: separate; border-spacing: 0; width: 100%; font-size: .92rem; }
.cmp-t th, .cmp-t td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.cmp-t thead th { background: #fff; padding: 12px; vertical-align: top; }
.cmp-t .cmp-l { width: 190px; background: var(--paper); color: var(--muted); font-weight: 600; font-size: .88rem; }
.cmp-t tbody tr:last-child th, .cmp-t tbody tr:last-child td { border-bottom: 0; }
.cmp-h { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: start; padding-right: 20px; }
.cmp-h img { width: 56px; height: 56px; padding: 4px; border-radius: 8px; background: var(--paper); object-fit: contain; }
.cmp-h a { text-decoration: none; }
.cmp-h b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-size: .92rem; line-height: 1.25; }
.cmp-cat { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; font-weight: 400; }
.cmp-price { display: block; margin-top: 4px; color: var(--green); font-size: .9rem; font-weight: 700; }
.cmp-ask { display: inline-block; margin-top: 8px; color: var(--green); font-size: .85rem; font-weight: 600; }
.cmp-rm { position: absolute; top: -4px; right: -8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--paper); font-size: 18px; line-height: 1; cursor: pointer; }
.cmp-rm:hover { background: #fde3e3; }
.cmp-diff { display: flex; gap: 6px; align-items: center; font-weight: 400; font-size: .85rem; }
.cmp-t tr.cmp-sec th { background: var(--green-50); color: var(--green-900); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.cmp-t tr.cmp-d td { background: #fff8db; }
.cmp-t td.cmp-best { background: #e6f7ed; color: #0f57c7; font-weight: 700; }
.cmp-na { color: var(--muted); }
.cmp-empty { padding: 30px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.cmp-empty__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0 0; }
@media (min-width: 1101px) { .cmp-t thead th { position: sticky; top: var(--header-h); z-index: 3; box-shadow: 0 1px 0 var(--line); } }
@media (max-width: 1100px) {
  .cmpc__scroll { overflow-x: auto; }
  .cmp-t { min-width: 600px; }
  .cmp-t .cmp-l { position: sticky; left: 0; z-index: 2; width: 128px; box-shadow: 1px 0 0 var(--line); }
  .cmp-t thead .cmp-l { z-index: 4; }
}
@media (max-width: 640px) {
  .cmptoast { left: 12px; right: 12px; max-width: none; }
  .cmpc__seg { width: 100%; } .cmpc__seg button { flex: 1 1 0; padding: 10px 6px; font-size: .86rem; }
  .cmp-t { min-width: 560px; font-size: .86rem; }
  .cmp-t th, .cmp-t td { padding: 8px 8px; }
  .cmp-t .cmp-l { width: 108px; font-size: .8rem; }
  .cmp-h { grid-template-columns: 1fr; padding-right: 16px; } .cmp-h img { width: 44px; height: 44px; }
}

/* фото на інформаційних сторінках */
.pagepic { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--paper, #f3f2ee); }
.pagepic--wide { margin: 22px 0 28px; }
.split .pagepic { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.pagepic--side { margin-top: 24px; max-height: 460px; object-fit: cover; }
.picgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.picgrid figure { margin: 0; }
.picgrid .pagepic { aspect-ratio: 4 / 3; object-fit: cover; }
.picgrid figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted, #5b6470); }
@media (max-width: 900px) { .picgrid { grid-template-columns: 1fr; } }
.facts__note { margin: 10px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.objcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.objcard { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.objcard .pagepic { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.objcard:hover .pagepic { transform: translateY(-3px); }
.objcard strong { font-size: 1.15rem; margin-top: 6px; }
.objcard span { color: var(--muted, #5b6470); font-size: .95rem; }
@media (max-width: 1000px) { .objcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .objcards { grid-template-columns: 1fr; } }
/* три плитки — на всю ширину рядка */
.tiles:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .tiles:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; } }
/* відео на першому екрані (якщо є файл): поверх фото, лише на широких екранах */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: none; }
.hero__photo.has-video .hero__video { display: block; }
.hero__photo.has-video .hero__img { visibility: hidden; }

/* ========== головна (hp-): технологічний інженерний стиль, Deep Blue + Slate + Amber ========== */
.hp {
  --hp-blue: #0b2a6f; --hp-blue-700: #0a2259; --hp-blue-50: #eef3fb; --hp-blue-100: #dbe6f7;
  --hp-slate: #1e293b; --hp-slate-700: #334155; --hp-slate-500: #475569; --hp-line: #cfd9e8;
  --hp-amber: #FFC515; --hp-amber-600: #e6ad00; --hp-ink: #0b1b3f;
  color: var(--hp-ink);
}
.hp h1, .hp h2, .hp h3 { color: inherit; letter-spacing: -.03em; font-weight: 600; line-height: 1.12; }
.hp a:focus-visible, .hp-btn:focus-visible { outline: 3px solid var(--hp-blue); outline-offset: 3px; }
.hp-hero a:focus-visible, .hp-card--b2b a:focus-visible, .hp-trust a:focus-visible { outline-color: var(--hp-amber); }

/* hero */
.hp-hero { position: relative; background: var(--hp-blue); color: #fff; overflow: hidden; }
.hp-hero::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 100%); mask-image: linear-gradient(100deg, transparent 20%, #000 100%); }
.hp-hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 197, 21, .22), transparent 68%); }
.hp-hero__inner { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 112px); }
.hp-hero h1 { max-width: 20ch; margin: 0 0 24px; font-size: clamp(2rem, 4.6vw, 3.6rem); color: #fff; }
.hp-hero__sub { max-width: 46em; margin: 0; font-size: clamp(1.02rem, 1.5vw, 1.25rem); line-height: 1.6; color: #dbe6f7; }

/* вибір сценарію */
.hp-split { padding-block: clamp(32px, 5vw, 64px); background: var(--hp-blue-50); }
.hp-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); }
.hp-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; border: 1px solid var(--hp-line); background: #fff; box-shadow: 0 1px 2px rgba(11, 27, 63, .06); }
.hp-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--hp-blue-100); }
.hp-card .hp-card__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: 0; box-shadow: none; display: block; }
.hp-card__body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: clamp(20px, 3vw, 32px); }
.hp-card h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.hp-card p { margin: 0; line-height: 1.55; }
.hp-card strong { font-weight: 700; }
.hp-card .hp-btn { margin-top: auto; align-self: flex-start; }
.hp-card--b2b { background: var(--hp-slate); border-color: #0f172a; color: #e6edf7; }
.hp-card--b2b h3 { color: #fff; }
.hp-card--b2b strong { color: #fff; }
.hp-card--b2b .hp-card__media { filter: grayscale(.25) contrast(1.05); }
.hp-card--b2c { background: #fff; color: var(--hp-ink); }
.hp-card--b2c .hp-card__body { background: linear-gradient(180deg, #fff, var(--hp-blue-50)); }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8em 1.5em; border-radius: 6px; border: 2px solid transparent;
  background: var(--hp-amber); color: var(--hp-ink); font-weight: 700; text-decoration: none; transition: background-color .15s, transform .15s; }
.hp-btn:hover { background: var(--hp-amber-600); }
.hp-btn:active { transform: translateY(1px); }

/* переваги за сегментами */
.hp-adv { padding-block: clamp(48px, 7vw, 96px); background: #fff; }
.hp-adv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.hp-adv__col h3 { margin: 0 0 12px; padding-bottom: 12px; font-size: clamp(1.5rem, 2.4vw, 2rem); border-bottom: 3px solid var(--hp-blue); }
.hp-adv__col--b2b h3 { border-color: var(--hp-slate); }
.hp-adv__lead { margin: 0 0 24px; color: var(--hp-slate-500); line-height: 1.6; }
.hp-adv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hp-adv__item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--hp-line); border-radius: 8px; background: var(--hp-blue-50); }
.hp-adv__item p { margin: 0; line-height: 1.5; }
.hp-adv__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: #fff; border: 1px solid var(--hp-line); font-size: 1.35rem; line-height: 1; }

/* інженерний підхід */
.hp-trust { padding-block: clamp(48px, 7vw, 96px); background: var(--hp-slate); color: #e6edf7; }
.hp-trust h2 { margin: 0 0 32px; font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; }
.hp-trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.hp-trust__item { padding: 24px; border-radius: 8px; border: 1px solid #3b4a63; background: #243146; }
.hp-trust__n { display: block; margin-bottom: 14px; color: var(--hp-amber); font-weight: 700; font-size: .95rem; letter-spacing: .12em; }
.hp-trust__item p { margin: 0; line-height: 1.6; }
.hp-trust__item strong { display: block; margin-bottom: 8px; color: #fff; font-size: 1.1rem; }

@media (max-width: 900px) {
  .hp-split__grid, .hp-adv__grid, .hp-trust__list { grid-template-columns: 1fr; }
  .hp-hero h1 { max-width: none; }
  .hp-btn { width: 100%; align-self: stretch !important; }
}
@media (prefers-reduced-motion: reduce) { .hp-btn { transition: none; } .hp-btn:active { transform: none; } }

/* форма заявки на головній — у палітрі головної */
.hp-req .request { background: #0b2a6f; }
.hp-req .request .label, .hp-req .request .label b { color: #FFC515; }

/* ===== головна iENERGY (затверджені тексти), класи ie- ===== */
.ie-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.ie-eyebrow::before { content: ""; width: 18px; height: 10px; background: var(--yellow); transform: skewX(-30deg); }
.ie-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ie-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .9em 1.6em; border-radius: 12px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.ie-btn--primary { background: var(--blue); color: #fff; }
.ie-btn--primary:hover { background: #0f57c7; }
.ie-btn--ghost { border-color: var(--ink); color: var(--ink); }
.ie-btn--ghost:hover { background: var(--ink); color: #fff; }
.ie-hero { padding: clamp(36px, 6vw, 84px) 0 clamp(44px, 6vw, 76px); position: relative; overflow: hidden; }
.ie-hero::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; background: #eef3fb; transform: rotate(30deg) skewX(-10deg); border-radius: 40px; z-index: -1; }
.ie-hero__grid, .ie-seg__grid { display: grid; gap: clamp(24px, 5vw, 72px); }
.ie-hero__grid > *, .ie-seg__grid > * { min-width: 0; }
.ie-hero__grid { grid-template-columns: 1.4fr 1fr; align-items: end; }
.ie-hero h1 { margin-bottom: .35em; font-size: clamp(2.35rem, 4.2vw, 4rem); line-height: 1.05; hyphens: auto; }
.ie-hero__sub { margin: 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; color: var(--muted); }
.ie-hero__text p, .ie-seg__copy p { font-size: 1.08rem; color: #333f4b; }
.ie-hero__media { margin: clamp(32px, 5vw, 56px) 0 0; border-radius: 20px; overflow: hidden; background: #18212B; aspect-ratio: 1024/560; }
.ie-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ie-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ie-facts li { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.ie-facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.ie-facts b { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ie-facts li:nth-child(1) b { color: var(--blue); }
.ie-facts li:nth-child(2) b { color: var(--brand-green); }
.ie-facts span { color: var(--muted); font-size: .95rem; }
.ie-seg { padding: clamp(56px, 8vw, 110px) 0; overflow: hidden; }
.ie-seg--alt { background: #f4f6f9; }
.ie-seg__grid { grid-template-columns: 1fr 1fr; align-items: center; }
.ie-seg__grid--rev .ie-seg__media { order: 2; }
.ie-seg__media { position: relative; }
.ie-seg__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 48px rgba(24, 33, 43, .14); }
.ie-shape { position: absolute; width: 110px; height: 56px; transform: skewX(-30deg); z-index: 0; }
.ie-shape--blue { background: var(--blue); left: -18px; bottom: -18px; }
.ie-shape--green { background: var(--brand-green); right: -18px; top: -18px; }
.ie-seg__copy .ie-btn { margin-top: 12px; }
.ie-approach { padding: clamp(56px, 8vw, 110px) 0; background: #18212B; color: #fff; }
.ie-approach h2 { color: #fff; margin-bottom: 36px; }
.ie-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: iec; }
.ie-card { position: relative; background: #212c38; border: 1px solid #2d3a48; border-radius: 20px; padding: 32px 28px 30px; counter-increment: iec; }
.ie-card::after { content: "0" counter(iec); position: absolute; top: 28px; right: 28px; font-weight: 800; font-size: .95rem; color: #5d6b79; }
.ie-card h3 { color: #fff; }
.ie-card p { margin: 0; color: #c3ccd5; }
.ie-card__ico { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 16px; background: rgba(255,255,255,.06); margin-bottom: 22px; }
.ie-card__ico--blue { color: var(--blue); } .ie-card__ico--green { color: var(--brand-green); } .ie-card__ico--yellow { color: var(--yellow); }
.ie-cities { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ie-cities li { padding: 5px 12px; border-radius: 999px; border: 1px solid #2d3a48; font-size: .88rem; font-weight: 600; }
@media (max-width: 1023px) {
  .ie-hero__grid, .ie-seg__grid { grid-template-columns: 1fr; }
  .ie-hero__grid { align-items: start; }
  .ie-seg__grid--rev .ie-seg__media { order: 0; }
  .ie-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ie-hero h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .ie-facts { grid-template-columns: 1fr; border-top: 0; }
  .ie-facts li, .ie-facts li + li { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .ie-cards { grid-template-columns: 1fr; }
  .ie-btn { width: 100%; }
  .ie-shape { width: 80px; height: 40px; }
  .ie-shape--blue { left: -8px; bottom: -12px; } .ie-shape--green { right: -8px; top: -12px; }
}
.footer .btn--yellow, .footer .btn--yellow:hover { color: var(--ink); } .footer__cta { margin-top: 6px; }
/* відео YouTube (обкладинка → плеєр після натискання) */
.yt { margin: 8px 0 32px; max-width: 860px; }
.yt__link, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; overflow: hidden; background: #18212B; }
.yt__link img { width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 14px; background: #146EF5; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.yt__play::after { content: ""; position: absolute; left: 31px; top: 16px; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.yt__link:hover .yt__play { transform: scale(1.08); }

/* фільтр каталогу iENERGY: яскраві чіпи з лічильниками, повзунок ціни, сортування */
.pfilter { position: relative; margin: 22px 0 14px; padding: 22px 24px 18px; display: grid; gap: 14px; border-radius: 20px;
  background: linear-gradient(135deg, #eef4ff 0%, #f6faff 55%, #fff8e1 100%); border: 1px solid #d6e4fd; box-shadow: 0 10px 30px rgba(20,110,245,.08); }
.pfilter::before { content: ""; position: absolute; left: 24px; top: -5px; width: 46px; height: 10px; background: var(--yellow); transform: skewX(-30deg); }
.pfilter__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pfilter__title { margin: 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.pfilter__sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.pfilter__sort select { font: inherit; font-weight: 700; color: var(--ink); padding: 8px 34px 8px 12px; border: 1.5px solid #c9d8f5; border-radius: 10px; background: #fff; cursor: pointer; }
.pfilter__g { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; }
.pfilter__name { font-weight: 800; font-size: .92rem; }
.pfilter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pfilter__g button { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid #c9d8f5; background: #fff; border-radius: 999px; padding: 7px 14px;
  font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; color: var(--ink); transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.pfilter__g button small { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #eef3fb; color: var(--muted); font-size: .75rem; font-weight: 700; text-align: center; }
.pfilter__g button:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(20,110,245,.15); }
.pfilter__g button.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(20,110,245,.3); }
.pfilter__g button.on::before { content: "✓"; font-weight: 800; }
.pfilter__g button.on small { background: rgba(255,255,255,.25); color: #fff; }
.prange { max-width: 560px; }
.prange__vals { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 1.1rem; }
.prange__vals output { padding: 4px 12px; border-radius: 10px; background: #fff; border: 1.5px solid #c9d8f5; min-width: 110px; text-align: center; }
.prange__unit { font-size: .9rem; color: var(--muted); }
.prange__track { position: relative; height: 34px; margin-top: 6px; }
.prange__track::before, .prange__fill { content: ""; position: absolute; top: 15px; height: 6px; border-radius: 6px; }
.prange__track::before { left: 0; right: 0; background: #d6e2f5; }
.prange__fill { left: 0; right: 0; background: linear-gradient(90deg, var(--blue), var(--brand-green)); }
.prange__in { position: absolute; left: 0; top: 0; width: 100%; height: 34px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 2; }
.prange__in::-webkit-slider-runnable-track { background: none; height: 34px; }
.prange__in::-moz-range-track { background: none; }
.prange__in::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 5px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 3px 10px rgba(0,0,0,.2); cursor: grab; }
.prange__in::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 3px 10px rgba(0,0,0,.2); cursor: grab; }
.prange__in--hi::-webkit-slider-thumb { border-color: var(--brand-green); }
.prange__in--hi::-moz-range-thumb { border-color: var(--brand-green); }
.prange__in:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--yellow); outline-offset: 2px; }
.prange__note { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.pfilter__r { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 0; padding-top: 14px; border-top: 1px dashed #c9d8f5; font-size: .95rem; }
.pfilter__found { padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.pfilter__found b { color: var(--yellow); font-size: 1.05em; }
.pfilter__r button { border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.pfilter:not(.is-active) .pfilter__r button { color: var(--muted); }
.pfilter__r a { color: var(--blue); font-weight: 700; }
@media (max-width: 640px) {
  .pfilter { padding: 18px 14px 14px; border-radius: 16px; }
  .pfilter__g { grid-template-columns: 1fr; gap: 6px; }
  .prange__vals output { min-width: 0; flex: 1; }
}
/* 320–400 px: восьмизначні ціни (17 303 000, 17,303,000) вміщаються в поля діапазону */
@media (max-width: 400px) {
  .prange__vals { gap: 6px; }
  .prange__vals output { padding: 4px 6px; font-size: .95rem; }
}
.pfilter__g button.on:hover { color: #fff; background: #0f57c7; border-color: #0f57c7; }
.pfilter__g--price { align-items: start; } .pfilter__g--price .pfilter__name { padding-top: 8px; }
/* блог: фото в картках і статтях */
.post-tile { overflow: hidden; --tile-pad: 22px; }
.post-tile .post-tile__img { display: block; width: calc(100% + 2 * var(--tile-pad, 24px)); max-width: none; margin: calc(-1 * var(--tile-pad, 24px)) calc(-1 * var(--tile-pad, 24px)) 16px; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s; }
.post-tile:hover .post-tile__img { transform: scale(1.03); }
.post__img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; margin: 8px 0 28px; }
/* розділ «Рішення» */
.sols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.sol { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sol:hover { transform: translateY(-4px); border-color: #c9d8f5; box-shadow: 0 18px 40px rgba(24,33,43,.10); }
.sol__img { display: block; overflow: hidden; }
.sol__pic { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s; }
.sol:hover .sol__pic { transform: scale(1.05); }
.sol__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.sol__body h3 { font-size: 1.3rem; }
.sol__body h3 a { color: var(--ink); text-decoration: none; }
.sol__body p { color: #333f4b; }
.sol__tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.sol__tags li { padding: 4px 10px; border-radius: 999px; background: #eef3fb; color: var(--blue); font-size: .8rem; font-weight: 700; }
.sol__more { margin-top: auto; align-self: flex-start; padding: 10px 18px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.sol__more:hover { background: #0f57c7; }
.solfs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solf { position: relative; padding: 26px 24px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.solf__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--ink); color: var(--yellow); font-weight: 800; }
.solf h3 { font-size: 1.15rem; }
.solf p { margin: 0; color: #333f4b; }
@media (max-width: 1100px) { .sols, .solfs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .sols, .solfs { grid-template-columns: 1fr; } }
/* шапка на ноутбуках: логотип не стискається, кнопку «Калькулятор автономності» ховаємо до 1380 px */
@media (min-width: 1181px) { .header__logo { flex-shrink: 0; } }
/* горизонтальний логотип (15.10.2026): на всьому десктопі — компактніші відступи шапки, щоб умістилися лого, меню й кнопка */
@media (min-width: 1181px) { .nav { gap: 18px; } .header__inner { gap: 20px; } }

/* ============ сторінки «Для будинку» і «Для бізнесу» (lead_pages.py + lead.js) ============ */
.lp-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.lp-hero__grid > * { min-width: 0; }
.lp-hero__media img, .lp-hero__img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.lp-hero .lead { margin-bottom: 18px; }
.lp-benefits { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.lp-benefits li { position: relative; padding-left: 26px; }
.lp-benefits li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brand-green); border-bottom: 2px solid var(--brand-green); transform: rotate(-45deg); }
.lp-actions { gap: 14px; }
.lp-micro { margin: 14px 0 0; font-size: .9rem; color: var(--muted); max-width: 36em; }
.lp-facts { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-facts li { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.lp-facts b { display: block; font-size: 1.25rem; }
.lp-facts span { color: var(--muted); font-size: .9rem; }

/* сценарії */
.lp-scns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.lp-scn { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 22px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lp-scn:hover { border-color: var(--green); }
.lp-scn[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,110,245,.15); background: var(--green-50); }
.lp-scn__t { font-weight: 800; font-size: 1.15rem; }
.lp-scn__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-scn__chips span { padding: 3px 9px; border-radius: 999px; background: var(--paper); font-size: .8rem; color: var(--ink); }
.lp-scn[aria-pressed="true"] .lp-scn__chips span { background: #fff; }
.lp-scn__p { color: var(--muted); font-size: .93rem; }
.lp-scn__o { font-size: .88rem; font-weight: 600; }
.lp-scn__cta { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--green); }
.lp-unsure { margin-top: 18px; color: var(--muted); }
.lp-linkbtn { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* міні-підбір */
.lp-quiz { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.lp-q { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.lp-q[data-q="loads"] { grid-column: 1 / -1; }
.lp-q legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 1.05rem; float: left; width: 100%; }
.lp-q legend + * { clear: both; }
.lp-q__n { display: inline-grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .82rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip { position: relative; display: inline-flex; }
.lp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid #b9c3cf; border-radius: 999px; background: #fff; cursor: pointer; font-size: .93rem; line-height: 1.25; }
.lp-chip span:hover { border-color: var(--green); }
.lp-chip input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.lp-chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lp-q__hint { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }
.lp-sum { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: .93rem; font-weight: 600; }
.lp-sum input { width: 9em; min-height: 44px; padding: .5em .7em; border: 1px solid #b9c3cf; border-radius: 4px; font: inherit; }
.lp-sum input:disabled { background: var(--paper); color: var(--muted); }
.lp-quiz__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.lp-quiz__progress { margin: 0; font-weight: 600; }

/* «Для будинку» #pidbir: оновлене оформлення підбору (14.10.2026, 19:14) і повзунок бюджету в 6-му питанні.
   Лише всередині #pidbir: .lp-chip використовує й анкета на головній. */
#pidbir .lp-quiz { gap: 18px; margin-top: 28px; }
#pidbir .lp-q { padding: 22px 24px 20px; border: 1.5px solid var(--line); border-radius: 16px; box-shadow: 0 2px 10px rgba(16,34,60,.05); transition: border-color .2s, box-shadow .2s; }
#pidbir .lp-q:focus-within { border-color: #a9c6f7; box-shadow: 0 6px 20px rgba(20,110,245,.10); }
#pidbir .lp-q.is-done { border-color: #bfe8cf; }
#pidbir .lp-q[data-q="budget"] { grid-column: 1 / -1; }
#pidbir .lp-q legend { align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 1.14rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
#pidbir .lp-q__n { flex: 0 0 30px; height: 30px; margin-top: -2px; background: var(--ink); font-size: .85rem; font-weight: 800; transition: background-color .2s; }
#pidbir .lp-q.is-done .lp-q__n { background: var(--brand-green); }
#pidbir .lp-chips { gap: 10px; }
#pidbir .lp-chip span { gap: 8px; min-height: 46px; padding: 10px 18px; border: 1.5px solid #c3ccd7; background: #fff; font-size: .97rem; font-weight: 600; color: var(--ink); transition: border-color .15s, background-color .15s, color .15s; }
#pidbir .lp-chip span:hover { border-color: var(--green); background: var(--green-50); }
#pidbir .lp-chip input:checked + span { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 3px 10px rgba(20,110,245,.25); }
#pidbir .lp-chip input:checked + span::before { content: ""; flex: 0 0 auto; width: 11px; height: 6px; margin: -3px 1px 0 -2px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
#pidbir .lp-chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
#pidbir .lp-q__hint { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.5; }
#pidbir .lp-quiz__foot { gap: 16px 24px; margin-top: 26px; }
#pidbir .lp-quiz__prog { flex: 1 1 260px; max-width: 420px; }
#pidbir .lp-quiz__progress { margin-bottom: 8px; font-size: .95rem; }
.lp-quiz__bar { height: 8px; border-radius: 999px; background: #dfe5ec; overflow: hidden; }
.lp-quiz__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand-green); transition: width .3s ease; }

.lp-budget { display: grid; gap: 4px; max-width: 640px; margin-top: 18px; padding: 18px 20px 16px; border-radius: 14px; background: var(--green-50); border: 1px solid #cfe0fb; }
.lp-budget[hidden] { display: none; }
.lp-budget__head { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.lp-budget__lbl { font-size: .86rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lp-budget__val { display: flex; align-items: center; min-height: 3.1rem; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-budget__val.is-empty { min-height: 3.1rem; font-size: 1rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; color: var(--muted); }
.lp-budget__range { --fill: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 4px 0 0; padding: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.lp-budget__range:focus { outline: none; }
.lp-budget__range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--green) 0 var(--fill), #c9d4e1 var(--fill) 100%); }
.lp-budget__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; border: 3px solid var(--green); background: #fff; box-shadow: 0 2px 8px rgba(8,20,40,.28); }
.lp-budget__range::-moz-range-track { height: 10px; border-radius: 999px; background: #c9d4e1; }
.lp-budget__range::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--green); }
.lp-budget__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--green); background: #fff; box-shadow: 0 2px 8px rgba(8,20,40,.28); }
.lp-budget__range.is-unset::-webkit-slider-runnable-track { background: #c9d4e1; }
.lp-budget__range.is-unset::-webkit-slider-thumb { border-color: #7d8a99; }
.lp-budget__range.is-unset::-moz-range-progress { background: transparent; }
.lp-budget__range.is-unset::-moz-range-thumb { border-color: #7d8a99; }
.lp-budget__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--focus); }
.lp-budget__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--focus); }
.lp-budget__scale { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 600; color: var(--muted); }
.lp-budget .lp-sum { margin-top: 10px; }
.lp-budget .lp-sum input { width: 10em; border-radius: 8px; border-color: #b9c3cf; background: #fff; font-weight: 700; }
.lp-budget .lp-sum input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,110,245,.2); }
.lp-budget__note { margin: 4px 0 0; font-size: .84rem; color: var(--muted); }
.lp-budget__note.is-on { color: #0b2f6b; font-weight: 700; }
@media (max-width: 640px) {
  #pidbir .lp-q { padding: 18px 16px 16px; border-radius: 14px; }
  #pidbir .lp-q legend { font-size: 1.06rem; margin-bottom: 14px; }
  #pidbir .lp-chips { gap: 8px; }
  #pidbir .lp-chip span { padding: 9px 15px; font-size: .95rem; }
  .lp-budget { margin-inline: -4px; padding: 16px 14px 14px; }
  .lp-budget .lp-sum input { flex: 1 1 8em; width: auto; min-width: 0; }
  #pidbir .lp-quiz__foot .btn { width: 100%; white-space: normal; }
  #pidbir .lp-quiz__prog { max-width: none; }
}

/* процес */
.lp-steps--7 { grid-template-columns: repeat(7, 1fr); }
.lp-steps--7 li { padding-right: 16px; }
.lp-steps--7 h3 { font-size: 1rem; }
.lp-steps--7 p { font-size: .88rem; }
.lp-steps__note { margin: 22px 0 0; color: #b9c3cf; font-size: .93rem; }

/* ролі */
.lp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; border-bottom: 1px solid var(--line); }
.lp-tab { min-height: 48px; padding: 10px 18px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.lp-tab:hover { color: var(--ink); }
.lp-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }
.lp-panel { padding: 26px 0 0; max-width: 52em; }
.lp-panel h3 { font-size: 1.3rem; margin-bottom: 14px; }
.lp-panel .btn { margin-top: 22px; }
.lp-panel:focus-visible { outline-offset: 6px; }

/* типові рішення, довіра */
.lp-typ { display: flex; flex-direction: column; gap: 6px; }
.lp-typ .btn { margin-top: auto; align-self: flex-start; }
.lp-typ__links { font-size: .9rem; }
.lp-typ__links a { color: var(--ink); font-weight: 600; }
.lp-catalog { margin-top: 22px; }
.lp-trust .card { display: flex; flex-direction: column; gap: 6px; }
.lp-trust .card .link-arrow { margin-top: auto; align-self: flex-start; }

/* наявність і строки — спокійний інформаційний блок */
.lp-avail { display: flex; gap: 18px; padding: clamp(20px, 3vw, 30px); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.lp-avail__ico { flex: 0 0 28px; color: var(--green); margin-top: 2px; }
.lp-avail__h { font-size: 1.35rem; }
.lp-avail p { color: var(--ink); }
.lp-avail .ticks { margin: 14px 0 0; }
.lp-avail__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.lp-avail__foot .note-small { margin: 0; }

/* форма */
.form__err { margin: 6px 0 0; font-size: .84rem; font-weight: 600; color: #b42318; }
.form [aria-invalid="true"] { border-color: #b42318; }
.lp-summary { margin: 0 0 16px; padding: 12px 14px; background: var(--green-50); border-radius: 8px; font-size: .88rem; }
.lp-summary__h { margin: 0 0 6px; font-weight: 700; }
.lp-summary ul { margin: 0; padding-left: 18px; }
.lp-summary li span { font-weight: 600; }
.lp-summary__edit { display: inline-block; margin-top: 6px; color: var(--green); font-weight: 600; }
.lp-more-f summary, .lp-file summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; font-size: .92rem; color: var(--green); }
.lp-more-f summary::-webkit-details-marker, .lp-file summary::-webkit-details-marker { display: none; }
.lp-file input[type=file] { padding: .6em; }
.lp-file__hint { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.lp-done { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); border-top: 4px solid var(--brand-green); }
.lp-done h3 { font-size: 1.35rem; }
.lp-done ol { padding-left: 20px; display: grid; gap: 6px; }
.lp-done a { color: var(--green); font-weight: 700; }
.lp-done:focus { outline: none; }
.lp-done:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* посилання після форми */
.lp-more__h { font-size: 1.25rem; }
.lp-more__list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }

/* мобільна нижня панель */
.lp-ctabar { display: none; }
@media (max-width: 1180px) {
  .lp-steps--7 { grid-template-columns: repeat(4, 1fr); row-gap: 8px; }
  .lp-scns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .lp-hero__grid { grid-template-columns: 1fr; }
  .lp-hero__media { order: -1; }
  .lp-hero__media img { max-height: 280px; object-fit: cover; }
  .lp-quiz { grid-template-columns: 1fr; }
  .lp-steps--7 { grid-template-columns: 1fr 1fr; }
  .lp-facts { grid-template-columns: 1fr 1fr; }
  .lp-ctabar:not([hidden]) { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
  .lp-ctabar .btn { flex: 1; min-height: 48px; }
  .lp-ctabar__tel { display: grid; place-items: center; flex: 0 0 52px; min-height: 48px; border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); }
  .has-ctabar .aic-launch { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .has-ctabar .vfab { display: none; }
  .has-ctabar .footer { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  .lp-scns, .lp-facts, .lp-steps--7 { grid-template-columns: 1fr; }
  .lp-actions .btn { width: 100%; }
  .lp-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .lp-tab { flex: 0 0 auto; padding: 10px 12px; }
  .lp-avail { flex-direction: column; gap: 10px; }
  .lp-q { padding: 16px; }
}


/* «Для бізнесу»: схема підключення */
.lp-scheme__fig { margin: 24px 0 0; }
.lp-scheme__fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.lp-scheme__legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; color: var(--muted); font-size: .93rem; }
.lp-scheme__legend b { color: var(--ink); }
@media (max-width: 900px) { .lp-scheme__legend { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lp-scheme__legend { grid-template-columns: 1fr; } .lp-scheme__fig { margin-inline: -16px; } .lp-scheme__fig img { border-radius: 0; border-inline: 0; } .lp-scheme__legend { padding-inline: 16px; } }

/* головна: «Для бізнесу» і «Для дому» поруч — відвідувач одразу обирає свій напрям */
.ie-choice { padding: clamp(48px, 7vw, 96px) 0; background: #f4f6f9; overflow: hidden; }
.ie-choice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.ie-choice__card { display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: 24px; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 10px 30px rgba(24, 33, 43, .06); scroll-margin-top: 100px; }
.ie-choice__card .ie-seg__media img { box-shadow: none; }
.ie-choice__card .ie-seg__copy { display: flex; flex-direction: column; flex: 1; padding-top: 26px; }
.ie-choice__card .ie-seg__copy p:not(.ie-eyebrow) { flex: 1; }
.ie-choice__card .ie-btn { align-self: flex-start; }
.ie-choice__card .ie-shape--blue { left: -10px; bottom: -10px; } .ie-choice__card .ie-shape--green { right: -10px; top: -10px; }
@media (max-width: 767px) { .ie-choice__grid { grid-template-columns: 1fr; } }
.ie-choice__card .ie-seg__media img { height: auto; aspect-ratio: 16/10; }
.ie-choice__card h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.ie-choice__card .ie-seg__copy p:not(.ie-eyebrow) { font-size: 1rem; }

/* ===== аудит головної 12.10.2026 ===== */
/* фокус: жовте кільце лише на темних поверхнях (10:1 на графіті), біла форма всередині — знову синє */
.footer, .request, .ie-approach { --focus: var(--yellow); }
.request .form { --focus: var(--blue); }
.aic .aic-launch:focus-visible { outline-color: var(--blue); }
/* контраст: активна мова 5,8:1 (було 4,1:1), підпис «Чому iENERGY» на графіті 5,5:1 (було 3,5:1) */
.langs a.on { color: var(--green-700) !important; }
.ie-approach .ie-eyebrow { color: #4f95ff; }
/* шапка від 1381 px: кнопка «Калькулятор автономності» ширша за попередню — трохи щільніші відступи меню, а «Порівняння»
   лише іконкою на всіх ширинах (з підписом від 1500 px шапка виходила за контейнер на 40 px ще до перейменування) */
/* 15.10.2026: горизонтальний логотип 162 px (був 69 px) — відступи ще щільніші, щоб кнопка не виходила за контейнер (UA-меню 11 пунктів) */
@media (min-width: 1381px) { .nav { gap: 13px; } .header__inner { gap: 18px; } }
/* міста в тексті підвалу відрізняються від тексту не лише кольором */
.footer__brand p a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  /* більша зона натискання у верхній смузі без зміни її висоти: невидимий ::after навколо посилання */
  .topbar__r > a, .topbar .langs a { position: relative; }
  .topbar__r > a::after, .topbar .langs a::after { content: ""; position: absolute; inset: -4px -6px; }
  .topbar .langs a::after { inset: -4px 0; }
  /* підвал: кожне посилання списку — рядок 44 px */
  .footer ul { gap: 0; }
  .footer ul a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  /* головна: нижня панель «Подзвонити / Заявка» (класи лендингів) і кнопка AI лише після першого екрана */
  .ie-ctabar .btn--line { background: #fff; }
  #ie-ctabar ~ .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  #ie-ctabar ~ .aic .aic-launch { transition: transform .2s, opacity .2s, visibility .2s; }
  #ie-ctabar[data-past="0"] ~ .aic .aic-launch, #ie-ctabar[data-req="1"] ~ .aic .aic-launch { visibility: hidden; opacity: 0; pointer-events: none; }
  #ie-ctabar:not([hidden]) ~ .aic .aic-launch { transform: translateY(calc(-70px - env(safe-area-inset-bottom))); }
}
@media (max-width: 640px) {
  .topbar__r > a:not(.topbar__bess) { padding: 3px 0; }
  .topbar .langs { gap: 12px; }
  .topbar__r > a::after, .topbar .langs a::after { inset: -6px; }
}

/* місце під фото, поки власник не дав зображення товару (build.py no_photo) */
.pp__zoom--none { cursor: default; }

/* ===== головна 14.10.2026: перший екран зі слайдером, три напрями, блок довіри на 4 тези, покроковий підбір (класи hm-) ===== */
.hm-hero { --focus: var(--yellow); position: relative; overflow: hidden; color: #c9d6ea; padding: clamp(40px, 6vw, 88px) 0;
  background: radial-gradient(70% 80% at 78% 42%, rgba(20,110,245,.40) 0%, rgba(20,110,245,0) 62%),
              radial-gradient(45% 60% at 4% 100%, rgba(255,197,21,.07) 0%, rgba(255,197,21,0) 70%),
              linear-gradient(160deg, #0b1f45 0%, #0a2253 52%, #071733 100%); }
.hm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #a9c8ff; }
.hm-eyebrow::before { content: ""; flex: none; width: 18px; height: 10px; background: var(--yellow); transform: skewX(-30deg); }
/* заголовок: на 1024–1920 px — 4 рядки, на телефоні — 5; жовтий акцент завжди з нового рядка */
.hm-hero h1 { margin: 0 0 .5em; color: #fff; font-size: clamp(1.7rem, 1rem + 2.25vw, 3rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.hm-accent { display: block; color: var(--yellow); }
.hm-hero__sub { max-width: 40em; margin: 0 0 18px; font-size: clamp(1.02rem, .95rem + .3vw, 1.16rem); line-height: 1.6; color: #d5e0f0; }
.hm-hero__geo { display: flex; gap: 10px; align-items: flex-start; max-width: 40em; margin: 0 0 28px; font-size: .95rem; line-height: 1.5; color: #b3c2d9; }
.hm-hero__geo svg { flex: none; margin-top: 1px; color: var(--yellow); }
.hm-btns { margin-top: 0; }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .9em 1.6em; border-radius: 12px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.hm-btn--yellow { background: var(--yellow); color: var(--ink); }
.hm-btn--yellow:hover { background: #ffd34d; transform: translateY(-1px); }
.hm-btn--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.hm-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hm-btn--blue { background: var(--blue); color: #fff; }
.hm-btn--blue:hover { background: #0f57c7; }
/* слайдер сценаріїв: м’яке світіння за обладнанням, пропорції зображень не змінюються (object-fit: contain) */
.hm-slider { position: relative; min-width: 0; }
.hm-slider::before { content: ""; position: absolute; left: 50%; top: 42%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(90,165,255,.55) 0%, rgba(20,110,245,.24) 36%, rgba(20,110,245,0) 70%); }
.hm-slides { position: relative; aspect-ratio: 6 / 5; }
.hm-slide { position: absolute; inset: 0; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.hm-slide.is-active { opacity: 1; visibility: visible; }
.hm-slide__img { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 4% 7% 0; }
.hm-slide__img img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0,0,0,.45)); }
.hm-slide__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; text-align: center; }
.hm-slide__cap a { color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.hm-slide__cap a:hover { color: var(--yellow); }
.hm-slide__cap span { font-size: .85rem; color: #a3b3cb; }
.hm-slider__nav { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.hm-slider__nav[hidden] { display: none; }
.hm-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.hm-arrow:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hm-dots { display: flex; }
.hm-dot { display: inline-grid; place-items: center; width: 34px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hm-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.4); transition: width .25s, background .25s; }
.hm-dot[aria-current="true"]::before { width: 26px; background: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .hm-slide, .hm-dot::before { transition: none; } }
@media (max-width: 1023px) {
  .hm-hero__grid { grid-template-columns: 1fr; }
  .hm-slider { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) { .hm-btns .hm-btn { width: 100%; } .hm-slides { aspect-ratio: 1 / 1; } }
/* три напрями */
.hm-dirs { padding: clamp(56px, 7vw, 100px) 0; background: #f4f6f9; }
.hm-dirs h2 { margin-bottom: 32px; }
.hm-dirs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hm-dir { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.hm-dir:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(24,33,43,.10); }
.hm-dir__img { position: relative; container-type: inline-size; }
.hm-dir__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hm-dir__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.hm-dir__body h3 { margin-bottom: 10px; font-size: 1.35rem; }
.hm-dir__body p { margin: 0 0 20px; color: #333f4b; }
/* характеристики на фото кожної картки: напівпрозорі світлі плашки з розмиттям фону, значення більше, підпис менше */
.hm-dir__facts { position: absolute; left: 12px; right: 12px; bottom: 12px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; pointer-events: none; }
.hm-dir__facts li { display: flex; flex-direction: column; padding: .38em .7em .44em; font-size: 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); box-shadow: 0 4px 14px rgba(8,20,40,.16); }
.hm-dir__facts b { color: #0b2f6b; font-size: 1.02em; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.hm-dir__facts span { font-size: .74em; font-weight: 600; line-height: 1.3; color: #26323e; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hm-dir__facts li { background: rgba(255,255,255,.86); } }
/* розмір плашок залежить від ширини фото: обидві плашки вміщуються в один ряд і не закривають пів зображення */
@media (max-width: 400px) { .hm-dir__facts li { font-size: .82rem; } }
@supports (font-size: 1cqi) { .hm-dir__facts li { font-size: clamp(.8rem, calc((100cqi - 40px) / 19.5), 1rem); } }
@container (max-width: 279px) {   /* вузьке фото збоку від тексту (планшет): плашки в один рядок кожна, одна над одною */
  .hm-dir__facts { flex-direction: column; align-items: flex-start; gap: 5px; }
  .hm-dir__facts li { flex-direction: row; align-items: baseline; gap: .45em; padding: .3em .7em .36em; font-size: .84rem; }
}
/* основна кнопка внизу картки, додаткове посилання — під нею; рядок під посилання є в кожній картці, тож кнопки стоять на одній лінії */
.hm-dir__cta { display: grid; grid-template-rows: auto minmax(44px, auto); justify-items: start; align-items: center; row-gap: 4px; margin-top: auto; }
.hm-dir__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--blue); text-decoration: none; }
.hm-dir__link::after { content: "→"; margin-left: 6px; }
.hm-dir__link:hover { text-decoration: underline; }
/* до 1099 px три вузькі колонки тіснять текст — картки стають горизонтальними, одна під одною */
@media (max-width: 1099px) {
  .hm-dirs__grid { grid-template-columns: 1fr; gap: 18px; }
  .hm-dir { flex-direction: row; }
  .hm-dir__img { flex: 0 0 38%; }
  .hm-dir__img img { height: 100%; aspect-ratio: auto; }
  .hm-dir__cta { grid-template-rows: auto; }
}
@media (max-width: 639px) {
  .hm-dir { flex-direction: column; }
  .hm-dir__img { flex: none; }   /* інакше 38 % від горизонтальної картки розтягує блок фото нижче зображення */
  .hm-dir__img img { height: auto; aspect-ratio: 16 / 9; }
  .hm-dir__body { padding: 18px 18px 18px; }
  .hm-dir__facts { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
}
/* блок довіри: 4 тези */
.ie-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ie-cards--4 .ie-card { padding: 28px 22px 26px; }
.ie-cards--4 .ie-card h3 { padding-right: 18px; font-size: 1.2rem; }
@media (max-width: 1100px) { .ie-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ie-cards--4 { grid-template-columns: 1fr; } }
/* «Інженерний підхід» — 3 картки (16.10.2026) */
.ie-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ie-cards--3 .ie-card { padding: 28px 22px 26px; }
.ie-cards--3 .ie-card h3 { padding-right: 18px; font-size: 1.2rem; }
@media (max-width: 760px) { .ie-cards--3 { grid-template-columns: 1fr; } }
/* покроковий підбір у формі #request */
.hm-req__inner { grid-template-areas: "head form" "aside form"; grid-template-rows: auto 1fr; row-gap: 0; }
/* кнопка AI-консультанта не перекриває форму підбору: ховається, поки блок #request на екрані */
#ie-ctabar[data-req="1"] ~ .aic .aic-launch { visibility: hidden; opacity: 0; pointer-events: none; }
#request.hm-req { scroll-margin-top: calc(28px - clamp(64px, 8vw, 112px)); }   /* перехід на #request: надзаголовок і заголовок підбору одразу під шапкою */
.hm-req__head { grid-area: head; }
.hm-req__aside { grid-area: aside; }
.hm-req .hm-quiz { grid-area: form; }
.hm-req__head h2 { margin-bottom: .4em; }
.hm-req__lead { margin: 0; max-width: 34em; color: #c9d3de; }
@media (max-width: 900px) {
  .hm-req { padding-top: 40px; } #request.hm-req { scroll-margin-top: -28px; }
  .hm-req__inner { grid-template-areas: "head" "form" "aside"; grid-template-rows: none; row-gap: 22px; }
  .hm-req__head h2 { font-size: clamp(1.6rem, 6.6vw, 2.2rem); line-height: 1.12; overflow-wrap: break-word; }
  .hm-req__aside .hm-calcs { margin-top: 0; }
}
.hm-calcs { list-style: none; display: grid; gap: 10px; margin: 24px 0 0; padding: 0; }
.hm-calcs li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid #2d3a48; border-radius: 12px; }
.hm-calcs a { color: #fff; font-weight: 700; text-decoration: none; }
.hm-calcs a::after { content: " →"; color: var(--yellow); }
.hm-calcs a:hover { color: var(--yellow); text-decoration: underline; }
.hm-calcs span { font-size: .86rem; color: #9eabb9; }
.hm-quiz__top { margin-bottom: 20px; }
.hm-quiz__top[hidden] { display: none; }
.hm-quiz__count { margin: 0 0 8px; font-size: .92rem; font-weight: 700; color: var(--muted); }
.hm-quiz__count b { color: var(--ink); }
.hm-quiz__bar { height: 6px; overflow: hidden; border-radius: 6px; background: #e3e8ef; }
.hm-quiz__bar span { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--brand-green)); transition: width .3s; }
.hm-q { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.hm-q[hidden], .hm-q__more[hidden] { display: none; }
.hm-q legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 14px; padding: 0; font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.hm-q legend + * { clear: both; }
.hm-q legend:focus { outline: none; }
.hm-q__n { display: inline-grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: .85rem; }
.hm-q__more { display: grid; gap: 6px; margin-top: 14px; }
.hm-q__hint { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }
.hm-q__err { margin: 12px 0 0; font-size: .88rem; font-weight: 600; color: #b42318; }
.hm-q__err[hidden] { display: none; }
.hm-q .form__consent { margin-bottom: 4px; }
.hm-quiz__nav { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-quiz__nav .btn { min-height: 50px; }
.hm-quiz__nav [hidden] { display: none; }
.hm-quiz__next { flex: 1 1 160px; width: auto; }
.hm-quiz .form__submit { flex: 1 1 220px; width: auto; }
@media (max-width: 479px) { .hm-quiz .form__submit { order: -1; flex-basis: 100%; } }
.hm-quiz.is-done .form__status { margin: 0; padding: 18px 20px; border-radius: 12px; background: #eaf7ef; color: #14532d; font-size: 1.05rem; }

/* комплекти 20–50 кВт (15.10.2026): склад у кошику й на сторінці товару, ПДВ, блок «Готові комплекти для бізнесу» */
.cc { font-size: .8rem; line-height: 1.4; color: var(--muted); }
.pp__vat { font-size: .85rem; color: var(--muted); margin-top: -6px; }
.kitparts thead th, .kitparts thead td { font-weight: 700; color: var(--ink); }
.kitparts th { width: auto; }
.kitparts td:last-child { white-space: nowrap; }
.kits-note { max-width: 820px; margin: -4px 0 18px; font-size: .92rem; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.bk { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.bk__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; padding: 10px; background: #f4f6f8; }
.bk__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bk__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.bk__brand { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue, #146EF5); }
.bk h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.bk h3 a { color: inherit; text-decoration: none; }
.bk dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .9rem; }
.bk dt { color: var(--muted); }
.bk dd { margin: 0; font-weight: 600; }
.bk__foot { margin-top: auto; display: grid; gap: 10px; }
.bk__price { font-size: 1.25rem; font-weight: 700; color: var(--green); }
.bk__price small { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); }
.bk__price--req { color: var(--ink); }
.bk .stock { margin: 0; }
.bk .btn { width: 100%; justify-content: center; }
@media (max-width: 639px) {
  .bk-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; overscroll-behavior-x: contain; }
  .bk { scroll-snap-align: start; }
}
/* 15.10.2026 вузькі телефони (360/320 px): фільтр, кнопки, таблиця параметрів і факти не виходять за екран */
@media (max-width: 640px) {
  .pfilter, .pfilter__g { grid-template-columns: minmax(0, 1fr); }
  .pfilter__sort { flex-wrap: wrap; max-width: 100%; }
  .pfilter__sort select { max-width: 100%; }
}
@media (max-width: 400px) {
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .pp__params th, .pp__params td { overflow-wrap: anywhere; }
  .facts__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item { padding-left: 12px; padding-right: 12px; overflow-wrap: break-word; }
}
/* 15.10.2026 (Alex): кнопка «Калькулятор автономності» видима на всіх ширинах.
   1181–1380 px — щільніші відступи й кнопка; 641–900 px — менші відступи, щоб лого не стискалося;
   до 640 px — кнопка окремим рядком на всю ширину в липкій шапці, меню відкривається під нею. */
@media (min-width: 1181px) and (max-width: 1380px) {
  .nav { gap: 14px; } .header__inner { gap: 14px; }
  .header__cta { padding-left: 1em; padding-right: 1em; }
}
@media (min-width: 641px) and (max-width: 900px) { .header__inner { gap: 16px; } }
@media (max-width: 640px) {
  .header__inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding: 10px 0; row-gap: 10px; }
  .header__logo { flex: 1 1 0; min-width: 0; }   /* на 320–360 px лого зменшується, а не переносить іконки в інший рядок */
  .header__cta { order: 10; flex: 1 0 100%; padding-top: .75em; padding-bottom: .75em; }
  .nav { top: 100%; }
  html { scroll-padding-top: calc(var(--header-h) + 66px); }
  .cmptoast { top: calc(var(--header-h) + 64px); }
}
/* 16.10.2026 «Збери сам»: інвертор + сумісні батарейні модулі (build.py sbs_html, main.js). Кольори й кнопки — наявні. */
.sbs { border-top: 1px solid var(--line); }
.sbs__lead { max-width: 760px; color: var(--muted); }
.sbs__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; margin-top: 22px; }
.sbs__parts { display: grid; gap: 12px; }
.sbs__part { display: grid; gap: 4px; justify-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sbs__k { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sbs__name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.sbs__meta { font-size: .9rem; color: var(--muted); }
.sbs__price { font-weight: 700; color: var(--green); }
.sbs__price small { font-weight: 400; color: var(--muted); }
.sbs__price--req { color: var(--ink); font-weight: 600; }
.sbs__qty { display: grid; gap: 8px; justify-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.sbs__qty label { font-weight: 700; }
.sbs__ctl button { width: 46px; min-height: 46px; font-size: 1.3rem; color: var(--ink); }
.sbs__ctl button:disabled { color: #9aa3ad; cursor: not-allowed; }
.sbs__ctl input { width: 64px; min-height: 46px; font-size: 1.1rem; font-weight: 700; -moz-appearance: textfield; }
.sbs__ctl input::-webkit-outer-spin-button, .sbs__ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sbs__ctl :focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.sbs__hint { margin: 0; font-size: .88rem; color: var(--muted); }
.sbs__sum { display: grid; gap: 12px; padding: 20px 22px; border-radius: 12px; background: var(--green-900); color: #d9e0e8; }
.sbs__sumh { margin: 0; font-size: 1.15rem; font-weight: 700; color: #fff; }
.sbs__sum dl { display: grid; gap: 0; margin: 0; }
.sbs__sum dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sbs__sum dl > div[hidden] { display: none; }
.sbs__sum dt { color: #b9c3cf; font-size: .9rem; }
.sbs__sum dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.sbs__sum dd[data-sbs="cost"] { color: var(--yellow); font-size: 1.15rem; }
.sbs__sum dd.sbs__req { color: #fff; font-size: 1rem; }
.sbs__note { margin: 0; font-size: .88rem; color: #b9c3cf; }
.sbs__btns { display: grid; gap: 10px; }
.sbs__btns .btn { justify-content: center; text-align: center; white-space: normal; }
.sbs__sum .btn--line { border-color: #fff; color: #fff; }
.sbs__sum .btn--line:hover { background: #fff; color: var(--ink); }
.sbs__sum :focus-visible { outline-color: var(--yellow); }
.sbs__info { max-width: 860px; margin-top: 22px; font-size: .95rem; }
.sbs__info ul { margin: .4em 0 .8em; padding-left: 1.2em; }
.sbs__info li { margin: .25em 0; }
.sbs__info .note-small a { overflow-wrap: anywhere; }
.sbs-entry { margin: 0 0 20px; padding: 14px 18px; border: 1px dashed var(--green); border-radius: 12px; font-size: .95rem; }
.sbs-entry p { margin: 0 0 6px; }
.sbs-entry ul { margin: 0; padding-left: 1.2em; }
.sbs-entry a { overflow-wrap: anywhere; }
.sbs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.sbs-tile { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; }
.sbs-tile:hover { border-color: var(--green); }
.sbs-tile strong { overflow-wrap: anywhere; }
.sbs-tile span, .sbs-tile em { font-size: .9rem; font-style: normal; color: var(--muted); overflow-wrap: anywhere; }
.sbs-tile b { margin-top: 4px; color: var(--green); font-size: .92rem; }
@media (max-width: 900px) { .sbs__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) {
  .sbs__part, .sbs__qty, .sbs__sum { padding-left: 14px; padding-right: 14px; }
  .sbs__sum dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Орієнтовна ринкова ціна на картці товару без власної ціни (лише інформація, не потрапляє в кошик) */
.pp__mkt { display: grid; gap: 4px; width: 100%; padding: 10px 12px; border-left: 3px solid var(--yellow); border-radius: 6px; background: var(--white); line-height: 1.4; }
.pp__mkt span { font-size: .98rem; color: var(--ink); }
.pp__mkt b { font-weight: 700; white-space: nowrap; }
.pp__mkt small { font-size: .84rem; color: var(--muted); }

/* «Збери сам»: вибір батареї (окремі батареї Deye 48 В) */
.sbs__opts { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sbs__opts legend { float: left; width: 100%; margin: 0 0 6px; padding: 0; }
.sbs__opt { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.sbs__opt:has(input:checked) { border-color: var(--green); background: var(--green-50); }
.sbs__opt input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--green); }
.sbs__opt input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sbs__opt label { display: grid; gap: 2px; min-width: 0; cursor: pointer; }
.sbs__opt .stock b { font-size: .88rem; }
.sbs__card { grid-column: 2; font-size: .85rem; }
.sbs-entry ul { columns: 2 260px; column-gap: 24px; }
.sbs-entry li { break-inside: avoid; }
@media (min-width: 901px) { .sbs__sum { position: sticky; top: calc(var(--header-h) + 16px); } }
/* 17.10.2026 пошук по сайту. Від 1181 px: рядок 1 — лого, поле пошуку, порівняння, кошик, кнопка; рядок 2 — меню.
   901–1180 px: поле в рядку шапки (кнопка «Знайти» лише іконкою), меню — під кнопкою-бургером, як і раніше.
   До 900 px: кнопка-лупа відкриває панель з полем під шапкою; до 640 px лупа стоїть поруч із кнопкою «Калькулятор автономності». */
.hsrch { display: flex; align-items: center; flex: 1 1 320px; min-width: 0; max-width: 640px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.hsrch:hover { border-color: #c3ccd7; }
.hsrch:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,110,245,.18); }
.hsrch__in { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 8px 0 14px; border: 0; border-radius: 10px; background: transparent; font: 500 .95rem var(--font); color: var(--ink); outline: none; text-overflow: ellipsis; }
.hsrch__in::placeholder { color: var(--muted); opacity: 1; }
.hsrch__btn { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 36px; margin-right: 4px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--ink); color: #fff; font: 700 .9rem var(--font); cursor: pointer; }
.hsrch__btn:hover { background: var(--blue); }
.hsrch__btn svg, .srchbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.srchbtn { display: none; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.srchbtn:hover, .srchbtn[aria-expanded="true"] { border-color: var(--green); color: var(--green); }
@media (min-width: 1181px) {
  :root { --header-h: 122px; }
  .header__inner { flex-wrap: wrap; height: auto; column-gap: 20px; row-gap: 0; padding-top: 14px; }
  .header .nav { flex: 1 0 100%; order: 0; height: 48px; margin: 14px 0 0; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
  .header .nav a { font-size: .95rem; font-weight: 500; }
  .header .cmpnav { margin-left: 0; }
  .header .cartbtn { margin-left: 0; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .header__inner { gap: 14px; }
  .hsrch__btn { padding: 0 10px; }
  .hsrch__btn span { display: none; }
  .header .cmpnav { margin-left: 0; }
  .header .cmpnav + .cartbtn { margin-left: 0; }
}
@media (max-width: 900px) {
  .srchbtn { display: grid; margin-left: auto; }
  .header .cmpnav { margin-left: 0; }
  .header .cmpnav + .cartbtn { margin-left: 0; }
  .hsrch { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 2; max-width: none; height: auto; gap: 8px; padding: 10px 16px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .hsrch.is-open { display: flex; }
  .hsrch:hover { border-color: var(--line); }
  .hsrch:focus-within { box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .hsrch__in { height: 48px; padding: 0 14px; border: 1.5px solid var(--line); font-size: 16px; }   /* 16 px: iOS не збільшує сторінку при фокусі */
  .hsrch__in:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,110,245,.18); }
  .hsrch__btn { height: 48px; margin: 0; padding: 0 16px; border-radius: 10px; }
}
@media (max-width: 640px) {
  .header__cta { flex: 1 1 calc(100% - 56px); }
  .srchbtn { order: 11; margin-left: 0; width: 44px; height: auto; align-self: stretch; }
  .header .cmpnav { margin-left: auto; }
  .hsrch { padding: 10px 16px 12px; }
}
@media (max-width: 420px) { .hsrch__btn span { display: none; } .hsrch__btn { padding: 0 13px; } }
/* сторінка результатів /poshuk/ */
.srch h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.srch__form { display: flex; gap: 10px; max-width: 760px; margin: 6px 0 12px; }
.srch__form input { flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: 500 1.05rem var(--font); color: var(--ink); }
.srch__form input::placeholder { color: var(--muted); opacity: 1; }
.srch__form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,110,245,.18); }
.srch__form .btn { flex-shrink: 0; min-height: 54px; }
.srch__ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.srch__ex a { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.srch__ex a:hover { border-color: var(--green); color: var(--green); }
.srch__count { margin: 26px 0 6px; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.srch__msg { max-width: 760px; margin: 22px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--paper); color: var(--ink); }
.srch__msg--warn { background: #fff6d6; }
.srch__none { max-width: 760px; margin-top: 12px; padding: 20px; border-radius: 12px; background: var(--paper); }
.srch__none p { margin: 0 0 14px; font-size: 1.05rem; }
.srch__list { max-width: 920px; margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.srch__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.srch__item--noimg { grid-template-columns: minmax(0, 1fr); }
.srch__img img { width: 96px; height: 96px; padding: 6px; object-fit: contain; border-radius: 10px; background: var(--paper); }
.srch__type { margin: 0 0 4px; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.srch__t { margin: 0 0 6px; font-size: 1.18rem; letter-spacing: -.01em; line-height: 1.25; }
.srch__t a { color: var(--ink); text-decoration: none; }
.srch__t a:hover { color: var(--green); text-decoration: underline; }
.srch__d { margin: 0 0 4px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.srch__url { margin: 0; color: #6b7480; font-size: .82rem; overflow-wrap: anywhere; }
.srch mark { padding: 0 1px; border-radius: 3px; background: #ffe9a3; color: inherit; }
.srch__pg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.srch__pg a, .srch__pg span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.srch__pg a:hover { border-color: var(--green); color: var(--green); }
.srch__pg span { border-color: var(--green); background: var(--green-50); color: var(--green); }
.srch__help { margin-top: 30px; }
.srch__help h2 { font-size: 1.4rem; }
.srch__help ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.srch__help a { display: flex; align-items: center; min-height: 52px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.srch__help a:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 640px) {
  .srch__form .btn { padding-left: 18px; padding-right: 18px; }
  .srch__item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .srch__item--noimg { grid-template-columns: minmax(0, 1fr); }
  .srch__img img { width: 64px; height: 64px; padding: 4px; }
  .srch__t { font-size: 1.06rem; }
}

/* ---- головна: оновлення 18.10.2026 (тексти власника 17.10.2026, порядок роботи, практичні питання) */
.hm-hero__tag { margin: -.2em 0 14px; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 700; letter-spacing: -.01em; color: #fff; }
.ie-approach__note { max-width: 52em; margin: 28px 0 0; color: #c3ccd5; font-size: .95rem; }
.ie-approach__note a { color: #fff; }
.ie-cards--4 .ie-card { padding-top: 56px; }
.ie-cards--4 .ie-card::after { top: 24px; left: 22px; right: auto; color: var(--yellow); }
.hm-faq { padding: clamp(56px, 7vw, 100px) 0; }
.hm-faq h2 { margin-bottom: 24px; }
.hm-faq__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; }

/* Huawei: галерея фото товару, широкий банер */
.pp__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pp__thumbs a { display: grid; place-items: center; width: 76px; height: 76px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: zoom-in; }
.pp__thumbs img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pagepic.pagepic--banner { aspect-ratio: auto; object-fit: contain; margin: 22px 0 8px; }
.pfilter__chips button:disabled { opacity: .4; cursor: default; box-shadow: none; }

/* головна 19.10.2026: слайд-фото (P100 в інтер’єрі) замість вирізки; другий абзац першого екрана */
.hm-slide--photo .hm-slide__img img { border-radius: 18px; filter: none; box-shadow: 0 22px 40px rgba(0,0,0,.4); }
.hm-hero__sub--2 { margin-top: -6px; }

/* вікно «Товар наразі відсутній» (main.js, 2026-10-24) */
.oos { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(16, 22, 30, .55); }
.oos[hidden] { display: none; }
.oos__box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.oos__top { padding: 28px 28px 22px; }
.oos__x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; font-size: 1.9rem; line-height: 1; color: var(--muted); cursor: pointer; }
.oos__x:hover { background: var(--paper); color: var(--ink); }
.oos__t { margin: 0 48px 8px 0; font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.oos__t::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: #D64545; vertical-align: .12em; }
.oos--wait .oos__t::before { background: #fff; box-shadow: inset 0 0 0 2px var(--yellow-600); }
.oos__d { margin: 0 0 18px; color: var(--muted); }
.oos__form { max-width: none; font-size: 1rem; color: var(--ink); }
.oos__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: start; }
.oos__f { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; line-height: 1.6; }
.oos__f input { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius); font: 400 1rem var(--font); color: var(--ink); background: #fff; }
.oos__f input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,110,245,.15); }
.oos__f .form__err { grid-row: 3; }
.oos__go { width: auto; min-height: 48px; margin: 28px 0 0; }
.oos__form .form__consent { margin: 12px 0 0; }
.oos__form .form__status { margin: 12px 0 0; padding: 0; background: none; font-size: 1rem; }
.oos__form .form__status:empty { display: none; }
.oos__form.is-sent .oos__row, .oos__form.is-sent .form__consent { display: none; }
.oos__form.is-sent .form__status { padding: 14px 16px; border-radius: 10px; background: #eaf7ef; color: #14532d; }
.oos__sim { padding: 20px 28px 26px; border-top: 1px solid var(--line); background: var(--paper); }
.oos__sh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.oos__sh p { margin: 0; font-size: 1.1rem; }
.oos__cnt { color: var(--muted); font-weight: 600; }
.oos__nav { display: flex; gap: 8px; }
.oos__nav[hidden] { display: none; }
.oos__nav button { width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer; }
.oos__nav button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.oos__nav button:disabled { opacity: .35; cursor: default; }
.oos__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.oos__track::-webkit-scrollbar { display: none; }
.oos__card { scroll-snap-align: start; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto 1fr auto; align-content: start; column-gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.oos__card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(20,110,245,.12); }
.oos__card img { grid-row: 1 / 4; width: 72px; height: 72px; object-fit: contain; }
.oos__n { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.oos__p { align-self: end; margin-top: 8px; font-size: 1.05rem; font-weight: 800; }
.oos__s { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.pp__btns .oos__open { width: auto; margin-top: 0; }
.oos__open svg { flex: none; }
@media (max-width: 980px) { .oos__track { grid-auto-columns: calc((100% - 12px) / 2); } }
@media (max-width: 760px) {
  .oos { place-items: end center; padding: 0; }
  .oos__box { max-height: 92vh; max-height: 92dvh; border-radius: 14px 14px 0 0; }
  .oos__top { padding: 22px 18px 18px; }
  .oos__sim { padding: 16px 18px 22px; }
  .oos__row { grid-template-columns: 1fr; }
  .oos__go, .pp__btns .oos__open { width: 100%; }
  .oos__go { margin-top: 4px; }
  .oos__track { grid-auto-columns: 84%; }
}

/* 26.10.2026 — підбір комплектів: сценарій → конфігурація → комплекти */
.pcard__use { margin: 2px 0 8px; font-size: .82rem; color: var(--muted); }
.pcard__buy { width: 100%; margin-top: 10px; justify-content: center; text-align: center; }
.pcard__buy + .cmpbtn { margin-top: 8px; }
.pfilter { scroll-margin-top: 135px; }
.pfilter[data-url] .pfilter__chips button.is-zero { display: none; }
.pfilter__toggle { display: none; }
.pfilter.is-active ~ .example { display: none; }
.pfilter__sel { margin: 0; padding: 8px 12px; border-radius: 10px; background: #eef3fb; font-size: .92rem; line-height: 1.5; }
.pfilter__sel span { font-weight: 700; margin-right: 4px; }
.pfilter__sel b { color: var(--blue); }
.pfilter__empty { margin: 18px 0 8px; padding: 20px; border: 1.5px dashed #c9d8f5; border-radius: 16px; background: #fff; }
.pfilter__empty p { margin: 0 0 12px; font-weight: 600; }
.pfilter__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.config__n { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.config em { line-height: 1.3; }
.cfg-h { margin: 28px 0 12px; font-size: 1.15rem; }
.cfg-more { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 24px; }
.usepick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.usepick span { font-weight: 700; margin-right: 4px; }
.hm-dir__cta .hm-dir__link + .hm-dir__link { margin-left: 0; }
@media (max-width: 700px) {
  .pfilter[data-url]:not(.is-open) .pfilter__g { display: none; }
  .pfilter__toggle { display: flex; justify-content: center; width: 100%; padding: 10px 14px; border: 1.5px solid var(--blue); border-radius: 10px; background: #fff; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }
}
@media (max-width: 560px) {
  .usepick .btn { flex: 1 1 auto; }
  .cfg-more .btn { width: 100%; }
}

/* ===== шапка 26.10.2026: верхній рядок «Комплекти · Каталог · Контакти · Калькулятор · UA ▾», одна шапка 64 px, «☰ Меню» на всіх ширинах ===== */
:root { --header-h: 64px; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
.topbar { position: relative; z-index: 60; }
.topbar__inner { min-height: 38px; gap: 16px; justify-content: space-between; }
.topbar__l { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar .topbar__r { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 20px; margin: 0; }
.topbar .topbar__r > a.tb { display: inline-flex; align-items: center; gap: 6px; padding: 9px 0; color: var(--ink); font-weight: 500; white-space: nowrap; text-decoration: none; }
.topbar .topbar__r > a.tb:hover { color: var(--blue); }
.topbar .topbar__r > a.tb--kits { font-weight: 700; }
.topbar .topbar__r > a.tb--calc { padding-left: 20px; border-left: 1px solid var(--line); color: var(--ink); }
.tb--calc svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar a[aria-current="page"] { color: var(--blue); }
.lang { position: relative; flex-shrink: 0; }
.lang__btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: 600 .82rem/1 var(--font); cursor: pointer; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.lang__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lang__arr { font-size: .8em; line-height: 1; transition: transform .15s; }
.lang__btn[aria-expanded="true"] .lang__arr { transform: rotate(180deg); }
.lang__list { display: none; position: absolute; top: calc(100% + 6px); right: 0; z-index: 70; min-width: 168px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(16,24,40,.14); }
.lang.is-open .lang__list { display: block; }
.lang__list li { margin: 0; }
.lang__list a { display: block; padding: 11px 12px; border-radius: 7px; color: var(--ink) !important; font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.lang__list a:hover, .lang__list a:focus-visible { background: var(--paper); color: var(--blue) !important; outline: none; }

.header__inner { position: relative; flex-wrap: nowrap; height: var(--header-h); min-height: 0; padding: 0; gap: 12px; }
.header .hsrch { flex: 1 1 auto; max-width: none; height: 44px; margin-right: 6px; }
.header .srchbtn, .header .cmpnav, .header .cartbtn { margin-left: 0; }
.header .cmpnav + .cartbtn { margin-left: 0; }
.header .burger { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; width: auto; height: 44px; margin: 0; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 600 .95rem/1 var(--font); }
.header .burger:hover, .header .burger[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.header .burger > span.burger__i { display: block; width: 18px; height: auto; margin: 0; background: none; }
.header .burger > span.burger__t { display: inline; height: auto; margin: 0; background: none; }
.header .burger[aria-expanded="true"] > span.burger__i, .header .burger[aria-expanded="true"] > span.burger__t { transform: none; opacity: 1; }
.header .burger__i span { display: block; height: 2px; margin: 4px 0; border-radius: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
.header .burger[aria-expanded="true"] .burger__i span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header .burger[aria-expanded="true"] .burger__i span:nth-child(2) { opacity: 0; }
.header .burger[aria-expanded="true"] .burger__i span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header .nav { display: none; position: absolute; top: 100%; right: 0; left: auto; z-index: 55; flex: none; order: 0; flex-direction: column; gap: 0; width: 320px; height: auto; margin: 0; padding: 6px 20px 12px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 18px 34px rgba(16,24,40,.12); }
.header .nav.is-open { display: flex; }
.header .nav a { display: block; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; font-weight: 500; }
.header .nav a:hover, .header .nav a[aria-current="page"] { color: var(--blue); }
.header .nav a:last-child { border-bottom: 0; }
.header .nav .nav__extra { display: block; color: var(--muted) !important; font-weight: 500; font-size: .95rem; border-bottom: 1px solid var(--line) !important; }
.header .nav .nav__extra:last-child { border-bottom: 0 !important; }
.header .nav .nav__tel { color: var(--green) !important; font-weight: 700; }
.header .nav .nav__m, .header .nav .nav__cmp { display: none; }
@media (max-width: 1100px) { .topbar__l { display: none; } .topbar__inner { justify-content: flex-end; } }
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .header .srchbtn { display: grid; order: 0; margin-left: auto; height: 44px; align-self: center; }
  .header .hsrch { margin-right: 0; }
}
@media (max-width: 640px) {
  .topbar__inner { justify-content: space-between; gap: 10px; }
  .topbar .topbar__r { flex: 1 1 auto; justify-content: space-between; gap: 0 12px; }
  .topbar .topbar__r > a.tb--calc { display: none; }
  .topbar .topbar__r > a.tb { padding: 10px 0; }
  .header__inner { gap: 8px; }
  .header__logo { flex: 0 1 auto; min-width: 96px; }
  .header__logo img { width: 140px; }
  .header .hsrch { height: auto; }
  .header .nav { left: -16px; right: -16px; width: auto; border-radius: 0 0 14px 14px; border-left: 0; border-right: 0; }
  .header .nav .nav__m { display: block; color: var(--blue) !important; font-weight: 600; }
  .cmptoast { top: calc(var(--header-h) + 10px); }
}
@media (max-width: 480px) {
  .header .cmpnav { display: none; }
  .header .nav .nav__cmp { display: block; }
  .header .burger { padding: 0 11px 0 10px; gap: 7px; }
}
@media (max-width: 360px) {
  .header__logo img { width: 116px; }
  .header__inner { gap: 6px; }
  .topbar .topbar__r { gap: 0 8px; }
  .topbar { font-size: .8rem; }
}

/* калькулятор автономності: усі рішення, що підходять (28.10.2026) */
.copts { margin: 0 0 18px; }
.copts__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.copts__tabs button { font: inherit; font-size: .82rem; font-weight: 600; padding: .4em .85em; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #d9e0e8; cursor: pointer; }
.copts__tabs button span { opacity: .7; font-weight: 500; }
.copts__tabs button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.copts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.copt { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.06); }
.copt__t { grid-column: 1 / -1; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none; }
.copt__t:hover { text-decoration: underline; }
.copt__m { grid-column: 1 / -1; font-size: .8rem; color: #b9c3cf; }
.copt__st--in { color: #6fdc96; } .copt__st--wait { color: var(--yellow); } .copt__st--out { color: #ff9a9a; }
.copt__p { color: #fff; font-weight: 700; font-size: 1rem; }
.copt__b { justify-self: end; font: inherit; font-size: .84rem; font-weight: 600; padding: .5em .95em; border-radius: var(--radius); border: 0; background: var(--green); color: #fff; cursor: pointer; white-space: nowrap; text-decoration: none; }
.copt__b--ask { background: transparent; border: 1px solid var(--yellow); color: var(--yellow); }
.copt__b:focus-visible, .copts__tabs button:focus-visible, .copts__more:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.copts__more { display: block; width: 100%; margin-top: 10px; padding: .65em; font: inherit; font-weight: 600; font-size: .88rem; color: #fff; background: transparent; border: 1px dashed rgba(255,255,255,.35); border-radius: var(--radius); cursor: pointer; }
.copts__cat { display: inline-block; margin-top: 12px; color: var(--yellow); font-weight: 600; font-size: .9rem; }
.copts__note { margin: 8px 0 0; font-size: .76rem; color: #9aa6b2; }
@media (max-width: 380px) { .copt { grid-template-columns: 1fr; } .copt__b { justify-self: start; } }
.calc__big b small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: #b9c3cf; margin-right: .15em; }
.copts__wide { border-style: solid; color: var(--yellow); border-color: rgba(255,197,21,.5); }
/* калькулятор автономності v2 (28.10.2026) — початок */
.calc__intro { max-width: 720px; }
.calc__hint { font-size: .84rem; line-height: 1.45; color: var(--muted); margin: 0 0 12px; }
.calc--v2 input[type="number"], .calc--v2 .calc__f input, .calc--v2 .calc__f select { font: inherit; font-size: 1rem; min-height: 44px; padding: .45em .6em; border: 1px solid #b9c2cc; border-radius: 6px; background: #fff; color: var(--ink); }
.calc--v2 input:focus-visible, .calc--v2 select:focus-visible, .calc--v2 summary:focus-visible, .calc__reset:focus-visible, .calc__del:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.calc--v2 input[aria-invalid="true"] { border-color: #c0262d; box-shadow: 0 0 0 1px #c0262d; background: #fff6f6; }
.calc--v2 .calc__list { margin: 0 0 6px; }
.calc--v2 .calc__list li { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; min-height: 60px; }
.calc--v2 .calc__list li[data-own] { grid-template-columns: minmax(0, 1fr) auto auto 36px; }
.calc--v2 .calc__dev { align-items: flex-start; min-height: 44px; padding-top: 10px; }
.calc--v2 .calc__dev input { flex-shrink: 0; margin: 0; }
.calc__dev span { display: flex; flex-direction: column; line-height: 1.3; overflow-wrap: anywhere; }
.calc__dev small { font-size: .76rem; color: var(--muted); }
.calc__q, .calc--v2 .calc__w { display: flex; align-items: center; gap: 6px; }
.calc--v2 .calc__q input { width: 64px; text-align: center; }
.calc--v2 .calc__w input { width: 96px; text-align: right; }
.calc__q > span, .calc--v2 .calc__w > span { color: var(--muted); font-size: .85rem; min-width: 1.9em; }
.calc__err { grid-column: 1 / -1; margin: 0; color: #b3141c; font-size: .84rem; font-weight: 600; line-height: 1.35; }
.calc__err::before { content: "⚠ "; }
.calc__del { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.calc__del:hover { border-color: #c0262d; color: #c0262d; }
.calc__add { margin: 0 0 22px; }
.calc__add > summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 700; cursor: pointer; list-style: none; }
.calc__add > summary::-webkit-details-marker { display: none; }
.calc__addf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.calc__f--n { grid-column: 1 / -1; }
.calc__f label { display: block; margin-bottom: 4px; font-size: .84rem; font-weight: 600; }
.calc__f input, .calc__f select { width: 100%; }
.calc__addf .calc__err, .calc__addb { grid-column: 1 / -1; }
.calc__addb { justify-self: start; padding: .7em 1.2em; }
.calc--v2 .calc__hours { align-items: center; }
.calc--v2 .calc__hours label span { min-height: 44px; display: inline-flex; align-items: center; }
.calc--v2 .calc__hours .calc__own { display: inline-flex; align-items: center; gap: 8px; }
.calc--v2 .calc__hours .calc__own > span { padding: 0; border: 0; min-height: 0; font-weight: 600; cursor: default; background: none; color: var(--ink); }
.calc--v2 .calc__hours .calc__own input { position: static; opacity: 1; width: 86px; }
.calc--v2 .calc__hours .calc__hint, .calc--v2 .calc__hours .calc__err { width: 100%; margin: 2px 0 0; }
.calc--v2 .calc__ph { margin-top: 18px; }
.calc__reset { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }
.calc__how { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.calc__how > summary { display: flex; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; }
.calc__how ul { margin: 6px 0 0; padding-left: 1.1em; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.calc__how li + li { margin-top: 6px; }
.calc__how b { color: var(--ink); }
.calc__sub { margin: 0 0 10px; font-size: .82rem; color: #b9c3cf; }
.calc--v2 .calc__big b { font-size: clamp(2rem, 3.6vw, 3rem); }
.calc--v2 .calc__rows li { align-items: center; }
.calc__rows small { display: block; font-size: .76rem; color: #9aa6b2; }
.calc__msg { margin: 0 0 18px; padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.08); color: #fff; font-size: .95rem; line-height: 1.45; }
.calc__msg--bad { box-shadow: inset 4px 0 0 #ff8a8a; }
.calc__warn { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--radius); background: rgba(255,197,21,.1); color: #f6e7b3; font-size: .82rem; line-height: 1.45; }
.copts__h { margin: 18px 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.copts__h:first-child { margin-top: 0; }
.copts__why { margin: 6px 0 0; font-size: .8rem; color: #b9c3cf; }
.copt--rec { box-shadow: inset 0 0 0 1px rgba(255,197,21,.55); }
.copt.is-sel { box-shadow: inset 0 0 0 2px var(--green); background: rgba(32,185,90,.1); }
.copt__r, .copt__d { grid-column: 1 / -1; font-size: .8rem; line-height: 1.4; }
.copt__r { color: #e3e8ee; }
.copt__d { color: #b9c3cf; }
.copt__tag { display: inline-block; padding: .05em .55em; border-radius: 999px; background: rgba(32,185,90,.2); color: #9df0bd; font-size: .74rem; }
.copt__tag--big { background: rgba(255,255,255,.1); color: #c8d0da; }
.calc--v2 .copt__b { min-height: 40px; background: transparent; border: 1px solid rgba(255,255,255,.45); color: #fff; }
.calc--v2 .copt__b[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.copts__note--hi { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius); background: rgba(255,255,255,.07); color: #e3e8ee; font-size: .82rem; line-height: 1.45; }
.copts__all { margin-top: 16px; }
.copts__all > summary { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .5em; border: 1px dashed rgba(255,255,255,.4); border-radius: var(--radius); color: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; }
.copts__all > summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.copts__all[open] > summary { margin-bottom: 10px; }
.calc__sel { margin-top: 18px; padding: 16px; border-radius: var(--radius); background: #fff; color: var(--ink); }
.calc__selh { margin: 0 0 4px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.calc__seln { margin: 0; font-weight: 700; line-height: 1.3; }
.calc__seln a { color: var(--ink); }
.calc__selm, .calc__selc, .calc__seln2 { margin: 6px 0 0; font-size: .86rem; line-height: 1.45; color: #4a5664; }
.calc__selm b { color: var(--ink); }
.calc__seln2 { color: var(--ink); }
.calc__sel .copt__st--in { color: #137a3f; } .calc__sel .copt__st--wait { color: #8a5d00; } .calc__sel .copt__st--out { color: #b3141c; } .calc__sel .copt__st--ask { color: #4a5664; }
.calc--v2 .calc__btns { margin-top: 12px; }
.calc--v2 .calc__btns .btn { flex: 1 1 200px; margin-top: 0; }
.calc__foot { margin: 16px 0 0; color: #9fb3a8; }
.configs__note { margin: 14px 0 0; color: var(--muted); }
.calc__jump { display: none; }
@media (max-width: 900px) {
  .calc__jump:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 75; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 10px 16px; border-radius: 12px; background: var(--green-900); color: #fff; font-size: .86rem; line-height: 1.3; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
  .calc__jump b { color: var(--yellow); white-space: nowrap; }
  .calc__jump:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
  .calc-in-view .aic-launch, .calc-in-view .vfab { visibility: hidden; opacity: 0; pointer-events: none; }
}
@media (max-width: 560px) {
  .calc--v2 .calc__form, .calc--v2 .calc__result { padding: 18px 16px; }
  .calc--v2 .calc__list li { grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 0 12px; }
  .calc--v2 .calc__list li[data-own] { grid-template-columns: 1fr 1fr 36px; }
  .calc--v2 .calc__dev { grid-column: 1 / 3; padding-top: 0; min-height: 0; }
  .calc--v2 .calc__list li[data-own] .calc__del { grid-column: 3; grid-row: 1; }
  .calc--v2 .calc__q, .calc--v2 .calc__w { grid-row: 2; }
  .calc--v2 .calc__q input, .calc--v2 .calc__w input { width: 100%; min-width: 0; flex: 1 1 auto; }
  .calc--v2 .calc__q { padding-left: 32px; }
  .calc__addf { grid-template-columns: 1fr; }
  .calc--v2 .calc__big { gap: 14px; }
  .calc--v2 .calc__big span { font-size: .8rem; }
  .calc--v2 .calc__hours label span { padding: .55em .9em; }
  .copt { padding: 12px; }
}
.calc--v2 .calc__big span { display: block; margin-top: 6px; line-height: 1.35; }
/* /kalkuliator/: менший проміжок між вступом і калькулятором (Alex, 28.10) */
.page-hero:has(+ #calc) { padding-bottom: 0; }
.page-hero:has(+ #calc) .lead { margin-bottom: 0; }
.page-hero + #calc { padding-top: clamp(28px, 3.5vw, 44px); }
/* калькулятор автономності v2 — кінець */
/* usd-2026-11-01: ціна в USD дрібним шрифтом під ціною в грн */
.price .price__usd,td.num .price__usd{display:block;font-size:.72em;font-weight:500;color:var(--muted,#6b7480);margin-top:2px;line-height:1.2;white-space:nowrap}
.pp__usd{display:block;font-size:.95rem;font-weight:500;color:var(--muted,#6b7480);margin:-10px 0 2px;line-height:1.2}
/* /usd-2026-11-01 */
/* promo-2026-11-01: акція — стара ціна закреслена, бейдж */
.pcard__img{position:relative}
.promo-badge{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--yellow,#FFC515);color:#18212B;font-size:.8rem;font-weight:700;line-height:1.25;letter-spacing:0}
.promo-badge--card{position:absolute;top:10px;left:10px;z-index:1;font-size:.74rem;padding:3px 9px}
.price .price__old,td.num .price__old{display:block;font-size:.78em;font-weight:500;color:var(--muted,#6b7480);line-height:1.2;letter-spacing:0}
.price__old s,.pp__old{text-decoration-thickness:1.5px;text-decoration-color:#c0392b}
.pp__old{font-size:1.05rem;font-weight:500;color:var(--muted,#6b7480);margin:0 0 -8px;line-height:1.2}
.promo-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--yellow,#FFC515);color:#18212B;font-size:.72rem;font-weight:700;white-space:nowrap;vertical-align:middle}
/* /promo-2026-11-01 */
/* promo-dyn-2026-11-01: акція в списках, які малює JS */
.promo-old{display:block;font-size:.8em;font-weight:500;color:var(--muted,#6b7480);text-decoration:line-through;text-decoration-color:#c0392b;text-decoration-thickness:1.5px;line-height:1.2;white-space:nowrap}
.promo-tag--dyn{margin:4px 0 0;display:table;font-size:.7rem}
.srch__type .promo-tag--dyn{display:inline-block;margin:0 0 0 8px}
/* /promo-dyn-2026-11-01 */

/* ===== панель розділів 04.11.2026: «Комплекти · Каталог · Калькулятор автономності · Контакти» під шапкою (qnav) ===== */
.topbar { font-size: .84rem; }
.topbar__inner { min-height: 34px; justify-content: space-between; }
.topbar .topbar__inner > .topbar__l { display: block; flex: 1 1 auto; color: var(--muted); }
.topbar .topbar__l a { color: var(--muted); }
.topbar .topbar__r { flex: 0 0 auto; justify-content: flex-end; }
.qnav { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.qnav__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.qnav .qb { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; margin: 0; padding: 8px 18px; border: 1.5px solid #c3cdd9; border-radius: 10px; background: #f5f7fa; color: var(--ink); font: 600 16px/1.25 var(--font); text-decoration: none; white-space: normal; transition: background .15s, border-color .15s, color .15s; }
.qnav .qb svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qnav .qb:hover { border-color: var(--blue); background: #fff; color: var(--blue); }
.qnav .qb--kits { border-color: var(--blue); background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 3px 10px rgba(20,110,245,.22); }
.qnav .qb--kits:hover { border-color: #0f57c7; background: #0f57c7; color: #fff; }
.qnav .qb--calc { border-color: #a9c5f6; background: #eef4ff; }
.qnav .qb--calc svg { stroke: var(--blue); }
.qnav .qb--calc:hover { border-color: var(--blue); background: #e2ecff; }
.qnav .qb:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.qnav .qb[aria-current] { border-color: var(--blue); background: #fff; color: var(--blue); font-weight: 700; box-shadow: inset 0 -3px 0 var(--blue); }
.qnav .qb--kits[aria-current] { border-color: #0e4fb8; background: #0e4fb8; color: #fff; box-shadow: inset 0 -4px 0 var(--yellow); }
.header .nav .nav__m { display: none !important; }
@media (max-width: 1100px) { .topbar .topbar__inner > .topbar__l { display: block; } .topbar__inner { justify-content: space-between; } }
@media (min-width: 701px) and (max-width: 1023px) { .qnav .qb { flex: 1 1 auto; padding-left: 14px; padding-right: 14px; } }
@media (max-width: 700px) {
  .qnav__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 8px; }
  .qnav .qb { min-height: 48px; padding: 6px 10px; gap: 8px; text-align: left; }
  .qnav .qb svg { width: 18px; height: 18px; }
  .qnav .qb span { min-width: 0; overflow-wrap: break-word; }
}
@media (max-width: 640px) {
  .topbar { font-size: .78rem; }
  .topbar__inner { gap: 10px; min-height: 36px; }
  .topbar .topbar__r { flex: 0 0 auto; gap: 0; }
}
@media (max-width: 374px) { .qnav .qb { padding: 6px 8px; gap: 6px; } }

/* ===== панель розділів v2 04.11.2026: менші кнопки, мова біля «Меню», верхню смугу прибрано (qnav2) ===== */
.header .lang { order: 0; flex: 0 0 auto; }
.header .lang__btn { height: 44px; padding: 0 10px 0 12px; border-radius: 10px; font-size: .9rem; }
.qnav__in { gap: 8px; padding-top: 6px; padding-bottom: 6px; }
.qnav .qb { min-height: 40px; padding: 6px 14px; gap: 8px; border-width: 1px; border-radius: 8px; font-size: 15px; box-shadow: none; }
.qnav .qb svg { width: 18px; height: 18px; }
.qnav .qb--kits { box-shadow: none; }
.qnav .qb[aria-current] { box-shadow: inset 0 -2px 0 var(--blue); }
.qnav .qb--kits[aria-current] { box-shadow: inset 0 -3px 0 var(--yellow); }
.qnav__note { margin: 0 0 0 auto; color: var(--muted); font-size: .82rem; line-height: 1.3; white-space: nowrap; }
.qnav__note a { color: var(--muted); text-decoration: none; }
.qnav__note a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 1023px) { .qnav__note { flex: 1 0 100%; margin: 0; white-space: normal; } }
@media (min-width: 701px) and (max-width: 1023px) { .qnav .qb { flex: 1 1 auto; padding-left: 12px; padding-right: 12px; } }
@media (max-width: 700px) {
  .qnav__in { grid-template-rows: 1fr 1fr auto; grid-auto-rows: auto; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .qnav .qb { min-height: 44px; padding: 5px 10px; font-size: 15px; }
  .qnav .qb svg { width: 17px; height: 17px; }
  .qnav__note { grid-column: 1 / -1; font-size: .78rem; text-align: center; }
}
@media (max-width: 480px) {
  .header__inner { gap: 6px; }
  .header .srchbtn, .header .cartbtn { width: 42px; height: 42px; }
  .header .lang__btn { height: 42px; padding: 0 9px; }
  .header .lang__arr { display: none; }
  .header .burger { height: 42px; }
}
@media (max-width: 374px) { .header__inner { gap: 5px; } .header__logo { flex: 0 0 100px; min-width: 0; } .header__logo img { width: 100px; } .header .burger { padding: 0 8px; gap: 5px; } }
/* ie50 pcard__kw */
.pcard__kw{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}
.pcard__kw span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:10px 8px;text-align:center;min-width:0}
.pcard__kw span+span{border-left:1px solid var(--line)}
.pcard__kw small{font-size:.74rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.pcard__kw b{font-size:clamp(.95rem,1.4vw,1.12rem);line-height:1.2;font-weight:800;color:var(--ink)}
.pcard__kw span:first-child b{color:#146EF5}.pcard__kw span+span b{color:#127a3b}
@media (max-width:420px){.pcard__kw b{font-size:1rem}}
.pp__kw{margin-top:12px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pp__kw span{padding:14px 10px}.pp__kw small{font-size:.82rem}.pp__kw b{font-size:clamp(1.15rem,2vw,1.45rem)}
.pcard__kw--3{grid-template-columns:repeat(3,1fr)}.pcard__kw--3 span{padding:10px 4px}.pcard__kw--3 span:nth-child(3) b{color:#B7791F}
.pcard__kw--3 small{font-size:.68rem;letter-spacing:.02em}.pcard__kw--3 b{font-size:clamp(.88rem,1.25vw,1.02rem)}
.pp__kw.pcard__kw--3 small{font-size:.78rem}.pp__kw.pcard__kw--3 b{font-size:clamp(1.05rem,1.8vw,1.35rem)}
