html::-webkit-scrollbar {
  display: none;
}

/* 针对 Firefox */
html {
  scrollbar-width: none;
  /* 针对 IE 和旧版 Edge */
  -ms-overflow-style: none;
}

/* 确保 body 也不显示滚动条（双重保险） */
body::-webkit-scrollbar {
  display: none;
}
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
:root {
  --nav-height: 72px;
  --nav-bg: rgba(3, 10, 12, 0); /* 初始透明 */
  --nav-scrolled-bg: rgba(3, 10, 12, 0.9); /* 滚动后 */
  --nav-transition: 250ms ease;
  --nav-z: 1030;
  --brand-blue: #002fa7;
}
.bg-brand {
  background-color: #ffffff;
}

.text-brand {
  color: #ffffff;
}
html,
body {
  height: 100%;
  padding: 0;
  overflow: hidden;
}
body {
  margin: 0;
  color: #eef2f7;
  background: #05060a;
}
#wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
}
/* 表单 */
.form-control {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
}
.form-control:focus {
  border-color: #0d6efd;
  box-shadow: none;
}
.submit-btn {
  width: 100%;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  background: transparent;
  transition: 0.3s;
}
.submit-btn:hover {
  background: #0d6efd;
  color: white;
}

/* 右侧导航长条 */
.nav-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.nav-dots button {
  display: block; /* 确保是块级，不是内联 */
  width: 1px !important; /* 强制宽度窄 */
  height: 40px; /* 控制高度 */
  border-radius: 2px; /* 稍微圆角 */
  border: none;
  margin: 8px 0; /* 上下间距 */
  padding: 0; /* 清除 padding */
  background: rgba(255, 255, 255, 0.5);
  box-sizing: content-box; /* 防止边框撑大 */
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}

.nav-dots button.active {
  background: #fff;
  transform: scaleY(1.2);
}
.nav-dots {
  display: none;
}
/* 1. 默认状态：透明背景 + 半透明白边框 + 白字 */
.btn-nav-light {
  background-color: transparent !important; /* 始终透明 */
  border: 1px solid rgba(255, 255, 255, 0.7) !important; /* 边框稍微淡一点 */
  color: #ffffff !important; /* 文字白色 */
  font-weight: 600;
  padding: 8px 24px;
  transition: all 0.3s ease;
}

/* 2. 悬停状态：依然透明，但加亮边框 */
.btn-nav-light:hover {
  background-color: transparent !important; /* 重点：悬停也不变色 */
  /* 或者用这个：background-color: rgba(255,255,255, 0.1) !important; */ /* (可选) 微微亮一点点底色，更有质感 */

  border-color: #ffffff !important; /* 边框变成纯白 */
  color: #ffffff !important; /* 文字保持纯白 */

  transform: translateY(-2px); /* 保持上浮效果 */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* 加一层淡淡的白色光晕，提示已选中 */
}
/* ---------- 导航栏样式 ---------- */
#site-navbar {
  /* 1. 必须保留的结构属性 (否则会消失或错位) */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* 确保它永远在最上面 */

  /* 2. 核心外观：全透明 */
  background-color: transparent !important; /* 强制透明 */
  backdrop-filter: none !important; /* 去掉模糊效果 */
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important; /* 去掉底部的线 */
  box-shadow: none !important; /* 去掉阴影 */

  /* 3. 高度调整 (保留你之前喜欢的紧凑高度) */
  padding-top: 10px !important;
  padding-bottom: 10px !important;

  /* 4. 动画过渡：只让位置移动产生动画 */
  transition: transform 0.4s ease-in-out;
}

/* 5. 隐藏状态 (由 JS 控制) */
#site-navbar.nav-hidden {
  /* 向上移动自身高度，实现隐藏 */
  transform: translateY(-100%);
}

/* 6. 确保 Logo 尺寸合适 */
.navbar-brand img {
  height: 35px; /* 保持你原本的大小 */
  width: auto;
  display: block; /* 防止图片下方有空隙 */
}

/* 7. 字体颜色保障 */
/* 加上文字阴影，防止在白色背景上完全看不见 */
#site-navbar .nav-link {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* 加一点淡淡的阴影，确保在亮色背景也能看见字 */
}
/* 下拉 */
/* 手机端保持“点击打开”，否则体验不好 */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block; /* 悬停即显示 */
    margin-top: 0; /* 修正位置 */
    animation: fadeIn 0.3s ease; /* 加一个小动画 */
  }
}

/* 一个简单的淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. 下拉菜单样式美化 */
.dropdown-menu {
  border: none; /* 去掉默认边框 */
  border-radius: 8px; /* 圆角 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* 漂亮的阴影 */
  padding: 10px 0;
  min-width: 220px; /* 稍微宽一点 */
}

/* 链接项样式 */
.dropdown-item {
  padding: 8px 20px;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa; /* 浅灰背景 */
  color: #0d6efd; /* 蓝色文字 */
  padding-left: 25px; /* 悬停时稍微右移，增加交互感 */
}

/* 分组小标题样式 */
.dropdown-header {
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 5px;
}
/*模块*/
.section-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* ***********index************** */
/* Hero 样式*/
.hero {
  position: relative;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 72px);
  margin-bottom: 0.4rem;
}
.hero p {
  max-width: 560px;
  opacity: 0.95;
}
.hero .btn-primary {
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
}

/* Hero 动画 */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: all 700ms ease;
}
.fade-up.appear {
  opacity: 1;
  transform: none;
}
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  z-index: 2;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  pointer-events: none;
}
.hero-bg,
.hero-video,
.hero::before {
  content: none !important;
}
.hero .container {
  pointer-events: none;
  position: relative;
  z-index: 999; /* 内容层 */
}
/* 整体内容往下移动 */
#home .container {
  padding-top: 400px;
}
.hero-content {
  padding-top: 130px;
  padding-bottom: 120px;
}
.hero-content,
.hero-content a,
.hero-content button,
.hero-content .btn {
  pointer-events: auto;
}

/* 优化主标题 */
.hero-content h4 {
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-size: clamp(2rem, 4vw, 4.5rem) !important;
}

.hero-content .lead {
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin-top: 2rem !important;
  margin-bottom: 3rem !important;
  font-size: clamp(0.9rem, 1vw, 1.2rem) !important;
}

.hero-content .mt-4 {
  margin-top: 4rem !important;
}
#aboutf .video-card {
  margin-top: 57px; /* 根据需要调整为 20/40/60px 等 */
}
/* 基础状态 */
.hero-content {
  opacity: 1;
  transition:
    opacity 1.5s ease-out,
    transform 1.5s ease-out;
}

