/* 5parts.ru — восстановленные стили шаблона /local/templates/5parts/.
   Оригинальные main.css и styles.min.css в архивы не попали: стили написаны заново
   под классы из сохранённой разметки (14.10.2026).
   Цвета — из самого кода сайта: синий #0080C5 (иконки), #0186D5 и тёмно-синий #003257
   (логотип), жёлтый #FFCE00 и графит #2B2B2B (полоса cookie), серый #B1BEC4, #11222B.
   Шрифт оригинала неизвестен (грузился с Google Fonts) — взят Manrope, лежит локально (tools/fetch_fonts.py). */

@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Splide прячет слайдер (visibility:hidden), пока не отработает JS, — из-за этого главная картинка (LCP) ждала
   скрипты. Первый слайд героя и галереи товара показываем сразу; остальные — после запуска слайдера. */
#hero:not(.is-initialized),#hero:not(.is-initialized) .splide__slide,
.splide--product:not(.is-initialized),.splide--product:not(.is-initialized) .splide__slide{visibility:visible}
#hero:not(.is-initialized) .splide__list,.splide--product:not(.is-initialized) .splide__list{display:flex}
#hero:not(.is-initialized) .splide__slide{width:100%;flex:0 0 100%}
#hero:not(.is-initialized) .splide__slide~.splide__slide,.splide--product:not(.is-initialized) .splide__slide~.splide__slide{display:none}

:root{
  --blue:#0080C5; --blue-600:#006DA8; --blue-50:#EAF4FB; --blue-100:#D6EAF7;
  --navy:#003257; --ink:#11222B; --ink-2:#3A4A54; --mute:#6B7C86; --gray:#B1BEC4;
  --line:#E3EAEE; --bg:#F2F6F9; --yellow:#FFCE00; --yellow-600:#F2C200; --graphite:#2B2B2B;
  --r-s:10px; --r:16px; --r-l:24px;
  --sh:0 2px 10px rgba(17,34,43,.06); --sh-h:0 18px 40px rgba(0,50,87,.13);
  --font:"Manrope","Segoe UI",Arial,sans-serif;
  --gx:24px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:400 15px/1.6 var(--font);color:var(--ink);background:#fff;overflow-x:hidden}
body.is-locked{overflow:hidden}
a{color:var(--blue);text-decoration:none;transition:color .15s}
a:hover{color:var(--blue-600)}
img{max-width:100%;height:auto;display:block}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4,.h3{margin:0 0 .5em;font-weight:800;line-height:1.15;letter-spacing:-.015em;color:var(--navy)}
p{margin:0 0 1em}
ul{margin:0;padding:0;list-style:none}
[hidden]{display:none!important}
svg [stroke-width]{stroke:currentColor}
/* иконки шаблона с fill="none" на корне: заливку им давал утраченный CSS */
.header__catalog svg path,.header__nav svg path,.header__city svg path,.header__btn svg path:not([stroke-width]){fill:currentColor}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* ---------------- сетка (как Bootstrap 5: container / row / col / gx) ---------------- */
.container{width:100%;max-width:1360px;margin:0 auto;padding:0 20px}
.row{--gx:24px;display:flex;flex-wrap:wrap;margin:0 calc(var(--gx) / -2)}
.row>*{flex:0 0 100%;max-width:100%;padding:0 calc(var(--gx) / 2)}
.gx-3{--gx:16px}
.col-12{flex:0 0 100%;max-width:100%}.col-6{flex:0 0 50%;max-width:50%}
@media(min-width:768px){
  .gx-md-4{--gx:24px}
  .col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.333%;max-width:33.333%}.col-md-6{flex:0 0 50%;max-width:50%}
  .col-md-8{flex:0 0 66.666%;max-width:66.666%}.col-md-9{flex:0 0 75%;max-width:75%}
  .order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}
}
@media(min-width:992px){.col-lg-5{flex:0 0 41.666%;max-width:41.666%}.col-lg-7{flex:0 0 58.333%;max-width:58.333%}}
@media(min-width:1200px){
  .col-xl-2{flex:0 0 16.666%;max-width:16.666%}.col-xl-3{flex:0 0 25%;max-width:25%}.col-xl-4{flex:0 0 33.333%;max-width:33.333%}
}
@media(min-width:1400px){
  .gx-xxl-5{--gx:32px}
  .col-xxl-3{flex:0 0 25%;max-width:25%}.col-xxl-6{flex:0 0 50%;max-width:50%}
  .order-xxl-1{order:1}.order-xxl-2{order:2}.order-xxl-3{order:3}
}

/* ---------------- шапка ---------------- */
.header{position:sticky;top:0;z-index:100;background:#fff;transition:box-shadow .2s}
.header.is-scrolled{box-shadow:0 8px 24px rgba(0,50,87,.08)}
.header__front{background:var(--bg);border-bottom:1px solid var(--line);font-size:13px}
.header__top{display:flex;align-items:center;gap:28px;min-height:40px}
.header__city{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;font-weight:700;color:var(--navy)}
.header__city svg{width:16px;height:16px;color:var(--blue)}
.header__city:hover{color:var(--blue)}
.header__menu{display:flex;flex-wrap:wrap;gap:4px 22px}
.header__menu a{color:var(--ink-2);font-weight:500}
.header__menu a:hover{color:var(--blue)}

.header__content{position:relative;display:flex;align-items:center;gap:20px;min-height:84px}
.header__btn{display:none;flex:none;width:44px;height:44px;border:0;border-radius:var(--r-s);background:var(--bg);color:var(--navy);place-items:center}
.header__btn svg{width:22px;height:22px}
.header__logo_{flex:none;display:block}
.header__logo_ img{height:46px;width:auto}
.header__catalog{flex:none;display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 24px;border-radius:12px;background:var(--blue);color:#fff;font-weight:700;font-size:16px}
.header__catalog svg{width:20px;height:20px}
.header__catalog:hover,.is-cat-open .header__catalog{background:var(--blue-600);color:#fff}
.header__actions{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:22px;min-width:0}
.header__search{flex:1;max-width:560px}
.header__search-btn{display:none;width:44px;height:44px;border:0;border-radius:var(--r-s);background:var(--bg);color:var(--navy);place-items:center}
.header__search-btn svg{width:20px;height:20px}
.header__search-form{display:flex;align-items:center;height:50px;padding:0 6px 0 18px;border:1.5px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s}
.header__search-form:focus-within{border-color:var(--blue)}
.header__search-input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:15px}
.header__search-input::placeholder{color:var(--mute)}
.header__search-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:var(--blue);color:#fff;cursor:pointer}
.header__search-icon svg{width:18px;height:18px}
.header__phone{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:0;border:0;background:none;text-align:left;line-height:1.25}
.header__phone svg{grid-row:1/3;width:22px;height:22px;color:var(--blue)}
.header__phone span{display:block}
.header__phone span:nth-of-type(1){font-weight:800;font-size:18px;color:var(--navy);white-space:nowrap}
.header__phone span:nth-of-type(2){font-size:12px;color:var(--mute);white-space:nowrap}
.header__phone:hover span:nth-of-type(1){color:var(--blue)}
.header__action-btn{padding:0;border:0;background:none}
.basket_link{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--navy);font-size:12px;font-weight:600}
.basket_link svg{width:26px;height:26px}
.basket_count{position:absolute;top:-6px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--yellow);color:var(--ink);font-size:11px;font-weight:800;display:grid;place-items:center}
.basket_link:hover{color:var(--blue)}

