/*
  NameHippo Website Theme (ported): Header/Nav + Search Popup only.
  Globe/hero visuals intentionally excluded; current app's Galaxy hero remains.
  Images are NOT included - user will copy to public/assets/img/theme/.
*/

body.nh-theme {
  --nh-white: #ffffff;
  --nh-ink: #0b1220;
  --nh-muted: rgba(255,255,255,0.88);
  --nh-muted2: rgba(46,61,98,0.72);

  /* Theme palette (aligned to Namehippo-website/style.css) */
  --color-primary: #4776e6;
  --color-secondary: #8e54e9;
  --gradient-brand: linear-gradient(120deg, #4776e6, #8e54e9);
  --bg-page: #f8fafc;
  --bg-section: #f1f5f9;
  --text-body: #2e3d62;
  --text-muted: #5d6475;

  --nh-radius: 14px;
  --nh-radius-sm: 10px;
  --nh-shadow: 0 15px 30px rgba(0,0,0,.18);
  --nh-shadow-soft: 0 10px 20px rgba(0,0,0,.12);
}

/* Home wrapper: full-bleed sections (no global container) */
body.nh-theme .nh-home-wrap { padding: 0; margin: 0; }

/* Home: eliminate any perceived seam between sticky header and hero */
body.nh-theme.nh-home .nh-page { margin-top: 0 !important; }
body.nh-theme.nh-home .nh-page > .container { padding-top: 0 !important; }
body.nh-theme.nh-home .hero-wrapper { margin-top: 0 !important; }
body.nh-theme.nh-home #site-header { box-shadow: none !important; }

/* ===== Hero (keep Galaxy, match demo banner gradient) ===== */
.hero-wrapper {
  position: relative;
  background: var(--gradient-brand) !important;
}

/* Remove any gap between sticky header and banner */
body.nh-theme .main-header,
body.nh-theme header,
body.nh-theme #site-header { margin-bottom: 0 !important; }

/* Banner spacing tuned so it doesn't feel detached from the sticky header */
body.nh-theme .hero-wrapper { padding: 56px 0 36px !important; }
@media (min-width: 992px) {
  body.nh-theme .hero-wrapper { padding: 72px 0 44px !important; }
}

/* Extra overlay layer (mirrors demo's .home-banner-overlay feel) */
.nh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(142,84,233,0.32), rgba(71,118,230,0.32));
  pointer-events: none;
  z-index: 0;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  /* demo-like banner overlay: soft light + color depth */
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.14), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-wrapper .container { position: relative; z-index: 2; }

.hero-wrapper .hero-title {
  -webkit-text-fill-color: #fff;
  background: none;
  color: #fff;
}

.hero-wrapper .hero-copy .lead,
.hero-wrapper .hero-copy .text-muted,
.hero-wrapper .hero-copy .nh-hero-sub { color: rgba(255,255,255,0.86) !important; }

/* Keep Galaxy overlay text readable on dark glass */
.hero-wrapper .nh-galaxy-card .text-muted { color: rgba(255,255,255,0.78) !important; }

.hero-wrapper .nh-galaxy-card .badge {
  background: rgba(255,255,255,0.92) !important;
  color: #1f2a55 !important;
}

.hero-wrapper .btn.btn-dark {
  background: #1f1466;
  border-color: #1f1466;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.hero-wrapper .btn.btn-dark:hover {
  background: linear-gradient(135deg, #f30070 0%, #eb7e0a 100%);
  border-color: transparent;
  transform: translateY(-1px);
}

.hero-wrapper .btn.btn-outline-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.hero-wrapper .btn.btn-outline-dark:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.75);
  color: #fff;
}

/* Galaxy should sit directly on the banner without a heavy "box" */
.nh-galaxy-card {
  height: 450px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* Clip the galaxy canvas cleanly */
#hero-galaxy { border-radius: 18px; overflow: hidden; }

.nh-galaxy-card .badge { border-radius: 999px; }

/* hero waves (demo theme) */
.nh-hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  width: 100%;
  display: block;
  pointer-events: none;
  z-index: 3;
}

/* Proof strip should feel like part of the banner (no white bar) */
.hero-wrapper .trust-bar.nh-proofstrip {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(255,255,255,.18) !important;
  margin: 18px 0 0 !important;
}

.hero-wrapper .trust-bar.nh-proofstrip .trust-item {
  color: rgba(255,255,255,0.92) !important;
}

.hero-wrapper .trust-bar.nh-proofstrip .trust-item i {
  color: rgba(255,255,255,0.92) !important;
}

