/* Omega megamenu — dark brand, AbbVie-style panels */
:root {
  --omega-mega-ink: var(--text, #f2f6f5);
  --omega-mega-muted: var(--text-muted, rgba(242, 246, 245, 0.64));
  --omega-mega-line: var(--line, rgba(242, 246, 245, 0.1));
  --omega-mega-bg: #0c1012;
  --omega-mega-accent: var(--brand-bright, #3ecfc0);
  --omega-mega-hover: rgba(62, 207, 192, 0.08);
}

.omega-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--omega-mega-top, 72px);
  z-index: 10050;
  background: transparent;
  color: var(--omega-mega-ink);
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding-inline: var(--pad-x, clamp(1.25rem, 4vw, 3.5rem));
}

.omega-mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.omega-mega__inner {
  width: 100%;
  max-width: var(--max, 1180px);
  margin: 0;
  padding: 28px clamp(1.25rem, 3vw, 2rem) 36px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  background: var(--omega-mega-bg);
  color: var(--omega-mega-ink);
  border: 1px solid var(--omega-mega-line);
  border-top: 1px solid var(--omega-mega-line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.omega-mega__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 0;
}

.omega-mega__cat {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 8px;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--omega-mega-line);
  background: transparent !important;
  color: var(--omega-mega-ink) !important;
  box-shadow: none !important;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

a.omega-mega__cat:hover,
a.omega-mega__cat:focus,
a.omega-mega__cat:focus-visible,
a.omega-mega__cat.is-active,
a.omega-mega__cat[aria-current="true"],
.omega-mega__cat:hover,
.omega-mega__cat:focus,
.omega-mega__cat:focus-visible,
.omega-mega__cat.is-active,
.omega-mega__cat[aria-selected="true"],
.omega-mega__cat[aria-current="true"] {
  background: var(--omega-mega-hover) !important;
  color: var(--omega-mega-ink) !important;
}

.omega-mega__cat svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.7;
  color: var(--omega-mega-accent);
}

.omega-mega__panels {
  padding-top: 8px;
  min-height: 180px;
}

.omega-mega__panel {
  display: none;
  animation: omegaMegaIn 180ms ease;
}

.omega-mega__panel.is-active {
  display: block;
}

@keyframes omegaMegaIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.omega-mega__panel-title {
  margin: 0 0 14px;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--omega-mega-ink);
  max-width: none;
}

.omega-mega__panel-copy {
  margin: 0 0 18px;
  max-width: 38rem;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--omega-mega-muted);
}

.omega-mega__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.omega-mega__links a.btn {
  text-decoration: none;
}

.omega-mega__links a.btn:hover {
  text-decoration: none;
}

.omega-mega-trigger.is-open > a {
  color: var(--text, #f2f6f5);
}

.omega-mega-trigger.is-open > a::after {
  transform: scaleX(1);
}

.omega-mega-trigger > a .chev {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  line-height: 0;
  opacity: 0.72;
  transition: transform 160ms ease, opacity 160ms ease;
}

.omega-mega-trigger > a .chev svg {
  display: block;
  width: 0.7em;
  height: 0.75em;
}

.omega-mega-trigger.is-open > a .chev {
  transform: rotate(180deg);
  opacity: 1;
}

@media (max-width: 960px) {
  .omega-mega {
    display: none !important;
  }

  .omega-mega-trigger {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .omega-mega-trigger > a {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
  }

  .nav-dropdown {
    list-style: none;
    margin: 0;
    padding: 0 0 0.5rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--line, rgba(242, 246, 245, 0.1));
  }

  .nav-dropdown[hidden] {
    display: none !important;
  }

  .nav-dropdown li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-dropdown a {
    display: block;
    width: 100%;
    padding: 0.55rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted, rgba(242, 246, 245, 0.64));
    text-decoration: none;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    color: var(--text, #f2f6f5);
  }

  .nav-dropdown a::after {
    display: none;
  }
}
