/* Üst bar: içerik konteynerinden bağımsız tam genişlik */
header.nav > .container,
.nav > .container {
  width: 100%;
  max-width: none;
  padding-inline: 32px;
  box-sizing: border-box;
}

.nav-end {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-end #nav-auth {
  display: inline-flex;
  align-items: center;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 0.12rem 0.28rem;
  flex-wrap: nowrap;
  min-width: 0;
}

@media (min-width: 861px) and (max-width: 1320px) {
  .nav-links > li > a {
    font-size: 0.76rem;
    padding: 0.32rem 0.42rem;
    gap: 0.22rem;
    white-space: nowrap;
  }
  .nav-links > li > a .icon {
    width: 14px;
    height: 14px;
  }
}

.nav-end #nav-auth {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 860px) {
  .nav-end {
    gap: 0.4rem;
  }
}

#site-header,
.nav {
  z-index: 50;
}
.nav,
.nav-inner,
.nav-links,
.nav-drop {
  overflow: visible;
}

.nav-drop-menu {
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  height: auto;
  min-height: fit-content;
  max-height: none;
  overflow: visible;
  min-width: 16.5rem;
  width: max-content;
  padding: 12px;
}

.nav-drop.open > .nav-drop-menu,
.nav-drop:hover > .nav-drop-menu,
.nav-drop:focus-within > .nav-drop-menu {
  display: flex;
}

.nav-links .nav-drop-menu a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: auto;
  min-height: 2.45rem;
  line-height: 1.35;
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

.nav-drop > a[data-drop-toggle] {
  cursor: pointer;
}

@media (max-width: 860px) {
  header.nav > .container,
  .nav > .container {
    padding-inline: 16px;
  }
  .nav-drop.open > .nav-drop-menu,
  .nav-drop > .nav-drop-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    height: auto;
    min-height: fit-content;
    overflow: visible;
    width: 100%;
    min-width: 0;
    padding: 8px 0 12px 0.85rem;
  }
  .nav-links .nav-drop-menu a {
    white-space: normal;
  }
}
