.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.desktop-nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: #a9770e;
}
.desktop-nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #b88716;
  border-radius: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.language-switch {
  display: flex;
  border: 1px solid #e6dbe1;
  border-radius: 999px;
  overflow: hidden;
}
.language-switch a {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}
.language-switch a.active {
  background: #fff7ea;
  color: #a9770e;
}
.login-button {
  border: 1px solid #b88716;
  color: #8b6208;
  background: #fff;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}
.login-button:hover {
  background: #fff7ea;
}
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 22px;
  cursor: pointer;
  margin-right: auto;
}
.bottom-nav a {
  flex: 1;
  border: 0;
  background: none;
  color: #9a8e94;
  display: grid;
  place-items: center;
  padding: 7px;
  text-decoration: none;
}
.bottom-nav a b {
  font: 700 22px Inter;
  line-height: 1;
  font-style: normal;
}
.bottom-nav a span {
  font-size: 11px;
}
@media (max-width: 900px) {
  .desktop-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 14px;
    z-index: 40;
  }
  .desktop-nav.open {
    display: flex;
  }
  .topbar {
    position: relative;
  }
  .nav-toggle {
    display: block;
  }
  .header-actions {
    gap: 8px;
  }
  .language-switch a {
    padding: 6px 10px;
    font-size: 12px;
  }
}
.primary.small {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 9px;
}
@media (max-width: 480px) {
  .topbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    padding-block: 10px;
    row-gap: 8px;
  }
  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 6px;
    gap: 6px;
  }
  .language-switch a {
    padding: 5px 8px;
    font-size: 11px;
  }
  .login-button,
  .primary.small {
    padding: 6px 10px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}
@media (max-width: 360px) {
  .header-actions {
    gap: 5px;
  }
  .language-switch a {
    padding: 4px 7px;
    font-size: 10px;
  }
  .login-button,
  .primary.small {
    padding: 5px 8px;
    font-size: 11px;
  }
}
