/* ============================================================
   武汉市汉运通吸塑包装有限公司 - 全局样式表
   模块：基础重置 / 全局变量 / 通用样式
   ============================================================ */

/* ---------- CSS 自定义属性 (变量) ---------- */
:root {
  --color-primary: #0052cc;
  --color-primary-dark: #0042a8;
  --color-primary-light: #e8f0fe;
  --color-accent: #ff6600;
  --color-accent-hover: #e55a00;
  --color-bg: #f6f7f9;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #888888;
  --color-border: #e8eaed;
  --color-footer: #222222;
  --color-footer-dark: #1a1a1a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 82, 204, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 50%;
  --max-width: 1200px;
  --header-height: 140px;
  --nav-height: 50px;
  --transition: 0.3s ease;
}

/* ---------- 字体图标 ---------- */
@font-face {
  font-family: 'iconfont';
  src: url('data:font/woff2;base64,') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* ---------- CSS 重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background:
    /* 灰色不规则三角形科技感底纹 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cpolygon points='320,60 380,180 260,200' fill='rgba(160,175,190,0.07)'/%3E%3Cpolygon points='30,280 120,300 50,380' fill='rgba(145,165,180,0.06)'/%3E%3Cpolygon points='280,320 380,280 350,400' fill='rgba(155,170,185,0.05)'/%3E%3Cpolygon points='60,40 130,10 100,100' fill='rgba(150,168,185,0.05)'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #e3f1fd 0%, #cce4f8 30%, #d9e9fa 60%, #e8f2fd 100%);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 15px;
  min-width: 320px;
  overflow-x: hidden;
  position: relative;
}

/* 大型灰色不规则三角形装饰 */
body::before {
  content: '';
  position: fixed;
  top: -80px;
  right: -60px;
  width: 520px;
  height: 580px;
  background: rgba(175,190,205,0.07);
  clip-path: polygon(40% 0%, 100% 0%, 100% 65%, 60% 100%, 10% 85%, 0% 40%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -100px;
  left: -50px;
  width: 460px;
  height: 520px;
  background: rgba(165,180,195,0.06);
  clip-path: polygon(0% 25%, 55% 0%, 100% 35%, 85% 100%, 25% 95%, 0% 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.iconfont {
  font-family: 'iconfont', sans-serif;
  font-style: normal;
}

/* ============================================================
   模块 01：顶部欢迎栏
   ============================================================ */
.top-bar {
  background: #eef1f6;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 36px;
  border-bottom: 1px solid var(--color-border);
}

.top-bar p {
  padding-left: 8px;
}

/* ============================================================
   模块 02：头部区域 (LOGO + 公司名 + 电话)
   ============================================================ */
.header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 20px;
}

/* LOGO */
.logo {
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* 公司简称 */
.brief {
  flex: 1;
  min-width: 0;
}

.brief h4 {
  font-size: 22px;
  color: var(--color-primary);
  font-weight: bold;
  white-space: nowrap;
}

.brief p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* 电话 */
.phone {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.phone .iconfont {
  font-size: 36px;
  color: var(--color-primary);
}

.phone p {
  font-size: 15px;
  color: var(--color-text-light);
}

.phone p span {
  display: block;
  font-size: 22px;
  color: var(--color-primary);
  font-weight: bold;
}

/* ============================================================
   模块 03：导航栏
   ============================================================ */
.nav {
  background: var(--color-primary);
}

.nav .container {
  position: relative;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
}

.nav-item a {
  display: block;
  padding: 15px 26px;
  color: #fff;
  font-size: 16px;
  transition: background var(--transition);
  white-space: nowrap;
}

.nav-item a:hover,
.nav-item.active a {
  background: var(--color-primary-dark);
}

/* ============================================================
   模块 04：首页横幅
   ============================================================ */
.banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #003d99 100%);
  color: #fff;
  text-align: center;
  padding: 55px 0 90px;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.banner h1 {
  font-size: 46px;
  margin-bottom: 18px;
  font-weight: bold;
  position: relative;
}

.banner p {
  font-size: 20px;
  margin-bottom: 10px;
  opacity: 0.92;
  position: relative;
}

.banner-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 40px;
  background: var(--color-accent);
  color: #fff;
  font-size: 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.banner-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* ---------- 首页宣传图（横幅文字上方） ---------- */
.banner-img-wrap {
  position: relative;
  max-width: 1120px;
  margin: 0 auto 42px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 30, 80, 0.35);
  animation: bannerFadeInUp 0.9s ease backwards;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  animation: bannerFloat 7s ease-in-out 1.2s infinite;
}

/* 图片扫光效果 */
.banner-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: bannerShine 5.5s ease-in-out 1.8s infinite;
  pointer-events: none;
}

/* 横幅文字依次浮现入场 */
.banner h1,
.banner p,
.banner .banner-btn {
  animation: bannerFadeInUp 0.8s ease backwards;
}

.banner h1 { animation-delay: 0.25s; }
.banner p:nth-of-type(1) { animation-delay: 0.4s; }
.banner p:nth-of-type(2) { animation-delay: 0.55s; }
.banner .banner-btn { animation-delay: 0.7s; }
.banner p:nth-of-type(3) { animation-delay: 0.85s; }

/* 横幅动画关键帧 */
@keyframes bannerFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bannerFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes bannerShine {
  0% {
    left: -80%;
  }
  55%, 100% {
    left: 130%;
  }
}

/* 减弱动效偏好：关闭横幅动画 */
@media (prefers-reduced-motion: reduce) {
  .banner-img-wrap,
  .banner-img,
  .banner-img-wrap::after,
  .banner h1,
  .banner p,
  .banner .banner-btn {
    animation: none !important;
  }
}

/* ============================================================
   模块 05：通用版块样式
   ============================================================ */
.section {
  padding: 75px 0;
}

.section-bg {
  background: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title h2 {
  font-size: 34px;
  color: #222;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-title p {
  max-width: 860px;
  margin: 20px auto 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

.sub-title {
  text-align: center;
  font-size: 26px;
  color: #222;
  margin: 50px 0 35px;
}

/* ============================================================
   模块 06：工厂核心实力 (六宫格)
   ============================================================ */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.str-item {
  background: var(--color-white);
  padding: 38px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.str-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.str-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--color-primary-light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.str-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.7;
}

.str-item h3 {
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.str-item p {
  font-size: 14px;
  color: #777;
  line-height: 1.9;
}

/* ============================================================
   模块 07：生产设备 (四列网格)
   ============================================================ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.equip-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition);
}

.equip-item:hover {
  transform: translateY(-4px);
}

.equip-img {
  width: 100%;
  height: 200px;
  background: #e8eaed;
  overflow: hidden;
}

.equip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-item h3 {
  font-size: 17px;
  color: #222;
  padding: 16px 16px 6px;
}

.equip-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 0 16px 18px;
  line-height: 1.8;
}

/* ============================================================
   模块 08：产品中心 (三列网格 + 圆角图片 + 超链接标题)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.prod-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.prod-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 82, 204, 0.12);
}

/* 产品图片 - 圆角矩形 */
.prod-img {
  width: 100%;
  height: 260px;
  background: #e8eaed;
  overflow: hidden;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: transform 0.5s ease;
}

.prod-item:hover .prod-img img {
  transform: scale(1.05);
}

/* 产品名称 - 超链接样式 */
.prod-item h3 {
  font-size: 18px;
  padding: 18px 18px 6px;
}

.prod-item h3 a {
  color: #222;
  transition: color var(--transition);
}

.prod-item h3 a:hover {
  color: var(--color-primary);
}

.prod-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 0 18px 20px;
  line-height: 1.8;
}

/* ============================================================
   模块 09：厂区实景照片 — 浅蓝色底板容器 + 统一尺寸
   ============================================================ */

/* 厂区照片大容器 — 浅蓝色底板 */
.factory-photos-wrapper {
  background: linear-gradient(135deg, #e3f2fd 0%, #d6eaf8 30%, #e8f4fd 60%, #dbeafe 100%);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: inset 0 2px 12px rgba(0,82,204,0.06), 0 4px 20px rgba(0,0,0,0.06);
  margin-top: 24px;
  margin-bottom: 24px;
  position: relative;
}

/* 容器内部微妙的纹理边框 */
.factory-photos-wrapper::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0,82,204,0.12);
  pointer-events: none;
}

.factory-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

/* 照片卡片 — 统一尺寸，完整插入效果 */
.factory-photo-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.factory-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,82,204,0.18);
}

/* 照片图片区 — 统一 4:3 */
.factory-photo-card .photo-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8eaed;
  overflow: hidden;
  position: relative;
}

.factory-photo-card .photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-photo-card:hover .photo-img img {
  transform: scale(1.06);
}

/* 照片下方文字说明 */
.factory-photo-card .photo-label {
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
  color: #444;
  font-weight: 500;
  background: var(--color-white);
  border-top: 1px solid #f0f0f0;
  letter-spacing: 0.5px;
}

/* 厂区实景标题区域 */
.factory-intro {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f1fb 100%);
  border-left: 4px solid var(--color-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 28px;
  font-size: 15px;
  color: #444;
  line-height: 2;
  text-indent: 2em;
}

/* 保留旧版兼容 */
.factory-photo-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: #e8eaed;
}