.nh-hero-waves .parallax > use {
  animation: nh-move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.nh-hero-waves .parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.nh-hero-waves .parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.nh-hero-waves .parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.nh-hero-waves .parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes nh-move-forever {
  0% { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* ===== Sold strip (cells) ===== */
.nh-trust-builders { background: transparent; }

.nh-trust-builders h2,
.nh-trust-builders .h4,
.nh-trust-builders .h3 { color: #1f2a55; }

.nh-trust-builders .text-muted { color: rgba(46,61,98,0.72) !important; }

.nh-hscroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.nh-hscroll::-webkit-scrollbar { height: 8px; }
.nh-hscroll::-webkit-scrollbar-thumb { background: rgba(46,61,98,0.18); border-radius: 999px; }

.nh-sold-card {
  scroll-snap-align: start;
  width: 320px;
  min-width: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(46,61,98,0.10);
}

.nh-sold-media {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.nh-sold-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.28) 100%);
}

.nh-sold-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: #1f2a55;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
}

.nh-sold-body { padding: 14px 14px 16px; }

.nh-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(46,61,98,0.12);
  background: rgba(71,118,230,0.06);
  color: #1f2a55;
  font-weight: 600;
}

/* ===== Testimonials (above footer) ===== */
.nh-testimonials {
  background: var(--bg-section);
}

/* ===== How it works + Trust cards ===== */
.nh-how-it-works { background: #ffffff; }

.nh-step-card {
  border-radius: 18px;
  border: 1px solid rgba(46,61,98,0.10);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  padding: 18px;
  height: 100%;
}

.nh-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(71,118,230,0.10);
  color: #1f2a55;
  font-size: 20px;
}

.nh-buyer-trust { background: var(--bg-section); }

.nh-trust-card {
  border-radius: 18px;
  border: 1px solid rgba(46,61,98,0.10);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  padding: 16px;
  height: 100%;
}

.nh-trust-ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(142,84,233,0.10);
  color: #1f2a55;
  font-size: 18px;
  margin-bottom: 10px;
}

.nh-testimonial-card {
  width: 360px;
  min-width: 360px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(46,61,98,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  padding: 16px;
}

.nh-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  background-color: rgba(46,61,98,0.06);
}

