/* hdr-comm 2026-11-20he: commercial contacts in the header / topbar. */
.hdr-comm{display:flex;align-items:center;gap:10px;flex:none}
.hdr-phone{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 12px;border-radius:999px;color:var(--ink);font:700 13.5px/1 var(--f-body);letter-spacing:0;text-transform:none;white-space:nowrap;font-variant-numeric:tabular-nums}
.hdr-phone:hover{color:var(--brand);text-decoration:none}
.hdr-phone svg{flex:none;color:var(--brand)}
/* Text links do not fit in the 1280px wrap next to nav + search + cart. They live in the topbar. */
.hdr-links{display:none}

/* Partner caption + the 5th nav item do not fit next to the header phone inside the 1280px wrap. */
.header:has(.hdr-comm) .logo-sep,
.header:has(.hdr-comm) .logo-txt{display:none}
.header:has(.hdr-comm) .nav a:nth-child(5){display:none}

/* Mid-desktop: tighten gaps so IP / HDCVI / регистраторы / домофоны + phone + Заявка stay in the wrap. */
@media (max-width:1500px){
  .header:has(.hdr-comm) .nav{gap:10px}
  .header:has(.hdr-comm) .wrap{gap:10px}
  .header:has(.hdr-comm) .hdr-actions{gap:8px}
  .header:has(.hdr-comm) .hdr-phone{padding:0 8px;gap:5px;font-size:13px}
}

@media (max-width:900px){
  .hdr-comm{gap:0}
  .hdr-phone{width:40px;padding:0;justify-content:center;border:1px solid var(--line);background:#fff;font-size:13.5px}
  .hdr-phone .hdr-phone-num{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .hdr-phone:hover{border-color:var(--ink-3)}
}