.factory-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-photo-item:hover img {
  transform: scale(1.08);
}

/* ============================================================
   模块 10：品控体系 (三列)
   ============================================================ */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.qual-item {
  background: var(--color-white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.qual-item:hover {
  transform: translateY(-4px);
}

.qual-num {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.qual-item h3 {
  font-size: 19px;
  color: #222;
  margin-bottom: 10px;
}

.qual-item p {
  font-size: 14px;
  color: #777;
  line-height: 1.9;
}

/* ---------- 资质证书网格 ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-item {
  text-align: center;
}

.cert-img {
  width: 100%;
  height: 240px;
  background: #f0f1f3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.cert-item p {
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

/* ============================================================
   模块 11：产能交付 (表格)
   ============================================================ */
.delivery-content {
  max-width: 900px;
  margin: 0 auto;
}

.delivery-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.delivery-table thead {
  background: var(--color-primary);
  color: #fff;
}

.delivery-table th {
  padding: 16px 24px;
  font-size: 17px;
  text-align: left;
}

.delivery-table td {
  padding: 14px 24px;
  font-size: 15px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.delivery-table tbody tr:hover {
  background: #f8f9fb;
}

.delivery-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   模块 12：成功案例 (两列)
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.case-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition);
}

.case-item:hover {
  transform: translateY(-4px);
}

.case-img {
  width: 100%;
  height: 260px;
  background: #e8eaed;
  overflow: hidden;
}

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-item:hover .case-img img {
  transform: scale(1.05);
}

.case-item h3 {
  font-size: 18px;
  color: #222;
  padding: 18px 20px 6px;
}

.case-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 0 20px 20px;
  line-height: 1.8;
}

/* ============================================================
   模块 13：关于我们
   ============================================================ */
.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-text p {
  margin-bottom: 16px;
  color: #555;
  font-size: 15px;
  line-height: 2;
  text-indent: 2em;
}

.about-text b {
  color: var(--color-primary);
}

.about-img {
  width: 440px;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   模块 14：常见FAQ问答
   ============================================================ */
.faq-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 44px 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h3 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.9;
  padding-left: 24px;
}

/* ============================================================
   模块 15：联系我们
   ============================================================ */
.contact-content {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  font-family: 'iconfont', sans-serif;
  font-style: normal;
}

.contact-item h4 {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 17px;
  color: var(--color-text);
  font-weight: 500;
}

.contact-qr {
  text-align: center;
  flex-shrink: 0;
}

.contact-qr p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.contact-qr img {
  width: 200px;
  height: 200px;
  background: #f0f0f0;
  border-radius: var(--radius-sm);
}

/* ============================================================
   模块 16：页脚
   ============================================================ */
.footer {
  background: var(--color-footer);
  color: #bbb;
  margin-top: 0;
}

.footer .container {
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-nav {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

.footer-nav h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-nav h4 span {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: normal;
  margin-left: 10px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-nav ul li a {
  display: inline-block;
  padding: 6px 18px;
  background: #2a2a2a;
  color: #bbb;
  border-radius: 3px;
  font-size: 14px;
  transition: all var(--transition);
}

.footer-nav ul li a:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer-bottom {
  display: flex;
  gap: 50px;
}

.footer-col {
  flex: 1;
}

.footer-info h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-phone .iconfont {
  font-size: 34px;
  color: var(--color-primary);
}

.footer-phone h6 {
  font-size: 13px;
  color: #999;
}

.footer-phone h4 {
  font-size: 22px;
  color: var(--color-primary);
  margin-top: 2px;
}

.footer-contact p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact .iconfont {
  color: var(--color-primary);
  font-size: 16px;
}

.footer-qr {
  text-align: center;
}

.footer-qr p {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

.footer-qr img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-sm);
}

.footer-copyright {
  background: var(--color-footer-dark);
  text-align: center;
  padding: 16px 0;
}

.footer-copyright p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-copyright a {
  color: #aaa;
  transition: color var(--transition);
}

.footer-copyright a:hover {
  color: #fff;
}

/* ============================================================
   模块 17：产品中心新版样式 (图片+名称极简卡片)
   ============================================================ */
/* 产品区域相对定位，用于放置箭头按钮 */
.product-section-wrap {
  position: relative;
}

/* 极简产品卡片 - 仅图片+名称，无描述文字 */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  /* 防误触：点击后短暂禁用点击 */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 82, 204, 0.15);
}

/* 点击反馈动画（防误触） */
.product-card.clicked {
  transform: scale(0.96);
  transition: transform 0.15s ease;
  pointer-events: none;
  opacity: 0.85;
}

/* 产品图片容器 */
.product-card .card-img {
  width: 100%;
  height: 280px;
  background: #eef1f6;
  overflow: hidden;
  position: relative;
}

.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img img {
  transform: scale(1.08);
}

/* 图片遮罩层 - 悬停时显示 */
.product-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,82,204,0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.product-card:hover .card-overlay {
  opacity: 1;
}

.product-card .card-overlay span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  background: rgba(0,0,0,0.45);
  padding: 6px 20px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* 产品名称 */
.product-card .card-name {
  padding: 20px 18px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.product-card:hover .card-name {
  color: var(--color-primary);
}

/* 产品卡片网格容器（首页6个） */
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ============================================================
   模块 17B：右下角 > 箭头按钮（查看更多产品）
   ============================================================ */
.product-more-btn {
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(0, 82, 204, 0.35);
  transition: all 0.3s ease;
  z-index: 10;
  letter-spacing: 0;
  line-height: 1;
}

.product-more-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(0, 82, 204, 0.5);
}

.product-more-btn:active {
  transform: scale(0.94);
  transition: transform 0.1s ease;
}

/* 箭头按钮提示文字 */
.product-more-btn .btn-tip {
  position: absolute;
  right: 60px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--color-text-muted);
  background: var(--color-white);
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.product-more-btn:hover .btn-tip {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   模块 17C：全部产品页 (products.html) 样式
   ============================================================ */
.all-products-page {
  padding-top: 0;
}

/* 全部产品页标题区 */
.all-products-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #003d99 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0 55px;
  margin-bottom: 50px;
}

.all-products-header h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.all-products-header p {
  font-size: 16px;
  opacity: 0.88;
}

/* 产品筛选标签（可选分类） */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.product-tags .tag {
  padding: 8px 22px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-size: 14px;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--color-white);
  user-select: none;
}