.nh-stars i { color: #f3c623; }

/* ===== Footer (premium + Atom-like structure) ===== */
.section_lg { padding: 80px 0; }

.footer-outer-container {
  /* Back to the original premium light surface (non-white) */
  background: linear-gradient(180deg, #f5f7fb 0%, #eef3ff 100%);
  border-top: 1px solid rgba(46,61,98,0.10);
}


.lower-footer {
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid rgba(46,61,98,0.12);
  color: var(--text-body);
}

.footer-outer-container,
.footer-outer-container p,
.footer-outer-container li {
  color: var(--text-body);
}

.footer-outer-container a { color: var(--text-body); }
.footer-outer-container a:hover { color: var(--color-primary); text-decoration: underline; }

/* Two-row footer: row1 brand strip, row2 5-column nav */
.footer-top {
  padding: 72px 0 28px;
}

.footer-brand {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  padding: 22px 0 56px;
  border-top: 1px solid rgba(46,61,98,0.10);
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 42px;
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-brand img {
  width: auto;
  max-width: 220px;
  height: auto;
  margin-left: -6px;
}

.footer-col h3 {
  font-weight: 800;
  font-size: 18px;
  margin: 0;
  color: #1f2a55;
  letter-spacing: 0.2px;
}

.footer-brand p {
  font-size: 15.6px;
  line-height: 1.75;
  color: rgba(31,42,85,0.82);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 7px 0; font-size: 16px; }

.footer-col li a {
  text-decoration: none;
}

.footer-col li a:hover {
  text-decoration: underline;
}

/* Trust chips */
.nh-footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.nh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(46,61,98,0.10);
  box-shadow: 0 10px 22px rgba(14,30,57,0.06);
  font-size: 13.5px;
  font-weight: 700;
  color: #1f2a55;
}

.footer-col .social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-col .social-icons a {
  background: rgba(255,255,255,0.92);
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(46,61,98,0.12);
  box-shadow: 0 16px 34px rgba(14,30,57,0.10);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.footer-col .social-icons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(14,30,57,0.14);
  border-color: rgba(74,88,234,0.35);
}

.footer-col .social-icons span {
  font-size: 18px;
  color: #23126a;
}

@media (max-width: 992px) {
  .section_lg { padding: 60px 0; }
  .footer-top { padding: 58px 0 22px; }
  .footer-links { grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 28px; }
}

@media (max-width: 576px) {
  .section_lg { padding: 44px 0; }
  .footer-top { padding: 44px 0 18px; }
  .footer-links { grid-template-columns: 1fr; padding: 18px 0 44px; }
  .footer-brand img { max-width: 190px; }
}

.footer-col .social-icons span { font-size: 1.35rem; color: #23126a; }

/* Keep grid responsive without conflicting overrides */

/* ===== Header (theme structure) ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gradient-brand);
  color: var(--nh-white);
}

#site-header a { color: var(--nh-white); text-decoration: none; }
#site-header a:hover { text-decoration: underline; }

.header-inner { position: relative; }

.upper-header {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.22);
  gap: 10px;
}

.social-icons { display:flex; gap: 12px; align-items:center; }
.social-icons .fa-brands { font-size: 16px; opacity: .92; }
.social-icons a:hover .fa-brands { opacity: 1; }

.search-favt { display:flex; align-items:center; gap: 10px; }

.nh-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: var(--nh-white);
  text-decoration: none;
}

.nh-logo-img{
  height: 28px;
  width: auto;
  display:block;
}

.nh-domain-sublead{
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.nh-prose{
  font-size: 15px;
  line-height: 1.8;
  color: rgba(46,61,98,0.9);
}

.nh-price-pill{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(71,118,230,0.10);
  border: 1px solid rgba(46,61,98,0.12);
  font-weight: 800;
  font-size: 13px;
}

.nh-similar-card{ width: 280px; flex: 0 0 auto; overflow:hidden; }
.nh-similar-card__img{ height: 148px; background: #eef0f7; display:flex; align-items:center; justify-content:center; }
.nh-similar-card__img img{ width:100%; height:100%; object-fit:cover; display:block; }

.nh-chip--c1{ background: rgba(71,118,230,0.12); }
.nh-chip--c2{ background: rgba(142,84,233,0.12); }
.nh-chip--c3{ background: rgba(0,200,170,0.12); }
.nh-chip--c4{ background: rgba(255,180,0,0.12); }
.nh-chip--c5{ background: rgba(255,80,150,0.12); }
.nh-chip--c6{ background: rgba(0,130,255,0.12); }
.nh-kw-chip{ background: rgba(46,61,98,0.06); }

.nh-icon-btn:hover {
  background: rgba(255,255,255,.16);
  text-decoration: none;
}

.nh-icon-btn span { font-size: 16px; }

/* Explore mega dropdown (keep Explore as navigable link, caret opens menu)
   Fixes:
   - Text was inheriting white-on-white inside dropdown items.
   - Explore link was not aligned with other nav links (appeared "above" the menu).
*/
.nh-nav-explore-link{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  color:#fff;
  margin:0 2px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.nh-nav-explore-link:hover{
  text-decoration:none;
  background:rgba(255,255,255,.14);
}
.nh-nav-explore-caret{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:10px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);cursor:pointer}
.nh-nav-explore-caret::after{content:"\25BE";display:inline-block;font-size:12px;line-height:1;color:#fff;opacity:.95}
.nh-mega{border-radius:18px;border:1px solid rgba(15,23,42,.12);background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(12px);box-shadow:0 24px 60px rgba(2,6,23,.22);overflow:hidden}
.nh-mega{z-index:2000}
.lower-header .navigation,.lower-header nav,.lower-header ul{overflow:visible}
.nh-nav-explore-caret{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}
.nh-nav-explore-caret::after{content:"\25BE";font-size:12px;line-height:1;color:#fff;opacity:.9}
.nh-nav-dropdown.show .nh-nav-explore-caret::after{transform:rotate(180deg)}
.nh-mega .text-muted{color:rgba(15,23,42,.55)!important}
.nh-mega .dropdown-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-radius:12px;
  transition:background .12s ease,color .12s ease;
  color:#0f172a!important; /* ensure readable on white menu */
}
.nh-mega .dropdown-item:hover{background:rgba(99,102,241,.10);color:#0b1220!important}
.nh-mega .dropdown-item:active{background:rgba(99,102,241,.16);color:#0b1220!important}
.nh-mega .dropdown-item:focus{outline:none;box-shadow:0 0 0 3px rgba(99,102,241,.18)}
.nh-mega .dropdown-divider{opacity:.12}
.nh-mega-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:20px;border-radius:999px;background:rgba(2,6,23,.06);font-size:12px;font-weight:800;padding:0 8px}

/* Mega dropdown: clamp long labels + keep counts aligned */
.nh-mega .dropdown-item{display:flex;align-items:center;gap:10px;}
.nh-mega-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.nh-mega-count{flex:0 0 auto;}
.nh-mega .btn{border-radius:14px}

.nh-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff3c8a;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.20);
}

.nh-notif-dd { position: relative; }
.nh-notif-dd .nh-icon-btn { position: relative; }

.lower-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 12px;
}

.logo { display:flex; align-items:center; }

.nh-logo-text {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 20px;
  line-height: 1;
}

.nh-logo-link:hover { text-decoration: none; }

/* Bootstrap collapse + theme nav styling */
.nh-nav-toggler {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  padding: 6px 10px;
}

.nh-nav-toggler .navbar-toggler-icon {
  filter: invert(1);
}

.navigation.tj-menu-area {
  display: flex;
  align-items: center;
}

.tj-menu-area ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  position: relative;
  gap: 6px;
}

.tj-menu-area .nav-link > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  margin: 0 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.tj-menu-area .nav-link > a:hover {
  text-decoration: none;
  background: rgba(255,255,255,.14);
}

/* Dropdown menu (future-ready; safe if unused) */
.tj-menu-area .has-dropdown:hover .sub-menu { opacity: 1; visibility: visible; }
.tj-menu-area li .sub-menu {
  text-align: left;
  margin: 0;
  list-style: none;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  z-index: 9;
  left: 0;
  top: 140%;
  transition: 0.25s;
  background: #fff;
  padding: 10px;
  width: 220px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: var(--nh-shadow);
}
.tj-menu-area li .sub-menu a { color: #2e3d62; padding: 8px 10px; border-radius: 10px; }
.tj-menu-area li .sub-menu a:hover { background: rgba(46,61,98,.08); text-decoration: none; }

/* ===== Search Popup ===== */
/* ===== Inline Header Slide Search (replaces any popup/drawer) ===== */
.right-upper-header,
.search-favt { position: relative; }

.nh-header-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(12px);
  width: 0;
  opacity: 0;
  pointer-events: none;
  transition: width .28s ease, opacity .18s ease, transform .28s ease;
  z-index: 6;
}

body.nh-search-open .nh-header-search {
  width: min(560px, 78vw);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

body.nh-search-open .search-favt > :not(.nh-header-search) {
  opacity: 0;
  pointer-events: none;
}

.nh-header-search__form {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 6px 10px 6px 12px;
  backdrop-filter: blur(10px);
}

.nh-header-search__ic {
  color: rgba(255,255,255,.92);
  font-size: 14px;
  margin-left: 2px;
}

.nh-header-search__form .form-control {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  height: 38px;
  padding: 0 6px;
  box-shadow: none !important;
}

.nh-header-search__form .form-control::placeholder { color: rgba(255,255,255,.78); }
.nh-header-search__form .form-control:focus { outline: none; box-shadow: none; }

.nh-header-search__close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 22px;
  line-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nh-header-search__close:hover { background: rgba(255,255,255,.16); }

.nh-header-search__dd {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 100%;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(46,61,98,0.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
}

.nh-header-search__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  text-decoration: none;
  color: #1f2a55;
  border-bottom: 1px solid rgba(46,61,98,0.08);
}

/* Header has a global rule: #site-header a { color: #fff; }
   Ensure dropdown items render dark text on the white dropdown. */
#site-header .nh-header-search__dd a.nh-header-search__item,
#site-header .nh-header-search__dd a.nh-header-search__item:visited {
  color: #1f2a55 !important;
}
#site-header .nh-header-search__dd .nh-header-search__name {
  color: inherit !important;
}
.nh-header-search__item:last-child { border-bottom: 0; }
.nh-header-search__item:hover { background: rgba(71,118,230,0.06); text-decoration: none; }
.nh-header-search__name { font-weight: 800; }
.nh-header-search__price { font-weight: 800; color: rgba(46,61,98,0.72); }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .upper-header { flex-wrap: wrap; }
  .lower-header { flex-wrap: wrap; }
  .navigation.tj-menu-area { width: 100%; }
  .tj-menu-area ul { flex-direction: column; width: 100%; padding: 8px 0; }
  .tj-menu-area .nav-link > a { width: 100%; justify-content: flex-start; border-radius: 12px; }
}

