/* ==========================================================
   SUNNOK 新主页样式表（SSCMS 模板配套 v2）
   设计稿：20260821新主页-001/002.jpg
   主色：Logo 绿 #5a8c5a / 深灰 #333 / 浅灰背景 #f5f5f5
   ========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; transition: color .2s, background .2s; }
ul, ol, li { list-style: none; }
img { border: 0; vertical-align: middle; max-width: 100%; }
.clearfix::after { content: ""; display: block; clear: both; }
.wrap { width: 1200px; margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.top-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 100;
}
.top-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.top-logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  letter-spacing: 1px;
}
.top-logo img { height: 140px; margin-right: 10px; }

.top-nav > ul > li { float: left; position: relative; }
/* 汉堡按钮：桌面端隐藏，手机端显示 */
.nav-toggle { display: none; }
.top-nav > ul > li > a {
  display: block;
  padding: 0 28px;
  line-height: 72px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
/* 悬停：背景色块提示 */
.top-nav > ul > li > a:hover,
.top-nav > ul > li:hover > a {
  background: #eef4ee;
  color: #5a8c5a;
}
/* 当前所在栏目：绿底白字标亮 */
.top-nav > ul > li.on > a {
  background: #5a8c5a;
  color: #fff;
}

.top-tools a {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  margin-left: 8px;
  color: #666;
  font-size: 16px;
  border-radius: 50%;
}
.top-tools a:hover { background: #f0f0f0; color: #5a8c5a; }

/* ---------------- Products 下拉菜单 ---------------- */
.has-dropdown .mega-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  border-radius: 0 0 6px 6px;
  padding: 28px 32px;
}
.has-dropdown:hover .mega-menu { display: block; }
.mm-inner { display: flex; gap: 30px; align-items: flex-start; }
.mm-cats { flex: 1; min-width: 0; }
.mm-cat {
  display: block;
  padding: 10px 2px;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid #f2f2f2;
  transition: color .15s ease, padding-left .15s ease;
}
.mm-cat:hover { color: #5a8c5a; padding-left: 6px; }
/* 右侧：当前悬停类别下的热门产品图（点击跳产品详情页） */
.mm-hots { flex: 0 0 auto; }
.mm-hot-group { display: none; gap: 14px; }
.mm-hot-group.on { display: flex; gap: 14px; }
.mm-hot { display: block; width: 180px; }
.mm-hot img {
  display: block;
  width: 180px;
  height: 136px;
  object-fit: cover;
  border-radius: 6px;
  background: #f7f7f7;
}
.mm-hot .mm-hot-t {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mm-hot:hover img { opacity: .9; }
.mm-hot:hover .mm-hot-t { color: #5a8c5a; }

/* ---------------- 首屏 Banner 轮播 ---------------- */
/* 高度自适应：桌面端容器比例 = 首图真实比例（JS 写入 --hero-ar），
   图片按 cover 铺满、不裁切；手机端由媒体查询改成 2:1 + 左锚裁切，见文末响应式。
   不要再用固定 min-height —— 宽幅 banner 在窄屏只有 ~128px 高，写死 320px 会在图下方留一大截灰带、圆点也会飘到灰带底部。 */
.hero-banner {
  --hero-ar: 3.05;              /* 兜底比例（≈1920x630）；首图加载后由 JS 覆盖为真实比例 */
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
  line-height: 0;
  aspect-ratio: var(--hero-ar);
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .9s ease;
  z-index: 1;
}
.hero-slide.on { opacity: 1; z-index: 2; }
/* 回退：若把 aspect-ratio 改成 auto（不裁切），首图需在文档流里才能撑起容器高度 */
.hero-slide:first-child { position: relative; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.hero-dots {
  position: absolute;
  bottom: 18px; left: 0;
  width: 100%;
  text-align: center;
  z-index: 3;
  line-height: 1;
}
.hero-dots .dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  /* 描边+投影：浅色 banner（如米白底）上白色圆点也要看得见 */
  box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 1px 3px rgba(0,0,0,.3);
  cursor: pointer;
}
.hero-dots .dot.on { background: #fff; }

/* ---------------- Banner 下方图片条 ---------------- */
.banner-row { margin-top: 35px; }
.banner-row img { width: 100%; display: block; }

/* ---------------- 三个分类入口 ---------------- */
.cat-trio { margin: 35px -10px 0; }
.cat-trio-item {
  float: left;
  width: calc((100% - 80px) / 4);
  margin: 0 10px;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.cat-trio-item .ct-pic { display: block; overflow: hidden; }
/* 热门产品图默认隐藏，由脚本判断存在后显示（无热门产品时回退栏目图） */
.cat-trio-item .ct-hot { display: none; }
.cat-trio-item .ct-pic img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .4s; }
.cat-trio-item:hover .ct-pic img { transform: scale(1.05); }

/* ---------------- 全宽横幅 ---------------- */
.home-wide {
  margin-top: 35px;
  line-height: 0;
  background: #ddd;
}
.home-wide img { width: 100%; display: block; }

/* ---------------- About + News ---------------- */
.about-news-row {
  margin-top: 35px;
  display: flex;
  gap: 24px;
}
.about-side {
  flex: 1;
  background: #e8e8e8;
  padding: 30px;
  min-height: 300px;
}
.about-side h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}
.about-side p {
  font-size: 13px;
  color: #555;
  line-height: 1.9;
  text-align: justify;
}
.about-side .about-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: bold;
  color: #5a8c5a;
}
.about-side .about-more:hover { color: #3e6b3e; }

.news-side {
  flex: 1;
  background: #e8e8e8;
  padding: 24px 30px;
}
.news-side li {
  padding: 14px 0;
  border-bottom: 1px solid #d5d5d5;
  display: flex;
  align-items: flex-start;
}
.news-side li:last-child { border-bottom: 0; }
.news-side .n-date {
  width: 100px;
  font-size: 13px;
  color: #888;
  font-weight: 500;
  line-height: 1.6;
}
.news-side .n-title {
  flex: 1;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.news-side .n-title:hover { color: #5a8c5a; }

/* ---------------- About Sunnok 图文区 ---------------- */
/* SEO：隐藏式 H1（搜索引擎可读、视觉无变化） */
.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.about-showcase {
  margin-top: 0;
  background: #fff;
  padding: 30px 0 45px;
}
.about-showcase-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  width: 100%;
  box-sizing: border-box;
}
/* 左右各占一半 */
.showcase-video {
  flex: 0 0 calc(50% - 25px);
  min-width: 0;
  line-height: 0;
}
.showcase-video video,
.showcase-video .sv-fallback {
  width: 100% !important;
  height: auto !important;
  display: block;
  background: #e8e8e8;
  border-radius: 4px;
}
/* video.js 容器只锁定宽度，高度由内部视频自然撑开 */
.showcase-video .video-js {
  width: 100% !important;
  height: auto !important;
  padding-top: 0 !important;
}
/* video.js 默认把视频设为绝对定位导致容器塌陷、画面溢出，改回正常文档流 */
.showcase-video .video-js .vjs-tech {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  display: block;
}
.sv-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8e8e8;
}
.sv-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.sv-cover:hover img { transform: scale(1.04); }
.sv-cover .play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .25s ease;
}
.sv-cover:hover .play-badge { transform: translate(-50%, -50%) scale(1.1); }
.showcase-text { flex: 1; min-width: 0; }
.showcase-text h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.2;
}
.showcase-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.9;
  margin-bottom: 22px;
}
/* 正文去格式：后台编辑器里的多个段落合并为连续一段显示 */
.showcase-text .st-body p {
  display: inline;
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.9;
}
.showcase-text .st-body p::after { content: " "; }
.showcase-social a {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  margin-right: 10px;
  color: #666;
  font-size: 13px;
}
.showcase-social a:hover { border-color: #5a8c5a; color: #5a8c5a; }

/* ---------------- 产品展示 ---------------- */
.section-products { margin-top: 50px; }
.sec-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 24px;
  text-align: center;
}
.product-grid { margin: 0 -10px; }
.product-card {
  float: left;
  width: calc((100% - 80px) / 4);
  margin: 0 10px 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.product-card .p-pic { display: block; position: relative; overflow: hidden; }
.product-card .p-pic img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .4s; }
.product-card:hover .p-pic img { transform: scale(1.05); }

/* 视频卡片播放按钮 */
.p-pic .play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.p-pic .play-badge svg { margin-left: 3px; }
.p-pic.is-video:hover .play-badge { transform: translate(-50%, -50%) scale(1.12); }

/* 产品卡悬停：与视频卡同款反馈（图片放大 + 卡片浮起阴影） */
.product-card.is-product { transition: transform .3s ease, box-shadow .3s ease; }
.product-card.is-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

/* 卡片下方文字块 */
.case-info { padding: 18px 14px 20px; text-align: center; }
.case-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #9aaf9a;
  margin-bottom: 8px;
}
.case-link { font-size: 12px; color: #5a8c5a; }
.case-link:hover { text-decoration: underline; }

/* ---------------- 底部分类 ---------------- */
.section-scenes { margin-top: 20px; margin-bottom: 50px; }
/* 首页底部 5 个产品卡：复用分类页 .pro-item 卡片样式（上图 + 左对齐标题条），仅调为 5 列 */
.scene5 .pro-item {
  width: calc((100% - 80px) / 5);
  margin: 0 8px 24px;
}

/* ---------------- 页脚 ---------------- */
.footer {
  background: #333;
  color: #aaa;
  padding: 45px 0 30px;
}
.foot-main {
  text-align: center;
  margin-bottom: 30px;
}
.foot-line {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-nav a {
  font-size: 13px;
  color: #aaa;
  margin-right: 20px;
}
.foot-nav a:last-child { margin-right: 0; }
.foot-nav a:hover { color: #fff; }
.foot-search { display: flex; }
.foot-search input {
  width: 180px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #555;
  background: #2a2a2a;
  color: #ccc;
  font-size: 12px;
}
.foot-search button {
  width: 48px;
  height: 34px;
  border: 0;
  background: #5a8c5a;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.foot-social a {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border: 1px solid #666;
  border-radius: 50%;
  margin-left: 10px;
  color: #aaa;
  font-size: 12px;
}
.foot-social a:hover { border-color: #5a8c5a; color: #5a8c5a; }
.foot-logo {
  text-align: center;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}
.foot-logo img { height: 140px; vertical-align: middle; margin-right: 8px; }
.copyright {
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* ---------------- 内页通用 ---------------- */
.main { padding: 30px 0 60px; min-height: 400px; }
.location {
  padding: 14px 0;
  font-size: 12px;
  color: #999;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 28px;
}
.location a { color: #666; }
.location a:hover { color: #5a8c5a; }
.page-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 24px;
}

/* ---------------- 内页左侧栏 ---------------- */
.side { float: left; width: 220px; }
.side h3 {
  background: #5a8c5a;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  padding: 14px 18px;
}
.side ul { background: #fff; padding: 8px 0; }
.side li a {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
}
.side li a:hover { background: #f0f7f0; color: #5a8c5a; }
.side li a.on {
  background: #5a8c5a;
  color: #fff;
}
.content { float: right; width: calc(100% - 250px); }

/* ---------------- 产品列表 ---------------- */
.pro-list { margin: 0 -10px; }
.pro-item {
  float: left;
  width: calc((100% - 60px) / 3);
  margin: 0 10px 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
}
.pro-item .pic { display: block; overflow: hidden; }
.pro-item .pic img { width: 100%; height: 190px; object-fit: cover; transition: transform .3s; }
.pro-item:hover .pic img { transform: scale(1.05); }
.pro-item .t {
  display: block;
  padding: 11px 14px;
  font-size: 13px;
  color: #555;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pro-item .t:hover { color: #5a8c5a; }

/* ---------------- 视频列表 ---------------- */
.video-list { margin: 0 -10px; }
.video-card {
  float: left;
  width: calc((100% - 60px) / 3);
  margin: 0 10px 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
}
.video-card a { display: block; }
.video-card .v-thumb { position: relative; overflow: hidden; }
.video-card .v-thumb img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .3s; }
.video-card:hover .v-thumb img { transform: scale(1.05); }
.video-card h4 {
  padding: 12px 14px;
  font-size: 13px;
  color: #555;
  font-weight: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.video-card:hover h4 { color: #5a8c5a; }
.play {
  position: absolute;
  left: 50%; top: 50%;
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
}
.play::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  margin: -9px 0 0 -5px;
  border-left: 16px solid #5a8c5a;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* ---------------- 新闻列表 ---------------- */
.news-list { background: #fff; padding: 0 24px; }
.news-list li { padding: 22px 0; border-bottom: 1px solid #eee; }
.news-list li:last-child { border-bottom: 0; }
.news-list .n-date {
  float: left;
  width: 120px;
  font-size: 14px;
  color: #999;
  font-weight: 500;
}
.news-list .n-body { margin-left: 140px; }
.news-list .n-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
.news-list .n-title:hover { color: #5a8c5a; }
.news-list .n-summary {
  margin-top: 6px;
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}

/* ---------------- 内容页 ---------------- */
.a-title { font-size: 22px; font-weight: bold; color: #333; text-align: center; }
.a-info {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}
.article { font-size: 14px; color: #444; line-height: 1.9; }
.article p { margin-bottom: 1em; }
.article img { max-width: 100%; height: auto; }
/* 视频详情页播放器：默认限宽 760px 居中，高度按视频比例自适应 */
.player {
  background: #000;
  margin: 0 auto 24px;
  max-width: 760px;
}
.player video {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}
/* video.js 接管播放器时同样要防塌陷/防溢出（与首页 showcase 同套修法） */
.player .video-js {
  width: 100% !important;
  height: auto !important;
  padding-top: 0 !important;
  aspect-ratio: 16 / 9;
}
.player .video-js .vjs-tech {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* ---------------- 关于我们页 ---------------- */
.about-page .about-photo {
  float: left;
  width: 420px;
  height: 460px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #e8e8e8;
  margin-right: 40px;
  margin-bottom: 30px;
}
.about-page .article { overflow: hidden; }

/* ---------------- 分页 ---------------- */
.pager { clear: both; text-align: center; padding: 20px 0 5px; }
.pager a, .pager span {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 3px;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 13px;
  color: #666;
}
.pager a:hover { background: #5a8c5a; border-color: #5a8c5a; color: #fff; }
.pager .on, .pager span { background: #5a8c5a; border-color: #5a8c5a; color: #fff; }

/* ---------------- 产品详情页 ---------------- */
.pd-page {
  background: #fff;
  padding: 36px 0 30px;
  min-height: 500px;
}
.pd-breadcrumb {
  font-size: 12px;
  color: #999;
  margin-bottom: 26px;
}
.pd-breadcrumb a { color: #666; }
.pd-breadcrumb a:hover { color: #5a8c5a; }

/* 头部左图右文，整体 50/50，与 cooknchic.com 保持一致 */
.pd-layout { display: flex; gap: 60px; align-items: flex-start; }
.pd-gallery { flex: 0 0 calc(50% - 30px); max-width: calc(50% - 30px); }
.pd-info    { flex: 1; min-width: 0; }

.pd-main-image {
  background: #f7f7f7;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1 / 1;          /* cooknchic 主图接近 1:1 */
  margin-bottom: 14px;
}
.pd-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity .15s ease;
}
/* 缩略图条：横向一行，cooknchic 风格为等宽正方形 */
.pd-thumb-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.pd-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  background: #f7f7f7;
  cursor: pointer;
  opacity: .55;
  transition: opacity .15s ease, border-color .15s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: .9; }
.pd-thumb.on { border-color: #111; opacity: 1; }

.pd-title {
  font-size: 30px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
  margin: 4px 0 18px;
  letter-spacing: .2px;
}

/* 手风琴：cooknchic 风格为大写+字间距+右侧 chevron */
.pd-accordion { border-top: 1px solid #e6e6e6; }
.pd-acc-section { border-bottom: 1px solid #e6e6e6; }
.pd-acc-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 2px;
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
}
.pd-acc-icon {
  font-size: 14px;
  font-weight: 400;
  color: #111;
  width: 14px;
  text-align: right;
  display: inline-block;
  transition: transform .25s ease;
}
.pd-acc-section.open .pd-acc-icon { transform: rotate(180deg); }
/* 手风琴展开动画：grid 0fr->1fr 只过渡实际高度，比 max-height 0->1200px 流畅得多 */
.pd-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .26s ease;
}
.pd-acc-inner {
  overflow: hidden;
  min-height: 0;
}
.pd-acc-section.open .pd-acc-body {
  grid-template-rows: 1fr;
}
.pd-acc-section.open .pd-acc-inner {
  padding-bottom: 18px;
}
.pd-acc-body ul { padding-left: 20px; }
.pd-acc-body li {
  list-style: disc;
  font-size: 13px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 6px;
}
.pd-acc-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 10px;
}
.pd-acc-body img { max-width: 100%; height: auto; }

.pd-share { margin-top: 22px; }
.pd-share-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .15s ease, color .15s ease;
}
.pd-share-link:hover { color: #5a8c5a; border-color: #5a8c5a; }
.pd-share-link svg { width: 14px; height: 14px; }

/* ---------------- 产品详情页 - 下部图文版块 ---------------- */
.pd-features {
  background: #fff;
  padding: 30px 0 60px;
}
.pd-feature-block {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0;
}
.pd-feature-block:last-child { margin-bottom: 0; }
.pd-feature-block.pd-reverse { flex-direction: row-reverse; }
.pd-feature-image {
  flex: 0 0 55%;
  line-height: 0;
  background: #f8f8f8;
}
.pd-feature-image img {
  width: 100%;
  display: block;
  border-radius: 4px;
}
.pd-feature-text {
  flex: 1;
  padding: 0 10px;
}
.pd-feature-text h3 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

/* ---------------- 产品详情页 - 右侧简介 ---------------- */
.pd-intro { margin-bottom: 16px; }
.pd-intro p {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 10px;
}
.pd-feature-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 12px;
}

/* ---------------- 产品详情页 - 正文文章流（所见即所得） ---------------- */
/* 后台编辑器里写什么格式，前台就显示什么格式：任意标题/段落/图片/列表/表格 */
.pd-article {
  margin-top: 56px;
  padding-top: 46px;
  border-top: 1px solid #e6e6e6;
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}
.pd-article h2, .pd-article h3, .pd-article h4, .pd-article h5 {
  color: #111;
  font-weight: 700;
  margin: 34px 0 14px;
}
.pd-article h2 { font-size: 22px; }
.pd-article h3 { font-size: 19px; }
.pd-article h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.pd-article h5 { font-size: 15px; }
.pd-article p { margin-bottom: 14px; }
.pd-article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 22px auto;
  border-radius: 4px;
}
.pd-article ul, .pd-article ol { padding-left: 22px; margin-bottom: 14px; }
.pd-article ul li { list-style: disc; margin-bottom: 6px; }
.pd-article ol li { list-style: decimal; margin-bottom: 6px; }
.pd-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
}
.pd-article th, .pd-article td {
  border: 1px solid #e6e6e6;
  padding: 9px 12px;
  text-align: left;
}
.pd-article th { background: #f7f7f7; font-weight: 700; color: #111; }
.pd-article blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-left: 3px solid #5a8c5a;
  background: #f6f9f6;
  color: #666;
}
.pd-article em, .pd-article i { color: #888; font-size: 12px; }
/* 兜底：正文里残留的 nowrap（Word/编辑器写成 text-wrap-mode:nowrap）会让文字被裁掉、窄屏还会横向撑破，一律允许换行 */
.pd-article, .pd-article *,
.pd-fx-text,
.article, .article * {
  white-space: normal !important;
  overflow-wrap: break-word;
}

/* ---------------- 产品详情页 - 正文自动图文行（Word 导入自动成版） ---------------- */
/* 规则：图片块 + 相邻文字块 = 一行，左右各半，逐行交替左右方向 */
.pd-fx-row {
  display: flex;
  align-items: center;
  gap: 46px;
  margin-bottom: 54px;
}
.pd-fx-row:last-child { margin-bottom: 0; }
.pd-fx-row.pd-fx-rev { flex-direction: row-reverse; }

.pd-fx-media,
.pd-fx-text { flex: 1 1 0%; min-width: 0; }

.pd-fx-media { line-height: 0; }
.pd-fx-media img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 4px;
}
/* 连续多张图且没有文字介绍 → 直接垂直堆叠，不做左右并排、不留横向间隔 */
.pd-fx-media.pd-fx-multi { display: block; }
.pd-fx-media.pd-fx-multi > * { margin: 0 !important; padding: 0 !important; }
/* 多图之间保留垂直间距（同一段落里的两张图 / 两个图片段落之间） */
.pd-fx-media.pd-fx-multi > * + * { margin-top: 18px !important; }
.pd-fx-media.pd-fx-multi img + img { margin-top: 18px !important; }
.pd-fx-media.pd-fx-multi img {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

/* 没有配文的图：居中收窄，不拉满整行 */
.pd-fx-row.pd-fx-solo { display: block; }
.pd-fx-row.pd-fx-solo .pd-fx-media { max-width: 620px; margin: 0 auto; }
/* 多张图垂直堆叠时按正文宽度铺开，不再收窄 */
.pd-fx-row.pd-fx-solo .pd-fx-media.pd-fx-multi { max-width: 100%; }
/* 开头总览图集（产品全景图 + 规格图）：统一宽度居中，避免各图原始尺寸不同导致参差不齐 */
.pd-fx-row.pd-fx-solo .pd-fx-media.pd-fx-multi img {
  width: auto;
  max-width: min(860px, 100%);
}

.pd-fx-text > *:first-child { margin-top: 0; }
.pd-fx-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin: 0 0 12px;
}
.pd-fx-text p:last-child { margin-bottom: 0; }
/* Word 里加粗的那一行 = 小标题，统一压成站点风格（顺带压掉 22pt 微软雅黑） */
.pd-fx-text [data-pd-title],
.pd-fx-text h2,
.pd-fx-text h3,
.pd-fx-text h4,
.pd-fx-text h5 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111 !important;
  line-height: 1.55;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 16px !important;
}
.pd-fx-text ul, .pd-fx-text ol { padding-left: 22px; margin-bottom: 12px; }
.pd-fx-text li { font-size: 14px; color: #555; line-height: 1.9; margin-bottom: 6px; }

/* 无配图的文字行（页首前言 / 结尾段落） */
.pd-fx-note { margin-bottom: 34px; }
.pd-fx-note:last-child { margin-bottom: 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1240px) {
  .wrap { width: 96%; }
}
@media (max-width: 992px) {
  .top-header .wrap { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .top-nav { order: 3; width: 100%; }
  .top-nav > ul > li > a { line-height: 44px; padding: 0 16px; }
  .has-dropdown .mega-menu { width: 90vw; left: 5%; transform: none; }
  .about-showcase-inner { flex-direction: column; }
  .showcase-text { flex: none; width: 100%; }
  .showcase-video { flex: none; width: 100%; }
  .about-news-row { flex-direction: column; }
  .foot-line { flex-direction: column; gap: 16px; }
  .pd-layout { flex-direction: column; gap: 30px; }
  /* 竖排后图区必须放开 50% 的宽度限制，否则主图会被压成小方块 */
  .pd-gallery { flex: none; width: 100%; max-width: 100%; }
  .pd-feature-block { flex-direction: column; gap: 24px; }
  .pd-feature-block.pd-reverse { flex-direction: column; }
  .pd-feature-image { flex: none; width: 100%; }
  /* 正文图文行：窄屏一律图在上、文在下 */
  .pd-fx-row { flex-direction: column; align-items: stretch; gap: 22px; margin-bottom: 40px; }
  .pd-fx-row.pd-fx-rev { flex-direction: column; }
}
@media (max-width: 768px) {
  /* ---------------- 手机端整体适配 ---------------- */
  /* 首屏 Banner：宽幅 banner（如 1920x630）缩到手机宽度只剩 ~128px 高，图上文字会小到看不清。
     窄屏换成 2:1 并左锚裁切：文字放大到约 1.6 倍、主体保留，右侧空白被裁掉（不裁上下、不变形）。 */
  .hero-banner { aspect-ratio: 2 / 1; }
  .hero-slide img { object-position: left center; }
  .hero-dots { bottom: 10px; }
  .hero-dots .dot { width: 8px; height: 8px; margin: 0 4px; }
  /* Banner 下方图片条：本身是 800x120 的装饰长条，窄屏保持原比例即可，不做裁切 */
  .banner-row { margin-top: 20px; }
  /* 新闻列表：日期原本占左侧 120px 整列，窄屏只剩 200px 给标题 → 改为标题上方一行 */
  .news-list { padding: 0 16px; }
  .news-list .n-date { float: none; width: auto; margin-bottom: 6px; font-size: 13px; }
  .news-list .n-body { margin-left: 0; }
  /* 卡片/列表标题：窄屏允许两行，不再单行截断成几个字 */
  .case-info h4,
  .news-list .n-title,
  .news-side .n-title,
  .pro-item .t,
  .video-card h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    text-overflow: clip;
    overflow: hidden;
  }
  /* 表格窄屏内部横向滚动，不撑破页面 */
  .article table, .pd-article table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* 正文图片一律满宽等比（含各自尺寸不同的导入图） */
  .article img, .pd-article img { max-width: 100%; height: auto; }
  .pd-article { margin-top: 34px; padding-top: 30px; }
  .pd-article blockquote { padding: 10px 14px; }

  .top-tools { display: none; }
  .top-header .wrap { height: 60px; }
  .top-logo img { height: 56px; }
  /* 汉堡按钮 */
  .nav-toggle {
    display: block;
    width: 42px; height: 36px;
    background: #fff;
    border: 1px solid #ddd; border-radius: 4px;
    padding: 8px 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #333; margin: 3px 0; border-radius: 2px; }
  /* 导航默认收起，点汉堡展开 */
  .top-nav { display: none; order: 3; width: 100%; background: #fff; }
  .top-nav.open { display: block; }
  .top-nav > ul > li { float: none; }
  .top-nav > ul > li > a { line-height: 44px; border-bottom: 1px solid #f0f0f0; padding: 0 4px; }
  /* 手机端下拉：随菜单展开直接平铺分类列表（无悬停概念），隐藏右侧大图 */
  .has-dropdown .mega-menu { position: static; width: 100%; box-shadow: none; display: none; transform: none; padding: 2px 0 10px; }
  .top-nav.open .has-dropdown .mega-menu { display: block; }
  .mm-inner { display: block; }
  .mm-cats { width: 100%; }
  .mm-cat { padding: 10px 16px; background: #f8faf8; margin-bottom: 4px; border-radius: 4px; }
  .mm-hots { display: none; }
  /* 分类页侧栏：改为横向滚动分类条 */
  .side { float: none; width: 100%; margin: 0 0 16px; }
  .side h3 { display: none; }
  .side ul { display: flex; gap: 8px; overflow-x: auto; padding: 0; background: none; -webkit-overflow-scrolling: touch; }
  .side li { flex: none; }
  .side li a { border: 1px solid #d8e4d8; border-radius: 18px; padding: 8px 16px; white-space: nowrap; }
  .side li a.on { border-color: #5a8c5a; }
  /* 首页底部五列产品卡 → 两列 */
  .scene5 .pro-item { width: calc((100% - 20px) / 2); margin: 0 5px 16px; }
  /* 其余卡片区块单列 */
  .cat-trio-item,
  .product-card,
  .pro-item,
  .video-card { width: 100%; margin: 0 0 16px; }
  .pro-list { margin: 0; }
  .content { float: none; width: 100%; }
  .about-page .about-photo { float: none; width: 100%; height: 260px; margin-right: 0; }
  .foot-main { flex-direction: column; gap: 16px; text-align: center; }
}

/* ---------------- 小屏手机（≤480px，iPhone 竖屏等） ---------------- */
@media (max-width: 480px) {
  .wrap { width: 94%; }
  /* 产品详情：标题、图区、图组间距收紧，避免手机上过于松散 */
  .pd-title { font-size: 23px; letter-spacing: 0; margin: 2px 0 14px; }
  .pd-breadcrumb { margin-bottom: 16px; font-size: 12px; }
  .pd-main-image { margin-bottom: 10px; }
  .pd-thumb { width: 58px; height: 58px; }
  .pd-acc-header { padding: 14px 0; letter-spacing: .8px; }
  .pd-info { margin-top: 4px; }
  /* 正文自动排版块 */
  .pd-article { margin-top: 28px; padding-top: 24px; }
  .pd-fx-row { gap: 18px; margin-bottom: 36px; }
  .pd-fx-text [data-pd-title],
  .pd-fx-text h2, .pd-fx-text h3, .pd-fx-text h4, .pd-fx-text h5 {
    font-size: 14px !important;
    letter-spacing: .8px;
  }
  .pd-fx-text p { line-height: 1.8; }
  /* 首页图文区块 */
  .pd-feature-block { gap: 18px; margin-bottom: 40px; }
  .about-news-row { gap: 20px; }
  .news-list { padding: 0 12px; }
  .news-list li { padding: 16px 0; }
  /* 页脚 */
  .foot-nav { flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
  .foot-line { gap: 14px; }
}

/* 回顶部按钮 */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 34px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #5a8c5a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s ease;
  cursor: pointer;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  background: #3e6b3e;
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .back-top { right: 14px; bottom: 18px; width: 40px; height: 40px; }
}