.product-tags .tag:hover,
.product-tags .tag.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* 全部产品网格 - 4列 */
.all-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 产品网格中的卡片复用 .product-card 样式，额外微调 */
.all-products-grid .product-card .card-img {
  height: 220px;
}

.all-products-grid .product-card .card-name {
  font-size: 15px;
  padding: 16px 14px;
}

/* 空状态 */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
  grid-column: 1 / -1;
}

.no-results span {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   模块 17D：产品详情页通用样式
   ============================================================ */
/* 详情页面包屑 */
.breadcrumb {
  padding: 18px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-primary);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

.breadcrumb span {
  margin: 0 6px;
}

/* 详情页布局 */
.product-detail-layout {
  display: flex;
  gap: 50px;
  padding: 30px 0 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.product-detail-layout .detail-gallery {
  flex: 1;
  min-width: 320px;
  max-width: 520px;
}

.product-detail-layout .detail-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #eef1f6;
}

.product-detail-layout .detail-content {
  flex: 1;
  min-width: 300px;
}

.product-detail-layout .detail-content h1 {
  font-size: 30px;
  color: #222;
  margin-bottom: 6px;
  font-weight: bold;
}

.product-detail-layout .detail-content .model-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 500;
}

.product-detail-layout .detail-content .info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
}

