/* ===== Шрифты (самохостинг, SIL OFL) ===== */
/* Inter — переменный, 100–900 */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter/inter-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter/inter-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* запасной шрифт с метриками Inter, чтобы не дёргалась вёрстка до загрузки */
@font-face{font-family:"Inter Fallback";src:local("Arial");size-adjust:107.64%;ascent-override:90.2%;descent-override:22.48%;line-gap-override:0%}

/* ===== Logitex Market — публичный сайт ===== */
:root{
  --brand:#d8373e; --brand-dark:#b7252c; --brand-light:#fdecec;
  --ink:#1f2328; --ink-2:#4b5563; --muted:#6b7280; --line:#e5e7eb; --bg:#ffffff; --bg-2:#f6f7f9; --bg-3:#eef0f3;
  --ok:#1f9d55; --warn:#d97706; --dark:#23252b; --dark-2:#2c2b30;
  --r:12px; --r-sm:8px; --shadow:0 6px 24px rgba(16,24,40,.08); --shadow-lg:0 16px 48px rgba(16,24,40,.16);
  --font:Inter,"Inter Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --container:1280px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font);font-size:15px;line-height:1.55;color:var(--ink);background:var(--bg)}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{color:var(--brand)}
button{font:inherit;cursor:pointer}
input,select,textarea{font:inherit}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.25;font-weight:700}
.i{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.2em;flex:0 0 auto}
.lx-container{max-width:var(--container);margin:0 auto;padding:0 20px}
.lx-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.lx-hide-sm{display:inline-flex}
/* клавиатурный фокус виден всегда, мышью рамка не мешает */
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.lx-muted{color:var(--muted)}
.lx-h1{font-size:30px;margin:14px 0 18px;letter-spacing:-.01em}
.lx-h2{font-size:24px;margin:34px 0 16px}
.lx-lead{font-size:17px;color:var(--ink-2);max-width:800px;margin:-6px 0 22px}
.lx-link{background:none;border:0;padding:0;color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.lx-link-arrow{color:var(--brand);font-weight:600;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.lx-link-arrow:hover{color:var(--brand-dark)}
.lx-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* Кнопки */
.lx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:var(--r-sm);border:1px solid transparent;font-weight:600;font-size:14px;line-height:1.2;transition:.15s;white-space:nowrap;text-align:center}
.lx-btn--primary{background:var(--brand);color:#fff}
.lx-btn--primary:hover{background:var(--brand-dark);color:#fff}
.lx-btn--outline{background:#fff;color:var(--ink);border-color:var(--line)}
.lx-btn--outline:hover{border-color:var(--brand);color:var(--brand)}
.lx-btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.lx-btn--outline-light:hover{border-color:#fff;color:#fff}
.lx-btn--ghost{background:#fff;color:var(--brand)}
.lx-btn--ghost:hover{background:var(--brand-light)}
.lx-btn--sm{padding:7px 12px;font-size:13px}
.lx-btn--lg{padding:13px 24px;font-size:15px}
.lx-btn--block{width:100%}
.lx-btn[disabled]{opacity:.6;pointer-events:none}

/* ===== Шапка ===== */
.lx-header{position:relative;z-index:50;background:#fff}
.lx-topbar{background:var(--dark);color:#cfd2d8;font-size:13px}
.lx-topbar__in{display:flex;justify-content:space-between;align-items:center;min-height:36px;gap:16px}
.lx-topbar__left,.lx-topbar__right{display:flex;gap:18px;align-items:center}
.lx-topbar__item{display:inline-flex;align-items:center;gap:6px;color:#cfd2d8}
.lx-topbar__item:hover{color:#fff}
.lx-topbar__b2b{display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:600;background:rgba(255,255,255,.08);padding:4px 10px;border-radius:999px}
.lx-topbar__b2b:hover{background:var(--brand);color:#fff}
.lx-mainbar__in{display:flex;align-items:center;gap:24px;min-height:78px}
.lx-logo img{display:block;height:48px;width:auto;max-width:220px;object-fit:contain}
.lx-burger{display:none;width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:var(--r-sm);flex-direction:column;justify-content:center;gap:5px;align-items:center}
.lx-burger span{width:20px;height:2px;background:var(--ink);display:block;transition:.2s}
.lx-search{position:relative;flex:1;display:flex;max-width:620px}
.lx-search input{flex:1;height:44px;border:2px solid var(--line);border-right:0;border-radius:var(--r-sm) 0 0 var(--r-sm);padding:0 14px;outline:0;font-size:14px;background:var(--bg-2)}
.lx-search input:focus{border-color:var(--brand);background:#fff}
.lx-search button{width:52px;border:0;background:var(--brand);color:#fff;border-radius:0 var(--r-sm) var(--r-sm) 0}
.lx-search button:hover{background:var(--brand-dark)}
.lx-search__drop{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-lg);z-index:60;overflow:hidden}
.lx-search__drop a{display:flex;gap:12px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--bg-3)}
.lx-search__drop a:hover{background:var(--bg-2);color:inherit}
.lx-search__drop img{width:44px;height:44px;object-fit:contain;border-radius:6px;background:var(--bg-2)}
.lx-search__drop b{display:block;font-size:14px;font-weight:600}
.lx-search__drop small{color:var(--muted)}
.lx-search__drop em{margin-left:auto;font-style:normal;font-weight:700;white-space:nowrap}
.lx-search__drop .all{justify-content:center;color:var(--brand);font-weight:600}
.lx-mainbar__actions{margin-left:auto;display:flex;align-items:center;gap:22px}
.lx-mainbar__phone{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}
.lx-mainbar__phone-num{display:block;padding:4px 0;font-weight:800;font-size:17px;color:var(--ink)}
.lx-mainbar__phone .lx-link{font-size:12px;text-decoration:none;border-bottom:1px dashed var(--brand)}
.lx-cart{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;color:var(--ink-2)}
.lx-cart .i{width:26px;height:26px}
.lx-cart__badge{position:absolute;top:-6px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--brand);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}

/* Навигация */
.lx-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}
.lx-nav__in{display:flex;align-items:stretch;gap:8px}
.lx-nav__catalog{position:relative}
.lx-nav__catbtn{display:flex;align-items:center;gap:8px;padding:0 18px;height:50px;background:var(--brand);color:#fff;font-weight:700;border-radius:0 0 var(--r-sm) var(--r-sm)}
.lx-nav__catbtn:hover{color:#fff;background:var(--brand-dark)}
.lx-nav__chev{width:14px;height:14px;transition:.2s}
.lx-nav__catalog:hover .lx-nav__chev,.lx-nav__catalog.is-open .lx-nav__chev,.lx-nav__has:hover .lx-nav__chev{transform:rotate(180deg)}
.lx-mega{position:absolute;top:100%;left:0;width:min(980px,calc(100vw - 40px));background:#fff;border:1px solid var(--line);border-radius:0 var(--r) var(--r) var(--r);box-shadow:var(--shadow-lg);display:none;grid-template-columns:260px 1fr;z-index:60;min-height:380px}
.lx-nav__catalog:hover .lx-mega,.lx-nav__catalog.is-open .lx-mega{display:grid}
/* Esc закрывает меню, даже если курсор остался на кнопке: класс снимается, когда курсор уходит */
.lx-nav__catalog.is-dismissed .lx-mega,.lx-nav__catalog.is-dismissed:hover .lx-mega{display:none}
.lx-nav__catalog.is-dismissed:hover .lx-nav__chev{transform:none}
.lx-mega__roots{list-style:none;margin:0;padding:10px 0;background:var(--bg-2);border-right:1px solid var(--line);border-radius:0 0 0 var(--r)}
.lx-mega__roots a{display:flex;justify-content:space-between;align-items:center;padding:11px 18px;font-weight:600;font-size:14px}
.lx-mega__roots li.is-active a,.lx-mega__roots a:hover{background:#fff;color:var(--brand);box-shadow:inset 3px 0 0 var(--brand)}
.lx-mega__count{color:var(--muted);font-weight:400;font-size:12px}
.lx-mega__panels{padding:18px 22px}
.lx-mega__panel{display:none}
.lx-mega__panel.is-active{display:block}
.lx-mega__title{display:flex;justify-content:space-between;align-items:baseline;font-size:17px;font-weight:700;margin-bottom:12px}
.lx-mega__all{font-size:13px;font-weight:600;color:var(--brand)}
.lx-mega__cols{list-style:none;margin:0;padding:0;columns:3;column-gap:24px}
.lx-mega__cols>li{break-inside:avoid;margin-bottom:12px}
.lx-mega__cols>li>a{font-weight:600;font-size:14px;display:flex;justify-content:space-between;gap:8px}
.lx-mega__cols>li>a span{color:var(--muted);font-weight:400;font-size:12px}
.lx-mega__cols ul{list-style:none;padding:0;margin:4px 0 0}
.lx-mega__cols ul a{font-size:13px;color:var(--ink-2);display:block;padding:2px 0}
.lx-mega__cols ul a:hover{color:var(--brand)}
.lx-nav__menu{list-style:none;margin:0;padding:0;display:flex;align-items:stretch}
.lx-nav__menu>li{position:relative}
.lx-nav__menu>li>a{display:flex;align-items:center;gap:5px;height:50px;padding:0 14px;font-weight:600;font-size:14px}
.lx-nav__drop{position:absolute;top:100%;left:0;min-width:260px;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-lg);list-style:none;margin:0;padding:8px 0;display:none;z-index:60}
.lx-nav__drop-all{display:none}
.lx-nav__has:hover .lx-nav__drop{display:block}
.lx-nav__drop a{display:block;padding:8px 16px;font-size:14px}
.lx-nav__drop a:hover{background:var(--bg-2);color:var(--brand)}
.lx-nav__mobile-extra{display:none}
.lx-nav__mobhead,.lx-mobcat{display:none}
.lx-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.lx-burger.is-open span:nth-child(2){opacity:0}
.lx-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Хлебные крошки: единая строка по центру, разделители не отрываются от ссылок */
.lx-crumbs{margin:14px 0 0;font-size:13px;line-height:1.4;color:var(--muted)}
.lx-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 0}
.lx-crumbs li{display:flex;align-items:center;min-width:0;max-width:100%}
.lx-crumbs li+li::before{content:"/";flex:0 0 auto;margin:0 8px;color:#c4c8cf;line-height:1.4}
.lx-crumbs a,.lx-crumbs span{display:inline-block;line-height:1.4;overflow-wrap:anywhere;min-width:0}
.lx-crumbs a:hover{color:var(--brand)}
/* последний пункт (название страницы, не ссылка) может занимать 2+ строки: разделитель по первой строке */
.lx-crumbs li:last-child{align-items:flex-start}
.lx-crumbs li:last-child>span{min-height:0}

/* ===== Главная ===== */
.lx-hero{padding:0;background:var(--bg-2)}
.lx-slider{position:relative;overflow:hidden;background:var(--bg-2);max-width:1920px;margin:0 auto}
.lx-slider__track{display:grid}
.lx-slide{grid-area:1/1;opacity:0;transition:opacity .6s;pointer-events:none}
.lx-slide.is-active{opacity:1;pointer-events:auto}
.lx-slide__in{display:block;position:relative}
.lx-slide picture,.lx-slide img{display:block;width:100%;height:auto}
/* резервируем высоту слайда до загрузки картинки (без скачка раскладки) */
.lx-slide picture{aspect-ratio:1920/395}
@media (max-width:640px){.lx-slide picture{aspect-ratio:640/360}}
.lx-slide__text{position:absolute;left:6%;bottom:12%;max-width:46%;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.4)}
.lx-slide__title{font-size:34px;font-weight:800;line-height:1.1;margin-bottom:8px}
.lx-slide__sub{font-size:16px;margin-bottom:14px}
.lx-slider__btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.9);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;z-index:2}
.lx-slider__btn .i{width:20px;height:20px}
.lx-slider__btn--prev{left:14px}.lx-slider__btn--prev .i{transform:rotate(90deg)}
.lx-slider__btn--next{right:14px}.lx-slider__btn--next .i{transform:rotate(-90deg)}
.lx-slider__dots{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:0;z-index:2}
/* кнопка-цель 44×44 (WCAG 2.5.5), видимая точка — внутри через ::before */
.lx-slider__dots button{position:relative;width:44px;height:44px;border-radius:50%;border:0;background:none;padding:0}
.lx-slider__dots button::before{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:rgba(255,255,255,.6);transition:.2s}
.lx-slider__dots button.is-active::before{background:var(--brand);width:24px;margin-left:-12px;border-radius:999px}
.lx-section{padding:34px 0}
.lx-section--alt{background:var(--bg-2)}
.lx-section__head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:18px}
.lx-section__head h2{font-size:26px;margin:0}
.lx-usp{padding:22px 0 6px}
.lx-usp__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.lx-usp__item{display:flex;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.lx-usp__item .i{width:30px;height:30px;color:var(--brand)}
.lx-usp__item b{display:block;font-size:15px}
.lx-usp__item span{font-size:13px;color:var(--muted)}
.lx-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lx-cat{display:block;padding:22px;border:1px solid var(--line);border-radius:var(--r);background:#fff;transition:.2s;color:var(--ink)}
.lx-cat:hover{box-shadow:var(--shadow);border-color:transparent;transform:translateY(-2px);color:var(--ink)}
.lx-cat__icon{width:56px;height:56px;border-radius:14px;background:var(--brand-light);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.lx-cat__icon svg,.lx-cat__icon img{width:32px;height:32px}
.lx-cat__name{font-weight:700;font-size:18px}
.lx-cat__count{color:var(--muted);font-size:13px;margin-bottom:8px}
.lx-cat__sub{list-style:none;margin:0;padding:0;font-size:13px;color:var(--ink-2)}
.lx-cat__sub li{padding:2px 0}
.lx-cat:hover .lx-cat__name{color:var(--brand)}
.lx-grid{display:grid;gap:16px}
.lx-grid--4{grid-template-columns:repeat(4,1fr)}
.lx-grid--3{grid-template-columns:repeat(3,1fr)}
.lx-solutions{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.lx-solution{display:flex;flex-direction:column;gap:8px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:var(--r);transition:.2s;color:var(--ink)}
.lx-solution:hover{box-shadow:var(--shadow);border-color:transparent;color:var(--ink)}
.lx-solution__icon{width:48px;height:48px;object-fit:contain}
.lx-solution__title{font-weight:700;font-size:16px}
.lx-solution__text{font-size:13px;color:var(--muted)}
.lx-solution:hover .lx-solution__title{color:var(--brand)}
.lx-solutions--page{grid-template-columns:repeat(3,1fr)}
.lx-posts{display:grid;gap:16px}
.lx-posts--4{grid-template-columns:repeat(4,1fr)}
.lx-posts--3{grid-template-columns:repeat(3,1fr)}
.lx-post{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:.2s}
.lx-post:hover{box-shadow:var(--shadow)}
.lx-post__img{display:block;aspect-ratio:16/10;background:var(--bg-3);overflow:hidden}
.lx-post__img img{width:100%;height:100%;object-fit:cover;transition:.3s}
.lx-post:hover .lx-post__img img{transform:scale(1.04)}
.lx-post__noimg{display:flex;align-items:center;justify-content:center;height:100%;color:#c4c8cf}
.lx-post__noimg .i{width:40px;height:40px}
.lx-post__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
.lx-post__date{font-size:12px;color:var(--muted)}
.lx-post__title{font-weight:700;font-size:15px;line-height:1.35}
.lx-post__text{margin:0;font-size:13px;color:var(--ink-2)}
.lx-about__grid{display:grid;grid-template-columns:1.4fr 1fr;gap:32px;align-items:start}
.lx-about h1,.lx-about h2{font-size:24px}
.lx-about__cta{background:var(--dark);color:#fff;border-radius:var(--r);padding:28px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.lx-about__cta h2{margin:0;font-size:22px}
.lx-about__cta p{margin:0;color:#cfd2d8}
.lx-brand{display:flex;align-items:center;justify-content:center;height:70px;background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);padding:10px;filter:grayscale(1);opacity:.75;transition:.2s}
.lx-brand:hover{filter:none;opacity:1;border-color:var(--brand)}
.lx-brand img{max-height:44px;width:auto;object-fit:contain}

/* ===== Каталог ===== */
.lx-catalog-roots{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.lx-root{border:1px solid var(--line);border-radius:var(--r);padding:20px;background:#fff}
.lx-root__head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.lx-root__head .lx-cat__icon{margin:0;flex:0 0 auto}
.lx-root__name{font-weight:700;font-size:18px}
.lx-root__count{font-size:13px;color:var(--muted)}
.lx-root__list{list-style:none;margin:0;padding:0;columns:1}
.lx-root__list a{display:flex;justify-content:space-between;padding:6px 0;border-top:1px dashed var(--line);font-size:14px}
.lx-root__list a span{color:var(--muted);font-size:12px}
.lx-cat-head{display:flex;align-items:baseline;gap:14px}
.lx-cat-head__count{color:var(--muted);font-size:14px}
.lx-subcats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.lx-chip{display:inline-flex;gap:6px;align-items:center;padding:7px 12px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:500;background:#fff}
.lx-chip span{color:var(--muted);font-size:12px}
.lx-chip:hover{border-color:var(--brand);color:var(--brand)}
.lx-cat-desc{margin-bottom:18px;color:var(--ink-2);font-size:14px}
.lx-catalog{display:grid;grid-template-columns:270px 1fr;gap:24px;align-items:start}
.lx-filters{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}
.lx-filters__head{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:16px;margin-bottom:8px}
.lx-filters__head span{display:inline-flex;gap:8px;align-items:center}
.lx-filters__close{display:none;background:none;border:0;font-size:24px;line-height:1}
.lx-filters__reset{display:inline-block;font-size:13px;color:var(--brand);margin-bottom:8px}
.lx-fgroup{border-top:1px solid var(--line);padding:12px 0}
.lx-fgroup__title{font-weight:700;font-size:14px;margin-bottom:8px;display:flex;justify-content:space-between;cursor:pointer}
.lx-fgroup[data-collapsible] .lx-fgroup__title::after{content:"";width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:4px 6px 0 0;transition:.2s}
.lx-fgroup[data-collapsed] .lx-fgroup__title::after{transform:rotate(-45deg)}
.lx-fgroup[data-collapsed] .lx-fgroup__list{display:none}
.lx-fgroup__list{max-height:220px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.lx-check{display:flex;align-items:center;gap:8px;font-size:13px;padding:4px 2px;cursor:pointer}
.lx-check input{accent-color:var(--brand);width:16px;height:16px;margin:0}
.lx-check span{flex:1}
.lx-check em{font-style:normal;color:var(--muted);font-size:12px}
.lx-price-range{display:flex;align-items:center;gap:6px}
.lx-price-range input{width:100%;min-width:0;height:36px;border:1px solid var(--line);border-radius:var(--r-sm);padding:0 10px}
.lx-filters__apply{margin-top:10px}
.lx-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.lx-toolbar__filters{display:none}
.lx-toolbar__sort label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.lx-toolbar__sort select{height:36px;border:1px solid var(--line);border-radius:var(--r-sm);padding:0 10px;background:#fff;color:var(--ink)}
.lx-toolbar__view{margin-left:auto;display:flex;gap:4px}
.lx-toolbar__view button{width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:var(--r-sm);color:var(--muted)}
.lx-toolbar__view button.is-active{color:var(--brand);border-color:var(--brand)}
.lx-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);display:flex;flex-direction:column;overflow:hidden;transition:.2s;position:relative}
.lx-card:hover{box-shadow:var(--shadow);border-color:transparent}
.lx-card__img{display:block;aspect-ratio:1;background:#fff;position:relative;padding:14px}
.lx-card__img img{width:100%;height:100%;object-fit:contain}
.lx-card__stock{position:absolute;left:10px;top:10px;font-size:12px;font-weight:600;padding:3px 8px;border-radius:999px;background:var(--bg-3);color:#5b6270}
.lx-card__stock--in{background:#e6f6ec;color:#127a3e}
.lx-card__body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;flex:1}
.lx-card__brand{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:600}
.lx-card__name{font-weight:600;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lx-card__sku{font-size:12px;color:var(--muted)}
.lx-card__bottom{margin-top:auto;padding-top:10px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.lx-card__price{font-weight:800;font-size:17px}
.lx-card__price--req{font-size:13px;font-weight:500;color:var(--muted)}
.lx-grid.is-list{grid-template-columns:1fr}
.lx-grid.is-list .lx-card{flex-direction:row;align-items:center}
.lx-grid.is-list .lx-card__img{width:140px;flex:0 0 140px;aspect-ratio:1}
.lx-grid.is-list .lx-card__body{flex-direction:row;align-items:center;gap:16px;flex-wrap:wrap}
.lx-grid.is-list .lx-card__name{flex:1 1 300px;-webkit-line-clamp:2}
.lx-grid.is-list .lx-card__bottom{margin:0;padding:0;margin-left:auto}
.lx-pager{display:flex;justify-content:center;gap:6px;margin:26px 0 10px;flex-wrap:wrap}
.lx-pager a,.lx-pager span{min-width:38px;height:38px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;font-weight:600;font-size:14px}
.lx-pager a:hover{border-color:var(--brand);color:var(--brand)}
.lx-pager .is-active{background:var(--brand);color:#fff;border-color:var(--brand)}
.lx-empty{text-align:center;padding:50px 20px;color:var(--muted)}
.lx-empty .i{width:48px;height:48px;color:#c4c8cf}
.lx-search-big{display:flex;gap:8px;max-width:640px;margin-bottom:18px}
.lx-search-big input{flex:1;height:46px;border:2px solid var(--line);border-radius:var(--r-sm);padding:0 14px;font-size:15px;outline:0}
.lx-search-big input:focus{border-color:var(--brand)}

/* ===== Товар ===== */
.lx-product{display:grid;grid-template-columns:minmax(300px,480px) 1fr;gap:36px;margin-top:10px}
.lx-product__img{border:1px solid var(--line);border-radius:var(--r);padding:18px;background:#fff;aspect-ratio:1;display:flex;align-items:center;justify-content:center;cursor:zoom-in}
.lx-product__img img{max-height:100%;object-fit:contain}
.lx-product__title{font-size:26px;margin:0 0 10px;line-height:1.25}
.lx-product__meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--muted);margin-bottom:18px}
.lx-product__meta a{color:var(--brand)}
.lx-product__buy{border:1px solid var(--line);border-radius:var(--r);padding:20px;background:var(--bg-2)}
.lx-product__price{font-size:30px;font-weight:800;margin-bottom:6px}
.lx-product__price--req{font-size:20px;color:var(--muted);font-weight:600}
.lx-product__stock{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-bottom:16px}
.lx-product__stock.is-in{color:var(--ok)}
.lx-product__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px}
.lx-qty{display:inline-flex;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;overflow:hidden}
.lx-qty button{width:44px;height:46px;border:0;background:#fff;color:var(--ink-2)}
.lx-qty button:hover{background:var(--bg-3)}
.lx-qty input{width:56px;border:0;text-align:center;font-weight:700;-moz-appearance:textfield}
.lx-qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.lx-product__usp{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:13px;color:var(--ink-2)}
.lx-product__usp li{display:flex;gap:8px;align-items:center}
.lx-product__usp .i{color:var(--brand)}
.lx-product__usp a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.lx-product__tabs{margin-top:34px}
.lx-tabs{display:flex;gap:4px;border-bottom:2px solid var(--line);margin-bottom:18px;overflow:auto}
.lx-tabs button,.lx-tabs a{background:none;border:0;padding:10px 16px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-2px;white-space:nowrap}
.lx-tabs .is-active{color:var(--brand);border-color:var(--brand)}
.lx-tab{display:none}
.lx-tab.is-active{display:block}
.lx-specs{border-collapse:collapse;width:100%;max-width:760px;font-size:14px}
.lx-specs th,.lx-specs td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.lx-specs th{width:40%;font-weight:500;color:var(--muted)}

/* ===== Текстовые страницы ===== */
.lx-prose{font-size:15.5px;line-height:1.7;color:var(--ink);overflow-wrap:anywhere}
.lx-prose p{margin:0 0 1em}
.lx-prose img{height:auto;border-radius:var(--r-sm);margin:8px 0}
.lx-prose h2{font-size:22px;margin:1.4em 0 .6em}
.lx-prose h3{font-size:18px;margin:1.2em 0 .5em}
.lx-prose ul,.lx-prose ol{padding-left:1.4em}
.lx-prose table{border-collapse:collapse;max-width:100%}
.lx-prose td,.lx-prose th{border:1px solid var(--line);padding:6px 10px}
.lx-prose iframe{max-width:100%}
.lx-prose a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
/* Текстовые страницы (views/page.php): в контенте из Word/Google Docs стоят inline-стили
   (Times New Roman, 12–14pt, text-align:justify) — перебиваем их, чтобы шрифт и размер были как на сайте */
.lx-article--page .lx-prose{font-size:15px;line-height:1.65;text-align:left}
.lx-article--page .lx-prose p,
.lx-article--page .lx-prose li,
.lx-article--page .lx-prose span,
.lx-article--page .lx-prose div{font-family:inherit!important;font-size:inherit!important;text-align:left!important}
.lx-prose--compact{font-size:14.5px;color:var(--ink-2)}
.lx-prose--compact p{margin:0 0 .5em}
.lx-article{max-width:860px;margin:0 auto}
.lx-article--page{max-width:960px}
.lx-article__head{margin-bottom:16px}
.lx-article__img{margin-bottom:22px;border-radius:var(--r);overflow:hidden}
.lx-article__img img{width:100%;display:block}
.lx-article__foot{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:30px;padding-top:18px;border-top:1px solid var(--line);flex-wrap:wrap}
.lx-share a{margin-left:10px;color:var(--brand);font-weight:600}
.lx-tabs--links a{display:inline-block}
.lx-raw{overflow:hidden}

/* ===== Решения и лендинги ===== */
.lx-sol-hero{background:var(--dark) center/cover no-repeat;position:relative;color:#fff}
.lx-sol-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(18,20,26,.94) 0%,rgba(18,20,26,.78) 50%,rgba(18,20,26,.45) 100%)}
.lx-sol-hero--plain{background:linear-gradient(120deg,#1f2228,#3a1416)}
.lx-sol-hero__in{position:relative;padding:64px 20px 56px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.lx-sol-hero__kicker{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#f3a3a7;font-weight:700;margin-bottom:12px}
.lx-sol-hero h1{font-size:42px;line-height:1.1;margin:0 0 14px;max-width:820px;letter-spacing:-.01em}
.lx-sol-hero p{font-size:18px;color:#d8dbe2;max-width:700px;margin:0 0 24px;line-height:1.5}
.lx-sol-hero__btns{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:26px}
.lx-sol-hero__usp{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px;color:#cfd2d8}
.lx-sol-hero__usp li{display:flex;gap:8px;align-items:center}
.lx-sol-hero__usp .i{color:#4ade80}
.lx-sol-hero__icon{width:160px;height:160px;border-radius:32px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center}
.lx-sol-hero__icon img{width:88px;height:88px;filter:brightness(0) invert(1);opacity:.9}
.lx-sol-body{padding:10px 0 20px}
.lx-sol-form{background:var(--dark);color:#fff;margin-top:30px}
.lx-sol-form__in{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:56px 20px;align-items:center}
.lx-sol-form h2{font-size:32px;margin-bottom:10px}
.lx-sol-form p{color:#cfd2d8;font-size:16px;max-width:520px}
.lx-sol-form__list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:10px;color:#e5e7eb;font-size:14px}
.lx-sol-form__list li{display:flex;gap:10px;align-items:center}
.lx-sol-form__list .i{color:#f3a3a7;width:20px;height:20px}
.lx-sol-form__form{background:#fff;color:var(--ink);border-radius:var(--r);padding:24px;box-shadow:var(--shadow-lg)}
.lx-form__row{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* --- Блоки лендингов (используются внутри HTML страницы) --- */
.sb{font-size:15.5px;line-height:1.6;color:var(--ink)}
.sb section,.sb .sb-sec{padding:34px 0;border-bottom:1px solid var(--line)}
.sb section:last-child,.sb .sb-sec:last-child{border-bottom:0}
.sb-h{margin:0 0 22px}
.sb-h small{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);font-weight:700;margin-bottom:8px}
.sb-h h2{font-size:28px;line-height:1.2;margin:0;letter-spacing:-.01em}
.sb-h p{margin:10px 0 0;color:var(--ink-2);font-size:16px;max-width:760px}
.sb-lead{font-size:19px;line-height:1.55;color:var(--ink-2);max-width:860px;margin:0 0 10px}
.sb-lead b{color:var(--ink)}
.sb-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0;list-style:none}
.sb-cards--4{grid-template-columns:repeat(4,1fr)}
.sb-cards--2{grid-template-columns:repeat(2,1fr)}
.sb-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:10px;transition:.2s}
.sb-card:hover{box-shadow:var(--shadow);border-color:transparent;transform:translateY(-2px)}
.sb-card img,.sb-card .sb-ico{width:52px;height:52px;object-fit:contain}
.sb-ico{display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--brand-light);color:var(--brand)}
.sb-ico .i{width:26px;height:26px}
.sb-card b,.sb-card h3{font-size:16px;font-weight:700;margin:0;line-height:1.3}
.sb-card p,.sb-card span{margin:0;color:var(--ink-2);font-size:14px}
.sb-card--num{position:relative;padding-top:26px}
.sb-card--num i{font-style:normal;font-weight:800;font-size:40px;line-height:1;color:var(--brand-light);position:absolute;right:18px;top:14px}
.sb-card--accent{background:var(--dark);color:#fff;border-color:transparent}
.sb-card--accent p,.sb-card--accent span{color:#cfd2d8}
.sb-card--accent .sb-ico{background:rgba(255,255,255,.1);color:#fff}
.sb-checks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px 24px}
.sb-checks--3{grid-template-columns:repeat(3,1fr)}
.sb-checks li{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:var(--r-sm);background:var(--bg-2);min-width:0;overflow-wrap:anywhere}
.sb-checks li::before{content:"";flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;margin-top:1px}
.sb-checks b{display:block}
.sb-split{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.sb-split--rev>:first-child{order:2}
.sb-split img{width:100%;height:auto;border-radius:var(--r);box-shadow:var(--shadow)}
.sb-split img.sb-img--plain{box-shadow:none}
.sb-split h3{font-size:22px;margin:0 0 10px}
.sb-split p{color:var(--ink-2)}
.sb-split ul{padding-left:0;list-style:none;display:grid;gap:8px;margin:14px 0 0}
.sb-split ul li{display:flex;gap:10px}
.sb-split ul li::before{content:"";flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:var(--brand);margin-top:9px}
.sb-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:14px;counter-reset:st}
.sb-steps--4{grid-template-columns:repeat(4,1fr)}
.sb-steps--3{grid-template-columns:repeat(3,1fr)}
.sb-steps li{position:relative;padding:18px 16px 16px;background:#fff;border:1px solid var(--line);border-radius:var(--r);counter-increment:st}
.sb-steps li::before{content:counter(st);display:inline-flex;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;align-items:center;justify-content:center;margin-bottom:10px}
.sb-steps b{display:block;font-size:15px;margin-bottom:4px}
.sb-steps span{font-size:13px;color:var(--ink-2)}
.sb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0;padding:0;list-style:none}
.sb-stats li{background:var(--dark);color:#fff;border-radius:var(--r);padding:22px 20px}
.sb-stats b{display:block;font-size:34px;font-weight:800;line-height:1;margin-bottom:6px;color:#fff}
.sb-stats span{color:#cfd2d8;font-size:14px}
.sb-band{background:linear-gradient(120deg,var(--brand),#a3161d);color:#fff;border-radius:var(--r);padding:34px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.sb-band h3{margin:0 0 6px;font-size:24px}
.sb-band p{margin:0;color:#ffe3e5;max-width:620px}
.sb-band .lx-btn--ghost{background:#fff;color:var(--brand)}
.sb-band--dark{background:var(--dark)}
.sb-band--dark p{color:#cfd2d8}
.sb-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0;list-style:none}
.sb-trio li{border-radius:var(--r);padding:22px;background:var(--bg-2);border-top:4px solid var(--brand)}
.sb-trio li:nth-child(2){border-top-color:#f59e0b}.sb-trio li:nth-child(3){border-top-color:#16a34a}
.sb-trio b{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.sb-trio ul{margin:0;padding-left:18px;color:var(--ink-2);font-size:14px;display:grid;gap:6px}
.sb-trio p{margin:0;color:var(--ink-2);font-size:14px}
.sb-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sb-gallery--2{grid-template-columns:repeat(2,1fr)}
.sb-gallery img{width:100%;height:auto;border-radius:var(--r);border:1px solid var(--line)}
.sb-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
/* обёртка добавляется при рендере (views/solution.php): узкие экраны прокручивают таблицу внутри */
.sb-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.sb-table-wrap .sb-table{min-width:420px}
.sb-table th{background:var(--bg-2);text-align:left;padding:12px;font-weight:700}
.sb-table td{padding:14px 12px;border-top:1px solid var(--line);vertical-align:top}
.sb-table td img{width:120px;height:auto;border-radius:8px}
.sb-table .sb-spec{color:var(--ink-2);font-size:13px;line-height:1.5}
.sb-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;list-style:none;margin:0;padding:0}
.sb-quotes li{background:var(--bg-2);border-radius:var(--r);padding:22px;font-size:15px;position:relative}
.sb-quotes li::before{content:"\201C";position:absolute;top:6px;right:18px;font-size:60px;color:var(--brand-light);font-family:Georgia,serif;line-height:1}
.sb-quotes b{display:block;margin-top:12px;font-size:13px;color:var(--muted);font-weight:600}
.sb-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.sb-tags li,.sb-tags a{padding:8px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:500;background:#fff}
.sb-tags a:hover{border-color:var(--brand);color:var(--brand)}
.sb-note{background:var(--brand-light);border-left:4px solid var(--brand);padding:14px 18px;border-radius:0 var(--r-sm) var(--r-sm) 0;color:var(--ink)}
.sb-feature{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;list-style:none;margin:0;padding:0}
.sb-feature--3{grid-template-columns:repeat(3,1fr)}
.sb-feature li{display:flex;gap:14px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:var(--r)}
.sb-feature img{width:44px;height:44px;object-fit:contain;flex:0 0 44px}
.sb-feature b{display:block;margin-bottom:3px}
.sb-feature span{color:var(--ink-2);font-size:14px}
.sb-logos{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.sb-logos li{padding:10px 16px;border:1px solid var(--line);border-radius:var(--r-sm);font-weight:700;font-size:15px;background:#fff}
.sb-map{border-radius:var(--r);overflow:hidden;border:1px solid var(--line)}
.sb-map iframe{display:block;width:100%;height:420px;border:0}
@media (max-width:1000px){.sb-cards,.sb-cards--4,.sb-trio,.sb-quotes,.sb-gallery,.sb-feature--3{grid-template-columns:repeat(2,1fr)}.sb-steps,.sb-steps--4,.sb-steps--3{grid-template-columns:repeat(2,1fr)}.sb-stats{grid-template-columns:repeat(2,1fr)}.lx-sol-hero__icon{display:none}.lx-sol-hero__in{grid-template-columns:1fr}}
@media (max-width:700px){.sb-cards,.sb-cards--4,.sb-cards--2,.sb-trio,.sb-quotes,.sb-checks,.sb-checks--3,.sb-feature,.sb-feature--3,.sb-split,.sb-gallery,.sb-gallery--2{grid-template-columns:1fr}.sb-split--rev>:first-child{order:0}.sb-steps,.sb-steps--4,.sb-steps--3{grid-template-columns:1fr}.sb-stats{grid-template-columns:1fr 1fr}.lx-sol-hero h1{font-size:28px}.lx-sol-hero__in{padding:40px 20px 36px}.lx-sol-form__in{grid-template-columns:1fr;padding:36px 20px}.lx-form__row{grid-template-columns:1fr}.sb-h h2{font-size:22px}.sb-band{padding:24px}.sb-table td img{width:80px}}

/* ===== Контакты ===== */
.lx-contacts-top{display:grid;grid-template-columns:380px 1fr;gap:24px;align-items:stretch;margin-bottom:10px}
.lx-contacts-main{border:1px solid var(--line);border-radius:var(--r);padding:22px;display:grid;gap:16px;align-content:start}
.lx-contacts-main__row{display:flex;gap:12px;align-items:flex-start}
.lx-contacts-main__row .i{width:24px;height:24px;color:var(--brand);margin-top:2px}
.lx-contacts-main__row b{display:block;font-size:12px;color:var(--muted);font-weight:500}
.lx-contacts-main__row a{font-weight:700;font-size:17px}
.lx-contacts-main__btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.lx-contacts-map{border-radius:var(--r);overflow:hidden;background:var(--bg-3);min-height:360px}
.lx-contacts-map iframe{width:100%;height:100%;min-height:360px;border:0;display:block}
.lx-contacts-map__ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:360px;padding:24px;text-align:center;color:var(--muted)}
.lx-contacts-map__ph .i{width:40px;height:40px;color:var(--brand)}
.lx-contacts-map__ph p{margin:0;max-width:320px}
.lx-offices{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.lx-office{border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;background:#fff;font-size:14px;display:grid;gap:4px}
.lx-office--main{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}
.lx-office__city{font-weight:700;font-size:16px;display:flex;align-items:center;gap:6px}
.lx-office__city .i{color:var(--brand)}
.lx-office__city em{font-style:normal;font-size:11px;color:var(--brand);background:var(--brand-light);padding:2px 8px;border-radius:999px;margin-left:4px}
.lx-office__addr{color:var(--ink-2)}
.lx-office__row a{margin-right:10px;color:var(--ink);font-weight:500}
.lx-office__map{color:var(--brand);font-size:13px;font-weight:600}

/* ===== Корзина ===== */
.lx-cart-layout{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start}
.lx-cart-table{width:100%;border-collapse:collapse;font-size:14px}
.lx-cart-table th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:8px;border-bottom:2px solid var(--line)}
.lx-cart-table td{padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.lx-cart-table img{width:64px;height:64px;object-fit:contain;border:1px solid var(--line);border-radius:6px}
.lx-cart-table .name{font-weight:600}
.lx-cart-table .sku{font-size:12px;color:var(--muted)}
.lx-cart-table .sum{font-weight:700;white-space:nowrap}
.lx-cart-table .del{background:none;border:0;color:var(--muted);width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}
.lx-cart-table .del:hover{color:var(--brand)}
.lx-cart-table .lx-qty button{height:44px;width:40px}
.lx-cart-table .lx-qty input{width:46px}
.lx-cart-side{border:1px solid var(--line);border-radius:var(--r);padding:20px;background:var(--bg-2);position:sticky;top:12px}
.lx-cart-total{font-size:18px;margin-bottom:16px}
.lx-cart-total b{font-size:24px;display:block}
.lx-cart-total .lx-muted{font-size:12px;font-weight:400;margin-top:6px}
.lx-cart-total .lx-muted a{color:var(--brand);text-decoration:underline}
/* у блока корзины display:grid сильнее UA-правила [hidden], поэтому скрываем явно */
.lx-cart-layout[hidden],.lx-cart-empty[hidden]{display:none!important}
.lx-cart-empty{text-align:center;padding:60px 20px;color:var(--muted)}
.lx-cart-empty .i{width:56px;height:56px;color:#c4c8cf}

/* ===== Формы, модалки, тосты ===== */
.lx-form{display:grid;gap:10px}
.lx-form h3{margin:0 0 4px}
.lx-form input:not([type=checkbox]),.lx-form textarea,.lx-form select{width:100%;height:44px;border:1px solid var(--line);border-radius:var(--r-sm);padding:0 12px;outline:0;background:#fff}
.lx-form textarea{height:auto;padding:10px 12px;resize:vertical}
.lx-form input:focus,.lx-form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}
.lx-form__note{font-size:12px;color:var(--muted);margin:0}
.lx-form__note a{text-decoration:underline}
.lx-form__error{color:var(--brand);font-size:13px}
.lx-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}
.lx-modal[hidden]{display:none}
.lx-modal__backdrop{position:absolute;inset:0;background:rgba(15,18,24,.55);backdrop-filter:blur(2px)}
.lx-modal__dialog{position:relative;background:#fff;border-radius:var(--r);width:100%;max-width:440px;box-shadow:var(--shadow-lg);padding:28px;max-height:92vh;overflow:auto}
.lx-modal__dialog--wide{max-width:900px}
.lx-modal__close{position:absolute;top:10px;right:12px;background:none;border:0;font-size:28px;line-height:1;color:var(--muted)}
/* обратный звонок: форма Битрикс24 внутри модалки */
.lx-modal__dialog--b24{padding:0;max-width:480px}
.lx-modal__dialog--b24:focus{outline:0}
.lx-modal__dialog--b24 .lx-modal__close{top:8px;right:10px;z-index:3;display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:50%;background:rgba(255,255,255,.9);color:#6b7280;font-size:24px}
.lx-modal__dialog--b24 .lx-modal__close:hover{background:#f1f2f4;color:#111}
.lx-b24-form{background:#fff;border-radius:var(--r);min-height:60px}
.lx-b24-form[hidden]{display:none}
.lx-b24-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:150px;padding:24px;color:var(--muted);font-size:14px}
.lx-b24-spin{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--brand);animation:lx-b24-spin .8s linear infinite}
@keyframes lx-b24-spin{to{transform:rotate(360deg)}}
.lx-b24-form .b24-form-wrapper{border-radius:var(--r)!important}
.lx-b24-fallback{padding:30px 24px;text-align:center}
.lx-b24-fallback b{font-size:18px}
.lx-b24-fallback p{margin:8px 0 0;color:var(--muted)}
.lx-b24-fallback a{display:inline-block;margin-top:6px;color:var(--brand);font-weight:700;font-size:20px;text-decoration:none}
.lx-modal__body h3{font-size:22px;margin-bottom:6px}
.lx-success{text-align:center;padding:10px}
.lx-success .i{width:56px;height:56px;color:var(--ok);background:#e6f6ec;border-radius:50%;padding:12px;margin-bottom:10px}
.lx-success--page{padding:40px 20px;max-width:620px;margin:0 auto}
.lx-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--dark);color:#fff;padding:12px 18px;border-radius:var(--r-sm);box-shadow:var(--shadow-lg);z-index:120;font-size:14px;display:flex;gap:10px;align-items:center}
.lx-toast[hidden]{display:none}
.lx-nav__group{display:none}
.lx-toast a{color:#fff;text-decoration:underline;font-weight:600}
.lx-totop{position:fixed;right:22px;bottom:88px;width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);display:none;align-items:center;justify-content:center;z-index:40}
.lx-totop .i{transform:rotate(180deg)}
.lx-totop.is-visible{display:flex}
.lx-wa{position:fixed;right:20px;bottom:24px;width:54px;height:54px;border-radius:50%;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);z-index:40}
.lx-wa .i{width:30px;height:30px}
.lx-wa:hover{color:#fff;transform:scale(1.06)}
.lx-error{text-align:center;padding:50px 0;max-width:600px;margin:0 auto}
.lx-error__code{font-size:96px;font-weight:800;color:var(--bg-3);line-height:1}
.lx-error .lx-search-big{margin:20px auto}

/* ===== Подвал ===== */
.lx-footer{background:var(--dark);color:#cfd2d8;margin-top:40px;font-size:14px}
.lx-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:32px;padding:44px 20px 36px}
.lx-footer__logo{height:40px;width:auto;max-width:220px;object-fit:contain;margin-bottom:12px}
.lx-footer__about p{margin:0 0 14px;color:#a9adb6;font-size:13.5px}
.lx-footer__title{color:#fff;font-weight:700;font-size:15px;margin-bottom:12px}
.lx-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.lx-footer a:hover{color:#fff}
.lx-footer__contacts li{display:flex;gap:8px;align-items:flex-start}
.lx-footer__contacts .i{color:var(--brand);margin-top:3px}
.lx-footer__contacts+.lx-btn{margin-top:16px}
.lx-socials{display:flex;gap:8px}
.lx-socials a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff}
.lx-socials a:hover{background:var(--brand)}
.lx-footer__bottom{background:var(--dark-2);font-size:12.5px;color:#9aa0ab}
.lx-footer__bottom-in{display:flex;justify-content:space-between;padding:14px 20px;flex-wrap:wrap;gap:8px}

/* ===== Адаптив ===== */
@media (max-width:1100px){
  .lx-grid--4{grid-template-columns:repeat(3,1fr)}
  .lx-posts--4{grid-template-columns:repeat(2,1fr)}
  .lx-solutions{grid-template-columns:repeat(3,1fr)}
  .lx-usp__grid{grid-template-columns:repeat(2,1fr)}
  .lx-mega{grid-template-columns:220px 1fr}
  .lx-mega__cols{columns:2}
  .lx-nav__menu>li>a{padding:0 10px;font-size:13px}
}
.lx-about__lead{font-size:16px;color:var(--ink-2);margin:0 0 16px;max-width:700px}
.lx-dirs{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px 20px;font-size:14px}
.lx-dirs li{display:flex;gap:8px;align-items:center}
.lx-dirs .i{color:var(--brand);width:16px;height:16px}
.lx-about__btns{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.lx-collapse[hidden]{display:none}
.lx-collapse--peek{position:relative;max-height:120px;overflow:hidden}
.lx-collapse--peek::after{content:"";position:absolute;left:0;right:0;bottom:0;height:60px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.lx-collapse--peek.is-open{max-height:none}
.lx-collapse--peek.is-open::after{display:none}
.lx-cat-desc{margin:34px 0 10px;padding-top:22px;border-top:1px solid var(--line);max-width:960px}
.lx-cat-desc .lx-link{margin-top:10px;font-size:14px}
.lx-brands__nav{display:flex;gap:6px}
.lx-brands__btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center}
.lx-brands__btn:hover{border-color:var(--brand);color:var(--brand)}
.lx-brands__btn:first-child .i{transform:rotate(90deg)}.lx-brands__btn:last-child .i{transform:rotate(-90deg)}
.lx-brands{overflow:hidden}
.lx-brands__track{display:flex;gap:12px;transition:transform .4s ease;will-change:transform}
.lx-brands .lx-brand{flex:0 0 calc((100% - 12px*7)/8);height:84px}
@media (max-width:1100px){.lx-brands .lx-brand{flex-basis:calc((100% - 12px*5)/6)}}
@media (max-width:900px){.lx-brands .lx-brand{flex-basis:calc((100% - 12px*3)/4)}.lx-dirs{grid-template-columns:1fr}}
@media (max-width:600px){.lx-brands .lx-brand{flex-basis:calc((100% - 12px*2)/3)}}
@media (max-width:900px){
  .lx-hide-sm{display:none!important}
  .lx-burger{display:flex}
  .lx-mainbar__in{gap:12px;min-height:66px;flex-wrap:wrap}
  .lx-search{order:10;flex:1 1 100%;max-width:none;margin-bottom:12px}
  .lx-mainbar__phone-num{display:none}
  .lx-mainbar__phone .lx-link{display:none}
  .lx-mainbar__actions{gap:14px}
  .lx-cart__label{display:none}
  /* кликабельная область 44×44 при прежней иконке 26px */
  .lx-cart{min-width:44px;min-height:44px;justify-content:center}
  .lx-crumbs a,.lx-crumbs li>span{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;line-height:1.4}
  .lx-topbar{font-size:12px}
  .lx-topbar__in{min-height:40px;padding:6px 20px;gap:10px}
  .lx-topbar__left>a[href^="tel:"]{min-height:44px}
  .lx-topbar__b2b{padding:5px 10px}
  .lx-nav{position:fixed;inset:0;background:#fff;z-index:90;overflow:auto;display:none;border:0;padding-bottom:40px}
  .lx-nav.is-open{display:block}
  .lx-nav__in{flex-direction:column;align-items:stretch;padding:0 16px 20px}
  .lx-nav__mobhead{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#fff;z-index:2;padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:12px;font-weight:700;font-size:16px}
  .lx-nav__close{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}
  .lx-nav__close .i{width:18px;height:18px}
  .lx-nav__catalog{display:none}
  .lx-mobcat{display:block;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;margin-bottom:14px}
  .lx-mobcat__title{display:flex;align-items:center;gap:8px;padding:12px 14px;background:var(--brand);color:#fff;font-weight:700}
  .lx-mobcat details{border-top:1px solid var(--line)}
  .lx-mobcat summary{list-style:none;display:flex;align-items:center;gap:8px;padding:12px 14px;font-weight:600;cursor:pointer;font-size:15px}
  .lx-mobcat summary::-webkit-details-marker{display:none}
  .lx-mobcat summary span{flex:1}
  .lx-mobcat summary em,.lx-mobcat a em{font-style:normal;color:var(--muted);font-size:12px;font-weight:400}
  .lx-mobcat details[open]>summary{background:var(--bg-2);color:var(--brand)}
  .lx-mobcat details[open]>summary .lx-nav__chev{transform:rotate(180deg)}
  .lx-mobcat__list{padding:4px 0 8px 14px;background:#fff}
  .lx-mobcat__list>a,.lx-mobcat__sub>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 14px 9px 10px;font-size:14px;border-top:1px dashed var(--bg-3)}
  .lx-mobcat__sub{border-top:0!important}
  .lx-mobcat__sub>summary{font-weight:500;font-size:14px}
  .lx-mobcat__all{color:var(--brand)!important;font-weight:600}
  .lx-mobcat__ico{width:34px;height:34px;border-radius:9px;background:var(--brand-light);color:var(--brand);display:flex;align-items:center;justify-content:center;flex:0 0 34px}
  .lx-mobcat__ico svg,.lx-mobcat__ico img{width:20px;height:20px}
  .lx-mobcat__root>summary{padding:11px 12px}
  .lx-nav__group{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700;margin:6px 0 4px}
  .lx-nav__menu{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;margin-top:0}
  .lx-nav__menu>li>a{padding:0 12px 0 14px;height:48px;border-bottom:1px solid var(--bg-3);box-shadow:inset 3px 0 0 var(--brand)}
  .lx-nav__menu>li:last-child>a{border-bottom:0}
  .lx-nav__mobile-extra{margin-top:6px;padding-top:0;border:1px solid var(--line);border-radius:var(--r);padding:8px 14px}
  .lx-nav__mobile-extra a{padding:8px 0}
  .lx-card__stock{font-size:12px;padding:2px 6px}
  .lx-card__sale{top:34px;right:auto;left:10px;font-size:12px;padding:3px 7px}
  .lx-nav__menu{flex-direction:column;border-top:1px solid var(--line);margin-top:8px}
  .lx-nav__menu>li>a{height:46px;justify-content:space-between;border-bottom:1px solid var(--bg-3)}
  .lx-nav__drop{position:static;display:none;box-shadow:none;border:0;padding:0 0 6px 12px;background:var(--bg-2);border-radius:var(--r-sm)}
  .lx-nav__has.is-open .lx-nav__drop{display:block}
  .lx-nav__has:hover .lx-nav__drop{display:none}
  .lx-nav__has.is-open:hover .lx-nav__drop{display:block}
  .lx-nav__has.is-open>a .lx-nav__chev{transform:rotate(180deg)}
  .lx-nav__drop-all{display:block}
  .lx-nav__drop-all a{color:var(--brand);font-weight:700}
  .lx-slider__btn{display:none}
  .lx-slider__dots{bottom:0}
  .lx-nav__mobile-extra{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
  .lx-nav__mobile-extra a{display:flex;gap:8px;align-items:center;font-weight:600}
  .lx-cats,.lx-catalog-roots{grid-template-columns:repeat(2,1fr)}
  .lx-grid--3,.lx-grid--4{grid-template-columns:repeat(2,1fr)}
  .lx-catalog{grid-template-columns:1fr}
  .lx-filters{position:fixed;inset:0;z-index:95;border-radius:0;max-height:none;display:none;padding-bottom:80px}
  .lx-filters.is-open{display:block}
  .lx-filters__close{display:block}
  .lx-filters__apply{position:fixed;left:16px;right:16px;bottom:16px;width:auto}
  .lx-toolbar__filters{display:inline-flex}
  .lx-product{grid-template-columns:1fr;gap:20px}
  .lx-about__grid{grid-template-columns:1fr}
  .lx-contacts-top{grid-template-columns:1fr}
  .lx-offices{grid-template-columns:repeat(2,1fr)}
  .lx-cart-layout{grid-template-columns:1fr}
  .lx-cart-side{position:static}
  .lx-sol-hero h1{font-size:28px}
  .lx-footer__grid{grid-template-columns:1fr 1fr}
  .lx-slider{min-height:120px}
  .lx-slide__title{font-size:20px}
  .lx-slide__sub{font-size:13px}
  .lx-slide__text{max-width:70%;left:5%;bottom:10%}
  .lx-posts--3,.lx-solutions--page{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .lx-h1{font-size:24px}
  .lx-section{padding:24px 0}
  .lx-section__head h2{font-size:21px}
  .lx-cats,.lx-catalog-roots,.lx-grid--3,.lx-grid--4,.lx-posts--4,.lx-posts--3,.lx-solutions,.lx-solutions--page,.lx-offices,.lx-usp__grid{grid-template-columns:1fr}
  .lx-grid--3,.lx-grid--4{grid-template-columns:repeat(2,1fr);gap:10px}
  .lx-card__body{padding:10px}
  .lx-card__price{font-size:15px}
  .lx-card__bottom{flex-direction:column;align-items:stretch}
  .lx-footer__grid{grid-template-columns:1fr;gap:24px}
  .lx-cart-table thead{display:none}
  .lx-cart-table tr{display:grid;grid-template-columns:64px 1fr auto;grid-template-areas:"img name del" "img qty sum";gap:8px 10px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
  .lx-cart-table td{border:0;padding:0}
  .lx-cart-table td:nth-child(1){grid-area:img}
  .lx-cart-table td:nth-child(2){grid-area:name}
  .lx-cart-table td:nth-child(3){display:none}
  .lx-cart-table td:nth-child(4){grid-area:qty}
  .lx-cart-table td:nth-child(5){grid-area:sum;text-align:right}
  .lx-cart-table td:nth-child(6){grid-area:del;text-align:right}
  .lx-cart-table .lx-qty{display:inline-flex}
  .lx-slide__text{display:none}
  .lx-sol-hero__in{padding:36px 20px}
  .lx-product__title{font-size:21px}
  .lx-product__price{font-size:26px}
  .lx-modal__dialog{padding:22px 18px}
  .lx-modal__dialog--b24{padding:0}
}

/* Компактная шапка на узких телефонах: бургер, логотип и корзина в одну строку, поиск ниже */
@media (max-width:600px){
  .lx-topbar__in{min-height:30px;padding:0 20px;gap:8px;font-size:11px;line-height:1.2}
  .lx-topbar__left>a[href^="tel:"]{min-height:30px}
  .lx-topbar__b2b{padding:3px 8px}
  .lx-mainbar__in{gap:6px 8px;min-height:0;padding-top:4px}
  .lx-mainbar__in .lx-logo img{height:30px;max-width:150px}
  .lx-mainbar__in .lx-burger{width:38px;height:38px;flex:0 0 38px}
  .lx-mainbar__actions{gap:8px}
  /* корзина 40×40 (как и было), зону нажатия добиваем до 44×44 псевдоэлементом */
  .lx-mainbar__actions .lx-cart{min-height:40px;min-width:40px;position:relative}
  .lx-mainbar__actions .lx-cart::before{content:"";position:absolute;inset:-2px}
  .lx-search{flex:1 1 100%;margin-bottom:6px}
  .lx-search button{width:44px}
  .lx-section__head{flex-wrap:wrap;gap:8px 16px}
  .lx-section__head h2{min-width:0;overflow-wrap:anywhere}
}
/* на 320 px «B2B-портал для партнёров» не влезает в строку — оставляем короткую подпись */
@media (max-width:400px){
  .lx-topbar__b2b{font-size:0}
  .lx-topbar__b2b::after{content:"B2B-портал";font-size:12px}
  .lx-topbar__b2b .i{width:14px;height:14px}
}

/* дополнения: акции, миниатюры, документы */
.lx-card__sale{position:absolute;right:10px;top:10px;font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px;background:var(--brand);color:#fff}
.lx-card__price s{font-size:12px;color:var(--muted);font-weight:500;margin-left:4px}
.lx-product__old{font-size:18px;color:var(--muted);margin-left:10px}
.lx-badge-sale{display:inline-block;margin-left:10px;font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--brand);color:#fff;vertical-align:middle}
.lx-product__thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.lx-product__thumbs button{width:64px;height:64px;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;padding:4px}
.lx-product__thumbs button.is-active{border-color:var(--brand)}
.lx-product__thumbs img{width:100%;height:100%;object-fit:contain}
.lx-product__short{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:4px;font-size:13px}
.lx-product__short li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed var(--line);padding:4px 0}
.lx-product__short span{color:var(--muted)}
.lx-docs{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lx-docs a{color:var(--brand);font-weight:600}

/* Виджет Битрикс24 «Менеджер» на телефоне: без всплывающего приветствия, компактная кнопка в углу */
@media (max-width:768px){
  .b24-widget-button-popup{display:none!important}
  .b24-widget-button-shadow{pointer-events:none!important}
  .b24-widget-button-pulse{display:none!important}
  .b24-widget-button-wrapper{bottom:8px!important;right:8px!important;transform:scale(.8)!important;transform-origin:right bottom!important}
}
@media (max-width:400px){
  .b24-widget-button-wrapper{transform:scale(.7)!important;right:6px!important}
}

/* Доступность: контраст текста (WCAG AA 4.5:1) */
.lx-product__stock.is-in{color:#127a3e}
.lx-product__usp a{color:var(--brand-dark)}
.lx-office__city em{color:var(--brand-dark)}
.lx-contacts-map__ph p{color:var(--ink-2)}

/* Доступность: область нажатия не меньше 44x44 на телефоне; ::before расширяет зону, вид не меняется */
@media (max-width:768px){
  .lx-toolbar__view button,.lx-footer li a,.lx-product__meta a,.lx-card__name,.lx-link-arrow,.lx-topbar__b2b,.lx-burger,.lx-chip,.lx-btn--sm,.lx-product__thumbs button,.lx-footer a[aria-label],a[href^="tel:"],a[href^="mailto:"]{position:relative}
  .lx-footer li a::before,.lx-product__meta a::before,.lx-topbar__b2b::before,.lx-burger::before,.lx-product__thumbs button::before,.lx-footer a[aria-label]::before,a[href^="tel:"]::before,a[href^="mailto:"]::before,.lx-card__name::before,.lx-link-arrow::before,.lx-chip::before,.lx-btn--sm::before{content:"";position:absolute;inset:-14px -4px}
  .lx-footer a[aria-label]::before,.lx-product__thumbs button::before,.lx-burger::before{inset:-5px}
  .lx-product__meta a::before,a[href^="tel:"]::before,a[href^="mailto:"]::before{inset:-14px -2px}
  .lx-footer li a::before{inset:-14px -8px}
  .lx-toolbar__view button::before{content:"";position:absolute;inset:-5px}
  .lx-card__name::before{inset:-4px 0}
  .lx-link-arrow::before{inset:-11px 0}
  .lx-topbar__b2b::before{inset:-8px 0}
  .lx-chip::before{inset:-6px 0}
  .lx-office__map::before,a[href*="wa.me"]::before,.lx-footer__bottom a::before,.lx-product__usp a::before,.lx-root__head::before,.lx-root__list a::before{content:"";position:absolute;inset:-12px 0}
  .lx-root__head,.lx-root__list a,.lx-product__usp a{position:relative}
  .lx-footer__bottom a::before{inset:-15px 0}
  .lx-office__map,a[href*="wa.me"],.lx-footer__bottom a{position:relative}
  .lx-btn::before{content:"";position:absolute;inset:-4px -2px}
  .lx-btn--sm::before{inset:-8px -2px}
  .lx-btn{position:relative}
}
