.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #f0c448;

}

@media (max-width:600px) {
  .navbar {
    padding: 15px 20px;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 32px;
  /* 桌面端推荐 28~36 */
  width: auto;
  /* 保证不变形 */
  display: block;
}

@media (max-width:600px) {
  .logo img {
    height: 26px;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-btn {
  padding: 8px 20px;
  border: 1px solid #111;
  border-radius: 8px;
  background: transparent;
  /* 关键：去掉填充 */
  color: #111;

  /* 文字和图标间距 */
  font-size: 18px;
  cursor: pointer;
  transition: all .15s ease;
}

.submit-btn .btn-arrow img {
  width: 16px;
  /* ⭐ 控制大小 */
  height: auto;
  display: block;
}

.login-btn:hover {
  background: #111;
  color: #fff;
}

.lang-switch {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #555;
  align-items: center;
}

.lang-switch a {
  text-decoration: none;
  color: #555
}

.lang-switch a.active {
  color: #111;
  font-weight: 600
}

/* 移动端：顶部固定导航 */
@media (max-width: 640px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
  }

  /* 给页面内容让出 navbar 的高度 */
  body {
    padding-top: 60px;
    /* 按你的 navbar 实际高度微调，一般 56~64 */
  }
}


/* 左侧整体：对齐、统一高度 */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
}

/* Logo：高度统一 */
.logo-link {
  display: inline-flex;
  align-items: center;
  height: 32px;
  text-decoration: none;
}

.logo-link img {
  height: 22px;
  width: auto;
  display: block;
}

/* 分隔符 */
.nav-sep {
  color: rgba(0, 0, 0, .35);
  font-weight: 700;
  line-height: 1;
}

/* Home：做成标准 32x32 点击热区 */
.home-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #222;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.home-link:hover {
  background: rgba(255, 255, 255, .45);
  color: var(--brand-auro);
  transform: translateY(-1px);
}

.home-icon {
  width: 32px;
  height: 32px;
  display: block;
}