.product-detail-layout .detail-content .info-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  line-height: 1.7;
}

.product-detail-layout .detail-content .info-table td:first-child {
  color: var(--color-text-muted);
  width: 90px;
  font-weight: 600;
  vertical-align: top;
  padding-top: 12px;
}

/* 详情页优势区块 */
.detail-advantages {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.detail-advantages h2 {
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.detail-advantages .adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.detail-advantages .adv-item {
  background: var(--color-white);
  padding: 26px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease;
}

.detail-advantages .adv-item:hover {
  transform: translateY(-2px);
}

.detail-advantages .adv-item h3 {
  font-size: 17px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}

.detail-advantages .adv-item p {
  font-size: 14px;
  color: #777;
  line-height: 1.9;
}

/* 详情页返回按钮 */
.back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.back-nav:hover {
  background: var(--color-primary-dark);
  transform: translateX(-3px);
}

/* ============================================================
   模块 18：侧边栏页面布局（左内容 + 右侧边栏）
   ============================================================ */
.page-layout {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  min-height: 60vh;
}

.page-main {
  flex: 1;
  min-width: 0;
}

.page-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 22px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-card .sidebar-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
  text-align: center;
}

.sidebar-card .sidebar-subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.sidebar-nav-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-mini a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav-mini a:hover,
.sidebar-nav-mini a.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 600;
}

/* ============================================================
   模块 19：独立页面顶部横幅（子页Banner）
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #003d99 100%);
  color: #fff;
  text-align: center;
  padding: 55px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-banner h1 {
  font-size: 34px;
  margin-bottom: 10px;
  font-weight: bold;
  position: relative;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.88;
  position: relative;
}

/* ============================================================
   模块 20：横向产品卡片（产品中心新布局）
   ============================================================ */
.product-horizontal-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-h-card {
  display: flex;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.product-h-card:hover {
  box-shadow: 0 6px 28px rgba(0, 82, 204, 0.15);
  transform: translateY(-3px);
}

.product-h-card .h-card-img {
  width: 240px;
  min-height: 180px;
  flex-shrink: 0;
  background: #eef1f6;
  overflow: hidden;
  position: relative;
}

.product-h-card .h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-h-card:hover .h-card-img img {
  transform: scale(1.08);
}

.product-h-card .h-card-body {
  flex: 1;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.product-h-card .h-card-body .h-card-name {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.4;
}

.product-h-card:hover .h-card-body .h-card-name {
  color: var(--color-primary);
}

.product-h-card .h-card-body .h-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.product-h-card .h-card-body .h-card-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-top: 10px;
  width: fit-content;
}

/* ============================================================
   模块 21：分页组件（带箭头+输入框）
   ============================================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination-wrap .page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-wrap .page-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.pagination-wrap .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-wrap .page-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  font-weight: bold;
}

.pagination-wrap .page-btn.arrow {
  font-size: 18px;
  font-weight: bold;
}

.pagination-wrap .page-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.pagination-wrap .page-jump span {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pagination-wrap .page-jump input {
  width: 50px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.pagination-wrap .page-jump input:focus {
  border-color: var(--color-primary);
}

.pagination-wrap .page-jump .jump-btn {
  height: 38px;
  padding: 0 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.pagination-wrap .page-jump .jump-btn:hover {
  background: var(--color-primary-dark);
}

/* ============================================================
   模块 22：资质证书纯文字列表
   ============================================================ */
.cert-text-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cert-text-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
  border-left: 4px solid var(--color-primary);
}

.cert-text-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cert-text-item .cert-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.cert-text-item .cert-info h4 {
  font-size: 17px;
  color: #222;
  margin-bottom: 6px;
}

.cert-text-item .cert-info p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}


/* ============================================================
   模块 23：PDF文档占位样式
   ============================================================ */
.pdf-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff5f5;
  border: 1px dashed #e57373;
  border-radius: 20px;
  font-size: 12px;
  color: #c62828;
  cursor: pointer;
  transition: all 0.2s;
}

.pdf-placeholder:hover {
  background: #ffebee;
  border-color: #c62828;
}

.pdf-placeholder .pdf-icon {
  font-size: 16px;
}

/* ============================================================
   模块 24：厂区照片重影效果（右下5px偏移，30%透明度）
   ============================================================ */
.factory-photo-ghost {
  position: relative;
  border-radius: var(--radius-md);
  overflow: visible;
}

.factory-photo-ghost img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

/* JS动态生成的重影层 */
.factory-photo-ghost .ghost-layer {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  opacity: 0.3;
  z-index: 1;
  object-fit: cover;
  display: block;
}

.factory-photo-ghost:hover img {
  transform: scale(1.04);
}

