/* Theme presentation for editable navigation trees. */
.header-nav { position: relative; }
.header-nav .mega-wrap { position: static; }
.header-nav .mega-menu { max-height: min(70vh, 640px); overflow-y: auto; }
.header-nav .nav-list { flex-wrap: wrap; }
.menu-tree-group { min-width: 0; }
.menu-group-title { display: block; padding: 10px 8px; font-weight: 700; }
.menu-tree-children { display: grid; gap: 8px; }
.drawer-subnav .menu-tree-children { padding-inline-start: 14px; border-inline-start: 1px solid var(--border); }
.menu-label { cursor: default; }
.drawer-nav > .menu-label { padding: 14px; }
.mega-category.is-active { border-color: var(--primary); }
.mobile-bottom-nav { grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); }
.mobile-bottom-nav a, .mobile-bottom-nav button { min-width: 0; }
