/* duanmu-theme extras — keep light, base look comes from template CSS */
.duanmu-product-archive .sec3-list,
.duanmu-product-single .sec3-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.duanmu-product-archive .sec3-list-item {
  width: 25%;
  padding: 10px;
  box-sizing: border-box;
}
@media (max-width: 992px) {
  .duanmu-product-archive .sec3-list-item { width: 33.33%; }
}
@media (max-width: 768px) {
  .duanmu-product-archive .sec3-list-item { width: 50%; }
}
@media (max-width: 480px) {
  .duanmu-product-archive .sec3-list-item { width: 100%; }
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 30px 0;
}
.cat-card {
  min-width: 160px;
  padding: 18px 22px;
  border: 1px solid #e5e5e5;
  color: #333;
  text-align: center;
  transition: all .2s ease;
}
.cat-card:hover {
  border-color: #456b4a;
  color: #456b4a;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  border: 1px solid #e8e8e8;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 220px;
  background: #faf7f2;
  font-weight: 600;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.contact-info { flex: 1 1 320px; }
.contact-form-wrap { flex: 1 1 380px; }
.contact-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}
.btn-cta {
  display: inline-block;
  background: #456b4a;
  color: #fff !important;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { background: #345a43; }
.btn-cta.secondary {
  background: #fff;
  color: #456b4a !important;
  border: 1px solid #456b4a;
}
.form-success {
  background: #eaf7ea;
  color: #2d7a2d;
  padding: 12px;
  margin-bottom: 16px;
}
.form-warning {
  background: #fff7e5;
  color: #73551d;
  border: 1px solid #ead8ad;
  padding: 12px;
  margin-bottom: 16px;
}
.form-error {
  background: #fff0ef;
  color: #8e2821;
  border: 1px solid #e7c0bd;
  padding: 12px;
  margin-bottom: 16px;
}
.contact-honeypot {
  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;
}
.contact-form [type="submit"]:disabled {
  opacity: .65;
  cursor: wait;
}
.about-ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.page-body img { max-width: 100%; height: auto; }
.search-form input { padding: 8px 10px; border: 1px solid #ddd; }

.duanmu-logo { display: block; max-width: 240px; }
.duanmu-logo img { max-width: 100%; height: auto; }
.brand-tagline { opacity: .85; font-size: 13px; margin-top: 8px; }

/* R&D team cards on about */
.rd-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 24px 0; }
.rd-card { border: 1px solid #e8e8e8; padding: 18px; background: #fff; }
.rd-card h4 { margin: 0 0 6px; color: #456b4a; }
.rd-card .role { color: #666; font-size: 13px; margin-bottom: 10px; }
.rd-card .exp, .rd-card .focus { font-size: 13px; line-height: 1.6; }

/* product category chips */
.cat-grid .cat-card { min-width: 140px; }


/* Header logo + top bar */
header.head .container { display: block; }
.duanmu-logo { display: inline-block; vertical-align: middle; max-width: 280px; padding: 12px 0; }
.duanmu-logo img { max-width: 280px; height: auto; display: block; }
header.head .head-top { text-align: right; }
.yvzhonga .lang-label { color: #333; font-size: 14px; }

/* product card images force size */
.sec3-item-box .item-pic img,
.item-pic img {
  width: 100%;
  height: auto;
  max-width: 305px;
  display: block;
  min-height: 160px;
  object-fit: cover;
  background: #eee9df;
}

/* ===== Header: logo + nav one row ===== */
.duanmu-head { background: #fff; }
.duanmu-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  transition: box-shadow .2s ease;
}
.duanmu-topbar.is-sticky { box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.duanmu-head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.duanmu-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.duanmu-logo img {
  height: 52px;
  width: auto;
  max-width: 280px;
  display: block;
}
.duanmu-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.duanmu-nav .daohang {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.duanmu-nav .daohang > li {
  position: relative;
}
.duanmu-nav .daohang > li > a {
  color: #333;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 2px;
}
.duanmu-nav .daohang > li > a:hover { color: #456b4a; }
.duanmu-head-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.duanmu-head-top .yvn { position: relative; }
.duanmu-head-top .search-form { display: flex; align-items: center; }
.duanmu-head-top .search-form input {
  width: 140px;
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
}
@media (max-width: 900px) {
  .duanmu-head-inner { gap: 12px; }
  .duanmu-nav .daohang { gap: 14px; flex-wrap: wrap; }
  .duanmu-head-top { width: 100%; justify-content: flex-end; }
}

/* ===== Banner text overlay ===== */
.duanmu-banner-item { position: relative; }
.duanmu-banner-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.duanmu-banner-bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.duanmu-banner-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}
.duanmu-banner-content {
  position: absolute;
  z-index: 2;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  color: #fff;
}
.duanmu-banner-title {
  font-size: 36px;
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.duanmu-banner-sub {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
  opacity: .95;
}
.duanmu-banner-sub p { margin: 0; }
.duanmu-banner-btn {
  display: inline-block;
  background: #456b4a;
  color: #fff;
  padding: 12px 28px;
  border-radius: 2px;
  font-size: 15px;
}
.duanmu-banner-link:hover .duanmu-banner-btn { background: #345a43; }
@media (max-width: 768px) {
  .duanmu-banner-title { font-size: 24px; }
  .duanmu-banner-sub { font-size: 14px; }
  .duanmu-banner-content { left: 6%; right: 6%; max-width: none; }
}

/* The current header is in normal flow; remove the legacy fixed-header gap. */
.duanmu-banner {
  padding-top: 0 !important;
}

/* Footer columns use zero-sized text for inline spacing; restore CTA readability. */
footer.footer .footer-cta-btn {
  font-size: 16px !important;
  line-height: 1.5;
  letter-spacing: normal;
  text-indent: 0;
  white-space: normal;
}

@media (max-width: 768px) {
  footer.footer .footer-cta-btn {
    font-size: 16px !important;
    padding: 12px 24px;
  }
}

/* Restore a visible, keyboard-accessible pagination control inside the zero-size product list. */
.page-nav {
  max-width: 100%;
  font-size: 16px !important;
  line-height: 1.5;
}
.page-nav .nav-links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page-nav .page-numbers {
  box-sizing: border-box;
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #d8d0c4;
  color: inherit;
  line-height: 1.25;
  text-decoration: none;
}
.page-nav a.page-numbers:hover {
  border-color: #456b4a;
}
.page-nav a.page-numbers:focus-visible {
  outline: 2px solid #6b805e;
  outline-offset: 2px;
}
.page-nav .page-numbers.current {
  border-color: #456b4a;
  background: #456b4a;
  color: #fff;
}
.page-nav .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

/* Product details need a real two-column layout and a visible full-size image. */
body.single-product .pro-contain .pro-main {
  float: none;
  width: 100%;
  margin: 0;
  min-width: 0;
  box-sizing: border-box;
}
body.single-product .m-prob1 {
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}
body.single-product .m-prob1 > .prob-pic,
body.single-product .m-prob1 > .prob-info {
  float: none;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
body.single-product .prob-pic-big {
  display: block !important;
  max-width: 100%;
}
body.single-product .prob-pic-big a {
  display: block;
  max-width: 100%;
}
body.single-product .prob-pic-big img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
body.single-product .prob-info {
  overflow-wrap: anywhere;
}
body.single-product .spec-table td {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
body.single-product .inno {
  font-size: 16px !important;
  line-height: 1.7;
}
body.single-product .btn-inquire {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 22px;
  border: 1px solid #456b4a;
  border-radius: 2px;
  background: #456b4a;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.4;
  text-decoration: none;
}
body.single-product .btn-inquire:hover {
  border-color: #345a43;
  background: #345a43;
}
body.single-product .btn-inquire:focus-visible {
  outline: 2px solid #6b805e;
  outline-offset: 2px;
}
.duanmu-banner-title { color: #fff; }
.contact-info,
.contact-info li {
  font-size: 16px !important;
  line-height: 1.7;
}
@media (max-width: 768px) {
  body.single-product .m-prob1 {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* Reference-led public site palette and layout. */
:root {
  --duanmu-ink: #2f4435;
  --duanmu-green: #486c4c;
  --duanmu-green-dark: #345a43;
  --duanmu-cream: #f8f5ed;
  --duanmu-sand: #e8dfc9;
  --duanmu-line: #ded6c5;
  --duanmu-copper: #8f7b57;
}

html { scroll-behavior: smooth; }
body {
  background: var(--duanmu-cream);
  color: #45483f;
  font-family: Lato, Arial, sans-serif;
}
h1, h2, h3, .sec-title, .page-title {
  color: #191b17;
  font-family: Lora, Georgia, serif;
  font-weight: 400;
}
a { color: var(--duanmu-green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--duanmu-green);
  outline-offset: 3px;
}

/* Two-level header: brand at left, language/search above the navigation. */
.duanmu-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--duanmu-cream);
  border-bottom: 1px solid var(--duanmu-line);
  transition: box-shadow .2s ease;
}
.duanmu-topbar.is-sticky { box-shadow: 0 5px 18px rgba(50, 58, 44, .08); }
.duanmu-header-inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 36px;
  width: min(100% - 48px, 1320px);
  min-height: 128px;
  margin: 0 auto;
  padding: 14px 0;
}
.duanmu-topbar .logo { display: block; justify-self: start; line-height: 0; }
.duanmu-topbar .logo img { display: block; width: auto; height: 62px; max-width: 100%; }
.duanmu-header-right {
  display: grid;
  justify-items: end;
  gap: 16px;
  min-width: 0;
}
.duanmu-header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.duanmu-topbar .lang { display: flex; align-items: center; flex: 0 0 auto; }
.duanmu-topbar .lang .yvzhonga {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #595a53;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}
.duanmu-topbar .lang .yvzhonga::before { content: none !important; display: none !important; }
.duanmu-topbar .lang .yvzhonga::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  flex: 0 0 auto;
  margin-top: 4px;
  border: 4px solid transparent;
  border-top-color: #75776e;
  border-bottom: 0;
}
.duanmu-topbar .lang .yvul { top: calc(100% + 8px); border-color: var(--duanmu-line); box-shadow: 0 8px 20px rgba(50, 58, 44, .1); }
.duanmu-topbar .lang .yvul li a:hover { background: #f2eee4; color: var(--duanmu-green-dark); }
.duanmu-search-form { position: relative; display: flex; align-items: center; gap: 4px; margin: 0; }
.duanmu-search-form input {
  box-sizing: border-box;
  width: 0;
  max-width: 0;
  height: 38px;
  padding: 8px 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  transition: max-width .2s ease, opacity .2s ease, padding .2s ease;
}
.duanmu-search-form.is-open input {
  width: 190px;
  max-width: 190px;
  padding: 8px 10px;
  border: 1px solid var(--duanmu-line);
  opacity: 1;
  visibility: visible;
}
.duanmu-search-button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--duanmu-green-dark);
  cursor: pointer;
}
.duanmu-search-button:hover,
.duanmu-search-button:focus-visible { border-color: var(--duanmu-line); background: #fff; }
.duanmu-search-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.duanmu-search-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f3830;
  cursor: pointer;
}
.duanmu-search-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.duanmu-topbar .menu { justify-self: end; min-width: 0; }
.duanmu-topbar .menu ul.daohang,
.duanmu-topbar .menu .daohang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3.5vw, 50px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.duanmu-topbar .menu li { float: none; margin: 0; padding: 0; list-style: none; }
.duanmu-topbar .menu a {
  display: inline-block;
  padding: 4px 0;
  color: #3f403a;
  font-family: Lora, Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease;
}
.duanmu-topbar .menu .daohang > li > a {
  font-family: Lora, Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
}
.duanmu-topbar .menu .daohang > li > a:lang(zh) {
  font-family: SimSun, "宋体", "Songti SC", STSong, "Noto Serif SC", "Source Han Serif SC", serif !important;
}
.duanmu-topbar .menu a:hover,
.duanmu-topbar .menu .current-menu-item > a,
.duanmu-topbar .menu .current_page_item > a { color: var(--duanmu-copper); }

/* Split hero uses slide content and its featured image from the admin. */
.duanmu-banner { padding: 0 !important; background: var(--duanmu-sand); }
.duanmu-slider:not(.slick-initialized) .duanmu-banner-item:not(:first-child) { display: none; }
.duanmu-banner-item { background: var(--duanmu-sand); }
.duanmu-hero-layout {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  width: min(100% - 48px, 1320px);
  min-height: 560px;
  margin: 0 auto;
  padding: 50px 0 58px;
}
.duanmu-banner-content {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  max-width: 600px;
  transform: none;
  color: var(--duanmu-ink);
}
.duanmu-banner-title {
  max-width: 660px;
  margin: 0 0 20px;
  color: #344b3a;
  font-family: Lato, Arial, sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.035em;
  text-shadow: none;
  text-wrap: balance;
}
.duanmu-banner-sub {
  max-width: 520px;
  margin: 0 0 26px;
  color: #5a6255;
  font-size: 17px;
  line-height: 1.7;
  opacity: 1;
}
.duanmu-banner-sub p { margin: 0; }
.duanmu-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.duanmu-hero-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 11px 25px;
  border: 1px solid var(--duanmu-green-dark);
  color: var(--duanmu-green-dark) !important;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.duanmu-hero-button.primary { background: var(--duanmu-green-dark); color: #fff !important; }
.duanmu-hero-button.secondary { background: transparent; }
.duanmu-hero-button:hover { transform: translateY(-1px); }
.duanmu-hero-button.primary:hover { background: #253e2e; border-color: #253e2e; }
.duanmu-hero-button.secondary:hover { background: #fff; }
.duanmu-hero-image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: min(-24px, calc(660px - 50vw));
  right: min(-24px, calc(660px - 50vw));
  z-index: 0;
  width: auto;
  min-width: 0;
}
.duanmu-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duanmu-banner .slick-arrow { z-index: 5; width: 42px; height: 42px; border: 1px solid rgba(48, 77, 59, .32); border-radius: 50%; background: rgba(248, 245, 240, .84); }
.duanmu-banner .slick-arrow::before { color: var(--duanmu-green-dark); }
.duanmu-banner .slick-dots { bottom: 14px; }
.duanmu-banner .slick-dots li button::before { color: var(--duanmu-green); opacity: .42; }
.duanmu-banner .slick-dots li.slick-active button::before { opacity: .9; }

/* Product cards and category links follow the reference site's open spacing. */
.duanmu-home-products,
.duanmu-home-categories,
.duanmu-home-patent-gallery { padding: 62px 0 72px; }
.duanmu-home-products .container,
.duanmu-home-categories .container,
.duanmu-home-patent-gallery .container,
.duanmu-home-feature .container { width: min(100% - 48px, 1200px); margin-right: auto; margin-left: auto; }
.duanmu-section-title {
  margin: 0 0 14px;
  color: #191b17;
  font-family: Lora, Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: clamp(29px, 3vw, 36px);
  line-height: 1.25;
  text-align: center;
}
.duanmu-section-intro {
  max-width: 760px;
  margin: 0 auto 34px;
  color: #6a6d65;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}
.duanmu-featured-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 34px 0 28px !important;
}
.duanmu-featured-list .sec3-list-item { width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
.duanmu-featured-list .sec3-item-box { height: 100%; border: 0; background: transparent; box-shadow: none; }
.duanmu-featured-list .item-pic { overflow: hidden; aspect-ratio: 1.05; background: #eee8dc; }
.duanmu-featured-list .item-pic img { width: 100%; height: 100%; max-width: none; min-height: 0; object-fit: cover; transition: transform .45s ease; }
.duanmu-featured-list .duanmu-empty-media { display: block; width: 100%; height: 100%; background: #eee8dc; }
.duanmu-featured-list .sec3-item-box:hover .item-pic img { transform: scale(1.035); }
.duanmu-featured-list .item-body { padding: 15px 0 0; }
.duanmu-featured-list .item-title a { color: #20231e; font-family: Lora, Georgia, serif; font-size: 19px; text-decoration: none; }
.duanmu-featured-list .item-desc a { color: #77786f; font-size: 14px; line-height: 1.6; text-decoration: none; }
.duanmu-text-link {
  display: table;
  margin: 24px auto 0;
  padding: 3px 0 5px;
  border-bottom: 1px solid var(--duanmu-green);
  color: var(--duanmu-green-dark);
  font-size: 15px;
  text-decoration: none;
}
.duanmu-text-link:hover { color: var(--duanmu-copper); border-color: var(--duanmu-copper); }
.duanmu-home-categories { background: #f2eee5; }
.duanmu-category-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.duanmu-category-item {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 19px 18px;
  border: 1px solid #e1dacb;
  background: rgba(255, 255, 255, .42);
  color: #394d3b;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.duanmu-category-item:hover { transform: translateY(-2px); border-color: #91a083; background: #fff; }
.duanmu-category-name { font-family: Lora, Georgia, serif; font-size: 17px; line-height: 1.4; }
.duanmu-category-count { align-self: flex-end; color: #8c8f84; font-size: 12px; font-variant-numeric: tabular-nums; }

/* Optional home sections appear only when their editable fields are populated. */
.duanmu-home-feature { padding: 72px 0; }
.duanmu-home-feature.duanmu-home-about { background: var(--duanmu-cream); }
.duanmu-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}
.duanmu-feature-layout.reverse .duanmu-feature-image { order: 2; }
.duanmu-feature-layout.reverse .duanmu-feature-copy { order: 1; }
.duanmu-feature-layout.no-image { grid-template-columns: minmax(0, 780px); justify-content: center; }
.duanmu-feature-image img { display: block; width: 100%; max-height: 450px; object-fit: cover; }
.duanmu-feature-copy h2 { margin: 0 0 16px; color: var(--duanmu-ink); font-size: clamp(28px, 3vw, 36px); line-height: 1.25; }
.duanmu-feature-description { max-width: 590px; color: #65685f; font-size: 16px; line-height: 1.75; }
.duanmu-feature-description p { margin: 0 0 14px; }
.duanmu-patent-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.duanmu-patent-card { padding: 20px; border-top: 2px solid #718768; background: #fff; }
.duanmu-patent-card h3 { margin: 0 0 10px; color: #303c31; font-family: Lato, Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.duanmu-patent-card p { margin: 0 0 12px; color: #74766d; font-size: 14px; }
.duanmu-patent-card a { color: var(--duanmu-green); font-size: 14px; }

/* Internal page title strip and category navigation. */
.bread { padding: 48px 0 44px; background: var(--duanmu-sand); }
.bread .container { width: min(100% - 48px, 1200px); margin: 0 auto; text-align: center; }
.bread .page-title { margin: 0 0 20px; color: #191b17; font-size: clamp(30px, 3vw, 37px); line-height: 1.25; }
.bread .page-href { color: #74766e; font-size: 14px; }
.bread .page-href a { color: #53634e; text-decoration: none; }
.bread .page-href a:hover { color: var(--duanmu-copper); }
.duanmu-category-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0 0 32px; }
.duanmu-category-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  box-sizing: border-box;
  padding: 7px 14px;
  border: 1px solid #dfd8ca;
  color: #53614f;
  font-size: 14px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.duanmu-category-nav a:hover,
.duanmu-category-nav a.is-current { border-color: var(--duanmu-green); background: var(--duanmu-green); color: #fff; }
.term-desc { max-width: 760px; margin: 0 auto 28px; color: #6a6d65; font-size: 15px; line-height: 1.7; text-align: center; }
.section.product { padding: 54px 0 74px; }
.section.product > .container { width: min(100% - 48px, 1200px); margin: 0 auto; }
.duanmu-product-archive .sec3-list,
.duanmu-product-single .sec3-list { gap: 8px 0; }
.duanmu-product-archive .sec3-list-item { padding: 10px; }
.duanmu-product-archive .sec3-item-box { background: transparent; border: 0; }
.duanmu-product-archive .item-pic { overflow: hidden; aspect-ratio: 1 / 1; background: #eee8dc; }
.duanmu-product-archive .item-pic img { width: 100%; height: 100%; min-height: 0; max-width: none; object-fit: cover; }
.duanmu-product-archive .duanmu-empty-media { display: block; width: 100%; height: 100%; background: #eee8dc; }
.duanmu-product-archive .item-body { padding: 14px 0 0; }
.duanmu-product-archive .item-title a { color: #242720; font-family: Lora, Georgia, serif; font-size: 19px; text-decoration: none; }
.duanmu-product-archive .item-desc a { color: #77786f; font-size: 14px; line-height: 1.6; text-decoration: none; }

/* Product details retain the two-column image/description structure. */
body.single-product .section.product { padding-top: 56px; }
body.single-product .m-prob1 { gap: clamp(34px, 5.5vw, 78px); }
body.single-product .prob-pic-big { overflow: hidden; background: #eee8dc; }
body.single-product .prob-pic-big img { aspect-ratio: 1 / 1; object-fit: cover; }
body.single-product .pro-title { margin: 0 0 18px; color: #242720; font-family: Lora, Georgia, serif; font-size: clamp(27px, 3vw, 36px); font-weight: 400; line-height: 1.3; }
body.single-product .prob-info { padding: 2px 0; }
body.single-product .inno { color: #65685f; font-size: 16px !important; line-height: 1.75; }
body.single-product .inquiry-btns { margin-top: 28px; }
body.single-product .btn-inquire { border-color: var(--duanmu-green-dark); background: var(--duanmu-green-dark); }
body.single-product .btn-inquire:hover { border-color: #253e2e; background: #253e2e; }
body.single-product .product-detail,
body.single-product .pro-related { margin-top: 58px; }
body.single-product .product-detail { display: flex; flex-direction: column; gap: clamp(26px, 3vw, 36px); }
body.single-product .product-detail-section { min-width: 0; }
body.single-product .prodetails-title,
body.single-product .pro-related-title { margin: 0 0 16px; color: #2f4434; font-family: Lora, Georgia, serif; font-size: 25px; font-weight: 400; }
body.single-product .prodetails-title { margin-bottom: 12px; font-size: clamp(22px, 2.2vw, 25px); line-height: 1.35; }
body.single-product .prodetails-desc { color: #5f635a; font-size: 15px; line-height: 1.8; }
body.single-product .prodetails-desc > :first-child { margin-top: 0; }
body.single-product .prodetails-desc > :last-child { margin-bottom: 0; }
body.single-product .prodetails-desc p { margin: 0 0 12px; }
body.single-product .spec-table th { width: 22%; background: #f2eee5; color: #40493f; }
body.single-product .spec-table th,
body.single-product .spec-table td { border-color: #e6dfd2; padding: 12px 16px; }
.duanmu-product-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 10px; margin-top: 12px; }
.duanmu-product-gallery a { display: block; overflow: hidden; background: #eee8dc; }
.duanmu-product-gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.duanmu-product-manual { display: inline-flex; margin-top: 22px; padding: 10px 16px; border: 1px solid var(--duanmu-green); color: var(--duanmu-green-dark); text-decoration: none; }
.duanmu-product-manual:hover { background: var(--duanmu-green-dark); color: #fff; }

/* R&D profiles and the supplied technical gallery. */
.duanmu-page-content { padding: 54px 0 74px; }
.duanmu-page-content > .container { width: min(100% - 48px, 1200px); margin: 0 auto; }
.duanmu-page-body { max-width: 920px; margin: 0 auto 42px; color: #565a51; font-size: 16px; line-height: 1.8; }
.duanmu-page-body img { max-width: 100%; height: auto; }
.duanmu-team-section { margin-top: 42px; }
.duanmu-team-section > h2,
.duanmu-patents-section > h2 { margin: 0 0 26px; color: var(--duanmu-ink); font-size: 32px; text-align: center; }
.rd-team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; }
.rd-card { padding: 0 0 18px; border: 0; background: transparent; }
.rd-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 16px; }
.rd-card h3, .rd-card h4 { margin: 0 0 7px; color: #293e2e; font-family: Lora, Georgia, serif; font-size: 20px; font-weight: 400; }
.rd-card .role { color: var(--duanmu-copper); font-size: 14px; line-height: 1.5; }
.rd-card .exp, .rd-card .focus { color: #686b63; font-size: 14px; line-height: 1.7; }
.duanmu-research-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.duanmu-research-gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.duanmu-patents-section { margin-top: 58px; }
.duanmu-patent-details { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
.duanmu-patent-details dt { color: #77796f; }
.duanmu-patent-details dd { min-width: 0; margin: 0; color: #55594f; overflow-wrap: anywhere; }

/* Contact information stays compact while the existing inquiry form remains usable. */
.contact-grid { align-items: start; gap: clamp(32px, 5vw, 72px); }
.contact-info { color: #5d6258; }
.contact-list { margin-top: 26px; padding: 0; list-style: none; }
.contact-list li { margin: 0 0 14px; }
.contact-list strong { margin-right: 8px; color: #3f4e3f; font-weight: 600; }
.contact-list a { color: var(--duanmu-green-dark); }
.contact-form-wrap { padding: 28px; border: 1px solid var(--duanmu-line); background: #fff; }
.contact-form-wrap h2 { margin-top: 0; color: var(--duanmu-ink); font-size: 25px; }
.contact-form input, .contact-form textarea { border-color: #dcd8cf; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--duanmu-green); }
.btn-cta, .btn-cta.secondary { border-color: var(--duanmu-green-dark); background: var(--duanmu-green-dark); color: #fff !important; }
.btn-cta:hover { background: #253e2e; }
.btn-cta.secondary:hover { background: transparent; color: var(--duanmu-green-dark) !important; }

/* Footer uses the same warm background and the customer-managed contact details. */
footer.footer { margin-top: 0; background: #eee9df; color: #55594f; }
footer.footer .fo-top { padding: 44px 0; }
footer.footer .footer-title { color: #3b4c3d; font-family: Lora, Georgia, serif; font-size: 18px; font-weight: 400; }
footer.footer a { color: #50624b; text-decoration: none; }
footer.footer a:hover { color: var(--duanmu-copper); }
footer.footer .copyright { border-top: 1px solid #dfd9ce; background: transparent; color: #77796f; }
footer.footer .duanmu-copyright-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding-top: 12px; padding-bottom: 12px; }
footer.footer .duanmu-copyright-divider { color: #aaa99f; }
footer.footer .duanmu-footer-registration-link { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 960px) {
  .duanmu-header-inner { grid-template-columns: 170px minmax(0, 1fr); gap: 22px; min-height: 112px; }
  .duanmu-topbar .logo img { height: 54px; }
  .duanmu-topbar .menu ul.daohang, .duanmu-topbar .menu .daohang { gap: 18px; }
  .duanmu-topbar .menu a { font-size: 15px; }
  .duanmu-hero-layout { min-height: 480px; gap: 32px; }
  .duanmu-featured-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duanmu-category-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .duanmu-patent-list, .rd-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .duanmu-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; min-height: 0; padding: 14px 0 10px; }
  .duanmu-topbar .logo { grid-column: 1; grid-row: 1; }
  .duanmu-header-right { display: contents; }
  .duanmu-header-tools { grid-column: 2; grid-row: 1; gap: 10px; }
  .duanmu-topbar .menu { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; overflow-x: auto; }
  .duanmu-topbar .menu ul.daohang,
  .duanmu-topbar .menu .daohang { width: max-content; justify-content: flex-start; gap: 18px; }
}
@media (max-width: 680px) {
  .duanmu-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    width: calc(100% - 32px);
    min-height: 0;
    padding: 13px 0 10px;
  }
  .duanmu-topbar .logo img { height: 42px; }
  .duanmu-header-right { display: contents; }
  .duanmu-header-tools { grid-column: 2; grid-row: 1; gap: 8px; }
  .duanmu-topbar .menu { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; overflow-x: auto; }
  .duanmu-topbar .menu ul.daohang, .duanmu-topbar .menu .daohang { width: max-content; justify-content: flex-start; gap: 20px; }
  .duanmu-topbar .menu a { font-size: 14px; }
  .duanmu-search-form.is-open input { width: min(42vw, 160px); max-width: min(42vw, 160px); }
  .duanmu-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: calc(100% - 32px);
    min-height: 0;
    padding: 44px 0 54px;
  }
  .duanmu-hero-image { position: static; inset: auto; width: auto; }
  .duanmu-banner-title { font-size: clamp(31px, 9vw, 42px); }
  .duanmu-banner-sub { font-size: 15px; }
  .duanmu-hero-image img { height: min(68vw, 360px); }
  .duanmu-home-products, .duanmu-home-categories, .duanmu-home-patent-gallery { padding: 48px 0 54px; }
  .duanmu-home-products .container, .duanmu-home-categories .container, .duanmu-home-patent-gallery .container, .duanmu-home-feature .container,
  .bread .container, .section.product > .container, .duanmu-page-content > .container { width: calc(100% - 32px); }
  .duanmu-featured-list { gap: 18px 12px; margin-top: 26px !important; }
  .duanmu-featured-list .item-title a { font-size: 16px; }
  .duanmu-featured-list .item-desc { display: none; }
  .duanmu-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .duanmu-category-item { min-height: 94px; padding: 15px; }
  .duanmu-category-name { font-size: 15px; }
  .duanmu-home-feature { padding: 48px 0; }
  .duanmu-feature-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .duanmu-feature-layout.reverse .duanmu-feature-image, .duanmu-feature-layout.reverse .duanmu-feature-copy { order: initial; }
  .duanmu-feature-image img { max-height: 320px; }
  .duanmu-patent-list, .rd-team, .duanmu-research-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bread { padding: 35px 0 32px; }
  .bread .page-title { margin-bottom: 14px; }
  .section.product { padding: 36px 0 54px; }
  body.single-product .product-detail,
  body.single-product .pro-related { margin-top: 40px; }
  body.single-product .product-detail { gap: 26px; }
  body.single-product .prodetails-title { margin-bottom: 10px; }
  body.single-product .spec-table th,
  body.single-product .spec-table td { padding: 10px 12px; }
  body.single-product .spec-table th { width: 32%; }
  .duanmu-category-nav { justify-content: flex-start; gap: 7px; margin-bottom: 24px; }
  .duanmu-category-nav a { min-height: 35px; padding: 6px 10px; font-size: 13px; }
  .duanmu-product-archive .sec3-list-item { width: 50%; padding: 7px; }
  .duanmu-product-archive .item-title a { font-size: 16px; }
  .contact-form-wrap { padding: 20px; }
}

/* Header layering, native-ratio logo sizing, About and Contact layouts. */
.duanmu-topbar { z-index: 1200; isolation: isolate; }
.duanmu-header-inner { grid-template-columns: minmax(320px, 380px) minmax(0, 1fr); }
.duanmu-topbar .logo { width: 100%; min-width: 0; }
.duanmu-topbar .logo img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.duanmu-topbar .duanmu-header-tools,
.duanmu-topbar .lang,
.duanmu-topbar .lang .yvn { position: relative; z-index: 4; min-width: 0; margin: 0; padding: 0; }
.duanmu-topbar .menu { position: relative; z-index: 1; }
.duanmu-topbar .lang .yvzhonga:focus-visible { outline: 2px solid var(--duanmu-green); outline-offset: 4px; }
.duanmu-topbar .lang .yvul {
  position: absolute;
  z-index: 1201;
  top: calc(100% + 8px);
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--duanmu-line);
  border-radius: 3px;
  background-color: #fff;
  opacity: 1;
  box-shadow: 0 12px 28px rgba(39, 48, 37, .16);
  isolation: isolate;
}
.duanmu-topbar .lang .yvul li a { display: block; padding: 9px 12px; background: #fff; color: var(--duanmu-ink); }
.duanmu-topbar .lang .yvul li a:hover,
.duanmu-topbar .lang .yvul li a:focus-visible { background: #f2eee4; color: var(--duanmu-green-dark); }

.duanmu-about-page { padding-top: 44px; }
.duanmu-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding: 12px 0 62px;
  border-bottom: 1px solid var(--duanmu-line);
}
.duanmu-about-intro.is-copy-only { grid-template-columns: minmax(0, 1fr); }
.duanmu-about-intro.is-copy-only .duanmu-about-copy { max-width: 860px; }
.duanmu-about-eyebrow { margin: 0 0 12px; color: var(--duanmu-green-dark); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.duanmu-about-copy h1 { max-width: 760px; margin: 0 0 20px; color: var(--duanmu-ink); font-family: Lora, Georgia, serif; font-size: clamp(34px, 4.2vw, 54px); font-weight: 400; line-height: 1.18; }
.duanmu-about-lede { max-width: 680px; color: #5d6258; font-size: 17px; line-height: 1.8; }
.duanmu-about-lede > :first-child { margin-top: 0; }
.duanmu-about-lede > :last-child { margin-bottom: 0; }
.duanmu-about-image { margin: 0; overflow: hidden; background: #eee9df; }
.duanmu-about-image img { display: block; width: 100%; max-height: 460px; aspect-ratio: 16 / 9; object-fit: cover; }
.duanmu-about-page .about-ctas { margin-top: 28px; }
.duanmu-about-page .about-ctas .btn-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.duanmu-about-story { max-width: 980px; margin: 50px auto 0; }
.duanmu-about-story .duanmu-page-body { max-width: none; margin: 0; color: #555b51; font-size: 16px; line-height: 1.9; }
.duanmu-about-story .duanmu-page-body > :first-child { margin-top: 0; }
.duanmu-about-story .duanmu-page-body h2,
.duanmu-about-story .duanmu-page-body h3 { margin-top: 1.8em; color: var(--duanmu-ink); font-family: Lora, Georgia, serif; font-weight: 400; line-height: 1.3; }
.duanmu-about-story .duanmu-page-body img { height: auto; }
.duanmu-contact-page { padding-top: clamp(54px, 7vw, 88px); padding-bottom: clamp(64px, 8vw, 96px); }
.duanmu-contact-page .contact-grid { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(30px, 6vw, 82px); }
.duanmu-contact-aside { padding-top: 12px; }
.duanmu-contact-intro { max-width: 38ch; margin: 0 0 28px; color: var(--duanmu-ink); font-family: Lora, Georgia, serif; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.48; }
.duanmu-contact-email { display: flex; align-items: center; gap: 14px; max-width: 390px; padding: 18px 20px; border: 1px solid var(--duanmu-line); background: #fff; color: var(--duanmu-green-dark); text-decoration: none; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.duanmu-contact-email:hover { transform: translateY(-2px); border-color: var(--duanmu-green); background: #fbfaf7; }
.duanmu-contact-email:focus-visible { outline: 2px solid var(--duanmu-green); outline-offset: 3px; }
.duanmu-contact-email svg { flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.duanmu-contact-email span { display: grid; gap: 5px; min-width: 0; }
.duanmu-contact-email small { color: #77796f; font-size: 13px; }
.duanmu-contact-email strong { overflow-wrap: anywhere; font-size: 16px; font-weight: 600; }
.duanmu-contact-page .contact-form-wrap { padding: clamp(22px, 3.2vw, 38px); border: 1px solid var(--duanmu-line); background: #fff; box-shadow: 0 12px 34px rgba(40, 48, 38, .05); }
.duanmu-contact-page .contact-form-wrap h2 { margin-bottom: 24px; font-family: Lora, Georgia, serif; font-size: clamp(24px, 2.7vw, 31px); font-weight: 400; }
.duanmu-contact-page .contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; }
.duanmu-contact-page .contact-form label { min-width: 0; margin: 0; color: #4e554b; font-size: 14px; line-height: 1.5; }
.duanmu-contact-page .contact-form label:last-of-type { grid-column: 1 / -1; }
.duanmu-contact-page .contact-form label span { color: #8b6540; }
.duanmu-contact-page .contact-form input,
.duanmu-contact-page .contact-form textarea { margin-top: 7px; border-radius: 0; padding: 11px 12px; color: var(--duanmu-ink); font: inherit; }
.duanmu-contact-page .contact-form textarea { min-height: 140px; resize: vertical; }
.duanmu-contact-page .contact-form [type="submit"] { grid-column: 1 / -1; justify-self: start; min-width: 150px; margin-top: 4px; }

.duanmu-floating-contact { position: fixed; z-index: 1100; top: 40%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 6px; border: 1px solid rgba(38, 67, 48, .1); border-radius: 28px; background: #fff; box-shadow: 0 5px 20px rgba(35, 52, 38, .14); transform: translateY(-50%); }
.duanmu-floating-contact.is-left { left: max(12px, env(safe-area-inset-left)); right: auto; }
.duanmu-floating-contact.is-right { right: max(12px, env(safe-area-inset-right)); left: auto; }
.duanmu-floating-contact-link { position: relative; display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--duanmu-green-dark); box-shadow: none; text-decoration: none; transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.duanmu-floating-contact-link:hover,
.duanmu-floating-contact-link:focus-visible,
.duanmu-floating-contact-link:active { transform: translateX(2px); background: var(--duanmu-green-dark); color: #fff; box-shadow: 0 3px 8px rgba(35, 52, 38, .2); outline: 2px solid rgba(60, 95, 69, .28); outline-offset: 2px; }
.duanmu-floating-contact.is-right .duanmu-floating-contact-link:hover,
.duanmu-floating-contact.is-right .duanmu-floating-contact-link:focus-visible,
.duanmu-floating-contact.is-right .duanmu-floating-contact-link:active { transform: translateX(-2px); }
.duanmu-floating-contact-link svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.duanmu-floating-contact-link[aria-label="Facebook"] svg,
.duanmu-floating-contact-link[aria-label="LinkedIn"] svg { fill: currentColor; stroke: none; }
.duanmu-floating-contact-label { position: absolute; top: 50%; left: calc(100% + 10px); z-index: 3; width: max-content; max-width: min(280px, 72vw); padding: 9px 12px; border: 1px solid var(--duanmu-line); background: #fff; color: var(--duanmu-ink); box-shadow: 0 5px 16px rgba(34, 44, 33, .12); font-size: 13px; line-height: 1.3; opacity: 0; pointer-events: none; transform: translate(-4px, -50%); transition: opacity .16s ease, transform .16s ease; }
.duanmu-floating-contact.is-right .duanmu-floating-contact-label { right: calc(100% + 10px); left: auto; transform: translate(4px, -50%); }
.duanmu-floating-contact-link:hover .duanmu-floating-contact-label,
.duanmu-floating-contact-link:focus-visible .duanmu-floating-contact-label { opacity: 1; transform: translate(0, -50%); }
.duanmu-floating-qr { position: relative; }
.duanmu-floating-qr > summary { list-style: none; cursor: pointer; }
.duanmu-floating-qr > summary::-webkit-details-marker { display: none; }
.duanmu-floating-qr-panel { position: absolute; top: 50%; left: calc(100% + 12px); display: block; width: 176px; padding: 10px; border: 1px solid var(--duanmu-line); background: #fff; box-shadow: 0 8px 24px rgba(34, 44, 33, .16); transform: translateY(-50%); }
.duanmu-floating-qr-panel img { display: block; width: 100%; height: auto; }
.duanmu-floating-contact.is-right .duanmu-floating-qr-panel { right: calc(100% + 12px); left: auto; }

@media (max-width: 760px) {
  .duanmu-floating-contact { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); flex-direction: row; gap: 5px; padding: 5px; transform: none; }
  .duanmu-floating-contact.is-left { left: max(12px, env(safe-area-inset-left)); }
  .duanmu-floating-contact.is-right { right: max(12px, env(safe-area-inset-right)); }
  .duanmu-contact-page { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .duanmu-floating-contact-link:hover,
  .duanmu-floating-contact-link:focus-visible,
  .duanmu-floating-contact-link:active,
  .duanmu-floating-contact.is-right .duanmu-floating-contact-link:hover,
  .duanmu-floating-contact.is-right .duanmu-floating-contact-link:focus-visible,
  .duanmu-floating-contact.is-right .duanmu-floating-contact-link:active { transform: translateY(-2px); }
  .duanmu-floating-contact-label { display: none; }
  .duanmu-floating-qr-panel { position: fixed; top: auto; bottom: calc(62px + env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); transform: none; }
  .duanmu-floating-contact.is-right .duanmu-floating-qr-panel { right: max(12px, env(safe-area-inset-right)); left: auto; }
}

@media (max-width: 1280px) {
  .duanmu-header-inner { grid-template-columns: minmax(280px, 330px) minmax(0, 1fr); }
  .duanmu-topbar .logo img { width: 320px; }
  .duanmu-contact-page .contact-grid { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 30px; }
}
@media (max-width: 680px) {
  .duanmu-header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .duanmu-topbar .logo img { width: 210px; }
  .duanmu-about-page { padding-top: 34px; }
  .duanmu-about-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 42px; }
  .duanmu-about-intro.has-image .duanmu-about-image { grid-row: 1; }
  .duanmu-about-story { margin-top: 36px; }
  .duanmu-contact-page .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .duanmu-contact-aside { padding-top: 0; }
  .duanmu-contact-intro { font-size: 22px; }
  .duanmu-floating-contact { gap: 5px; }
  .duanmu-floating-contact.is-left { left: max(12px, env(safe-area-inset-left)); }
  .duanmu-floating-contact.is-right { right: max(12px, env(safe-area-inset-right)); }
  .duanmu-floating-contact-link { width: 38px; height: 38px; }
  .duanmu-floating-contact-link svg { width: 18px; height: 18px; }
}

/* Catalog and site palette: forest greens, pale wood khaki, and warm ivory. */
body { background: var(--duanmu-cream); color: #4c554a; }
.duanmu-head,
.duanmu-topbar { background: var(--duanmu-cream); }
body h1,
body h2,
body h3,
.duanmu-section-title,
.bread .page-title { color: var(--duanmu-ink); }
.bread { background: var(--duanmu-sand); }
.duanmu-home-categories,
body.single-product .spec-table th { background: #eee8d9; }
.duanmu-banner-item::after {
  background: none;
}
.duanmu-banner-title { text-shadow: none; }
.duanmu-banner-btn,
.btn-cta,
body.single-product .btn-inquire,
.duanmu-hero-button.primary { border-color: var(--duanmu-green-dark); background: var(--duanmu-green-dark); }
.duanmu-banner-link:hover .duanmu-banner-btn,
.btn-cta:hover,
body.single-product .btn-inquire:hover,
.duanmu-hero-button.primary:hover { border-color: #294936; background: #294936; }
.duanmu-nav .daohang > li > a:hover,
.bread .page-href a:hover,
.duanmu-text-link:hover,
footer.footer a:hover { color: var(--duanmu-green-dark); }
footer.footer { background: #eee8d9; }

.section.product.duanmu-product-catalog { padding: 80px 0 76px; }
.duanmu-catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}
.duanmu-catalog-layout.without-sidebar { grid-template-columns: minmax(0, 1fr); }
.duanmu-category-sidebar { min-width: 0; }
.duanmu-category-sidebar h2 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #8e8878;
  color: var(--duanmu-ink);
  font-family: Lora, Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}
.duanmu-category-sidebar nav { display: grid; }
.duanmu-category-link {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  padding: 9px 12px 9px 16px;
  border-bottom: 1px solid #e9e3d7;
  color: #465344;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.duanmu-category-link:hover,
.duanmu-category-link:focus-visible,
.duanmu-category-link.is-current {
  border-left: 3px solid var(--duanmu-green);
  background: #eee8d9;
  color: var(--duanmu-green-dark);
}
.duanmu-category-link:focus-visible { outline: 2px solid var(--duanmu-green); outline-offset: 2px; }
.duanmu-category-arrow { color: var(--duanmu-green); font-size: 23px; line-height: 1; }
.duanmu-product-results { min-width: 0; }
.duanmu-product-results .term-desc { max-width: none; margin: 0 0 28px; text-align: left; }
.duanmu-catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  margin: 0 !important;
}
.duanmu-catalog-grid .sec3-list-item {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.duanmu-catalog-grid .sec3-item-box {
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.duanmu-catalog-grid .item-pic {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #eee8d9;
}
.duanmu-catalog-grid .item-pic a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.duanmu-catalog-grid .item-pic img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  box-sizing: border-box;
  padding: 12px;
  object-fit: contain;
  background: #eee8d9;
  transition: transform .3s ease;
}
.duanmu-catalog-grid .duanmu-empty-media { display: block; width: 100%; height: 100%; background: #eee8d9; }
.duanmu-catalog-grid .sec3-item-box:hover .item-pic img { transform: scale(1.025); }
.duanmu-catalog-grid .item-body {
  display: flex;
  min-width: 0;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  padding: 13px 4px 0;
  text-align: center;
}
.duanmu-catalog-grid .item-title,
.duanmu-catalog-grid .item-desc { width: 100%; min-width: 0; margin: 0; }
.duanmu-catalog-grid .item-title a {
  display: block;
  overflow: hidden;
  color: var(--duanmu-ink);
  font-family: Lora, Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.duanmu-catalog-grid .item-desc { margin-top: 3px; }
.duanmu-catalog-grid .item-desc a {
  display: block;
  overflow: hidden;
  color: #72766c;
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.duanmu-product-inquiry-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
  padding: 8px 4px 0;
  color: var(--duanmu-green-dark);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: color .16s ease;
}
.duanmu-product-inquiry-link:hover { color: #294936; text-decoration: underline; text-underline-offset: 3px; }
.duanmu-product-inquiry-link:focus-visible { outline: 2px solid var(--duanmu-green); outline-offset: 3px; }
.duanmu-product-inquiry-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
  .duanmu-catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  .duanmu-catalog-grid { gap: 28px 20px; }
}
@media (max-width: 760px) {
  .section.product.duanmu-product-catalog { padding: 42px 0 58px; }
  .duanmu-catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .duanmu-category-sidebar h2 { font-size: 20px; }
  .duanmu-category-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .duanmu-category-link { padding-left: 10px; font-size: 14px; }
  .duanmu-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .duanmu-catalog-grid .item-title a { font-size: 16px; }
  .duanmu-catalog-grid .item-desc a { font-size: 12px; }
}
@media (max-width: 390px) {
  .duanmu-catalog-grid { gap: 20px 12px; }
  .duanmu-catalog-grid .item-pic img { padding: 8px; }
  .duanmu-catalog-grid .item-title a { font-size: 15px; }
  .duanmu-product-inquiry-link { font-size: 13px; }
}

.duanmu-home-patent-gallery { background: #f2eee5; }
.duanmu-patent-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.duanmu-patent-gallery-item { min-width: 0; margin: 0; }
.duanmu-patent-gallery-item a {
  display: flex;
  width: 100%;
  aspect-ratio: .74;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--duanmu-line);
  background: #fffdfa;
}
.duanmu-patent-gallery-item a:focus-visible { outline: 2px solid var(--duanmu-green); outline-offset: 3px; }
.duanmu-patent-gallery-image { display: block; width: 100%; height: 100%; padding: 8px; box-sizing: border-box; object-fit: contain; }
.duanmu-patent-gallery-item figcaption {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: #5f675b;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media (max-width: 960px) {
  .duanmu-patent-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .duanmu-patent-gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin-right: -16px;
    padding: 0 16px 12px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-color: #b5bea9 transparent;
    scrollbar-width: thin;
  }
  .duanmu-patent-gallery-item { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
  .duanmu-patent-gallery-item a { aspect-ratio: .72; }
}
