/* ============================================================
   DongLing Health Food 官网样式
   主绿 #268026 / 按钮绿 #008000 / 标题绿线 #00A24D
   ============================================================ */

/* ---------- 本地字体 Poppins（fonts/ 目录，无外链） ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}

:root {
  --green: #80b156;          /* 导航悬停、悬浮条 */
  --green-btn: #008000;      /* 按钮绿 */
  --green-btn-hover: #515151;
  --green-line: #00a24d;     /* 区块标题左侧绿线 */
  --why-line: #10813a;       /* Why choose us 下划线 */
  --text: #333;
  --text-light: #707070;
  --footer-bg: #333333;
  --font: 'Poppins', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all .3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }

.header-inner {
  width: 94%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.logo { flex: 0 0 20%; }
.logo img { width: 185px; max-width: 100%; }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  justify-content: flex-end;
}
.main-nav a {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 92px;
  padding: 0 1.2vw;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}
.main-nav li:hover > a,
.main-nav li.active > a {
  background: var(--green);
  color: #fff;
}

.header-langs {
  display: flex;
  gap: 10px;
  margin-left: 1.5vw;
}
.header-langs img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
}
.header-langs a:hover { opacity: .7; }

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: #f2f2f2;
  border-top: 1px solid #ddd;
}
.mobile-nav ul { padding: 0 20px; }
.mobile-nav li { border-bottom: 1px solid rgba(0, 0, 0, .05); }
.mobile-nav a {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 50px;
  color: #333;
}
.mobile-nav li.active a { color: var(--green); }
.mobile-langs {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 14px 0 20px;
}
.mobile-langs img { width: 27px; height: 27px; border-radius: 50%; }

/* 原站全站隐藏了第 4 项（News Center），此处保持一致 */
/* .main-nav li:nth-child(4) { display: none; } */
/* .mobile-nav li:nth-child(4) { display: none; } */

/* 当前栏目高亮：由页面 <body class="page-xxx"> 驱动，header.php 保持纯静态无 PHP 变量 */
.page-home    .main-nav li:nth-child(1) > a,
.page-about   .main-nav li:nth-child(2) > a,
.page-products .main-nav li:nth-child(3) > a,
.page-advantage .main-nav li:nth-child(4) > a,
.page-why .main-nav li:nth-child(5) > a,
.page-faqs .main-nav li:nth-child(6) > a,
.page-news .main-nav li:nth-child(7) > a,
.page-contact .main-nav li:nth-child(8) > a {
  background: var(--green);
  color: #fff;
}
.page-home    .mobile-nav li:nth-child(1) a,
.page-about   .mobile-nav li:nth-child(2) a,
.page-products .mobile-nav li:nth-child(3) a,
.page-advantage .mobile-nav li:nth-child(4) a,
.page-why .mobile-nav li:nth-child(5) a,
.page-faqs .mobile-nav li:nth-child(6) a,
.page-news .mobile-nav li:nth-child(7) a,
.page-contact .mobile-nav li:nth-child(8) a {
  color: var(--green);
}

/* ============================================================
   Banner 轮播（淡入淡出）
   ============================================================ */
.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 760;
  max-height: 800px;
  overflow: hidden;
  background: #000;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 2s ease;
}
.banner-slide.active { opacity: 1; z-index: 1; }
.banner-slide.active img { transform: scale(1); }

/* 右侧竖向分隔线（右栏区域） */
.banner::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  z-index: 2;
  pointer-events: none;
}