/* 隐藏状态 */
.content-fade-out {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  pointer-events: none !important;
}
/* 模型 */
.diagram-card {
  position: relative;
  width: 90%; 
  max-width: 1200px; 
  transition: max-width 0.5s ease;
}

.hotspots {
  margin: 0;
  padding: 0;
  z-index: 8;
}
.hotspot .title {
  position: absolute; /* 关键 */
  left: 100%; /* 文字显示在点的右侧 */
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  background: #002fa7;
  padding: 5px 10px;
  border-radius: 5px;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.hotspot:hover .title,
.hotspot:focus .title {
  opacity: 1;
  visibility: visible;
}

.hotspot:hover .title {
  background: #002fa7;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
}

.hotspot .dot {
  width: 20px;
  height: 20px;
  background: #002fa7;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.hotspot .dot::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  border: 2px solid #002fa7;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hotspot .title {
  margin-left: 8px;
  font-size: 14px;
  color: #fff;
}

/* 全球 */
#global {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* 背景图 */
.global-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保证铺满，不变形 */
  z-index: 0;
  animation: move-bg 20s linear infinite alternate;
}

@keyframes move-bg {
  0% {
    transform: scale(1) translateX(0);
  }
  50% {
    transform: scale(1.05) translateX(-20px);
  }
  100% {
    transform: scale(1) translateX(0);
  }
}
/* 针对电脑端（屏幕宽度大于等于 992px）让视频区域铺满宽度 */
@media (min-width: 992px) {
  .diagram-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .diagram-card video {
    border-radius: 0 !important; /* 既然铺满全屏了，把原来的圆角去掉视觉上会更自然 */
  }
}
/* 世界地图粒子特效 */
#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* 在背景上，但在内容下 */
}

/* 股票代码卡片 */
.stock-card {
  position: absolute;
  bottom: 20px; /* 距离底部 20px */
  right: 70px; /* 距离右边 20px */
  background: transparent;
  padding: 10px 20px;
  border-radius: 12px;
  z-index: 2;
}

.stock-icon {
  height: 25px; /* 根据素材大小调整 */
  width: auto;
}
/* 容器调整 */
#global .container {
  max-width: 1300px; /* 稍微加宽容器，让第二行文字不换行太严重 */
}

/* 第一行：顶部小数据 */
.stat-item-top h2 {
  font-size: 2.2rem; /* 稍微缩小一点 */
  margin-bottom: 0.2rem;
  color: #fff;
}

.stat-item-top .stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 第二行：核心大数据 - 字体已缩小 */
.stat-item-middle h2 {
  font-size: 2.4rem; /* 关键修改：之前是 display-4 (约3.5rem)，现在改小到 2.4rem */
  margin-bottom: 0.5rem;
  line-height: 1.2; /* 防止多行时太开 */
}

/* 颜色高亮类 (保持白色，或者你可以改成浅蓝) */
.text-primary-light {
  color: #ffffff;
}

.stat-item-middle .stat-desc {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 80%; /* 限制文字宽度，防止太长难看 */
  margin: 0 auto; /* 居中 */
}

/* 第三行：底部标语 */
.stat-bottom-text {
  font-size: 1.1rem; /* 稍微缩小，保持精致 */
  font-weight: 700;
  color: #fff;
  opacity: 0.95;
  margin-top: 10px; /* 增加一点与上方的距离 */
}
/* 针对笔记本电脑和平板横屏（屏幕宽度在 769px 到 1440px 之间）进行字体微调 */
@media (max-width: 1440px) and (min-width: 769px) {
  /* 第一行：顶部小数据 */
  .stat-item-top h2 {
    font-size: 1.8rem !important; /* 原为 2.2rem，缩小让出空间 */
  }
  .stat-item-top .stat-desc {
    font-size: 0.9rem;
  }
  
  /* 第二行：核心大数据 */
  .stat-item-middle h2 {
    font-size: 2rem !important; /* 原为 2.4rem，稍微收敛一点 */
  }
  .stat-item-middle .stat-desc {
    font-size: 0.95rem;
  }

  /* 第三行：底部标语 */
  .stat-bottom-text {
    font-size: 1rem !important; /* 原为 1.1rem，保持精致不突兀 */
  }
  
  /* 稍微调整一下上下间距，防止笔记本屏幕高度不够导致重叠 */
  #global .container {
    margin-top: 2vh !important; 
  }
  .mb-5 {
    margin-bottom: 2rem !important; /* 减小默认的底部边距 */
  }
}
/* 移动端微调 */
@media (max-width: 768px) {
  .stat-item-middle h2 {
    font-size: 1.8rem;
  } /* 手机上再小一点 */
  .stat-bottom-text {
    font-size: 0.95rem;
  }
}

.news-section {
  padding: 80px 0;
  background-color: #000000; /* 稍微给一点灰背景，让白色卡片突出来 */
}

.news-container {
  width: 90%; /* 稍微放宽一点，利用率更高 */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.news-heading {
  color: #ffffff; /* 【修复】改为深色，确保能看见 */
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center; /* 建议居中，更美观 */
  text-transform: uppercase;
}

/* =========================================
   2. Grid 网格布局 (核心)
   ========================================= */
.news-grid {
  display: grid;
  /* 默认 PC 端：3 列 */
  grid-template-columns: repeat(3, 1fr);
  /* 【调整】总高度设为 260px */
  /* 相比原来的 220px 稍微高一点，这样 65% 的图片才不会太扁 */
  grid-auto-rows: 260px;
  gap: 24px;
}

/* =========================================
   3. 卡片组件
   ========================================= */
.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%; /* 填满网格高度 */
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- 图片区域 (65%) --- */
.news-img {
  height: 65%; /* 【调整】给图片更多空间，减少裁剪 */
  width: 100%;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;

  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.5s ease;
}

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

/* --- 文字内容区域 (35%) --- */
.news-content {
  height: 35%; /* 【调整】文字区域变小，不再有大片留白 */
  padding: 12px 16px; /* 稍微减小内边距 */
  display: flex;
  flex-direction: column;
  /* 【关键】让 日期、标题、链接 三者均匀撑开，不挤也不空 */
  justify-content: space-between;
}

.news-date {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}

.news-title {
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;

  /* 限制标题最多显示 1 行 (如果不希望省略号，可改为 2，但可能会挤) */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* 隐藏描述文字，保持卡片简洁 */
.news-desc {
  display: none;
}

.news-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: #002fa7; /* 蓝色链接更明显 */
}

.news-link:hover {
  text-decoration: underline;
}
/* Explore More Link Styles */
.explore-more-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
}

.explore-more-link:hover {
  color: #0d6efd; /* Change this hex code to match your brand's primary color */
}

.explore-more-link .arrows {
  display: inline-block;
  transition: transform 0.3s ease;
}

