@charset "utf-8";
/* ============================================================
   客户站点定制样式（德好中央厨房设备）
   说明：本文件在 common.css / lystyle.css 之后加载，
        仅做针对性覆盖，不修改模板原有设计语言。
   ============================================================ */

/* ---------- 1. 头部：8 个栏目自适应布局 ---------- */
.adminbuy_Top .lyTop_Main {
  display: flex;
  align-items: center;
  padding: 0 0 0 40px;
  box-sizing: border-box;
}
.lyTop_Main .adminbuy_Logo {
  flex: 0 0 auto;
  order: 1;
  width: auto;
  min-width: 250px;
}
.adminbuy_Nav {
  flex: 1 1 auto;
  order: 2;
  max-width: none;
  float: none;
  margin: 0 18px;
}
.adminbuy_Nav .nav_list > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}
.adminbuy_Nav .nav_list > ul > li { float: none; }
.adminbuy_Nav .nav_list > ul > li > a {
  padding: 20px 17px;
  font-size: 16px;
  white-space: nowrap;
}
.lyTop_Main .lyTop_Tel {
  flex: 0 0 auto;
  order: 3;
  float: none;
  margin-left: 0;
  min-width: 0;
}

@media (max-width: 1560px) {
  .adminbuy_Nav .nav_list > ul > li > a { padding: 20px 13px; font-size: 15px; }
}
@media (max-width: 1366px) {
  .adminbuy_Top .lyTop_Main { padding: 0 0 0 25px; }
  .lyTop_Main .adminbuy_Logo { min-width: 210px; }
  .adminbuy_Nav { margin: 0 10px; }
  .adminbuy_Nav .nav_list > ul > li > a { padding: 20px 10px; font-size: 14px; }
  .lyTop_Main .lyTop_Tel { font-size: 15px; padding: 24px 14px; }
}
@media (max-width: 1200px) {
  .adminbuy_Nav .nav_list > ul > li > a { padding: 20px 8px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .adminbuy_Top .lyTop_Main { display: block; }
  .adminbuy_Nav { max-width: 100%; margin: 0; }
  .adminbuy_Nav .nav_list > ul { justify-content: flex-start; }
}

/* ---------- 2. 内页 Banner：加深背景，保证白色标题可读 ---------- */
.NyBanner { background: #131c26; }
.NyBanner img.nyBa_Img {
  filter: brightness(.72) saturate(.8) contrast(1.02);
}
.NyBanner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(12, 19, 27, .78) 0%, rgba(12, 19, 27, .48) 50%, rgba(12, 19, 27, .66) 100%);
  pointer-events: none;
  z-index: 1;
}
.NyBanner .NyBa_Con { z-index: 2; }
/* 原设计用 96px 英文大字做背景装饰（白色 3%），叠加暗遮罩后反而比中文标题更抢眼，
   且与标题重叠。这里缩小、上移并进一步降低不透明度，让它只做纹理。 */
