/* ============================================================
   爱迪食品 离线仿写演示站 - 样式表
   ------------------------------------------------------------
   主题色见 :root 变量，改一处全站生效：
   --red      主红色（导航、按钮、标题）
   --red-dark 深红（hover）
   --text     正文灰
   --dark     页脚深色
   图片统一放 images/ 目录，替换同名文件即可换图。
   ============================================================ */

:root {
  --red: #ad2823;          /* 主色：爱迪红 */
  --red-dark: #8f1f1c;     /* 主色加深：hover 状态 */
  --text: #555;            /* 正文文字灰 */
  --title: #333;           /* 标题深灰 */
  --gray-bg: #f5f5f5;      /* 浅灰背景（实力爱迪板块） */
  --line: #e5e5e5;         /* 边框线 */
  --dark: #2b2b2b;         /* 页脚 / 深色按钮 */
  --nav-h: 74px;           /* 导航条高度 */
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  background: #fff;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color .25s; }
img { max-width: 100%; display: block; border: 0; }

/* 通用容器：居中限宽 */
.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* ============================================================
   按钮样式（对齐参考站：红底白字胶囊 / 白描边透明）
   ============================================================ */
.btn {
  display: inline-block;
  padding: 9px 30px;
  font-size: 14px;
  line-height: 22px;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s;
}
/* 主按钮：红底白字 */
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
/* 胶囊按钮（招商合作区） */
.btn-pill { border-radius: 999px; padding: 10px 42px; margin: 0 12px; }
/* 幽灵按钮：透明底白描边（产品手风琴内） */
.btn-ghost {
  border: 1px solid rgba(255,255,255,.85);
  color: #fff;
  border-radius: 999px;
  padding: 7px 28px;
  font-size: 13px;
}
.btn-ghost:hover { background: #fff; color: var(--red); }
/* 深色按钮（联系我们区） */
.btn-dark { background: var(--dark); color: #fff; padding: 10px 34px; }
.btn-dark:hover { background: #000; color: #fff; }

/* ============================================================
   顶部 header：红色横条 + 左侧 logo
   ============================================================ */
.site-header {
  background: var(--red);
  height: var(--nav-h);
  position: sticky;       /* 吸顶 */
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.header-inner {
  width: 1400px; max-width: 96%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* logo 白色底块，贴近参考站左上角白块效果 */
.logo {
  background: #fff;
  padding: 10px 26px;
  border-radius: 0 0 6px 6px;
  margin-left: 20px;
}
.logo img { height: 44px; width: auto; }

/* 主导航 */
.nav-list { display: flex; height: 100%; }
.nav-list > li { position: relative; height: 100%; }
.nav-list > li > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 26px;
  color: #fff;
  position: relative;
}
/* 菜单项之间的竖分隔线 */
.nav-list > li + li > a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 26px;
  background: rgba(255,255,255,.28);
}
.nav-list > li > a span { font-size: 16px; font-weight: bold; line-height: 1.4; }
.nav-list > li > a em { font-style: normal; font-size: 11px; opacity: .65; letter-spacing: .5px; }
/* hover / 当前项：底色加深 + 底部白线 */
.nav-list > li:hover > a,
.nav-list > li.active > a { background: var(--red-dark); }
.nav-list > li:hover > a::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; bottom: 0;
  height: 3px; background: #fff;
}

/* 二级下拉菜单 */
.sub-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 148px;
  background: rgba(0,0,0,.82);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
  z-index: 99;
}
.nav-list > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub-menu a {
  display: block;
  padding: 9px 20px;
  color: #fff;
  text-align: center;
  font-size: 14px;
}
.sub-menu a:hover { background: var(--red); }

/* 手机端汉堡按钮（PC 隐藏） */
.nav-toggle { display: none; }

/* ============================================================
   Banner
   ============================================================ */
.banner { line-height: 0; }
.banner img {
  width: 100%;
  height: 620px;           /* 视口内主视觉高度 */
  object-fit: cover;       /* 裁切填充，不变形 */
}

/* ============================================================
   通用板块标题：红色中文 + 灰色英文
   ============================================================ */
.section { padding: 64px 0; }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-title {
  font-size: 32px;
  color: var(--red);
  font-weight: bold;
  letter-spacing: 2px;
}
.sec-sub { font-size: 15px; color: #999; letter-spacing: 3px; margin-top: 2px; }

/* ============================================================
   关于爱迪：左文右图标
   ============================================================ */
.about-inner {
  display: flex;
  align-items: center;
  gap: 70px;
}
.about-text { flex: 1.4; }
.about-text .sec-title,
.about-text .sec-sub { text-align: left; margin-bottom: 6px; }
.about-desc { margin: 18px 0 30px; font-size: 15px; }
.about-icons { flex: 1; display: flex; justify-content: space-around; }
.icon-item { text-align: center; transition: transform .25s; }
.icon-item:hover { transform: translateY(-6px); }
.icon-item img { width: 95px; height: 95px; margin: 0 auto 12px; }
.icon-item p { font-size: 15px; color: var(--title); font-weight: bold; }
.icon-item:hover p { color: var(--red); }

/* ============================================================
   产品中心：手风琴大图（PC hover 展开）
   ============================================================ */
.products-section { padding-bottom: 0; }
.products-section .sec-head { margin-bottom: 0; }
.accordion { display: flex; width: 100%; height: 540px; }
.acc-item {
  position: relative;
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: flex .45s ease;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.25);
}
.acc-item:last-child { border-right: 0; }
/* 深色遮罩：保证白色文字可读 */
.acc-mask {
  position: absolute; inset: 0;
  background: rgba(60,20,15,.35);
  transition: background .3s;
}
.acc-item:hover { flex: 2.3; }
.acc-item:hover .acc-mask { background: rgba(60,20,15,.18); }
/* 文字内容：垂直居中靠下 */
.acc-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 10px 56px;
  color: #fff;
  text-align: center;
}
.acc-content h3 { font-size: 24px; font-weight: bold; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.acc-content h3 a { color: #fff; }
.acc-content ul { margin: 14px 0 22px; }
.acc-content ul li { padding: 3px 0; font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.acc-content ul a:hover { text-decoration: underline; }

/* ============================================================
   产品展示小卡片
   ============================================================ */
.product-grid-section { padding-top: 56px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .3s, transform .3s;
}
.p-card:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.p-img { height: 200px; overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.p-card:hover .p-img img { transform: scale(1.06); }
/* 包子系列无图占位：灰色渐变 + 居中文字 */
.p-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f2ece9, #e3d9d4);
  color: #b09a90; font-size: 18px; letter-spacing: 4px;
}
.p-name {
  text-align: center;
  padding: 13px 0;
  font-size: 15px;
  color: var(--title);
  font-weight: bold;
}
.p-card:hover .p-name { color: var(--red); }

/* ============================================================
   招商合作
   ============================================================ */
.coop-section { background: #fff; }
.coop-inner { text-align: center; }
.coop-btns { margin: 6px 0 26px; }
.coop-text { font-size: 15px; color: var(--text); }
.coop-text .red { color: var(--red); }
.coop-img { width: 264px; margin: 26px auto 10px; }
.coop-hotline-label { margin-top: 10px; font-size: 15px; }
.coop-hotline a {
  font-size: 34px;
  font-weight: bold;
  color: var(--red);
  letter-spacing: 1px;
}
.coop-hotline a:hover { color: var(--red-dark); }

/* ============================================================
   实力爱迪：浅灰底 + 双卡片
   ============================================================ */
.strength-section { background: var(--gray-bg); }
.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.s-card {
  /* 深色卡片底：白色图标 / 白色文字在此清晰可见（贴近原站深色调） */
  background: linear-gradient(160deg, #3d3d3d, #262626);
  color: #ddd;
  padding: 38px 42px 34px;
  text-align: center;
  border-top: 3px solid var(--red);
  transition: box-shadow .3s, transform .3s;
}
.s-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translateY(-4px); }
.s-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.s-head img { height: 52px; width: auto; }
.s-head h3 { font-size: 22px; color: #fff; }
.s-desc { text-align: justify; font-size: 14px; color: #c9c9c9; }
.s-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: #fff;
  font-weight: bold;
}
.s-more img { height: 22px; width: auto; }
.s-more:hover { color: #f0b9b7; }

/* ============================================================
   新闻中心：三卡片
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.n-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .3s, transform .3s;
}
.n-card:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.n-img { height: 210px; overflow: hidden; }
.n-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.n-card:hover .n-img img { transform: scale(1.06); }
.n-body { padding: 16px 18px 18px; }
.n-title {
  font-size: 15px;
  color: var(--title);
  line-height: 1.6;
  /* 两行截断 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}
.n-card:hover .n-title { color: var(--red); }
.n-date { margin-top: 10px; font-size: 13px; color: #999; }
.news-more { text-align: center; margin-top: 40px; }

/* ============================================================
   联系我们
   ============================================================ */
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
.c-name { font-size: 22px; color: var(--title); margin-bottom: 22px; }
.c-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
}
.c-line img { height: 22px; width: auto; }
.c-phone a { font-size: 24px; font-weight: bold; color: var(--red); }
.c-phone a:hover { color: var(--red-dark); }
.contact-info .btn-dark { margin-top: 24px; }
/* 右侧二维码并排 */
.contact-qr { display: flex; gap: 40px; padding-top: 8px; }
.qr-item { text-align: center; }
.qr-item img { width: 128px; height: 128px; border: 1px solid var(--line); padding: 6px; background: #fff; }
.qr-item p { margin-top: 10px; font-size: 14px; color: var(--title); }

/* ============================================================
   页脚：深色条
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #9a9a9a;
  padding: 26px 0;
  text-align: center;
  font-size: 13px;
}
.footer-inner p { line-height: 2; }
.footer-links a:hover { color: #fff; }
.footer-links .divider { margin: 0 12px; opacity: .4; }
.footer-note { opacity: .55; }

/* ============================================================
   回到顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 26px; bottom: 60px;
  width: 46px; height: 46px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--red-dark); }

/* ============================================================
   响应式：≤992px 平板 / ≤768px 手机
   ============================================================ */
@media (max-width: 1200px) {
  .nav-list > li > a { padding: 0 16px; }
  .nav-list > li > a span { font-size: 15px; }
}
@media (max-width: 992px) {
  .banner img { height: 420px; }
  .about-inner { flex-direction: column; gap: 36px; }
  .about-text .sec-title, .about-text .sec-sub { text-align: center; }
  .strength-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   内页通用样式（二级栏目页 / 三级详情页共用）
   ------------------------------------------------------------
   结构：页标题横幅 .page-banner
        → 面包屑 .breadcrumb
        → 左右两栏 .page-wrap（左侧 .side-cat 栏目导航 + 右侧 .page-main）
   ============================================================ */

/* ---------- 内页顶部横幅 ---------- */
.page-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--red-dark);
}
/* 无配图时的纯红横幅 */
.page-banner-simple {
  height: 180px;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  display: flex;
  align-items: center;
}
.page-banner > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-banner-txt {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 0 34px;
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.page-banner-txt h1,
.page-banner-simple h1 {
  width: 1200px; max-width: 92%; margin: 0 auto;
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.page-banner-simple h1 { text-align: center; text-shadow: none; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: #999;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .cur { color: var(--red); }

/* ---------- 左右分栏 ---------- */
.page-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 70px;
}
.page-main { flex: 1; min-width: 0; }

/* 左侧栏目导航 */
.side-cat {
  width: 220px;
  flex: 0 0 220px;
  background: #fafafa;
  border-top: 3px solid var(--red);
  padding: 20px 0 10px;
}
.side-title {
  font-size: 17px;
  color: var(--title);
  padding: 0 22px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.side-cat ul li a {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  color: #666;
  border-left: 3px solid transparent;
  transition: all .25s;
}
.side-cat ul li a:hover,
.side-cat ul li.on a {
  color: var(--red);
  background: #fff;
  border-left-color: var(--red);
}

/* ---------- 正文区排版 ---------- */
.page-content { font-size: 15px; line-height: 2; color: #555; }
.page-content p { margin-bottom: 16px; text-align: justify; }
.page-content .cont-h {
  font-size: 20px;
  color: var(--title);
  margin: 30px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  line-height: 1.5;
}
.page-content a { color: var(--red); }
.page-content a:hover { text-decoration: underline; }
/* 正文里的按钮保持白字（否则会被上一条 a 颜色覆盖成红底红字） */
.page-content a.btn,
.page-content .btn { color: #fff; text-decoration: none; }
.page-content strong { color: var(--title); }

/* 栏目口号 */
.page-slogan {
  text-align: center;
  color: #b3b3b3;
  font-size: 13px;
  letter-spacing: 1px;
  margin: 8px 0 22px;
}
.page-content .page-slogan { margin-bottom: 22px; }

/* 详情页元信息行（发布时间 / 来源 / 作者） */
.cont-meta {
  color: #999;
  font-size: 13px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}

/* 正文配图 */
.cont-img { text-align: center; margin: 22px 0; }
.cont-img img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

/* 正文表格（招聘岗位等） */
.cont-table { overflow-x: auto; margin: 22px 0; }
.cont-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cont-table td,
.cont-table th {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  line-height: 1.7;
}

/* ---------- 卡片网格（产品列表 / 新闻列表） ---------- */
.card-grid {
  display: grid;
  /* minmax(0,1fr)：防止长标题把列撑爆（fr 默认 min-width:auto） */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 10px 0 20px;
}
.c-card {
  display: block;
  min-width: 0;          /* 配合上面的 minmax，允许内容收缩触发省略号 */
  background: #fff;
  border: 1px solid var(--line);
  transition: all .3s;
}
.c-card:hover {
  border-color: var(--red);
  box-shadow: 0 10px 26px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.c-img {
  height: 200px;
  overflow: hidden;
  background: #f4f4f4;
}
.c-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.c-card:hover .c-img img { transform: scale(1.06); }
/* 无图占位 */
.c-img-empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f3f3f3, #e6e6e6);
}
.c-img-empty span { color: #aaa; font-size: 22px; letter-spacing: 4px; }
.c-body { padding: 16px 18px 20px; }
.c-title {
  font-size: 15px;
  color: var(--title);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-card:hover .c-title { color: var(--red); }
.c-sub {
  font-size: 13px;
  color: #999;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 表单（仅展示） ---------- */
.form-box {
  background: #fafafa;
  border: 1px solid var(--line);
  padding: 30px 32px 24px;
  margin: 20px 0;
}
.f-row { display: flex; align-items: center; margin-bottom: 16px; gap: 14px; }
.f-row label { width: 90px; flex: 0 0 90px; color: var(--title); text-align: right; }
.f-row input,
.f-row textarea {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: #555;
}
.f-row textarea { height: 96px; resize: vertical; }
.f-row input:focus,
.f-row textarea:focus { outline: 0; border-color: var(--red); }
.f-row button { margin-left: 90px; cursor: pointer; }
.form-box .f-row:last-of-type { margin-bottom: 8px; }
.f-tip { color: #aaa; font-size: 12px; margin-left: 104px; }

/* ---------- 分页（静态展示） ---------- */
.pager { text-align: center; margin: 40px 0 0; }
.pager span,
.pager a {
  display: inline-block;
  min-width: 34px;
  padding: 6px 12px;
  margin: 0 3px;
  border: 1px solid var(--line);
  color: #777;
  font-size: 13px;
}
.pager a:hover,
.pager span.cur { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   响应式：中屏回收侧栏
   ============================================================ */
@media (max-width: 992px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none; border: 0;
    width: 40px; height: 40px;
    flex-shrink: 0;        /* 防止被 logo 挤压 */
    cursor: pointer;
    position: relative;
    z-index: 101;
  }
  .nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    margin: 5px auto;
    transition: all .3s;
  }
  .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); }

  /* 手机端缩小 logo，给汉堡按钮留出空间 */
  .header-inner { max-width: 100%; padding: 0 14px; }
  .logo { margin-left: 0; padding: 8px 14px; }
  .logo img { height: 32px; }

  .main-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.92);
    display: none;
    overflow-y: auto;
    padding: 10px 0;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; height: auto; }
  .nav-list > li { height: auto; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-list > li > a { height: auto; padding: 14px 24px; align-items: flex-start; }
  .nav-list > li + li > a::before { display: none; }
  .nav-list > li:hover > a::after { display: none; }
  /* 手机端二级菜单直接展开显示 */
  .sub-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    background: transparent;
    padding: 0 0 8px;
  }
  .sub-menu a { text-align: left; padding: 8px 40px; font-size: 13px; opacity: .8; }

  .banner img { height: 260px; }
  .section { padding: 44px 0; }
  .sec-title { font-size: 26px; }

  /* 手风琴改纵向堆叠 */
  .accordion { flex-direction: column; height: auto; }
  .acc-item { min-height: 230px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .acc-item:hover { flex: 1; }

  .strength-grid, .news-grid, .product-grid { grid-template-columns: 1fr; }
  .contact-inner { flex-direction: column; }
  .contact-qr { padding-top: 0; }
  .back-top { right: 16px; bottom: 30px; }

  /* 内页移动端适配 */
  .page-banner { height: 180px; }
  .page-banner-simple { height: 130px; }
  .page-banner-txt h1, .page-banner-simple h1 { font-size: 24px; }
  .page-banner-txt { padding-bottom: 20px; }
  .page-wrap { flex-direction: column; gap: 24px; padding-bottom: 40px; }
  .side-cat { width: 100%; flex: none; }
  .side-cat ul { display: flex; flex-wrap: wrap; padding: 4px 8px; }
  .side-cat ul li a { padding: 8px 14px; border-left: 0; border-bottom: 2px solid transparent; }
  .side-cat ul li a:hover, .side-cat ul li.on a { border-left: 0; border-bottom-color: var(--red); }
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-content { font-size: 14px; }
  .f-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .f-row label { width: auto; flex: none; text-align: left; }
  .f-row button { margin-left: 0; }
  .f-tip { margin-left: 0; }
  /* ---- 以上全是移动端覆盖项 ---- */
}