.explore-more-link:hover .arrows {
  transform: translateX(8px); /* Slides the arrows slightly to the right on hover */
}
/* 针对 2K 及以上大屏幕（屏幕宽度大于 1440px）展开新闻区 */
@media (min-width: 1441px) {
  .news-container {
    max-width: 1600px !important; /* 突破原本 1200px 的限制，你可以根据喜好改成 1400px 或 1800px */
    width: 85% !important;        /* 保持两边有一点呼吸空间，不至于完全贴边 */
  }
  
  /* 在大屏幕上，稍微增加一点卡片的高度，让比例更协调 */
  .news-grid {
    grid-auto-rows: 300px !important; /* 原本是 260px，大屏上拉高一点图片更好看 */
  }
}

/* 针对 4K 超大屏幕（屏幕宽度大于 1920px）进一步展开 */
@media (min-width: 1921px) {
  .news-container {
    max-width: 1800px !important; 
    width: 80% !important;
  }
  
  .news-grid {
    grid-auto-rows: 340px !important; 
  }
}

/* =========================================
   4. 响应式适配 (解决平板和手机问题)
   ========================================= */

/* --- 平板端 (小于 1024px) --- */
/* 【解决】这里增加了断点，平板上显示 2 列 */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 手机端 (小于 768px) --- */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr; /* 1 列 */
    grid-auto-rows: auto; /* 高度不再固定，由内容撑开 */
  }

  .news-card {
    height: auto; /* 卡片高度自适应 */
    /* 手机上为了看得清，稍微改变比例 */
  }

  .news-img {
    height: 200px; /* 手机上给一个固定的舒适高度 */
  }

  .news-content {
    height: auto; /* 文字区域自适应 */
    padding: 20px;
    gap: 10px; /* 手机上各元素加点间距 */
  }

  .news-title {
    -webkit-line-clamp: 2; /* 手机上允许标题换行显示完整点 */
  }
}

/* footer */
#footer {
  background-color: #111; /* 稍微深一点的灰，比纯黑更有质感 */
}

/* 标题样式 */
#footer h6 {
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: #fff;
}

/* 链接列表样式 - 关键点 */
#footer .footer-links li {
  margin-bottom: 1.2rem; /* 加大行间距！链接少，就让间距大一点，视觉上占满空间 */
}

#footer .footer-links a {
  color: #ffffff; /* 默认灰色 */
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

#footer .footer-links a:hover {
  color: #7d7575; /* 悬停变白 */
  padding-left: 5px; /* 悬停微动，增加精致感 */
}

/* 社交图标 */
#footer .social-icons i {
  font-size: 1.4rem;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s;
}
#footer .social-icons a:hover i {
  opacity: 1;
}

/* 竖线分割线 - 核心魔法 */
@media (min-width: 992px) {
  .border-start-custom {
    /* Bootstrap 的 row 默认是 flex，这会让 col 自动等高。
       所以只要加上 border-left，这条线就会自动跟最左边那列（最高的列）一样高！
    */
    border-left: 1px solid rgba(255, 255, 255, 0.5);
  }
}

/* 底部条款微调 */
.footer-legal a:hover {
  text-decoration: underline !important;
}

/* products.html */
.page-banner {
  padding: 120px 0 48px; /* 顶部留出空间，避免 fixed navbar 压住；底部留空隙 */
}

.page-banner .banner-frame {
  position: relative;
  border-radius: 20px; /* 圆角 */
  overflow: hidden; /* 圆角裁切图片 */
  background: #000; /* 防止图片未加载时的底色 */
}

/* 横幅图片：不全屏，保持可控高度，并四周由 container 控制留白 */
.page-banner .banner-img {
  width: 100%;
  height: auto;
  display: block;
}
.banner-img {
  width: auto; /* 宽度自适应 */
  height: auto; /* 高度按比例 */
  object-fit: contain; /* 保持比例裁切 */
}

/* 轻微遮罩，保证字可读 */
.page-banner .banner-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

/* 文案在图片的左上角 */
.page-banner .banner-copy {
  position: absolute;
  top: clamp(6px, 2vw, 40px);
  left: clamp(6px, 2vw, 40px);
  max-width: min(90%, 760px);
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.page-banner .banner-title {
  margin: 0 0 6px; /* 间距再收紧一点 */
  font-size: clamp(14px, 2.5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.page-banner .banner-subtitle {
  margin: 0;
  font-size: clamp(10px, 1vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;

  /* 手机端防撑爆保险，限制 2 行 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 九宫格外框 */
.industry-container {
  padding: 2rem 1.5rem; /* 内边距适中 */
  margin: 3rem auto;
  max-width: 1150px; /* 跟 bootstrap container 宽度差不多 */
  background: transparent; /* 保持背景透明 */
}

/* 九宫格布局 */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem; /* 行列间距适中 */
  justify-items: center;
}

/* 单个卡片 */
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 1rem;
  min-height: 380px;
  background: transparent;
  height: 100%;
}
/* 产品总页的产品字体的大小 */
.industry-container .industry-card h5 {
  font-size: 12px;
}

/* 标题靠近图片 */
.industry-card h5 {
  font-size: 1rem;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 0.35rem; /* 减小距离 */
}

/* 图片 */
.industry-card img {
  width: 100%;
  max-width: 350px;
  height: 260px;
  object-fit: contain;
  margin-bottom: 0.9rem;
}

/* 按钮 */
.industry-card .btn-explore {
  margin-top: auto;
  margin-bottom: 1rem;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff);
  color: #000000;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.industry-card .btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* 二级导航 */
.Navgation_manu {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.manu-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  justify-content: center;
}

.manu-bar a {
  text-decoration: none;
  color: black;
  background: #eff6ff;
  padding: 10px 20px;
  border-radius: 30px;
  transition: 0.35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.manu-bar a.active {
  background: rgb(128, 128, 131);
  color: white;
}

.manu_collapsed {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  display: none;
  position: absolute;
}
/* ++++++++++++++++++++ */
.header-carousel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--hc-width, min(1100px, 90%));
  max-width: var(--hc-max-width, 1200px);
  height: var(--hc-height, 400px); /* 统一高度 */
  z-index: 2;
  pointer-events: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.header-carousel .carousel-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.header-carousel .carousel-item.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* 强制所有图片等高 */
.header-carousel img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* 隐藏圆点 */
.header-carousel-dots {
  display: none !important;
}

.header-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  transition:
    background 200ms ease,
    transform 200ms ease;
  pointer-events: auto;
}

.header-carousel-dots button.active {
  background: #fff;
  transform: scale(1.15);
}

/* 手机端 */
@media (max-width: 768px) {
  .header-carousel {
    height: 260px;
  }
}

/* partnership page css */
.partnership-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1; /* 背景层 */
}
.section-partner {
  background-size: cover;
  background-position: center;
  position: relative;
}

.section-partner::before {
  content: '';
  position: absolute;
  inset: 0;
}
.partnership-text {
  margin-top: 300px; /* 下移 */
}

/* 大屏（≥1200px）保持原样 */
@media (max-width: 1200px) {
  .logo-card {
    width: 110px;
    height: 65px;
  }
  .logo-row {
    gap: 32px;
  }
}

/* 中屏（960px ~ 1199px） */
@media (max-width: 992px) {
  .carousel-container {
    padding: 30px;
  }
  .logo-row {
    gap: 26px;
  }
  .logo-card {
    width: 100px;
    height: 60px;
  }
  .logo-card img {
    max-width: 85%;
    max-height: 85%;
  }
}

/* 平板（768px ~ 959px） */
@media (max-width: 768px) {
  .carousel-container {
    padding: 24px;
  }
  .logo-row {
    gap: 22px;
  }
  .logo-card {
    width: 85px;
    height: 55px;
  }
  .logo-card img {
    max-width: 80%;
    max-height: 80%;
  }
}

/* 手机横屏（600px ~ 767px） */
@media (max-width: 600px) {
  .carousel-container {
    padding: 20px;
  }
  .logo-row {
    gap: 18px;
  }
  .logo-card {
    width: 75px;
    height: 50px;
  }
  .logo-card img {
    max-width: 75%;
    max-height: 75%;
  }
}

/* 手机竖屏（≤480px） */
@media (max-width: 480px) {
  .carousel-container {
    padding: 15px;
  }
  .logo-row {
    gap: 14px;
  }
  .logo-card {
    width: 65px;
    height: 42px;
  }
  .logo-card img {
    max-width: 70%;
    max-height: 70%;
  }
}

/* 超小屏（≤360px） */
@media (max-width: 360px) {
  .logo-card {
    width: 55px;
    height: 38px;
  }
  .logo-row {
    gap: 12px;
  }
}

/* about page css */
.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1; /* 背景层 */
}
/* 文字层级更高 */
.banner-text {
  position: relative;
  z-index: 2;
  max-width: 700px; /* 控制宽度 */
}
/* 可以微调文字位置 */
header .container {
  margin-bottom: 24rem;
  padding-left: 2%;
}

