/* GDM 官網 — 共用 header（單一來源；主站同 /classic 都載入呢個檔）
   金龍汽車／GDM MOTOR 品牌 ＋ 目錄 ＋ 古董車 pill ＋ WhatsApp CTA。
   色值用實色（唔用 :root 變數），因為 /classic 係深底 theme，唔可以被子站 palette 影響。 */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; background: #fff; border-bottom: 1px solid #e2dfd7;
  position: sticky; top: 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; flex: 0 0 auto; width: 32px; height: 32px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: #212320; }
.brand-name small { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #8a6c37; margin-top: 1px; }
.head-right { display: flex; align-items: center; gap: 18px; }
.head-right nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.site-head nav a { color: #212320; text-decoration: none; }
.site-head nav a:hover { color: #a98a51; }
.head-pill {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background: #c6a66b; color: #212320; font-weight: 600; font-size: 14px;
  letter-spacing: .02em; padding: 8px 14px; border-radius: 999px;
  white-space: nowrap; text-decoration: none;
}
.head-pill:hover { background: #a98a51; color: #fff; }
.nav-cta { background: #212320; color: #fff; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.nav-cta:hover { background: #a98a51; color: #fff; }
.site-head nav a[aria-current="page"] { color: #a98a51; font-weight: 700; }
.site-head nav a.nav-cta[aria-current="page"] { color: #fff; }
@media (max-width: 860px) {
  .site-head { flex-wrap: wrap; row-gap: 10px; }
  .site-head .head-right { width: 100%; flex-wrap: wrap; gap: 8px 10px; }
  .site-head .head-right nav { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
  .site-head .head-pill { order: 1; }
  .site-head .nav-cta { order: 2; margin-left: auto; }
}
@media (max-width: 560px) {
  .site-head { gap: 10px; padding: 12px 14px; row-gap: 8px; }
  .site-head .head-right { display: contents; }
  .site-head .head-pill { order: 2; }
  .site-head .nav-cta { order: 3; margin-left: 0; }
  /* nav 多一條「電單車」：13px／10px 收窄，390／375／360 仍然一行（實測見 ADR-015）
     —— 唔收窄就會由 1 行變 2 行，header 高 98px → 128px */
  .site-head .head-right nav { order: 4; column-gap: 10px; font-size: 13px; }
}
@media (max-width: 380px) {
  .site-head { padding: 10px 12px; gap: 8px; }
  .head-pill { padding: 7px 11px; font-size: 13px; }
  .nav-cta { padding: 8px 11px; font-size: 13px; }
}

/* 導覽第 6 項「電動車」（2026-11-01）：390／375 用 13px／10px 會變兩行（實測 6 項字寬 325px
   ＋5×10 gap＝375px > 390 減 padding 後 362px）。收到 12px／8px 仍然一行（340px）；
   360 再收 11.5px／6px（327.5px）。320 一向都會兩行（品牌行換行），維持原狀。 */
@media (max-width: 400px) {
  .site-head .head-right nav { font-size: 12px; column-gap: 8px; }
}
@media (max-width: 370px) {
  .site-head .head-right nav { font-size: 11.5px; column-gap: 6px; }
}
