/* The contact bar stays above the product's own section navigation. */
.product-header { position:sticky; top:0; z-index:25; background:white; color:#202224; border-bottom:1px solid #d6d8da; font:16px/1.5 Arial,Helvetica,sans-serif; }
.product-header .ph-inner { position:relative; width:min(1248px,94%); margin-inline:auto; display:flex; justify-content:space-between; align-items:center; gap:clamp(12px,2.1vw,32px); padding-block:10px; }
.product-header .logo { display:flex; flex:none; align-items:center; gap:12px; color:inherit; text-decoration:none; font-size:22px; font-weight:800; line-height:1; letter-spacing:-.03em; }
.product-header .logo small { display:block; margin-top:7px; font-size:10px; letter-spacing:.22em; }
.ph-contact { margin-inline-start:auto; display:grid; align-content:center; justify-items:end; text-align:right; }
.ph-phone,.ph-address { color:inherit; text-decoration:none; }
.ph-phone { font-weight:750; font-size:clamp(17px,1.65vw,22px); line-height:1.25; white-space:nowrap; letter-spacing:-.035em; }
.ph-address { font-size:13px; line-height:1.35; color:#505d61; }
.ph-phone:hover,.ph-address:hover,.ph-links a:hover,.ph-info a:hover,.ph-categories a:hover { text-decoration:underline; text-underline-offset:3px; }
.ph-catalog { flex:none; }
.ph-catalog summary { list-style:none; display:flex; gap:9px; align-items:center; padding:0 16px; min-height:42px; border-radius:5px; background:#ffd318; color:#11191d; font-weight:700; cursor:pointer; }
.ph-catalog summary::-webkit-details-marker { display:none; }
.ph-catalog summary:hover,.ph-catalog[open] summary { background:#ffdf42; }
.ph-burger { width:16px; height:12px; border-block:2px solid; display:grid; align-items:center; }
.ph-burger::after { content:""; height:2px; background:currentColor; }
.ph-search { position:relative; display:flex; align-items:center; flex:1; min-width:0; max-width:550px; background:#f1f3f2; border:1px solid #dce1df; border-radius:6px; }
.ph-search input { min-width:0; width:100%; padding:9px 12px; border:0; background:transparent; font:inherit; font-size:14px; color:inherit; }
.ph-search button { display:grid; place-items:center; flex:none; width:42px; height:40px; border:0; background:transparent; color:inherit; }
.ph-results { position:absolute; top:100%; left:0; right:0; z-index:1; max-height:46vh; overflow:auto; padding:8px; font-size:14px; background:white; border:1px solid #dce1df; box-shadow:0 10px 32px #10191d20; }
.ph-results a { display:block; padding:8px; }
.ph-results a:hover,.ph-results a:focus-visible { background:#f1f3f2; }
.ph-glass { width:15px; height:15px; border:2px solid; border-radius:50%; position:relative; }
.ph-glass::after { content:""; position:absolute; width:7px; height:2px; background:currentColor; transform:rotate(45deg); right:-5px; bottom:-3px; }
.ph-panel { position:absolute; top:100%; inset-inline:0; width:min(680px,100%); max-height:70vh; max-height:70dvh; overflow-y:auto; padding:16px 20px; background:white; border:1px solid #dce1df; border-radius:0 0 8px 8px; box-shadow:0 12px 25px #1823291c; }
.ph-panel .ph-search { display:none; }
.ph-links,.ph-info { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 12px; }
.ph-links a,.ph-info a,.ph-categories a { color:inherit; text-decoration:none; line-height:1.25; }
.ph-links a,.ph-info a { display:flex; align-items:center; min-height:42px; }
.ph-links { font-weight:650; }
.ph-info { border-top:1px solid #dce1df; margin-top:8px; padding-top:6px; font-size:14px; color:#505d61; }
.ph-categories { border-bottom:1px solid #dce1df; }
.ph-categories .header-inner { padding-block:0; gap:8px 14px; }
.ph-categories a { padding-block:12px; font-size:14px; font-weight:650; }
:root { --store-header-height:73px; --product-nav-height:46px; }
#section-menu { top:var(--store-header-height); }
.product-section { scroll-margin-top:calc(var(--store-header-height) + var(--product-nav-height) + 8px); }
body[data-model] #site-footer { scroll-margin-top:var(--store-header-height); }
.store-home .catalog-dock { position:relative; z-index:5; scroll-margin-top:var(--store-header-height); }
.store-home .dock-layout > .catalog-trigger { display:none; }
html:has(.store-home) { scroll-padding-top:var(--store-header-height); }
@media (max-width:960px) {
  .ph-categories { display:none; }
}
@media (max-width:760px) {
  :root { --store-header-height:64px; }
  .product-header .ph-inner { gap:10px; width:calc(100% - 32px); }
  .product-header .logo { font-size:19px; }
  .product-header .logo img { width:42px; height:42px; }
  .product-header .ph-inner > .ph-search { display:none; }
  .ph-panel .ph-search { display:flex; margin-bottom:10px; max-width:none; }
  .ph-panel .ph-search input { font-size:16px; }
  .ph-contact { min-width:0; }
  .ph-address { max-width:24ch; font-size:12px; }
  .ph-catalog summary { min-height:44px; padding-inline:12px; }
  .ph-links,.ph-info { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ph-panel .ph-search { flex-wrap:wrap; }
  .ph-panel .ph-search input { flex:1; }
  .ph-panel .ph-results { position:static; width:100%; }
}
@media (max-width:540px) {
  .product-header .ph-inner { width:calc(100% - 24px); gap:8px; padding-block:6px; }
  .product-header .logo > span { display:none; }
  .ph-catalog summary { font-size:14px; }
  .ph-phone { font-size:16px; }
}
.ph-brand-group { position:relative; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; }
.ph-brand-toggle { display:none; }
@media (hover:none), (any-pointer:coarse) {
  .ph-brand-group { grid-template-columns:minmax(0,1fr) auto; column-gap:4px; }
  .ph-brand-toggle { display:block; min-height:44px; padding:0 8px; border:0; background:transparent; color:#465458; cursor:pointer; font:600 13px/1.2 Arial,Helvetica,sans-serif; }
  .ph-brand-toggle[aria-expanded="true"] { color:#202224; text-decoration:underline; text-underline-offset:3px; }
}
.ph-brand-list { display:grid; gap:6px; grid-column:1/-1; background:#fff; }
.ph-brand-list[hidden] { display:none; }
:is(.ph-brand-list,.home-brand-list) a {
  display:flex; align-items:center; justify-content:center; box-sizing:border-box;
  min-width:0; min-height:48px; padding:8px 12px; border:2px solid transparent;
  border-radius:8px; color:#fff; background:#202326; text-decoration:none;
  font-weight:700; line-height:1.2; text-align:center;
}
:is(.ph-brand-list,.home-brand-list) img {
  display:block; width:auto; height:auto; max-width:min(100%,124px); max-height:30px; object-fit:contain;
}
/* The original Baltmotors artwork is grayscale. Reverse it only on dark menu tiles. */
:is(.ph-brand-list,.home-brand-list) img[src$="/baltmotors.svg"] { filter:invert(1); }
:is(.ph-brand-list,.home-brand-list) img:is([src$="/segway.svg"],[src$="/irbis.svg"],[src$="/koira.png"]) {
  filter:contrast(.8) brightness(1.4);
}
:is(.ph-brand-list,.home-brand-list) a:is(:hover,:focus-visible) { border-color:#ffd318; background:#181a1c; }
:is(.ph-brand-list,.home-brand-list) a:focus-visible { outline:2px solid #735900; outline-offset:2px; }
.ph-links { align-items:start; }
.ph-links .ph-brand-list { padding-block:2px 8px; }
.ph-categories { position:relative; z-index:6; background:#fff; }
.ph-categories .header-inner { flex-wrap:wrap; gap:0 8px; overflow:visible; }
.ph-categories .ph-brand-list { position:absolute; top:100%; left:0; padding:8px; min-width:164px; border:1px solid #dce1df; border-radius:0 0 10px 10px; box-shadow:0 10px 24px #13232120; }
.home-brand-list { display:flex; flex-wrap:wrap; gap:10px; padding:4px 0; }
.home-brand-list a { flex:0 1 164px; min-height:58px; }
@media (max-width:760px) {
  .ph-links { grid-template-columns:1fr; }
}
@media (max-width:540px) {
  .home-brand-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .home-brand-list a { min-height:52px; }
}
@media (forced-colors:active) {
  :is(.ph-brand-list,.home-brand-list) a:has(img) { forced-color-adjust:none; border-color:#fff; }
  :is(.ph-brand-list,.home-brand-list) a:has(img):focus-visible { outline-color:Highlight; }
}