.factory-photo-ghost:hover .ghost-layer {
  opacity: 0.15;
}

/* ============================================================
   模块 25：管理面板样式
   ============================================================ */
.admin-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.admin-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  margin-bottom: 30px;
}

.admin-section h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.admin-form .form-group {
  margin-bottom: 20px;
}

.admin-form .form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.admin-form .form-group label .required {
  color: #e53935;
  margin-left: 2px;
}

.admin-form .form-group input[type="text"],
.admin-form .form-group textarea,
.admin-form .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.admin-form .form-group input[type="text"]:focus,
.admin-form .form-group textarea:focus,
.admin-form .form-group select:focus {
  border-color: var(--color-primary);
}

.admin-form .form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.admin-form .form-group input[type="file"] {
  font-size: 14px;
}

.admin-form .form-group .img-preview {
  width: 200px;
  height: 150px;
  background: #f0f1f3;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.admin-form .form-group .img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-form .form-group .img-preview .no-img {
  font-size: 13px;
  color: var(--color-text-muted);
}

.admin-form .btn-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  padding: 10px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-weight: 500;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-danger {
  background: #e53935;
  color: #fff;
}

.btn-danger:hover {
  background: #c62828;
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-light);
}

.admin-product-list {
  list-style: none;
  padding: 0;
}

.admin-product-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}

.admin-product-list li:last-child {
  border-bottom: none;
}

.admin-product-list li .ap-img {
  width: 60px;
  height: 45px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef1f6;
}

.admin-product-list li .ap-info {
  flex: 1;
  min-width: 0;
}

.admin-product-list li .ap-info .ap-name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-list li .ap-info .ap-cat {
  font-size: 12px;
  color: var(--color-text-muted);
}