/* Section4 */
/* 标题 */
.section-title {
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* 时间轴 */
.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 60px;
  max-width: 900px;
}

/* 横线 */
.timeline .line {
  position: absolute;
  top: 50%;
  left: -50%;
  height: 2px;
  width: 200%;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

/* 年份 */
.timeline span {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px; /* 圆的直径 */
  height: 20px;
  border-radius: 50%; /* 圆形 */
  background: rgba(255, 255, 255, 0.4);
  font-size: 0; /* 隐藏文字，因为文字放到下方 */
  z-index: 2;
  transition: background 0.3s;
}
/* 文字显示在圆下方 */
.timeline span::after {
  content: attr(data-year);
  position: absolute;
  top: 30px; /* 距离圆下方的间距，可调 */
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: white;
  opacity: 0.7;
  transition: 0.3s;
  white-space: nowrap;
}

/* 激活状态圆变蓝 */
.timeline span.active {
  background: #4a90e2;
}

/* 激活状态文字加粗 */
.timeline span.active::after {
  font-weight: bold;
  opacity: 1;
  color: #4a90e2;
}

/* 内容左右布局 */
.milestone-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  max-width: 750px;
  margin: 0 auto;
  text-align: left;
}

.milestone-content .left h1 {
  font-size: 60px;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.milestone-content .right {
  flex: 1;
}

.milestone-content .right ul {
  list-style: disc;
  padding-left: 50px;
}

#details li {
  white-space: normal;
  max-width: none;
}
/* application page css  */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* 每个 section 只展示一张图，所以去掉 absolute */
.slide {
  position: relative;
  width: 86%;
  height: 84%;
  border-radius: 16px;
  background-size: cover; /* 让背景图充满区域 */
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; /*不再用淡入淡出 */
  z-index: 1;
}

/* 不需要 active 切换，只保留结构 */
.slide.active {
  opacity: 1;
}

/* 内容动画可以保留 */
.slide-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
}

.application-text {
  width: 48%; /* 保持文字占左边或右边一半 */
}

.application-text h3,
.application-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 1rem;
}