/* Desktop nav must live on the RIGHT and never drop to the next line */
@media (min-width: 992px) {
  .nh-nav-toggler { display: none !important; }
  #nhNav { display: flex !important; flex: 1 1 auto; justify-content: flex-end; }
  .navigation.tj-menu-area { flex: 1 1 auto; justify-content: flex-end; }
  .tj-menu-area ul { flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; }
}

/* ------------------------------
   PATCH v5: Theme parity fixes (header-banner continuity + drawer search + premium cards/forms)
   Keeps Galaxy hero, no globe.
------------------------------ */

:root{
  --gradient-brand: linear-gradient(90deg, #4c77e6 0%, #7b5de6 45%, #8f58e9 100%);
}

/* Ensure no unexpected gap between sticky header and hero */
#site-header{ margin-bottom:0!important; }

.nh-page{ padding-top:0; }

/* Hero should be full-width and share header gradient */
.hero-wrapper{
  position:relative;
  background: var(--gradient-brand) !important;
  overflow:hidden;
  padding: 28px 0 0 0;
}
.hero-wrapper .home-banner-overlay,
.hero-wrapper .nh-hero-overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(900px 420px at 25% 35%, rgba(255,255,255,0.16), transparent 55%),
              radial-gradient(700px 360px at 70% 45%, rgba(0,0,0,0.10), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18));
  pointer-events:none;
  z-index:1;
}
.hero-wrapper .container{ position:relative; z-index:2; }

