.cabinet-header, .cabinet-header * { box-sizing: border-box; }
.cabinet-header { background: #fff; border-bottom: 1px solid #dce2e9; color: #1f2937; }
.cabinet-header__inner { width: min(calc(100% - 40px), 1440px); margin-inline: auto; min-height: 84px; display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.cabinet-header__brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.cabinet-header__brand img { display: block; width: 164px; height: auto; }
.cabinet-header__context { display: grid; gap: 4px; min-width: 0; margin-right: auto; }
.cabinet-header__context strong { font: 650 14px/1.4 "Inter", "Segoe UI", system-ui, sans-serif; overflow-wrap: anywhere; }
.cabinet-header__context > span { color: #687588; font: 12px/1.4 "Inter", "Segoe UI", system-ui, sans-serif; overflow-wrap: anywhere; }
.cabinet-header__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.cabinet-header__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: #34465d; font: 550 13px/1.4 "Inter", "Segoe UI", system-ui, sans-serif; text-decoration: none; }
.cabinet-header__links a:hover, .cabinet-header__links a[aria-current] { color: #b74b18; }
.cabinet-header__links a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.cabinet-header__links .cabinet-header__catalog { border: 1px solid #d3dbe5; border-radius: 7px; padding: 8px 12px; white-space: nowrap; }
.cabinet-header__count { border-radius: 20px; padding: 1px 6px; background: #fff0e5; color: #813606; font-size: 11px; }
.cabinet-header__menu { min-width: 0; }
.cabinet-header__menu-toggle { display: none; }
.cabinet-header a:focus-visible, .cabinet-header__menu-toggle:focus-visible, .cabinet-footer a:focus-visible { outline: 3px solid #f26522; outline-offset: 3px; border-radius: 4px; }
.cabinet-footer { width: min(calc(100% - 40px), 1440px); margin-inline: auto; padding: 20px 0 28px; border-top: 1px solid #dce2e9; display: flex; flex-wrap: wrap; gap: 12px 24px; color: #687588; font: 12px/1.5 "Inter", "Segoe UI", system-ui, sans-serif; }
.cabinet-footer a { color: #52657d; text-decoration: none; }
@media (max-width: 1100px) {
  .cabinet-header__inner { flex-wrap: wrap; gap: 12px 20px; }
  .cabinet-header__menu { flex-basis: 100%; }
}
@media (max-width: 720px) {
  .cabinet-header__inner, .cabinet-footer { width: calc(100% - 28px); }
  .cabinet-header__inner { gap: 12px 16px; padding-block: 14px; }
  .cabinet-header__brand img { width: 128px; }
  .cabinet-header__context { flex: 1 1 140px; }
  .cabinet-header__context strong { font-size: 13px; }
  .cabinet-header__context > span { font-size: 11px; }
  .cabinet-header__links { gap: 6px 18px; }
  .cabinet-header__menu { width: 100%; }
  .cabinet-header--menu-ready .cabinet-header__menu-toggle { display: flex; width: 100%; background: #fff; color: #34465d; text-align: left; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 12px; border: 1px solid #d3dbe5; border-radius: 7px; cursor: pointer; font: 550 13px/1.4 "Inter", "Segoe UI", system-ui, sans-serif; list-style: none; }
  .cabinet-header--menu-ready .cabinet-header__menu-toggle[aria-expanded="false"] + .cabinet-header__links { display: none; }
  .cabinet-header__menu > .cabinet-header__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; padding-top: 10px; }
  .cabinet-header__menu .cabinet-header__links a { min-height: 44px; padding: 6px 10px; }
}
