/* ==========================================================================
   NavForge — core engine (skin-agnostic). Skins set the CSS variables.
   Breakpoint switching is driven by the .nf-is-mobile class (set in JS),
   so the breakpoint is fully customizable per navbar.
   ========================================================================== */

.nf-root,
.nf-root *,
.nf-drawer,
.nf-drawer * { box-sizing: border-box; }

.nf-root {
  --nf-ease: cubic-bezier(.4, 0, .2, 1);
  position: relative;
  z-index: 1000;
  font-family: var(--nf-body-font, system-ui, sans-serif);
  background: var(--nf-bg, #fff);
  color: var(--nf-text, #333);
  line-height: 1.5;
}
.nf-root a { text-decoration: none; color: inherit; }
.nf-root ul { list-style: none; margin: 0; padding: 0; }

/* ----- Sticky modes ----- */
.nf-sticky-sticky,
.nf-sticky-condense,
.nf-sticky-transparent { position: fixed; inset-inline: 0; top: 0; }
.nf-sticky-solid { position: relative; }

.nf-sticky-sticky.nf-scrolled,
.nf-sticky-condense.nf-scrolled,
.nf-sticky-transparent.nf-scrolled { box-shadow: 0 6px 24px rgba(10, 20, 32, .12); }

/* ----- Container ----- */
.nf-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 28px;
}
.nf-container-full .nf-container { max-width: none; }

/* ----- Bar ----- */
.nf-bar { height: var(--nf-bar-h, 74px); transition: height .35s var(--nf-ease); }
.nf-bar-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nf-zone { display: flex; align-items: center; height: 100%; }
.nf-zone-start { flex: 0 0 auto; }
.nf-zone-center { flex: 1 1 auto; justify-content: center; }
.nf-zone-end { flex: 0 0 auto; gap: 14px; }

/* ----- Logo ----- */
.nf-logo {
  font-family: var(--nf-logo-font, inherit);
  font-size: 24px;
  font-weight: 700;
  color: var(--nf-strong, #111);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nf-logo-img { display: block; height: auto; max-height: 40px; width: auto; }

/* ----- Co-branding lockup (holding logo | subsidiary logo) ----- */
.nf-cobrand { display: inline-flex; align-items: center; gap: 16px; min-width: 0; }
.nf-cobrand .nf-logo { flex: 0 0 auto; }
.nf-cobrand-sep {
  flex: 0 0 auto; width: 1px; height: 32px;
  background: color-mix(in srgb, currentColor 28%, transparent);
}
.nf-cobrand-logo {
  flex: 0 1 auto; display: block; height: 34px; width: auto;
  max-width: 200px; object-fit: contain;
}
@media (max-width: 600px) {
  .nf-cobrand { gap: 10px; }
  .nf-cobrand-sep { height: 26px; }
  .nf-cobrand-logo { height: 26px; max-width: 120px; }
}

/* ----- Desktop menu ----- */
.nf-menu { display: flex; align-items: center; gap: 2px; height: 100%; }
.nf-item { position: relative; height: 100%; display: flex; align-items: center; }
.nf-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding-inline: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--nf-text);
  position: relative;
  transition: color .2s;
}
.nf-upper .nf-item > a {
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 13.5px;
}
.nf-item > a::after {
  content: "";
  position: absolute;
  inset-inline: 16px;
  bottom: calc(50% - 15px);
  height: 2px;
  background: var(--nf-hover, var(--nf-accent, #888));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .26s var(--nf-ease);
}
.nf-item > a:hover,
.nf-item > a:focus-visible { color: var(--nf-strong); }
.nf-item:hover > a::after,
.nf-item:focus-within > a::after { transform: scaleX(1); }

/* caret */
.nf-caret {
  width: 6px; height: 6px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--nf-ease);
  display: inline-block;
}
.nf-item:hover .nf-caret { transform: rotate(225deg) translateY(2px); }

/* ----- Dropdowns ----- */
.nf-dd {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  background: var(--nf-dd-bg, #fff);
  color: var(--nf-dd-text, #111);
  border-radius: var(--nf-radius, 8px);
  box-shadow: 0 24px 50px rgba(15, 23, 32, .18);
  border-top: 3px solid var(--nf-dd-border, var(--nf-accent, #888));
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s var(--nf-ease), transform .2s var(--nf-ease), visibility .2s;
  z-index: 20;
}
.nf-dd-end { inset-inline-start: auto; inset-inline-end: 0; }
.nf-item:hover > .nf-dd,
.nf-item:focus-within > .nf-dd { opacity: 1; visibility: visible; transform: translateY(0); }
.nf-dd-in { padding: 12px; }
.nf-dd a { color: var(--nf-dd-text, #111); }

/* list */
.nf-sub-list .nf-dd-in { min-width: 240px; }
.nf-list li > a {
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 14px;
  transition: background .18s, color .18s;
}
.nf-list li > a:hover { background: var(--nf-dd-hover, color-mix(in srgb, var(--nf-accent) 10%, transparent)); color: var(--nf-dd-hover-text, var(--nf-accent)); }
.nf-list-nested { margin-inline-start: 10px; border-inline-start: 2px solid color-mix(in srgb, var(--nf-accent) 25%, transparent); padding-inline-start: 4px; }
.nf-list-multi { columns: 2; column-gap: 8px; min-width: 380px; }

/* columns + mega */
.nf-sub-columns .nf-dd, .nf-sub-mega .nf-dd { min-width: 520px; }
.nf-sub-mega .nf-dd { inset-inline-start: 0; }
.nf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; min-width: 520px; }
.nf-col-h {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--nf-dd-heading, var(--nf-accent));
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--nf-dd-text) 12%, transparent);
}
.nf-col ul li a { display: block; padding: 7px 0; font-size: 14px; transition: color .15s, transform .15s; }
.nf-col ul li a:hover { color: var(--nf-dd-hover-text, var(--nf-accent)); transform: translateX(3px); }

/* cards */
.nf-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 460px; }
.nf-card {
  display: block;
  padding: 13px;
  border-radius: 10px;
  transition: background .18s, transform .18s;
}
.nf-card:hover { background: var(--nf-dd-hover, color-mix(in srgb, var(--nf-accent) 8%, transparent)); transform: translateY(-1px); }
.nf-card-tt { display: block; font-size: 14.5px; font-weight: 600; color: var(--nf-dd-text); }
.nf-card-ds { display: block; font-size: 12.5px; opacity: .7; margin-top: 2px; line-height: 1.45; }

/* ----- CTA ----- */
.nf-cta {
  background: var(--nf-cta-bg, #111);
  color: var(--nf-cta-text, #fff);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: var(--nf-radius, 8px);
  white-space: nowrap;
  transition: transform .15s, filter .2s, background .2s;
}
.nf-cta:hover { transform: translateY(-1px); background: var(--nf-cta-hover, color-mix(in srgb, var(--nf-cta-bg, #111) 88%, #000)); }

/* ----- Search ----- */
.nf-search { position: relative; display: flex; align-items: center; max-width: 320px; }
.nf-search-ic { position: absolute; inset-inline-start: 12px; width: 17px; height: 17px; opacity: .6; pointer-events: none; }
.nf-search input {
  width: 100%;
  height: 40px;
  padding-inline: 38px 14px;
  border: 1px solid var(--nf-border, #ddd);
  border-radius: var(--nf-radius, 8px);
  background: color-mix(in srgb, var(--nf-bg) 92%, #000);
  color: inherit;
  font: inherit;
  font-size: 14px;
}
.nf-search input::placeholder { opacity: .6; }
.nf-search input:focus { outline: none; border-color: var(--nf-accent); }

/* ----- Burger ----- */
.nf-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--nf-burger-border, var(--nf-border, rgba(128,128,128,.4)));
  border-radius: var(--nf-radius, 8px);
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}
.nf-burger span {
  position: absolute; inset-inline: 11px; height: 2px;
  background: var(--nf-strong, currentColor); border-radius: 2px;
  transition: transform .3s var(--nf-ease), opacity .2s;
}
.nf-burger span:nth-child(1) { top: 15px; }
.nf-burger span:nth-child(2) { top: 21px; }
.nf-burger span:nth-child(3) { top: 27px; }
.nf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----- Utility bar ----- */
.nf-utility { background: var(--nf-util-bg, var(--nf-accent2, rgba(0,0,0,.15))); color: var(--nf-util-text, var(--nf-text)); font-size: 13px; overflow: hidden; transition: height .35s var(--nf-ease), opacity .25s; }
.nf-util-in { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.nf-util-text { opacity: .85; }

/* ----- Centered layout ----- */
.nf-centered-grid { display: grid; grid-template-columns: 1fr auto 1fr; }
.nf-centered-grid .nf-zone-start { justify-self: start; gap: 8px; }
.nf-centered-grid .nf-zone-center { justify-self: center; }
.nf-centered-grid .nf-zone-end { justify-self: end; gap: 10px; }
.nf-layout-centered .nf-logo { font-size: 30px; }

/* ----- Two-tier layout ----- */
.nf-top { background: var(--nf-dd-bg, #fff); color: #1c2429; border-bottom: 1px solid var(--nf-border, #e7e3dc); overflow: hidden; transition: height .35s var(--nf-ease), opacity .25s; height: 64px; }
.nf-top-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nf-top .nf-logo { color: var(--nf-bg); }
.nf-zone-search { flex: 1 1 auto; max-width: 380px; }
.nf-tier { background: var(--nf-bg); height: var(--nf-bar-h, 54px); }
.nf-tier-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.nf-tier .nf-menu { flex: 1; }
.nf-tier-end { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.nf-logo-mini { display: none; align-items: center; font-family: var(--nf-logo-font); font-weight: 700; font-size: 18px; color: var(--nf-strong); margin-inline-end: 6px; }
.nf-layout-two_tier.nf-scrolled .nf-top { height: 0; opacity: 0; border-color: transparent; }
.nf-layout-two_tier.nf-scrolled .nf-logo-mini { display: inline-flex; }

/* ----- Condense ----- */
.nf-sticky-condense.nf-scrolled:not(.nf-layout-two_tier) .nf-bar { height: calc(var(--nf-bar-h, 74px) - 16px); }
.nf-sticky-condense.nf-scrolled .nf-utility { height: 0; opacity: 0; }

/* ----- Transparent ----- */
.nf-sticky-transparent:not(.nf-scrolled) { background: transparent; border-bottom: 1px solid rgba(255,255,255,.18); }
.nf-sticky-transparent:not(.nf-scrolled) .nf-logo,
.nf-sticky-transparent:not(.nf-scrolled) .nf-item > a,
.nf-sticky-transparent:not(.nf-scrolled) .nf-burger span { color: #fff; }
.nf-sticky-transparent:not(.nf-scrolled) .nf-cta { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.nf-sticky-transparent.nf-scrolled { background: var(--nf-bg); }

/* ==========================================================================
   Mobile (driven by .nf-is-mobile on .nf-root)
   ========================================================================== */
.nf-root.nf-is-mobile .nf-desktop-nav { display: none; }
.nf-root.nf-is-mobile .nf-zone-end .nf-cta,
.nf-root.nf-is-mobile .nf-zone-end .nf-search,
.nf-root.nf-is-mobile .nf-zone-search,
.nf-root.nf-is-mobile .nf-top-right { display: none; }
.nf-root.nf-is-mobile .nf-burger { display: inline-flex; }
.nf-layout-two_tier.nf-is-mobile .nf-top { display: none; }
.nf-layout-two_tier.nf-is-mobile .nf-logo-mini { display: inline-flex; }
.nf-layout-two_tier.nf-is-mobile .nf-tier-end { margin-inline-start: auto; }

/* overlay + drawer */
.nf-overlay {
  position: fixed; inset: 0; background: rgba(10, 16, 27, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 1100;
}
.nf-overlay.is-open { opacity: 1; visibility: visible; }
.nf-drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%;
  width: min(380px, 88vw);
  background: var(--nf-drawer-bg, var(--nf-bg, #fff));
  color: var(--nf-drawer-text, var(--nf-strong, #111));
  z-index: 1110;
  padding: 20px 18px 28px;
  transform: translateX(100%);
  transition: transform .34s var(--nf-ease);
  overflow-y: auto;
  box-shadow: -24px 0 60px rgba(10, 16, 27, .32);
}
[dir="rtl"] .nf-drawer { transform: translateX(-100%); }
.nf-drawer.is-open { transform: translateX(0); }
.nf-drawer ul, .nf-drawer ol { list-style: none; margin: 0; padding: 0; }
.nf-drawer li { margin: 0; }
.nf-drawer a { color: inherit; text-decoration: none; }

.nf-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 18px; margin-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.nf-drawer-head .nf-logo { color: inherit; font-size: 20px; }
.nf-close { width: 40px; height: 40px; background: transparent; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: var(--nf-radius, 10px); color: inherit; cursor: pointer; font-size: 24px; line-height: 1; display: grid; place-items: center; padding: 0; appearance: none; -webkit-appearance: none; box-shadow: none; transition: background .2s, border-color .2s, color .2s; }
.nf-close:hover { border-color: var(--nf-accent); color: var(--nf-accent); }
.nf-drawer-search { margin: 14px 6px 6px; }
.nf-drawer-search .nf-search { max-width: none; }
.nf-drawer .nf-cta { display: block; text-align: center; margin: 22px 6px 0; }

/* drawer accordion (polished) */
.nf-drawer-nav { margin-top: 4px; }
.nf-acc-item { border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.nf-acc-item:last-child { border-bottom: 0; }
.nf-acc-item > a,
.nf-acc {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 15px 8px; font-size: 15.5px; font-weight: 500; line-height: 1.3; text-align: start;
  color: inherit; background: transparent; border: none; cursor: pointer; font-family: inherit;
  border-radius: 10px; transition: background .18s, color .18s;
}
.nf-acc-item > a:hover,
.nf-acc:hover { background: color-mix(in srgb, var(--nf-accent) 8%, transparent); color: var(--nf-accent); }
.nf-acc .nf-caret { flex: 0 0 auto; opacity: .55; transform: rotate(45deg); transition: transform .3s var(--nf-ease); }
.nf-acc[aria-expanded="true"] { color: var(--nf-accent); }
.nf-acc[aria-expanded="true"] .nf-caret { transform: rotate(225deg); opacity: 1; }
.nf-acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--nf-ease); }
.nf-acc-panel > .nf-acc-list {
  margin: 2px 0 10px; padding-inline-start: 12px;
  border-inline-start: 2px solid color-mix(in srgb, var(--nf-accent) 30%, transparent);
}
.nf-acc-panel .nf-acc-item { border-bottom: 0; }
.nf-acc-panel a { font-size: 14px; font-weight: 400; padding: 10px 10px; color: inherit; opacity: .72; border-radius: 8px; }
.nf-acc-panel a:hover { opacity: 1; color: var(--nf-accent); background: color-mix(in srgb, var(--nf-accent) 7%, transparent); }

/* mobile mega / columns: labelled groups instead of deep nesting */
.nf-acc-cols { padding-inline-start: 12px; margin: 2px 0 10px; border-inline-start: 2px solid color-mix(in srgb, var(--nf-accent) 30%, transparent); }
.nf-acc-group { padding: 4px 0 8px; }
.nf-acc-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--nf-dd-heading, var(--nf-accent)); padding: 8px 10px 4px; }
.nf-acc-links li a { display: block; padding: 9px 10px; font-size: 14px; opacity: .78; border-radius: 8px; color: inherit; }
.nf-acc-links li a:hover { opacity: 1; color: var(--nf-accent); background: color-mix(in srgb, var(--nf-accent) 7%, transparent); }
.nf-acc-flat { display: block; padding: 11px 10px; font-size: 14.5px; font-weight: 500; border-radius: 8px; color: inherit; }
.nf-acc-flat:hover { color: var(--nf-accent); background: color-mix(in srgb, var(--nf-accent) 7%, transparent); }

/* slider */
.nf-drawer--slider { overflow: hidden; padding: 22px 0; }
.nf-drawer--slider .nf-drawer-head,
.nf-drawer--slider .nf-drawer-search,
.nf-drawer--slider .nf-cta { margin-inline: 22px; }
.nf-slider { position: relative; height: auto; }
.nf-spanel {
  position: absolute; top: 0; inset-inline: 0;
  transform: translateX(100%);
  transition: transform .3s var(--nf-ease);
  padding-inline: 22px;
}
[dir="rtl"] .nf-spanel { transform: translateX(-100%); }
.nf-spanel[data-nf-panel="root"] { position: relative; transform: none; }
.nf-spanel.is-shown { transform: translateX(0); }
.nf-srow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 15px 8px; font-size: 15.5px; font-weight: 500; line-height: 1.3; text-align: start;
  color: var(--nf-strong); background: transparent; border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--nf-strong) 9%, transparent);
  border-radius: 10px; cursor: pointer; font-family: inherit; transition: background .18s, color .18s;
}
.nf-srow:hover { background: color-mix(in srgb, var(--nf-accent) 8%, transparent); color: var(--nf-accent); }
.nf-srow .nf-caret { flex: 0 0 auto; opacity: .55; }
.nf-sback {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 8px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: .3px;
  color: var(--nf-accent); background: color-mix(in srgb, var(--nf-accent) 7%, transparent);
  border: none; border-radius: 10px; cursor: pointer; font-family: inherit;
}
.nf-caret-back { transform: rotate(135deg); }

/* ==========================================================================
   Accessibility
   ========================================================================== */
.nf-root :focus-visible,
.nf-drawer :focus-visible { outline: 2px solid var(--nf-accent, #4a90d9); outline-offset: 3px; border-radius: 3px; }
.nf-sticky-transparent:not(.nf-scrolled) :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .nf-root *, .nf-drawer *, .nf-overlay { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Floating mode (detached glass pill over a hero) + logo colour swap
   ========================================================================== */
.nf-sticky-floating { position: fixed; inset-inline: 0; top: 0; background: transparent;
  padding: var(--nf-fl-gap, 18px) var(--nf-fl-gap, 18px) 0; }
.nf-sticky-floating .nf-bar { height: auto; padding-inline: 0; }
.nf-sticky-floating .nf-bar-in {
  height: var(--nf-bar-h, 70px);
  max-width: 1340px;
  padding-inline: 18px;
  border: 1px solid transparent;
  border-radius: var(--nf-fl-radius, 18px);
  background: transparent;
  transition: background .35s var(--nf-ease), box-shadow .35s var(--nf-ease),
              border-color .35s var(--nf-ease), height .35s var(--nf-ease);
}
.nf-sticky-floating.nf-scrolled .nf-bar-in {
  background: color-mix(in srgb, var(--nf-fl-bg, #fff) var(--nf-fl-opacity, 82%), transparent);
  -webkit-backdrop-filter: saturate(180%) blur(var(--nf-fl-blur, 14px));
  backdrop-filter: saturate(180%) blur(var(--nf-fl-blur, 14px));
  box-shadow: 0 14px 40px rgba(22, 35, 43, .14);
  border-color: rgba(255, 255, 255, .55);
}
/* white text/logo while floating over the hero */
.nf-sticky-floating:not(.nf-scrolled) .nf-logo,
.nf-sticky-floating:not(.nf-scrolled) .nf-item > a,
.nf-sticky-floating:not(.nf-scrolled) .nf-burger span { color: #fff; }
.nf-sticky-floating:not(.nf-scrolled) .nf-burger { --nf-burger-border: rgba(255, 255, 255, .6); }
.nf-sticky-floating.nf-scrolled .nf-item > a { color: var(--nf-strong); }
.nf-sticky-floating.nf-scrolled .nf-item > a::after { background: var(--nf-hover, var(--nf-accent)); }
.nf-sticky-floating .nf-item > a::after { background: currentColor; }

/* logo dark/light swap (shared with transparent mode) */
.nf-logo-light { display: none; }
.nf-sticky-floating:not(.nf-scrolled) .nf-logo-dark,
.nf-sticky-transparent:not(.nf-scrolled) .nf-logo-dark { display: none; }
.nf-sticky-floating:not(.nf-scrolled) .nf-logo-light,
.nf-sticky-transparent:not(.nf-scrolled) .nf-logo-light { display: inline-block; }

/* co-brand subsidiary logo: same transparent/scrolled swap as the main logo */
.nf-cobrand-light { display: none; }
.nf-sticky-floating:not(.nf-scrolled) .nf-cobrand-dark,
.nf-sticky-transparent:not(.nf-scrolled) .nf-cobrand-dark { display: none; }
.nf-sticky-floating:not(.nf-scrolled) .nf-cobrand-light,
.nf-sticky-transparent:not(.nf-scrolled) .nf-cobrand-light { display: block; }

/* ==========================================================================
   Menu alignment (standard layout) + hover toggle
   ========================================================================== */
.nf-menu-start  .nf-zone-center { justify-content: flex-start; }
.nf-menu-center .nf-zone-center { justify-content: center; }
.nf-menu-end    .nf-zone-center { justify-content: flex-end; }

.nf-no-hover .nf-item > a::after { display: none; }
.nf-no-hover .nf-item > a:hover,
.nf-no-hover .nf-item:focus-within > a { color: var(--nf-hover, var(--nf-accent)); }
.nf-sticky-floating.nf-no-hover:not(.nf-scrolled) .nf-item > a:hover,
.nf-sticky-transparent.nf-no-hover:not(.nf-scrolled) .nf-item > a:hover { color: #fff; opacity: 1; }

/* ==========================================================================
   Premium mobile menu polish (applies to all drawers; refines Horizon)
   ========================================================================== */
/* defensive resets so themes can't re-add bullets / spacing */
.nf-drawer ul, .nf-drawer ol { list-style: none !important; margin: 0; padding: 0; }
.nf-drawer li { margin: 0; padding: 0; }
.nf-drawer li::before, .nf-drawer li::after { content: none !important; }
.nf-drawer a { text-decoration: none; }
.nf-drawer button { font-family: inherit; }

.nf-drawer { padding: 18px 16px 30px; }
.nf-drawer-head { padding: 6px 8px 16px; margin-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
.nf-drawer-head .nf-logo { font-size: 21px; }

/* roomier, more tappable rows */
.nf-acc-item > a,
.nf-acc { min-height: 52px; padding: 14px 12px; font-size: 16px; }
.nf-acc-item { border-bottom-color: color-mix(in srgb, currentColor 8%, transparent); }

/* clear tap affordance: chevron on top-level plain links */
.nf-drawer-nav > .nf-acc-list > .nf-acc-item > a { position: relative; }
.nf-drawer-nav > .nf-acc-list > .nf-acc-item > a::after {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); opacity: .32;
}
[dir="rtl"] .nf-drawer-nav > .nf-acc-list > .nf-acc-item > a::after { transform: rotate(135deg); }

/* staggered entrance when the drawer opens */
@keyframes nf-row-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item,
.nf-drawer.is-open .nf-slider .nf-spanel[data-nf-panel="root"] > * { animation: nf-row-in .34s var(--nf-ease) both; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(1) { animation-delay: .03s; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(2) { animation-delay: .06s; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(3) { animation-delay: .09s; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(4) { animation-delay: .12s; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(5) { animation-delay: .15s; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(6) { animation-delay: .18s; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(7) { animation-delay: .21s; }
.nf-drawer.is-open .nf-drawer-nav > .nf-acc-list > .nf-acc-item:nth-child(n+8) { animation-delay: .24s; }

/* close button: clearer hit + neutral */
.nf-close { width: 42px; height: 42px; }

/* ==========================================================================
   Strong overrides — beat stubborn theme styles on the mobile drawer.
   The Hover colour (--nf-hover) controls hover everywhere; falls back to accent.
   ========================================================================== */
.nf-drawer .nf-acc-item > a,
.nf-drawer .nf-acc,
.nf-drawer .nf-acc-flat,
.nf-drawer .nf-acc-links a,
.nf-drawer .nf-acc-panel a,
.nf-drawer .nf-srow {
  border: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background-color: transparent !important;
  color: inherit !important;
}
.nf-drawer .nf-srow { border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent) !important; }
.nf-drawer .nf-acc[aria-expanded="true"] { color: var(--nf-hover, var(--nf-accent)) !important; }
.nf-drawer .nf-acc-item > a:hover,
.nf-drawer .nf-acc:hover,
.nf-drawer .nf-acc-flat:hover,
.nf-drawer .nf-acc-links a:hover,
.nf-drawer .nf-acc-panel a:hover,
.nf-drawer .nf-srow:hover {
  color: var(--nf-hover, var(--nf-accent)) !important;
  background-color: color-mix(in srgb, var(--nf-hover, var(--nf-accent)) 9%, transparent) !important;
}

/* ==========================================================================
   Burger: enforce responsive visibility and neutralize theme button styling.
   The burger must NEVER show on desktop (above the breakpoint).
   ========================================================================== */
.nf-root:not(.nf-is-mobile) .nf-zone .nf-burger,
.nf-root:not(.nf-is-mobile) .nf-burger { display: none !important; }
.nf-root.nf-is-mobile .nf-zone .nf-burger,
.nf-root.nf-is-mobile .nf-burger { display: inline-flex !important; }
.nf-root.nf-is-mobile .nf-desktop-nav { display: none !important; }

.nf-burger {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid var(--nf-burger-border, var(--nf-border, rgba(128,128,128,.4))) !important;
}
