/* Five Miles — общая шапка. Неймспейс .fmh, не зависит от стилей сайта. */
:root{--fmh-h:121px;--fmh-max:1600px}/* 11.11.2026: точная высота шапки (121 / 68 / 110 px) — содержимое не сдвигается на 1–2 px, когда header.js её измеряет */
@media (max-width:1099px){:root{--fmh-h:68px}}
@media (max-width:759px){:root{--fmh-h:110px}}
body{padding-top:var(--fmh-h)!important}
html{scroll-padding-top:calc(var(--fmh-h) + 8px)}
html.fmh-lock,html.fmh-lock body{overflow:hidden}

.fmh,.fmh *{box-sizing:border-box}
.fmh{--bg:#121920;--bg2:#1a232d;--line:rgba(255,255,255,.09);--txt:#fff;--mute:#98a4b3;--green:#54b277;--green-d:#459f67;--ink:#16202b;--ink2:#4a5566;--soft:#f3f5f8;--r:10px;
 position:fixed;top:0;left:0;right:0;z-index:1000;font:14px/1.4 Inter,InterFallback,InterFallbackR,"Segoe UI",Roboto,system-ui,-apple-system,sans-serif;color:var(--txt);-webkit-font-smoothing:antialiased;letter-spacing:0;text-align:left;
 border:0!important;background:transparent!important;transition:transform .25s ease}
:where(.fmh) a{color:inherit;text-decoration:none}
.fmh [hidden]{display:none!important}
:where(.fmh) button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-transform:none;letter-spacing:inherit;box-shadow:none;min-width:0;height:auto;width:auto;border-radius:0}
:where(.fmh) ul{list-style:none;margin:0;padding:0}
:where(.fmh) li{margin:0;padding:0}
:where(.fmh) li::before{display:none}
.fmh svg.fmh-i{width:18px;height:18px;flex:none;display:inline-block;vertical-align:middle}
.fmh .fmh-chev{width:16px;height:16px;opacity:.7;transition:transform .2s}
.fmh-in{max-width:var(--fmh-max);margin:0 auto;padding:0 20px;display:flex;align-items:center}
/* на страницах сайта и каталога — те же поля, что у .container сайта */
.fmh--site .fmh-in{max-width:1920px;padding:0 60px}
.fmh--site .fmh-mega{left:60px;right:60px}
@media (max-width:1199px){.fmh--site .fmh-in{padding:0 30px}.fmh--site .fmh-mega{left:30px;right:30px}}