.application-text p {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.application-image {
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 修正图片大小：不被挤压也不重叠 */
.application-image {
  width: 45%;
  /* 【核心瘦身魔法】：高度不再定死 600px，而是随屏幕高度弹性伸缩！
     在笔记本上通常会算出 45vh（大概 300~400px），看着极其精致不压迫。 */
  height: clamp(250px, 45vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 完美保留图片全貌，不裁切 */
  transition: transform 0.5s ease; /* 加个小动画备用 */
}
@media (max-width: 991px) {
  .slide-content {
    flex-direction: column !important; /* 强制上下堆叠 */
    padding: 2rem 1.5rem !important;
    text-align: center; /* 手机端居中排版更好看 */
  }

  .application-text,
  .application-image {
    width: 100% !important;
    max-width: 100% !important;
  }

  .application-image {
    height: clamp(200px, 30vh, 320px); /* 手机端图片再小一点 */
  }

  /* 修复 HTML 左右交替排版的错位问题，强制手机端都是“文字在上，图片在下” */
  .slide-content > .application-text {
    order: 1;
  }
  .slide-content > .application-image {
    order: 2;
    margin-top: 2rem;
  }
}
/* 只调整轮播下移 */
.application-bottom {
  margin-top: 24px; /* 依然保留一点间距 */
  padding-bottom: 24px; /* 底部留白，避免贴底 */
  display: flex;
  align-items: center;
}
.application-top {
  margin-top: 48px; /* 给上方留空间，让标题往下，但缩小一点 */
}
/* 只调整这张图片大小 */
.small-image {
  max-width: 60%; /* 根据需要调整，原来是 100% */
  height: auto;
}

.machinery-slide {
  position: relative;
  overflow: hidden;
}

.machinery-slide .slide-content {
  position: relative;
  z-index: 2;
}

.machinery-title {
  font-size: 1.5rem !important; /* h4 大小 */
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.machinery-description {
  font-size: 1rem !important; /* 正常大小 */
  line-height: 1.5 !important;
  margin-bottom: 1.5rem !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  font-weight: 400 !important;
}

.machinery-btn {
  border: 2px solid #ffffff !important;
  background: transparent !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 25px !important; /* 圆角按钮 */
  font-weight: 400 !important;
  font-size: 1rem !important; /* 正常大小 */
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.machinery-btn:hover {
  background: #ffffff !important;
  color: #1e40af !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.machinery-equipment:hover {
  transform: scale(1.05);
}

/* detail css */
.detail-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1; /* 背景层 */
}
/* 基础 */
.detail-section {
  position: relative;
  overflow: hidden;
}
.detail-title {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* 背景层 */
.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 0;
}
.detail-section .container {
  position: relative;
  z-index: 1;
}

/* Hero */
/* Scenarios */
.detail-scenario-circle {
  width: 300px;
  height: 300px;
  border: 2px solid #2d7dff;
  border-radius: 50%;
  padding: 10px;
}
.detail-scenario-line {
  position: absolute;
  top: 50%;
  left: -200px;
  width: 290px;
  height: 2px;
  background: #2d7dff;
}
.scenario-img {
  width: 350px;
  height: 350px;
}

/* Features */
.detail-feature-card {
  border: 2px solid #2d7dff;
  border-radius: 8px;
  background: #111;
  transition: transform 0.3s;
}
.detail-feature-card:hover {
  transform: translateY(-10px);
}
.feature-card {
  /* --- 1. 核心：强制固定高度 --- */
  height: 300px; /* 【重点】这里写死一个数值，比如 300px 或 350px，所有卡片就完全一样高了 */
  width: 100%; /* 宽度跟随父容器 */

  /* --- 2. 布局：内部元素上下撑开 --- */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 内容从上往下排 */

  /* --- 3. 视觉：浅色小方块样式 --- */
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  /* --- 4. 安全锁：防止内容撑破方块 --- */
  overflow: hidden;
  box-sizing: border-box; /* 确保 padding 不会增加额外的宽高 */
  transition: all 0.3s ease;
}

/* --- 关键补充：限制文字行数 --- */
/* 因为卡片高度固定了，如果文字太长必须切断，否则会跑到卡片外面去 */
.feature-card .feature-description {
  margin-bottom: 20px;

  /* 限制最多显示 4 行，多余的显示省略号 ... */
  display: -webkit-box;
  -webkit-line-clamp: 4; /* 你可以改这个数字，控制显示几行文字 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  /* 让文字稍微好看点 */
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* 底部线条自动沉底（可选） */
.feature-card .feature-line {
  margin-top: auto; /* 这会让线条始终处于卡片最底部 */
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Product Recommendations */
.detail-products {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* 之前是 align-items: end 会让图片被压 */
  gap: 50px; /* 间距增大 */
  width: auto; /* 让容器自适应 */
  overflow: visible; /* 允许图片超出容器 */
}

.detail-products .detail-product {
  width: auto; /* 不固定宽度 */
  max-width: 240px; /* 限制最大宽度，可根据需要 */
  padding: 0; /* 可选，避免多余空白 */
}

.detail-products .detail-product.center {
  transform: scale(1.2);
  opacity: 1;
}
.detail-products .detail-product img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 300px;
  object-fit: none;
  display: block;
}

#product-recommendations .detail-title {
  margin-bottom: 40px;
}

.arrow-btn {
  background: none;
  border: none;
  font-size: 3rem;
  color: #f8f8f8;
  cursor: pointer;
  transition: color 0.3s ease;
}

.arrow-btn:hover {
  color: #002fa7;
}

.detail-products-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
/* ============================================================ */
/* Hero 内容微调：缩小字体并增加标题/段落/按钮间距 */
.hero-content h4.display-3 {
  font-size: clamp(28px, 4.6vw, 48px); /* 比原来更小 */
  line-height: 1.05;
  margin-bottom: 2rem; /* 标题和段落间距稍大 */
}
.hero-content p.lead {
  font-size: 1.1rem; /* 稍小段落文字 */
  max-width: 520px;
  margin-bottom: 2rem; /* 段落与按钮间距加大 */
  opacity: 0.95;
}
.hero-content .mt-4 {
  margin-top: 1.8rem !important; /* 按钮块往下移动，增大与上方内容间距 */
}

/* About 页面：右侧文字滚动区域（高度与视频一致） */
.about-text-scroll-wrapper {
  width: 100%;
  overflow: hidden; /* 外层隐藏，内层滚动 */
}
.about-text-scroll {
  overflow-y: auto;
  padding-right: 8px; /* 为滚动条留空 */
  -webkit-overflow-scrolling: touch;
}
.about-text-scroll p {
  margin-bottom: 1rem;
}
/* 美化滚动条*/
.about-text-scroll::-webkit-scrollbar {
  width: 8px;
}
.about-text-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.about-text-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.about-text-scroll {
  /* 隐藏滚动条，但保留滚动行为 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.about-text-scroll::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.intro-arrows .btn {
  color: #fff;
}
/* index页面修改 */
/* 缩小全球统计区两行数字与文字大小 */
.stats-row h2.display-2 {
  /* 比之前再缩小约 10% */
  font-size: clamp(30px, 4.7vw, 55px);
  line-height: 1;
}
.stats-row p {
  font-size: 0.9rem; /* 说明文字更小 */
  opacity: 0.95;
}

/* 第二行统计（位于 .w-100 之后的列）单独控制字号 */
#global .stats-row .w-100 ~ .col-md-3 h2.display-2 {
  /* 根据需要调整第二行数字大小 */
  font-size: clamp(15px, 4vw, 24px);
}
#global .stats-row .w-100 ~ .col-md-3 p {
  /* 根据需要调整第二行说明文字大小 */
  font-size: 0.68rem;
}

/* 缩小每列的左右内边距以进一步减少水平间距 */
.stats-row .col-md-4,
.stats-row .col-md-3 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

/* 向上移动 about 页视频 + 文本行（不影响上方标题位置） */
.content-lift {
  /* 使用 transform 上移，避免影响 document flow 中标题位置 */
  transform: translateY(-48px);
}

/* 强制关于页左侧文字区域的上下箭头垂直堆叠并美化 */
.intro-arrows {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  align-items: center;
  /* 保证定位在右侧，垂直居中（markup 已含 top-50 end-0 translate-middle-y） */
  right: 12px; /* 稍微内收一点 */
  z-index: 5;
}
.intro-arrows .btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  padding: 0;
  color: #fff;
  transition:
    background 0.18s ease,
    transform 0.12s ease;
}
.intro-arrows .btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* KEY FEATURES 样式 */
.detail-features {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.features-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.features-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
}

.features-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4rem 0;
}

.features-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.feature-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  color: white;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 3rem;
  color: #007bff;
  display: block;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.feature-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #007bff, transparent);
  position: relative;
}

.feature-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 1px;
  background: white;
}

