/* Mobile header changes are isolated from the desktop layout. */
.header .mobile-menu-toggle{display:none}
.mobile-menu{display:none}
@media(max-width:800px){
  html{scroll-padding-top:84px}
  .header{height:auto;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 6%}
  .header .header-icon-brand{margin-right:auto}
  .header>nav,.header .header-primary-action,.header-contacts [aria-label="Телефон"]{display:none}
  .header-contacts{display:flex;flex-direction:row;align-items:center;gap:8px;padding:0}
  .header .mobile-menu-toggle{display:inline-flex}
  .mobile-menu[open]{display:block}
  .mobile-menu{position:fixed;inset:80px 6% auto;width:88%;max-width:none;margin:0;padding:24px;background:#101018;color:#eee8f7;border:1px solid #d7ccd136;border-radius:22px;max-height:calc(100dvh - 104px);overflow:auto;box-shadow:0 24px 70px #0008}
  .mobile-menu::backdrop{background:#07090acc;backdrop-filter:blur(8px)}
  .mobile-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
  .mobile-menu-heading h2{font-size:1.25rem;font-weight:400;line-height:1.4}
  .mobile-menu-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:1px solid #d7ccd136;border-radius:50%;background:#ffffff03;color:#ddd3d7}
  .mobile-menu-close svg{width:21px;height:21px}
  .mobile-menu nav{display:flex;flex-direction:column}
  .mobile-menu nav a{display:block;padding:18px 0;font-size:1.125rem;line-height:1.4;border-top:1px solid #d7ccd126}
  .mobile-menu a:focus-visible,.mobile-menu-close:focus-visible{outline:2px solid #d4b5ff;outline-offset:4px}
}