/* --- верхняя строка --- */
.fmh-top{position:relative;z-index:3;background:var(--bg)}
.fmh-top .fmh-in{height:72px;gap:20px}
.fmh-logo{display:flex;align-items:center;gap:10px;flex:none;color:#fff}
.fmh-logo-svg{width:28px;height:39px;color:#fff;flex:none}
.fmh-logo-txt{display:flex;flex-direction:column;line-height:1.15}
.fmh-logo-txt b{font-size:15px;font-weight:800;letter-spacing:.08em}
.fmh-logo-txt small{font-size:11.5px;color:var(--mute);font-weight:500}

.fmh-search{position:relative;flex:1 1 auto;max-width:820px;display:flex;align-items:center;height:44px;background:#fff;border-radius:22px;color:var(--ink);margin:0}
.fmh-search:focus-within{box-shadow:0 0 0 3px rgba(84,178,119,.45)}
.fmh-scope{position:relative;flex:none;height:100%}
.fmh-scope-btn{height:100%;display:flex;align-items:center;gap:4px;padding:0 12px 0 18px!important;color:var(--ink2)!important;font-weight:500!important;border-right:1px solid #e3e7ee!important;border-radius:22px 0 0 22px!important;white-space:nowrap}
.fmh-scope-btn:hover{color:var(--ink)!important}
.fmh-scope.is-archive .fmh-scope-btn{color:#1f7a45!important;font-weight:600!important}
.fmh-scope-list{position:absolute;top:calc(100% + 8px);left:0;min-width:260px;background:#fff;border-radius:var(--r);box-shadow:0 12px 40px rgba(16,24,40,.22);padding:6px;z-index:5}
.fmh-scope-list button{display:block;width:100%;text-align:left;padding:9px 12px!important;border-radius:7px!important;color:var(--ink)!important}
.fmh-scope-list button:hover,.fmh-scope-list button[aria-selected=true]{background:var(--soft)!important}
.fmh-scope-list b{display:block;font-weight:600}
.fmh-scope-list small{display:block;color:#7b8594;font-size:12px}
.fmh-q{flex:1;min-width:0;height:100%;border:0!important;outline:0;background:transparent!important;padding:0 14px!important;font:inherit;font-size:14.5px;color:var(--ink);box-shadow:none!important;border-radius:0!important;-webkit-appearance:none;appearance:none;margin:0}
/* «Отправить менеджеру» (02.11.2026) */
.fmh-send .fmh-c-in{width:min(480px,100%)}
.fmh-send-lead{margin:8px 0 12px!important}
.fmh-send-text{max-height:180px;overflow:auto;white-space:pre-wrap;word-break:break-word;padding:12px 14px;border-radius:12px 12px 12px 4px;background:#eaf6ef;color:#16202b;font-size:13.5px;line-height:1.5;border:1px solid #cfe9d9}
.fmh-send-msg{margin-top:14px}
.fmh-send-msg .fmh-c-btn{border:0;cursor:pointer;font:inherit;font-size:13px;font-weight:700;padding:14px 4px}
.fmh-send-msg .fmh-c-btn .fmh-i{width:24px;height:24px}
.fmh-send-msg [data-send=viber] .fmh-i{color:#7360f2}.fmh-send-msg [data-send=whatsapp] .fmh-i{color:#25d366}.fmh-send-msg [data-send=telegram] .fmh-i{color:#229ed9}
.fmh-send-msg .fmh-c-btn:hover{background:#e3e8ee}
.fmh-send-note{margin:12px 0 0!important;font-size:12.5px!important;color:#7b8594!important}
/* 28.11.2026 (В5): панель «Не открылся Viber?» — то же окно, кнопки и форма, что у «Отправить менеджеру» и «Жду звонка»; прижата к низу экрана, на телефоне — во всю ширину */
.fmh-contact-sheet.fmh-fb{align-items:flex-start;overflow-y:auto}.fmh-contact-sheet.fmh-fb>.fmh-c-in{margin:auto auto 0}.fmh-fb [hidden]{display:none!important}
.fmh-fb .fmh-c-in{width:min(480px,100%);box-sizing:border-box}.fmh-fb .fmh-fb-lead{margin:8px 0 12px}.fmh-fb .fmh-c-form{margin:2px 0 0}
.fmh-fb-alt [data-fb-call] .fmh-i{color:#1f7a45}.fmh-fb-opt{font-weight:400;color:#7b8594}.fmh-fb-rid{display:block;margin-top:4px;font-weight:400;font-size:13px}
.fmh-contact-sheet.fmh-fb .f21-via,.fmh-contact-sheet.fmh-fb.is-form .fmh-fb-note{display:none}
@media (max-width:759px){.fmh-contact-sheet.fmh-fb{padding:0}.fmh-fb .fmh-c-in{width:100%;border-radius:14px 14px 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom))}}
.fmh-fav-all{display:block;margin:8px -4px 0;padding:10px 12px;border-radius:10px;background:var(--soft);color:var(--ink)!important;font-weight:600;font-size:13.5px;text-align:center;text-decoration:none!important}
.fmh-fav-all:hover{background:#e3e8ee}
.fmh .fmh-q:focus,.fmh .fmh-q:focus-visible{outline:0!important;box-shadow:none!important}   /* 02.11.2026: на странице лота page.css рисовал синюю рамку у поля (input:focus) */
.fmh-q::placeholder{color:#8b95a3}
.fmh-q::-webkit-search-cancel-button{-webkit-appearance:none}
.fmh-go{flex:none;width:36px;height:36px;margin-right:4px!important;border-radius:50%!important;background:var(--green)!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center}
.fmh-go:hover{background:var(--green-d)!important}

.fmh-contact{display:flex;align-items:center;gap:12px;flex:none}
.fmh-phone{display:flex;align-items:center;gap:8px;white-space:nowrap}
.fmh-phone b{display:block;font-size:15px;font-weight:700;letter-spacing:.01em}
.fmh-phone small{display:block;font-size:11.5px;color:var(--mute)}
.fmh-top .fmh-phone-ic{color:var(--green);width:20px;height:20px}
.fmh-msg{display:flex;gap:6px}
.fmh-msg-a{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);color:#fff;transition:background .15s}
.fmh-msg-a:hover{background:var(--green)}
.fmh-msg-a .fmh-i{width:17px;height:17px}

.fmh-fav-wrap{position:relative;flex:none}
.fmh-fav{display:flex!important;align-items:center;gap:7px;height:40px;padding:0 12px!important;border-radius:20px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;position:relative;transition:background .15s}
.fmh-fav:hover{background:rgba(255,255,255,.14)!important}
.fmh-fav .fmh-i{width:19px;height:19px}
.fmh-fav.has-items .fmh-i{color:#ff6b6b;fill:#ff6b6b}
.fmh-fav.has-items .fmh-i use{fill:currentColor}
.fmh-fav-n{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--green);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.fmh-fav-l{font-weight:500}
.fmh-fav-drop{position:absolute;right:0;top:calc(100% + 10px);width:360px;max-height:70vh;overflow:auto;background:#fff;color:var(--ink);border-radius:var(--r);box-shadow:0 12px 40px rgba(16,24,40,.22);padding:8px;z-index:5}
.fmh-fav-drop h4{margin:4px 8px 6px;font-size:13px;color:#7b8594;font-weight:600}
.fmh-fav-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:7px}
.fmh-fav-item:hover{background:var(--soft)}
.fmh-fav-item a{flex:1;min-width:0;font-weight:600;font-size:13.5px;line-height:1.3;color:var(--ink)}
.fmh-fav-item a small{display:block;font-weight:400;color:#7b8594;font-size:12px}
.fmh-fav-item button{width:28px;height:28px;border-radius:50%!important;color:#7b8594!important;display:flex!important;align-items:center;justify-content:center;flex:none}
.fmh-fav-item button:hover{background:#e9edf2!important;color:var(--ink)!important}
.fmh-fav-item .fmh-i{width:14px;height:14px}
.fmh-fav-empty{padding:14px 10px;font-size:13px;color:var(--ink2);line-height:1.5}

.fmh-cta{flex:none;height:42px;padding:0 20px!important;border-radius:21px!important;background:var(--green)!important;color:#fff!important;font-weight:700!important;font-size:14px!important;white-space:nowrap;transition:background .15s}
.fmh-cta:hover{background:var(--green-d)!important}
.fmh-icon-btn,.fmh-burger{display:none;flex:none;width:40px;height:40px;border-radius:50%!important;align-items:center;justify-content:center;color:#fff!important;background:rgba(255,255,255,.08)!important}
.fmh-burger{flex-direction:column;gap:4px}
.fmh-burger span{display:block;width:18px;height:2px;border-radius:1px;background:#fff}

/* --- навигация --- */
.fmh-nav{position:relative;z-index:2;background:var(--bg2);border-top:1px solid var(--line);transition:transform .25s ease}
.fmh-nav .fmh-in{height:48px;position:relative}
.fmh-menu{display:flex;align-items:stretch;height:100%;gap:2px;margin-left:-12px!important}
.fmh-li{position:static;display:flex;align-items:stretch}
.fmh-nav-right .fmh-li{position:relative}
.fmh-item{display:flex!important;align-items:center;gap:5px;padding:0 12px!important;font-weight:500!important;font-size:14px!important;color:#e8edf2!important;white-space:nowrap;position:relative;transition:background .15s,color .15s}
.fmh-item:hover,.fmh-has-drop.is-open>.fmh-item{background:rgba(255,255,255,.07)!important;color:#fff!important}
.fmh-has-drop.is-open>.fmh-item .fmh-chev{transform:rotate(180deg)}
.fmh-li.is-active>.fmh-item::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;background:var(--green);border-radius:2px}
.fmh-new{margin-left:6px;padding:1px 6px;border-radius:4px;background:var(--green);color:#fff;font-size:10.5px;font-weight:700;line-height:1.5;text-transform:lowercase}
.fmh-nav-right{margin-left:auto;display:flex;height:100%}
.fmh-offices{color:#cfd7e0!important}
.fmh-offices .fmh-i:first-child{color:var(--green)}

.fmh-drop{position:absolute;top:100%;left:0;min-width:330px;background:#fff;color:var(--ink);border-radius:0 0 var(--r) var(--r);box-shadow:0 14px 40px rgba(16,24,40,.2);padding:8px;display:none;z-index:4}
.fmh-has-drop:not(.fmh-has-mega){position:relative}
.fmh-has-drop.is-open>.fmh-drop,.fmh-has-drop.is-open>.fmh-mega{display:block}
.fmh-drop-right{left:auto;right:0}
.fmh-drop a{display:block;padding:9px 12px;border-radius:7px;color:var(--ink)}
.fmh-drop a:hover{background:var(--soft)}
.fmh-drop a b{display:block;font-weight:600;font-size:14px}
.fmh-drop a small{display:block;color:#7b8594;font-size:12.5px;margin-top:1px}
.fmh-drop .fmh-more{color:#1f7a45;font-weight:600;font-size:13px}
.fmh-drop-note{display:block;padding:8px 12px 4px;border-top:1px solid #edf0f4;margin-top:4px;font-size:12.5px;color:#7b8594}

/* 07.11.2026 «Что привозим»: выпадающее меню в две колонки (Автомобили / Техника из США) */
.fmh-has-drop.is-open>.fmh-drop.fmh-drop-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 6px;min-width:620px}
.fmh-dh{display:block;padding:8px 12px 4px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7b8594}
@media (min-width:1100px) and (max-width:1199px){.fmh-item{padding:0 7px!important}}

.fmh-mega{position:absolute;top:100%;left:20px;right:20px;display:none;z-index:4}
.fmh-mega-in{background:#fff;color:var(--ink);border-radius:0 0 12px 12px;box-shadow:0 18px 50px rgba(16,24,40,.24);padding:22px 24px;display:grid;grid-template-columns:1.15fr 1.35fr .8fr 1.1fr;gap:28px}
.fmh-col-h{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7b8594;margin-bottom:10px}
.fmh-mt{margin-top:18px}
.fmh-type{display:flex;align-items:center;gap:12px;padding:8px 10px;margin:0 -10px;border-radius:8px}
.fmh-type:hover{background:var(--soft)}
.fmh-type-ic{width:38px;height:38px;border-radius:9px;background:#eaf6ef;color:#1f7a45;display:flex;align-items:center;justify-content:center;flex:none}
.fmh-type-ic .fmh-i{width:21px;height:21px}
.fmh-type b{display:block;font-weight:600;font-size:14px}
.fmh-type small{display:block;color:#7b8594;font-size:12.5px}
.fmh-brands{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2px 10px}
.fmh-brands a,.fmh-list a{display:block;padding:6px 8px;margin:0 -8px;border-radius:6px;font-size:14px;color:var(--ink)}
.fmh-brands a:hover,.fmh-list a:hover{background:var(--soft);color:#1f7a45}
.fmh-mega .fmh-more{display:inline-block;margin-top:8px;color:#1f7a45;font-weight:600;font-size:13.5px}
.fmh-col-promo{display:flex;flex-direction:column;gap:12px}
.fmh-promo{display:flex!important;gap:12px;align-items:flex-start;text-align:left;padding:14px!important;border-radius:10px!important;background:#f4f6f9!important;color:var(--ink)!important;width:100%!important;transition:background .15s}
.fmh-promo:hover{background:#eaeef3!important}
.fmh-promo-ic{width:38px;height:38px;border-radius:9px;background:#16202b;color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.fmh-promo b{display:block;font-size:14.5px;font-weight:700}
.fmh-promo small{display:block;font-size:12.5px;color:var(--ink2);line-height:1.45;margin-top:3px}
.fmh-promo em{display:block;font-style:normal;font-weight:600;font-size:13px;color:#1f7a45;margin-top:6px}
.fmh-promo-green{background:#eaf6ef!important}
.fmh-promo-green:hover{background:#dff1e6!important}
.fmh-promo-green .fmh-promo-ic{background:var(--green)}

/* --- подсказки поиска --- */
.fmh-suggest{position:absolute;top:calc(100% + 8px);left:0;right:0;min-width:min(620px,calc(100vw - 32px));background:#fff;color:var(--ink);border-radius:12px;box-shadow:0 18px 50px rgba(16,24,40,.26);overflow:hidden;z-index:6;font-size:14px}
.fmh-sg-head{padding:12px 14px;border-bottom:1px solid #edf0f4;background:#fafbfc}
.fmh-sg-head b{display:block;font-size:14.5px}
.fmh-sg-head small{display:block;color:#5b6676;font-size:12.5px;margin-top:2px}
.fmh-sg-stats{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:6px;font-size:13px;color:var(--ink2)}
.fmh-sg-stats strong{color:var(--ink);font-weight:700}
.fmh-sg-list{max-height:min(420px,55vh);overflow:auto}
.fmh-sg-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:8px 14px;color:var(--ink);cursor:pointer}
.fmh-sg-item:hover,.fmh-sg-item.is-hl{background:var(--soft)}
.fmh-sg-ph{width:64px;height:48px;border-radius:6px;background:#e9edf2 center/cover no-repeat}
.fmh-sg-t{min-width:0}
.fmh-sg-t b{display:block;font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fmh-sg-t small{display:block;color:#7b8594;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fmh-sg-p{text-align:right;white-space:nowrap}
.fmh-sg-p b{display:block;font-weight:700;font-size:15px}
.fmh-sg-p small{display:block;font-size:11.5px;color:#7b8594}
.fmh-sg-p .ok{color:#1f7a45}.fmh-sg-p .no{color:#b26a00}
.fmh-sg-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid #edf0f4;font-size:13px}
.fmh-sg-foot a{color:#1f7a45;font-weight:600}
.fmh-sg-msg{padding:16px 14px;color:var(--ink2);font-size:13.5px;line-height:1.5}
.fmh-sg-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.fmh-sg-chips button{padding:5px 10px!important;border-radius:14px!important;background:var(--soft)!important;color:var(--ink)!important;font-size:13px!important}
.fmh-sg-chips button:hover{background:#e3e8ee!important}
.fmh-sg-load{display:flex;align-items:center;gap:10px}
.fmh-sg-load::before{content:"";width:16px;height:16px;border-radius:50%;border:2px solid #d6dce4;border-top-color:var(--green);animation:fmh-spin .8s linear infinite}
@keyframes fmh-spin{to{transform:rotate(360deg)}}

/* --- мобильная панель --- */
.fmh-panel{position:fixed;inset:0;z-index:20;background:rgba(10,16,24,.55)}
.fmh-panel[hidden]{display:none}
.fmh-panel-in{position:absolute;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;color:var(--ink);overflow:auto;padding:12px 16px 32px;animation:fmh-in .22s ease-out}
@keyframes fmh-in{from{transform:translateX(30px);opacity:.5}to{transform:none;opacity:1}}
.fmh-panel-head{display:flex;justify-content:space-between;align-items:center;height:44px;margin-bottom:8px}
.fmh-panel-title{font-weight:700;font-size:17px}
.fmh-panel-close{width:40px;height:40px;border-radius:50%!important;display:flex!important;align-items:center;justify-content:center;background:var(--soft)!important;color:var(--ink)!important}
.fmh-cta-wide{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:46px;margin-bottom:10px!important;border-radius:23px!important}
.fmh-acc{border-bottom:1px solid #edf0f4}
.fmh-acc summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 2px;font-weight:600;font-size:16px;cursor:pointer}
.fmh-acc summary::-webkit-details-marker{display:none}
.fmh-acc[open] summary .fmh-chev{transform:rotate(180deg)}
.fmh-acc-body{padding:0 0 12px}
.fmh-acc-body>a:not(.fmh-type){display:block;padding:9px 2px;font-size:15px;color:var(--ink)}
.fmh-acc-types .fmh-type{margin:0;padding:8px 2px}
.fmh-acc-sub{margin:12px 0 6px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7b8594}
.fmh-acc-types .fmh-brands a{margin:0;padding:7px 2px}
.fmh-plinks{display:flex;flex-direction:column;border-bottom:1px solid #edf0f4;padding:4px 0}
.fmh-plink{display:flex;align-items:center;padding:12px 2px;font-weight:600;font-size:16px;color:var(--ink)}
.fmh-panel-contacts{padding-top:16px;display:flex;flex-direction:column;gap:12px}
.fmh-panel-contacts .fmh-phone b{font-size:18px;color:var(--ink)}
.fmh-panel-contacts .fmh-phone small{color:#7b8594}
.fmh-panel-contacts .fmh-phone-ic{color:var(--green);width:22px;height:22px}
.fmh-panel-contacts .fmh-msg-a{width:42px;height:42px;background:var(--soft);color:var(--ink)}
.fmh-panel-contacts .fmh-msg-a:hover{background:var(--green);color:#fff}
.fmh-addr{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink2)}
.fmh-addr .fmh-i{color:var(--green)}

/* --- окно связи (страницы без штатной формы) --- */
.fmh-contact-sheet{position:fixed;inset:0;z-index:1100;background:rgba(10,16,24,.55);display:flex;align-items:center;justify-content:center;padding:16px;font:14px/1.45 Inter,InterFallback,InterFallbackR,"Segoe UI",Roboto,system-ui,sans-serif}
.fmh-contact-sheet[hidden]{display:none}
.fmh-c-in{position:relative;width:min(440px,100%);background:#fff;color:#16202b;border-radius:14px;padding:24px 22px 22px;box-shadow:0 24px 60px rgba(0,0,0,.3)}
.fmh-c-close{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;border-radius:50%;background:#f3f5f8;color:#16202b;display:flex;align-items:center;justify-content:center;cursor:pointer}
.fmh-c-close .fmh-i,.fmh-c-call .fmh-i,.fmh-c-btn .fmh-i{width:18px;height:18px}
.fmh-c-title{display:block;font-size:19px;font-weight:800;padding-right:36px}
.fmh-c-in p{margin:8px 0 16px;color:#4a5566;font-size:14px}
/* 11.11.2026: форма «перезвоните мне» в окне связи */
.fmh-c-form{display:grid;gap:8px;margin:0 0 4px}.fmh-c-l{font-size:13px;font-weight:700;color:#16202b}
.fmh-c-row{display:flex;gap:8px}.fmh-c-row input{flex:1;min-width:0;height:48px;padding:0 12px;border:1px solid #cfd6df;border-radius:10px;background:#fff;color:#16202b;font:inherit;font-size:16px}
.fmh-c-row input:focus{outline:2px solid #54b277;outline-offset:1px}
.fmh-c-row button{flex:none;height:48px;padding:0 18px;border:0;border-radius:10px;background:#54b277;color:#fff;font:inherit;font-weight:800;font-size:15px;cursor:pointer}.fmh-c-row button:hover{background:#459f67}.fmh-c-row button:disabled{opacity:.6;cursor:default}
.fmh-c-ok{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.4;color:#4a5566}.fmh-c-ok input{width:17px;height:17px;margin:1px 0 0;flex:none;accent-color:#1f7a45}.fmh-c-ok a{color:inherit;text-decoration:underline}
.fmh-c-in .fmh-c-res{margin:0;padding:10px 12px;border-radius:10px;background:#eaf7ef;color:#126a38;font-size:14px;font-weight:600}.fmh-c-in .fmh-c-res.is-error{background:#fdecec;color:#a4262c}
.fmh-c-form.is-sent>:not(.fmh-c-res){display:none}
.fmh-c-or{display:flex;align-items:center;gap:10px;margin:14px 0 12px;color:#7a8594;font-size:12px}.fmh-c-or::before,.fmh-c-or::after{content:"";flex:1;height:1px;background:#e3e7ee}
.fmh-contact-sheet .fmh-c-call{height:46px;font-size:16px;background:#f3f5f8;color:#16202b!important}.fmh-contact-sheet .fmh-c-call:hover{background:#e6eaf0}.fmh-contact-sheet .fmh-c-call .fmh-i{color:#1f7a45}
@media (max-width:420px){.fmh-c-row{flex-direction:column}.fmh-c-row input{flex:none;width:100%}.fmh-c-row button{width:100%}}
.fmh-c-call{display:flex;align-items:center;justify-content:center;gap:10px;height:50px;border-radius:25px;background:#54b277;color:#fff!important;font-weight:800;font-size:18px;text-decoration:none!important}
.fmh-c-call:hover{background:#459f67}
.fmh-c-msg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.fmh-c-btn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:10px;background:#f3f5f8;color:#16202b!important;font-size:12.5px;font-weight:600;text-decoration:none!important}
.fmh-c-btn:hover{background:#e6eaf0}
.fmh-c-btn .fmh-i{width:22px;height:22px;color:#1f7a45}

/* --- поведение при прокрутке --- */
.fmh--compact .fmh-nav{transform:translateY(-100%)}
/* 16.11.2026 (Илья: «полоска „Вы смотрели…“ съезжает, не закреплена»): при прокрутке вторая строка шапки уезжает вверх, а полоса оставалась на месте — между ней и шапкой
   просвечивала страница. Теперь полоса поднимается вместе со строкой меню и прилегает к шапке. */
.fmh-was{position:relative;z-index:1;transition:transform .25s ease}
.fmh--compact .fmh-was{transform:translateY(-49px)}
.fmh--hidden{transform:translateY(-100%)}

/* --- адаптив --- */
@media (max-width:1439px){.fmh-hide-md{display:none!important}.fmh-fav-l{display:none}.fmh-fav{padding:0 11px!important}.fmh-contact .fmh-msg{display:none}}
@media (max-width:1279px){.fmh-top .fmh-in{gap:14px}.fmh-logo-txt small{display:none}.fmh-phone small{display:none}.fmh-item{padding:0 9px!important}.fmh-mega-in{grid-template-columns:1.1fr 1.3fr 1fr;gap:22px}.fmh-col-ev{display:none}}
@media (max-width:1099px){
 .fmh-nav{display:none}
 .fmh-top .fmh-in{height:68px}
 .fmh-contact,.fmh-top>.fmh-in>.fmh-cta{display:none}
 .fmh-icon-btn,.fmh-burger{display:flex!important}
 .fmh-fav{width:40px;padding:0!important;justify-content:center;border-radius:50%!important}
 .fmh-fav-n{position:absolute;top:-3px;right:-3px}
 .fmh--compact .fmh-nav{transform:none}
 .fmh--compact .fmh-was{transform:none}
}
@media (max-width:759px){
 .fmh-top .fmh-in,.fmh--site .fmh-top .fmh-in{height:auto;flex-wrap:wrap;padding:8px 14px 10px;gap:8px 8px}
 .fmh-logo{order:1;margin-right:auto;height:40px}
 .fmh-logo-svg{width:22px;height:31px}
 .fmh-logo-txt b{font-size:14px}
 .fmh-call-m{order:2}.fmh-fav-wrap{order:3}.fmh-burger{order:4}
 .fmh-search{order:5;flex:1 1 100%;max-width:none;min-width:0;height:44px}   /* М5 22.11.2026: без min-width:0 поле на 360 px шире строки и вылезает за правый край */
 .fmh-scope-btn{padding:0 8px 0 14px!important;font-size:13.5px}
 .fmh-q{padding:0 10px!important;font-size:16px}
 .fmh-suggest{position:fixed;top:auto;left:8px;right:8px;min-width:0;margin-top:8px}
 .fmh-fav-drop{position:fixed;left:8px;right:8px;top:60px;width:auto}
 .fmh-sg-item{grid-template-columns:56px 1fr auto;padding:8px 12px;gap:10px}
 .fmh-sg-ph{width:56px;height:42px}
 .fmh-sg-foot span{display:none}
 .fmh-sg-foot{justify-content:flex-end}
}
@media (prefers-reduced-motion:reduce){.fmh,.fmh *{transition:none!important;animation:none!important}}

/* умный поиск (01.11.2026) */
.fmh-sg-smart{display:flex;flex-direction:column;gap:8px}
.fmh-sg-pills{display:flex;flex-wrap:wrap;gap:6px}
.fmh-sg-pills span{padding:4px 10px;border-radius:14px;background:#e6f2ea;color:#18603a;font-size:12.5px;font-weight:600;line-height:1.35}
.fmh-sg-smart .fmh-sg-go{display:block;padding:9px 12px;border-radius:8px;background:var(--green);color:#fff;font-weight:700;font-size:14px;text-align:center}
.fmh-sg-smart .fmh-sg-go:hover,.fmh-sg-smart .fmh-sg-go.is-hl{background:#17663a}
.fmh-sg-smart .fmh-sg-go2{background:#fff;color:#18603a;border:1px solid #bcd9c6}
.fmh-sg-smart .fmh-sg-go2:hover,.fmh-sg-smart .fmh-sg-go2.is-hl{background:#eef6f1}
.fmh-sg-smart small.fmh-sg-ign{color:#8a6400}
.fmh-sg-sug{display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px;border-top:1px solid #edf0f4}
.fmh-sg-sug .fmh-sg-chip{display:inline-flex;gap:6px;padding:5px 10px;border-radius:14px;background:var(--soft);font-size:13px;color:var(--ink)}
.fmh-sg-sug .fmh-sg-chip:hover,.fmh-sg-sug .fmh-sg-chip.is-hl{background:#e3e8ee}
.fmh-sg-sug .fmh-sg-chip em{font-style:normal;color:#7b8594}
/* умный поиск: «или» (другие модели) и «уточнить» (поколения, комплектации, цена) — 01.11.2026 */
.fmh-sg-alts,.fmh-sg-ref{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;font-size:13px;color:var(--ink2)}
.fmh-sg-alts .fmh-sg-chip{display:inline-flex;gap:6px;padding:5px 10px;border-radius:14px;background:var(--soft);color:var(--ink)}
.fmh-sg-alts .fmh-sg-chip:hover,.fmh-sg-alts .fmh-sg-chip.is-hl{background:#e3e8ee}
.fmh-sg-alts .fmh-sg-chip em{font-style:normal;color:#7b8594}
.fmh-sg-ref .fmh-sg-chips{margin-top:0}
.fmh-sg-rec{padding-bottom:0}

/* 07.11.2026 — режим раздела: подпись «← раздел» у логотипа, текущий пункт «Что привозим», полоса «Вы смотрели…» на главной, строка раздела в меню телефона */
.fmh-logo-txt small.fmh-sec-back{color:#9ad8ab;font-weight:600}
.fmh-drop a.is-cur{background:var(--soft)}
.fmh-drop a.is-cur b::after{content:"· вы здесь";margin-left:6px;font-size:11px;font-weight:600;color:#1f7a45}
.fmh-acc-body>a.is-cur{color:#1f7a45;font-weight:700}
.fmh-was{background:#eef7f0;color:#183922;border-bottom:1px solid #d7ebdc;font-size:13.5px}
.fmh-was .fmh-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px}
.fmh-was a{color:#1f7a45;font-weight:600}
.fmh-was-go{white-space:nowrap}
.fmh-was-x{flex:none;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#476052;font-size:20px;line-height:1;cursor:pointer}
.fmh-was-x:hover{background:#dcefe1}
.fmh-panel-sec{display:flex;flex-direction:column;gap:2px;margin:0 0 12px;padding:12px 14px;border-radius:10px;background:#eef7f0;color:#1f7a45;font-weight:700;font-size:15px}
.fmh-panel-sec small{color:#5b7466;font-weight:500;font-size:12.5px}
/* 08.11.2026: раздел с быстрыми ссылками (Корея) — первым в мобильном меню; поиск по каталогу раздела без выбора «текущие/архив» */
.fmh-here{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:#eef7f0}
.fmh-here-home{display:flex;flex-direction:column;gap:1px;color:#1f7a45;text-decoration:none}.fmh-here-home b{font-size:16px}.fmh-here-home small{color:#5b7466;font-size:12.5px}
.fmh-here ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:2px}
.fmh-here li a{display:flex;align-items:center;min-height:40px;color:#17202b;font-weight:600;font-size:15px;text-decoration:none;border-top:1px solid #d7e9dc}
.fmh-search--cat .fmh-scope{display:none}

@media (max-width:759px){.fmh-was{font-size:13px}.fmh-was .fmh-in{min-height:36px}}

/* 11.11.2026 — «ложные окна» в формах заявок (защита от ботов, header.js → FMLead): человек их не видит и не попадает в них клавишей Tab */
.fm-hp{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

/* 11.11.2026: окно согласия на cookie (header.js, FMCookie). Не закрывает страницу: карточка в левом нижнем углу, на телефоне — над нижней полосой. «Принять на 14 дней» и «Принять» одного размера, «Отказаться» — ссылкой под ними. */
.fmck{position:fixed;left:16px;bottom:calc(16px + var(--fmck-off,0px));z-index:1090;box-sizing:border-box;width:min(440px,calc(100vw - 32px));padding:16px 18px;border-radius:14px;background:#16202b;color:#dfe6ee;box-shadow:0 14px 44px rgba(10,16,24,.38);font:14px/1.45 Inter,InterFallback,InterFallbackR,"Segoe UI",Roboto,system-ui,-apple-system,sans-serif;text-align:left}
.fmck[hidden]{display:none}
.fmck p{margin:0}
.fmck-t{font-size:13.5px}
.fmck-t b{color:#fff;font-weight:700}
.fmck-t a{color:#8fdcae;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.fmck-s{margin-top:8px!important;font-size:12.5px;color:#9fb0c0}
.fmck-b{display:flex;gap:8px;margin-top:12px}
.fmck-b button{flex:1 1 0;min-width:0;min-height:44px;padding:0 12px;border-radius:10px;border:1px solid transparent;font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s}
.fmck-y{background:#54b277;color:#0c1f14}
.fmck-y:hover{background:#63c088}
.fmck-y2{background:transparent;border-color:#66788a!important;color:#fff}
.fmck-y2:hover{background:rgba(255,255,255,.08)}
.fmck .fmck-n{display:block;margin:6px auto 0;padding:6px 10px;background:none;border:0;font:inherit;font-size:12.5px;line-height:1.3;color:#9fb0c0;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.fmck .fmck-n:hover{color:#fff}
.fmck .fmck-n:focus-visible{outline:2px solid #8fdcae;outline-offset:2px;border-radius:4px}
.fmck-b button:focus-visible{outline:2px solid #8fdcae;outline-offset:2px}
@media (max-width:759px){.fmck{left:8px;right:8px;width:auto;bottom:calc(8px + var(--fmck-off,0px));padding:12px 14px;border-radius:12px}.fmck-t{font-size:13px;line-height:1.4}.fmck-b button{min-height:42px;padding:0 8px;font-size:13.5px}}
@media print{.fmck{display:none!important}}
/* 15.11.2026: лента направлений в мобильном меню (вместо пункта «Что привозим»), от края до края панели; текущее направление — тёмное */
.fmh-dirs{margin:6px -16px 8px}
.fmh-dirs-h{padding:0 18px 8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7b8594}
.fmh-dirs-row{position:relative;display:flex;gap:8px;overflow-x:auto;padding:0 0 6px 16px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.fmh-dirs-row::-webkit-scrollbar{display:none}
.fmh-dirs-row:after{content:"";flex:0 0 8px}
.fmh-dir{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 15px;border:1px solid #e3e8ee;border-radius:12px;background:#f3f6f8;color:#17202b!important;font-size:15px;font-weight:650;white-space:nowrap;text-decoration:none}
.fmh-dir svg{flex:none;width:20px;height:20px;color:#5c6b78}
.fmh-dir-cc{flex:none;padding:3px 4px;border:1.5px solid #5c6b78;border-radius:4px;color:#5c6b78;font-style:normal;font-size:9.5px;line-height:1;font-weight:800;letter-spacing:.03em}
.fmh-dir:active{background:#e8edf1}
.fmh-dir.is-cur{background:#16202b;border-color:#16202b;color:#fff!important}
.fmh-dir.is-cur svg{color:#7fd19b}
.fmh-dir.is-cur .fmh-dir-cc{color:#7fd19b;border-color:#7fd19b}
/* Карточка каталога внутри подборок главной и направлений. */
.v4 .v3-compact button.fmk-calc{grid-column:1/-1;order:2;display:flex;align-items:center;width:100%;min-height:54px;margin:0;padding:8px 11px 7px;border:0;border-radius:9px 9px 0 0;background:#f3f7f4;color:#1d7a40;font:inherit;font-size:14px;font-weight:700;line-height:1.25;text-align:left;cursor:pointer}
.v4 .v3-compact button.fmk-calc:hover{background:#e8f2eb}
@media (max-width:599px){.v4 .v3-compact button.fmk-calc{min-height:48px;padding-block:6px}}

.fmh-sg-chips a.fmh-page-hint{display:inline-block;padding:5px 10px;border-radius:14px;background:var(--soft);color:var(--ink);font-size:13px;text-decoration:none}.fmh-sg-chips a.fmh-page-hint:hover,.fmh-sg-chips a.fmh-page-hint.is-hl{background:#e3e8ee}

/* Ф6. Первый переход с клавиатуры и видимый фокус в общей шапке. */
.fmh-skip{position:fixed;top:8px;left:8px;z-index:1200;transform:translateY(calc(-100% - 16px));padding:10px 16px;background:#fff;color:#172b21;border-radius:5px;font:600 16px/1.4 system-ui,sans-serif}
.fmh-skip:focus{transform:none;outline:3px solid #327e4b;outline-offset:2px}
#fmh-skip ~ #fmh :is(a,button,input,summary,[tabindex="0"]):focus-visible{outline:3px solid #327e4b!important;outline-offset:2px;box-shadow:0 0 0 2px #fff!important}
#fmh-skip ~ #fmh .fmh-q:focus-visible{outline-offset:-3px}
#fmh-content-start,.fmh-skip-target{scroll-margin-top:var(--fmh-h,96px)}
