@font-face { font-family:"Brushmaster Header Inter"; font-style:normal; font-weight:500; font-display:swap; src:url("https://brushmaster.ru/shared-header/font/inter-500.ttf") format("truetype"); }
@font-face { font-family:"Brushmaster Header Inter"; font-style:normal; font-weight:800; font-display:swap; src:url("https://brushmaster.ru/shared-header/font/inter-800.ttf") format("truetype"); }
@font-face { font-family:"Brushmaster Header Mono"; font-style:normal; font-weight:600; font-display:swap; src:url("https://brushmaster.ru/shared-header/font/jetbrains-mono-600.ttf") format("truetype"); }
html:root { scrollbar-gutter:stable; }
/* One stylesheet for the shared header on the shop and all AI services. */
.bm-site-header { position:sticky; top:0; z-index:50; width:100%; margin:0; border-bottom:1px solid rgba(77,71,50,.72); background:rgba(30,32,35,.86); color:#e2e2e6; backdrop-filter:blur(14px); box-shadow:0 1px 0 rgba(255,255,255,.03); font-family:"Brushmaster Header Inter",Arial,sans-serif; font-size:14px; font-weight:500; line-height:1.4; letter-spacing:0; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.bm-site-header * { box-sizing:border-box; }
.bm-header-inner { display:flex; align-items:center; min-height:80px; padding:14px 24px; gap:40px; max-width:1728px; margin:0 auto; }
.bm-header-brand { display:grid; gap:7px; flex-shrink:0; font-size:20px; font-weight:800; letter-spacing:-.03em; line-height:1; text-decoration:none; color:#ffe16d; white-space:nowrap; }
.bm-header-brand small { font-family:"Brushmaster Header Mono",monospace; font-size:8px; font-weight:600; letter-spacing:.12em; color:#d0c6ab; }
.bm-header-nav { display:flex; align-items:center; gap:26px; font-size:13px; font-weight:500; }
.bm-header-nav > a,.bm-header-dropdown > summary { display:flex; align-items:center; gap:6px; padding:10px 0; color:#e2e2e6; text-decoration:none; line-height:1.4; white-space:nowrap; cursor:pointer; list-style:none; }
.bm-header-dropdown > summary::-webkit-details-marker { display:none; }
.bm-header-nav a[aria-current=page],.bm-header-dropdown[data-active=true] > summary { color:#ffe16d; text-decoration:underline; text-underline-offset:8px; text-decoration-thickness:1px; }
.bm-header-dropdown { position:relative; }
.bm-header-dropdown-panel { position:absolute; top:calc(100% + 8px); left:0; min-width:210px; padding:8px; border:1px solid rgba(77,71,50,.72); border-radius:4px; background:rgba(17,22,29,.98); }
.bm-header-dropdown-panel a { display:block; padding:12px; color:#e2e2e6; text-decoration:none; font-size:13px; line-height:1.4; white-space:nowrap; }
.bm-header-actions { display:flex; gap:12px; align-items:center; margin-left:auto; }
.bm-header-actions a,.bm-header-menu { position:relative; display:flex; align-items:center; justify-content:center; flex-shrink:0; width:36px; height:36px; padding:0; border:0; background:transparent; color:#e2e2e6; text-decoration:none; cursor:pointer; }
.bm-header-actions svg,.bm-header-menu svg { display:block; }
.bm-header-count { position:absolute; top:-3px; right:-2px; display:flex; align-items:center; justify-content:center; min-width:16px; height:16px; padding:0 4px; border-radius:50%; background:#ffd700; color:#221b00; font:600 9px/1 "Brushmaster Header Mono",monospace; }
.bm-header-menu { display:none; }
.bm-site-header a:focus-visible,.bm-site-header button:focus-visible,.bm-site-header summary:focus-visible { outline:2px solid #ffe16d; outline-offset:4px; }
@media(hover:hover) and (pointer:fine) { .bm-site-header a:hover,.bm-site-header summary:hover { color:#ffe16d; } .bm-header-dropdown-panel a:hover { background:rgba(255,215,0,.12); } }
@media(max-width:1280px) { .bm-header-inner { gap:22px; } .bm-header-nav { gap:18px; } .bm-header-actions { gap:8px; } }
@media(max-width:1100px) {
 .bm-header-inner { min-height:64px; padding:12px 16px; gap:14px; flex-wrap:wrap; }
 .bm-header-brand { order:1; }
 .bm-header-menu { display:flex; order:0; width:28px; height:36px; }
 .bm-header-actions { order:2; gap:8px; }
 .bm-header-actions [data-bm-action=favorites] { display:none; }
 .bm-header-nav { display:none; order:3; flex-basis:100%; padding:12px 0 4px; }
 .bm-header-menu-open .bm-header-nav { display:grid; gap:0; }
 .bm-header-nav > a,.bm-header-dropdown > summary { min-height:44px; padding:12px 0; }
 .bm-header-dropdown-panel { position:static; border:0; border-left:1px solid rgba(77,71,50,.72); margin:0 0 8px 4px; padding:0 8px; background:transparent; }
}
@media(max-width:420px) { .bm-header-inner { padding-inline:12px; gap:12px; } .bm-header-brand { font-size:18px; } .bm-header-brand small { font-size:7px; letter-spacing:.08em; } .bm-header-actions { gap:4px; } .bm-header-actions a { width:32px; } }
