@font-face {
  font-family: "GongTea Heading";
  src: url("assets/font/SourceHanSerifCN-Heavy.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "GongTea Text";
  src: url("assets/font/HarmonyOS_SansSC_Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GongTea Text";
  src: url("assets/font/HarmonyOS_SansSC_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* The imported pages still refer to these original family names. */
@font-face {
  font-family: "Heavy";
  src: url("assets/font/SourceHanSerifCN-Heavy.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Light";
  src: url("assets/font/HarmonyOS_SansSC_Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Light";
  src: url("assets/font/HarmonyOS_SansSC_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Bold";
  src: url("assets/font/HarmonyOS_SansSC_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Medium";
  src: url("assets/font/HarmonyOS_SansSC_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --green: #214815;
  --green-deep: #12380e;
  --cream: #fffaf0;
  --gold: #e9d48d;
  --ink: #121212;
  --muted: #5f665d;
  --line: #d9dfd6;
  --paper: #ffffff;
  --serif: "GongTea Heading", "Songti SC", "STSong", "SimSun", serif;
  --sans: "GongTea Text", "Microsoft YaHei", "PingFang SC", sans-serif;
  --page-gutter: clamp(20px, 6vw, 86px);
  --content-width: 1268px;
  --header-height: 100px;
  --header-green: #214815;
  --header-cream: #fffaf0;
  --header-gold: #ffd700;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }

body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  padding: 10px 16px;
  color: var(--green);
  background: var(--cream);
  border-radius: 2px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: var(--header-cream);
  background: var(--header-green);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 18px 0 12px;
}

.brand-logo { flex: 0 0 auto; display: block; line-height: 0; }
.brand-logo img { width: 350px; max-height: 50px; object-fit: contain; }
.site-nav { margin-left: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.25vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav > li { position: relative; }

.nav-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--header-cream);
  background: transparent;
  border: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-link:hover,
.nav-link[aria-expanded="true"] { color: var(--header-gold); }
.nav-toggle-indicator { display: none; }

.dropdown-panel {
  position: fixed;
  top: var(--header-height);
  left: 0;
  z-index: 1001;
  width: 100%;
  padding: 24px var(--page-gutter) 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.985);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 38px rgba(18, 56, 14, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}
.has-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.dropdown-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; }
.dropdown-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.dropdown-grid a {
  display: flex;
  min-height: 164px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 26px;
  color: var(--green);
  background:
    radial-gradient(circle at 86% 18%, rgba(233, 212, 141, 0.26), transparent 34%),
    linear-gradient(145deg, #f8f8f3, #eef3e9);
  border: 1px solid #dce4d8;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.dropdown-grid a:hover {
  background:
    radial-gradient(circle at 86% 18%, rgba(233, 212, 141, 0.38), transparent 36%),
    linear-gradient(145deg, #f3f6ee, #e7efe1);
  border-color: #aebfa5;
  transform: translateY(-2px);
}
.dropdown-grid strong {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.dropdown-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

/* The four brand cards use the same artwork as the official navigation. */
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li > a {
  min-height: 0;
  aspect-ratio: 401 / 286;
  padding: 0;
  background-position: center;
  background-size: cover;
  border: 0;
}
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(1) > a,
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(1) > a:hover { background-image: url("assets/images/nav-chinagongbrand.png"); }
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(2) > a,
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(2) > a:hover { background-image: url("assets/images/nav-teamap.png"); }
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(3) > a,
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(3) > a:hover { background-image: url("assets/images/nav-qijia.png"); }
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(4) > a,
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li:nth-child(4) > a:hover { background-image: url("assets/images/nav-nationalgift.png"); }
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li > a > strong,
.dropdown-grid:not(.dropdown-grid--three):not(.dropdown-grid--two):not(.dropdown-grid--series) > li > a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The product cards use the three images from the official navigation. */
.dropdown-grid--three > li > a,
.dropdown-grid--three > li > a:hover {
  min-height: 0;
  aspect-ratio: 401 / 304;
  padding: 0;
  background-color: #fff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 0;
}
.dropdown-grid--three > li:nth-child(1) > a,
.dropdown-grid--three > li:nth-child(1) > a:hover { background-image: url("assets/images/nav-product-shifeng.png"); }
.dropdown-grid--three > li:nth-child(2) > a,
.dropdown-grid--three > li:nth-child(2) > a:hover { background-image: url("assets/images/nav-product-xihu.png"); }
.dropdown-grid--three > li:nth-child(3) > a,
.dropdown-grid--three > li:nth-child(3) > a:hover { background-image: url("assets/images/nav-product-qiantang.png"); }
.dropdown-grid--three > li > a > strong,
.dropdown-grid--three > li > a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The news cards use the two images from the official navigation. */
.dropdown-grid--two > li > a,
.dropdown-grid--two > li > a:hover {
  min-height: 0;
  aspect-ratio: 401 / 283;
  padding: 0;
  background-color: #fff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 0;
}
.dropdown-grid--two > li:nth-child(1) > a,
.dropdown-grid--two > li:nth-child(1) > a:hover { background-image: url("assets/images/nav-news-public.png"); }
.dropdown-grid--two > li:nth-child(2) > a,
.dropdown-grid--two > li:nth-child(2) > a:hover { background-image: url("assets/images/nav-media-page.png"); }
.dropdown-grid--two > li > a > strong,
.dropdown-grid--two > li > a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cart-link {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: 12px;
  place-items: center;
  color: var(--gold);
}
.cart-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--header-cream);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-utility,
.mobile-nav-social { display: none; }

.hero {
  position: relative;
  aspect-ratio: 1635 / 677;
  overflow: hidden;
  background: #12352d;
  touch-action: pan-y;
}
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.hero-slide a, .hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: center; }
.hero-slide:not(.is-active) a { pointer-events: none; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(18, 56, 14, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background-color 180ms ease;
}
.hero:hover .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-arrow:hover { background: rgba(18, 56, 14, 0.82); }
.carousel-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.carousel-arrow--prev { left: 22px; }
.carousel-arrow--next { right: 22px; }

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 9px;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}
.carousel-dots button.is-active { width: 28px; background: #fff; }

.content-wrap {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 44px;
}
.feature, .news { scroll-margin-top: calc(var(--header-height) + 24px); }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 50px 0 25px;
}
.section-heading h2 {
  margin: 0;
  color: #000;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-align: center;
}

.feature-link { display: block; overflow: hidden; background: #eef0eb; }
.feature-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1635 / 677;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-link:hover img { transform: scale(1.012); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.15vw, 30px);
}
.news-card { min-width: 0; }
.news-card a { display: block; height: 100%; text-decoration: none; }
.news-card figure {
  position: relative;
  aspect-ratio: 8 / 5;
  margin: 0;
  overflow: hidden;
  background: #dde2da;
}
.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.news-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 62px 20px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 18, 5, 0.14) 30%, rgba(7, 18, 5, 0.86) 100%);
  text-align: left;
}
.news-card figcaption span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.news-card h3 {
  margin: 4px 0 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.news-card a:hover img { transform: scale(1.035); }

.more-link {
  display: flex;
  width: max-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 38px auto 0;
  padding: 9px 24px;
  color: #000;
  border: 2px solid #000;
  font-size: 16px;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}
.more-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}
.more-link:hover { color: var(--cream); background: var(--green); border-color: var(--green); }
.more-link:hover svg { transform: translateX(3px); }

.site-footer {
  color: var(--green);
  background: #fff;
  border-top: 1px solid #eef1ec;
}
.footer-main {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 30px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.72fr 0.9fr 1.55fr;
  gap: clamp(20px, 2.2vw, 34px);
}
/* 首页为 6 个并列导航：等分列宽，避免「立即购买」掉到下一行 */
.footer-grid:has(> .footer-group:nth-child(6)) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
}
.footer-group summary, .footer-contact h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  list-style: none;
}
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group summary { pointer-events: none; }
.footer-group ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.footer-group a, .footer-group .qr-trigger, .footer-contact a, .company-info, .copyright {
  color: #4f574d;
  font-size: 14px;
  text-decoration: none;
}
.footer-group .qr-trigger {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.footer-group a:hover, .footer-group .qr-trigger:hover, .footer-contact a:hover, .copyright a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qr-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: calc(100vw - 32px);
}
.qr-dialog::backdrop {
  background: rgba(18, 24, 16, 0.55);
}
.qr-dialog-panel {
  position: relative;
  width: min(480px, calc(100vw - 48px));
  background: #fff;
}
.qr-dialog-image {
  display: block;
  width: 100%;
  height: auto;
}
.qr-dialog-caption {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--green);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
.qr-dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.qr-dialog-close:hover { background: var(--cream); }
body:has(.qr-dialog[open]) { overflow: hidden; }
.contact-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px clamp(12px, 1vw, 24px);
}
.contact-module,
.shop-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.contact-module { min-width: 0; }
.qr-links { display: flex; gap: clamp(12px, 1vw, 16px); }
.qr-links figure { margin: 0; text-align: center; }
.qr-links img { width: 56px; height: 56px; object-fit: contain; }
.qr-links figcaption { margin-top: 4px; color: #767d73; font-size: 11px; line-height: 1.3; }
.shop-links { min-width: 130px; }
.shop-buttons { display: flex; align-items: center; gap: clamp(12px, 1vw, 18px); }
.shop-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.shop-buttons img { display: block; width: auto; height: auto; }
.shop-buttons a:hover { opacity: 0.78; }
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-logo { flex: 0 0 300px; display: block; }
.footer-logo img { width: 100%; height: auto; }
.company-info { line-height: 1.55; }
.company-info p, .copyright p { margin: 0; }
.company-info address { font-style: normal; }
.copyright { margin-left: auto; line-height: 1.7; text-align: right; white-space: nowrap; }

@media (max-width: 1180px) {
  .hero { aspect-ratio: 750 / 837; }
  .carousel-arrow { width: 40px; height: 40px; opacity: 1; }
  .carousel-arrow--prev { left: 10px; }
  .carousel-arrow--next { right: 10px; }
  .carousel-dots { bottom: 13px; }
  .content-wrap { width: calc(100% - 32px); padding-bottom: 38px; }
  .section-heading { min-height: 32px; margin: 36px 0 18px; }
  .section-heading h2 { font-size: 24px; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-card h3 { font-size: 17px; }
  .more-link { margin-top: 28px; }
  .footer-main { width: calc(100% - 32px); padding: 20px 0 28px; }
  .footer-grid { display: block; }
  .footer-group { border-bottom: 1px solid var(--line); }
  .footer-group summary {
    position: relative;
    padding: 15px 28px 15px 0;
    cursor: pointer;
    pointer-events: auto;
  }
  .footer-group summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 2px;
    font-family: var(--sans);
    font-size: 20px;
    transform: translateY(-50%);
  }
  .footer-group[open] summary::after { content: "−"; }
  .footer-group ul { margin: 0 0 16px; padding-left: 12px; }
  .footer-contact { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .contact-row { justify-content: space-between; }
  .qr-links { gap: 22px; }
  .qr-links img { width: 64px; height: 64px; }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: end;
    margin-top: 22px;
    padding-top: 20px;
  }
  .footer-logo { grid-column: 1 / -1; width: 250px; max-width: 80%; }
  .company-info { font-size: 13px; }
  .copyright { font-size: 12px; }
}

@media (min-width: 992px) and (max-width: 1180px) {
  .brand-logo img { width: clamp(250px, 27vw, 330px); }
  .primary-nav { gap: 8px; }
  .nav-link { padding: 0 4px; font-size: 16px; }
}

@media (max-width: 991px) {
  html { scroll-padding-top: calc(var(--header-height) + 18px); }
  .header-inner { padding: 0 18px 0 14px; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .cart-link { display: none; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    height: calc(100dvh - var(--header-height));
    margin: 0;
    padding: 12px 24px 40px;
    overflow-y: auto;
    color: var(--green);
    background: #fff;
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .primary-nav { display: block; max-width: 900px; margin: 0 auto; }
  .primary-nav > li { border-bottom: 1px solid var(--line); }
  .nav-link {
    width: 100%;
    min-height: 64px;
    justify-content: space-between;
    padding: 0 4px;
    color: var(--green);
    font-size: 20px;
    text-align: left;
  }
  .nav-link:hover,
  .nav-link[aria-expanded="true"] { color: var(--green-deep); background: #f5f7f2; }
  .nav-toggle-indicator {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-left: 18px;
    place-items: center;
    border: 1px solid #b9c7b3;
    border-radius: 50%;
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
  }
  .nav-toggle-indicator::before { content: "+"; }
  .nav-trigger[aria-expanded="true"] .nav-toggle-indicator::before { content: "−"; }
  .dropdown-panel {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .has-dropdown.is-open .dropdown-panel { display: block; }
  .dropdown-grid,
  .dropdown-grid--three,
  .dropdown-grid--two,
  .dropdown-grid--series { grid-template-columns: 1fr; gap: 8px; max-width: none; }
  .dropdown-grid a {
    min-height: 0;
    padding: 14px 18px;
    color: var(--green);
    background: #f5f6f2;
    border-color: #e1e6de;
  }
  .dropdown-grid a:hover {
    background: #edf2e9;
    border-color: #c4d0be;
    transform: none;
  }
  .dropdown-grid strong { color: var(--green); font-size: 18px; }
  .dropdown-grid span { color: var(--muted); }
  .mobile-nav-utility {
    display: grid;
    max-width: 900px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px auto 0;
  }
  .mobile-nav-utility a {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    padding: 14px 18px;
    color: var(--green);
    background: #f5f6f2;
    border: 1px solid var(--line);
    text-decoration: none;
  }
  .mobile-nav-utility span { font-family: var(--sans); font-size: 18px; font-weight: 700; }
  .mobile-nav-utility small { margin-top: 3px; color: var(--muted); font-size: 12px; }
  .mobile-nav-social {
    display: flex;
    max-width: 900px;
    align-items: center;
    gap: 14px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 13px;
  }
  .mobile-nav-social a { color: var(--green); text-underline-offset: 3px; }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .header-inner { height: 60px; padding: 0 14px; }
  .brand-logo img { width: auto; height: 30px; }
  .site-nav {
    padding: 6px 16px 32px;
    height: calc(100dvh - 60px);
  }
  .nav-link { min-height: 56px; font-size: 18px; }
  .dropdown-grid a { padding: 13px 15px; }
  .mobile-nav-utility { gap: 9px; margin-top: 18px; }
  .mobile-nav-utility a { min-height: 68px; padding: 12px 14px; }
  .mobile-nav-utility span { font-size: 17px; }
  .mobile-nav-social { gap: 11px; margin-top: 15px; }
}

@media (max-width: 520px) {
  .carousel-arrow { display: none; }
  .content-wrap { width: calc(100% - 28px); }
  .section-heading h2 { font-size: 22px; }
  .news-card figcaption { padding: 52px 15px 14px; }
  .news-card h3 { font-size: 16px; }
  .contact-row { align-items: flex-start; }
  .qr-links img { width: 58px; height: 58px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .copyright { margin-left: 0; text-align: left; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header, .carousel-arrow, .carousel-dots, .more-link { display: none !important; }
  body { padding-top: 0; }
  .hero { aspect-ratio: auto; }
  .hero-slide:not(.is-active) { display: none; }
}

/* 产品中心每一项只显示该系列头图。名称留给读屏，画面上不出现。 */
.dropdown-grid--series {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
}
.dropdown-grid--series > li > a,
.dropdown-grid--series > li > a:hover {
  min-height: 0;
  aspect-ratio: 401 / 304;
  padding: 0;
  background-color: #f3f6ee;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 0;
}
.dropdown-grid--series > li > a > strong,
.dropdown-grid--series > li > a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
