/* Dynamic header + admin-controlled mega menu */
.custom-site-disclosure{
  background:#0f172a;
  color:#e2e8f0;
  border-bottom:0;
  font-size:.82rem;
}
.custom-site-disclosure a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.custom-header{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(15,23,42,.08);
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.custom-header.scrolled{box-shadow:0 14px 36px rgba(15,23,42,.10)}
.custom-header-inner{
  display:grid;
  grid-template-columns:auto minmax(230px,390px) minmax(0,1fr) auto;
  gap:14px;
  min-height:66px;
  align-items:center;
}
.custom-brand{gap:10px;text-decoration:none;color:var(--text)}
.custom-brand .logo-img{height:42px;width:auto;object-fit:contain}
.custom-brand .brand-copy{display:grid;line-height:1.1}
.custom-brand .brand-copy strong{font-size:.98rem;letter-spacing:-.02em;color:#0f172a}
.custom-brand .brand-copy small{font-size:.72rem;color:#64748b;margin-top:2px}
.custom-header-search{
  margin:0;
  height:42px;
  max-width:none;
  border-radius:999px;
  background:#f8fafc;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.02);
}
.custom-header-search input{min-height:42px;padding:9px 14px;font-size:.9rem}
.custom-header-search button{min-height:42px;padding:8px 16px;border-radius:999px;margin:0;background:#132f4c}
.custom-nav{
  justify-content:flex-end;
  gap:4px;
  min-width:0;
}
.custom-nav-link,
.site-nav > .custom-mega-item > .custom-nav-link,
.site-nav > .custom-nav-link{
  min-height:40px;
  padding:0 10px;
  gap:6px;
  border-radius:999px;
  color:#334155;
  font-size:.9rem;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
}
.custom-nav-link:hover,
.custom-mega-item:hover > .custom-nav-link,
.custom-mega-item.open > .custom-nav-link{
  color:#0f172a;
  background:#f8fafc;
  border-color:#e2e8f0;
}
.custom-nav-link .nav-icon{font-size:.96rem;line-height:1}
.custom-nav-link em{
  font-style:normal;
  font-size:.65rem;
  padding:2px 6px;
  border-radius:999px;
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fed7aa;
}
.mega-caret{font-size:.78rem;color:#64748b;margin-left:1px}
.custom-mega-item{position:static}
.custom-nav{position:relative}
.custom-mega-menu,
.mega-menu.custom-mega-menu{
  display:block !important;
  position:absolute;
  right:0;
  top:calc(100% + 12px);
  width:min(940px,calc(100vw - 36px));
  min-width:0;
  padding:0;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 70px rgba(15,23,42,.16);
  z-index:10000;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
  overflow:hidden;
}
.custom-mega-item:hover > .custom-mega-menu,
.custom-mega-item:focus-within > .custom-mega-menu,
.custom-mega-item.open > .custom-mega-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}
.custom-mega-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:0;
  min-height:320px;
}
.custom-mega-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  gap:8px;
  padding:20px;
}
.mega-intro{
  grid-column:1/-1;
  display:grid;
  gap:3px;
  padding:14px 14px;
  border-radius:16px;
  background:linear-gradient(135deg,#f8fafc,#eef6ff);
  border:1px solid #e2e8f0;
}
.mega-intro strong{font-size:1rem;color:#0f172a}
.mega-intro span{font-size:.86rem;color:#64748b;line-height:1.45}
.mega-section-title{
  grid-column:1/-1;
  margin:8px 0 0;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.72rem;
  font-weight:900;
}
.custom-mega-link{
  display:grid !important;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:10px;
  align-items:flex-start;
  padding:11px;
  border:1px solid transparent;
  border-radius:16px;
  text-decoration:none;
  color:#0f172a !important;
  transition:.16s ease;
}
.custom-mega-link:hover{
  background:#f8fafc;
  border-color:#e2e8f0;
  transform:translateY(-1px);
}
.mega-link-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:900;
}
.mega-link-copy{min-width:0;display:grid;gap:3px}
.mega-link-copy strong{font-size:.92rem;line-height:1.25;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mega-link-copy small{font-size:.78rem;line-height:1.45;color:#64748b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.custom-mega-link b{
  align-self:start;
  font-size:.65rem;
  padding:3px 6px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
}
.custom-mega-promos{
  display:grid;
  gap:12px;
  align-content:start;
  padding:20px;
  background:linear-gradient(180deg,#f8fafc,#fff7ed);
  border-left:1px solid #e2e8f0;
}
.custom-mega-promo,
.custom-mega-empty-promo{
  display:grid;
  gap:8px;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e2e8f0;
  color:#0f172a;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}
.custom-mega-promo:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.10)}
.custom-mega-promo img{width:100%;max-height:110px;object-fit:cover;border-radius:14px;background:#f8fafc}
.custom-mega-promo span,
.custom-mega-empty-promo span{width:max-content;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;padding:4px 8px;border-radius:999px;background:#132f4c;color:#fff}
.custom-mega-promo strong,
.custom-mega-empty-promo strong{font-size:1rem;line-height:1.25}
.custom-mega-promo p,
.custom-mega-empty-promo p{margin:0;color:#64748b;font-size:.84rem;line-height:1.5}
.custom-mobile-toggle{display:none}
@media (max-width:1180px){
  .custom-header-inner{grid-template-columns:auto minmax(180px,300px) minmax(0,1fr) auto;gap:10px}
  .custom-brand .brand-copy small{display:none}
  .custom-nav-link,.site-nav > .custom-mega-item > .custom-nav-link,.site-nav > .custom-nav-link{font-size:.84rem;padding:0 8px}
}
@media (max-width:980px){
  .custom-header-inner{grid-template-columns:auto 1fr auto;min-height:62px}
  .custom-header-search{display:none}
  .custom-mobile-toggle{display:inline-flex}
  .custom-nav.site-nav{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:18px;
    box-shadow:0 24px 60px rgba(15,23,42,.14);
    z-index:10000;
  }
  .custom-nav.site-nav.open{display:flex}
  .custom-nav-link,.site-nav > .custom-mega-item > .custom-nav-link,.site-nav > .custom-nav-link{
    width:100%;
    justify-content:flex-start;
    min-height:44px;
    padding:0 12px;
    border-radius:14px;
    background:#f8fafc;
  }
  .custom-mega-menu,
  .mega-menu.custom-mega-menu,
  .custom-mega-item:hover > .custom-mega-menu{
    display:none !important;
    position:static !important;
    width:100% !important;
    min-width:0 !important;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
    margin-top:8px;
    box-shadow:none;
    border-radius:16px;
  }
  .custom-mega-item.open > .custom-mega-menu{display:block !important}
  .custom-mega-grid{grid-template-columns:1fr;min-height:0}
  .custom-mega-links{grid-template-columns:1fr;padding:12px;gap:6px}
  .custom-mega-promos{padding:12px;border-left:0;border-top:1px solid #e2e8f0;background:#f8fafc}
  .mega-link-copy strong{white-space:normal}
}
@media (max-width:560px){
  .custom-brand .brand-copy{display:none}
  .custom-brand .logo-img{height:38px}
  .custom-site-disclosure .site-disclosure-inner{font-size:.74rem;text-align:center}
}