/* Waves animation reliability */
.nh-hero-waves{
  position:absolute;
  left:0; right:0;
  bottom:-2px;
  width:100%;
  height:110px;
  z-index:3;
  pointer-events:none;
}
.nh-hero-waves .parallax > use{
  animation: nh-move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
@keyframes nh-move-forever{
  0%{ transform:translate3d(-90px,0,0); }
  100%{ transform:translate3d(85px,0,0); }
}

/* Proof strip should feel like part of banner */
.nh-proofstrip{
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.nh-proofstrip .proof-item{ color: rgba(255,255,255,0.92) !important; }
.nh-proofstrip .proof-item i{ color: rgba(255,255,255,0.92) !important; }

/* Hero copy colors */
.hero-wrapper h1,
.hero-wrapper .hero-title{ color:#fff !important; }
.hero-wrapper p,
.hero-wrapper .hero-subtitle{ color: rgba(255,255,255,0.90) !important; }

/* Remove “box behind galaxy” */
.nh-galaxy-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Search drawer */
.nh-search-drawer{ position:fixed; inset:0; z-index:3000; display:none; }
.nh-search-drawer[aria-hidden="false"]{ display:block; }
.nh-search-drawer__backdrop{
  position:absolute; inset:0;
  background: rgba(2,6,23,0.55);
  backdrop-filter: blur(8px);
}
.nh-search-drawer__panel{
  position:absolute;
  top: 18px; left:50%; transform:translateX(-50%);
  width:min(920px, calc(100% - 24px));
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  padding: 16px;
}
.nh-search-drawer__head{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:12px; }
.nh-search-drawer__close{
  width:40px; height:40px;
  border-radius:999px;
  border:1px solid rgba(46,61,98,0.16);
  background:#fff;
}
.nh-search-drawer__form{ display:flex; gap:10px; }
.nh-search-drawer__inputwrap{ position:relative; flex:1; }
.nh-search-drawer__inputwrap i{
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  color: rgba(46,61,98,0.55);
}
.nh-search-drawer__inputwrap input{
  padding-left: 44px;
  border-radius: 999px !important;
  border: 1px solid rgba(46,61,98,0.16) !important;
}
.nh-search-drawer__chips{ margin-top: 10px; }
.nh-chip{
  display:inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46,61,98,0.14);
  background: rgba(71,118,230,0.08);
  font-weight: 600;
  margin-right: 6px;
  cursor:pointer;
}

/* Lock scroll when drawer open */
.nh-lock{ overflow:hidden !important; }

/* Premium forms */
body.nh-theme .form-control,
body.nh-theme .form-select{
  border-radius: 14px;
  border: 1px solid rgba(46,61,98,0.16);
  padding: 12px 14px;
  box-shadow: none;
}
body.nh-theme .form-control:focus,
body.nh-theme .form-select:focus{
  border-color: rgba(142,84,233,0.55);
  box-shadow: 0 0 0 4px rgba(142,84,233,0.18);
}

/* Premium cards (domain cards / generic cards) */
body.nh-theme .domain-card,
body.nh-theme .nh-domain-card,
body.nh-theme .card{
  border-radius: 18px;
  border: 1px solid rgba(46,61,98,0.12);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
body.nh-theme .domain-card:hover,
body.nh-theme .nh-domain-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
  border-color: rgba(142,84,233,0.25);
}

/* Domain card overlays (verified tick + heart on media) */
body.nh-theme .nh-card-media{ position: relative; }
body.nh-theme .nh-card-badges{ position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; z-index: 4; }
body.nh-theme .nh-card-actions{ position: absolute; top: 10px; right: 10px; z-index: 4; }
body.nh-theme .nh-verified-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(46,61,98,0.14);
  font-size: 12px;
  font-weight: 700;
  color: #1b2550;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}
body.nh-theme .nh-verified-pill i{ color: #18a058; }
body.nh-theme .nh-like-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(46,61,98,0.14);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  transition: transform .16s ease, box-shadow .16s ease;
}
body.nh-theme .nh-like-btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,0.14); }

/* Autocomplete dropdown in drawer: cleaner */
.nh-search-drawer .list-group{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(46,61,98,0.12);
}
.nh-search-drawer .list-group-item{
  border: none;
  padding: 12px 14px;
}

.nh-search-drawer .list-group{max-height:320px; overflow:auto;}


