/* Nexion's global navigation stays separate from Commander component styles. */
.nxd-site-header {
  position: fixed; inset: 0 0 auto; z-index: 1100;
  background: rgba(26,26,26,.96); border-bottom: 1px solid #3f3f3f;
  color: #eee; backdrop-filter: blur(8px);
}
body.light .nxd-site-header { background: rgba(255,255,255,.96); border-color: #e5e7eb; color: #111827; }
.nxd-header-inner { max-width: 1120px; height: 64px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nxd-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: inherit; white-space: nowrap; }
.nxd-logo:hover { color: inherit; }
.nxd-logo-img { height: 40px; width: auto; display: block; }
.nxd-nav { display: flex; gap: 28px; }
.nxd-nav a { color: inherit; opacity: .75; font-weight: 500; font-size: .95rem; }
.nxd-nav a:hover { opacity: 1; }
.nxd-nav-right { display: flex; align-items: center; gap: 12px; }
.nxd-theme-toggle, .nxd-nav-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.nxd-theme-toggle .nxd-icon-sun { display: none; }
body.light .nxd-theme-toggle .nxd-icon-moon { display: none; }
body.light .nxd-theme-toggle .nxd-icon-sun { display: block; }
.nxd-nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nxd-nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; }
.nxd-site-header :focus-visible { outline: 2px solid #0b5ed7; outline-offset: 4px; }
body { padding-top: 64px; }
.nxd-products { position: relative; }
.nxd-products summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; font-size: .95rem; font-weight: 500; opacity: .75; }
.nxd-products summary::-webkit-details-marker { display: none; }
.nxd-products summary:hover, .nxd-products[open] summary { opacity: 1; }
.nxd-product-list { position: absolute; top: calc(100% + 18px); left: -16px; width: 230px; padding: 8px; background: #1a1a1a; border: 1px solid #3f3f3f; border-radius: 10px; box-shadow: 0 12px 28px #0003; }
.nxd-product-list a { display: block; padding: 10px; border-radius: 6px; }
.nxd-product-list a:hover, .nxd-product-list a[aria-current="page"] { background: #ffffff12; opacity: 1; }
body.light .nxd-product-list { background: #fff; border-color: #e5e7eb; }
body.light .nxd-product-list a:hover, body.light .nxd-product-list a[aria-current="page"] { background: #f3f4f6; }
section[id] { scroll-margin-top: 84px; }
@media (max-width: 768px) {
 .nxd-header-inner { padding: 0 16px; }
 .nxd-nav-toggle { display: flex; }
 .nxd-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 16px 24px; flex-direction: column; gap: 16px; background: #1a1a1a; border-bottom: 1px solid #3f3f3f; }
 body.light .nxd-nav { background: #fff; border-color: #e5e7eb; }
 .nxd-nav.open { display: flex; }
 .nxd-product-list { position: static; width: 100%; margin-top: 10px; box-shadow: none; }
}
