/* Карточка товара ВипКомплект: общий шаблон для всех разделов каталога.
   Компоновка: шапка, главный блок (фото + факты), выбор, таблица позиций со сбором в запрос КП,
   советы и сопутствующие товары, документы, форма КП, подвал. */
:root{
  --bg:#f4f5f3; --card:#ffffff; --head:#eef1f3; --photo:#e3e7ea;
  --ink:#14202b; --text:#33404b; --muted:#56606a;
  --line:#d9dde0; --line-soft:#e6e9eb; --field:#b8c1c8; --dash:#9aa5ae;
  --blue:#0058a1; --blue-hover:#003d70; --blue-dark:var(--blue-hover); --blue-soft:#d4e2ee; --blue-bg:#e8f0f7; --on-blue:#ffffff; --tag2-ink:#003d70;
  --strong:#14202b; --on-strong:#ffffff; --on-strong-muted:#c9d1d7;
  --ok:#1d6b3a; --warn-bg:#fff6d6; --warn-line:#e8d48a; --warn-ink:#5c4a00; --uv:#6d4fd1; --logo-blue:#0058a1; --logo-grey:#a2a8b1; --metal:#c3ccd3; --glass:#cfe2ee; --cork:#c48a4f;
  --font:'IBM Plex Sans','Segoe UI',Roboto,Arial,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'Consolas',monospace;
  --wrap:1280px; --pad:80px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0f161c; --card:#172129; --head:#1d2933; --photo:#1d2933;
    --ink:#e6ecf0; --text:#c3cdd4; --muted:#8d99a3;
    --line:#2a3742; --line-soft:#23303a; --field:#3b4a56; --dash:#4a5966;
    --blue:#4c9be0; --blue-hover:#7ab5ea; --blue-soft:#1d3a55; --blue-bg:#15283a; --on-blue:#06121d; --tag2-ink:#a9cdf0;
    --strong:#0a1015; --on-strong:#f1f4f6; --on-strong-muted:#9aa6af;
    --ok:#5cc58a; --warn-bg:#3a3112; --warn-line:#5e5020; --warn-ink:#f0dc9a; --uv:#a58cf0; --logo-blue:#5aa5e6; --logo-grey:#9aa4ae; --metal:#7d8a95; --glass:#28465e; --cork:#b07c48;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0f161c; --card:#172129; --head:#1d2933; --photo:#1d2933;
  --ink:#e6ecf0; --text:#c3cdd4; --muted:#8d99a3;
  --line:#2a3742; --line-soft:#23303a; --field:#3b4a56; --dash:#4a5966;
  --blue:#4c9be0; --blue-hover:#7ab5ea; --blue-soft:#1d3a55; --blue-bg:#15283a; --on-blue:#06121d; --tag2-ink:#a9cdf0;
  --strong:#0a1015; --on-strong:#f1f4f6; --on-strong-muted:#9aa6af;
  --ok:#5cc58a; --warn-bg:#3a3112; --warn-line:#5e5020; --warn-ink:#f0dc9a; --uv:#a58cf0; --logo-blue:#5aa5e6; --logo-grey:#9aa4ae; --metal:#7d8a95; --glass:#28465e; --cork:#b07c48;
  color-scheme:dark;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5}
a{color:var(--blue)} a:hover{color:var(--blue-hover)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
h1,h2,p{margin:0}
h1,h2{text-wrap:balance}
img{max-width:100%}
.mono{font-family:var(--mono)}
.wrap{max-width:calc(var(--wrap) + 2*var(--pad));margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.section{padding-bottom:56px}
.h2{font-size:30px;font-weight:700;line-height:1.2}
.card{background:var(--card);border:1px solid var(--line);border-radius:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;font-family:inherit;font-weight:600;font-size:16px;line-height:1.2;padding:16px 26px;border-radius:6px;text-decoration:none;cursor:pointer;border:1.5px solid var(--blue);min-height:48px}
.btn-primary{background:var(--blue);color:var(--on-blue)} .btn-primary:hover{background:var(--blue-hover);border-color:var(--blue-hover);color:var(--on-blue)}
.btn-outline{background:var(--card);color:var(--blue)} .btn-outline:hover{background:var(--blue-bg)}
.ph{color:var(--muted)}

/* Плашка превью */
.preview-bar{background:var(--warn-bg);border-bottom:1px solid var(--warn-line);color:var(--warn-ink);font-size:14px;padding:10px 16px;text-align:center}
.preview-bar a{color:inherit;font-weight:600}

/* Шапка */
.header{background:var(--card);border-bottom:1px solid var(--line)}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:20px;padding-bottom:20px}
.header-left{display:flex;align-items:center;gap:48px}
.logo{font-size:22px;font-weight:700;letter-spacing:.06em;color:var(--blue);text-decoration:none}
.nav{display:flex;gap:28px;font-size:15px}
.nav a{color:var(--ink);text-decoration:none} .nav a.active{font-weight:600} .nav a:hover{color:var(--blue)}
.header-right{display:flex;align-items:center;gap:24px}
.header-contacts{display:flex;flex-direction:column;align-items:flex-end}
.header-phone{font-size:17px;font-weight:600;color:var(--ink);text-decoration:none;font-variant-numeric:tabular-nums}
.header-mail{font-size:13px;color:var(--muted);text-decoration:none}
.header .btn{font-size:15px;padding:14px 22px}

/* Хлебные крошки */
.crumbs{padding-top:24px;font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px}
.crumbs a{color:var(--muted)} .crumbs span:last-child{color:var(--ink)}

/* Главный блок */
.hero{padding-top:28px;display:flex;gap:56px}
.hero-photo{width:560px;height:420px;flex-shrink:0;background:var(--photo);border:1px dashed var(--dash);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:15px;text-align:center;padding:24px;overflow:hidden}
.hero-photo.has-img{border:1px solid var(--line);padding:0;background:var(--card)}
.hero-photo img{width:100%;height:100%;object-fit:contain;display:block}
/* крупное фото раздела заполняет рамку целиком, мелкое остаётся в своём размере и не мылится */
.hero-photo.has-img.fit-cover img{object-fit:cover}
.hero-body{flex-grow:1;display:flex;flex-direction:column;gap:22px;min-width:0}
.hero h1{font-size:44px;line-height:1.1;font-weight:700}
.lead{font-size:18px;line-height:1.55;color:var(--text);max-width:62ch}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fact{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:16px 18px}
.fact-k{font-size:13px;color:var(--muted)} .fact-v{font-size:16px;font-weight:600;margin-top:4px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.expert{display:flex;align-items:center;gap:14px;padding-top:8px;font-size:15px;line-height:1.4}
.expert-ava{width:48px;height:48px;border-radius:50%;background:var(--blue-soft);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--text);flex-shrink:0}
.expert b{font-weight:600} .expert small{color:var(--muted);font-size:15px}

/* Блок выбора */
.choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.choice.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.choice-item{padding:28px;display:flex;gap:20px}
.step-n{width:56px;height:56px;flex-shrink:0;border-radius:8px;background:var(--ink);color:var(--card);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700}
.step-n.blue{background:var(--blue);color:var(--on-blue)}
.choice-t{font-size:20px;font-weight:600}
.choice-d{font-size:15px;line-height:1.55;color:var(--text);margin-top:8px}
.choice-d ul{margin:8px 0 0;padding-left:18px} .choice-d li+li{margin-top:4px}
.choice-link{display:inline-block;margin-top:10px;font-weight:600;font-size:15px}

/* Таблица позиций */
.stock-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.stock-sub{margin-top:6px;font-size:15px;color:var(--muted)}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pill{font-family:inherit;font-size:14px;font-weight:600;padding:10px 18px;border-radius:999px;cursor:pointer;min-height:44px;background:var(--card);color:var(--ink);border:1.5px solid var(--field)}
.pill.on{background:var(--blue);color:var(--on-blue);border-color:var(--blue)}
.stock{overflow-x:auto}
.stock-inner{min-width:900px}
.stock-row{display:grid;align-items:center;padding:12px 20px;border-top:1px solid var(--line-soft);font-size:15px;gap:8px;font-variant-numeric:tabular-nums}
.stock-row.th{background:var(--head);font-size:13px;font-weight:600;color:var(--text);padding:14px 20px;border-top:0}
.stock-row .name{display:flex;flex-direction:column} .stock-row .name b{font-weight:600}
.stock-row .sku{font-family:var(--mono);font-size:13px;color:var(--muted)}
.stock-row .qty{color:var(--ok);font-weight:500}
.stock-row .act{display:flex;justify-content:flex-end}
.tag{display:inline-block;font-size:13px;font-weight:600;padding:4px 10px;border-radius:4px;background:var(--head);color:var(--text)}
.tag.c1{background:var(--ink);color:var(--card)} .tag.c2{background:var(--blue-soft);color:var(--tag2-ink)}
.pick{font-family:inherit;font-size:14px;font-weight:600;padding:9px 16px;border-radius:6px;cursor:pointer;min-height:40px;background:var(--card);color:var(--blue);border:1.5px solid var(--blue);white-space:nowrap}
.pick.on{background:var(--blue);color:var(--on-blue)}
.stock-cell-label{display:none}
.basket{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:var(--strong);color:var(--on-strong);border-radius:10px;padding:18px 24px;margin-top:20px}
.basket b{font-weight:700}
.basket a{background:var(--on-strong);color:var(--strong);text-decoration:none;font-weight:600;font-size:15px;padding:12px 20px;border-radius:6px}

/* Советы + сопутствующие */
.tips-row{display:flex;gap:32px}
.tips{flex-grow:1;padding:32px;min-width:0}
.tips .h2{font-size:26px}
.tips-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:16px}
.tips-grid.n2,.tips-grid.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
.tip-t{font-size:17px;font-weight:600} .tip-d{font-size:15px;line-height:1.55;color:var(--text);margin-top:8px}
.related{width:400px;flex-shrink:0;background:var(--blue-bg);border-radius:10px;padding:32px;display:flex;flex-direction:column;gap:14px}
.related h2{font-size:22px;font-weight:700} .related a{font-size:16px;font-weight:500}
.related p{margin-top:6px;font-size:14px;line-height:1.5;color:var(--text)}