/* ===== v6 layout fixes (container restore + full-bleed hero) ===== */
.nh-fullbleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Search drawer: force overlay behavior (prevents in-flow rendering) */
.nh-search-drawer, #nhSearchDrawer{
  position: fixed !important;
  inset: 0 !important;
  z-index: 3000 !important;
  display: none !important;
}
.nh-search-drawer.is-open{ display:block !important; }
.nh-search-drawer__panel{
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.nh-search-drawer.is-open .nh-search-drawer__panel{
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Premium page rhythm for inner pages */
.nh-page > .container{ padding-top: 22px; }

/* Global premium cards/forms on buyer pages */
body.nh-theme main.nh-page .card,
body.nh-theme main.nh-page .domain-card,
body.nh-theme main.nh-page .nh-domain-card{
  border-radius: 18px;
  border: 1px solid rgba(46,61,98,0.12);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
body.nh-theme main.nh-page .card:hover,
body.nh-theme main.nh-page .domain-card:hover,
body.nh-theme main.nh-page .nh-domain-card:hover{
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

body.nh-theme main.nh-page .form-control,
body.nh-theme main.nh-page .form-select{
  border-radius: 14px;
  border: 1px solid rgba(46,61,98,0.16);
  padding: 12px 14px;
}
body.nh-theme main.nh-page .form-control:focus,
body.nh-theme main.nh-page .form-select:focus{
  border-color: rgba(142,84,233,0.55);
  box-shadow: 0 0 0 4px rgba(142,84,233,0.18);
}

body.nh-theme{ overflow-x:hidden; }

/* HARD OVERRIDE: ensure search drawer never renders in normal page flow (some pages had legacy CSS) */
#nhSearchDrawer{
  position: fixed !important;
  inset: 0 !important;
  z-index: 3000 !important;
}
#nhSearchDrawer[aria-hidden="true"]{ display: none !important; }
#nhSearchDrawer[aria-hidden="false"]{ display: block !important; }


/* ------------------------------
   PATCH v8: Header slide-search + domain detail parity (Letsyo-style)
------------------------------ */

/* Home: hero should start immediately under sticky header */
body.nh-theme.nh-home .hero-wrapper{ padding-top: 0 !important; }

/* Avoid any “seam” created by wrapper padding */
body.nh-theme.nh-home .nh-home-wrap{ padding-top: 0 !important; }

/* Domain detail page */
.nh-domain-hero{
  background: linear-gradient(180deg, rgba(71,118,230,0.06), rgba(142,84,233,0.02));
  padding: 32px 0 22px;
  border-bottom: 1px solid rgba(46,61,98,0.10);
}

.nh-domain-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #101a3a;
}

.nh-domain-preview{
  border-radius: 22px;
  border: 1px solid rgba(46,61,98,0.10);
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,0.10);
  overflow: hidden;
}

.nh-domain-preview__media{
  position: relative;
  background: #f8fafc;
}

.nh-domain-preview__media img{ width: 100%; height: auto; display:block; }

.nh-domain-preview__meta{ padding: 16px 18px 18px; }

.nh-inline-badges{ display:flex; flex-wrap:wrap; gap: 8px; }

.nh-pill-soft{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(71,118,230,0.08);
  border: 1px solid rgba(46,61,98,0.10);
  color: #1f2a55;
  font-weight: 700;
  font-size: 12px;
}

.nh-buybox{
  border-radius: 22px;
  border: 1px solid rgba(46,61,98,0.10);
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,0.10);
  padding: 18px;
}

.nh-buybox .nh-price{
  font-weight: 900;
  font-size: 30px;
  color: #101a3a;
}

.nh-buybox .btn{ border-radius: 14px; font-weight: 800; }