.features-navigation {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.features-navigation i {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}

.features-navigation i:hover {
  color: #007bff;
}

/* 时间线按钮样式 */
.timeline-btn {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 1.5rem;
  padding: 8px 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: scale(1.1);
}

.timeline-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Header 产品图片样式 */
.header-product-image {
  position: absolute;
  top: 60%;
  left: 68%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 350px;
  max-height: 300px;
}

.header-product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Detail Hero 样式 - 匹配效果图 */
.detail-hero {
  background: #000;
  position: relative;
}

.detail-hero-container {
  /* background: linear-gradient(135deg, #2a2e35, #1f2228); */
  background:
radial-gradient(circle at 75% 35%, rgba(0,47,167,0.6), transparent 50%),
linear-gradient(#0b0f18, #0b0f18);
  border-radius: 20px;
  margin: 20px auto; /* 上下留间距 + 水平居中 */
  padding: 80px 40px 40px 40px;
  min-height: 500px;
  position: relative;
  width: calc(100% - 80px); /* 页面两侧各留 40px 空白 */
  max-width: 1400px; /* 防止超宽屏太宽 */
  box-sizing: border-box; /* 确保 padding 不影响总宽度 */
}

.detail-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.detail-hero-text {
  flex: 1;
  color: white;
}

.detail-hero-title {
  font-size: 4rem;
  font-weight: bold;
  color: #002fa7;
  margin: 0;
  line-height: 1;
}

.detail-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  margin: 10px 0 20px 0;
  line-height: 1.2;
}

.detail-hero-description {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 30px;
}

.detail-hero-input-group {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 25px;
  padding: 5px;
  width: 100%;
  max-width: 400px;
}

.detail-hero-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-size: 1rem;
  background: transparent;
  color: #333;
}

.detail-hero-input::placeholder {
  color: #999;
}

.detail-hero-submit-btn {
  background: #000;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.detail-hero-submit-btn:hover {
  background: #333;
  transform: scale(1.1);
}

.detail-hero-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero-product-img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.detail-hero-nav {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.detail-hero-nav:hover {
  color: #2d7dff;
}

.detail-hero-nav-left {
  left: -20px;
}

.detail-hero-nav-right {
  right: -20px;
}

.detail-hero-pagination {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.detail-hero-dot {
  display: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.detail-hero-dot.active {
  background: #2d7dff;
  border-color: #2d7dff;
}

.detail-hero-dot:hover {
  border-color: #2d7dff;
}
/* 箭头样式 */
.detail-features {
  position: relative;
}
.detail-product {
  width: 350px;
  height: 350px;
  overflow: hidden; /* 防止图片溢出 */
}

.detail-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 公共样式 */
.features-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  z-index: 10;
}

/* 左右箭头分开样式 */
.features-nav-left {
  left: 40px; /* 左边距离 */
}

.features-nav-right {
  right: 40px; /* 右边距离 */
}
/* 新闻页面的css样式 */
/* ========== 新闻页面整体样式 ========== */
.newspage-section {
  min-height: 100vh;
  background: url('assets/images/news/new_bg.webp') center/cover no-repeat fixed; /* 你可以换成对应图片 */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  padding: 80px 0;
}

/* 可选半透明遮罩，略微提升文字可读性 */
.newspage-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.newspage-section .container {
  position: relative;
  z-index: 1;
}

/* 标题样式 */
.newspage-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 2px;
}

/* ========== 新闻卡片样式 ========== */
.newspage-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.newspage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.newspage-card img.img-fluid {
  width: 100%;
  height: auto;
}

.newspage-body {
  padding: 15px;
}

.newspage-body p {
  color: #dcdcdc;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* 响应式优化 */
@media (max-width: 992px) {
  .newspage-section {
    padding: 60px 0;
  }

  .newspage-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .newspage-card img {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .newspage-section {
    padding: 50px 0;
  }
  .newspage-section h2 {
    font-size: 1.6rem;
  }
}

/* 自适应 */
/* index页面######################################## */
/* 让整个页面在小屏下可滚动*/
html,
body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* 视频背景自适应缩放（保持铺满但不拉伸） */
.hero-video,
.aboutf-bg-img,
.global-bg {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* hero在小屏下文字不要太大 */
@media (max-width: 992px) {
  .hero-content h4 {
    font-size: 2rem !important;
  }
  .hero-content p.lead {
    font-size: 1rem;
  }
  .hero-content .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}


/* global 区数字在中小屏自动两列排列 */
@media (max-width: 992px) {
  #global .stats-row .col-md-4,
  #global .stats-row .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  #global h2.display-2 {
    font-size: 2.2rem;
  }
}
@media (max-width: 991px) {
  #news .right-block {
    display: none !important;
  }

  #news .col-lg-5 {
    width: 100% !important;
    flex: none !important;
  }

  /* 卡片保持水平排列 */
  .news-card {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
  }

  /* 图片自适应宽度 */
  .news-card .news-thumb {
    width: 80px;
    height: 60px;
  }

  /* 图标仍保持原大小，垂直居中 */
  .news-card .ms-auto {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* 手机屏幕进一步优化，纵向堆叠 */
@media (max-width: 767px) {
  .news-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem;
  }

  .news-card .news-thumb {
    width: 100%;
    height: auto;
  }

  /* 图标在手机屏幕水平排列 */
  .news-card .ms-auto {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
}
/* footer 在小屏下五列变成两列 */
@media (max-width: 768px) {
  #footer .row.text-start > div.col-md {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  #footer .row.align-items-center {
    text-align: center;
  }
  #footer .col-md-4.text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }
}

/* 顶部导航栏在滚动或小屏时略微紧凑 */
@media (max-width: 992px) {
  .site-navbar {
    padding: 0.5rem 1rem;
  }
  .navbar-brand img {
    height: 40px;
  }
}

/* 防止 vh 高度在移动端计算错误（如 iPhone Safari） */
.section-fullscreen,
.vh-100,
.min-vh-100 {
  min-height: 100svh; /* 使用新视口单位 */
}

/* hotspot 点击区域扩大，移动端更友好 */
.hotspot a {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 992px) {
  .about .row {
    row-gap: 0; /* 大屏时对齐，不要上下间距 */
  }
}
/* product_detail页面 */
/* 平板（宽度 <= 992px） */
@media (max-width: 992px) {
  .features-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    max-width: 90%;
  }

  .detail-products {
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .arrow-btn {
    font-size: 2rem;
  }

  nav.navbar .navbar-brand img {
    height: 40px;
  }

  .detail-title {
    font-size: 1.5rem;
  }

  .features-title {
    font-size: 2rem;
  }
}

/* 手机（宽度 <= 768px） */
@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
    gap: 0.5rem;
  }

  .btn-contact {
    display: none;
  }

  header.hero {
    flex-direction: column;
    text-align: center;
  }

  .detail-hero-content {
    flex-direction: column;
    padding: 1rem;
  }

  .detail-hero-input-group {
    flex-direction: column;
  }

  .detail-hero-input {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .detail-products {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }

  .detail-products .detail-product {
    width: 45%;
  }

  .features-grid {
    flex-direction: column;
  }

  .feature-card {
    width: 100%;
  }

  .features-title {
    font-size: 1.8rem;
  }

  #footer {
    padding: 2rem 0;
  }

  #footer .row.text-start {
    flex-direction: column;
  }

  #footer .col-md {
    margin-bottom: 1rem;
  }

  #footer img {
    height: 35px;
  }
}