/* Документы */
.docs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.doc{padding:22px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:10px}
.doc:hover{border-color:var(--blue);color:var(--ink)}
.doc svg{stroke:var(--blue)}
.doc b{font-size:16px;font-weight:600} .doc small{font-size:13px;color:var(--muted)}

/* Форма КП */
.request{border-radius:12px;padding:40px;display:flex;gap:56px}
.request-intro{width:380px;flex-shrink:0;display:flex;flex-direction:column;gap:14px}
.request-intro p{font-size:16px;line-height:1.55;color:var(--text)} .request-intro p.muted{font-size:15px;color:var(--muted)}
.form{flex-grow:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.form input[type=text],.form input[type=tel],.form input[type=email],.form textarea{height:46px;border:1px solid var(--field);border-radius:6px;padding:0 12px;font-size:15px;font-family:inherit;width:100%;background:var(--card);color:var(--ink)}
.form textarea{height:110px;padding:10px 12px;resize:vertical}
.form .wide{grid-column:span 2}
.form .file{flex-direction:row;align-items:center;gap:12px;border:1px dashed var(--dash);border-radius:6px;padding:16px;font-size:15px;color:var(--text);font-weight:400;cursor:pointer}
.form .file svg{stroke:var(--blue);flex-shrink:0}
.form .file input{display:none}
.form .agree{flex-direction:row;align-items:center;gap:10px;font-weight:400;color:var(--text)}
.form .agree input{width:18px;height:18px}
.picked-list{background:var(--blue-bg);border-radius:6px;padding:12px 16px;font-size:14px;color:var(--text)}
.form-note{font-size:14px;color:var(--ok)}

/* Подвал */
.footer{background:var(--strong);color:var(--on-strong-muted);font-size:14px;line-height:1.6}
.footer .wrap{display:flex;justify-content:space-between;gap:24px;padding-top:36px;padding-bottom:36px}
.footer b{color:var(--on-strong);font-weight:700;letter-spacing:.06em}
.footer a{color:inherit;text-decoration:none}
.footer .right{text-align:right}

/* Оглавление превью */
.cat-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:24px}
.cat-item{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);overflow:hidden}
.cat-item:hover{border-color:var(--blue);color:var(--ink)}
.cat-img{aspect-ratio:4/3;background:var(--photo);display:flex;align-items:center;justify-content:center;max-width:100%}
.cat-img img{width:100%;height:100%;object-fit:contain;display:block;background:var(--card)}
.cat-body{padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.cat-body b{font-weight:600;font-size:16px}
.cat-body small{color:var(--muted);font-size:14px}

/* Планшет */
@media (max-width:1200px){
  :root{--pad:40px}
  .hero{gap:32px} .hero-photo{width:44%;height:auto;aspect-ratio:4/3}
  .hero h1{font-size:36px}
  .nav{gap:18px}
  .tips-grid,.tips-grid.n2,.tips-grid.n4{grid-template-columns:1fr}
  .related{width:320px}
  .docs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .choice.n3{grid-template-columns:1fr}
  .request{gap:32px} .request-intro{width:300px}
}
@media (max-width:980px){
  .nav{display:none}
  .hero{flex-direction:column} .hero-photo{width:100%}
  .tips-row{flex-direction:column} .related{width:auto}
  .request{flex-direction:column} .request-intro{width:auto}
  .stock{overflow:visible} .stock-inner{min-width:0}
  .stock-row.th{display:none}
  .stock-row{grid-template-columns:1fr 1fr !important;padding:16px 20px}
  .stock-row>div{display:flex;flex-direction:column;min-width:0}
  .stock-row .name,.stock-row .act{grid-column:span 2}
  .stock-row .act{justify-content:stretch} .stock-row .act .pick{width:100%}
  .stock-cell-label{display:block;font-size:12px;color:var(--muted)}
}
/* Телефон */
@media (max-width:640px){
  :root{--pad:16px}
  .section{padding-bottom:40px}
  .h2{font-size:24px}
  .header .wrap{gap:12px;padding-top:14px;padding-bottom:14px}
  .header-contacts .header-mail{display:none}
  .header .btn{display:none}
  .logo{font-size:18px}
  .hero h1{font-size:30px}
  .lead{font-size:16px}
  .facts{gap:8px} .fact{padding:12px 14px} .fact-v{font-size:15px}
  .hero-actions .btn{width:100%}
  .choice,.choice.n3{grid-template-columns:1fr} .choice-item{padding:20px}
  .tips,.related{padding:24px}
  .docs{grid-template-columns:1fr}
  .request{padding:24px}
  .form{grid-template-columns:1fr} .form .wide{grid-column:span 1}
  .form .btn{width:100%}
  .footer .wrap{flex-direction:column} .footer .right{text-align:left}
}
@media (prefers-reduced-motion: reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Подсветка мест, которые нужно заполнить: [так] */
.ph{background:var(--warn-bg);color:var(--warn-ink);border-radius:3px;padding:0 3px;font-weight:inherit}

/* Общие страницы сайта: главная, о компании, новости, видео, отзывы, контакты */
.page-title{font-size:40px;line-height:1.15;font-weight:700}
.home-hero{align-items:center}
.home-hero .hero-body{gap:24px}
.home-photo{width:480px;height:auto;aspect-ratio:4/3}
.about-photo{width:400px;height:auto;aspect-ratio:4/5}
.about-photo img{object-fit:cover}
.adv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.adv{padding:28px;display:flex;flex-direction:column;gap:8px}
.adv .choice-d{margin-top:0}
.why-list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.why-list li{background:var(--blue-bg);color:var(--ink);border-radius:999px;padding:8px 16px;font-size:15px;font-weight:500}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.news-item{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:var(--ink)}
.news-item:hover{border-color:var(--blue);color:var(--ink)}
.news-img{aspect-ratio:16/10;background:var(--photo);max-width:100%}
.news-img img{width:100%;height:100%;object-fit:cover;display:block}
.news-body{padding:18px 20px;display:flex;flex-direction:column;gap:8px}
.news-body time{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.news-body b{font-size:17px;font-weight:600;line-height:1.35}
.news-body p{font-size:15px;line-height:1.5;color:var(--text)}
.about-text{display:flex;gap:40px;align-items:flex-start}
.prose{flex-grow:1;min-width:0;max-width:68ch;display:flex;flex-direction:column;gap:16px;font-size:17px;line-height:1.65;color:var(--text)}
.about-fig{margin:0;width:420px;flex-shrink:0;overflow:hidden}
.about-fig img{width:100%;display:block}
.about-fig figcaption{padding:12px 16px;font-size:14px;color:var(--muted)}
.offices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.office{padding:28px;display:flex;flex-direction:column;gap:8px}
.office h2,.office h3{margin:0;font-size:20px;font-weight:700}
.office p{color:var(--text)} .office p.muted{color:var(--muted);font-size:15px}
.office-full{gap:14px}
.office-row{display:flex;flex-direction:column;gap:2px;font-size:16px}
.office-row span{font-size:13px;color:var(--muted)}
.office-row b{font-weight:500}
.office-full .btn{align-self:flex-start;margin-top:6px}
.office-full .btn svg{stroke:currentColor}
.partners{padding:24px;display:flex;justify-content:center}
.partners img{max-height:420px;object-fit:contain}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.video-item{overflow:hidden;display:flex;flex-direction:column}
.video-item video{width:100%;aspect-ratio:16/9;background:var(--strong);display:block}
.video-ph{aspect-ratio:16/9;background:var(--strong);color:var(--on-strong);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-weight:600}
.video-ph svg{stroke:var(--on-strong)}
.video-ph:hover{color:var(--on-strong);background:var(--blue-hover)}
.video-body{padding:16px 20px;display:flex;flex-direction:column;gap:6px}
.video-body b{font-weight:600;font-size:16px}
.video-body a{font-size:14px}
.reviews-frame{overflow:hidden}
.reviews-frame iframe{width:100%;height:800px;border:0;display:block}
.reviews-ph{padding:32px;color:var(--text)}
.footer-nav{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px}
.footer-nav a{color:var(--on-strong-muted)} .footer-nav a:hover{color:var(--on-strong)}

@media (max-width:1200px){
  .home-photo{width:40%} .about-photo{width:36%}
  .about-text{flex-direction:column} .about-fig{width:100%;max-width:560px}
}
@media (max-width:980px){
  .home-photo,.about-photo{width:100%}
  .adv-grid,.news-grid,.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .offices{grid-template-columns:1fr}
}
@media (max-width:640px){
  .page-title{font-size:30px}
  .adv-grid,.news-grid,.video-grid{grid-template-columns:1fr}
  .adv,.office{padding:20px}
  .prose{font-size:16px}
  .reviews-frame iframe{height:600px}
}

/* Главная: коллаж из фото ключевых направлений */
.collage{width:520px;flex-shrink:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.collage-item{position:relative;display:block;aspect-ratio:4/3;background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden;text-decoration:none;max-width:100%}
.collage-item img{width:100%;height:100%;object-fit:contain;display:block}
.collage-item span{position:absolute;left:8px;bottom:8px;right:8px;background:var(--card);color:var(--ink);font-size:13px;font-weight:600;padding:4px 8px;border-radius:4px;opacity:.94}
.collage-item:hover{border-color:var(--blue)}
@media (max-width:1200px){ .collage{width:42%} }
@media (max-width:980px){ .collage{width:100%} }

/* Техподдержка и лаборатория */
.calc-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.calc-link{padding:28px;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink)}
.calc-link:hover{border-color:var(--blue);color:var(--ink)}
.calc-link b{font-size:20px;font-weight:700}
.calc-link span{color:var(--text);font-size:15px;line-height:1.55}
.calc-link em{font-style:normal;color:var(--blue);font-weight:600;margin-top:6px}
.lab-head{display:flex;gap:32px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.lab-head>div:first-child{min-width:0;flex:1 1 320px}
.lab-hero{flex:0 1 420px;aspect-ratio:16/9;background:var(--photo);border:1px dashed var(--dash);border-radius:10px;display:flex;align-items:center;justify-content:center;max-width:100%}
.lab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
.lab-test{display:flex;overflow:hidden}
.lab-photo{width:160px;flex-shrink:0;background:var(--photo);display:flex;align-items:center;justify-content:center;font-size:13px;text-align:center;padding:8px;border-right:1px solid var(--line)}
.lab-body{padding:22px 24px;display:flex;flex-direction:column;gap:8px;min-width:0}
.lab-body h3{margin:0;font-size:19px;font-weight:700}
.lab-body p{color:var(--text);font-size:15px;line-height:1.55}
.lab-body ul{margin:4px 0 0;padding-left:18px;font-size:14px;color:var(--text)} .lab-body li+li{margin-top:4px}
.lab-docs{margin-top:16px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.lab-docs b{font-size:17px} .lab-docs p{color:var(--text);font-size:15px;margin-top:4px}

/* Калькуляторы */
.calc-alert{margin-top:16px;background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--warn-ink);border-radius:8px;padding:14px 18px;font-size:14px;max-width:820px}
.calc-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}
.calc-card{padding:28px}
.calc-card h2{margin:0 0 16px;font-size:22px;font-weight:700}
.calc-card h3{margin:24px 0 12px;font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.calc-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.calc-field.wide{grid-column:1/-1}
.calc-field label{font-size:14px;font-weight:500;color:var(--text)}
.calc-field input,.calc-field select{width:100%;font:inherit;font-size:15px;padding:10px 12px;border:1px solid var(--field);border-radius:6px;background:var(--card);color:var(--ink);min-height:46px;font-variant-numeric:tabular-nums}
.calc-field input[readonly],.calc-field input:disabled{background:var(--head);color:var(--muted)}
.calc-hint{font-size:12px;color:var(--muted)}
.calc-check{display:flex!important;flex-direction:row;align-items:center;gap:10px;font-size:15px!important}
.calc-check input{width:20px;height:20px;min-height:0}
.calc-result{position:sticky;top:calc(env(safe-area-inset-top, 0px) + 16px)}
.calc-big{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.calc-big.one{grid-template-columns:1fr}
.calc-big>div{background:var(--blue-bg);border-radius:8px;padding:16px}
.calc-big span{display:block;font-size:13px;color:var(--muted)}
.calc-big b{display:block;font-size:30px;font-weight:700;color:var(--blue-hover);font-variant-numeric:tabular-nums;margin-top:2px}
.calc-big b small{font-size:15px;font-weight:500;color:var(--text)}
.calc-table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums;margin-top:8px}
.calc-table td{padding:8px 4px;border-bottom:1px solid var(--line-soft);vertical-align:top}
.calc-table td:last-child{text-align:right;white-space:nowrap;font-weight:600}
.calc-table .f{display:block;font-size:12px;color:var(--muted);font-weight:400;font-family:var(--mono)}
.calc-table tr.gov td{color:var(--blue)}
.calc-warns{margin:12px 0 16px;padding-left:18px;font-size:14px;color:var(--warn-ink)}
.calc-warns:empty{display:none}
.calc-warns li+li{margin-top:4px}
.calc-method{margin-top:40px;max-width:900px}
.calc-method ul{margin:16px 0 0;padding-left:18px;font-size:15px;line-height:1.6;color:var(--text)}
.calc-method li+li{margin-top:8px}
.calc-method code{font-family:var(--mono);font-size:14px;background:var(--head);padding:1px 6px;border-radius:4px}

/* Подбор оборудования под задачу */
.pb-pakety{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.pb-paket{padding:24px;display:flex;flex-direction:column;gap:10px}
.pb-paket h3,.pb-tip h3{margin:0;font-size:19px;font-weight:700}
.pb-paket p,.pb-tip p{margin:0;color:var(--text);font-size:15px;line-height:1.55}
.pb-paket ul{margin:4px 0 0;padding-left:18px;color:var(--text);font-size:15px;line-height:1.6}
.pb-tipy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.pb-tip{padding:22px;display:flex;flex-direction:column;gap:8px}
.pb-mat{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-top:auto;padding-top:10px;border-top:1px solid var(--line-soft);font-size:14px}
.pb-mat span{color:var(--muted);width:100%}
.pb-mat a{font-weight:600}
.pb-neutral{padding:28px;display:flex;gap:28px;align-items:center;background:var(--blue-bg);border-color:var(--blue-soft)}
.pb-neutral .h2{font-size:24px;margin-bottom:10px}
.pb-neutral p{color:var(--text);font-size:15px;line-height:1.6;max-width:72ch}
.pb-neutral p+p{margin-top:8px}
.pb-neutral .btn{flex:none}
.pb-h3{margin:28px 0 12px;font-size:18px}
.pb-partnery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.pb-partner{padding:18px;display:flex;flex-direction:column;gap:4px}
.pb-partner small{color:var(--muted)} .pb-partner p{margin:6px 0 0;font-size:14px;color:var(--text)}
@media (max-width:980px){ .pb-pakety,.pb-tipy{grid-template-columns:1fr} .pb-neutral{flex-direction:column;align-items:flex-start} }
@media (max-width:640px){ .pb-neutral{padding:20px} .pb-neutral .btn{width:100%} }

/* Заметная полоса с калькулятором на странице товара */
.calc-cta-wrap{padding-bottom:32px}
.calc-cta{display:flex;align-items:center;gap:20px;padding:22px 26px;text-decoration:none;color:var(--ink);background:var(--blue-bg);border-color:var(--blue-soft)}
.calc-cta:hover{border-color:var(--blue);color:var(--ink)}
.calc-cta-ic{flex:none;width:56px;height:56px;border-radius:10px;background:var(--card);border:1px solid var(--blue-soft);display:flex;align-items:center;justify-content:center}
.calc-cta-ic svg{stroke:var(--blue)}
.calc-cta-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.calc-cta-body b{font-size:19px;font-weight:700}
.calc-cta-body span{font-size:15px;line-height:1.5;color:var(--text)}
.calc-cta em{margin-left:auto;font-style:normal;font-weight:600;color:var(--blue);white-space:nowrap}
@media (max-width:760px){
  .calc-cta{flex-wrap:wrap;gap:14px;padding:18px}
  .calc-cta-ic{width:44px;height:44px}
  .calc-cta-body b{font-size:17px}
  .calc-cta em{margin-left:0;width:100%}
}

/* Образцы цветов ламели: квадратики рядом с выбором цвета */
.zh-sw{display:block;width:100%;height:100%;border-radius:4px}
.zh-sw-same{background:repeating-linear-gradient(45deg,#d7dde2 0 4px,#eef1f3 4px 8px)}
/* выбор цвета: образец виден и в закрытой строке, и внутри списка */
.zh-pick{position:relative;border:1px solid var(--field);border-radius:6px;background:var(--card)}
.zh-pick[open]{border-color:var(--blue)}
.zh-pick summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 36px 8px 10px;cursor:pointer;list-style:none;font-size:15px}
.zh-pick summary::-webkit-details-marker{display:none}
.zh-pick summary::after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;margin-top:-6px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg)}
.zh-pick[open] summary::after{transform:rotate(225deg);margin-top:-2px}
.zh-pick summary .zh-sw{width:26px;height:26px;flex:none;border:1px solid var(--line)}
.zh-pick-val{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zh-pick-list{max-height:280px;overflow-y:auto;border-top:1px solid var(--line-soft);padding:6px}
.zh-pick-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:6px;background:none;font:inherit;font-size:15px;color:var(--ink);cursor:pointer;text-align:left;min-height:44px}
.zh-pick-item .zh-sw{width:26px;height:26px;flex:none;border:1px solid var(--line)}
.zh-pick-item:hover{background:var(--head)}
.zh-pick-item.on{background:var(--blue-bg);font-weight:600}
/* палитра на странице товара */
.pal{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:16px}
.pal-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:8px}
.pal-sw{width:34px;height:34px;flex:none;border-radius:6px;border:1px solid var(--line)}
.pal-item b{display:block;font-size:14px;font-weight:600}
.pal-item small{display:block;font-size:12px;color:var(--muted);font-family:var(--mono)}
.pal-note{margin-top:12px;font-size:14px;color:var(--muted)}

/* Бланк заказа в том виде, в каком он уходит менеджеру */
.zh-blank-box{margin-top:14px;border:1px solid var(--line);border-radius:8px;background:var(--card);padding:10px 14px}
.zh-blank-box>div{margin-top:4px}
.zh-blank-box summary{cursor:pointer;font-weight:600;font-size:15px;min-height:28px}
.zh-blank-box[open] summary{margin-bottom:10px}
.zh-blank-box>div{overflow-x:auto}
.zh-blank{border-collapse:collapse;font-size:12px;min-width:720px;background:#fff;color:#14202b}
.zh-blank td{border:1px solid #9aa5ae;padding:4px 6px;vertical-align:middle}
.zh-blank .c{text-align:center}
.zh-blank .r{text-align:right}
.zh-blank small{color:#56606a;font-size:11px}
.zh-blank-head{text-align:center;border:0!important;padding-bottom:2px!important}
.zh-blank-title{text-align:center;font-size:14px;border:0!important;padding:6px 0 10px!important}
.zh-blank-zak{background:#eef1f3}
.zh-blank-th{background:#eef1f3;font-size:11px;text-align:center}
.zh-blank-itog{background:#e8f0f7}
.zh-blank-note{border:0!important;font-size:11px;color:#56606a;padding-top:8px!important}

/* Калькулятор жалюзи: строки бланка заказа */
.zh-row{border:1px solid var(--line);border-radius:10px;padding:16px;margin-top:14px;background:var(--card)}
.zh-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.zh-row-head b{font-size:15px}
.zh-del{font:inherit;font-size:13px;color:var(--muted);background:none;border:0;padding:6px 8px;min-height:36px;cursor:pointer;border-radius:6px}
.zh-del:hover{color:var(--ink);background:var(--head)}
.zh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.zh-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.zh-f label{font-size:14px;font-weight:500;color:var(--text)}
.zh-f input,.zh-f select{width:100%;font:inherit;font-size:15px;padding:10px 12px;border:1px solid var(--field);border-radius:6px;background:var(--card);color:var(--ink);min-height:46px;box-sizing:border-box;font-variant-numeric:tabular-nums}
.zh-add{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}

/* Главная: блок техподдержки */
.support-teaser{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:20px}

@media (max-width:1100px){ .calc-layout{grid-template-columns:1fr} .calc-result{position:static} }
@media (max-width:980px){ .lab-grid,.calc-links,.support-teaser{grid-template-columns:1fr} }
@media (max-width:640px){
  .calc-grid,.calc-big,.zh-grid{grid-template-columns:1fr}
  .calc-card{padding:20px}
  .lab-test{flex-direction:column} .lab-photo{width:100%;aspect-ratio:16/9;border-right:0;border-bottom:1px solid var(--line)}
}

/* Иллюстрация лаборатории (до появления настоящих фото) */
.lab-hero.has-art{border:1px solid var(--line);background:var(--blue-bg);position:relative;overflow:hidden;padding:0}
.lab-hero.has-art svg{width:100%;height:100%;display:block}
.lab-hero .art-note{position:absolute;left:10px;bottom:10px;font-size:12px}
/* фото показываем целиком, без обрезки (просьба владельца 19.10.2026) */
.lab-hero.has-foto{border:1px solid var(--line);padding:0;overflow:hidden;background:var(--card);flex:1 1 100%;aspect-ratio:auto}
.lab-hero.has-foto img{height:auto}
.lab-hero.has-foto img{width:100%;height:100%;object-fit:cover;display:block}
.lab-photo svg{width:96px;height:96px}
.lab-test-foto{flex-direction:column}
.lab-photo.has-foto{width:100%;padding:0;border-right:0;border-bottom:1px solid var(--line);aspect-ratio:auto;display:block}
.lab-photo.has-foto img{width:100%;height:auto;display:block}

/* Статьи */
.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.art-item{padding:24px;display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--ink)}
.art-item:hover{border-color:var(--blue);color:var(--ink)}
.art-item b{font-size:18px;font-weight:700;line-height:1.3;text-wrap:balance}
.art-item p{font-size:15px;line-height:1.55;color:var(--text)}
.art-item small{margin-top:auto;font-size:13px;color:var(--muted)}
.art-item.has-cover{padding-top:0;overflow:hidden;min-width:0;contain:inline-size}
.art-cover{display:block;width:calc(100% + 48px);max-width:none;margin:0 -24px 6px;aspect-ratio:16/9;object-fit:scale-down;padding:10px;box-sizing:border-box;background:#ffffff;border-bottom:1px solid var(--line)}
.art-fig{margin:6px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--card)}
.art-fig img{display:block;width:100%;max-height:440px;object-fit:scale-down;background:#ffffff}
.art-fig figcaption{padding:10px 14px;font-size:14px;color:var(--muted);line-height:1.45}
.art-faq{display:flex;flex-direction:column;gap:8px}
.art-faq details{border:1px solid var(--line);border-radius:8px;background:var(--card);padding:12px 16px}
.art-faq summary{cursor:pointer;font-weight:600;color:var(--ink);min-height:24px}
.art-faq details p{margin-top:8px}
.art p a,.art li a,.art-tip a,.art-faq a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.art-tag{align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--blue);background:var(--blue-bg);padding:4px 10px;border-radius:999px}
.art-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:start}
.art{max-width:72ch;min-width:0;display:flex;flex-direction:column;gap:16px;font-size:17px;line-height:1.7;color:var(--text)}
.art h1{font-size:40px;line-height:1.15;color:var(--ink);font-weight:700;margin-top:4px}
.art h2{font-size:24px;line-height:1.3;color:var(--ink);font-weight:700;margin:16px 0 0}
.art p{margin:0}
.art ul{margin:0;padding-left:22px} .art li+li{margin-top:8px}
.art-meta{font-size:14px;color:var(--muted)}
.art-lead{font-size:19px!important;line-height:1.6;color:var(--ink)!important}
.art-tip{background:var(--blue-bg);border-left:4px solid var(--blue);border-radius:0 8px 8px 0;padding:16px 20px;color:var(--ink);font-size:16px}
.art-table{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:var(--card)}
.art-table table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.45}
.art-table th,.art-table td{padding:10px 14px;border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:top}
.art-table thead th{background:var(--head);color:var(--ink);font-size:14px}
.art-table tbody th{color:var(--ink);font-weight:600}
.art-table tr:last-child th,.art-table tr:last-child td{border-bottom:0}
.har-table tbody th{width:50%;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere}
.har-metod{display:block;margin-top:2px;font-weight:400;font-size:13px;color:var(--muted)}
@media (max-width:480px){.har-table th,.har-table td{padding:10px 12px}}
.art-aside{position:sticky;top:calc(env(safe-area-inset-top, 0px) + 16px);display:flex;flex-direction:column;gap:16px}
.art-aside-box{padding:20px;display:flex;flex-direction:column;gap:10px}
.art-aside-box>b{font-size:16px}
.art-rel{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:15px;font-weight:500}
.art-rel:hover{color:var(--blue)}
.art-rel img,.art-rel-ic{width:56px;height:42px;object-fit:contain;background:var(--card);border:1px solid var(--line);border-radius:6px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.art-rel-ic svg{stroke:var(--blue)}
.art-aside-cta{background:var(--strong);color:var(--on-strong);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:10px}
.art-aside-cta p{color:var(--on-strong-muted);font-size:15px}
.calc-art{margin-top:16px;font-size:15px}

@media (max-width:1280px){ .header .btn{display:none} }
@media (max-width:1100px){ .art-layout{grid-template-columns:1fr} .art-aside{position:static} }
@media (max-width:980px){ .art-grid{grid-template-columns:1fr} }
@media (max-width:640px){ .art h1{font-size:30px} .art{font-size:16px} .art-lead{font-size:17px!important} }

/* Страница испытаний ETAG 002 */
.etag-facts{margin-top:24px;grid-template-columns:repeat(4,minmax(0,1fr))}
.etag-cols{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start}
.etag-cols .h2{color:var(--ink)}
.etag-note{padding:24px;display:flex;flex-direction:column;gap:8px;background:var(--blue-bg);border-color:var(--blue-soft)}
.etag-note b{font-size:17px} .etag-note p{color:var(--text);font-size:15px;line-height:1.6}
.etag-table{margin-top:16px}
.etag-table tbody th span{display:block;font-weight:400;font-size:13px;color:var(--muted);margin-top:2px}
.etag-table td{font-variant-numeric:tabular-nums;white-space:nowrap}
.etag-disc{margin-top:12px;font-size:14px;color:var(--muted)}
.faq-list{display:flex;flex-direction:column;gap:10px;margin-top:20px;max-width:900px}
.faq{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:0 20px}
.faq summary{cursor:pointer;padding:16px 0;font-weight:600;font-size:16px;list-style-position:outside}
.faq p{padding:0 0 16px;color:var(--text);font-size:15px;line-height:1.6}
.faq[open] summary{color:var(--blue)}
@media (max-width:1100px){ .etag-facts{grid-template-columns:repeat(2,minmax(0,1fr))} .etag-cols{grid-template-columns:1fr} }
@media (max-width:640px){ .etag-facts{grid-template-columns:1fr} .etag-table td{white-space:normal} }

/* Регистрация для доступа к калькуляторам */
.gate{margin-top:24px;padding:36px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:start}
.gate-intro{display:flex;flex-direction:column;gap:12px}
.gate-intro h2{margin:0;font-size:26px;line-height:1.25;font-weight:700;text-wrap:balance}
.gate-intro p{color:var(--text);font-size:16px;line-height:1.55} .gate-intro p.muted{color:var(--muted);font-size:14px}
.gate-intro ul{margin:0;padding-left:20px;color:var(--text);font-size:15px;line-height:1.6}
.gate-form select{height:46px;border:1px solid var(--field);border-radius:6px;padding:0 12px;font-size:15px;font-family:inherit;width:100%;background:var(--card);color:var(--ink)}
.gate-err{font-size:14px;color:var(--warn-ink);background:var(--warn-bg);border-radius:6px;padding:10px 14px}
.calc-result .gate{margin-top:0;grid-template-columns:1fr;padding:24px;gap:20px}
.user-bar{margin-top:20px;font-size:14px;color:var(--muted)}
@media (max-width:980px){ .gate{grid-template-columns:1fr;padding:24px;gap:24px} }

/* Предупреждение о рекомендательном характере расчёта */
.calc-note{margin:4px 0 16px;padding:12px 14px;border-radius:8px;background:var(--head);color:var(--text);font-size:14px;line-height:1.5}
.calc-note b{color:var(--ink)}

/* Рисунки товаров: единый стиль вместо разнородных фото */
.hero-photo.has-art{padding:0;border:1px solid var(--line);background:var(--blue-bg)}
.hero-photo.has-art svg,.cat-img svg,.collage-item svg{width:100%;height:100%;display:block}
.art-rel svg{width:56px;height:42px;border:1px solid var(--line);border-radius:6px;flex-shrink:0;display:block}

/* Сертификат эксклюзива Finotech */
.cert{padding:28px;display:grid;grid-template-columns:300px minmax(0,1fr);gap:36px;align-items:start}
.cert-scan{display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--card);max-width:100%}
.cert-scan img{width:100%;display:block}
.cert-scan.empty{aspect-ratio:210/297;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;font-size:14px;background:var(--photo);border-style:dashed}
.cert-body{display:flex;flex-direction:column;gap:12px;min-width:0}
.cert.cert-text{grid-template-columns:1fr}
.cert-body p{color:var(--text);font-size:16px;line-height:1.55;max-width:62ch}
.cert-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid var(--line-soft);font-size:15px}
.cert-row span{color:var(--muted)} .cert-row b{font-weight:500}
.cert-body .btn{align-self:flex-start;margin-top:8px}
.excl-wrap{padding-bottom:32px}
.excl{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;padding:18px 24px;text-decoration:none;color:var(--ink);background:var(--blue-bg);border-color:var(--blue-soft)}
.excl b{font-size:17px} .excl span{color:var(--text);font-size:15px} .excl em{font-style:normal;color:var(--blue);font-weight:600;margin-left:auto}
.excl:hover{border-color:var(--blue);color:var(--ink)}
@media (max-width:800px){ .cert{grid-template-columns:1fr} .cert-scan{max-width:320px} .cert-row{grid-template-columns:1fr;gap:2px} .excl em{margin-left:0} }

/* Страница новости */
.news-fig{margin:4px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#ffffff;max-width:520px}
.news-fig img{width:100%;display:block}
.art .hero-actions{margin-top:8px}

/* Счётчик посещений в подвале */
.counter{display:inline-block;margin-top:12px;line-height:0}
.counter img{width:88px;height:31px;border:0;display:block}
.counter-demo{display:inline-block;margin-top:12px;padding:6px 10px;border:1px dashed var(--on-strong-muted);border-radius:4px;font-size:12px;color:var(--on-strong-muted)}

/* Источники в статьях и аналитике */
.art-src{margin-top:8px;padding-top:16px;border-top:1px solid var(--line);font-size:14px}
.art-src b{color:var(--ink);font-size:15px}
.art-src ol{margin:8px 0 0;padding-left:20px} .art-src li+li{margin-top:4px}

/* Партнёры: ровная сетка логотипов. Плитки всегда белые: логотипы рассчитаны на белый фон */
.partners-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
.p-tile{background:#ffffff;border:1px solid var(--line);border-radius:8px;height:128px;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-decoration:none}
.p-tile img{max-width:80%;max-height:44px;object-fit:contain;display:block}
.p-tile.sq img{max-height:58px}
.p-tile span{font-size:12px;color:#56606a;text-align:center;line-height:1.3}
.p-main{grid-column:span 2;grid-row:span 2;height:auto;min-height:268px;border-color:var(--blue);gap:18px}
.p-main img{max-height:84px;max-width:70%}
.p-main span{font-size:15px;font-weight:600;color:#003d70;max-width:28ch}
.p-main:hover{box-shadow:0 0 0 2px var(--blue)}
@media (max-width:980px){ .partners-grid{grid-template-columns:repeat(2,minmax(0,1fr))} .p-main{grid-row:span 1;min-height:180px} }
@media (max-width:420px){ .p-tile{height:110px;padding:12px} }

/* Блок «О товаре» и вопросы в карточке */
.seo-about{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;align-items:start}
.seo-about .prose .h2{color:var(--ink);margin-bottom:4px}
.seo-faq .faq-list{margin-top:16px}
@media (max-width:980px){ .seo-about{grid-template-columns:1fr;gap:24px} }

/* Страница «Переход на силикон Finotech» */
.calc-links{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.perehod-steps{grid-template-columns:repeat(5,minmax(0,1fr))}
.perehod-steps .choice-item{flex-direction:column;gap:12px;padding:22px}
.pack-list{margin:0;padding-left:20px;color:var(--text);font-size:15px;line-height:1.6}
.pack-list li+li{margin-top:4px}
.form select.calc-select{height:46px;border:1px solid var(--field);border-radius:6px;padding:0 12px;font-size:15px;font-family:inherit;width:100%;background:var(--card);color:var(--ink)}
.excl-wrap{display:flex;flex-direction:column;gap:12px}
.excl-alt{background:var(--card)}
@media (max-width:1100px){ .perehod-steps{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:640px){ .perehod-steps{grid-template-columns:1fr} }

/* Шапка в две строки: крупный логотип с подписью, ниже полоса меню */
.header .wrap.header-top{display:flex;align-items:center;gap:32px;padding-top:18px;padding-bottom:18px}
.logo.logo-img{display:block;line-height:0;flex-shrink:0}
.logo.logo-img svg{height:48px;width:auto;display:block}
.header-tagline{margin:0;font-size:14px;line-height:1.4;color:var(--muted);max-width:34ch;padding-left:24px;border-left:1px solid var(--line)}
.header-top .header-right{margin-left:auto}
.header-nav{border-top:1px solid var(--line)}
.header-nav .nav{display:flex;gap:32px;font-size:15px;font-weight:500}
/* меню из 11 пунктов (25.10.2026, добавлено «Видео»): пункты распределяются по ширине, на средних экранах мельче; если не влезло, прокручивается само меню, а не страница */
.header-nav .nav{justify-content:space-between;gap:16px;overflow-x:auto;scrollbar-width:none}
.header-nav .nav::-webkit-scrollbar{display:none}
@media (max-width:1280px){ .header-nav .nav{font-size:14px;gap:14px} }
@media (max-width:1120px){ .header-nav .nav{font-size:13.5px;gap:8px} }
.header-nav .nav a{padding:14px 0;border-bottom:2px solid transparent;color:var(--ink);text-decoration:none;white-space:nowrap}
.header-nav .nav a:hover{color:var(--blue)}
.header-nav .nav a.active{border-bottom-color:var(--blue);color:var(--blue);font-weight:600}
.footer-logo{display:block;width:120px;margin-bottom:12px;line-height:0}
.footer-logo svg{width:120px;height:auto;display:block}
@media (max-width:1200px){ .header-tagline{display:none} }
@media (max-width:980px){
  .header-nav .nav{display:flex;gap:22px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .header-nav .nav::-webkit-scrollbar{display:none}
  .logo.logo-img svg{height:40px}
}
@media (max-width:640px){
  .header .wrap.header-top{gap:12px;padding-top:12px;padding-bottom:12px}
  .logo.logo-img svg{height:30px}
  .header-nav .nav{font-size:14px;gap:18px}
  .header-nav .nav a{padding:11px 0}
}
.header .header-nav .wrap{display:block;padding-top:0;padding-bottom:0}
@media (max-width:1280px) and (min-width:861px){ .header .header-top .btn{display:inline-flex} }
@media (max-width:860px){ .header .header-top .btn{display:none} }

/* партнёр без логотипа: название текстом, пока нет официального логотипа */
.p-name{font-size:22px;font-weight:700;letter-spacing:.02em;color:#14202b}

/* партнёры по буклету: Finotech на две колонки в одну строку, 10 плиток ровно в 3 ряда */
.p-main{grid-row:span 1;min-height:128px;height:128px;flex-direction:row;gap:24px}
.p-main img{max-height:56px;max-width:45%}
.p-main span{text-align:left}
@media (max-width:980px){ .p-main{flex-direction:column;height:auto;gap:12px} .p-main span{text-align:center} }

/* контакт отдела продаж вместо персонального специалиста */
.expert-ava svg{stroke:var(--blue)}
.expert small a{color:inherit}

/* юридические страницы */
.legal h2{font-size:20px}
.footer-legal{font-size:13px;opacity:.85}

/* Ассортимент герметиков */
.g-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.g-nav a{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-size:14px;font-weight:500;text-decoration:none;color:var(--ink)}
.g-nav a:hover{border-color:var(--blue);color:var(--blue)}
.g-group{margin-top:32px}
.g-group h3{margin:0;font-size:22px;font-weight:700}
.g-intro{margin-top:8px;color:var(--text);font-size:15px;line-height:1.6;max-width:80ch}
.g-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.g-item{display:flex;gap:20px;padding:20px;align-items:flex-start}
.g-img{width:150px;flex-shrink:0;aspect-ratio:4/3;background:#ffffff;border:1px solid var(--line);border-radius:6px;overflow:hidden;max-width:100%}
.g-img img{width:100%;height:100%;object-fit:contain;display:block}
.g-body{display:flex;flex-direction:column;gap:8px;min-width:0}
.g-body b{font-size:18px}
.g-tags{display:flex;flex-wrap:wrap;gap:6px}
.g-body p{margin:0;font-size:14px;line-height:1.55;color:var(--text)}
.g-adv summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--blue)}
.g-adv ul{margin:8px 0 0;padding-left:18px;font-size:14px;color:var(--text)} .g-adv li+li{margin-top:3px}
.g-body .pick{align-self:flex-start;margin-top:4px}
@media (max-width:1100px){ .g-grid{grid-template-columns:1fr} }
@media (max-width:560px){ .g-item{flex-direction:column} .g-img{width:100%} }

/* Документы по маркам герметиков */
.docs-sub{margin:28px 0 0;font-size:20px;font-weight:700}
.docs-table{margin-top:14px}
.docs-table tbody th span{display:block;font-weight:400;font-size:12px;color:var(--muted)}
.docs-table td{white-space:nowrap}
.docs-table td a{font-weight:600}
.doc-req{font-family:inherit;font-size:13px;font-weight:600;padding:6px 12px;border-radius:6px;cursor:pointer;background:var(--card);color:var(--blue);border:1.5px solid var(--blue)}
.doc-req.on{background:var(--blue);color:var(--on-blue)}

/* Герметики: один список марок с раскрытием */
#assort .pills{margin-bottom:16px}
.g-list{display:flex;flex-direction:column;gap:8px}
.g-row{padding:0;overflow:hidden}
.g-row summary{list-style:none;display:grid;grid-template-columns:64px minmax(0,1.1fr) minmax(0,1.6fr) auto auto;align-items:center;gap:16px;padding:10px 16px;cursor:pointer}
.g-row summary::-webkit-details-marker{display:none}
.g-row[open] summary{border-bottom:1px solid var(--line-soft)}
.g-row:hover{border-color:var(--blue)}
.g-thumb{width:64px;height:48px;background:#ffffff;border:1px solid var(--line);border-radius:6px;overflow:hidden;display:block}
.g-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.g-name{display:flex;flex-direction:column;min-width:0}
.g-name b{font-size:16px} .g-name small{font-size:12px;color:var(--muted)}
.g-row .g-tags{display:flex;flex-wrap:wrap;gap:6px}
.g-more{font-size:13px;font-weight:600;color:var(--blue);white-space:nowrap}
.g-more::after{content:" ▾"} .g-row[open] .g-more::after{content:" ▴"}
.g-detail{display:flex;gap:24px;padding:20px 24px}
.g-detail-img{width:200px;flex-shrink:0;aspect-ratio:4/3;background:#ffffff;border:1px solid var(--line);border-radius:6px;overflow:hidden;max-width:100%}
.g-detail-img img{width:100%;height:100%;object-fit:contain;display:block}
.g-detail-body{min-width:0;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.55;color:var(--text)}
.g-detail-body p{margin:0}
.g-detail-body ul{margin:0;padding-left:18px} .g-detail-body li+li{margin-top:3px}
.g-h{color:var(--ink);font-size:15px;margin-top:6px}
.g-docs{display:flex;flex-wrap:wrap;gap:8px}
.g-note{font-size:13px;color:var(--muted)}
.doc-link{font-size:13px;font-weight:600}
.g-related{margin-top:14px;font-size:15px;color:var(--text)}
@media (max-width:900px){
  .g-row summary{grid-template-columns:56px minmax(0,1fr) auto;gap:12px}
  .g-row .g-tags,.g-more{display:none}
  .g-detail{flex-direction:column} .g-detail-img{width:100%;max-width:320px}
}
.calc-actions{display:flex;flex-wrap:wrap;gap:10px}

/* Страница марки герметика */
.g-link{color:inherit;text-decoration:none} .g-link:hover b{color:var(--blue);text-decoration:underline}
.g-page{font-size:14px;font-weight:600;margin-top:4px}
.g-page-text{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;align-items:start}
.g-page-text .prose .h2{color:var(--ink)}
.g-adv-card{padding:24px}
.g-adv-card .h2{font-size:22px}
.g-adv-card ul{margin:12px 0 0;padding-left:20px;color:var(--text);font-size:15px;line-height:1.6} .g-adv-card li+li{margin-top:4px}
.doc-req-card{font:inherit;text-align:left;cursor:pointer;color:var(--ink)}
.doc-req-card.on{border-color:var(--blue);background:var(--blue-bg)}
.g-others{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.g-other{display:flex;align-items:center;gap:12px;padding:12px;text-decoration:none;color:var(--ink)}
.g-other:hover{border-color:var(--blue);color:var(--ink)}
.g-other b{display:block;font-size:15px} .g-other small{font-size:12px;color:var(--muted)}
@media (max-width:980px){ .g-page-text{grid-template-columns:1fr} .g-others{grid-template-columns:1fr} }
.g-group-nav{margin-top:20px} .g-group-nav a.pill{text-decoration:none;display:inline-flex;align-items:center}
.g-groups-links{margin:-4px 0 16px;font-size:14px;color:var(--muted)}
/* страницы марок разделов (brands-data.js) */
.g-page-text.solo{display:block;max-width:820px}
.b-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.b-model{display:flex;gap:16px;padding:16px;align-items:flex-start}
.b-model-img{flex:0 0 120px;height:120px;border-radius:10px;overflow:hidden;background:#fff}
.b-model-img img{width:100%;height:100%;object-fit:contain;display:block}
.b-model h3{margin:0 0 6px;font-size:17px;color:var(--ink)}
.b-model p{margin:0;color:var(--text);font-size:15px;line-height:1.55}
.b-model ul{margin:8px 0 0;padding-left:18px;color:var(--text);font-size:14px;line-height:1.55}
@media (max-width:980px){ .b-models{grid-template-columns:1fr} }
@media (max-width:520px){ .b-model{flex-direction:column} .b-model-img{flex-basis:auto;width:100%;height:180px} }
/* компактный вид раздела */
.c-list{display:grid;gap:8px;margin-top:16px}
.c-row{display:flex;align-items:center;gap:16px;padding:12px 16px}
.c-name{flex:0 0 280px;display:flex;flex-direction:column;gap:2px;color:var(--ink)}
.c-name small{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted)}
.c-row .g-tags{flex:1;display:flex;flex-wrap:wrap;gap:6px}
.c-row .pick{margin-left:auto}
.c-tips{margin-top:16px;padding:14px 18px}
.c-tips summary{cursor:pointer;font-weight:600;color:var(--ink)}
.c-tips ul{margin:10px 0 0;padding-left:20px;color:var(--text);line-height:1.6}
@media (max-width:720px){ .c-row{flex-wrap:wrap} .c-name{flex-basis:100%} }
/* уведомление о cookie */
.cookie-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:760px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:14px 18px;background:var(--card,#fff);color:var(--text);border:1px solid var(--line,#d9dee5);border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.14)}
.cookie-bar p{margin:0;font-size:14px;line-height:1.5}
.cookie-bar .btn{flex:none}
@media (max-width:560px){ .cookie-bar{flex-direction:column;align-items:stretch;bottom:8px;left:8px;right:8px} }
/* телефон: поля формы и калькуляторов не шире экрана (проверка 2026-10-03, ширина 390 px) */
.form{grid-template-columns:repeat(2,minmax(0,1fr))}
.form > *,.form label,.form input,.form select,.form textarea,.calc-field,.calc-field input,.calc-field select{min-width:0;max-width:100%;box-sizing:border-box}
@media (max-width:760px){ .form{grid-template-columns:minmax(0,1fr)} }
.form .agree .agree-text{min-width:0;flex:1}
/* телефон: длинные слова в заголовках переносятся, ссылка в плашке превью не раздвигает страницу */
h1,h2,h3,.page-title{overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
.preview-bar a{overflow-wrap:anywhere}
body{overflow-wrap:break-word}
.fact-v,.fact-k{hyphens:auto;-webkit-hyphens:auto}
.header-phone,.footer a[href^="tel:"]{white-space:nowrap}
@media (max-width:420px){ .header-phone{font-size:16px} }
@media (max-width:400px){ .logo.logo-img svg{height:24px} .header-phone{font-size:14px} .header .wrap.header-top{gap:10px} }
@media (max-width:340px){ .logo.logo-img svg{height:20px} .header-phone{font-size:13px} }
@media (max-width:560px){ .cookie-bar{padding:10px 12px;gap:8px} .cookie-bar p{font-size:12.5px;line-height:1.4} .cookie-bar .btn{min-height:40px;padding:8px 14px} }
/* таблицы протокола испытаний: на телефоне каждая строка карточкой со всеми значениями */
.etag-cards b.ok{color:#1e7a3c}
@media (max-width:640px){
  .etag-cards{overflow:visible}
  .etag-cards table,.etag-cards tbody,.etag-cards tr,.etag-cards th,.etag-cards td{display:block;width:auto}
  .etag-cards thead{display:none}
  .etag-cards tr{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-bottom:10px;background:var(--card)}
  .etag-cards th{padding:0 0 6px;border:0}
  .etag-cards td{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border:0;text-align:right}
  .etag-cards td::before{content:attr(data-l);color:var(--muted);text-align:left}
}
@media (prefers-color-scheme:dark){ .etag-cards b.ok{color:#5fd08a} }
/* распродажа */
.sale-price{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto;text-align:right;color:var(--text);font-size:14px;white-space:nowrap}
.sale-price b{font-size:18px;color:var(--ink)}
.sale-price small{color:var(--muted);font-size:12px}
.sale-row .pick{margin-left:16px}
@media (max-width:720px){ .sale-price{align-items:flex-start;text-align:left;margin-left:0;flex:1} .sale-row .pick{margin-left:auto} }
/* плашка марки герметика без фото */
.noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:72px;padding:10px;text-align:center;font-size:13px;font-weight:600;color:var(--muted);background:var(--head);border-radius:8px;box-sizing:border-box}
.hero-photo .noimg{min-height:220px;font-size:18px}
.g-detail-img .noimg{min-height:160px}
/* объекты с герметиками Finotech */
.obj-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}
.obj-card{padding:0;overflow:hidden}
.obj-img{position:relative;aspect-ratio:3/2;background:var(--head)}
.obj-img img{width:100%;height:100%;object-fit:cover;display:block}
.obj-num{position:absolute;left:8px;top:8px;width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;font-weight:700;font-size:14px;border-radius:6px}
.obj-cap{padding:10px 12px}
.obj-cap b{display:block;font-size:14px;color:var(--ink);line-height:1.3}
.obj-cap small{color:var(--muted);font-size:12px}
@media (max-width:860px){ .obj-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:420px){ .obj-grid{grid-template-columns:1fr} }
/* членство в Фасадном союзе */
.member{display:flex;align-items:center;gap:28px;padding:24px}
.member img{width:140px;height:140px;object-fit:contain;flex:none}
.member p{color:var(--text);line-height:1.6;margin:8px 0 0;max-width:60ch}
@media (max-width:560px){ .member{flex-direction:column;text-align:center;gap:16px} .member img{width:120px;height:120px} }
.member h2{hyphens:manual;-webkit-hyphens:manual}

/* страница «Калькуляторы» (23.10.2026) */
.kh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.kh-card{padding:24px;display:flex;flex-direction:column;gap:10px;min-width:0}
.kh-card .h2{font-size:21px;margin:2px 0 0}
.kh-card .art-tag{align-self:flex-start}
.kh-d{margin:0;color:var(--text)}
.kh-dl{margin:0 0 6px;font-size:15px;line-height:1.5}
.kh-dl dt{font-weight:600;color:var(--ink);margin-top:8px}
.kh-dl dd{margin:2px 0 0;color:var(--text)}
.kh-card .btn{margin-top:auto;align-self:flex-start}
@media (max-width:980px){.kh-grid{grid-template-columns:1fr}}

/* кнопка «Показать все позиции» под длинной таблицей (23.10.2026) */
.stock-more-wrap{display:flex;justify-content:center;padding:16px 0 4px}
/* калькулятор швов структурного остекления по образцу Sika (25.10.2026) */
.ks-glass{display:flex;flex-direction:column;gap:8px}
.ks-pane{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px}
.ks-pl{font-size:18px;width:20px}
.ks-pane select,.ks-in input{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--card);color:var(--ink)}
.ks-in{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
.ks-in input{width:96px}
.ks-gap{margin-left:32px}
.ks-sup{font-size:14px}
.ks-size{display:flex;gap:10px;align-items:flex-end;margin-bottom:8px}
.ks-del{padding:8px 12px;min-height:40px}
.ks-add{margin:4px 0 8px}
.ks-svg svg{width:100%;max-width:380px;display:block;margin:0 auto}
.ks-gl{fill:#a9c6e2;stroke:#5b7fa3;stroke-width:1}
.ks-spc{fill:#6b7280}.ks-blk{fill:#374151}
.ks-yel{fill:#f2b630;stroke:#b07d0e}.ks-off{opacity:.25}
.ks-red{fill:#d23c3c;stroke:#8f1f1f}
.ks-prof{fill:#cfd3d8;stroke:#7b8189}
.ks-dim{stroke:currentColor;stroke-width:1;fill:none}
.ks-l{font-size:12px;font-weight:600;fill:currentColor}
.ks-lr{font-size:12px;font-weight:600;fill:#c62828}.ks-ly{font-size:12px;font-weight:600;fill:#a26b00}
.ks-res td,.ks-res th{text-align:center}
.ks-d ul{margin:6px 0 0;padding-left:18px;font-size:14px}
@media (max-width:480px){.ks-in input{width:80px}.ks-gap{margin-left:0}}
/* калькулятор швов: логотип Finotech, доступ к отчёту, отчёт и печать (25.10.2026) */
.ks-brand{display:flex;align-items:center;gap:14px;margin:14px 0 4px;font-size:15px;color:var(--text);max-width:820px}
.ks-logo{display:inline-flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;padding:6px 10px;flex:0 0 auto}
.ks-logo img{height:28px;width:auto;display:block}
.ks-gate{border:1px solid var(--line);border-radius:10px;padding:16px;margin:14px 0;background:var(--card)}
.ks-gate h3{margin:0 0 6px}.ks-gate p{margin:0 0 10px}
.ks-gate.ok p{margin-bottom:8px}
.ks-report{margin-top:20px;padding:24px}
.ks-report h3{margin:18px 0 8px}
.ks-rh{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ks-rl1{height:34px;width:auto}
.ks-rm{color:var(--muted);font-size:14px}
.ks-rt{border-collapse:collapse;width:100%;font-size:14px}
.ks-rt th,.ks-rt td{text-align:left;vertical-align:top;padding:6px 8px;border-bottom:1px solid var(--line-soft)}
.ks-rt th{width:34%;color:var(--muted);font-weight:500}
.ks-dblock{margin:0 0 10px}.ks-dblock ul{margin:4px 0 0;padding-left:18px;font-size:14px}
@media (max-width:480px){.ks-brand{flex-direction:column;align-items:flex-start}.ks-report{padding:16px}}
@media print{
  body.ks-printing *{visibility:hidden}
  body.ks-printing #ks-report,body.ks-printing #ks-report *{visibility:visible}
  body.ks-printing #ks-report{position:absolute;left:0;top:0;width:100%;border:0;box-shadow:none;color:#000;background:#fff}
  body.ks-printing .ks-noprint{display:none}
}

/* таблицы «что предлагаем» на страницах решений и проектировщикам: на телефоне строка становится карточкой (25.10.2026) */
@media (max-width:600px){
  .resh-table table,.resh-table tbody,.resh-table tr,.resh-table th,.resh-table td{display:block;width:auto}
  .resh-table thead{display:none}
  .resh-table tr{padding:10px 0;border-bottom:1px solid var(--line-soft)}
  .resh-table tr:last-child{border-bottom:0}
  .resh-table th,.resh-table td{border:0;padding:3px 14px}
  .resh-table td{font-size:14px;color:var(--text)}
}
/* лаборатория: нечётная последняя карточка (5-я, соляной туман) на компьютере во всю ширину, фото слева (25.10.2026) */
@media (min-width:981px){
  .lab-grid > .lab-test:last-child:nth-child(odd){grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;align-items:center}
}
.ks-eng{font-weight:600;color:var(--warn-ink);font-size:13px;line-height:1.3;display:inline-block}
/* картинка узла структурного шва в правом верхнем углу карточки «Исходные данные» (25.10.2026) */
.sg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.sg-head h2{margin-top:4px;hyphens:none;-webkit-hyphens:none;overflow-wrap:normal}
.sg-pic{margin:0;flex:0 0 auto;width:200px;line-height:0}
.sg-pic svg{width:100%;height:auto;display:block;filter:drop-shadow(0 4px 10px rgba(30,60,90,.10))}
@media (max-width:640px){.sg-pic{width:112px}}

/* группы герметиков плитками вверху страницы герметиков (26.10.2026) */
.gt-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.gt-item{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);overflow:hidden;transition:box-shadow .15s,transform .15s}
.gt-item:hover{box-shadow:0 6px 18px rgba(20,40,70,.12);transform:translateY(-2px)}
.gt-img{display:block;position:relative;height:0;padding-top:75%;overflow:hidden;background:#f3f5f7;line-height:0}
.gt-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:10px;box-sizing:border-box}
.gt-img .noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;height:100%;font-size:13px;color:var(--muted);line-height:1.3;text-align:center;padding:8px}
.gt-body{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px}
.gt-body b{font-size:16px;line-height:1.3;color:var(--blue);hyphens:auto;-webkit-hyphens:auto;overflow-wrap:normal;word-break:normal}
.gt-body small{font-size:13px;line-height:1.4;color:var(--muted)}
.gt-body em{font-style:normal;font-size:13px;line-height:1.4;color:var(--ink)}
@media (max-width:900px){.gt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media (max-width:400px){.gt-body{padding:10px}.gt-body b{font-size:15px}}
.gt-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 4px}
.gt-chips a{display:inline-block;padding:7px 12px;border:1px solid var(--blue);border-radius:999px;font-size:14px;line-height:1.2;color:var(--blue);text-decoration:none;background:#fff}
.gt-chips a:hover{background:var(--blue);color:#fff}
@media (max-width:640px){.gt-chips{gap:6px}.gt-chips a{font-size:13px;padding:6px 10px}}
/* страница герметиков на телефоне: сначала заголовок и группы, фото ниже (26.10.2026) */
@media (max-width:640px){ .hero-germ .hero-photo{order:2} }
/* плитки групп герметиков в каталоге: фото товара на светлом фоне целиком (26.10.2026) */
.cat-germ .cat-img{background:#f3f5f7}
.cat-germ .cat-img img{object-fit:contain;padding:12px;box-sizing:border-box}
/* калькулятор структурного шва: подробный расчёт и отчёт после регистрации (26.10.2026) */
.sg-det-h{margin:16px 0 6px;font-size:15px}
@media print{
  body.sg-printing *{visibility:hidden}
  body.sg-printing #sg-report,body.sg-printing #sg-report *{visibility:visible}
  body.sg-printing #sg-report{position:absolute;left:0;top:0;width:100%;border:0;box-shadow:none;color:#000;background:#fff}
  body.sg-printing .ks-noprint{display:none}
}
/* объекты: карточка открывает окно с описанием и материалами (26.10.2026) */
.obj-open{display:block;text-decoration:none;color:inherit;transition:box-shadow .15s,transform .15s}
.obj-open:hover{box-shadow:0 6px 18px rgba(20,40,70,.14);transform:translateY(-2px)}
.obj-cap em{display:block;margin-top:4px;font-style:normal;font-size:12px;font-weight:600;color:var(--blue)}
body.obj-lock{overflow:hidden}
.obj-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px}
.obj-modal[hidden]{display:none}
.obj-modal-bg{position:absolute;inset:0;background:rgba(15,25,40,.62)}
.obj-modal-box{position:relative;background:var(--card,#fff);border-radius:14px;max-width:960px;width:100%;max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.obj-x{position:absolute;right:10px;top:10px;z-index:2;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:26px;line-height:1;cursor:pointer;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.obj-modal-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.obj-m-img{line-height:0;background:var(--head)}
.obj-m-img img{width:100%;height:100%;min-height:320px;object-fit:cover;display:block}
.obj-m-body{padding:24px 26px}
.obj-m-body h3{margin:0 40px 2px 0;font-size:22px;line-height:1.25}
.obj-m-city{margin:0 0 12px;color:var(--muted);font-size:14px}
.obj-m-body p{font-size:15px;line-height:1.55}
.obj-m-body h4{margin:18px 0 10px;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.obj-mats{display:grid;gap:10px}
.obj-mat{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink);background:#fff}
.obj-mat:hover{border-color:var(--blue)}
.obj-mat-img{flex:0 0 64px;height:64px;display:flex;align-items:center;justify-content:center;background:#f3f5f7;border-radius:8px;overflow:hidden}
.obj-mat-img img{max-width:100%;max-height:100%;object-fit:contain}
.obj-mat-logo img{max-width:54px}
.obj-mat b{display:block;font-size:15px;color:var(--blue)}
.obj-mat small{display:block;font-size:13px;color:var(--muted)}
.obj-m-note{font-size:13px!important;color:var(--muted);margin:10px 0 0}
.obj-m-act{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
@media (max-width:760px){
  .obj-modal{padding:0;align-items:stretch}
  .obj-modal-box{border-radius:0;max-height:none;height:100%}
  .obj-modal-in{grid-template-columns:1fr}
  .obj-m-img img{min-height:0;height:auto;aspect-ratio:3/2}
  .obj-m-body{padding:18px 16px 24px}
  .obj-m-body h3{font-size:20px}
}