.nh-buybox__list{ margin: 14px 0 0; padding: 0; list-style: none; }
.nh-buybox__list li{ display:flex; gap: 10px; align-items:flex-start; padding: 8px 0; color: rgba(46,61,98,0.86); }
.nh-buybox__list i{ margin-top: 3px; color: #2a3cff; }

@media (min-width: 992px){
  .nh-sticky{ position: sticky; top: 96px; }
}

/* Premium form styling across inner pages */
body.nh-theme .form-control,
body.nh-theme .form-select{
  border-radius: 14px;
  border: 1px solid rgba(46,61,98,0.14);
  padding: 12px 14px;
}

body.nh-theme .form-control:focus,
body.nh-theme .form-select:focus{
  border-color: rgba(71,118,230,0.55);
  box-shadow: 0 0 0 0.25rem rgba(71,118,230,0.12);
}

body.nh-theme .card{
  border-radius: 18px;
  border: 1px solid rgba(46,61,98,0.10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}


/* Ensure header action area is positioning context for slide-search */
.search-favt, .nh-header-actions { position: relative; }

/* Domain detail: full-bleed hero surface (match header/banner gradient) */
.nh-domain-hero{
  margin-top: 0 !important;
  padding-top: 22px;
  padding-bottom: 26px;
  background: linear-gradient(180deg, rgba(71,118,230,0.11) 0%, rgba(142,84,233,0.06) 40%, rgba(255,255,255,1) 100%);
  position: relative;
  overflow: hidden;
}
.nh-domain-hero:before{
  content:"";
  position:absolute;
  inset:-120px -120px auto -120px;
  height: 420px;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.18), rgba(255,255,255,0) 70%),
    radial-gradient(closest-side, rgba(32,201,151,.18), rgba(32,201,151,0) 72%);
  filter: blur(10px);
  pointer-events:none;
}
.nh-domain-hero > .container{ position: relative; z-index: 1; }
.nh-domain-hero .breadcrumb a{ color: rgba(27,37,80,.78); }
.nh-domain-hero .breadcrumb-item.active{ color: rgba(27,37,80,.72); }
.nh-domain-title{ color:#1b2550; }
.nh-domain-hero .text-muted{ color: rgba(27,37,80,.72) !important; }
.nh-domain-hero .nh-pill-soft{
  background: rgba(71,118,230,.08);
  border-color: rgba(46,61,98,.12);
  color: rgba(27,37,80,.92);
}

/* Insight score bars */
.nh-insight-metrics{ display:grid; gap:12px; }
.nh-metric{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.nh-metric__label{ font-weight:700; color:#1b2550; font-size:13px; min-width:140px; }
.nh-metric__track{ flex:1; height:10px; border-radius:999px; background: rgba(46,61,98,.12); overflow:hidden; }
.nh-metric__fill{ height:100%; border-radius:999px; background: linear-gradient(90deg,#20c997 0%, #4b7df0 55%, #8e54e9 100%); }
.nh-metric__val{ font-weight:800; color:#1b2550; font-size:13px; min-width:34px; text-align:right; }

/* Secondary category multi-color tags */
.nh-tag-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.nh-tag-pill{
  padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700;
  border:1px solid rgba(46,61,98,.10);
  background: rgba(75,125,240,.10);
  color:#1b2550;
}
.nh-tag-pill:nth-child(3n+2){ background: rgba(142,84,233,.10); }
.nh-tag-pill:nth-child(3n){ background: rgba(32,201,151,.12); }

/* Similar domains horizontal scroller */
.nh-hscroll{ display:flex; gap:14px; overflow:auto; padding-bottom:8px; scroll-snap-type:x mandatory; }
.nh-hscroll::-webkit-scrollbar{ height:8px; }
.nh-hscroll::-webkit-scrollbar-thumb{ background: rgba(46,61,98,.20); border-radius:999px; }

/* Hide horizontal scrollbar (keep arrow buttons + drag). */
.nh-hscroll{ scrollbar-width: none; -ms-overflow-style: none; }
.nh-hscroll::-webkit-scrollbar{ width:0 !important; height:0 !important; display:none; }
.nh-similar-card{ min-width:260px; scroll-snap-align:start; }

.upper-header, .lower-header { background: transparent !important; }

/* === Premium Domain Detail (v3) === */
.nh-domain-detail .nh-domain-hero{
  background: radial-gradient(1200px 600px at 20% 10%, rgba(67,115,255,.20), transparent 60%),
              radial-gradient(900px 500px at 80% 40%, rgba(152,89,255,.20), transparent 62%),
              linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.0));
}
.nh-domain-detail .nh-domain-shell{
  padding: 28px 0 18px;
}
.nh-domain-detail .nh-domain-shell .card,
.nh-domain-detail .nh-buybox,
.nh-domain-detail .nh-domain-preview{
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 48px rgba(16,24,40,.10);
  border-radius: 20px;
}
.nh-domain-detail .nh-buybox{
  position: sticky;
  top: 18px;
}
.nh-domain-detail .nh-badges .badge{
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
}
.nh-domain-detail .nh-mock-frame{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.12);
  box-shadow: 0 20px 60px rgba(16,24,40,.12);
}
.nh-domain-detail .nh-progress{
  height: 10px;
  background: rgba(15,23,42,.08);
}
.nh-domain-detail .nh-progress > span{
  border-radius: 999px;
}

/* Steps */
.nh-step-card{
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
}
.nh-step-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(79,70,229,.10);
  color: rgba(79,70,229,1);
}

/* Similar scroller */
.nh-scroll{
  position: relative;
}
.nh-scroll__track{
  display:flex;
  gap: 16px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 44px 14px;
  -webkit-overflow-scrolling: touch;
}
.nh-scroll__track::-webkit-scrollbar{ height: 0; }
.nh-scroll__track{ scrollbar-width: none; }
.nh-scroll__track.is-dragging{ cursor: grabbing; }

.nh-scroll__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 24px rgba(16,24,40,.12);
  z-index: 4;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nh-scroll__btn[data-nh-scroll="left"]{ left: 8px; }
.nh-scroll__btn[data-nh-scroll="right"]{ right: 8px; }
.nh-scroll__btn.is-disabled{ opacity: .45; }

.nh-sim-card{
  width: 280px;
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 42px rgba(16,24,40,.10);
  overflow: hidden;
}
.nh-sim-card__media{
  position: relative;
  height: 160px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(243,244,246,.78));
}
.nh-sim-card__media img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 16px;
}
.nh-sim-card__media img.is-mock{
  object-fit: cover;
  width: 100%;
  height: 100%;
  padding: 0;
}
.nh-sim-card__actions{
  position: absolute;
  top: 10px;
  right: 10px;
  display:flex;
  gap: 8px;
  z-index: 5;
}
.nh-icon-bubble{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nh-icon-bubble:hover{ background: rgba(255,255,255,1); }
.nh-icon-bubble.is-active{
  background: rgba(59,130,246,.12);
  border-color: rgba(59,130,246,.35);
}
.nh-sim-card__body{
  padding: 12px 14px 14px;
}
.nh-sim-card__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.nh-sim-card__name{
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 185px;
}
.nh-sim-card__meta{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(15,23,42,.62);
}
.nh-price-pill{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.92);
  white-space: nowrap;
}