/* 右侧竖排分页圆点 */
.banner-pagination {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translate(50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.banner-pagination .dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #fff;
  opacity: 1;
  cursor: pointer;
  transition: all .3s ease;
}
.banner-pagination .dot.active { height: 30px; }
.banner-pagination .dot:hover { height: 15px; }

/* 右下角上下切换按钮 */
.banner-arrows {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 100px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.banner-btn {
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.banner-btn:hover { background: #000; }

/* 左下角 scroll down 鼠标动画 */
.banner-scroll {
  position: absolute;
  left: 20px;
  bottom: 40px;
  z-index: 2;
  color: #fff;
}
.banner-scroll span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 12px;
  writing-mode: vertical-lr;
  line-height: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.banner-scroll i {
  display: block;
  width: 20px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
}
.banner-scroll i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 4px;
  height: 10px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollMouse 2s linear infinite;
}
@keyframes scrollMouse {
  0%   { transform: translate(-50%, 0);    opacity: 1; }
  70%  { transform: translate(-50%, 10px); opacity: 0; }
  100% { transform: translate(-50%, 0);    opacity: 0; }
}

/* ============================================================
   通用区块标题（左侧绿线）
   ============================================================ */
.sec-title {
  border-left: 3px solid var(--green-line);
  padding-left: 20px;
  font-size: 24px;
  font-weight: normal;
  color: var(--text);
  line-height: 1.4;
}

/* ============================================================
   About Us
   ============================================================ */
.about-inner {
  width: 94%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 3% 0;
  display: flex;
}
.about-title { flex: 0 0 20%; align-self: flex-start; }
.about-body { flex: 1; padding: 0 10px; }

.about-body h3 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}
.about-body h3.cert-title { margin-top: 10px; }

.about-text {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
}

.btn-more {
  display: block;
  max-width: 160px;
  padding: 8px;
  text-align: center;
  background: var(--green-btn);
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 40px;
}
.btn-more:hover { background: var(--green-btn-hover); }

.cert-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5%;
}
.cert-list li {
  flex: 0 0 20%;
  padding: 10px;
}
.cert-list img {
  width: 100%;
  max-width: 129px;
  margin: 0 auto;
}
.cert-list img:hover {
  transition: all 1s ease;
  transform: perspective(800px) rotateY(360deg);
}

/* ============================================================
   Why choose us
   ============================================================ */
.why {
  min-height: 300px;
}
.why-inner {
  width: 94%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 5% 0;
}
.why-head {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.why-head .leaf { flex: 0 0 60px; display: flex; justify-content: center; }
.why-head .leaf img { width: 40px; }
.why-head h2 {
  flex: 1;
  text-align: center;
  font-family: Impact, 'Arial Black', 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: normal;
  line-height: 1;
  color: #fff;
}
.why-text {
  max-width: 70%;
  margin: 1% auto 0;
  text-align: center;
  color: #fff;
  font-size: 16px;
}
.why-line {
  width: 50px;
  max-width: 50px;
  height: 6px;
  border: none;
  border-top: 2px solid var(--why-line);
  margin: 20px auto 10px;
}

.why-text span {
  display: block;
  text-align: left;
  margin-top: 10px;
}

/* ============================================================
   Product Categorie
   ============================================================ */
.products { padding: 50px 0; }

.products-head {
  width: 94%;
  max-width: 1500px;
  margin: 3% auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.products-head .btn-more {
  flex: 0 0 auto;
  width: 160px;
  max-width: 160px;
  margin: 0 0 0 auto;
}

.product-grid {
  width: 94%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.product-card {
  flex: 0 0 20%;
  padding: 0 10px;
  margin-bottom: 20px;
  overflow: hidden;
}
.product-card a {
  display: block;
}

.product-media {
  overflow: hidden;
}
.product-media img {
  width: 100%;
  /* aspect-ratio: 253 / 160; */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1);
  transition: all .5s ease;
}
.product-info {
  background: #fbfbfb;
  padding: 15px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .6s cubic-bezier(.25, .1, .25, 1);
}
.product-info h3 {
  font-size: 16px;
  font-weight: normal;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 0;
  min-width: 0;
}
.product-info .bar {
  flex: 0 0 30px;
  height: 1px;
  background: #999;
  transition: all .6s cubic-bezier(.25, .1, .25, 1);
}
.product-card:hover .product-media img { transform: scale(1.1); }
.product-card:hover .product-info { background: var(--green-btn); }
.product-card:hover .product-info h3 { color: #fff; }
.product-card:hover .product-info .bar {
  flex: 1 1 auto;
  margin-left: 12px;
  background: #fff;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
}
.footer-main {
  width: 94%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 0 0 33%;
  padding: 80px 0;
}
.footer-logo { width: 160px; }
.footer-desc {
  font-size: 14px;
  line-height: 2;
  color: #fff;
  max-width: 400px;
  margin-top: 2%;
}
.footer-cert { width: 260px; margin-top: 20px; }

.footer-col { flex: 1; margin-top: 80px; }
.footer-col h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.footer-links li a {
  font-size: 14px;
  line-height: 3;
  color: #fff;
}
.footer-links li a::before { content: ">  "; }
.footer-links li a:hover { color: #9dca9d; }

.footer-contact p {
  font-size: 14px;
  line-height: 2;
  color: #fff;
}
.footer-contact a:hover { color: #9dca9d; }

.footer-qr {
  flex: 0 0 22%;
  align-self: center;
  display: flex;
  justify-content: flex-end;
}
.footer-qr img { width: 120px; }

.footer-bottom {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom p {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .8);
}
.footer-record {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
}

/* ============================================================
   右侧悬浮客服条
   ============================================================ */
/* 外层：只负责固定定位（原站 .e_loop_sub-1），自身不滑动 */
.side-bar {
  position: fixed;
  right: 0;
  bottom: 14%;
  z-index: 999;
}
/* 内层绿色条体：折叠时滑出屏幕（原站 .zxbox / .zx_right） */
.side-inner {
  position: relative;
  right: 0;
  display: flex;
  flex-direction: column;
  background: var(--green);
  border-radius: 3px 0 0 3px;
  transition: right .3s ease;
}
.side-bar.folded .side-inner { right: -45px; }

/* 每个图标项：弹窗以自身为定位基准 */
.side-item {
  position: relative;
  width: 45px;
  height: 45px;
}

/* 图标按钮（22x22 PNG 图标，45x45 热区） */
.side-btn {
  display: block;
  width: 45px;
  height: 45px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  transition: all .3s ease;
}
.side-wa   { background-image: url(../images/side/wa.png); }
.side-mail { background-image: url(../images/side/mail.png); }
.side-tel  { background-image: url(../images/side/tel.png); }

/* 悬停变青色（原站 #37ae94） */
.side-btn:hover,
.side-top:hover,
.side-bottom:hover,
.side-fold:hover { background-color: #37ae94; }

/* 弹窗（右侧滑出白块） */
.side-pop {
  position: absolute;
  right: 55px;
  top: 0;
  min-width: 230px;
  min-height: 110px;
  padding: 5px;
  background: #fff;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 1px 3px rgba(18, 18, 18, .1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 2;
}
.side-item:hover .side-pop {
  right: 45px;
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.side-val {
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 30px;
  min-height: 30px;
  padding: 0 15px;
  text-align: center;
  white-space: nowrap;
}

/* 返回顶部（滚动后出现）/ 返回底部（常驻） */
.side-top,
.side-bottom {
  width: 45px;
  height: 45px;
  background-image: url(../images/side/top.png);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: all .3s ease;
}
.side-top { height: 0; opacity: 0; overflow: hidden; }
.side-top.show { height: 45px; opacity: 1; }
.side-bottom { transform: rotate(180deg); }

/* 收起/展开按钮（条体的兄弟节点，折叠时原地保留并缩小 —— 原站 .zx_btm_o） */
.side-fold {
  position: absolute;
  right: 0;
  bottom: -50px;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 3px 0 0 3px;
  background: var(--green);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
/* 图标单独一层，便于折叠时只镜像箭头、不动按钮圆角 */
.side-fold-ico {
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/side/fold.png) no-repeat center;
  transition: transform .3s ease;
}
.side-bar.folded .side-fold { width: 30px; height: 30px; bottom: -35px; }
/* 折叠后箭头由「>」翻转成「<」，提示可向左展开 */
.side-bar.folded .side-fold-ico { transform: scaleX(-1); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav a { padding: 0 .8vw; }
  .logo img { width: 150px; }
}

@media (max-width: 768px) {
  .main-nav, .header-langs { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: block; }
  .logo { flex: 0 0 auto; }
  .logo img { width: 140px; }
  .header-inner { padding: 8px 0; }

  .banner { aspect-ratio: auto; height: 42vw; min-height: 200px; }

  .banner-pagination { right: 27px; }
  .banner-pagination .dot { width: 6px; height: 6px; }
  .banner-pagination .dot.active { height: 20px; }

  .banner-arrows { width: 55px; bottom: 20px; }
  .banner-btn { width: 28px; height: 28px; border-width: 1px; }
  .banner-btn svg { width: 12px; height: 12px; }
  .banner::after { width: 55px; }

  .banner-scroll span { display: none; }

  .about-inner { flex-direction: column; padding: 30px 0; }
  .about-title { margin-bottom: 16px; }
  .cert-list li { flex: 0 0 33.33%; }

  .why-inner { padding: 40px 0; }
  .why-text { margin-top: 24px; font-size: 14px; }

  .products { padding: 30px 0; }
  .products-head .sec-title { flex: 0 0 60%; }
  .products-head .btn-more { width: 100px; max-width: 100px; }
  .product-card { flex: 0 0 50%; }

  .footer-main { flex-direction: column; }
  .footer-brand { padding: 40px 0 0; }
  .footer-col { margin-top: 36px; }
  .footer-qr { flex: 0 0 auto; justify-content: flex-start; margin-top: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .side-btn,
  .side-top,
  .side-bottom { width: 35px; height: 35px; }
  .side-top.show { height: 35px; }
  .side-bar.folded .side-inner { right: -35px; }
  .side-fold { width: 35px; height: 35px; bottom: -40px; }
  .side-bar.folded .side-fold { width: 35px; height: 35px; bottom: -40px; }
  .side-pop { min-width: 160px; min-height: 70px; }
  .side-val { font-size: 16px; }
}

/* ============================================================
   内页通用：Banner + 子导航条 + 正文区块（对齐原站 aboutus 页）
   ============================================================ */

/* ---------- 内页 Banner（纯淡入淡出，无圆点/箭头/缩放） ---------- */
.inner-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #000;
}
.inner-banner .banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.inner-banner .banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inner-banner .banner-slide.active { opacity: 1; z-index: 1; }

/* ---------- 子导航条（Company Profile / ... / Contact Us + 面包屑） ---------- */
.sub-nav {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.sub-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}
.sub-nav-list { flex: 0 0 70%; }
.sub-nav-list ul {
  display: flex;
  flex-wrap: wrap;
  width: 94%;
}
.sub-nav-list li {
  flex: 0 0 auto;
  flex-basis: calc(100% / 6);
  position: relative;
}
.sub-nav-list a {
  display: block;
  position: relative;
  font-size: 14px;
  color: #222;
  text-align: center;
  line-height: 70px;
  height: 70px;
  padding: 0 9px;
  white-space: nowrap;
  overflow: hidden;
  transition: all .3s ease;
}
/* 每项右侧的竖向分隔线 */
.sub-nav-list a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 15px;
  margin-top: -7px;
  background: #ccc;
}
/* 悬停时底部绿色下划线（原站动画：left 50%→10%、width 0→80%） */
.sub-nav-list a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  transition: all .3s ease;
}
.sub-nav-list a:hover { color: var(--green); }
.sub-nav-list a:hover::before { width: 80%; left: 10%; background: var(--green); }
/* 当前页 tab 高亮（与悬停同款） */
.sub-nav-list a.active { color: var(--green); }
.sub-nav-list a.active::before { width: 80%; left: 10%; background: var(--green); }

/* 右侧面包屑 */
.sub-nav-crumb {
  flex: 0 0 30%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.sub-nav-crumb ul {
  display: flex;
  align-items: center;
  margin: 23px 0;
}
.sub-nav-crumb li {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #222;
  white-space: nowrap;
}
.sub-nav-crumb li:not(:first-child) { padding: 0 3px 0 15px; }
.sub-nav-crumb li:not(:first-child)::before {
  content: ">";
  position: absolute;
  left: 3px;
  color: #999;
}
.sub-nav-crumb svg { width: 12px; height: 12px; fill: #222; display: block; }
.sub-nav-crumb a:hover { color: var(--green); }

/* ---------- 正文区块（标题灰条 + hr + 富文本 + 配图） ---------- */
.page-intro { padding: 4% 0; }
.intro-inner {
  width: 96%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}
.intro-inner h1 {
  font-family: 'Microsoft YaHei', 'Poppins', Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #333;
  text-align: center;
  background: #fafafa;
  padding: 1% 0;
}
.intro-inner hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, .1);
  margin: 16px 0;
}
.intro-inner .intro-meta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
}
.intro-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
.intro-text p { margin-bottom: 0; }
.intro-text img {
  max-width: 100%;
  width: auto;
  height: auto;
  margin-top: 16px;
}

.intro-text dl{
  width: 95%;
  margin: 0 auto;
  margin-bottom: 15px;

}
.intro-text dl dt{
  font-size: 16px;
  font-weight: bold;
  font-weight: bold;
  background-color: #9ec97f;
  padding: 10px;
}
.intro-text dl dd{
  background-color: #f2ffe9;
  padding: 20px 10px;
}

.intro-text .intro-img{
  width: 100%;
  margin: 0 auto;
  margin-bottom: 15px;
}

.intro-text .intro-img ul{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.intro-text .intro-img ul li{
  flex: 0 0 auto;
  flex-basis: calc(25% - 20px);
}



.intro-text .intro-text-item{
  font-size: 16px;
  margin-bottom: 25px;
}
.intro-text .intro-text-item ul li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 20px;
  background-color: #fbfbfb;
  padding: 20px;
  
}

.intro-text .intro-text-item ul li:nth-child(2n){
  flex-direction: row-reverse;
}


.intro-text .intro-text-item ul li .imgbox{
  width: 40%;
  height: 350px;
  overflow: hidden;
}
.intro-text .intro-text-item ul li .imgbox img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all .5s ease;
}
.intro-text .intro-text-item ul li .textbox{
  width: 55%;
  line-height: 1.8;
  color: #333;
  text-align: left;
}
.intro-text .intro-text-item ul li:hover{
  background-color: #f5f5f5;
}
.intro-text .intro-text-item ul li:hover img{
  transform: scale(1.05);
  transition: all .5s ease;
}

.intro-text .news-list .news-item{
  display: flex;
  padding: 20px;
  margin-bottom: 25px;
  background-color: #fbfbfb;
  border-bottom: 2px solid #80b156;
}

.intro-text .news-list .news-item .news-item-content{
  width: 97%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 15px;
  gap: 45px;
  
}
.intro-text .news-list .news-item .news-item-content .news-img{
  width: 285px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}
.intro-text .news-list .news-item .news-item-content .news-img img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: all .5s ease;
  margin-top: unset !important;
}
.intro-text .news-list .news-item .news-item-content:hover img {
  transform: scale(1.1);
  transition: all .5s ease;
}
.intro-text .news-list .news-item .news-item-content .news-content{
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.intro-text .news-list .news-item .news-item-content .news-content h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 5px;
}


.intro-text .news-list .news-item .news-item-content .news-content span{
  font-size: 14px;
  color: #999;
  margin-top: 5px;
}
.intro-text .news-list .news-item .news-item-content .news-content p{
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}
.intro-text .news-list .news-item .news-item-content .news-content .btn{
  font-size: 14px;
  color: var(--green);
  text-decoration: none;
  margin-top: 10px;
}
.intro-text .news-list .news-item .news-item-content .news-content .btn:hover{
  color: #008000;
}

.intro-text .news-list .news-item .news-item-content:hover .news-content h3,.news-content p{
  color: #222;
}
.intro-text .news-list .news-item .news-item-content .news-content h3 a:hover{
  color: #008000;
}


@media (max-width: 1200px) {

  .intro-text .intro-img ul li{
    flex: 0 0 auto;
    flex-basis: calc(50% - 20px);
  }
  
}


@media (max-width: 768px) {
  .inner-banner { height: 200px; }

  .sub-nav-inner { flex-direction: column; }
  .sub-nav-list { flex: 1; width: 100%; }
  .sub-nav-list ul { width: 100%; }
  .sub-nav-list li { flex-basis: calc(100% / 3); }
  .sub-nav-list a { line-height: 50px; height: 50px; }
  .sub-nav-crumb { display: none; }

  .page-intro { padding: 8% 0; }
  .intro-inner h1 { font-size: 20px; }

  .intro-text .intro-text-item ul li{
    flex-direction: column;
    align-items: flex-start;
  }
  .intro-text .intro-text-item ul li:nth-child(2n){
    flex-direction: column;
  }
  
  .intro-text .intro-text-item ul li .imgbox{
    width: 100%;
    height: 200px;
  }
  .intro-text .intro-text-item ul li .textbox{
    width: 100%;
  }

  .intro-text .intro-img ul li{
    flex: 0 0 auto;
    flex-basis: calc(100% - 0px);
  }
}

/* ============================================================
   Facility 页：Production Equipment 灰底区块 + 设备网格 + 分页
   ============================================================ */
.facility-sec {
  background: #f5f5f5;
  padding: 50px 0;
}
.facility-head {
  width: 94%;
  max-width: 1300px;
  margin: 0 auto;
}
.facility-head h1 {
  font-family: 'Microsoft YaHei', 'Poppins', Arial, sans-serif;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  text-align: center;
  line-height: 1;
  margin: 0;
}
.facility-head hr {
  border: none;
  border-top: 4px solid var(--green);
  max-width: 60px;
  margin: 24px auto 0;
}
.facility-grid {
  width: 96%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
}
.facility-item {
  flex: 0 0 25%;
  padding: 15px;
  cursor: pointer;
}
.facility-item .fi-img {
  position: relative;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
  background: #fff;
}
.facility-item .fi-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.facility-item .fi-cap {
  background: #f5f5f5;
  padding: 25px 30px;
  transition: all .5s ease;
}
.facility-item .fi-cap p {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
  color: rgba(0, 0, 0, .7);
  margin: 0;
  transition: all .5s ease;
}
.facility-item:hover .fi-cap { background: var(--green); }
.facility-item:hover .fi-cap p { color: #fff; }

/* 分页（原站单页：< 1 > 跳转到 _ 页） */
.facility-page {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}
.facility-page .pg {
  display: inline-block;
  min-width: 30px;
  height: 30px;
  line-height: 28px;
  padding: 0 6px;
  margin: 0 5px;
  color: #999;
  text-decoration: none;
  vertical-align: middle;
}
.facility-page .pg.current {
  background: #1f98fc;
  color: #fff;
  border-radius: 3px;
}
.facility-page .pg-jump { margin-left: 10px; }
.facility-page .pg-input {
  width: 44px;
  height: 30px;
  margin: 0 6px;
  border: 1px solid #ccc;
  border-radius: 2px;
  text-align: center;
  outline: none;
  vertical-align: middle;
}

/* 设备图片放大灯箱（fancybox 风格成组画廊） */
.img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.img-lightbox.in { opacity: 1; visibility: visible; }
.lb-skin {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 5px 35px rgba(0, 0, 0, .6);
  transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease;
}
.lb-skin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity .25s ease;
}
.img-lightbox.open .lb-skin img { opacity: 1; }
.lb-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, .5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity .3s ease .15s;
}
.img-lightbox.open .lb-title { opacity: 1; }
/* 右上角工具条：放大 / 自动播放 / 关闭（fancybox buttons 风格） */
.lb-toolbar {
  position: absolute;
  top: 15px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.lb-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 4px;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s ease, background .2s ease;
  font-size: 20px;
  line-height: 1;
}
.lb-btn:hover { opacity: 1; background: rgba(0, 0, 0, .65); }
.lb-btn svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* 放大/缩小两态图标切换 */
.lb-zoom .ico-zoom-out { display: none; }
.img-lightbox.zoomed .lb-zoom .ico-zoom-in { display: none; }
.img-lightbox.zoomed .lb-zoom .ico-zoom-out { display: block; }
/* 播放/暂停两态图标切换 */
.lb-play .ico-pause { display: none; }
.img-lightbox.playing .lb-play .ico-play { display: none; }
.img-lightbox.playing .lb-play .ico-pause { display: block; }
/* 全屏进入/退出两态图标切换 */
.lb-full .ico-fs-exit { display: none; }
.img-lightbox.fs .lb-full .ico-fs-enter { display: none; }
.img-lightbox.fs .lb-full .ico-fs-exit { display: block; }
/* 底部缩略图条（默认隐藏，点击工具条缩略图按钮滑出） */
.lb-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, .55);
  overflow-x: auto;
  overflow-y: hidden;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s ease;
  z-index: 2;
}
.img-lightbox.thumbs-on .lb-thumbs { transform: translateY(0); visibility: visible; }
.lb-thumbs img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  flex: 0 0 auto;
  cursor: pointer;
  opacity: .55;
  border: 2px solid transparent;
  transition: opacity .2s ease, border-color .2s ease;
}
.lb-thumbs img:hover { opacity: 1; }
.lb-thumbs img.active { opacity: 1; border-color: #fff; }
/* 放大模式下允许滚动查看原始尺寸 */
.img-lightbox.zoomed .lb-skin { overflow: auto; }
.lb-nav {
  position: absolute;
  top: 50%;
  margin-top: -40px;
  width: 46px;
  height: 80px;
  line-height: 76px;
  text-align: center;
  font-size: 52px;
  font-family: Arial, sans-serif;
  color: #fff;
  text-decoration: none;
  opacity: .35;
  transition: opacity .2s ease;
  z-index: 2;
}
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 768px) {
  .lb-toolbar { top: 8px; right: 10px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
}

/* 证书页合成图（原站 1044x340 单图，容器内左对齐） */
.intro-text img.cert-grid {
  display: block;
  width: 1044px;
  max-width: 100%;
  height: auto;
  margin: 16px 0 0 24px;
}

/* ============================================================
   Contact 页：绿卡 + 留言表单 + 静态地图
   ============================================================ */
.contact-sec { padding: 3% 10px 30px; }
.contact-wrap {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  background: #f1f1f1;
}
/* 左侧绿色联系卡 */
.contact-card {
  flex: 0 0 30%;
  background: #075c07;
  padding: 50px 40px;
}
.contact-card h2 {
  font-family: 'Microsoft YaHei', 'Poppins', Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 12px;
}
.contact-card hr {
  border: none;
  border-top: 1px dashed #fff;
  margin: 16px 0;
}
.contact-card .cc-text {
  font-size: 14px;
  color: #fff;
  line-height: 2;
  margin: 0 0 5%;
}
.contact-card .cc-text a { color: #fff; text-decoration: none; }
.contact-card .cc-text a:hover { text-decoration: underline; }
.contact-card .cc-qr { max-width: 132px; }
.contact-card .cc-qr img { width: 100%; height: auto; display: block; }

/* 右侧留言表单 */
.contact-form { flex: 0 0 70%; }
.contact-form form { width: 95%; margin: 0 auto; padding: 3% 0 5%; }
.contact-form h1 {
  font-family: 'Microsoft YaHei', 'Poppins', Arial, sans-serif;
  font-size: 34px;
  font-weight: bold;
  color: #222;
  line-height: 1.6;
  margin: 0;
}
.contact-form .cf-line {
  border: none;
  border-top: 1px solid #9b9b9b;
  width: 5%;
  margin: 10px 0 14px;
}
.contact-form .cf-tip { font-size: 14px; color: #333; margin: 0 0 3%; }
.contact-form .cf-row { display: flex; gap: 5%; }
.contact-form .cf-field { flex: 1; }
.contact-form input[type="text"],
.contact-form textarea {
  display: block;
  width: 100%;
  height: 48px;
  padding: 6px 12px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  border: 2px solid #ced4da;
  border-radius: 4px;
  outline: none;
}
.contact-form ::placeholder { color: #999; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form textarea { height: 120px; resize: vertical; margin-top: 20px; }
.contact-form .cf-submit {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 10px 12px;
  background: var(--green);
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all .3s ease;
}
.contact-form .cf-submit:hover { background: #009eff; }

/* 静态地图（1500x550 本地图） */
.contact-map { max-width: 1500px; margin: 0 auto; }
.contact-map img { display: block; width: 100%; height: auto; }

/* ---------- 新增区块移动端 ---------- */
@media (max-width: 768px) {
  .facility-sec { padding: 30px 0; }
  .facility-head h1 { font-size: 22px; }
  .facility-item { flex: 0 0 50%; padding: 7px; }
  .facility-item .fi-cap { padding: 15px; }
  .facility-item .fi-cap p { font-size: 14px; }

  .contact-sec { padding: 6% 10px 20px; }
  .contact-card { flex: 0 0 100%; padding: 25px 20px; }
  .contact-form { flex: 0 0 100%; }
  .contact-form form { width: 100%; padding: 25px 0; }
  .contact-form h1 { font-size: 22px; }
  .contact-form .cf-row { flex-direction: column; gap: 0; }
  .contact-form .cf-field { margin-bottom: 12px; }
}

/* ============================================================
   Product Catalog 页（products.php）
   布局/配色按原站截图逐像素测量：
   banner 492px / 面包屑白条 60px / 灰底 #F5F5F5 内容区
   左面板 272px（头 #268026 高84px + 白盒绿边框）
   分区头条 #00A24D 高60px 白字居中 / 子分类条 #C9F0AD 高58px
   产品胶囊：白底 1px #00A14D 边框，4 列网格
   ============================================================ */
.inner-banner-tall { height: 400px; }

/* 面包屑白条（顶级栏目页无子导航 tab，仅面包屑） */
.crumb-strip { background: #fff; }
.crumb-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.crumb-strip ul {
  display: flex;
  align-items: center;
  height: 60px;
}
.crumb-strip li {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
}
.crumb-strip li:first-child a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
}
.crumb-strip li:first-child svg { width: 13px; height: 13px; fill: #6c757d; display: block; }
.crumb-strip li:first-child a:hover { color: var(--green); }
.crumb-strip li:not(:first-child) { padding-left: 26px; color: #212529; }
.crumb-strip li:not(:first-child)::before {
  content: ">";
  position: absolute;
  left: 10px;
  color: #999;
}

/* 内容区：灰底 + 左右两栏 */
.catalog-sec { background: #f5f5f5; padding: 50px 0 70px; }
.catalog-wrap {
  width: 94%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* 左侧 All Categories 面板 */
.cat-panel {
  flex: 0 0 272px;
  background: #fff;
  border: 1px solid #268026;
}
.cat-panel-head {
  background: #268026;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  height: 84px;
  line-height: 84px;
  padding: 0 20px;
}
.cat-panel-box {
  padding: 20px 16px;
  font-size: 13px;
  line-height: 2;
  color: #333;
}
.cat-panel-box p { margin: 0; }
.cat-panel-box a { color: #333; }
.cat-panel-box a:hover { color: var(--green); }

/* 右侧分区列表 */
.catalog-main { flex: 1; min-width: 0; }
.catalog-section + .catalog-section { margin-top: 70px; }
.catalog-sub { margin-top: 60px; }
.catalog-section .catalog-sub:first-child { margin-top: 0; }
.sub-bar {
  margin: 0;
  background: #c9f0ad;
  color: #212529;
  font-size: 18px;
  font-weight: 600;
  height: 58px;
  line-height: 58px;
  padding: 0 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sub-bar a { display: block; color: inherit; transition: color .25s ease; }
.sub-bar a:hover { color: #268026; }
.chip-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 15px;
}
.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid #00a14d;
  color: #212529;
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 24px;
  min-height: 48px;
  transition: background .25s ease, color .25s ease;
}
.chip:hover { background: #00a24d; color: #fff; }

@media (max-width: 768px) {
  .inner-banner-tall { height: 200px; }
  .catalog-sec { padding: 30px 0 40px; }
  .catalog-wrap { flex-direction: column; gap: 30px; }
  .cat-panel { flex: auto; width: 100%; }
  .cat-panel-head { height: 56px; line-height: 56px; font-size: 15px; }
  .catalog-section + .catalog-section { margin-top: 40px; }
  .catalog-sub { margin-top: 30px; }
  .sub-bar { font-size: 15px; height: 44px; line-height: 44px; }
  .chip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
  .chip { min-height: 40px; padding: 9px 12px; font-size: 12px; }
}

/* ============================================================
   Products 平铺列表页（products-list.php）
   按原站 /Products_list_1/ 截图逐像素测量：
   白色面包屑条 60px / 灰底 #F5F5F5 / 左面板 272px 同产品目录页
   产品卡：白色圆角 10px 卡片带浅阴影（无绿边框），3 列，间距 30px
   卡片 min-height 77px（两行文字约 109px），15px/#333 文字居中
   分页：复用 .facility-page/.pg 体系，蓝色当前页 #1F98FC
   ============================================================ */
.plist-sec { padding-top: 58px; }
.plist-main { flex: 1; min-width: 0; }
.plist-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.plist-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  color: #333;
  font-size: 15px;
  line-height: 2;
  min-height: 77px;
  padding: 12px 28px;
  overflow-wrap: anywhere;
  transition: color .25s ease, box-shadow .25s ease;
}
.plist-item:hover {
  color: #00a24d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
}
.plist-page { margin-top: 30px; }
.plist-page .pg.disabled { color: #ccc; cursor: default; }

@media (max-width: 768px) {
  .plist-sec { padding-top: 30px; }
  .plist-grid { margin-top: 0; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .plist-item { min-height: 56px; font-size: 13px; padding: 9px 14px; border-radius: 8px; }
  .plist-page { margin-top: 28px; }
}

/* ============================================================
   产品详情页（product-detail.php）
   按原站 /Products_detail/22.html 截图逐像素测量：
   banner 300px（较矮）/ 上半部白底 / 下半部 #F1F3F4 灰底
   左面板 323px（头 #268026 高83 + 无边框分类列表 43px/行 #E5E5E5 分隔）
   右侧标题 26px + #E5E5E5 hr + 黑边框规格表（Times New Roman 14px）
   相关产品白卡 1500px 宽 / 留言表单灰底（输入框 #CED4DA 高46）
   ============================================================ */
.inner-banner-sm { height: 300px; }

.pdetail-container { width: 94%; max-width: 1500px; margin: 0 auto; }

/* 上半部：白底 */
.pdetail-main { background: #fff; padding-bottom: 50px; }
.pdetail-crumb { padding: 26px 0 24px; }
.pdetail-crumb ul { display: flex; align-items: center; flex-wrap: wrap; }
.pdetail-crumb li { position: relative; display: inline-flex; align-items: center; font-size: 14px; white-space: nowrap; }
.pdetail-crumb li:first-child a { display: inline-flex; align-items: center; gap: 6px; color: #6c757d; }
.pdetail-crumb li:first-child svg { width: 13px; height: 13px; fill: #6c757d; display: block; }
.pdetail-crumb li:first-child a:hover { color: var(--green); }
.pdetail-crumb li:not(:first-child) { padding-left: 26px; color: #212529; }
.pdetail-crumb li:not(:first-child)::before { content: ">"; position: absolute; left: 10px; color: #999; }
.pdetail-crumb a { color: #212529; }
.pdetail-crumb a:hover { color: var(--green); }
.pdetail-crumb li:last-child span { color: #212529; }

.pdetail-wrap { display: flex; align-items: flex-start; gap: 30px; }

/* 左侧分类面板 */
.pdetail-panel { flex: 0 0 323px; background: #fff; }
.pdetail-panel .cat-panel-head { height: 83px; line-height: 83px; padding: 0 20px; }
.pdetail-cats { list-style: none; margin: 0; padding: 0; margin-top: 1px; }
.pdetail-cats li { border-bottom: 1px solid #e5e5e5; }
.pdetail-cats a {
  display: block;
  height: 43px;
  line-height: 43px;
  padding: 0 12px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdetail-cats a:hover { background-color: var(--green); color: #fff; }

.pdetail-cats li.active a { background-color: var(--green); color: #fff; }

/* 右侧：标题 + 规格表 */
.pdetail-body { flex: 1; min-width: 0; }
.pdetail-title { margin: 6px 0 0; font-size: 26px; font-weight: 400; color: #333; line-height: 1.4; }
.pdetail-hr { border: none; border-top: 1px solid #e5e5e5; margin: 26px 0 38px; }

.spec-intro, .spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  color: #000;
  line-height: 1.5;
}
.spec-intro td, .spec-table td {
  border: 1px solid #000;
  padding: 8px 7px;
  vertical-align: top;
  text-align: justify;
}
.spec-intro .w18 { width: 18%; }
.spec-intro .w27 { width: 27%; }
.spec-intro .w23 { width: 23%; }
.spec-intro .w32 { width: 32%; }
.spec-table { margin-top: 30px; }
.spec-table .w32 { width: 32%; }
.spec-table .w36 { width: 36%; }
.spec-table .spec-head td { font-size: 16px; font-weight: 700; text-align: center; }

/* 下半部：灰底 */
.pdetail-gray { background: #f1f3f4; padding-bottom: 57px; }

/* 相关产品白卡 */
.related-card {
  margin-top: 99px;
  background: #fff;
  padding: 88px 70px 55px;
  text-align: center;
}
.related-head { margin: 0 0 52px; font-size: 22px; font-weight: 700; color: #212529; }
.related-grid {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 40px;
  text-align: left;
}
.related-grid a { font-size: 14px; color: #212529; }
.related-grid a:hover { color: var(--green); }
.related-btn-row { margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: 62px; }
.related-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 32px;
  border: 1px solid #d9d9d9;
  color: #999;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: all .25s ease;
}
.related-arrow:hover { border-color: #008000; color: #008000; }
.btn-return {
  display: inline-block;
  min-width: 240px;
  height: 44px;
  line-height: 42px;
  border: 1px solid #008000;
  border-radius: 22px;
  color: #008000;
  font-size: 15px;
  font-weight: 500;
  padding: 0 30px;
  transition: all .25s ease;
}
.btn-return:hover { background: #008000; color: #fff; }

/* 在线留言 */
.msg-sec { margin-top: 85px; }
.msg-head { margin: 0; font-size: 26px; font-weight: 700; color: #222; text-align: center; }
.msg-sub { margin: 20px 0 0; font-size: 14px; color: #9b9b9b; text-align: center; }
.msg-form { margin-top: 56px; }
.msg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.msg-form input[type="text"] {
  width: 100%;
  height: 46px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  outline: none;
}
.msg-form textarea {
  display: block;
  width: 100%;
  height: 118px;
  margin-top: 18px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}
.msg-form input:focus, .msg-form textarea:focus { border-color: #008000; }
.msg-form input::placeholder, .msg-form textarea::placeholder { color: #999; }
.msg-btn {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 18px;
  border: none;
  border-radius: 20px;
  background: #008000;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background .25s ease;
}
.msg-btn:hover { background: #009eff; }

@media (max-width: 768px) {
  .inner-banner-sm { height: 180px; }
  .pdetail-crumb { padding: 16px 0 14px; }
  .pdetail-wrap { flex-direction: column; gap: 24px; }
  .pdetail-panel { flex: auto; width: 100%; }
  .pdetail-panel .cat-panel-head { height: 52px; line-height: 52px; font-size: 15px; }
  .pdetail-cats a { height: 38px; line-height: 38px; }
  .pdetail-title { font-size: 20px; }
  .pdetail-hr { margin: 16px 0 20px; }
  .spec-intro, .spec-table { font-size: 12px; }
  .spec-table .spec-head td { font-size: 13px; }
  .related-card { margin-top: 40px; padding: 36px 20px 32px; }
  .related-head { margin-bottom: 26px; font-size: 18px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 0; }
  .related-btn-row { margin-top: 28px; }
  .btn-return { min-width: 0; width: 100%; }
  .msg-sec { margin-top: 44px; }
  .msg-head { font-size: 20px; }
  .msg-form { margin-top: 28px; }
  .msg-row { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   产品分类页（product-category.php）
   按原站 /Products_detail/3.html 截图逐像素测量：
   复用详情页框架（banner 300px / 面包屑 / 左面板 323px）
   右侧：标题 26px + hr + 简介富文本（图 308x280 右浮动）
   + 分类下产品链接列表（蓝 #1D70FC，行间浅灰 hr）
   ============================================================ */
.cat-intro { font-size: 14px; line-height: 1.9; color: #333; }
.cat-intro p { margin: 0; }
.cat-intro strong { font-weight: 700; color: #222; }
.cat-intro img {
  float: right;
  width: 308px;
  height: auto;
  margin: 4px 0 12px 30px;
  max-width: 45%;
}
.cat-intro::after { content: ""; display: block; clear: both; }

/* .cat-links { list-style: none; margin: 22px 0 0; padding: 0; }
.cat-links li { border-bottom: 1px solid #e5e5e5; }
.cat-links a {
  display: block;
  padding: 10px 2px;
  font-size: 14px;
  line-height: 1.6;
  color: #1d70fc;
}
.cat-links a:hover { color: #0f5ed8; text-decoration: underline; } */

.cat-links{
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
}

.cat-links > * {
  min-width: 0;       /* 允许子项收缩到比内容更小，防止撑开列 */
  overflow: hidden;   /* 超出部分隐藏（可选） */
}

.cat-links li a{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cat-links li .imgbox{
  width: 100%;
  aspect-ratio: 4 / 3;   /* 所有图片容器保持统一宽高比 */
  overflow: hidden;
}
.cat-links li .imgbox img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .25s ease;
}
.cat-links li .txtbox{
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: #333;
  background-color: #f5f5f5;
  overflow: hidden;
}
.cat-links li:hover .imgbox img{
  transform: scale(1.1);
  transition: all .25s ease;
}
.cat-links li:hover .txtbox{
  background-color: #96c56d;
  color: #fff;
}

@media (max-width: 1280px) {

  .cat-links{
    margin-top: 60px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cat-intro { font-size: 13px; }
  .cat-intro img { float: none; display: block; margin: 10px auto; max-width: 100%; }
  /* .cat-links { margin-top: 18px; } */

  .cat-links{
    margin-top: 60px;
    grid-template-columns: repeat(2, 1fr);
  }
}