.NyBanner .NyBa_Con {
  width: 90% !important;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.NyBanner .NyBa_Con span {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .05);
}
.NyBanner .NyBa_Con p { margin: 0 !important; }
.NyBanner .NyBa_Con i { margin: 16px auto; }
.NyBanner .NyBa_Con p { text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.NyBanner .Crumb,
.NyBanner .Crumb a,
.NyBanner .Crumb span { color: rgba(255, 255, 255, .62); }
.NyBanner .Crumb a:hover { color: #fff; }

/* ---------- 3. 关于我们：正文不再固定高度截断 ---------- */
.lyGsjj_con .lyGsjj_ms {
  height: auto !important;
  max-height: none;
  overflow: visible !important;
}
.lyGsjj_con .lyGsjj_ms p { margin-bottom: 14px; }
.lyGsjj_con .lyGsjj_ms h3 {
  font-size: 18px;
  color: #333;
  margin: 18px 0 8px;
  font-weight: bold;
}

/* ---------- 4. 新闻列表：两列对齐，消除错位空档 ---------- */
/* 原模板 .newul li 为固定宽 510px + 链接 nowrap，网格化后必须显式解除，
   否则子项会撑破容器（实测移动端 li 宽 510 > 视口 375）。 */
.NyNews_Main .newul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.NyNews_Main .newul li {
  width: 100% !important;
  max-width: 100% !important;
  float: none;
  margin: 0 !important;
  height: auto;
  min-width: 0;
}
.NyNews_Main .newul li .new_box,
.NyNews_Main .newul li a,
.NyNews_Main .newul li p,
.NyNews_Main .newul li em,
.NyNews_Main .newul li span {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.NyNews_Main .newul li a,
.NyNews_Main .newul li p {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
/* 原样式给标题 a 写死 height/line-height:46px，标题换行后会溢出压住日期，
   这里改为自适应高度，保证多行标题把下方元素正常推开。 */
.NyNews_Main .newul li p a {
  height: auto !important;
  line-height: 1.55 !important;
  min-height: 0;
}
.NyNews_Main .newul li p { height: auto !important; }
@media (max-width: 900px) {
  .NyNews_Main .newul { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- 5. 产品卡片：3 列等宽网格 + 整行「查看全部」横条 ----------
   原模板用 float + 百分比宽度（li 23.5%、margin-right 2%，第 4n+4 去边距），
   但卡片本身有 1px 边框且为 content-box，4 列时实际宽度超出容器约 8px，
   导致第 4 个卡片被挤出可视区（只露出左边缘）。改用 grid 彻底规避。 */
/* 注意：首页「成功案例」区是 Swiper 轮播（.lyTjPro_swiper），但它复用了同一个
   .lyIdxPro_r 类名。Swiper 靠 JS 给每个 slide 写内联 width 并用 transform 排布，
   这里若用 grid 接管 ul、又给 li 加 width:auto!important，会覆盖掉 Swiper 的内联宽度，
   结果就是所有卡片竖着堆成一列（2026-10-19 实际踩到）。故全部加 :not(.lyTjPro_swiper) 排除。 */
.lyIdxPro_r:not(.lyTjPro_swiper) ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.lyIdxPro_r:not(.lyTjPro_swiper) ul li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  min-width: 0;
}
.lyIdxPro_r:not(.lyTjPro_swiper) ul li:nth-child(4n+4) { margin-right: 0 !important; }
.lyIdxPro_r:not(.lyTjPro_swiper) ul li .lyIdxPro_con { height: 100%; box-sizing: border-box; }
/* ---------- 5.1 首页产品区左右两栏高度配平 ----------
   左栏是「130px 红头 + 9 个 56px 手风琴项」＝ 661px，右栏只有 3 张卡片 + 横条 ≈ 441px，
   底部会空出一大块白。这里两侧同时收：侧栏压到 104 + 9×46，图片区抬到 320，
   两栏底部基本齐平（落差 20px 左右）。
   注意：.cp_type 在列表页侧栏（.NyPro_Left）也复用，故全部限定在 .lyIdx_Pro 下，避免连带改坏列表页。 */
.lyIdx_Pro .cp_type .hd { height: 104px; padding: 22px 0; }
.lyIdx_Pro .cp_type .hd p { font-size: 30px; }
.lyIdx_Pro .cp_type .bd ul li { margin-bottom: 2px; }
.lyIdx_Pro .cp_type .bd ul li p { height: 46px; line-height: 46px; }
.lyIdx_Pro .cp_type .bd ul li p a { font-size: 15px; }

/* ≤1080px 原模板把产品分类头切换成「标题左浮动 + 右侧 ＋ 号」的折叠条，
   标题的横向位置完全靠 .hd 自己的 25px 左右内边距撑着。上面那条 padding:22px 0
   特异性更高会把它覆盖成 0，标题就直接贴住红色块的左边缘（2026-10-19 移动端实测）。
   这里用同等特异性补回内边距，同时把 104px 的桌面高度收回成窄屏合适的 66px。 */
@media (max-width: 1080px) {
  .lyIdx_Pro .cp_type .hd { height: 66px; padding: 12px 18px; }
  .lyIdx_Pro .cp_type .hd p { font-size: 24px; }
}

/* 图片区：三张产品图两竖一横（0.63 / 0.77 / 1.78），统一 contain 居中。
   底色必须留白（#fff）——三张图自带近白背景，若垫 #fafafa 会出现
   「照片底色 / 面板灰 / 卡片白」三层不同的白，肉眼可见色带。 */
.lyIdx_Pro .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_img {
  height: 320px;
  background: #fff;
}

/* ---------- 5.1.1 首页产品区上下留白收紧 ----------
   原模板 .lyIdx_Pro 的内边距按断点递减 80/70/60/50/40/30px，
   桌面端上下各 60px，产品区顶部与搜索条之间、底部与「关于我们」深色区之间
   都空得比较明显。整体压到约 2/3。
   注意：这组媒体查询必须写在上面的 .lyIdx_Pro 基础规则之后，否则会被它覆盖。 */
.lyIdx_Pro { padding: 48px 0; }
@media (max-width: 1600px) { .lyIdx_Pro { padding: 42px 0; } }
@media (max-width: 1440px) { .lyIdx_Pro { padding: 36px 0; } }
@media (max-width: 1200px) { .lyIdx_Pro { padding: 30px 0; } }
@media (max-width: 1024px) { .lyIdx_Pro { padding: 26px 0; } }
@media (max-width: 820px)  { .lyIdx_Pro { padding: 20px 0 24px; } }

/* ---------- 5.2 首页「成功案例」区 ----------
   原为 Swiper 轮播，案例只有 3 条时 loop 会克隆幻灯片补齐，出现重复卡片，
   且 Swiper 写入的内联 width 与真实渲染宽度对不上，卡片宽度忽大忽小。
   已改为与产品区一致的 3 列静态网格（见 index.html 内注释），
   卡片沿用同一套 .lyIdxPro_* 结构，这里只补整块宽度与图片区高度。 */
.lyIdx_TjPro .lyIdxPro_r { float: none; width: 100%; }
.lyIdx_TjPro .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_img { height: 300px; }

.lyIdxPro_More {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 28px 26px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-left: 3px solid #c10326;
  color: #666;
  transition: all .3s;
}
.lyIdxPro_More:hover { background: #fff; border-color: #c10326; }
.lyIdxPro_More span {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.lyIdxPro_More span em {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: normal;
  font-style: normal;
  color: #999;
}
.lyIdxPro_More > i {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  color: #c10326;
  transition: transform .3s;
}
.lyIdxPro_More:hover span { color: #c10326; }
.lyIdxPro_More:hover > i { transform: translateX(4px); }

/* ---------- 6. 列表页底部咨询条 ---------- */
.list-cta {
  margin-top: 40px;
  padding: 26px 30px;
  background: #f7f8fa;
  border-left: 3px solid #c10326;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.list-cta p { font-size: 15px; color: #666; line-height: 1.9; }
.list-cta p b { color: #333; font-size: 17px; display: block; margin-bottom: 2px; }
.list-cta .btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background: #c10326;
  color: #fff;
  font-size: 15px;
  border-radius: 2px;
  white-space: nowrap;
  transition: all .3s;
}
.list-cta .btn-cta:hover { background: #a10220; color: #fff; }

/* ---------- 7. 产品详情：视频层默认隐藏（有视频时由脚本唤起） ---------- */
.videoItem { display: none; }

/* ---------- 8. 空数据提示 ---------- */
.tac.text-secondary {
  padding: 80px 0;
  color: #999;
  font-size: 16px;
  background: #fff;
}

/* ---------- 9. 页脚：去除模板商链接后的排版 ---------- */
.lyFoot_Copy p { line-height: 28px; }

/* ---------- 10. 正文排版：标题层级 / 列表 / 强调 ---------- */
.NyNewDetail_Content h2,
.ProDetailText h2 {
  font-size: 24px !important;
  line-height: 1.5 !important;
  color: #222 !important;
  font-weight: bold !important;
  margin: 30px 0 14px !important;
  padding: 0 0 0 14px;
  border-left: 4px solid #c10326;
}
.NyNewDetail_Content h3,
.ProDetailText h3 {
  font-size: 19px !important;
  line-height: 1.6 !important;
  color: #222 !important;
  font-weight: bold !important;
  margin: 26px 0 10px !important;
}
.NyNewDetail_Content h4,
.ProDetailText h4 {
  font-size: 17px !important;
  color: #333 !important;
  font-weight: bold !important;
  margin: 20px 0 8px !important;
}
.NyNewDetail_Content ul,
.NyNewDetail_Content ol,
.ProDetailText ul,
.ProDetailText ol {
  margin: 0 0 18px !important;
  padding: 0 0 0 22px !important;
  overflow: visible !important;
}
.NyNewDetail_Content ul li,
.ProDetailText ul li {
  list-style: disc outside !important;
  line-height: 30px !important;
  color: #666 !important;
  font-size: 16px !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  display: list-item !important;
}
.NyNewDetail_Content ol li,
.ProDetailText ol li {
  list-style: decimal outside !important;
  line-height: 30px !important;
  color: #666 !important;
  font-size: 16px !important;
  margin: 0 0 6px !important;
  display: list-item !important;
}
.NyNewDetail_Content li b,
.ProDetailText li b { color: #333 !important; font-weight: bold !important; }
.NyNewDetail_Content strong, .ProDetailText strong { color: #333; font-weight: bold; }
.NyNewDetail_Content table, .ProDetailText table { border-collapse: collapse; margin: 16px 0; }
.NyNewDetail_Content table td, .NyNewDetail_Content table th,
.ProDetailText table td, .ProDetailText table th { border: 1px solid #e5e5e5; padding: 10px 14px; font-size: 15px; }
.NyNewDetail_Content table th { background: #f7f7f7; color: #333; }

@media (max-width: 1366px) {
  .NyNewDetail_Content h2, .ProDetailText h2 { font-size: 21px !important; }
  .NyNewDetail_Content h3, .ProDetailText h3 { font-size: 18px !important; }
  .NyNewDetail_Content ul li, .ProDetailText ul li { font-size: 15px !important; line-height: 28px !important; }
}

/* ============================================================
   15. 正文附件下载条（资源下载栏目）
   ============================================================ */
.NyFileDown {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0 0;
  padding: 20px 24px;
  background: #f7f8fa;
  border: 1px solid #ececec;
  border-left: 3px solid #c10326;
  flex-wrap: wrap;
}
.NyFileDown > i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: #c10326;
  position: relative;
}
.NyFileDown > i::after {
  content: "PDF";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  font-style: normal;
  letter-spacing: .5px;
}
.NyFileDown_Text { flex: 1 1 auto; min-width: 0; }
.NyFileDown_Text p { font-size: 13px; color: #999; line-height: 1.6; }
.NyFileDown_Text span { font-size: 16px; color: #333; font-weight: bold; }
.NyFileDown > a {
  flex: 0 0 auto;
  display: inline-block;
  padding: 10px 26px;
  background: #c10326;
  color: #fff;
  font-size: 15px;
  border-radius: 2px;
  transition: background .3s;
}
.NyFileDown > a:hover { background: #a00220; color: #fff; }

/* ============================================================
   14. 页脚：补充公司名称与地址
   ============================================================ */
.lyFoot_l .lyFoot_Info {
  margin: 14px 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.lyFoot_l .lyFoot_Info p {
  font-size: 13px;
  line-height: 24px;
  color: rgba(255, 255, 255, .55);
}
.lyFoot_l .lyFoot_Info p:first-child { color: rgba(255, 255, 255, .82); }

/* ============================================================
   11. 移动端适配（<=1024px）
   原模板在 1024 以下把头部改成 display:block 堆叠，
   导致汉堡按钮 absolute 定位落进 banner 区域、电话块占位留白。
   这里改为单行 flex：LOGO 居左、汉堡按钮居右，电话隐藏。
   ============================================================ */
@media (max-width: 1024px) {
  .adminbuy_Top .lyTop_Main {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding: 0 14px !important;
    box-sizing: border-box;
  }
  .lyTop_Main .adminbuy_Logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 62px;
    display: flex;
    align-items: center;
    overflow: visible;
  }
  .lyTop_Main .adminbuy_Logo img {
    max-height: 44px;
    width: auto;
    max-width: 100%;
  }
  .lyTop_Main .lyTop_Tel { display: none !important; }

  .adminbuy_Nav {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin: 0 !important;
    position: static;
  }
  /* 汉堡按钮：改为行内定位，红底白线，保证可见可点 */
  .adminbuy_Nav .nav_menu {
    position: static !important;
    display: block !important;
    width: 42px;
    height: 38px;
    padding: 10px 9px;
    margin: 0 !important;
    background-color: #c10326;
    border-radius: 3px;
    box-sizing: border-box;
    cursor: pointer;
  }
  .adminbuy_Nav .nav_menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
  }
  .adminbuy_Nav .nav_menu span + span { margin-top: 6px; }

  /* 抽屉菜单：全屏高度、可滚动 */
  .adminbuy_Nav .nav_list {
    top: 0;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .adminbuy_Nav .nav_list > ul { display: block; }

  /* 内页 banner 高度收敛 */
  .NyBanner { height: 210px; }
  .NyBanner .NyBa_Con p { font-size: 24px; }
  .NyBanner .NyBa_Con span { font-size: 12px; letter-spacing: 2px; }
  .Crumb { font-size: 12px; line-height: 20px; }

  /* 列表页底部咨询条改为竖排 */
  .list-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    margin-top: 26px;
  }

  /* 正文排版收紧 */
  .NyNewDetail_Content h2, .ProDetailText h2 { font-size: 19px !important; }
  .NyNewDetail_Content h3, .ProDetailText h3 { font-size: 16px !important; }
  .NyNewDetail_Content p, .ProDetailText p { font-size: 14px !important; line-height: 26px !important; }

  /* 页脚分栏竖排 */
  .adminbuy_Foot .lyFoot_Main { flex-direction: column; }
  .adminbuy_Foot .lyFoot_Main > div { width: 100% !important; }
}

/* 页脚在移动端：二维码居中、信息左对齐、补足内边距 */
@media (max-width: 768px) {
  .adminbuy_Foot { padding: 30px 0 26px; }
  .adminbuy_Foot .lyFoot_Main { padding: 0 20px; box-sizing: border-box; }
  .adminbuy_Foot .lyFoot_Ewm {
    width: 100% !important;
    text-align: center;
    margin: 0 0 24px;
    float: none;
  }
  .adminbuy_Foot .lyFoot_Ewm img { width: 120px; height: 120px; }
  .adminbuy_Foot .lyFoot_l {
    width: 100% !important;
    float: none;
    text-align: left;
    margin: 0;
  }
  .adminbuy_Foot .lyFoot_l b { font-size: 24px; display: block; margin-bottom: 10px; }
  .adminbuy_Foot .lyFoot_l .lyFoot_Copy { text-align: left; }
  .adminbuy_Foot .lyFoot_l .lyFoot_Copy p { font-size: 12px; line-height: 22px; }
  .adminbuy_Foot .lyFoot_Nav {
    width: 100% !important;
    float: none;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .adminbuy_Foot .lyFoot_Nav ul li { float: none; width: 100%; margin: 0 0 12px; }
  /* 移动端已有悬浮返回顶部，页脚右上角的菱形按钮多余 */
  .adminbuy_Foot .lyFoot_back { display: none; }
}

@media (max-width: 640px) {
  /* 首页/列表页产品卡片：两列 */
  .lyIdxPro_r:not(.lyTjPro_swiper) ul { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .lyIdxPro_More { padding: 16px 18px; }
  .lyIdxPro_More span { font-size: 15px; }
  .NyOrder_Main { flex-direction: column; }
  .NyOrder_Left, .NyOrder_Right { width: 100% !important; }
  .NyContactUsInfor_Main { flex-direction: column; }
  .NyContactUsInfor_Img, .NyContactUsInfor_Con { width: 100% !important; }
  /* 联系页二维码居中 */
  .NyContactUs_Ewm { margin: 0 auto 20px; }
  .NyContactUs_Ewm img { max-width: 140px; }
}

/* ============================================================
   12. 移动端：搜索条 / 悬浮客服 / 固定宽度容器
   ============================================================ */
@media (max-width: 768px) {
  /* 搜索条：原为 63% + 34% 双浮动，窄屏挤压错位，改为上下两行 */
  .adminbuy_hotkw_search {
    height: auto;
    padding: 14px 14px 16px;
    margin-top: -30px;
    box-sizing: border-box;
  }
  .adminbuy_hotkw_search .hotkw_left {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 26px;
    white-space: normal;
  }
  .adminbuy_hotkw_search .hotkw_left span { font-size: 15px; }
  .adminbuy_hotkw_search .hotkw_left a { padding: 0 6px; }
  .adminbuy_hotkw_search .search_right {
    float: none;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 44px 0 0;
    box-sizing: border-box;
  }
  .adminbuy_hotkw_search .search_right .sc_ipt,
  .adminbuy_hotkw_search .search_right .sc_ipt input { height: 44px; line-height: 44px; font-size: 14px; }
  .adminbuy_hotkw_search .search_right .sc_btn { width: 44px; height: 44px; }

  /* 悬浮客服：缩小并下移，避免遮挡正文与搜索按钮 */
  .kfView {
    top: auto !important;
    bottom: 88px;
    right: 4px;
    transform: scale(.78);
    transform-origin: right bottom;
  }
  .kfView .wxa .code { display: none; }

  /* 任何残留的固定宽度容器都不允许撑破视口。
     注意不要写成 100%：模板 common.css 在 ≤1499px 给的是 94%，那 3% 就是页面左右
     的安全边距。改成 100% 会让「产品分类」红标题和产品卡片直接贴到屏幕边缘
     （2026-10-19 移动端截图实测到），故这里保留 94%。 */
  .w1400, .w1200, .w1000, .w1200_2 { width: 94% !important; max-width: 94%; }

  /* 内页 banner 图铺满裁切，防止原图宽度撑破容器 */
  .NyBanner { overflow: hidden; }
  .NyBanner img.nyBa_Img { width: 100%; height: 100%; object-fit: cover; }

  /* 面包屑：.Crumb 本身是 nowrap + text-overflow:ellipsis，但它的子元素全是
     inline-block，ellipsis 只对块容器自身的行内文本生效，管不住这些子元素。
     于是产品名一长（如「自动米饭生产线」）就直接顶出视口，再被 .NyBanner 的
     overflow:hidden 从右侧硬切掉（2026-10-19 探针在 /mifanxian/82.html 实测到）。
     窄屏改为允许换行。 */
  .NyBanner .Crumb { white-space: normal; line-height: 22px; padding: 0 10px; box-sizing: border-box; }
  .NyBanner .Crumb a, .NyBanner .Crumb span { height: auto; }

  /* 首页轮播高度收敛 */
  .lyIdxBanner, .adminbuy_Banner { height: 200px; }
}

/* ============================================================
   13. 列表页（产品/案例）移动端：产品列表提前，侧栏新闻隐藏
   原模板为「左栏分类+新闻 / 右栏产品」双栏，窄屏堆叠后
   侧栏新闻会把产品列表挤到很下面，故在移动端调整顺序。
   ============================================================ */
@media (max-width: 768px) {
  /* 首页产品图：桌面固定 320px 高是为了和左侧分类栏配平；窄屏两列后卡宽骤减到 170px 左右，
     固定高会变成细长空盒、产品缩成一小点，故改为 1:1 随卡宽自适应。
     同时把 img 从 width:100% 改回 contain —— 竖图（去皮机 0.63）在方形盒里
     按宽度铺满会被上下裁掉一截。 */
  .lyIdx_Pro .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_img,
  .lyIdx_TjPro .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_img {
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .lyIdx_Pro .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_img a img,
  .lyIdx_TjPro .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_img a img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }
  /* 产品网格：桌面 3 列，平板起统一两列（首页与列表页一致） */
  .lyIdxPro_r:not(.lyTjPro_swiper) ul { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .NyProducts { display: flex; flex-direction: column; }
  .NyProducts .lyIdxPro_r { order: 1; width: 100% !important; float: none; }
  .NyProducts .NyPro_Left { order: 2; width: 100% !important; float: none; margin-top: 24px; }
  .NyPro_Left .NyXgwz { display: none; }
  .NyPro_Left .cp_type .bd { display: block !important; }
  .NyPro_Left .cp_type .bd ul { max-height: none; }
  .NyProducts .lyIdxPro_r ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .NyProducts .lyIdxPro_r ul > li { width: 100% !important; margin: 0 !important; min-width: 0; }
  /* 卡片内部元素原为固定像素宽，网格化后必须一起解除 */
  .lyIdxPro_con, .lyIdxPro_img, .lyIdxPro_text, .lyIdxPro_name {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .lyIdxPro_img a, .lyIdxPro_img img { width: 100% !important; max-width: 100% !important; height: auto; }
  /* 卡片标题原为单行 nowrap + 固定 32px 高，窄屏会被硬裁。
     原选择器特异性较高（.lyIdxPro_r ul li .lyIdxPro_con ...），此处用同等特异性覆盖。 */
  .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_text .lyIdxPro_name a {
    height: auto !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 14px !important;
    word-break: break-all;
  }
  .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_text p {
    height: auto !important;
    white-space: normal !important;
    overflow: visible !important;
    font-size: 13px !important;
  }
  .lyIdxPro_r ul li .lyIdxPro_con .lyIdxPro_text { margin: 0 12px !important; padding: 12px 0 !important; }
}

/* ---------- 16. 关于我们页「我们的优势」：4 列静态卡片 ----------
   原模板这块是 Swiper 图片轮播（460px 高图片卡 + 居中放大 + loop），
   而这 4 条优势只有文案没有配图，渲染出来是白框 + 破图图标，4 条还只能看到 3 条。
   已改成 4 列静态卡片（序号 + 标题 + 完整文案），见 about.html 内注释。
   序号用 CSS 计数器生成（decimal-leading-zero → 01/02/03/04），不依赖模板的 [list:i] 标签。 */
.AdvList ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: adv;
}
.AdvList ul li {
  counter-increment: adv;
  position: relative;
  box-sizing: border-box;
  padding: 34px 30px 32px;
  background: #fff;
  border: 1px solid #ececec;
  border-top: 3px solid #c10326;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  transition: transform .3s, box-shadow .3s;
}
.AdvList ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
}
.AdvList_Num {
  font: italic 700 38px/1 Georgia, "Times New Roman", serif;
  color: #ededed;
  letter-spacing: 1px;
  transition: color .3s;
}
.AdvList_Num::before { content: counter(adv, decimal-leading-zero); }
.AdvList ul li:hover .AdvList_Num { color: #f3c6ce; }
.AdvList_Tit {
  margin: 10px 0 12px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  color: #222;
}
.AdvList_Desc {
  font-size: 14px;
  line-height: 1.9;
  color: #777;
  text-align: justify;
}
@media (max-width: 1200px) {
  .AdvList ul { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .AdvList ul { grid-template-columns: 1fr; gap: 16px; }
  .AdvList ul li { padding: 26px 22px 24px; }
  .AdvList_Tit { font-size: 18px; }
  .AdvList_Num { font-size: 32px; }
}
