:root {
  --gmf-green: #3cb035;
  --gmf-green-dark: #2d8c28;
  --gmf-ink: #333;
  --gmf-muted: #696969;
  --gmf-line: #e9e9e9;
  --gmf-bg: #fff;
  --gmf-soft: #f6f6f6;
  --gmf-footer: #333;
  --gmf-max: 1600px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { font-size: 14px; }
body.theme-green-mfg {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--gmf-ink);
  background: var(--gmf-bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; }
button, input, select, textarea { font: inherit; }
.gmf-wrap { width: 94%; max-width: var(--gmf-max); margin: 0 auto; }
.gmf-page { flex: 1; width: 94%; max-width: 1200px; margin: 0 auto 64px; }
.gmf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 135px;
  padding: 8px 16px;
  color: #fff;
  background: var(--gmf-green);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.gmf-btn:hover { background: var(--gmf-green-dark); }
.gmf-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* header */
.gmf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}
.gmf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  gap: 16px;
}
.gmf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  flex: 0 0 auto;
  max-width: 240px;
}
.gmf-logo img { height: 50px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.gmf-nav { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; flex: 1; justify-content: flex-end; }
.gmf-nav > li { position: static; }
.gmf-nav > li > a,
.gmf-nav > li > span {
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0 1.5vw;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.gmf-nav > li:hover > a,
.gmf-nav > li:hover > span,
.gmf-nav > li > a.is-current { color: var(--gmf-green); }
.gmf-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: rgba(255,255,255,.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 60px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: opacity .2s ease;
}
.gmf-nav > li:hover .gmf-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gmf-mega-inner {
  width: 94%;
  max-width: var(--gmf-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.gmf-mega-main { width: 65%; min-width: 0; }
.gmf-mega-title { font-size: 26px; line-height: 1; font-weight: 700; margin: 0 0 20px; color: #333; }
.gmf-mega-list { display: flex; flex-wrap: wrap; }
.gmf-mega-list a {
  width: calc(50% - 2.5%);
  margin-right: 5%;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  line-height: 1.2;
}
.gmf-mega-list a:nth-child(2n) { margin-right: 0; }
.gmf-mega-list a:hover { color: var(--gmf-green); border-bottom-color: var(--gmf-green); }
.gmf-mega-cover { width: 30%; flex: 0 0 30%; }
.gmf-mega-cover span {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 53.33%;
  overflow: hidden;
}
.gmf-mega-cover img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
}
.gmf-mega-cover img[hidden] { display: none; }
.gmf-tools { display: flex; align-items: center; }
.gmf-tool {
  position: relative;
  display: flex;
  align-items: center;
  height: 60px;
  margin: 20px 0;
  padding: 0 15px;
}
.gmf-tool:not(.gmf-search):not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  top: 20px;
  width: 1px;
  height: 20px;
  background: #666;
}
.gmf-tool:has(+ .gmf-nav-toggle):after { display: none; }
.gmf-tool button, .gmf-tool a {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #333;
  display: inline-flex;
  align-items: center;
}
.gmf-tool svg { width: 24px; height: 24px; fill: #333; }
.gmf-lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  text-align: center;
  z-index: 20;
}
.gmf-lang:hover .gmf-lang-menu { display: block; }
.gmf-lang-menu a, .gmf-lang-menu span { display: block; line-height: 40px; font-size: 14px; }
.gmf-lang-menu a:hover, .gmf-lang-menu span { color: var(--gmf-green); }
.gmf-search { position: relative; }
.gmf-search input {
  width: 0;
  opacity: 0;
  border: 1px solid #ddd;
  padding: 6px 10px;
  transition: width .2s ease;
}
.gmf-search.is-open input { width: 180px; opacity: 1; margin-right: 8px; }
.gmf-nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: #333;
}
.gmf-nav-caret { display: none; }

/* hero */
.home-slot-hero { width: 100%; }
.hero-slider { position: relative; width: 100%; overflow: hidden; background: #1a5c18; min-height: 280px; }
.hero-slide { display: none; position: relative; }
.hero-slide.is-active { display: block; }
.hero-slide img,
.hero-slide video { width: 100%; height: auto; object-fit: cover; display: block; }
.hero-slide .hero-caption {
  position: absolute;
  left: 6%;
  top: 30%;
  color: #fff;
  max-width: 46%;
}
.hero-slide .hero-caption h1 { margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 32px); font-weight: 700; }
.hero-fallback {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #1a5c18, #3cb035 70%);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.hero-dots button {
  width: 15px; height: 15px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0;
}
.hero-dots button.is-active { background: #fff; }

/* home sections */
.section-wrap { width: 94%; max-width: var(--gmf-max); margin: 50px auto 80px; }
.section-title { text-align: center; }
.section-title-row { display: grid; justify-items: center; align-items: center; }
.section-title-row h3,
.section-title h3 {
  grid-area: 1 / 1;
  margin: 0;
  font-size: clamp(52px, 7vw, 80px);
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: #f6f6f6;
  line-height: 1;
  text-align: center;
}
.section-title-row p,
.section-title p {
  grid-area: 1 / 1;
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #111;
  position: relative;
}
.section-title-line { width: 46px; height: 4px; background: #002c5e; border: 0; margin: 18px auto 0; }
.section-aboutus { margin-bottom: 100px; }
.section-aboutus-container { display: flex; margin-top: 30px; align-items: stretch; }
.section-aboutus-left {
  flex: 0 0 50%;
  margin-right: 50px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.section-aboutus-copy {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.section-aboutus-heading {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  flex: 0 0 auto;
}
.section-aboutus-text {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  color: #696969;
  line-height: 2;
  font-size: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}
.section-aboutus-left .gmf-btn { margin-top: 24px; flex: 0 0 auto; align-self: flex-start; }
.section-aboutus-right { flex: 1; margin-left: 80px; display: flex; }
.section-aboutus-image { overflow: hidden; width: 100%; }
.section-aboutus-image img { width: 100%; height: auto; display: block; object-fit: contain; }
.section-product { padding: 30px 0 60px; }
.section-product-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: var(--gmf-max);
  margin: 30px auto 0;
  background: #fff;
}
.section-product-item { flex: 1 1 0; min-width: 0; display: flex; align-items: center; }
.section-product-image, .section-product-image a { display: block; width: 100%; overflow: hidden; }
.section-product-image img { width: 100%; display: block; object-fit: contain; }
.section-product-text {
  width: 78%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-product-text h3 { margin: 0 0 15px; font-size: 22px; font-weight: 700; }
.section-product-text p { margin: 0 0 15px; color: #666; font-size: 14px; line-height: 24px; }
.section-news { padding: 50px 0; margin-bottom: 30px; }
.section-news-container {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
.section-news-card {
  flex: 0 0 calc(50% - 12px);
  width: calc(50% - 12px);
  max-width: calc(50% - 12px);
  position: relative;
  min-width: 0;
}
.section-news-card a { display: block; position: relative; }
.section-news-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--gmf-soft);
}
.section-news-card span {
  display: block;
  margin-top: -52px;
  background: rgba(0,0,0,.4);
  color: #fff;
  text-align: center;
  line-height: 3.2;
  font-size: 16px;
  font-weight: 700;
  padding: 0 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}
.section-partner { width: 100%; }
.section-partner-container { display: flex; align-items: center; gap: 10px; padding: 30px 0 50px; }
.partner-track {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.partner-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.partner-item {
  flex: 0 0 220px;
  aspect-ratio: 16 / 6.5;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.partner-item img { width: 100%; height: 100%; object-fit: contain; }
.partner-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,.1); cursor: pointer; position: relative; flex: 0 0 50px;
}
.partner-btn:hover { background: #005ba2; }
.partner-btn:after {
  content: "";
  display: block;
  width: 12px; height: 12px;
  border-left: 2px solid #333;
  border-top: 2px solid #333;
  margin: 0 auto;
}
.partner-btn:hover:after { border-color: #fff; }
.partner-btn[data-partner-prev]:after { transform: rotate(-45deg); margin-left: 8px; }
.partner-btn[data-partner-next]:after { transform: rotate(135deg); margin-right: 8px; }
.hero-slider:has(.hero-slide:not(.hero-empty)) .hero-empty { display: none !important; }
.home-slot:empty { display: none; }
.home-slot-hero:empty { display: block; }

/* crumbs / subnav / pager */
.gmf-crumbs { color: #888; font-size: 14px; margin: 20px 0; }
.gmf-crumbs a:hover { color: var(--gmf-green); }
.gmf-cat-cover {
  width: 100%;
  height: 50vw;
  max-height: 400px;
  margin: 0;
  background: #e9ecef center / cover no-repeat;
  display: flex;
  align-items: center;
}
.gmf-cat-cover-inner { width: 94%; max-width: 1140px; margin: 0 auto; color: #fff; }
.gmf-cat-cover h1 { margin: 0; font-size: 26px; font-weight: 400; line-height: 1.3; }
.gmf-cat-cover p { margin: 8px 0 0; font-size: 16px; }
.gmf-subnav { display: flex; flex-wrap: nowrap; justify-content: center; align-items: stretch; background: #f5f5f5; margin: 0 0 24px; }
.gmf-subnav a {
  min-width: 0;
  flex: 1 1 0;
  min-height: 70px;
  padding: 10px 14px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  text-align: center;
  color: #333;
}
.gmf-subnav a:hover { color: var(--gmf-green); }
.gmf-subnav a.is-active { background: var(--gmf-green); color: #fff; }
.gmf-pager { display: flex; justify-content: center; gap: 8px; margin: 32px 0 8px; flex-wrap: wrap; }
.pager-link, .pager-current {
  min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #ddd; padding: 0 10px;
}
.pager-current, .pager-link:hover { background: var(--gmf-green); color: #fff; border-color: var(--gmf-green); }
.pager-gap { color: #999; padding: 0 4px; }

/* lists */
.news-item {
  display: flex;
  gap: 40px;
  padding: 30px;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}
.news-item:hover { background: #eee; }
.news-item-date { flex: 0 0 180px; color: #999; padding-right: 50px; }
.news-item-date .d { font-size: 18px; font-family: Arial, sans-serif; font-weight: 400; line-height: 1; }
.news-item-body { flex: 1; min-width: 0; }
.news-item-body h2 { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.news-item-body h2 a:hover { color: var(--gmf-green); }
.news-item-body p {
  margin: 0; color: #999; font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item-cover { flex: 0 0 250px; }
.news-item-cover img { width: 100%; height: 140px; object-fit: cover; background: var(--gmf-soft); }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.case-card { margin: 0; text-align: center; }
.case-card-img { display: block; height: 200px; overflow: hidden; background: #f2f2f2; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card figcaption { margin-top: 8px; line-height: 2; font-size: 14px; }
.case-card a:hover { color: var(--gmf-green); }
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.job-card { background: #f7f7f7; border: 1px solid #eee; display: flex; flex-direction: column; }
.job-card-h { padding: 14px 16px; font-weight: 700; border-bottom: 1px solid #eee; background: #f0f0f0; }
.job-card-b { padding: 16px; flex: 1; color: #666; font-size: 14px; }
.job-card-f { padding: 12px 16px; color: #888; font-size: 13px; border-top: 1px solid #eee; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid #eee; overflow: hidden; }
.product-card img { width: 100%; height: 180px; object-fit: cover; background: var(--gmf-soft); }
.product-card h3 { margin: 12px 16px 6px; font-size: 16px; }
.product-card p { margin: 0 16px 16px; color: #888; font-size: 13px; }
.product-card .price { color: var(--gmf-green); font-weight: 700; margin: 0 16px 16px; }

/* article / page */
.gmf-article h1 { text-align: center; font-size: 28px; margin: 12px 0; }
.gmf-meta { text-align: center; color: #888; border-bottom: 1px solid var(--gmf-line); padding-bottom: 12px; margin-bottom: 24px; }
.gmf-meta a:hover { color: var(--gmf-green); }
.rich-content { line-height: 1.9; color: #444; overflow-wrap: anywhere; }
.rich-content p { margin: 0 0 1em; }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 { margin: 1.2em 0 .5em; line-height: 1.4; }
.rich-content ul, .rich-content ol { margin: 0 0 1em 1.4em; padding: 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.rich-content th, .rich-content td { border: 1px solid #e6e6e6; padding: 8px 10px; }
.rich-content img { max-width: 100%; height: auto; }
.gmf-tags { margin: 24px 0; }
.gmf-tags a { display: inline-block; margin-right: 10px; color: var(--gmf-green); }
.product-gallery { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.product-gallery img { width: 180px; height: 180px; object-fit: cover; background: var(--gmf-soft); }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.spec-list li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.inquiry-form, .member-form, .comment-box {
  margin: 36px 0 16px;
  padding: 24px;
  background: var(--gmf-soft);
}
.inquiry-form h2, .comment-box h2 { margin-top: 0; }
.comment-box label, .gmf-guestbook-form label { display: block; margin-bottom: 12px; }
.comment-box input, .comment-box textarea,
.gmf-guestbook-form input, .gmf-guestbook-form textarea {
  width: min(420px, 100%);
  padding: 8px 10px;
  border: 1px solid #ccc;
  background: #fff;
  box-sizing: border-box;
}

/* login / register / inquiry：标签 | 输入 | 提示 同一行 */
.gmf-auth {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.member-form-wrap {
  width: min(640px, 100%);
}
.member-form-wrap h1 {
  margin: 0 0 20px;
  font-size: 28px;
  text-align: center;
}
.member-form {
  margin: 0;
  padding: 28px 28px 24px;
  background: var(--gmf-soft);
  box-sizing: border-box;
}
.gmf-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gmf-form .mf-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.gmf-form .mf-field--top {
  align-items: flex-start;
}
.gmf-form .mf-field label {
  flex: 0 0 5em;
  margin: 0;
  text-align: right;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 40px;
}
.gmf-form .mf-field--top label {
  line-height: 1.4;
  padding-top: 10px;
}
.gmf-form .mf-field > input,
.gmf-form .mf-field > select,
.gmf-form .mf-field > textarea,
.gmf-form .mf-captcha {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
}
.gmf-form .mf-field > input,
.gmf-form .mf-field > select,
.gmf-form .mf-captcha input {
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #fff;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
}
.gmf-form .mf-field > textarea {
  min-height: 80px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #fff;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}
.gmf-form .mf-field > input:focus,
.gmf-form .mf-field > select:focus,
.gmf-form .mf-field > textarea:focus,
.gmf-form .mf-captcha input:focus {
  outline: none;
  border-color: var(--gmf-green);
}
.gmf-form .mf-hint {
  flex: 0 0 9em;
  margin: 0;
  font-size: 12px;
  color: #999;
  line-height: 1.35;
}
.gmf-form .mf-captcha {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.gmf-form .mf-captcha input {
  flex: 1;
  min-width: 0;
}
.gmf-form .mf-captcha img {
  width: 110px;
  height: 40px;
  flex: 0 0 110px;
  object-fit: cover;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}
.gmf-form .mf-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding-left: calc(5em + 12px);
}
.gmf-form .mf-actions .gmf-btn {
  min-width: 120px;
}
.gmf-form .mf-actions a {
  color: var(--gmf-green);
  font-size: 14px;
}
.gmf-form .mf-msg {
  margin: 0;
  min-height: 1.4em;
  color: #c0392b;
  font-size: 14px;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .gmf-form .mf-field {
    flex-wrap: wrap;
  }
  .gmf-form .mf-field label {
    flex: 0 0 100%;
    text-align: left;
    line-height: 1.4;
  }
  .gmf-form .mf-field > input,
  .gmf-form .mf-field > select,
  .gmf-form .mf-field > textarea,
  .gmf-form .mf-captcha {
    flex: 1 1 calc(100% - 9em - 12px);
  }
  .gmf-form .mf-actions {
    padding-left: 0;
    margin-top: 24px;
  }
}
.mf-privacy {
  align-items: flex-start;
}
.mf-privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.mf-privacy-check input {
  margin-top: 3px;
  flex: 0 0 auto;
}
.mf-privacy-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gmf-primary, #13c2c2);
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}
.gmf-privacy-dialog {
  width: min(720px, 92vw);
  max-height: min(80vh, 720px);
  padding: 0;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}
.gmf-privacy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.gmf-privacy-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}
.gmf-privacy-dialog__close {
  margin: 0;
  padding: 0 6px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.gmf-privacy-dialog__body {
  padding: 16px 18px 24px;
  overflow: auto;
  max-height: calc(min(80vh, 720px) - 56px);
}
.gmf-empty { color: #999; text-align: center; padding: 48px 0; }
.gmf-state { text-align: center; padding: 80px 0; }
.gmf-state h1 { font-size: 32px; }

/* footer */
.gmf-footer { background: var(--gmf-footer); color: #fff; padding: 48px 0 0; margin-top: auto; }
.gmf-footer a { color: #fff; }
.gmf-footer-grid { display: grid; grid-template-columns: 2fr 1.2fr auto auto; gap: 32px; padding-bottom: 40px; }
.gmf-footer h5 { margin: 0 0 16px; font-size: 16px; }
.gmf-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.2; }
.gmf-footer .qr img { width: 100px; height: 100px; object-fit: cover; background: #fff; }
.gmf-footer .qr p { margin: 8px 0 0; font-size: 12px; color: #ccc; }
.gmf-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 13px;
  color: #ccc;
}
.gmf-friend-links a { color: #ddd; }
.gmf-friend-links a:hover { color: #fff; }
.gmf-friend-links-label { color: #bbb; flex: 0 0 auto; }
.gmf-friend-links-sep { color: #666; }
.gmf-copy { border-top: 1px solid rgba(255,255,255,.2); text-align: center; padding: 16px 0; color: #bbb; }
.gmf-float {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gmf-float button, .gmf-float a {
  width: 48px; height: 48px; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: #333;
}
.gmf-float button:hover, .gmf-float a:hover { background: var(--gmf-green); color: #fff; }
.gmf-float svg { width: 20px; height: 20px; fill: currentColor; }
.gmf-wx-pop { display: none; position: absolute; right: 56px; bottom: 0; width: 140px; background: #fff; padding: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.gmf-wx { position: relative; }
.gmf-wx:hover .gmf-wx-pop { display: block; }
.gmf-mobile-bar { display: none; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e5e5e5; }
.comment-meta { color: #888; font-size: 13px; }

@media (max-width: 960px) {
  /* 顶栏：左 Logo，右 语言 | 搜索 | 汉堡（对齐参考站） */
  .gmf-header { position: sticky; }
  .gmf-header-inner {
    min-height: 64px;
    gap: 8px;
  }
  .gmf-logo { max-width: 160px; }
  .gmf-logo img { height: 40px; max-width: 150px; }
  .gmf-tools { margin-left: auto; flex: 0 0 auto; }
  .gmf-tool {
    height: 48px;
    margin: 0;
    padding: 0 10px;
  }
  .gmf-tool:not(.gmf-search):not(:last-child):after {
    top: 14px;
    height: 20px;
    background: #ccc;
  }
  .gmf-tool:has(+ .gmf-nav-toggle):after { display: block; top: 14px; height: 20px; background: #ccc; }
  /* 会员入口隐藏后，搜索与汉堡之间仍要分隔线 */
  .gmf-search:after {
    content: "";
    position: absolute;
    right: 0;
    top: 14px;
    width: 1px;
    height: 20px;
    background: #ccc;
    display: block;
  }
  .gmf-tool svg { width: 22px; height: 22px; }
  .gmf-member-tool { display: none; }
  .gmf-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .gmf-nav-caret {
    display: inline-block;
    margin-left: auto;
    padding-left: 12px;
    font-size: 14px;
    color: #999;
    line-height: 1;
  }
  .gmf-nav > li.is-open > a .gmf-nav-caret { transform: rotate(90deg); color: var(--gmf-green); }

  .gmf-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    background: #fff;
    flex: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 64px);
    overflow: auto;
    margin: 0;
    padding: 0;
    z-index: 45;
  }
  body.nav-open .gmf-nav { display: flex; }
  .gmf-nav > li {
    position: static;
    border-top: 1px solid #eee;
  }
  .gmf-nav > li > a,
  .gmf-nav > li > span {
    width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    white-space: normal;
    line-height: 1.3;
    justify-content: flex-start;
  }
  .gmf-mega {
    position: static;
    transform: none;
    width: auto;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    display: none;
    box-shadow: none;
    background: #fff;
  }
  .gmf-nav > li.is-open .gmf-mega {
    display: block;
    pointer-events: auto;
  }
  .gmf-mega-inner {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
  }
  .gmf-mega-main { width: 100%; }
  .gmf-mega-title { display: none; }
  .gmf-mega-list { display: flex; flex-direction: column; flex-wrap: nowrap; }
  .gmf-mega-list a {
    width: 100%;
    margin: 0;
    padding: 14px 20px 14px 36px;
    border-bottom: 0;
    border-top: 1px solid #eee;
    font-size: 15px;
    font-weight: 400;
  }
  .gmf-mega-list a:nth-child(2n) { margin-right: 0; }
  .gmf-mega-cover { display: none; }

  .gmf-search.is-open {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 100%;
    z-index: 46;
    height: auto;
    margin: 8px 0 0;
    padding: 8px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }
  .gmf-search.is-open:after { display: none; }
  .gmf-search.is-open input {
    width: 100%;
    opacity: 1;
    margin: 0;
  }

  /* 首页区块 */
  .section-wrap { margin: 36px auto 48px; }
  .section-aboutus { margin-bottom: 48px; }
  .section-title-row h3,
  .section-title h3 { font-size: 50px; }
  .section-title-row p,
  .section-title p {
    font-size: 24px;
    margin-top: -4px;
  }
  .section-aboutus-container,
  .section-news-container,
  .section-product-container { flex-direction: column; }
  .section-aboutus-left {
    width: 100%;
    flex: none;
    margin: 0;
  }
  .section-news-card {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .section-aboutus-right { margin: 20px 0 0; }
  .section-aboutus-copy { font-size: 14px; }
  .section-product-item { flex-direction: column; }
  .section-product-text {
    width: 100%;
    padding: 20px;
  }
  .section-product-text h3 { font-size: 16px; margin-left: 0; }
  .hero-slide .hero-caption {
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 14%;
    max-width: none;
  }
  .hero-slide .hero-caption h1 { font-size: 18px; }
  .hero-fallback { min-height: 200px; font-size: 22px; }
  .hero-slider { min-height: 180px; }

  .gmf-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .gmf-page { margin-bottom: 40px; }

  /* 移动端隐藏栏目/产品二级条，入口走主菜单（同参考站） */
  .gmf-subnav { display: none !important; }

  .news-item { flex-direction: column; gap: 16px; padding: 20px 0; }
  .news-item-cover { flex: none; width: 100%; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gmf-float { display: none; }
  .gmf-mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gmf-green);
    z-index: 35;
  }
  .gmf-mobile-bar a {
    color: #fff;
    text-align: center;
    padding: 14px 4px;
    font-size: 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }
  .gmf-mobile-bar a:last-child { border-right: 0; }
  body.theme-green-mfg { padding-bottom: 52px; }
}

@media (max-width: 640px) {
  .case-grid,
  .product-grid { grid-template-columns: 1fr; }
  .gmf-cat-cover { height: 42vw; min-height: 140px; }
  .gmf-cat-cover h1 { font-size: 20px; }
  .section-title-row h3,
  .section-title h3 { font-size: 42px; }
  .section-title-row p,
  .section-title p { font-size: 20px; }
}
