
.hx-menu-trigger {
	display:inline-flex; align-items:center; gap:8px; padding:9px 12px;
	border:0; border-radius:8px; background:transparent; color:var(--hx-ink);
	font-family:inherit; font-size:var(--hx-fs-sm); font-weight:600; line-height:1.2; cursor:pointer; text-decoration:none;
}
.hx-menu-trigger:hover, .hx-menu-trigger[aria-expanded="true"] {
	color: var(--hx-brand-text); background:var(--hx-primary-soft);
}
.hx-menu-trigger__chevron { width:7px; height:7px; border-inline-end:1.5px solid currentColor; border-block-end:1.5px solid currentColor; transform:rotate(45deg); margin-block-start:-4px; }
.hx-mega-overlay {
	position:fixed; inset:0; z-index:996; background:rgba(15,23,42,.42);
	opacity:0; visibility:hidden; transition:opacity .18s ease,visibility .18s ease;
}
.hx-mega-overlay.is-open { opacity:1; visibility:visible; }
.hx-mega-popup {
	position:absolute; top:calc(100% + 8px); left:50%; right:auto; transform:translate(-50%,-8px);
	width:min(1040px,calc(100vw - 40px)); max-height:min(72vh,650px); overflow:auto;
	z-index:997; background:#fff; border:1px solid var(--hx-line); border-radius:14px;
	box-shadow:0 22px 60px rgba(15,23,42,.18); opacity:0; visibility:hidden;
	transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.hx-mega-popup.is-open { opacity:1; visibility:visible; transform:translate(-50%,0); }
.hx-mega-popup__head { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid var(--hx-line); font-size:16px; }
.hx-mega-popup__close { width:34px; height:34px; border-radius:50%; font-size:24px; color:var(--hx-ink-muted); }
.hx-mega-popup__close:hover { background:var(--hx-bg-alt); }
.hx-mega-popup__layout { display:grid; grid-template-columns:260px minmax(0,1fr); min-height:340px; }
.hx-mega-roots { padding:14px; background:#f8fafc; border-inline-end:1px solid var(--hx-line); }
.hx-mega-root-row { display:flex; align-items:center; margin-bottom:4px; border-radius:8px; }
.hx-mega-root-row.is-active { background:#eaf3fc; }
.hx-mega-root-select { display:flex; align-items:center; justify-content:space-between; width:100%; min-width:0; min-height:42px; padding:10px 12px; border:0; border-radius:8px; background:transparent; color:var(--hx-ink); font-family:inherit; font-size:13px; font-weight:650; line-height:1.35; text-align:start; cursor:pointer; }
.hx-mega-root-select::after { content:"›"; flex:0 0 auto; margin-inline-start:12px; color:var(--hx-ink-muted); font-size:22px; line-height:1; }
.hx-mega-root-select:hover,.hx-mega-root-select.is-active { color: var(--hx-brand-text); }
.hx-mega-root-select:hover::after,.hx-mega-root-select.is-active::after { color: var(--hx-brand-text); }
.hx-mega-children { padding:22px 26px; min-width:0; }
.hx-mega-panel__title { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; padding-bottom:13px; border-bottom:1px solid var(--hx-line); }
.hx-mega-panel__name { margin:0; color:var(--hx-ink); font-size:18px; font-weight:800; line-height:1.3; }
.hx-mega-view-all { color: var(--hx-brand-text); font-size:12px; font-weight:700; text-decoration:none; white-space:nowrap; }
.hx-mega-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.hx-mega-columns ul { list-style:none; padding:0; margin:0; }
.hx-mega-columns > ul > li { margin-bottom:16px; }
.hx-mega-child { display:inline-block; color:var(--hx-ink); font-size:13px; font-weight:700; text-decoration:none; margin-bottom:5px; }
.hx-mega-child:hover,.hx-mega-grandchildren a:hover { color: var(--hx-brand-text); }
.hx-mega-grandchildren { padding-inline-start:10px !important; border-inline-start:1px solid var(--hx-line); }
.hx-mega-grandchildren li { margin:4px 0; }
.hx-mega-grandchildren a { color:var(--hx-ink-muted); font-size:12px; text-decoration:none; }
.hx-mega-empty { color:var(--hx-ink-muted); font-size:13px; }
.hx-mobile-categories { padding:4px 14px 14px; }
.hx-mobile-categories__heading { display:block; padding:10px 4px; color:var(--hx-ink-muted); font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.hx-mobile-categories__list,.hx-mobile-category__children,.hx-mobile-category__children ul { list-style:none; margin:0; padding:0; }
.hx-mobile-category { border-bottom:1px solid var(--hx-line); }
.hx-mobile-category__row { display:flex; align-items:center; gap:8px; }
.hx-mobile-category__row > a { flex:1; padding:13px 8px; color:var(--hx-ink); font-size:14px; font-weight:700; text-decoration:none; }
.hx-mobile-category__toggle { width:38px; height:38px; border-radius:8px; color: var(--hx-brand-text); font-size:20px; background:var(--hx-primary-soft); }
.hx-mobile-category__children { padding:0 12px 10px; }
.hx-mobile-category__children[hidden] { display:none; }
.hx-mobile-category__children > li > a { display:block; padding:9px 8px; color:var(--hx-ink-muted); font-size:13px; font-weight:600; text-decoration:none; }
.hx-mobile-category__children ul { padding-inline-start:14px; }
.hx-mobile-category__children ul a { display:block; padding:6px 8px; color:var(--hx-ink-muted); font-size:12px; text-decoration:none; }
@media(max-width:991px) {
	.hx-mega-popup,.hx-mega-overlay { display:none !important; }
	.hx-menu-trigger { display:none; }
}
@media(min-width:992px) {
	.hx-mobile-categories { display:none; }
}
@media(max-width:600px) {
	.hx-mega-popup__layout { grid-template-columns:1fr; }
	.hx-mega-roots { border-inline-end:0; border-bottom:1px solid var(--hx-line); }
	.hx-mega-columns { gap:14px; }
}
@media(prefers-reduced-motion:reduce) {
	.hx-mega-overlay,.hx-mega-popup { transition:none; }
}
