.site-nav-link {
  color: var(--color-text-primary) !important;
}

.site-nav-link:hover {
  color: var(--color-accent) !important;
}

.site-nav-link.active {
  font-weight: 700;
}

/* Logo + nav grouped left; Login stays right (design) */
.site-header-left {
  gap: 40px;
}

.site-header-nav {
  gap: 32px;
}

@media (min-width: 1280px) {
  .site-header-left {
    gap: 56px;
  }

  .site-header-nav {
    gap: 40px;
  }
}

.site-header-login {
  display: none;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb580c 0%, #ffa073 100%);
  color: #ffffff !important;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: opacity 0.2s ease;
}

.site-header-login:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .site-header-login {
    display: inline-flex;
  }
}

.site-header-user {
  position: relative;
}

.site-header-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid #d9d4ce;
  border-radius: 999px;
  background: #fff;
  color: #585858;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header-user-btn:hover,
.site-header-user-btn.is-open {
  border-color: #ffa073;
  box-shadow: 0 0 0 3px rgba(251, 88, 12, 0.1);
}

.site-header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb580c, #ffa073);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  max-width: none;
}

.site-header-user-name {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-chevron {
  flex-shrink: 0;
  color: #7d7d7d;
  transition: transform 0.2s ease;
}

.site-header-user-btn.is-open .site-header-chevron {
  transform: rotate(180deg);
}

.site-header-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  width: 240px;
  overflow: hidden;
  border: 1px solid #e8e4df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 24, 27, 0.12);
}

.site-header-user-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0ece7;
}

.site-header-user-menu-head .site-header-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  font-size: 15px;
}

.site-header-user-menu-head strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2f2f2f;
  line-height: 1.3;
}

.site-header-user-menu-head .site-header-user-meta {
  min-width: 0;
}

.site-header-user-menu-head .site-header-user-meta span {
  display: block;
  font-size: 12px;
  color: #7d7d7d;
  line-height: 1.3;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-links a,
.dropdown-links button {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  background: transparent;
  color: #585858 !important;
  text-align: left;
  text-decoration: none !important;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.dropdown-links a:hover,
.dropdown-links button:hover {
  background: #fff1ea;
  color: var(--color-accent, #fb580c) !important;
}

.site-header-mobile-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7f2;
}

.site-header-mobile-user .site-header-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  font-size: 15px;
}

.site-header-mobile-user strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2f2f2f;
}

.site-header-mobile-user .site-header-user-meta span {
  display: block;
  font-size: 12px;
  color: #7d7d7d;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
