.od1-nav {
  --nav-height: 64px;
  --glass-bg: rgba(0, 0, 0, 0.78);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 20px 50px rgba(0,0,0,0.6);

  width: 100%;
  z-index: 1000000;
}

.od1-nav--fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.od1-nav--fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.od1-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm, var(--glass-shadow));
}

.od1-nav__inner > * {
  margin: 0;
}

.od1-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.od1-nav__toggle:hover {
  background: rgba(255,255,255,0.14);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.od1-nav__toggle:focus-visible {
  outline: 2px solid var(--accent-color, #fff);
  outline-offset: 3px;
}

.od1-nav__icon {
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-block;
}

.od1-nav__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color-2, #fff);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.od1-nav__icon span:nth-child(1) { top: 0; }
.od1-nav__icon span:nth-child(2) { top: 6px; }
.od1-nav__icon span:nth-child(3) { top: 12px; }

.od1-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.od1-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.od1-nav__list li {
  position: relative;
}

.od1-nav__list a {
  display: inline-block;
  padding: 10px 12px;
  color: var(--accent-color-2, #fff);
  text-decoration: none;
  border-radius: 10px;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.od1-nav__list a:hover {
  background: rgba(255,255,255,0.08);
}

.od1-nav--highlight .od1-nav__list .current-menu-item > a,
.od1-nav--highlight .od1-nav__list .current_page_item > a,
.od1-nav--highlight .od1-nav__list a.nav-active {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* Mobile drawer */
@media (max-width: 900px) {
  .od1-nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--nav-height));
    padding: 18px 16px;
    flex-direction: column;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
    transform: translateX(-110%);
    transition: transform 250ms ease;
    overflow-y: auto;
    z-index: 1000001;
  }

  .od1-nav--open-right .od1-nav__links { left: auto; right: 0; transform: translateX(110%); }
  .od1-nav--open-up    .od1-nav__links { left: 0; right: 0; width: 100%; max-width: none; height: 70vh; top: auto; bottom: 0; transform: translateY(110%); }
  .od1-nav--open-down  .od1-nav__links { left: 0; right: 0; width: 100%; max-width: none; height: 70vh; top: 0; bottom: auto; transform: translateY(-110%); }

  .od1-nav.is-open .od1-nav__links {
    transform: translateX(0);
  }
  .od1-nav.is-open.od1-nav--open-right .od1-nav__links { transform: translateX(0); }
  .od1-nav.is-open.od1-nav--open-up    .od1-nav__links { transform: translateY(0); }
  .od1-nav.is-open.od1-nav--open-down  .od1-nav__links { transform: translateY(0); }

  .od1-nav__list {
    flex-direction: column;
    width: 100%;
  }

  .od1-nav__list li { width: 100%; }

  .od1-nav__list a {
    width: 100%;
    padding: 14px 12px;
    background: rgba(255,255,255,0.04);
  }
}

/* Desktop */
@media (min-width: 901px) {
  .od1-nav__toggle {
    display: none;
  }
  .od1-nav__links {
    position: static;
    height: auto;
    width: auto;
    padding: 0;
    transform: none !important;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .od1-nav__list {
    flex-direction: row;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