.admin-product-list li .ap-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-product-list li .ap-actions button {
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-product-list li .ap-actions button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.admin-product-list li .ap-actions button.del-btn:hover {
  background: #e53935;
  border-color: #e53935;
}

.admin-msg {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.admin-msg.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.admin-msg.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* 管理入口按钮 */
.admin-entry {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 998;
}

.admin-entry a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s;
}

.admin-entry a:hover {
  background: var(--color-primary);
}

/* ============================================================
   模块 26：右侧浮动工具栏
   ============================================================ */
.float-bar {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.float-bar ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-bar li {
  width: 62px;
  height: 62px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.float-bar li:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.float-bar li:hover span,
.float-bar li:hover p {
  color: #fff;
}

.float-bar li span {
  font-size: 24px;
  color: var(--color-primary);
  transition: color var(--transition);
}

.float-bar li p {
  font-size: 12px;
  color: #555;
  margin-top: 2px;
  transition: color var(--transition);
}

.float-bar .wx-box {
  display: none;
  position: absolute;
  right: 72px;
  top: -30px;
  background: var(--color-white);
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.float-bar .float-wx:hover .wx-box {
  display: block;
}

.float-bar .wx-box img {
  width: 140px;
  height: 140px;
}

.float-bar li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}

/* 浮动条圆形图标适配（单元尺寸较小） */
.float-bar .contact-icon {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

/* ============================================================
   模块 18：响应式布局
   断点：1400px / 1100px / 900px / 768px / 480px
   ============================================================ */

/* ---------- 断点 01：≤ 1400px (大屏笔记本) ---------- */
@media screen and (max-width: 1400px) {
  .container {
    padding: 0 24px;
  }

  .nav-item a {
    padding: 14px 18px;
  }
}

/* ---------- 断点 02：≤ 1100px (平板横屏 / 小笔记本) ---------- */
@media screen and (max-width: 1100px) {
  :root {
    --header-height: 120px;
  }

  html {
    scroll-padding-top: 120px;
  }

  .header-box {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .logo img {
    height: 44px;
    width: auto;
  }

  .brief h4 {
    font-size: 18px;
  }

  .phone .iconfont {
    font-size: 28px;
  }

  .phone p span {
    font-size: 18px;
  }

  .nav-item a {
    padding: 12px 14px;
    font-size: 14px;
  }

  .banner {
    padding: 40px 0 60px;
  }

  .banner-img-wrap {
    margin-bottom: 30px;
  }

  .banner h1 {
    font-size: 34px;
  }

  .banner p {
    font-size: 17px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .product-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .all-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-detail-layout {
    gap: 30px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .factory-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .factory-photos-wrapper {
    padding: 24px 18px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-img {
    width: 100%;
    height: 280px;
  }

  .contact-content {
    flex-direction: column;
    padding: 32px;
    gap: 40px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer-col {
    flex: 1 1 200px;
  }

  /* 侧边栏布局 */
  .page-layout { gap: 24px; }
  .page-sidebar { width: 220px; }
  .sidebar-card { padding: 20px 16px; }
  .sidebar-card .sidebar-title { font-size: 18px; }

  /* 横向产品卡片 */
  .product-h-card .h-card-img { width: 180px; min-height: 140px; }
  .product-h-card .h-card-body { padding: 16px 18px; }
  .product-h-card .h-card-body .h-card-name { font-size: 17px; }

  /* 证书列表 */
  .cert-text-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* 页面横幅 */
  .page-banner { padding: 40px 0 35px; }
  .page-banner h1 { font-size: 28px; }

  /* 分页 */
  .pagination-wrap .page-btn { width: 36px; height: 36px; font-size: 14px; }
}

/* ---------- 断点 03：≤ 900px (平板竖屏) ---------- */
@media screen and (max-width: 900px) {
  :root {
    --header-height: 100px;
  }

  html {
    scroll-padding-top: 100px;
  }

  .top-bar {
    font-size: 12px;
    line-height: 30px;
  }

  .header-box {
    padding: 10px 0;
    gap: 12px;
  }

  .logo img {
    height: 38px;
    width: auto;
  }

  .brief h4 {
    font-size: 16px;
  }

  .brief p {
    font-size: 12px;
  }

  .phone p {
    font-size: 13px;
  }

  .phone p span {
    font-size: 16px;
  }

  /* 移动端汉堡菜单 */
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-item a {
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .banner {
    padding: 28px 0 45px;
  }

  .banner-img-wrap {
    margin-bottom: 26px;
  }

  .banner h1 {
    font-size: 28px;
  }

  .banner p {
    font-size: 15px;
  }

  .banner-btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .section-title p {
    font-size: 14px;
  }

  .sub-title {
    font-size: 22px;
    margin: 35px 0 25px;
  }

  .strength-grid,
  .product-grid,
  .quality-grid,
  .case-grid,
  .equipment-grid,
  .cert-grid,
  .factory-photos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .factory-photos-wrapper {
    padding: 20px 14px;
  }

  .factory-photo-card .photo-label {
    font-size: 13px;
    padding: 10px 12px;
  }

  .product-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .all-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-card .card-img {
    height: 200px;
  }

  .all-products-grid .product-card .card-img {
    height: 180px;
  }

  .all-products-header h1 {
    font-size: 28px;
  }

  .detail-advantages .adv-grid {
    grid-template-columns: 1fr;
  }

  .prod-img {
    height: 200px;
  }

  .cert-img {
    height: 200px;
  }

  .case-img {
    height: 200px;
  }

  .about-img {
    height: 220px;
  }

  .faq-box {
    padding: 28px 24px;
  }

  .contact-content {
    padding: 24px;
  }

  .delivery-table th,
  .delivery-table td {
    padding: 10px 14px;
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }

  /* 侧边栏布局 → 上下堆叠 */
  .page-layout { flex-direction: column; gap: 24px; }
  .page-sidebar { width: 100%; }
  .sidebar-card { position: static; }

  /* 横向产品卡片 → 纵向 */
  .product-h-card { flex-direction: column; }
  .product-h-card .h-card-img { width: 100%; height: 200px; }
  .product-h-card .h-card-body { padding: 16px; }
  .product-h-card .h-card-body .h-card-name { font-size: 17px; }

  /* 证书列表 */
  .cert-text-list { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* 页面横幅 */
  .page-banner h1 { font-size: 24px; }
  .page-banner p { font-size: 14px; }

  /* 管理面板 */
  .admin-section { padding: 24px 20px; }
  .admin-product-list li { flex-wrap: wrap; }
}

/* ---------- 断点 04：≤ 768px (手机横屏 / 小平板) ---------- */
@media screen and (max-width: 768px) {
  :root {
    --header-height: 90px;
  }

  html {
    scroll-padding-top: 90px;
  }

  .container {
    padding: 0 16px;
  }

  .header-box {
    padding: 8px 0;
  }

  .logo {
    display: none;
  }

  .brief h4 {
    font-size: 15px;
  }

  .brief p {
    display: none;
  }

  .phone .iconfont {
    font-size: 24px;
  }

  .phone p {
    font-size: 12px;
  }

  .phone p span {
    font-size: 14px;
  }

  .banner {
    padding: 20px 0 38px;
  }

  .banner-img-wrap {
    margin-bottom: 22px;
  }

  .banner h1 {
    font-size: 24px;
  }

  .banner p {
    font-size: 14px;
  }

  .strength-grid,
  .product-grid,
  .quality-grid,
  .case-grid,
  .equipment-grid,
  .cert-grid,
  .factory-photos-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .factory-photos-wrapper {
    padding: 16px 10px;
    border-radius: var(--radius-md);
  }

  .factory-photo-card .photo-label {
    font-size: 12px;
    padding: 8px 10px;
  }

  .factory-intro {
    font-size: 14px;
    padding: 16px 18px;
    line-height: 1.9;
    text-indent: 1.5em;
  }

  .product-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .all-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-card .card-img {
    height: 180px;
  }

  .all-products-grid .product-card .card-img {
    height: 160px;
  }

  .product-detail-layout {
    flex-direction: column;
    gap: 25px;
  }

  .product-detail-layout .detail-gallery {
    max-width: 100%;
  }

  .product-more-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
    bottom: -4px;
  }

  .product-more-btn .btn-tip {
    display: none;
  }

  .all-products-header {
    padding: 40px 0 35px;
  }

  .all-products-header h1 {
    font-size: 24px;
  }

  .product-tags {
    gap: 6px;
    margin-bottom: 30px;
  }

  .product-tags .tag {
    padding: 6px 14px;
    font-size: 12px;
  }

  .str-item {
    padding: 28px 20px;
  }

  .str-item h3 {
    font-size: 18px;
  }

  .prod-img {
    height: 220px;
  }

  .equip-img {
    height: 180px;
  }

  .case-img {
    height: 200px;
  }

  .cert-img {
    height: 220px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 14px;
    text-indent: 1.5em;
  }

  .faq-item h3 {
    font-size: 16px;
  }

  .faq-item p {
    font-size: 14px;
    padding-left: 0;
  }

  .delivery-table {
    font-size: 13px;
  }

  .delivery-table th,
  .delivery-table td {
    padding: 8px 12px;
  }

  .float-bar {
    display: none;
  }

  .footer-nav ul {
    gap: 6px;
  }

  .footer-nav ul li a {
    padding: 5px 12px;
    font-size: 13px;
  }

  /* 横向产品卡片 */
  .product-h-card .h-card-img { height: 160px; }
  .product-h-card .h-card-body .h-card-name { font-size: 16px; }

  /* 证书列表 */
  .cert-text-list { grid-template-columns: 1fr; }

  /* 分页 */
  .pagination-wrap { gap: 4px; }
  .pagination-wrap .page-btn { width: 34px; height: 34px; font-size: 14px; }
  .pagination-wrap .page-jump { margin-top: 4px; }

  /* 管理面板 */
  .admin-product-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .admin-product-list li .ap-actions { width: 100%; justify-content: flex-end; }
}

/* ---------- 断点 05：≤ 480px (手机竖屏) ---------- */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .top-bar {
    display: none;
  }

  .header-box {
    flex-wrap: wrap;
    gap: 8px;
  }

  .brief {
    flex: 1 1 100%;
    order: 3;
    text-align: center;
  }

  .brief h4 {
    font-size: 14px;
  }

  .phone {
    order: 2;
    margin-left: auto;
  }

  .nav {
    order: 4;
  }

  .nav-toggle {
    width: 100%;
    text-align: center;
  }

  .nav-item a {
    padding: 10px 14px;
    font-size: 13px;
  }

  .banner {
    padding: 14px 0 28px;
  }

  .banner-img-wrap {
    margin-bottom: 18px;
    border-radius: var(--radius-md);
  }

  .banner h1 {
    font-size: 20px;
  }

  .banner p {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .banner-btn {
    padding: 10px 24px;
    font-size: 14px;
    margin-top: 20px;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .section-title p {
    font-size: 13px;
  }

  .sub-title {
    font-size: 19px;
    margin: 28px 0 20px;
  }

  .str-item {
    padding: 22px 16px;
  }

  .str-icon {
    width: 56px;
    height: 56px;
  }

  .str-icon img {
    width: 32px;
    height: 32px;
  }

  .str-item h3 {
    font-size: 16px;
  }

  .str-item p {
    font-size: 13px;
  }

  .prod-img {
    height: 180px;
  }

  .product-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .all-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card .card-img {
    height: 220px;
  }

  .all-products-grid .product-card .card-img {
    height: 200px;
  }

  .product-detail-layout .detail-content h1 {
    font-size: 24px;
  }

  .product-detail-layout .detail-gallery {
    min-width: auto;
  }

  .product-more-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .all-products-header {
    padding: 30px 0 28px;
  }

  .all-products-header h1 {
    font-size: 22px;
  }

  .all-products-header p {
    font-size: 13px;
  }

  .prod-item h3 {
    font-size: 16px;
    padding: 14px 14px 4px;
  }

  .prod-item p {
    font-size: 13px;
    padding: 0 14px 16px;
  }

  .equip-item h3 {
    font-size: 15px;
    padding: 12px 12px 4px;
  }

  .equip-item p {
    font-size: 13px;
    padding: 0 12px 14px;
  }

  .qual-item {
    padding: 24px 18px;
  }

  .qual-num {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .cert-img {
    height: 180px;
  }

  .case-item h3 {
    font-size: 16px;
    padding: 14px 14px 4px;
  }

  .case-item p {
    font-size: 13px;
    padding: 0 14px 16px;
  }

  .about-img {
    height: 180px;
  }

  .faq-box {
    padding: 20px 16px;
  }

  .faq-item h3 {
    font-size: 15px;
  }

  .faq-item p {
    font-size: 13px;
  }

  .contact-content {
    padding: 20px;
  }

  .contact-item {
    gap: 10px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .contact-item h4 {
    font-size: 13px;
  }

  .contact-item p {
    font-size: 14px;
  }

  .delivery-table th,
  .delivery-table td {
    padding: 8px 10px;
    font-size: 12px;
  }

  .footer .container {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .footer-nav h4 {
    font-size: 16px;
  }

  .footer-info h4 {
    font-size: 16px;
  }

  .footer-phone h4 {
    font-size: 18px;
  }

  /* 横向产品卡片 */
  .product-h-card .h-card-img { height: 160px; }
  .product-h-card .h-card-body .h-card-name { font-size: 15px; }
  .product-h-card .h-card-body .h-card-desc { font-size: 12px; }

  /* 证书列表 */
  .cert-text-list { grid-template-columns: 1fr; }
  .cert-text-item { padding: 20px 16px; }

  /* 分页 */
  .pagination-wrap .page-btn { width: 30px; height: 30px; font-size: 13px; }
  .pagination-wrap .page-jump { margin-left: 0; margin-top: 8px; width: 100%; justify-content: center; }
  .pagination-wrap .page-jump input { width: 40px; height: 32px; font-size: 12px; }
  .pagination-wrap .page-jump .jump-btn { height: 32px; padding: 0 10px; font-size: 12px; }

  /* 管理面板 */
  .admin-section { padding: 18px 14px; }
  .admin-form .btn-row { flex-direction: column; }
  .admin-form .btn-row .btn { width: 100%; }

  /* 页面布局 */
  .page-layout { gap: 16px; }
  .page-banner { padding: 25px 0 22px; }
  .page-banner h1 { font-size: 20px; }
  .page-banner p { font-size: 13px; }
}

/* ============================================================
   模块 27：SVG 图标系统（替代空字体图标）
   ============================================================ */
.ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ic-phone {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.24.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.ic-mail {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.ic-pin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.ic-top {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");
}

.ic-qq {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
}

.ic-wx {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10l4 4V4c0-1.1-.9-2-2-2zm-2 12H8v-2h10v2zm0-3H8V9h10v2zm0-3H8V6h10v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10l4 4V4c0-1.1-.9-2-2-2zm-2 12H8v-2h10v2zm0-3H8V9h10v2zm0-3H8V6h10v2z'/%3E%3C/svg%3E");
}

/* 电话/邮箱/地址链接 */
.footer-contact a:hover,
.contact-item a:hover,
.phone a:hover,
.footer-phone a:hover {
  color: var(--color-accent);
}

/* ============================================================
   模块 28：404 错误页
   ============================================================ */
.error-page {
  padding: 70px 0 100px;
  position: relative;
  z-index: 1;
}

.error-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 52px 40px 46px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.error-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #3b82f6 50%, var(--color-accent) 100%);
}

.error-code {
  font-size: clamp(96px, 24vw, 150px);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 55%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: errFloat 3s ease-in-out infinite;
}

@keyframes errFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .error-code { animation: none; }
}

.error-card h1 {
  font-size: 26px;
  color: #222;
  margin: 8px 0 14px;
  font-weight: bold;
}

.error-card .err-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.error-countdown {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.error-countdown span {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 18px;
  margin: 0 2px;
}

.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.err-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  transition: all var(--transition);
}

.err-btn:hover {
  background: #d3e3fd;
}

.err-btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.err-btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.error-back {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-back:hover {
  color: var(--color-primary);
}

/* ============================================================
   模块 29：移动端底部快捷栏 + 微信弹层（≤768px 显示）
   ============================================================ */
.m-footer-bar {
  display: none;
}

.mfb-wx-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
}

.mfb-wx-overlay.show {
  display: flex;
}

.mfb-wx-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 28px 20px;
  text-align: center;
  width: calc(100% - 60px);
  max-width: 280px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  animation: mfbPop 0.25s ease;
}

@keyframes mfbPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.mfb-wx-box img {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: var(--radius-sm);
}

.mfb-wx-box .mfb-wx-title {
  font-size: 16px;
  color: #222;
  font-weight: 700;
}

.mfb-wx-box .mfb-wx-tip {
  font-size: 13px;
  color: var(--color-accent);
  margin: 4px 0 14px;
}

.mfb-wx-box .mfb-wx-close {
  padding: 9px 34px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.mfb-wx-box .mfb-wx-close:active {
  background: var(--color-primary-dark);
}

/* ---------- 断点 06：≤ 768px 底部栏显示 + 移动细节 ---------- */
@media screen and (max-width: 768px) {
  .m-footer-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .m-footer-bar .mfb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 8px 0 7px;
    font-size: 12px;
    color: #555;
    transition: background var(--transition);
  }

  .m-footer-bar .mfb-item:active {
    background: var(--color-primary-light);
  }

  .m-footer-bar .mfb-item .mfb-icon {
    font-size: 21px;
    line-height: 1.2;
  }

  .m-footer-bar .mfb-item.mfb-tel {
    background: var(--color-primary);
    color: #fff;
  }

  .m-footer-bar .mfb-item.mfb-tel:active {
    background: var(--color-primary-dark);
  }

  body.has-mbar {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .admin-entry {
    bottom: 76px;
  }

  /* 输入框字号≥16px，防止 iOS 聚焦自动放大 */
  .admin-form input[type="text"],
  .admin-form textarea,
  .admin-form select,
  .pagination-wrap .page-jump input {
    font-size: 16px;
  }

  /* 移动端点按反馈 */
  a, button, .tag, .page-btn {
    -webkit-tap-highlight-color: rgba(0, 82, 204, 0.18);
  }

  /* 404 卡片移动适配 */
  .error-page { padding: 40px 0 70px; }
  .error-card { padding: 40px 20px 36px; }
  .error-card h1 { font-size: 22px; }
  .err-btn { padding: 11px 24px; font-size: 14px; }
}

/* ---------- 断点 07：≤ 640px 交付表格卡片化 ---------- */
@media screen and (max-width: 640px) {
  .delivery-table {
    display: block;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }

  .delivery-table thead {
    display: none;
  }

  .delivery-table tbody {
    display: block;
  }

  .delivery-table tr {
    display: block;
    background: var(--color-white);
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .delivery-table td {
    display: block;
    padding: 10px 14px;
    border-bottom: none;
    font-size: 13px;
    line-height: 1.7;
  }

  .delivery-table td:first-child {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
    padding: 7px 14px;
    font-size: 13px;
  }

  .delivery-table tbody tr:hover {
    background: var(--color-white);
  }
}

/* ---------- 断点 08：≤ 480px 菜单按钮文字 / ≤ 380px 超窄屏 ---------- */
@media screen and (max-width: 480px) {
  .nav-toggle::after {
    content: ' 菜单';
    font-size: 15px;
    vertical-align: 2px;
  }
}

@media screen and (max-width: 380px) {
  .phone p span {
    font-size: 12.5px;
    letter-spacing: -0.2px;
  }

  .phone .contact-icon {
    font-size: 18px;
  }
}