/* 小屏（宽度 <= 480px） */
@media (max-width: 480px) {
  .detail-title {
    font-size: 1.2rem;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.85rem;
  }

  .arrow-btn {
    font-size: 1.5rem;
  }

  .detail-products .detail-product {
    width: 100%;
  }

  nav.navbar .navbar-brand img {
    height: 30px;
  }

  .features-title {
    font-size: 1.5rem;
  }

  .detail-hero-description {
    font-size: 0.9rem;
  }
}
/* service页面########################################## */
/* 平板和小屏通用优化 */
@media (max-width: 1024px) {
  .after-sales {
    padding: 60px 0;
    background-position: center;
  }

  .after-sales-title {
    font-size: 18px;
    padding: 8px 20px;
  }

  .info-card {
    padding: 15px;
  }

  .service-title {
    font-size: 36px;
    left: 30px;
    top: 60px;
  }
}

/* 手机端优化 */
@media (max-width: 768px) {
  .after-sales {
    height: auto; /* 不要固定全屏高度 */
    padding: 40px 0;
  }

  .info-card {
    margin-bottom: 20px;
  }

  /* 调整 service 部分 */
  .section-fullscreen {
    height: auto;
    padding: 80px 0;
  }

  .service-item {
    position: static; /* 不再绝对定位，改为堆叠排列 */
    margin: 20px auto;
    max-width: 240px;
  }

  .service-item i {
    font-size: 30px;
  }

  .service-item p {
    font-size: 1.2rem;
  }

  .service-title {
    position: static;
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
  }

  /* 页脚 */
  #footer {
    height: auto;
    padding: 60px 0;
  }
  #footer .row.text-start {
    text-align: center;
  }
}
/* join页面########################################## */
.bg-dark-deep {
  background-color: #0b0c10;
}

/* 职位卡片 */
.job-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.job-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 123, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* 列表修饰 */
.custom-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.custom-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #0dcaf0;
}

/* 徽章与文字 */
.bg-primary-soft {
  background: rgba(13, 110, 253, 0.15);
}

.ls-1 {
  letter-spacing: 1px;
}

.text-secondary {
  color: #a9a9a9 !important;
}
.text-secondary-p {
  color: #202020 !important;
}
.hero-small {
  min-height: 60vh;
  max-height: 480px;
}

@media (max-width: 768px) {
  .hero-small {
    min-height: 32vh;
  }
}
/* Cookie */
.cookie-hero {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1100px;
  z-index: 9999;
}

.cookie-hero.hidden {
  display: none;
}

.cookie-hero-inner {
  background: rgba(0, 0, 0, 0.75); /* 和 hero overlay 一致 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.cookie-hero-text h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cookie-hero-text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

.cookie-hero-text a {
  color: #0d6efd; /* Bootstrap primary 蓝 */
  text-decoration: underline;
}

.cookie-hero-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .cookie-hero-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
/* search  */
#searchModal .modal-content {
  border-radius: 12px; /* 更圆润的边角 */
}

/* 1. 搜索输入框美化 */
.search-input-wrapper input {
  font-size: 1.1rem;
  background-color: #f5f5f7 !important; /* 类似 Apple 的浅灰背景 */
  transition: all 0.3s ease;
}
#search-results-container {
  /* 1. 设置最大高度 */
  max-height: 450px; /* 你可以根据需要调整这个数字，比如 60vh */

  /* 2. 内容超出时开启垂直滚动 */
  overflow-y: auto;

  /* 3. 增加一点右内边距，防止文字紧贴滚动条 */
  padding-right: 10px;
}
.search-input-wrapper input:focus {
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15) !important; /* 聚焦时的柔和光晕 */
}

/* 2. 搜索结果条目美化 */
.search-result-item {
  display: block;
  padding: 20px;
  border-radius: 8px; /* 结果卡片圆角 */
  border: 1px solid transparent; /* 预留边框位置 */
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.search-result-item:hover {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  transform: translateY(-2px); /* 悬停轻微上浮 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 悬停增加阴影 */
  text-decoration: none;
  color: #000;
}

/* 分类标签 (红色) */
.search-category {
  font-size: 0.7rem;
  font-weight: 800;
  color: #393939; /* 品牌红 */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: inline-block;
  background: rgba(220, 53, 69, 0.1); /* 红色半透明背景 */
  padding: 2px 8px;
  border-radius: 4px;
}

/* 标题样式 */
.search-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}

/* 描述文字 */
.search-desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 修改 */
/* 统一菜单标题高度 */
.menu-title-fixed {
  /* 1. 设置最小高度：确保足够容纳两行文字 (根据你的字号，通常 3.5rem 到 4rem 足够) */
  min-height: 3.5rem;

  /* 2. 使用 Flex 布局 */
  display: flex;

  /* 3. 底部对齐：让单行文字沉到底部，贴近线条，这样视觉更整齐 */
  align-items: flex-end;

  /* 保持原有的 Bootstrap 样式逻辑 */
  line-height: 1.2;
}

/* 仅在电脑端（宽屏）生效，手机端本来就是垂直排列，不需要对齐 */
@media (max-width: 991px) {
  .menu-title-fixed {
    min-height: auto;
    align-items: flex-start;
  }
}
/* 3. 箭头动画：平时隐藏，悬停时滑入 */
.arrow-icon {
  transition: all 0.3s ease;
  transform: translateX(-10px); /* 初始位置靠左一点 */
  color: #0d6efd;
  font-size: 1.2rem;
}

.search-result-item:hover .arrow-icon {
  opacity: 1 !important;
  transform: translateX(0); /* 恢复位置 */
}
/* 滚动条整体宽度 */
#search-results-container::-webkit-scrollbar {
  width: 6px;
}

/* 滚动条轨道 (背景) */
#search-results-container::-webkit-scrollbar-track {
  background: transparent;
}

/* 滚动条滑块 */
#search-results-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2); /* 半透明灰色 */
  border-radius: 4px; /* 圆角 */
}