.nh-icon-bubble.active{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.28); }
.nh-icon-bubble.active i{ color: rgba(239,68,68,1); }

/* =========================================================
   SAFE MOBILE OVERFLOW FIX (does not touch desktop/tablet layout)
   ========================================================= */
@media (max-width: 576px) {
  /* Prefer clip; fallback to hidden */
  html, body { overflow-x: hidden; }
  @supports (overflow: clip) {
    html, body { overflow-x: clip; }
  }

  /* The classic 100vw full-bleed trick can cause 1–12px overflow on mobiles due to rounding.
     Keep fullbleed look but prevent drift by capping width. */
  .nh-fullbleed {
    max-width: 100% !important;   /* does NOT remove fullbleed margins */
  }
}
/* =========================================================
   FOOTER MOBILE PADDING ONLY (no desktop/tablet impact)
   ========================================================= */
@media (max-width: 576px) {
  #footer .footer-top.container,
  #footer .footer-links.container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* make sure footer grid aligns left */
  #footer .footer-links {
    justify-items: start;
  }
}


/* =========================================================
   NH HOTFIX: Mobile footer grid + overflow + widget spacing
   (Safe overrides; does NOT change desktop/tablet layout)
   ========================================================= */
@media (max-width: 576px) {
  html, body { overflow-x: hidden; }
  @supports (overflow: clip) { html, body { overflow-x: clip; } }

  /* Prevent 100vw fullbleed rounding overflow on mobile */
  .nh-fullbleed { max-width: 100% !important; }

  /* Footer: compact 2-column grid on mobile */
  #footer .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    padding: 18px 16px 120px !important; /* space for chat bubble */
    justify-items: start !important;
  }
  #footer .footer-top { padding-left: 16px !important; padding-right: 16px !important; }
  #footer .footer-links.container { padding-left: 16px !important; padding-right: 16px !important; }

  #footer .footer-col h3 { font-size: 16px !important; }
  #footer .footer-col li { padding: 6px 0 !important; font-size: 15px !important; }

  /* Make long links wrap (prevents overflow) */
  #footer .footer-col a { overflow-wrap: anywhere; word-break: break-word; }
}


/* Premium Explore dropdown (Atom-like compact) */
.nh-nav-dropdown .dropdown-menu{
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.nh-nav-dropdown .dropdown-item{
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
}
.nh-nav-dropdown .dropdown-item:hover{
  background: rgba(120,120,255,.12);
}

/* === PHASE8: Mega dropdown polish + readability === */
.nh-mega-dropdown{ z-index: 9999; }
.nh-mega-dropdown .nh-mega-hub{
  color: #0f172a !important;
  text-decoration: none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:12px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nh-mega-dropdown .nh-mega-hub:hover{
  background: rgba(99,102,241,.10);
  transform: translateY(-1px);
}
.nh-mega-dropdown .nh-mega-hub .text-muted{ color:#64748b !important; }
.nh-mega-dropdown .nh-mega-hub .count{ color:#111827 !important; background: rgba(15,23,42,.06) !important; }
.nh-mega-dropdown .nh-mega-hub:focus-visible{ outline:2px solid rgba(99,102,241,.55); outline-offset:2px; }

.navbar .nav-link.dropdown-toggle.show{ position:relative; z-index:10000; }

@media (max-width: 992px){
  .nh-mega-dropdown{ width: min(94vw, 980px); left: 50% !important; transform: translateX(-50%) !important; }
}
