/* ==========================================================================
   Site refresh – header & navigation (namespace .nxh), loaded after all layout styles.
   Legacy header rules (inline layout <style>, header-navigation.css, nexa-travel-2026.css)
   target .nx-navigation / .site-header; everything here is prefixed .site-header.nxh to win.
   ========================================================================== */

:root{
	--nxh-accent:#4f46e5; --nxh-accent-dark:#4338ca; --nxh-accent-soft:#eef2ff;
	--nxh-ink:#0f172a; --nxh-text:#334155; --nxh-muted:#64748b; --nxh-line:#e2e8f0;
	--nxh-h:72px; --nxh-radius:14px;
	--nxh-shadow:0 20px 50px -12px rgba(15,23,42,.18),0 4px 12px rgba(15,23,42,.06);
}

/* ---------- Top bar ---------- */
.nxh-topbar{background:var(--nxh-ink);color:#cbd5e1;font-size:13px;line-height:1}
.nxh-topbar-inner{display:flex;justify-content:space-between;align-items:center;height:36px}
.nxh-topbar-left,.nxh-topbar-right{display:flex;align-items:center;gap:22px}
.nxh-topbar span,.nxh-topbar a{display:inline-flex;align-items:center;gap:7px;color:#cbd5e1;text-decoration:none;white-space:nowrap}
.nxh-topbar a:hover{color:#fff}
.nxh-topbar i{font-size:13px;color:#a5b4fc}
.nxh-topbar-right a{position:relative}
.nxh-topbar-right a+a::before{content:"";position:absolute;left:-11px;top:50%;width:1px;height:12px;background:#334155;transform:translateY(-50%)}

/* ---------- Bar ---------- */
.site-header.nxh{position:sticky;top:0;z-index:1030;background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--nxh-line)!important;box-shadow:none!important;backdrop-filter:saturate(1.5) blur(12px);padding:0!important;transition:box-shadow .2s}
.site-header.nxh.scrolled,.site-header.nxh.is-scrolled{box-shadow:0 6px 20px -10px rgba(15,23,42,.15)!important}
.site-header.nxh>.container{max-width:1240px}
.site-header.nxh .nxh-bar{min-height:var(--nxh-h);padding:0!important;gap:8px;flex-wrap:nowrap;background:transparent!important}
.site-header.nxh .nxh-logo{display:flex;align-items:center;flex-shrink:0;margin-right:28px}
.site-header.nxh .nxh-logo img{width:140px;height:auto;display:block}

/* ---------- Primary nav ---------- */
.site-header.nxh .nxh-collapse{flex-grow:1}
.site-header.nxh .nxh-nav{display:flex;align-items:center;gap:2px;margin:0!important;padding:0}
.site-header.nxh .nxh-item{position:static;display:flex;align-items:center;border-radius:10px;transition:background .15s}
.site-header.nxh .nxh-item:hover,.site-header.nxh .nxh-item:has(.show){background:#f1f5f9}
.site-header.nxh .nxh-link{display:flex;align-items:center;padding:10px 4px 10px 14px!important;font-size:15px!important;font-weight:600!important;color:var(--nxh-text)!important;letter-spacing:0;background:none!important;border:0!important}
.site-header.nxh .nxh-link::after,.site-header.nxh .nxh-link::before{content:none!important;display:none!important}
.site-header.nxh .nxh-item:hover .nxh-link,.site-header.nxh .nxh-item:has(.show) .nxh-link{color:var(--nxh-ink)!important}
.site-header.nxh .nxh-caret{display:flex;align-items:center;justify-content:center;width:26px;height:40px;padding:0 12px 0 2px!important;margin:0;border:0!important;background:none!important;color:var(--nxh-muted);cursor:pointer;border-radius:0 10px 10px 0}
.site-header.nxh .nxh-caret::after{content:""!important;display:block!important;width:7px!important;height:7px!important;margin:-3px 0 0!important;border:0!important;border-right:1.7px solid currentColor!important;border-bottom:1.7px solid currentColor!important;transform:rotate(45deg)!important;transition:transform .2s ease!important}
.site-header.nxh .nxh-caret.show::after,.site-header.nxh .nxh-caret[aria-expanded=true]::after{transform:rotate(225deg)!important;margin:3px 0 0!important}
.site-header.nxh .nxh-item:hover .nxh-caret{color:var(--nxh-ink)}

/* ---------- Panels (dropdowns) ---------- */
.site-header.nxh .nxh-panel{position:absolute;margin-top:0!important;padding:10px!important;min-width:320px;border:1px solid var(--nxh-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--nxh-shadow)!important;color:var(--nxh-text)!important}
.site-header.nxh .nxh-panel.show{animation:nxhIn .16s ease-out}
@keyframes nxhIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.site-header.nxh .nxh-item>.nxh-panel{top:calc(100% - 6px)!important}
.site-header.nxh .nxh-panel-2col{display:none;width:560px;grid-template-columns:1fr 1fr;gap:2px}
.site-header.nxh .nxh-panel-2col.show{display:grid}
.site-header.nxh .nxh-panel-sm{min-width:240px}

.site-header.nxh .nxh-row{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:10px;color:var(--nxh-text)!important;text-decoration:none;transition:background .15s}
.site-header.nxh .nxh-row:hover{background:#f8fafc}
.site-header.nxh .nxh-row strong{display:block;font-size:14px;font-weight:600;color:var(--nxh-ink);line-height:1.35}
.site-header.nxh .nxh-row small{display:block;font-size:12.5px;color:var(--nxh-muted);line-height:1.45;margin-top:2px}
.site-header.nxh .nxh-row-sm{align-items:center;padding:8px 10px}
.site-header.nxh .nxh-ico{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--nxh-accent-soft);color:var(--nxh-accent);font-size:16px;transition:background .15s,color .15s}
.site-header.nxh .nxh-row-sm .nxh-ico{width:30px;height:30px;font-size:14px}
.site-header.nxh .nxh-row:hover .nxh-ico{background:var(--nxh-accent);color:#fff}
.site-header.nxh .nxh-danger strong,.site-header.nxh .nxh-danger .nxh-ico{color:#dc2626}
.site-header.nxh .nxh-danger .nxh-ico{background:#fef2f2}
.site-header.nxh .nxh-danger:hover .nxh-ico{background:#dc2626;color:#fff}

.site-header.nxh .nxh-panel-foot{grid-column:1/-1;display:flex;gap:18px;margin:6px -10px -10px;padding:12px 22px;border-top:1px solid var(--nxh-line);background:#f8fafc;border-radius:0 0 16px 16px}
.site-header.nxh .nxh-panel-foot a{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--nxh-text);text-decoration:none}
.site-header.nxh .nxh-panel-foot a:hover{color:var(--nxh-accent)}

.site-header.nxh .nxh-hotline{display:flex;align-items:center;gap:12px;margin-bottom:6px;padding:14px;border-radius:12px;background:linear-gradient(135deg,var(--nxh-accent),#6366f1);color:#fff!important;text-decoration:none}
.site-header.nxh .nxh-hotline small{display:block;font-size:12px;opacity:.85}
.site-header.nxh .nxh-hotline strong{display:block;font-size:18px;letter-spacing:.01em}
.site-header.nxh .nxh-ico-solid{background:rgba(255,255,255,.18)!important;color:#fff!important}

.site-header.nxh .nxh-user-info{padding:8px 10px 10px;margin-bottom:6px;border-bottom:1px solid var(--nxh-line);list-style:none}
.site-header.nxh .nxh-user-info strong{display:block;color:var(--nxh-ink);font-size:14px}
.site-header.nxh .nxh-user-info small{display:block;color:var(--nxh-muted);font-size:12.5px;word-break:break-all}

/* ---------- Mega menu (Điểm đến) ---------- */
.site-header.nxh .nxh-mega{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(1080px,calc(100vw - 48px));padding:0!important;overflow:hidden}
.site-header.nxh .nxh-mega-grid{display:grid;grid-template-columns:1.35fr 1fr .95fr}
.site-header.nxh .nxh-col{padding:24px}
.site-header.nxh .nxh-col+.nxh-col{border-left:1px solid var(--nxh-line)}
.site-header.nxh .nxh-col-title{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--nxh-muted);margin:0 0 12px 4px}
.site-header.nxh .nxh-col-regions .nxh-row{padding:9px 10px}
.site-header.nxh .nxh-flags{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.site-header.nxh .nxh-flags a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;color:var(--nxh-text);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .15s}
.site-header.nxh .nxh-flags a:hover{background:#f8fafc;color:var(--nxh-ink)}
.site-header.nxh .nxh-flags .fi{width:22px;height:16px;border-radius:3px;box-shadow:0 0 0 1px rgba(15,23,42,.08);flex-shrink:0;background-size:cover}
.site-header.nxh .nxh-col-feature{background:#f8fafc}
.site-header.nxh .nxh-feature{display:flex;flex-direction:column;height:100%;padding:20px;border-radius:14px;background:#fff;border:1px solid var(--nxh-line)}
.site-header.nxh .nxh-feature-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--nxh-accent-soft);color:var(--nxh-accent);font-size:12px;font-weight:600}
.site-header.nxh .nxh-feature strong{margin:14px 0 6px;font-size:17px;color:var(--nxh-ink);line-height:1.35}
.site-header.nxh .nxh-feature p{margin:0 0 16px;font-size:13.5px;line-height:1.55;color:var(--nxh-muted)}
.site-header.nxh .nxh-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:10px 14px;border-radius:10px;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.site-header.nxh .nxh-btn+.nxh-btn{margin-top:8px}
.site-header.nxh .nxh-btn-primary{background:var(--nxh-accent);border:1px solid var(--nxh-accent);color:#fff!important}
.site-header.nxh .nxh-btn-primary:hover{background:var(--nxh-accent-dark)}
.site-header.nxh .nxh-btn-ghost{background:#fff;border:1px solid var(--nxh-line);color:var(--nxh-ink)}
.site-header.nxh .nxh-btn-ghost:hover{border-color:#c7d2fe;color:var(--nxh-accent)}
.site-header.nxh .nxh-mega-foot{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-top:1px solid var(--nxh-line);background:#fff;color:var(--nxh-accent)!important;font-size:14px;font-weight:600;text-decoration:none}
.site-header.nxh .nxh-mega-foot:hover{background:var(--nxh-accent-soft)}

/* ---------- Right-side actions ---------- */
.site-header.nxh .nxh-actions{display:flex;align-items:center;gap:8px;margin-left:auto!important;padding:0!important;border:0!important}
.site-header.nxh .nxh-search{display:flex;align-items:center;gap:10px;width:210px;height:42px;padding:0 14px;border:1px solid var(--nxh-line);border-radius:999px;background:#f8fafc;color:var(--nxh-muted);font-size:14px;cursor:pointer;transition:border-color .15s,background .15s}
.site-header.nxh .nxh-search:hover{border-color:#c7d2fe;background:#fff}
.site-header.nxh .nxh-search i{color:var(--nxh-ink)}
.site-header.nxh .nxh-icon,
.site-header.nxh .nxh-cart .header-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:42px;height:42px;padding:0 11px;border:1px solid transparent!important;border-radius:999px!important;background:transparent!important;color:var(--nxh-ink)!important;font-size:19px;cursor:pointer;box-shadow:none!important;transition:background .15s}
.site-header.nxh .nxh-icon:hover,.site-header.nxh .nxh-cart .header-icon-btn:hover{background:#f1f5f9!important}
.site-header.nxh .nxh-icon::after{display:none!important}
.site-header.nxh .nxh-login-text{font-size:14px;font-weight:600}
.site-header.nxh .nxh-cart .cart-count{font-size:10px;padding:3px 6px;background:var(--nxh-accent)!important;border:2px solid #fff;transform:translate(-60%,-20%)!important}
.site-header.nxh .nxh-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--nxh-accent);color:#fff;font-size:14px;font-weight:700}
.site-header.nxh .nxh-avatar-btn{padding:0 5px}
.site-header.nxh .nxh-cta{display:inline-flex!important;align-items:center;height:42px;margin-left:4px!important;padding:0 20px!important;border-radius:999px!important;background:var(--nxh-accent)!important;border:0!important;color:#fff!important;font-size:14px!important;font-weight:600!important;text-decoration:none;white-space:nowrap;box-shadow:0 6px 16px -6px rgba(79,70,229,.6)!important;width:auto!important}
.site-header.nxh .nxh-cta:hover{background:var(--nxh-accent-dark)!important}

/* ---------- Desktop fine-tuning ---------- */
@media (min-width:992px){
	.site-header.nxh .nxh-mobile-actions{display:none!important}
	.site-header.nxh .nxh-collapse{display:flex!important;align-items:center}
}
@media (min-width:992px) and (max-width:1279.98px){
	.site-header.nxh .nxh-logo{margin-right:12px}
	.site-header.nxh .nxh-logo img{width:124px}
	.site-header.nxh .nxh-link{padding-left:10px!important;font-size:14px!important}
	.site-header.nxh .nxh-search{width:42px;padding:0;justify-content:center}
	.site-header.nxh .nxh-search span,.site-header.nxh .nxh-login-text{display:none}
	.site-header.nxh .nxh-cta{padding:0 14px!important}
}

/* ---------- Mobile ---------- */
@media (max-width:991.98px){
	.site-header.nxh .nxh-bar{min-height:62px;flex-wrap:wrap}
	.site-header.nxh .nxh-logo{margin-right:auto}
	.site-header.nxh .nxh-logo img{width:122px}
	.site-header.nxh .nxh-mobile-actions{display:flex;align-items:center;gap:2px}
	.site-header.nxh .nxh-toggler{font-size:26px}
	.site-header.nxh .nxh-collapse{flex-basis:100%;margin:0 -12px;padding:8px 12px 18px;border-top:1px solid var(--nxh-line);max-height:calc(100dvh - 62px);overflow-y:auto;background:#fff!important}
	.site-header.nxh .nxh-nav{flex-direction:column;align-items:stretch;gap:0}
	.site-header.nxh .nxh-item{flex-wrap:wrap;border-bottom:1px solid #f1f5f9;border-radius:0}
	.site-header.nxh .nxh-item:hover,.site-header.nxh .nxh-item:has(.show){background:transparent}
	.site-header.nxh .nxh-link{flex:1;padding:15px 4px!important;font-size:16px!important}
	.site-header.nxh .nxh-caret{width:48px;height:48px;padding:0!important;justify-content:center}
	.site-header.nxh .nxh-panel,.site-header.nxh .nxh-mega{position:static!important;transform:none!important;flex:0 0 100%;width:100%!important;min-width:0;margin:0 0 12px!important;box-shadow:none!important;border-radius:12px!important;animation:none}
	.site-header.nxh .nxh-panel-2col.show{grid-template-columns:1fr}
	.site-header.nxh .nxh-mega-grid{grid-template-columns:1fr}
	.site-header.nxh .nxh-col{padding:14px}
	.site-header.nxh .nxh-col+.nxh-col{border-left:0;border-top:1px solid var(--nxh-line)}
	.site-header.nxh .nxh-flags{grid-template-columns:1fr 1fr}
	.site-header.nxh .nxh-col-feature{display:none}
	.site-header.nxh .nxh-actions{flex-wrap:wrap;margin:14px 0 0!important;gap:8px}
	.site-header.nxh .nxh-search{flex:1 1 100%;width:auto}
	.site-header.nxh .nxh-cta{flex:1;justify-content:center}
}

/* ---------- Neutralise legacy container box & focus ring ---------- */
header.site-header.nxh{background:rgba(255,255,255,.97)!important}
header.site-header.nxh>.container,header.site-header.nxh .navbar{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
.site-header.nxh .nxh-caret:focus,.site-header.nxh .nxh-icon:focus,.site-header.nxh .nxh-search:focus{outline:none!important;box-shadow:none!important}
.site-header.nxh .nxh-caret:focus-visible,.site-header.nxh .nxh-link:focus-visible,.site-header.nxh .nxh-icon:focus-visible,.site-header.nxh .nxh-search:focus-visible,.site-header.nxh .nxh-cta:focus-visible{outline:2px solid var(--nxh-accent)!important;outline-offset:2px}
@media (max-width:991.98px){
	header.site-header.nxh #mainNavbar{background:#fff!important;border:0!important;border-top:1px solid var(--nxh-line)!important;border-radius:0!important;margin-top:0!important;box-shadow:none!important}
}

/* ==========================================================================
   Footer (namespace .nxf) – dark, structured, consistent with the header.
   ========================================================================== */
footer.site-footer.nxf{--nxf-bg:#0b1120;--nxf-bg-2:#111a2e;--nxf-line:rgba(148,163,184,.16);--nxf-text:#94a3b8;--nxf-strong:#e2e8f0;--nxf-accent:#a5b4fc;
	background:var(--nxf-bg)!important;color:var(--nxf-text)!important;padding:0!important;margin:0!important;border:0!important;font-size:14.5px;line-height:1.6}
footer.site-footer.nxf a{color:var(--nxf-text);text-decoration:none;transition:color .15s}
footer.site-footer.nxf a:hover{color:#fff}
footer.site-footer.nxf .container{max-width:1240px}

/* Trust strip */
.nxf-trust{border-bottom:1px solid var(--nxf-line);background:var(--nxf-bg-2)}
.nxf-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-top:26px;padding-bottom:26px}
.nxf-trust-item{display:flex;align-items:center;gap:14px}
.nxf-trust-ico{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:rgba(99,102,241,.15);color:var(--nxf-accent);font-size:20px}
.nxf-trust-item strong{display:block;color:var(--nxf-strong);font-size:15px;font-weight:600}
.nxf-trust-item small{display:block;color:var(--nxf-text);font-size:13px}

/* Main grid */
.nxf-main{padding-top:56px;padding-bottom:36px}
.nxf-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:40px}
.nxf-logo{display:inline-block;margin-bottom:16px}
.nxf-logo img{width:150px;height:auto;filter:brightness(0) invert(1);opacity:.95}
.nxf-about{margin:0 0 18px;max-width:340px}
footer.site-footer.nxf .nxf-about a{color:var(--nxf-strong);font-weight:600}
.nxf-contact{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:10px}
.nxf-contact li{display:flex;align-items:flex-start;gap:10px}
.nxf-contact i{color:var(--nxf-accent);font-size:15px;margin-top:2px}
footer.site-footer.nxf .nxf-contact strong{color:#fff}
.nxf-social{display:flex;gap:10px}
footer.site-footer.nxf .nxf-social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--nxf-line);color:var(--nxf-strong);font-size:16px;transition:background .15s,border-color .15s}
footer.site-footer.nxf .nxf-social a:hover{background:#4f46e5;border-color:#4f46e5;color:#fff}
.nxf-col h2{margin:4px 0 16px!important;font-size:13px!important;font-weight:700!important;letter-spacing:.1em;text-transform:uppercase;color:var(--nxf-strong)!important}
.nxf-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.nxf-col li{margin:0}

/* Popular destinations */
.nxf-destinations{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:44px;padding-top:28px;border-top:1px solid var(--nxf-line)}
.nxf-dest-label{margin-right:8px;font-size:13px;font-weight:600;color:var(--nxf-strong)}
footer.site-footer.nxf .nxf-destinations a{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid var(--nxf-line);border-radius:999px;font-size:13px}
footer.site-footer.nxf .nxf-destinations a:hover{border-color:var(--nxf-accent)}
.nxf-destinations .fi{width:18px;height:13px;border-radius:2px;background-size:cover}

/* Bottom bar */
.nxf-bottom{border-top:1px solid var(--nxf-line);background:#070c17}
.nxf-bottom-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding-top:18px;padding-bottom:18px;font-size:13px}
footer.site-footer.nxf .nxf-legal strong{color:var(--nxf-strong);font-weight:600}
.nxf-pay{display:flex;flex-wrap:wrap;gap:6px}
.nxf-pay-pill{padding:4px 10px;border-radius:6px;background:rgba(255,255,255,.06);border:1px solid var(--nxf-line);color:var(--nxf-strong);font-size:12px;font-weight:700;letter-spacing:.02em}

/* Floating contact buttons sit above the footer content on small screens */
@media (max-width:1199.98px){
	.nxf-grid{grid-template-columns:repeat(4,1fr);gap:32px}
	.nxf-brand{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px 40px;align-items:start}
	.nxf-brand .nxf-logo,.nxf-brand .nxf-about{grid-column:1}
	.nxf-brand .nxf-contact,.nxf-brand .nxf-social{grid-column:2}
	.nxf-brand .nxf-contact{grid-row:1/3}
}
@media (max-width:767.98px){
	.nxf-trust-grid{grid-template-columns:1fr 1fr;gap:18px}
	.nxf-main{padding-top:40px}
	.nxf-grid{grid-template-columns:1fr 1fr;gap:28px 20px}
	.nxf-brand{display:block}
	.nxf-bottom-inner{flex-direction:column;align-items:flex-start}
}
@media (max-width:420px){
	.nxf-trust-grid{grid-template-columns:1fr}
}
/* Legacy footer rules tint links blue-grey; enforce readable contrast */
footer.site-footer.nxf .nxf-col a,footer.site-footer.nxf .nxf-destinations a,footer.site-footer.nxf .nxf-contact a{color:#cbd5e1!important}
footer.site-footer.nxf .nxf-col a:hover,footer.site-footer.nxf .nxf-destinations a:hover,footer.site-footer.nxf .nxf-contact a:hover{color:#fff!important}
footer.site-footer.nxf .nxf-about,footer.site-footer.nxf .nxf-contact li{color:#94a3b8!important}
footer.site-footer.nxf .nxf-about a.ft-home-link{color:#e2e8f0!important;text-decoration:none!important}
footer.site-footer.nxf .nxf-social a{color:#e2e8f0!important}
footer.site-footer.nxf .nxf-social a:hover{color:#fff!important}
@media (max-width:767.98px){.nxf-col ul{gap:9px}}

/* ==========================================================================
   Header dropdowns v2 (desktop): anchored under their own item + smooth fade/slide.
   Panels stay in the layout (display:block) and animate visibility/opacity/transform;
   Bootstrap's .show class drives the open state (Popper disabled via data-bs-display="static").
   ========================================================================== */
@media (min-width:992px){
	header.site-header.nxh.nxh .nxh-item{position:relative!important}
	header.site-header.nxh.nxh .nxh-item:has(.nxh-mega){position:static!important}
	header.site-header.nxh.nxh .nxh-user{position:relative}

	header.site-header.nxh.nxh .nxh-panel{
		display:block!important; visibility:hidden; opacity:0; pointer-events:none;
		top:calc(100% + 10px)!important; bottom:auto!important; left:50%!important; right:auto!important; inset-inline:auto;
		transform:translate(-50%,8px)!important; animation:none!important; margin:0!important;
		transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s linear .22s;
		will-change:opacity,transform;
	}
	header.site-header.nxh.nxh .nxh-panel.show{
		visibility:visible; opacity:1; pointer-events:auto; transform:translate(-50%,0)!important;
		transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s;
	}
	/* Right-aligned panels (last menu item, account) never overflow the viewport */
	header.site-header.nxh.nxh .nxh-panel-right,header.site-header.nxh.nxh .nxh-user .nxh-panel{left:auto!important;right:0!important;transform:translateY(8px)!important}
	header.site-header.nxh.nxh .nxh-panel-right.show,header.site-header.nxh.nxh .nxh-user .nxh-panel.show{transform:translateY(0)!important}
	header.site-header.nxh.nxh .nxh-panel-2col{display:grid!important}

	/* Mega menu: centred on the header, flush with its bottom edge */
	header.site-header.nxh.nxh .nxh-mega{top:100%!important}

	/* Invisible bridge across the gap so moving the pointer down never closes the panel */
	header.site-header.nxh.nxh .nxh-panel::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
	header.site-header.nxh.nxh .nxh-mega::before{top:-10px;height:10px}

	/* Caret follows the open state smoothly */
	header.site-header.nxh.nxh .nxh-item .nxh-caret::after{transition:transform .22s ease,margin .22s ease!important}
	header.site-header.nxh.nxh .nxh-item{transition:background .18s ease}
}
@media (min-width:992px) and (prefers-reduced-motion:reduce){
	header.site-header.nxh.nxh .nxh-panel,header.site-header.nxh.nxh .nxh-panel.show{transition:none!important}
}