.header__nav{display:flex;gap:8px;padding:0 0 14px;overflow-x:auto;scrollbar-width:none}
.header__nav::-webkit-scrollbar{display:none}
.header__nav a{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 16px;border-radius:18px;background:var(--bg);color:var(--navy);font-weight:600;font-size:14px;white-space:nowrap}
.header__nav a:hover{background:var(--blue-50);color:var(--blue)}
.header__nav .promo a{background:var(--yellow);color:var(--ink)}
.header__nav .promo a:hover{background:var(--yellow-600)}
.header__nav svg{width:16px;height:16px}

/* ---------------- мегаменю каталога ---------------- */
.header__grid{position:absolute;left:0;right:0;top:calc(100% - 6px);z-index:90;display:none}
.is-cat-open .header__grid{display:block}
.catalog.cat2-menu{display:grid;grid-template-columns:300px 1fr;max-height:min(640px,calc(100vh - 170px));background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh-h);overflow:hidden}
.catalog__mobile-header,.cat2-mobile{display:none}
.catalog__categories{padding:12px;background:var(--bg);overflow:auto}
.catalog__categories .catalog__category{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:var(--r-s);color:var(--navy);font-weight:600}
.catalog__categories .catalog__category.is-active,.catalog__categories .catalog__category:hover{background:#fff;color:var(--blue);box-shadow:var(--sh)}
.catalog__category-name{display:flex;align-items:center;gap:12px;padding:0;border:0;background:none;color:inherit;font-weight:600;text-align:left}
.catalog__category-icon{flex:none;display:grid;place-items:center;width:28px;height:28px}
.catalog__category-icon svg,.catalog__category-icon img{width:26px;height:26px}
.catalog__category-chevron{display:grid;place-items:center;padding:0;border:0;background:none;color:var(--gray)}
.catalog__category-chevron svg{width:16px;height:16px}
.catalog__subcategories{padding:26px 30px;overflow:auto}
.catalog__subcat-panel{display:none}.catalog__subcat-panel.is-active{display:block}
.catalog__subcat-grid{columns:3 220px;column-gap:32px}
.catalog__subcat-group{break-inside:avoid;margin-bottom:22px}
.catalog__subcat-title{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:var(--navy);font-weight:800}
.catalog__subcat-title .catalog__category-icon,.catalog__subcat-title .catalog__category-icon svg{width:24px;height:24px}
.catalog__subcat-list a{display:block;padding:3px 0 3px 34px;color:var(--ink-2);font-size:14px}
.catalog__subcat-list a:hover,.catalog__subcat-title:hover{color:var(--blue)}

/* ---------------- общие блоки ---------------- */
.section{padding:56px 0}
.section--np{padding-top:0}
.section--pb{padding-top:0}
.section--page{padding-top:0}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.section__head--border{padding-bottom:18px;border-bottom:1px solid var(--line)}
.section__title{margin:0;font-size:clamp(24px,2.5vw,34px)}
.section__more{display:inline-flex;align-items:center;gap:8px;font-weight:700;margin-right:120px}
.section__more svg{width:18px;height:18px}
.section__line{display:none}
.section--carousel+.section{padding-top:24px}

/* слайдеры (Splide) */
.splide__arrows{display:flex;gap:10px}
.splide__arrow{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1.5px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);transition:.15s}
.splide__arrow svg{width:22px;height:22px}
.splide__arrow:hover:not(:disabled){background:var(--blue);border-color:var(--blue);color:#fff}
.splide__arrow:disabled{opacity:.35;cursor:default}
.splide__pagination{display:flex;gap:8px;justify-content:center;margin:18px 0 0;padding:0}
.splide__pagination__page{width:8px;height:8px;padding:0;border:0;border-radius:4px;background:var(--gray);transition:.2s}
.splide__pagination__page.is-active{width:26px;background:var(--blue)}

/* ---------------- первый экран ---------------- */
.hero{padding:8px 0 40px}
.hero__carousel{position:relative}
.hero__slide{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:48px;
  min-height:440px;padding:56px 0 56px 56px;border-radius:var(--r-l);background:linear-gradient(120deg,#EAF4FB 0%,#F5F9FC 55%,#E2EFF8 100%);overflow:hidden}
.hero__slide::before{content:"";position:absolute;left:-80px;bottom:-120px;width:320px;height:320px;border-radius:50%;border:56px solid rgba(0,128,197,.06)}
.hero__title{grid-column:1;position:relative;margin:0 0 18px;font-size:clamp(28px,3.3vw,46px);color:var(--navy)}
.hero__text{grid-column:1;position:relative;max-width:560px;margin:0 0 30px;color:var(--ink-2);font-size:17px}
.hero__btn{grid-column:1;align-self:start;justify-self:start;position:relative;display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 32px;border-radius:14px;background:var(--blue);color:#fff;font-weight:700;font-size:16px;box-shadow:0 10px 24px rgba(0,128,197,.28)}
.hero__btn::after{content:"→";font-size:18px;transition:transform .2s}
.hero__btn:hover{background:var(--blue-600);color:#fff}.hero__btn:hover::after{transform:translateX(4px)}
.hero__img{grid-column:2;grid-row:1/4;position:relative;margin:-56px 0;align-self:stretch;min-height:440px;overflow:hidden}
.hero__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.hero .splide__track{border-radius:var(--r-l)}
.hero__img::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#F2F7FB 0,rgba(242,247,251,0) 22%)}
.hero__nav{position:absolute;right:28px;bottom:28px;z-index:2}
.hero__nav .splide__arrows{position:static}
.hero .splide__pagination{position:absolute;left:0;right:0;bottom:-28px}

/* ---------------- преимущества ---------------- */
.section--np .row{row-gap:16px}
.feature{position:relative;height:100%;padding:24px 24px 22px 24px;border:1px solid var(--line);border-radius:var(--r);background:#fff;transition:.2s}
.feature:hover{border-color:var(--blue-100);box-shadow:var(--sh-h)}
.feature__number{display:grid;place-items:center;width:44px;height:44px;margin-bottom:16px;border-radius:12px;background:var(--blue-50);color:var(--blue);font-weight:800;font-size:18px}
.feature__title{margin:0 0 6px;font-size:17px;line-height:1.3}
.feature__text{margin:0;color:var(--mute);font-size:14px;line-height:1.5}

/* ---------------- модели (каталог на главной) ---------------- */
.catalog:not(.cat2-menu){display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.catalog__item{display:flex;flex-direction:column;align-items:flex-start;padding:18px 18px 20px;border-radius:var(--r);background:var(--bg);color:var(--navy);transition:.2s;border:1px solid transparent}
.catalog__item img,.catalog__item .img-ph{width:100%;aspect-ratio:16/9;object-fit:contain;margin:0 0 14px;transition:transform .3s}
.catalog__item .h3{margin:0 0 2px;font-size:17px}
.catalog__item span:not(.img-ph){color:var(--mute);font-size:13px}
.catalog__item:hover{background:#fff;border-color:var(--line);box-shadow:var(--sh-h);color:var(--navy)}
.catalog__item:hover img{transform:scale(1.05)}

/* заглушка вместо утраченного фото — иконка раздела */
.img-ph{display:grid;place-items:center;background:var(--blue-50);color:var(--blue)}
.img-ph svg{width:34%;height:auto;max-height:70%}
.catalog__item .img-ph{background:transparent}

/* ---------------- популярные запчасти / статьи / акции ---------------- */
.posts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.post{display:flex;flex-direction:column;height:100%;border:1px solid var(--line);border-radius:var(--r);background:#fff;overflow:hidden;transition:.2s}
.post:hover{border-color:transparent;box-shadow:var(--sh-h)}
.post__img{position:relative;display:block;aspect-ratio:4/3;background:var(--bg);overflow:hidden}
.post__img img,.post__img .img-ph{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.post:hover .post__img img{transform:scale(1.05)}
.post__img--overlay::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,50,87,0) 35%,rgba(0,30,55,.82) 100%)}
.post__promo{position:absolute;left:20px;right:20px;bottom:18px;z-index:1;color:#fff}
.post__promo h4{margin:0 0 8px;color:#fff;font-size:21px}
.post__promo span{display:inline-block;padding:3px 12px;border-radius:14px;background:var(--yellow);color:var(--ink);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.post__content{display:flex;flex-direction:column;gap:10px;padding:18px 20px 22px}
.post__tags{display:flex;flex-wrap:wrap;gap:6px}
.post__tags a{display:block;padding:3px 10px;border-radius:12px;background:var(--blue-50);color:var(--blue);font-size:12px;font-weight:600}
.post__title{margin:0;font-size:17px;line-height:1.35}
.post__title a{color:var(--navy)}.post__title a:hover{color:var(--blue)}
.post__text{margin:0;color:var(--mute);font-size:14px}
.post__text:empty{display:none}

.section--carousel{position:relative}
.section__carousel{position:relative;max-width:1360px;margin:0 auto;padding:0 20px}
.section__nav{position:absolute;right:20px;top:-92px}
.section--carousel .splide__track{overflow:hidden;padding:6px 0 18px;margin:-6px 0 -18px}
.section--carousel .splide__slide{height:auto}
.post--slide{height:100%}

/* ---------------- о магазине + форма ---------------- */
.essay{padding-right:24px}
.essay__title{margin-bottom:22px;font-size:clamp(24px,2.5vw,34px)}
.essay p{color:var(--ink-2)}
.essay br+br{display:none}
.essay__btn{display:inline-flex;align-items:center;height:52px;margin-top:8px;padding:0 26px;border:1.5px solid var(--blue);border-radius:14px;font-weight:700}
.essay__btn:hover{background:var(--blue);color:#fff}

.form--call{position:sticky;top:120px;padding:36px;border-radius:var(--r-l);background:var(--navy);color:#fff;overflow:hidden}
.form--call::after{content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;border-radius:50%;border:44px solid rgba(255,255,255,.05)}
.form__title{margin-bottom:8px;font-weight:800;font-size:26px;line-height:1.2}
.form--call .form__title{color:#fff}
.form__text{margin:0 0 20px;color:rgba(255,255,255,.75);font-size:15px}
.form__group{position:relative;margin-bottom:12px}
.form__input{width:100%;height:54px;padding:0 18px;border:1.5px solid transparent;border-radius:12px;background:#fff;color:var(--ink);font-size:15px;outline:0}
.form__input:focus{border-color:var(--yellow)}
.form__btns{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.form__btn{height:56px;border:0;border-radius:14px;background:var(--yellow);color:var(--ink);font-weight:800;font-size:16px;transition:.15s}
.form__btn:hover{background:var(--yellow-600)}
.form__btn--clean{background:transparent;color:var(--blue)}
.form__note{margin:14px 0 0;font-size:12px;line-height:1.45;color:rgba(255,255,255,.6)}
.form__note a{color:rgba(255,255,255,.85);text-decoration:underline}
.form__result{margin-top:14px;padding:16px 18px;border-radius:12px;background:rgba(255,206,0,.14)}
.form__result b{display:block;font-size:17px;color:var(--yellow)}
.form__error:empty{display:none}

/* ---------------- подвал ---------------- */
.footer{padding:60px 0 28px;background:var(--navy);color:rgba(255,255,255,.62);font-size:14px}
.footer .row{row-gap:28px}
.footer .row+.row{margin-top:36px;padding-top:28px;border-top:1px solid rgba(255,255,255,.1)}
.footer a{color:rgba(255,255,255,.85)}.footer a:hover{color:#fff}
.footer__logo img{height:46px;width:auto}
.footer__tagline{margin:18px 0 0;line-height:1.55}
.footer__title{display:block;margin-bottom:14px;color:#fff;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.footer__nav ul{display:grid;gap:8px}
.footer__nav--double{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.footer__contact a{display:block;color:#fff;font-weight:800;font-size:20px}
.footer__contact p,.footer__contact span{margin:2px 0 0;font-size:13px}
.footer__address span{display:block;padding-left:22px;position:relative;line-height:1.7}
.footer__address span::before{content:"";position:absolute;left:0;top:.55em;width:10px;height:10px;border-radius:50%;border:2.5px solid var(--yellow)}
.footer__social{display:flex;gap:10px}
.footer__social a{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.08);transition:.15s}
.footer__social a:hover{background:var(--blue)}
.footer__social svg{width:20px;height:20px}
.footer__social a[aria-label=telegram] path{fill:#fff}
.footer__social a[aria-label=max] svg{border-radius:5px}
.footer__policy{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:13px}
.footer__policy a{color:rgba(255,255,255,.6)}
.footer__payments{display:flex;align-items:center;gap:12px;font-size:13px}
.footer__payments ul{display:flex;gap:8px}
.footer__payments img{height:28px;width:auto}
.footer__copyright{font-size:13px}
@media(min-width:1400px){.footer__payments{justify-content:flex-end}}

/* ---------------- окна ---------------- */
.modal{display:none}
.modal.is-open{display:block;position:fixed;inset:0;z-index:1000}
.modal__overlay{display:flex;align-items:center;justify-content:center;min-height:100%;padding:20px;background:rgba(0,22,40,.62);backdrop-filter:blur(3px)}
.modal__container{position:relative;width:100%;max-width:500px;animation:pop .22s ease-out}
@keyframes pop{from{opacity:0;transform:translateY(12px) scale(.98)}}
.modal__content{position:relative;border-radius:var(--r-l);background:#fff;overflow:hidden}
.modal__content>.form--call{position:relative;top:0;border-radius:0}
.modal__content>.form{padding:40px 34px 32px}
.modal__close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff}
.modal__close svg{width:18px;height:18px}
.modal__content.auth-modal .modal__close,.modal__content--city .modal__close{background:var(--bg);color:var(--navy)}
.modal .form--modal{display:none;padding:44px 34px 34px}
.modal .form--modal.is-active,#cart-modal .form--modal,#order-modal .form--modal{display:block}
#cart-modal .modal__close,#order-modal .modal__close{background:var(--bg);color:var(--navy)}
#cart-modal .modal__close svg path,#order-modal .modal__close svg path{stroke:currentColor}
#cart-modal .product-s{padding:14px;border-radius:14px;background:var(--bg)}
#cart-modal .product-s__number{font-size:13px;color:var(--mute)}
#cart-modal .product-s__title{margin:2px 0 4px;font-size:16px;line-height:1.35}
#cart-modal .product-s__title a{color:var(--ink)}
#cart-modal .product-s__counter{font-size:14px;font-weight:700;color:var(--navy)}
#cart-modal .form__btns{margin-top:18px}
#cart-modal a.form__btn{display:flex;align-items:center;justify-content:center}
.form--modal .form__title{color:var(--navy)}
.form--modal .form__title--center,.form__text--center,.form__note--center{text-align:center}
.form--modal .form__input{border-color:var(--line);background:var(--bg)}
.form--modal .form__input:focus{border-color:var(--blue);background:#fff}
.form--modal .form__icon,.form__pass{display:none}
.form__bar{display:flex;justify-content:space-between;align-items:center;margin:4px 0 18px;font-size:14px}
.form__switch{display:flex;align-items:center;gap:8px}
.form__switch-input{accent-color:var(--blue)}
.form__reset{padding:0;border:0;background:none;color:var(--blue);font-weight:600}
.form--modal .form__btn{background:var(--blue);color:#fff}
.form--modal .form__btn:hover{background:var(--blue-600)}
.form--modal .form__btn--clean{background:none;color:var(--blue)}
.form__suggestions{display:grid;gap:4px;margin-top:10px}
.form__suggestions li{padding:10px 12px;border-radius:10px;cursor:pointer}
.form__suggestions li:hover{background:var(--bg)}
.auth-forgot-success{display:none}

/* ---------------- полоса cookie (стили из самой страницы) ---------------- */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:999;display:flex;align-items:center;gap:12px;padding:8px 14px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));
  background:var(--graphite);color:#fff;box-shadow:0 -2px 10px rgba(0,0,0,.18);font-size:12px;line-height:1.35}
.cookie-banner .cookie-text{flex:1 1 auto;margin:0}
.cookie-banner .cookie-text a{color:var(--yellow);text-decoration:underline}
.cookie-btn{flex:0 0 auto;min-height:32px;padding:0 14px;border:0;border-radius:4px;background:var(--yellow);color:var(--graphite);font-weight:600;font-size:12px}
.cookie-banner.is-hidden{display:none}

/* ================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ================================================================ */
.section--page{padding-top:8px}
.section--head{padding:8px 0 28px}
.section--head+.section--pb{padding-top:0}
.section--bg{background:var(--bg);padding:56px 0}
.section__head--small{margin-bottom:18px}
.section__head--small .section__title{font-size:24px}
.section__more--white{margin-right:120px}
.section__page-title{margin:6px 0 24px;font-size:clamp(26px,3vw,40px)}
.section__page-title--article{margin-bottom:14px}
.section__breadcrumbs{margin:6px 0 4px}
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px 0;font-size:13px}
.breadcrumb__item{display:flex;align-items:center;color:var(--mute)}
.breadcrumb__item+.breadcrumb__item::before{content:"";width:5px;height:5px;margin:0 12px 0 10px;border-right:1.5px solid var(--gray);border-top:1.5px solid var(--gray);transform:rotate(45deg)}
.breadcrumb__item a{color:var(--mute)}.breadcrumb__item a:hover{color:var(--blue)}
.breadcrumb__item:last-child a{color:var(--navy);pointer-events:none}
.g-3{row-gap:16px}
.col-lg-4,.col-lg-6,.col-lg-8,.col-lg-10,.col-md-2,.col-md-10,.col-xl-8,.col-xl-9{flex:0 0 100%;max-width:100%}
@media(min-width:768px){.col-md-2{flex:0 0 16.666%;max-width:16.666%}.col-md-10{flex:0 0 83.333%;max-width:83.333%}}
@media(min-width:992px){.col-lg-4{flex:0 0 33.333%;max-width:33.333%}.col-lg-6{flex:0 0 50%;max-width:50%}.col-lg-8{flex:0 0 66.666%;max-width:66.666%}.col-lg-10{flex:0 0 83.333%;max-width:83.333%}}
@media(min-width:1200px){.col-xl-8{flex:0 0 66.666%;max-width:66.666%}.col-xl-9{flex:0 0 75%;max-width:75%}}

/* каталог: группы разделов (/categories/) */
.cat2-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.cat2-group{padding:22px 24px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.cat2-group__head{display:flex;align-items:center;gap:12px;margin-bottom:12px;color:var(--navy);font-weight:800;font-size:18px}
.cat2-group__icon,.cat2-group__icon svg{width:32px;height:32px;flex:none}
.cat2-group__list{display:grid;gap:4px;padding-left:44px}
.cat2-group__link{color:var(--ink-2);font-size:14px}.cat2-group__link:hover,.cat2-group__head:hover{color:var(--blue)}
.cat2-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.cat2-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r);background:#fff;color:var(--navy);transition:.15s}
.cat2-card:hover{border-color:var(--blue-100);box-shadow:var(--sh-h);color:var(--blue)}
.cat2-card__icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:var(--blue-50)}
.cat2-card__icon svg{width:30px;height:30px}
.cat2-card__body{display:flex;flex-direction:column;min-width:0}
.cat2-card__name{font-weight:700;line-height:1.3}
.cat2-card__count{color:var(--mute);font-size:13px}

/* модели и поколения, подразделы */
.model-range{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.model-range__item a{display:block;padding:8px 16px;border:1.5px solid var(--line);border-radius:20px;color:var(--navy);font-weight:600;font-size:14px}
.model-range__item a:hover,.model-range__item.active a{background:var(--navy);border-color:var(--navy);color:#fff}
.components{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-bottom:8px}
.component{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--navy);transition:.15s}
.component:hover{border-color:var(--blue);color:var(--blue)}
.component__icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--blue-50)}
.component__icon svg,.component__icon img{width:26px;height:26px}
.component__content p,.component p{margin:0;font-weight:700;line-height:1.3}
.component span,.component__content span{color:var(--mute);font-size:13px}

/* фильтр и сортировка */
.filter{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:22px}
.filter>.filter__items,.smartfilter>.filter__items{display:flex;flex-wrap:wrap;gap:8px}
.smartfilter{display:contents}
.filter__item,.filter__sort{position:relative}
.filter__btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font-weight:600;font-size:14px;white-space:nowrap}
.filter__btn:hover,._open>.filter__btn{border-color:var(--blue);color:var(--blue)}
.filter__btn--sort{border-color:transparent;background:var(--bg)}
.filter__arrow{display:grid;place-items:center}.filter__arrow svg{width:12px;height:12px}
.filter__counter:empty,.filter__clean,.filter__found{display:none}
.cat2-model-filter__icon img{width:22px;height:22px}
.filter__menu{display:none;position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:240px;max-height:340px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--sh-h)}
.filter__sort .filter__menu{left:auto;right:0}
._open>.filter__menu{display:block}
.filter__list li,.filter__btns li{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:9px;font-size:14px}
.filter__list li:hover,.filter__btns li:hover{background:var(--bg)}
.filter__list input{accent-color:var(--blue)}
.filter__type{width:100%;padding:0;border:0;background:none;text-align:left}
.filter__list label{flex:1;display:flex;justify-content:space-between;gap:12px;cursor:pointer}
.filter__list label span{color:var(--mute);font-size:12px}
.filter__counter{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--blue);color:#fff;font-size:12px;font-weight:700}
.filter__item.is-active>.filter__btn{border-color:var(--blue);color:var(--blue);background:var(--blue-50)}
.filter__reset{display:block;width:100%;margin-top:6px;padding:8px;border:0;border-top:1px solid var(--line);background:none;color:var(--mute);font-size:13px}
.filter__reset:hover{color:var(--blue)}
.catalog-counter{margin:-8px 0 14px}
.catalog-nothing{padding:28px;border-radius:var(--r);background:var(--bg);color:var(--ink-2)}
.catalog-nothing button{border:0;background:none;color:var(--blue);font-weight:700;text-decoration:underline}
.products-grid .product[hidden]{display:none}
.catalog-section .section__pagination{margin-top:26px}
.paginator__item--gap{display:grid;place-items:end center;min-width:24px;height:42px;color:var(--mute)}
.paginator__item--prev svg{transform:rotate(180deg)}
[data-copy]{position:relative;cursor:pointer}
[data-copy].is-copied::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);padding:4px 8px;border-radius:6px;background:var(--ink);color:#fff;font-size:12px;white-space:nowrap}
.empty-cart{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px 0 64px}
.empty-cart__icon{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:var(--blue-50)}
.empty-cart__icon img{width:40px;height:40px}
.empty-cart__title{margin:8px 0 0;font-size:34px;color:var(--navy)}
.empty-cart__text{margin:0;color:var(--ink-2);font-size:17px}
.empty-cart__btn{display:inline-flex;align-items:center;height:52px;margin-top:10px;padding:0 28px;border-radius:14px;background:var(--blue);color:#fff;font-weight:700}
.empty-cart__btn:hover{background:var(--blue-600)}
.restore{max-width:820px;padding-bottom:40px}
.restore p{margin:0 0 16px;font-size:17px;line-height:1.6;color:var(--ink-2)}
.restore__lead{padding:20px 22px;border-left:4px solid var(--yellow);border-radius:0 14px 14px 0;background:var(--bg)}
.restore .search-box{margin:22px 0}
.restore__links{display:flex;flex-wrap:wrap;align-items:center;gap:22px}
.restore__links .hero__btn{margin:0}
.restore__phone{font-size:22px;font-weight:800;color:var(--navy)}
/* личного кабинета нет — вход скрыт */
[data-micromodal-trigger="login-modal"]{display:none!important}
.filter__btns li.active .filter__type{color:var(--blue);font-weight:700}
input[name=set_filter],input[name=del_filter],.bx-filter-popup-result,#modef{display:none!important}
/* окно выбора модели */
.cat2-model-modal{display:none;position:fixed;inset:0;z-index:1000}
.cat2-model-modal.is-open{display:block}
.cat2-model-modal__overlay{position:absolute;inset:0;background:rgba(0,22,40,.62);backdrop-filter:blur(3px)}
.cat2-model-modal__dialog{position:relative;display:flex;flex-direction:column;width:min(760px,calc(100% - 32px));max-height:calc(100vh - 64px);margin:32px auto;border-radius:var(--r-l);background:#fff;overflow:hidden;animation:pop .22s ease-out}
.cat2-model-modal__head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line)}
.cat2-model-modal__head h2{margin:0;font-size:22px}
.cat2-model-modal__close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:var(--bg);color:var(--navy)}
.cat2-model-modal__close svg{width:18px;height:18px}
.cat2-model-modal__body{overflow:auto;padding:16px 26px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.cat2-model-group{padding:12px;border:1px solid var(--line);border-radius:14px}
.cat2-model-option{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:9px;cursor:pointer;font-size:14px}
.cat2-model-option:hover{background:var(--bg)}
.cat2-model-option input{position:absolute;opacity:0}
.cat2-model-option--model{font-weight:800;color:var(--navy)}
.cat2-model-option__media img{width:56px;height:34px;object-fit:contain}
.cat2-model-option__name{flex:1}
.cat2-model-option__radio{width:18px;height:18px;border:2px solid var(--gray);border-radius:50%}
.cat2-model-option input:checked~.cat2-model-option__radio{border:5px solid var(--blue)}
.cat2-model-modal__foot{padding:16px 26px;border-top:1px solid var(--line)}
.cat2-model-modal__apply{display:inline-flex;align-items:center;gap:8px;height:50px;padding:0 28px;border:0;border-radius:12px;background:var(--blue);color:#fff;font-weight:700}
.cat2-model-modal__apply svg{width:18px;height:18px}

/* товары в разделе */
.catalog-section{min-width:0}
.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);background:#fff;overflow:hidden;transition:.2s}
.product:hover{border-color:transparent;box-shadow:var(--sh-h)}
.product__img{display:block;aspect-ratio:4/3;background:var(--bg);overflow:hidden}
.product__img img{width:100%;height:100%;object-fit:cover}
.product__img img[data-nofoto]{object-fit:contain}
.product-item-image-slider-slide-container,.product-item-image-alternative{display:none}
.product__content{display:flex;flex-direction:column;gap:8px;flex:1;padding:14px 16px 16px}
.product__meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;font-size:12px;color:var(--mute)}
.product__availability{color:#1E9E5A;font-weight:700}
.product__title{margin:0;font-size:15px;line-height:1.35;font-weight:700}
.product__title a{color:var(--navy)}.product__title a:hover{color:var(--blue)}
.product__delivery{display:flex;align-items:center;gap:6px;color:var(--mute);font-size:13px}
.product__delivery img{width:18px;height:18px}
.product__buy{display:flex;align-items:center;justify-content:center;height:46px;margin-top:auto;padding:0;border:0;border-radius:12px;background:var(--blue);transition:.15s}
.product__buy:hover{background:var(--blue-600)}
.product__buy a,.product__buy ._btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;color:#fff;font-weight:800;font-size:16px}
.product__buy img{width:20px;height:20px}
.product__order{height:40px;border:0;border-radius:12px;background:var(--bg);color:var(--navy);font-weight:600;font-size:14px}
.product__order:hover{background:var(--blue-50);color:var(--blue)}
.section__load-more{display:block;margin:24px auto 0;height:48px;padding:0 28px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font-weight:700}
.section__pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:28px}
.paginator{display:flex;flex-wrap:wrap;gap:6px}
.paginator__item a,.paginator__item span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border-radius:10px;background:var(--bg);color:var(--navy);font-weight:700}
.paginator__item a:hover{background:var(--blue-50);color:var(--blue)}
.paginator__item--active a,.paginator__item--active span{background:var(--blue);color:#fff}
.paginator__item svg{width:16px;height:16px}
.section__counter{color:var(--mute);font-size:14px}
/* SEO-текст раздела */
.description{margin-top:40px;color:var(--ink-2)}
.description h1{font-size:clamp(22px,2.4vw,30px)}
.description h2{margin-top:28px;font-size:22px}
.description h3{margin-top:22px;font-size:18px}
.description ul{list-style:disc;padding-left:22px;margin:0 0 1em}
.description li{margin:4px 0}

/* карточка товара */
.product-slider{position:relative;border:1px solid var(--line);border-radius:var(--r-l);background:var(--bg);overflow:hidden}
.product-slider__item{aspect-ratio:4/3;display:grid;place-items:center}
.product-slider__item img{width:100%;height:100%;object-fit:cover}
.product-slider__item img[data-nofoto]{object-fit:contain}
.product-slider .splide__arrows{position:absolute;inset:50% 12px auto;display:flex;justify-content:space-between;transform:translateY(-50%);pointer-events:none}
.product-slider .splide__arrow{pointer-events:auto}
.product-thumbs__item{border-radius:12px;overflow:hidden;border:2px solid transparent;background:var(--bg);cursor:pointer}
.product-thumbs .is-active .product-thumbs__item{border-color:var(--blue)}
.product-thumbs__item img{width:100%;aspect-ratio:1;object-fit:cover}
.product-card{display:flex;flex-direction:column;gap:18px;padding-top:4px}
.product-card__number{display:flex;align-items:center;gap:8px;color:var(--mute);font-size:14px}
.product-card__number button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:var(--bg);color:var(--mute)}
.product-card__number button svg{width:16px;height:16px}
.product-card__title{margin:0;font-size:clamp(24px,2.6vw,34px)}
.product-card__tags{display:flex;flex-wrap:wrap;gap:8px}
.product-card__tag{padding:6px 12px;border-radius:16px;background:var(--bg);font-size:13px;font-weight:600}
.product-card__tag--stock,.product-card__tag--green{background:#E6F6EC;color:#1E9E5A}
.product-card__tag--blue{background:var(--blue-50);color:var(--blue)}
.product-card__tag--order{background:#FFF6D6;color:#8A6A00}
.product-card__actions{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:20px;border-radius:var(--r-l);background:var(--bg)}
.product-card__price{font-weight:800;font-size:34px;color:var(--navy);white-space:nowrap}
.product-card__sum{display:none}
.product-card__counter{display:flex;align-items:center;height:50px;border:1.5px solid var(--line);border-radius:12px;background:#fff}
.product-card__counter button{display:grid;place-items:center;width:42px;height:100%;padding:0;border:0;background:none;color:var(--navy)}
.product-card__counter button svg{width:16px;height:16px}
.product-card__counter input{width:40px;border:0;outline:0;text-align:center;font-weight:700;font-size:16px;background:none}
.product-card__order,.product-card__buy{display:flex;align-items:center;justify-content:center;gap:8px;height:54px;border-radius:14px;font-weight:700;font-size:16px}
.product-card__order{border:1.5px solid var(--line);background:#fff;color:var(--navy)}
.product-card__order:hover{border-color:var(--blue);color:var(--blue)}
.product-card__buy{border:0;background:var(--blue);color:#fff}
.product-card__buy:hover{background:var(--blue-600)}
.product-card__buy img{width:20px;height:20px}
.product-card__buy-text{font-size:0}
.product-card__buy-text::before{content:"В корзину";font-size:16px}
.product-card__order span+span{display:none}
.install{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1.5px dashed var(--blue-100);border-radius:var(--r);background:#fff}
.install__content{display:flex;align-items:center;gap:12px}
.install__icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:var(--blue-50)}
.install__icon img{width:24px;height:24px}
.install__text{margin:0;font-size:15px}.install__text b{color:var(--navy)}
.install__text span{display:none}
.install__switch{position:relative}
.install__switch-input{appearance:none;width:46px;height:26px;border-radius:13px;background:var(--gray);position:relative;cursor:pointer;transition:.2s;margin:0}
.install__switch-input::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s}
.install__switch-input:checked{background:var(--blue)}.install__switch-input:checked::after{left:23px}
.install__switch label{display:none}
.props__title{display:block;margin-bottom:10px;font-weight:800;font-size:19px;color:var(--navy)}
.props__row{display:flex;align-items:baseline;gap:8px;padding:6px 0;font-size:14px}
.props__key{color:var(--mute)}
.props__dots{flex:1;border-bottom:1.5px dotted #CBD6DC;transform:translateY(-4px)}
.props__value{font-weight:700;color:var(--navy);text-align:right}
.availability{height:100%;padding:22px 24px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.availability__status{display:inline-block;margin-bottom:8px;padding:4px 12px;border-radius:14px;background:#E6F6EC;color:#1E9E5A;font-weight:700;font-size:13px}
.availability__status--order{background:#FFF6D6;color:#8A6A00}
.availability__address{margin:0 0 6px;font-size:17px;line-height:1.35}
.availability__text{margin:0;color:var(--mute);font-size:14px}
.form--product{position:relative;padding:44px 48px;border-radius:var(--r-l);background:var(--navy);color:#fff;overflow:hidden}
.form--product::after{content:"";position:absolute;right:-90px;bottom:-90px;width:280px;height:280px;border-radius:50%;border:54px solid rgba(255,255,255,.05)}
.form--product .form__title{font-size:clamp(24px,2.6vw,34px);color:#fff}
.form--product .form__title b{color:var(--yellow)}
.form--product .form__text{max-width:720px;color:rgba(255,255,255,.78)}
.form--product .form--call{position:relative;top:0;padding:0;background:none;max-width:520px}
.form--product .form--call::after{display:none}
.bx_storege,.catalog-block-header{display:none}
.product-s{display:flex;gap:14px;align-items:center;margin:14px 0}
.product-s__img img{width:72px;height:72px;object-fit:cover;border-radius:10px}

/* статьи, бренды, контакты, акции */
.section__meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:24px;color:var(--mute);font-size:14px}
.section__tag{padding:4px 12px;border-radius:14px;background:var(--blue-50);color:var(--blue);font-weight:600;font-size:13px}
.section__date{display:inline-flex;align-items:center;gap:6px}.section__date svg{width:16px;height:16px}
.post__date{color:var(--mute);font-size:13px}
.article{color:var(--ink-2);font-size:16px;line-height:1.7}
.article img{margin:0 0 24px;border-radius:var(--r);width:100%;max-height:440px;object-fit:cover}
.article img[data-nofoto]{object-fit:contain;max-height:280px}
.article h2{margin-top:32px;font-size:26px}.article h3{margin-top:26px;font-size:21px}.article h4,.article h5{margin-top:20px;font-size:18px}
.article ul,.article ol{padding-left:22px;margin:0 0 1em}.article ul{list-style:disc}.article li{margin:4px 0}
.article table{width:100%;border-collapse:collapse;margin:0 0 1.2em}
.article td,.article th{padding:10px 12px;border:1px solid var(--line);vertical-align:top}
.section__aside{position:sticky;top:120px}
.section__aside:empty::before{content:"";display:block}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tags__item{padding:6px 12px;border-radius:14px;background:var(--bg);color:var(--navy);font-size:13px}
.detail.partners{padding:8px 0}
.detail.partners>font{display:none}
.bottom-links-block{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.back-url{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.back-url::before{content:"←"}
.share,.ya-share2{display:none}
.contacts{display:grid;gap:20px}
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px 32px;padding:28px;border:1px solid var(--line);border-radius:var(--r-l);background:#fff}
.contact__title{grid-column:1/-1;margin:0;font-size:22px}
.contact__map{grid-column:2;grid-row:2/4;min-height:300px;border-radius:var(--r);overflow:hidden;background:var(--bg)}
.contact__map iframe{width:100%;height:100%;min-height:300px;border:0}
.contact__items{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;align-content:start}
.contact__item{font-size:14px}
.contact__item>span,.contact__item b,.contact__item h3{display:block;margin-bottom:2px;color:var(--mute);font-weight:600;font-size:13px}
.contact__item p{margin:0;color:var(--navy);font-weight:600}
.contact__btn{justify-self:start;height:50px;padding:0 26px;border:0;border-radius:12px;background:var(--blue);color:#fff;font-weight:700}
.contact__btn:hover{background:var(--blue-600)}
.search-page .form__search,.form__search--page{display:flex;gap:10px;max-width:720px;margin-bottom:24px}
.form__group--search{flex:1}

.catalog-empty{margin-top:16px;padding:32px;border-radius:var(--r-l);background:var(--bg)}
.catalog-empty b{display:block;margin-bottom:6px;color:var(--navy);font-size:20px}
.catalog-empty p{color:var(--ink-2);max-width:620px}
/* ---------------- разделы, оформленные заново (в архиве — только текст) ---------------- */
.page-lead{max-width:760px;margin:-8px 0 28px;color:var(--ink-2);font-size:17px}
.page-note{max-width:760px;margin-top:24px;color:var(--mute);font-size:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 28px}
.chip{padding:8px 16px;border-radius:20px;background:var(--bg);color:var(--navy);font-weight:600;font-size:14px}
.chip:hover{background:var(--blue-50);color:var(--blue)}
.chip.is-active{background:var(--navy);color:#fff}
.posts-grid--list{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.posts-grid--sale{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1000px}
.post__img--contain{background:linear-gradient(160deg,#F2F7FB,#E3EFF8)}
.post__img--contain img{object-fit:contain;padding:8% 10%}
.post__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:13px}
.post__tag{padding:3px 10px;border-radius:12px;background:var(--blue-50);color:var(--blue);font-weight:600;font-size:12px}
.post__date{color:var(--mute)}
.post__link{align-self:flex-start;margin-top:auto;padding-top:4px;font-weight:700;font-size:14px}
.post__link::after{content:" →"}
.post--article .post__content,.post--news .post__content,.post--slide .post__content{flex:1}
.docs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.doc{display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--r);background:#fff;color:var(--navy);transition:.15s}
a.doc:hover{border-color:var(--blue-100);box-shadow:var(--sh-h);color:var(--blue)}
.doc__icon{display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:14px;background:var(--blue-50);color:var(--blue)}
.doc__icon svg{width:28px;height:28px}
.doc__body{display:flex;flex-direction:column;gap:2px}
.doc__body b{line-height:1.3}.doc__body span{color:var(--mute);font-size:13px}
.abc{position:sticky;top:96px;z-index:5;display:flex;flex-wrap:wrap;gap:4px;margin:0 0 28px;padding:10px;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:var(--sh);backdrop-filter:blur(6px)}
.abc a{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:9px;color:var(--navy);font-weight:700;font-size:14px}
.abc a:hover{background:var(--blue);color:#fff}
.abc-group{display:grid;grid-template-columns:64px 1fr;gap:16px;padding:22px 0;border-top:1px solid var(--line);scroll-margin-top:170px}
.abc-group__letter{font-weight:800;font-size:30px;line-height:1;color:var(--blue)}
.brands{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.brand{display:flex;align-items:center;min-height:48px;padding:8px 14px;border:1px solid var(--line);border-radius:12px;color:var(--navy);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.02em;transition:.15s}
.brand:hover{border-color:var(--blue);color:var(--blue)}
.reviews-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:32px;align-items:start}
.review-places{display:grid;gap:12px}
.review-place{padding:20px 22px;border:1px solid var(--line);border-radius:var(--r)}
.review-place b{display:block;color:var(--navy)}.review-place span{color:var(--mute);font-size:14px}
.review-places p{color:var(--ink-2)}
.form--review{position:relative;padding:36px;border-radius:var(--r-l);background:var(--navy);color:#fff}
.form--review .form__title{color:#fff}.form--review .form__text{color:rgba(255,255,255,.75)}
.form--review .form__note{color:rgba(255,255,255,.6)}.form--review .form__note a{color:rgba(255,255,255,.85)}
.form__textarea{height:auto;min-height:120px;padding:14px 18px;resize:vertical;font:inherit}
.stars{display:inline-flex;flex-direction:row-reverse;gap:4px;margin:0 0 16px}
.stars input{position:absolute;opacity:0}
.stars span{font-size:30px;line-height:1;color:rgba(255,255,255,.25);cursor:pointer;transition:.1s}
.stars label:hover span,.stars label:hover~label span,.stars input:checked+span,.stars label:has(input:checked)~label span{color:var(--yellow)}
/* корзина */
.product__buy.is-in{background:var(--navy)}
.product__buy.is-in ._btn::after{content:"✓";margin-left:2px;color:var(--yellow)}
.product-card__buy.is-in{background:var(--navy)}
.product-card__buy.is-in .product-card__buy-text::before{content:"В корзине — оформить"}
.cart{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start;padding-bottom:48px}
.cart__list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r-l);background:#fff}
.cart-row{display:grid;grid-template-columns:88px minmax(0,1fr) auto 120px 36px;gap:18px;align-items:center;padding:18px 20px}
.cart-row+.cart-row{border-top:1px solid var(--line)}
.cart-row__img{display:block;width:88px;height:88px;border-radius:12px;overflow:hidden;background:var(--bg)}
.cart-row__img img{width:100%;height:100%;object-fit:cover}.cart-row__img img[data-nofoto]{object-fit:contain}
.cart-row__info{display:flex;flex-direction:column;gap:4px;min-width:0}
.cart-row__name{font-weight:700;color:var(--ink);line-height:1.35}.cart-row__name:hover{color:var(--blue)}
.cart-row__art{font-size:13px;color:var(--mute)}
.cart-row__inst{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-2);cursor:pointer}
.cart-row__inst input{width:16px;height:16px;accent-color:var(--blue)}
.cart-row__qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.cart-row__qty button{width:38px;height:40px;border:0;background:none;font-size:20px;color:var(--navy)}
.cart-row__qty span{min-width:28px;text-align:center;font-weight:700}
.cart-row__sum{text-align:right;font-size:17px;color:var(--navy);white-space:nowrap}
.cart-row__del{width:36px;height:36px;border:0;border-radius:10px;background:none;font-size:24px;line-height:1;color:var(--gray)}
.cart-row__del:hover{background:var(--bg);color:#D33}
.cart__clear{margin-top:14px;border:0;background:none;color:var(--mute);font-size:14px;text-decoration:underline}
.cart__side{position:sticky;top:20px;padding:26px;border-radius:var(--r-l);background:var(--bg)}
.cart__total{display:flex;flex-direction:column;gap:2px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.cart__total span{color:var(--mute);font-size:14px}.cart__total b{font-size:30px;color:var(--navy)}.cart__total small{color:var(--mute)}
.cart__hint{margin:16px 0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.cart__form .form__input{background:#fff}
.cart__form .form__btn{width:100%;margin-top:4px}
.cart__form .form__note,.form--modal .form__note{color:var(--mute)}.cart__form .form__note a,.form--modal .form__note a{color:var(--blue)}
.form__send-error{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:#FDECEC;color:#A12;font-size:14px}
.form--modal .form__result,.cart__form .form__result{background:var(--blue-50);color:var(--ink)}
.form--modal .form__result b{color:var(--navy)}
.cart-done{max-width:640px;padding:20px 0 64px}
.cart-done__icon{display:grid;place-items:center;width:64px;height:64px;margin-bottom:12px;border-radius:50%;background:var(--yellow);font-size:30px;font-weight:800;color:var(--navy)}
.cart-done p{margin:0 0 24px;color:var(--ink-2);font-size:17px}
@media (max-width:991px){
  .cart{grid-template-columns:1fr}.cart__side{position:static}
}
@media (max-width:640px){
  .cart-row{grid-template-columns:72px minmax(0,1fr) auto;grid-template-areas:"img info del" "img qty sum";gap:10px 14px;padding:16px}
  .cart-row__img{grid-area:img;width:72px;height:72px}.cart-row__info{grid-area:info}.cart-row__del{grid-area:del}
  .cart-row__qty{grid-area:qty;justify-self:start}.cart-row__sum{grid-area:sum;align-self:center}
}
.search-box{display:flex;gap:10px;max-width:820px;margin-bottom:10px}
.search-box__input{flex:1;min-width:0;height:56px;padding:0 20px;border:1.5px solid var(--line);border-radius:14px;font-size:16px;outline:0}
.search-box__input:focus{border-color:var(--blue)}
.search-box__btn{height:56px;padding:0 30px;border:0;border-radius:14px;background:var(--blue);color:#fff;font-weight:700;font-size:16px}
.search-box__btn:hover{background:var(--blue-600)}
.search-box__hint{margin:0 0 24px;color:var(--mute)}
/* карта сайта (своя разметка Битрикса: таблица со списками) */
.map-columns,.map-columns tbody,.map-columns tr{display:block}
.map-columns td{display:block;columns:4 240px;column-gap:32px}
.map-level-0>li{break-inside:auto}
.map-level-0>li>a{display:block;margin:0 0 12px;font-weight:800;font-size:20px;color:var(--navy)}
.map-level-1>li{break-inside:avoid;margin-bottom:16px}
.map-level-1>li>a{font-weight:700;color:var(--navy)}
.map-level-2{margin-top:4px}
.map-level-2 a{display:block;padding:2px 0;color:var(--ink-2);font-size:14px}
.map-columns a:hover{color:var(--blue)}
@media(max-width:1199px){.posts-grid--list{grid-template-columns:repeat(2,minmax(0,1fr))}.reviews-layout{grid-template-columns:1fr}}
@media(max-width:767px){.posts-grid--list,.posts-grid--sale{grid-template-columns:1fr}.abc-group{grid-template-columns:1fr;gap:10px}.abc{top:72px}
  .search-box{flex-direction:column}.form--review{padding:26px 20px}}
.product__availability--cond{color:var(--ink-2);font-weight:600}
/* пометка страниц, собранных по структуре (копии в архиве нет) — только для просмотра восстановления */
.rebuilt-note{display:none}

/* ---------------- адаптив ---------------- */
@media(max-width:1399px){.catalog:not(.cat2-menu){grid-template-columns:repeat(4,minmax(0,1fr))}.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991px){
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .contact{grid-template-columns:1fr}.contact__map{grid-column:1;grid-row:auto}
  .product-card__actions{grid-template-columns:1fr 1fr}
  .form--product{padding:32px 24px}
  .section__aside{position:static}
}
@media(max-width:575px){
  .product__content{padding:12px}
  .product__title{font-size:14px}
  .product__buy a,.product__buy ._btn{font-size:15px}
  .product__order{font-size:12px}
  .contact__items{grid-template-columns:1fr}
  .product-card__price{font-size:28px}
  .filter__btn{height:40px;padding:0 12px}
}
@media(max-width:1199px){
  .header__phone span:nth-of-type(2){display:none}
  .posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero__slide{padding:44px 0 44px 40px;min-height:400px}.hero__img{margin:-44px 0}
  .essay{padding-right:0;margin-bottom:28px}
  .form--call{position:relative;top:0}
}
@media(max-width:991px){
  .header__front{display:none}
  .header__content{flex-wrap:wrap;gap:12px;min-height:0;padding:12px 0}
  .header__btn{display:grid;order:0}
  .header__logo_{order:1}.header__logo_ img{height:40px}
  .header__catalog{display:none}
  .header__actions{order:2;flex:1;gap:10px}
  .header__search{flex:0 0 auto;max-width:none}
  .header__search-btn{display:grid}
  .header__search-form{display:none;position:absolute;left:0;right:0;top:100%;z-index:5;margin-top:-4px;box-shadow:var(--sh-h)}
  .is-search-open .header__search-form{display:flex}
  .header__phone{column-gap:0}.header__phone span{display:none}
  .header__phone svg{width:22px;height:22px}
  .header__phone{width:44px;height:44px;display:grid;place-items:center;border-radius:var(--r-s);background:var(--bg)}
  .basket_link span{display:none}
  .header__nav{padding-bottom:12px}
  /* мобильный каталог — полноэкранный стек экранов */
  .header__grid{position:fixed;inset:0;top:0;z-index:300}
  .catalog.cat2-menu{display:flex;flex-direction:column;height:100%;max-height:none;border:0;border-radius:0}
  .catalog__categories,.catalog__subcategories{display:none}
  .catalog__mobile-header{display:none;align-items:center;gap:10px;flex:none;padding:14px 16px;border-bottom:1px solid var(--line)}
  .cat2-menu[data-level="root"] .catalog__mobile-header[data-screen="root"],.cat2-menu[data-level="sub"] .catalog__mobile-header[data-screen="sub"]{display:flex}
  .cat2-menu:not([data-level]) .catalog__mobile-header[data-screen="root"]{display:flex}
  .catalog__mobile-title{flex:1;font-weight:800;font-size:19px;color:var(--navy)}
  .catalog__mobile-close,.catalog__mobile-back{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--r-s);background:var(--bg);color:var(--navy)}
  .catalog__mobile-close svg,.catalog__mobile-back svg{width:18px;height:18px}
  .cat2-mobile{display:block;flex:1;overflow:auto;padding:8px 12px 24px}
  .cat2-screen{display:none}.cat2-screen.is-active{display:block}
  .cat2-screen .catalog__category{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
  .cat2-screen .catalog__category-name,.cat2-screen>a{flex:1;display:flex;align-items:center;gap:12px;padding:14px 6px;color:var(--navy);font-weight:600;font-size:16px}
  .cat2-screen>a{border-bottom:1px solid var(--line)}
  .cat2-screen .catalog__category-chevron{width:40px;height:40px}
  .catalog:not(.cat2-menu){grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .hero__slide{grid-template-columns:1fr;grid-template-rows:auto;padding:0;min-height:0}
  .hero__img{grid-column:1;grid-row:1;margin:0;height:240px;min-height:0}
  .hero__nav{display:none}
  .hero__img::before{background:linear-gradient(0deg,#EEF5FA 0,rgba(238,245,250,0) 40%)}
  .hero__title,.hero__text,.hero__btn{margin-left:28px;margin-right:28px}
  .hero__title{margin-top:8px}.hero__btn{margin-bottom:32px}
  .section{padding:44px 0}
  .section__line{margin-bottom:44px}
}
@media(max-width:767px){
  .container,.section__carousel{padding:0 16px}
  .section__nav{display:none}.section__more{margin-right:0}
  .section__head{align-items:center}
  .catalog:not(.cat2-menu){grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog__item{padding:14px}
  .posts-grid{grid-template-columns:1fr 1fr;gap:12px}
  .post__content{padding:14px 14px 16px}.post__title{font-size:15px}
  .feature{padding:18px}.feature__title{font-size:15px}.feature__number{width:38px;height:38px;margin-bottom:12px}
  .hero__text{font-size:15px}
  .form--call{padding:28px 22px}
  .footer{padding-top:44px}
  .cookie-banner{padding:6px 10px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px));gap:8px;font-size:10.5px}
  .cookie-btn{padding:0 12px;font-size:11px}
}
@media(max-width:479px){
  .header__logo_ img{height:34px}
  .post__img{aspect-ratio:1}
  .hero__title{font-size:26px}
}
@media(max-width:380px){.cookie-banner{font-size:9.5px;gap:6px}.cookie-btn{padding:0 10px;font-size:10px;min-height:30px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