/* 鼠标悬停在滚动条上时加深颜色 */
#search-results-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
/* 1. 让图标和文字悬停时变红 */
.app-item:hover span {
  color: #000000;
  font-weight: bold;
}

/* 2. 图片悬停微动效果  */
.app-item:hover img {
  transform: translateY(-3px);
  transition: transform 0.3s ease;
}

/* 3. 确保文字默认颜色好看 */
.app-item span {
  color: #555;
  font-size: 14px;
  margin-top: 10px;
  transition: color 0.3s ease;
}
/* 修改颜色 */
.nav_text_color {
  color: #acacac;
}

/* 4. 修正移动端显示 */
@media (max-width: 991px) {
  .dropdown-menu.w-100 {
    width: auto !important; /* 手机上不要全宽，否则很难看 */
  }
}
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
/* 强制居中，不许 JS 插手 */
.mega-menu-center {
  /* 强制固定位置 */
  position: absolute !important;
  top: 100% !important; /* 紧贴导航栏底部 */
  left: 50% !important;
  transform: translateX(-50%) !important;

  /* 尺寸和外观 */
  width: 1000px !important;
  border-top: 3px solid #0d0c0c !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;

  /* 确保层级最高，盖住下面的轮播图或内容 */
  z-index: 1050;
}
.mega-menu-center::before {
  content: '';
  display: block;
  position: absolute;

  /* 桥梁的位置：位于菜单正上方 */
  bottom: 100%;
  left: 0;
  width: 100%;

  /* 桥梁的高度：20px 足够填满任何缝隙 */
  height: 30px;

  /* 颜色：调试时可以用 red 看看，正式用 transparent (透明) */
  background: transparent;
}

@media (max-width: 991px) {
  .mega-menu-center {
    width: 90% !important; /* 手机上宽度改为 90% */
    left: 5% !important; /* 居中一点 */
    transform: none !important;
  }
}
/* 产品列表链接悬停效果 */
.hover-link {
  transition: all 0.2s ease;
  display: block; /* 让整行都能点 */
}

.hover-link:hover {
  color: #3f3f3f !important; /* 变红 */
  transform: translateX(5px); /* 轻轻向右动一下，很有高级感 */
}

#functional-features .feature-icon {
  display: none !important;
}

#mainNav .dropdown-menu .list-unstyled a {
  /* 字体大小 */
  font-size: 12px !important;

  /* 行高 */
  line-height: 1.6 !important;
}

#mainNav .dropdown-menu .list-unstyled a.text-secondary-p {
  font-size: 14px !important; /* 这部分可以稍微大一点点，或者保持一致 */
}

/* 修补 */
.detail-hero-nav-left,
.detail-hero-nav-right{
    display: none;
}
/* 3.18修复 */
/* 解决中等屏幕挤压 */
@media (min-width: 992px) and (max-width: 1199px) {
  #mainNav .navbar-nav {
    gap: 0.5rem !important; 
  }
  
  /* 稍微缩小一点字体和左右内边距 */
  #mainNav .nav-link {
    font-size: 0.95rem; 
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .mega-menu-center {
    width: 90vw !important; 
  }
}

@media (min-width: 1200px) {
  .mega-menu-center {
    width: 1000px !important;
    max-width: 90vw; 
  }
}
.modal {
  z-index: 10005 !important; 
}
.modal-backdrop {
  z-index: 10004 !important;
}
@media (max-width: 991px) {
  #mainNav {
    background-color: #2b2b2b !important; 
    border-radius: 16px !important; 
    padding: 1.5rem 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
    margin-top: 10px;
    max-height: 80vh; 
    overflow-y: auto; 
  }

  /* 2. 顶级菜单：文字变白、强制居中 */
  #mainNav .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center !important; 
    width: 100%;
    gap: 8px;
  }
  
  #site-navbar .navbar-nav .nav-link {
    color: #ffffff !important; 
    font-weight: 600;
    text-align: center;
    width: 100%;
    padding: 12px 0;
    text-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
  }

  
  .mega-menu-center {
    position: static !important; 
    width: 100% !important;
    transform: none !important;
    background-color: #383838 !important; 
    border-radius: 12px !important;
    border: none !important;
    box-shadow: none !important;
    padding: 15px !important;
    margin-top: 10px !important;
  }

  /* 抹掉 bg-light 的白底 */
  #mainNav .bg-light {
    background-color: transparent !important;
  }
  
  #mainNav .bg-light.rounded-circle {
    background-color: rgba(255, 255, 255, 0.1) !important;
  }
  
  #mainNav h6,
  #mainNav .text-dark {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  }
  
  #mainNav .text-secondary,
  #mainNav .text-muted,
  #mainNav a:not(.btn),
  #mainNav span {
    color: #cccccc !important;
    text-align: center !important;
  }

  .mega-menu-center .btn-close {
    display: none !important;
  }
  .mega-menu-center .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;
  }
  .mega-menu-center [class*="col-"] {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #mainNav .d-lg-none,
  #mainNav .ms-auto {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    width: 100%;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  #mainNav .btn-nav-light {
    background-color: #ffffff !important;
    color: #000000 !important;
    width: 80%;
  }
  #site-navbar .navbar-nav .nav-link {
    border-bottom: none !important; 
  }

  #mainNav h6,
  #mainNav .text-dark,
  .mega-menu-center h6 {
    border-bottom: none !important; 
  }

  #mainNav .d-lg-none,
  #mainNav .ms-auto {
    border-top: none !important; 
  }
}
/* 后端修复 */
/* 🚨 找到或者添加这个类，精准打击！ */
.detail-product .img-fluid {
    /* 1. 防御核心：绝对不允许图片超出它的物理父盒子（那個 A 标签标签）的宽度！ */
    max-width: 100% !important; 
    
    /* 2. 防御核心：绝对不允许图片超出我们规定的最大高度！不让它高矮胖瘦不一。 */
    max-height: 250px !important; /* 这里可以根据你页面的美观度改成 200px 或 300px，它决定了推荐位的高度 */
    
    /* 3. 【核心魔法】：保持原有比例缩放，完整显示在盒子里，绝不裁剪！ */
    /* contain: 只要把图片完整塞进盒子里，哪怕两边有留白也没关系。保证用户能看到全貌。
       cover: 如果你希望图片必须填满整个盒子（哪怕切掉一点边缘），就用 cover。
       既然你说“没显示全”，我强烈建议你用 contain，保证产品全貌可见！
    */
    object-fit: contain !important;  
    
    /* 4. 居中显示 */
    display: block;
    margin: 0 auto;
}

/* 为了好看，给包裹图的 A 标签也加个基础样式，防止图片悬空 */
.detail-product .img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    /* 这里如果有个淡淡的边框，效果更好，方便调试 */
    /* border: 1px solid #eee;  */
}