.desktop-nav-logo {
  flex-shrink: 0;
}

.desktop-nav,
.desktop-nav-actions {
  display: none;
}

.desktop-nav-toggle {
  flex-shrink: 0;
}

.desktop-nav {
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(1.125rem, 1.5vw, 1.75rem);
  margin: 0 1rem;
}

.desktop-nav-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

.desktop-nav__group {
  position: relative;
  flex-shrink: 0;
}

.desktop-nav__summary,
.desktop-nav__link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #999;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.desktop-nav__summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.desktop-nav__summary::-webkit-details-marker {
  display: none;
}

.desktop-nav__summary:hover,
.desktop-nav__summary:focus-visible,
.desktop-nav__link:hover,
.desktop-nav__link:focus-visible,
.desktop-nav__group[open] > .desktop-nav__summary {
  color: #e8e8e8;
  outline: none;
}

.desktop-nav__chevron {
  color: #e8a020;
  font-size: 0.75rem;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.desktop-nav__group[open] .desktop-nav__chevron {
  transform: rotate(180deg);
}

.desktop-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  z-index: 60;
  display: flex;
  min-width: 13.5rem;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(17, 17, 17, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.desktop-nav__dropdown::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.9rem;
}

.desktop-nav__item {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  color: #999;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-align: left;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.desktop-nav__item:hover,
.desktop-nav__item:focus-visible {
  color: #e8a020;
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

@media (min-width: 1280px) {
  .desktop-nav,
  .desktop-nav-actions {
    display: flex;
  }

  .desktop-nav-toggle,
  .desktop-nav-mobile {
    display: none;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .desktop-nav {
    gap: 1.125rem;
    margin: 0 0.75rem;
  }

  .desktop-nav__summary,
  .desktop-nav__link {
    font-size: 0.8125rem;
  }

  .desktop-nav-actions {
    gap: 0.5rem;
  }
}
