/* site-shell.css — 从 official-pc.css 提取的全站头尾(site-header/site-nav/footer)组件样式
   仅头尾组件+:root变量,不含全局 * / html / body / a reset;裸 .btn 已 scope 到 .site-header
   由 common/css.html 在 cend-v2.css 之后加载,让走老壳(common/css)的页面头尾也正常 */

:root {
      --zg-red: #b23a2e;
      --zg-red-deep: #8f2c22;
      --zg-ink: #23201c;
      --zg-ink-soft: #5b554c;
      --zg-muted: #8a8172;
      --zg-gold: #b08842;
      --zg-jade: #3c6e5e;
      --zg-paper: #f5f1e8;
      --zg-card: #fffdf8;
      --zg-line: #ddd5c6;
      --zg-line-soft: #ede6d7;
      --zg-white: #fff;
      --zg-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
      --zg-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
      --shadow-soft: 0 18px 46px rgba(55, 42, 28, .10);
      --shadow-hover: 0 18px 34px rgba(111, 54, 36, .14);
    }
.site-header {
      height: 72px;
      display: grid;
      grid-template-columns: 330px minmax(0, 1fr) 270px;
      align-items: center;
      gap: 18px;
      padding: 0 44px;
      border-bottom: 1px solid var(--zg-line-soft);
      background: var(--zg-card);
    }
.site-header--home {
      grid-template-columns: 330px minmax(0, 1fr) 270px;
    }
.brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }
.brand-logo {
      width: 180px;
      height: 45px;
      display: block;
      object-fit: contain;
      object-position: left center;
    }
.brand-company-en {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding-left: 13px;
      border-left: 1px solid var(--zg-line);
      color: var(--zg-muted);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .20em;
      line-height: 1.28;
      white-space: nowrap;
    }
.site-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      color: #4a453d;
      font-size: 14px;
      white-space: nowrap;
    }
.site-nav span {
      position: relative;
      display: inline-flex;
      align-items: center;
      height: 72px;
    }
.site-nav .active {
      color: var(--zg-red);
      font-weight: 600;
    }
.site-nav .active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: var(--zg-red);
    }
.header-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      color: #4a453d;
      font-size: 13px;
      white-space: nowrap;
    }
.search-chip {
      width: 168px;
      height: 34px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 12px;
      border: 1px solid var(--zg-line);
      border-radius: 17px;
      color: var(--zg-muted);
      background: var(--zg-white);
    }
.site-header .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 18px;
      border: 1px solid var(--zg-line);
      border-radius: 6px;
      color: var(--zg-ink-soft);
      background: var(--zg-white);
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
    }
.site-header .btn.primary {
      border-color: var(--zg-red);
      color: var(--zg-white);
      background: var(--zg-red);
    }
.site-header .btn.red-outline {
      border-color: rgba(178, 58, 46, .48);
      color: var(--zg-red);
      background: #fff8f4;
    }
.site-header .btn.dark {
      border-color: var(--zg-ink);
      color: var(--zg-white);
      background: var(--zg-ink);
    }
.site-header .btn.gold {
      border-color: var(--zg-gold);
      color: var(--zg-white);
      background: var(--zg-gold);
    }
.footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 30px 44px;
      background: var(--zg-ink);
      color: rgba(255, 255, 255, .72);
      font-size: 12px;
      line-height: 1.9;
    }
.footer-links {
      display: flex;
      gap: 30px;
      color: rgba(255, 255, 255, .82);
      font-size: 13px;
    }
.site-nav a {
      position: relative;
      display: inline-flex;
      align-items: center;
      height: 72px;
    }
.footer-links a {
      color: inherit;
    }
.search-chip input {
      min-width: 0;
      width: 112px;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--zg-ink);
      font: inherit;
    }
.search-chip input::placeholder {
      color: var(--zg-muted);
    }
.search-chip button {
      width: 20px;
      height: 20px;
      display: inline-grid;
      place-items: center;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--zg-muted);
      cursor: pointer;
    }
.search-chip svg,
    .header-bell-icon {
      width: 18px;
      height: 18px;
      display: block;
    }
.login-link {
      color: var(--zg-ink-soft);
      font-size: 13px;
    }
.header-bell {
      position: relative;
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      color: var(--zg-ink-soft);
    }
.header-bell-dot {
      position: absolute;
      right: -5px;
      top: -4px;
      min-width: 16px;
      height: 16px;
      padding: 0 4px;
      border-radius: 8px;
      background: var(--zg-red);
      color: #fff;
      font-size: 10px;
      line-height: 16px;
      text-align: center;
    }
.header-user {
      position: relative;
    }
.header-user-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--zg-ink-soft);
      font-size: 13px;
    }
.header-user-trigger img {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      object-fit: cover;
    }
.header-user-menu {
      display: none;
      position: absolute;
      right: 0;
      top: 100%;
      min-width: 154px;
      padding: 6px 0;
      border: 1px solid var(--zg-line);
      border-radius: 8px;
      background: var(--zg-card);
      box-shadow: var(--shadow-soft);
      z-index: 20;
    }
.header-user:hover .header-user-menu {
      display: block;
    }
.header-user-menu a {
      display: block;
      padding: 9px 15px;
      color: var(--zg-ink-soft);
      font-size: 13px;
    }
.header-user-menu a:hover {
      color: var(--zg-red);
      background: rgba(178, 58, 46, .06);
    }
.header-actions .search-chip {
      flex: 0 0 158px;
      width: 158px;
    }
