/* Header-nav */
.header-nav {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-lg);
}

.back-btn,
.search-btn,
.close-search-btn,
.sort-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-sm);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.back-btn:active,
.search-btn:active,
.close-search-btn:active,
.sort-btn:active {
  transform: scale(0.85);
}

/* Path-nav */
.path-nav {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  color: var(--text-muted);
  margin: 0 var(--space-md);
  overflow-x: auto;
}

.path-nav::-webkit-scrollbar {
  display: none;
}

.path-nav.hidden {
  width: 0;
  overflow: hidden;
  margin: 0;
  flex: 0;
}

.path-item {
  font-size: var(--fs-xs);
  font-weight: bold;
  padding: 0.5rem 0;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.path-item:last-child,
.path-item:active {
  color: var(--text-primary);
}

.separator {
  font-size: var(--fs-md);
}
