.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 48px;
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0 !important;
  width: 100%;
  transform-origin: 0 0;
  box-sizing: border-box;
  background-color: transparent;
  transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar .lang-switch {
  color: #ffffff;            /* 默认白色文字 */
  transition: color 0.3s ease; /* 关键：把过渡动画写在默认状态，这样来回都有动画 */
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar.scrolled .lang-switch {
  color: #023894;            /* 滚动后变成深色 */
}
.navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 48px;
}
.navbar.scrolled .nav-left .hamburger span {
  background-color: #023894;
}
.navbar.scrolled .nav-right {
  color: #023894;
}
.navbar.scrolled .nav-right .svg-icon {
  stroke: #023894;
}
.navbar .nav-left .hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.navbar .nav-left .hamburger span {
  display: block;
  height: 3px;
  background-color: #ffffff;
  transition: width 0.3s, background-color 0.3s;
  width: 100%;
}
.navbar .nav-left .hamburger:hover span:nth-child(1) {
  width: 60%;
}
.navbar .nav-left .hamburger:hover span:nth-child(2) {
  width: 100%;
}
.navbar .nav-left .hamburger:hover span:nth-child(3) {
  width: 60%;
}
.navbar .nav-center .logo {
  width: 95px;
  height: 40px;
}
.navbar .nav-center .logo img {
  width: 100%;
  height: 100%;
}
.navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: #ffffff;
  transition: color 0.3s ease;
}
.navbar .nav-right .icon-search,
.navbar .nav-right .lang-switch {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.navbar .nav-right .icon-search:hover,
.navbar .nav-right .lang-switch:hover {
  opacity: 1;
}
.navbar .nav-right .svg-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999999 !important;
  pointer-events: none;
  display: none;
}
.search-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
}
.search-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.search-container {
  position: relative;
  width: 600px;
  max-width: 90%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 8px;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  padding: 8px 0;
}
.search-input::placeholder {
  color: #999;
}
.search-submit {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}
.search-submit svg {
  width: 22px;
  height: 22px;
  transition: color 0.3s;
}
.search-submit:hover svg {
  color: #000;
}
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999999 !important;
  pointer-events: none;
  display: none;
}
.sidebar-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
}
.sidebar-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 430px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  padding: 30px 40px 50px;
  box-sizing: border-box;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}
.sidebar-close {
  cursor: pointer;
  position: absolute;
  top: 30px;
  left: 30px;
  color: #333;
  transition: transform 0.3s;
}
.sidebar-close:hover {
  transform: rotate(90deg);
}
.sidebar-logo {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 150px;
  display: flex;
  justify-content: center;
}
.sidebar-logo img {
  width: 102px;
  height: 43px;
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.sidebar-nav li {
  margin-bottom: 70px;
}
.sidebar-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #050505;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.sidebar-nav a .nav-arrow {
  display: inline-flex;
  transform: rotate(45deg);
  transition: transform 0.4s ease;
}
.sidebar-nav a:hover {
  color: #0056a8;
}
.sidebar-nav a:hover .nav-arrow {
  transform: rotate(-45deg);
}
.nav-text {
  display: block;
  text-align: left;
  width: 300px;
  box-sizing: border-box;
  padding-left: 113px;
}
.nav-text:hover {
  font-weight: bold;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
}
.sidebar-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.social-item-wrapper {
  position: relative;
}
.social-item-wrapper .social-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  padding: 5px;
  transition: transform 0.2s;
}
.social-item-wrapper .social-trigger img {
  width: 20px;
  height: 20px;
}
.social-item-wrapper .social-trigger:hover {
  transform: translateY(-2px);
}
.social-item-wrapper .sidebar-qr-box {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 90px;
  height: 90px;
  background: #fff;
  padding: 5px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}
.social-item-wrapper .sidebar-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.social-item-wrapper:hover .sidebar-qr-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* ==========================================
   产品中心首屏样式
   ========================================== */
.product-hero-section {
  position: relative;
  width: 100%;
  height: 101vh;
  /* 撑满屏幕可视高度 */
  overflow: hidden;
  background-color: #d8cbb6;
  /* 兜底的大地色背景 */
}
/* 1. 背景图及入场轻微缩放效果 */
.product-hero-section .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  /* 初始放大 */
  transition: transform 2.5s cubic-bezier(0.21, 1.11, 0.81, 0.99);
  /* 配合 JS 触发缩小 */
}
.product-hero-section.is-loaded .hero-bg {
  transform: scale(1);
  /* 恢复原比例 */
}
/* 2. 左侧文字内容排版 */
.product-hero-section .hero-content {
  position: absolute;
  top: 27%;
  left: 12%;
  /* 根据图片排版偏左 */
  color: #ffffff;
  z-index: 2;
}
.product-hero-section .hero-title {
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.product-hero-section .hero-desc {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 1px;
}
/* 3. 底部“继续探索”排版 */
.product-hero-section .explore-more {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  cursor: pointer;
  z-index: 2;
}
.product-hero-section .explore-text {
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  opacity: 0.9;
}
/* 4. 核心功能：箭头图标上下浮动动画 */
.product-hero-section .explore-icon {
  width: 32px;
  height: 50px;
  /* 调用下方定义的 floatUpDown 动画，2秒执行一次，无限循环(infinite) */
  animation: floatUpDown 2s ease-in-out infinite;
}
.product-hero-section .explore-icon svg {
  width: 100%;
  height: 100%;
}
/* 上下浮动关键帧 */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
  /* 向下移动 12px */
  100% {
    transform: translateY(0);
  }
}
/* 入场动画初始隐藏状态 (交由 JS 控制浮现) */
.anim-item {
  opacity: 0;
  transform: translateY(30px);
}
/* ==========================================
   水飞蓟素功效屏 - 完整样式 (包含尺寸精校与拐角弧度)
   ========================================== */
.efficacy-section {
  background-color: #ffffff;
  padding: 120px 0;
  width: 100%;
  padding-top: 87px;
  padding-bottom: 87px;
  /*overflow: hidden;*/
}
.efficacy-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
/* 顶部标题 */
.efficacy-title {
  text-align: center;
  font-weight: 400;
  font-size: 36px;
  color: #1a1a1a;
  margin-bottom: 230px;
}
/* 核心内容区：相对定位，撑开高度以容纳 772px 的图片 */
.efficacy-content {
  position: relative;
  width: 100%;
  height: 820px;
}
/* ================= 核心：植物图片 ================= */
.center-plant {
  position: absolute;
  /* 微调重心：花头向右上，茎叶向左下，以此参数为基准对齐节点 */
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.center-plant img {
  width: 510px;
  height: 772px;
  display: block;
  object-fit: contain;
}
/* ================= 左侧信息卡片 ================= */
.source-box {
  position: absolute;
  top: -104px;
  left: -126px;
  width: 603px;
  background: #ffffff;
  border-radius: 0px 0px 30px 0px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  z-index: 10;
}
.source-box .box-header {
  background-color: #004489;
  color: #ffffff;
  font-size: 28px;
  height: 28px;
  padding: 30px 0;
  padding-left: 50px;
  border-radius: 60px 0px 0px 0px;
}
.source-box .box-body {
  padding: 50px;
  font-size: 16px;
  color: #707070;
  line-height: 1.8;
}
/* ================= 功效列表通用排版 ================= */
.feat-item {
  position: absolute;
  display: flex;
  align-items: flex-start;
  width: 520px;
  z-index: 10;
}
.feat-num {
  font-size: 82px;
  font-family: DIN, Arial, sans-serif;
  color: #333333;
  line-height: 0.9;
  margin-right: 20px;
}
.feat-text h3 {
  font-size: 32px;
  color: #333333;
  margin-bottom: 8px;
  font-weight: 400 !important;
}
.feat-text p {
  font-size: 16px;
  color: #707070;
  line-height: 1.6;
}
/* 虚线基类 */
.dotted-line {
  position: absolute;
  border-color: #333333;
  border-style: dotted;
  border-width: 0;
  z-index: -1;
}
/* 虚线末端的节点：里面是蓝圈，外面是白圈 */
.dotted-line::after {
  content: '';
  position: absolute;
  box-sizing: content-box;
  width: 18px;
  /* 里面的蓝圈大小 */
  height: 18px;
  background-color: #004489;
  /* 里面蓝色 */
  border: 6px solid #ffffff;
  /* 外边框纯白色 */
  border-radius: 50%;
  /* 👇 强烈建议加上这行微弱的阴影 */
  /* 因为网页背景也是白色的，加一点点投影能让“白圈”产生立体感，完美截断虚线 */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}
/* ================= 6个节点的精确定位与虚线轨迹 ================= */
/* Item 1: 保护肝脏 (右上) - 带有圆滑拐角 */
.feat-1 {
  top: -29px;
  right: -50px;
}
.feat-1 .dotted-line {
  top: 23px;
  right: 102%;
  width: 203px;
  height: 60px;
  border-top-width: 4px;
  border-left-width: 4px;
  border-top-left-radius: 20px;
  /* 添加平滑拐角 */
}
.feat-1 .dotted-line::after {
  bottom: -26px;
  left: -16px;
}
/* Item 2: 抗氧化 (右中) - 纯直线无拐角 */
.feat-2 {
  top: 183px;
  right: -218px;
}
.feat-2 .dotted-line {
  top: 39px;
  right: 104%;
  width: 160px;
  height: 2px;
  border-top-width: 4px;
}
.feat-2 .dotted-line::after {
  top: -16px;
  left: -25px;
}
/* Item 3: 修复细胞 (左中) - 带有圆滑拐角 */
.feat-3 {
  top: 389px;
  left: -105px;
}
.feat-3 .dotted-line {
  bottom: 105%;
  left: 18px;
  width: 493px;
  height: 65px;
  border-left-width: 4px;
  border-top-width: 4px;
  border-top-left-radius: 20px;
  /* 添加平滑拐角 */
}
.feat-3 .dotted-line::after {
  top: -17px;
  right: -24px;
}
/* Item 4: 天然产品 (右下) - 带有圆滑拐角 */
.feat-4 {
  top: 545px;
  right: -115px;
}
.feat-4 .dotted-line {
  bottom: 53%;
  left: -144px;
  width: 122px;
  height: 127px;
  border-bottom-width: 4px;
  border-left-width: 4px;
  border-bottom-left-radius: 20px;
  /* 添加平滑拐角 */
}
.feat-4 .dotted-line::after {
  top: -26px;
  left: -17px;
}
/* Item 5: 延缓衰老 (左下) - 纯直线无拐角 */
.feat-5 {
  top: 588px;
  left: -129px;
}
.feat-5 .dotted-line {
  top: 21px;
  left: 42%;
  width: 291px;
  height: 2px;
  border-top-width: 4px;
}
.feat-5 .dotted-line::after {
  top: -17px;
  right: -26px;
}
/* Item 6: 用途广泛 (最下方) - 纯直线无拐角 */
.feat-6 {
  top: 720px;
  right: 82px;
}
.feat-6 .dotted-line {
  top: 31px;
  right: 105%;
  width: 170px;
  height: 2px;
  border-top-width: 4px;
}
.feat-6 .dotted-line::after {
  top: -17px;
  left: -26px;
}
/* ================= 动画入场初始状态 ================= */
.anim-target {
  opacity: 0;
  will-change: transform, opacity;
}
/* 标题、文字、卡片默认下移 30px */
.efficacy-title,
.source-box,
.feat-item {
  transform: translateY(30px);
}
/* 中心植物默认缩放 (注意这里的位移要包含原有的定中 translate) */
.center-plant.anim-target {
  transform: translate(-50%, -50%) scale(0.85);
}
/* ==========================================
   产品展示与筛选区块 样式
   ========================================== */
.product-catalog-section {
  background-color: #ffffff;
  padding: 80px 0 120px 0;
}
.catalog-container {
  max-width: 1660px;
  /* 控制整体最大宽度 */
  margin: 0 auto;
  padding: 0 40px;
}
.product-hero-section{
  margin-bottom: 250px;
}
/* ================= 1. 顶部 Tab ================= */
.catalog-tabs {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 80px;
}
.catalog-tabs .tab-btn {
  width: 240px;
  height: 80px;
  background-color: #f1f1f1;
  color: #050505;
  border: none;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  /*box-shadow: 0px 0px 20px 0px rgba(2, 56, 147, 0.1);*/
}
/* 移除相邻按钮的双重边框 */
.catalog-tabs .tab-btn:first-child {
  border-right: none;
}
.catalog-tabs .tab-btn.active,
.catalog-tabs .tab-btn:hover {
  background: url(../images/ab.png) no-repeat;
  background-size: 100% 100%;
  color: #ffffff;
}
/* ================= 2. 布局面板 ================= */
.tab-pane {
  display: none;
  /* 默认隐藏 */
  animation: fadeIn 0.5s ease;
}
.tab-pane.active {
  display: block;
  /* 激活时显示 */
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.layout-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  justify-content: space-between;
}
/* ================= 3. 左侧侧边栏 ================= */
.sidebar {
  width: 350px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  /* 滚动时吸顶悬浮 */
}
.sidebar-group {
  /*margin-bottom: 60px;*/
  padding-top: 46px;
}
.sidebar-group:nth-child(2){
  padding-top:15px;
}
.group-title {
  font-size: 22px;
  font-weight: bold;
  color: #050505;
  margin-bottom: 20px;
}
.sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sub-menu li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #023894;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.3s;
}
.sub-menu li svg {
  width: 14px;
  height: 14px;
  margin-right: 10px;
  color: transparent;
  /* 默认隐藏对勾 */
  border: 1px solid #023894;
  border-radius: 50%;
  padding: 2px;
  transition: all 0.3s;
}
.sub-menu li:hover {
  color: #023894;
}
/* 侧边栏激活状态 */
.sub-menu li.active {
  color: #023894;
  font-weight: bold;
}
.sub-menu li.active svg {
  color: #023894;
  border-color: #023894;
}
/* ================= 4. 右侧商品网格 ================= */
.product-grid {
  width: 1310px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #f0f0f0;
  border-left: 1px solid #f0f0f0;
}
.product-grid .pro-card {
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  /* 务必确这里没有写四个方向的 border，如果有请删掉 */
  /* border: 1px solid #f0f0f0; ❌ 删掉这句 */
}
.pro-card {
  width: 656px;
  display: flex;
  flex-direction: column;
  padding-bottom: 90px;
  position: relative;
}
.pro-image {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding-top: 100px;
}
.pro-image img {
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pro-card:hover .pro-image img {
  transform: scale(1.05);
}
.pro-info {
  padding: 0 70px;
  padding-top: 50px;
}
.pro-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 30px;
}
.pro-tags {
  display: flex;
  border: 1px solid #004489;
  margin-bottom: 20px;
  width: fit-content;
  border-radius: 15px;
}
.pro-tags .tag {
  font-size: 16px;
  color: #fff;
  width: 85px;
  text-align: center;
  line-height: 28px;
  height: 28px;
  background: #004489;
  border-radius: 14px 0px 14px 14px;
}
.pro-content {
  font-size: 16px;
  font-weight: 400;
  color: #050505;
  padding-bottom: 40px;
  line-height: 24px;
}
.pro-tags .tag1 {
  font-size: 16px;
  padding: 0 10px;
  line-height: 28px;
  color: #004489;
}
.pro-specs p {
  font-size: 16px;
  color: #666666;
  line-height: 2;
  margin: 0;
  display: flex;
  align-items: center;
}
.pro-specs p span {
  color: #004489;
  display: block;
  font-weight: 700;
  font-size: 16px;
  width: 80px;
  white-space: pre

}
/* 右下角进入箭头按钮 */
.pro-link-btn {
  position: absolute;
  bottom: 90px;
  right: 70px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #C5C8CD;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: transparent;
}
.pro-link-btn img {
  position: absolute;
  width: 16px;
  /* 如果你的图片切图比较大，可以在这里控制缩放 */
  height: 16px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.pro-link-btn .icon-normal {
  opacity: 1;
}
.pro-link-btn .icon-hover {
  opacity: 0;
}
.pro-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pro-link-btn svg {
  width: 18px;
  height: 18px;
}
.pro-card:hover .pro-link-btn {
  background-color: #004489;
  border-color: #004489;
  color: #ffffff;
}
.pro-card:hover .pro-link-btn .icon-normal {
  opacity: 0;
  /* 灰图消失 */
}
.pro-card:hover .pro-link-btn .icon-hover {
  opacity: 1;
  /* 白图显现 */
}
/* ================= 5. 入场动画初始类 ================= */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}
.anim-slide-right {
  opacity: 0;
  transform: translateX(-30px);
  will-change: opacity, transform;
}
/* ==========================================
   推荐产品展示区 样式
   ========================================== */
.recommend-section {
  background-color: #ffffff;
  padding: 100px 0;
  padding-top: 0;
  overflow: hidden;
}
.recommend-container {
  max-width: 1310px;
  margin: 0 auto;
  padding-left: 480px;
}
/* 头部排版：居中对齐 */
.recommend-header {
  display: flex;
  align-items: center;
  gap: 30px;
}
.recommend-title {
  font-size: 32px;
  font-weight: bold;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin: 0;
}
/* “了解更多”胶囊按钮 */
.btn-learn-more {
  display: flex;
  align-items: center;
  border: 1px solid #004489;
  border-radius: 30px;
  padding: 4px 4px 4px 20px;
  /* 右侧留白给圆形图标 */
  text-decoration: none;
  color: #333333;
  font-size: 15px;
  transition: all 0.3s ease;
}
.btn-learn-more:hover {
  background-color: #f5f8fc;
  box-shadow: 0 4px 12px rgba(0, 68, 137, 0.15);
}
.btn-learn-more .icon-circle {
  width: 32px;
  height: 32px;
  background-color: #004489;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-left: 15px;
  transition: transform 0.3s ease;
}
.btn-learn-more:hover .icon-circle {
  transform: rotate(45deg);
  /* 悬浮时箭头俏皮旋转 */
}
.btn-learn-more .icon-circle svg {
  width: 16px;
  height: 16px;
}
/* 3 列产品网格 */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.rec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease;
  cursor: pointer;
}
/* 1. 卡片整体上浮（加上 !important 强制覆盖可能残留的内联样式） */
.rec-card:hover {
  transform: translateY(-10px) !important;
}
/* 2. 图片容器与图片自身的过渡 */
.rec-image {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}
.rec-image img {
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  /* 👈 新增图片的过渡动画 */
}
/* 3. 悬浮时，图片轻微放大，增强呼吸感 */
.rec-card:hover .rec-image img {
  transform: scale(1.06);
}
/* 产品标题 */
.rec-title {
  font-size: 24px;
  font-weight: 400 !important;
  color: #050505;
  margin-bottom: 16px;
  text-align: center;
}
/* 蓝白拼接胶囊标签 (完美还原图片细节) */
.split-tag {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #004489;
  border-radius: 20px;
  overflow: hidden;
  /* 保证内部元素不会溢出圆角 */
  font-size: 13px;
}
.split-tag .tag-left {
  background-color: #004489;
  color: #ffffff;
  padding: 4px 14px;
  font-weight: 500;
  border-radius: 14px 0px 14px 14px;
}
.split-tag .tag-right {
  background-color: #ffffff;
  color: #004489;
  padding: 4px 16px;
}
/* 动画初始状态 */
.anim-rec-up {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}
/* 响应式调整 */
@media (max-width: 992px) {
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .recommend-grid {
    grid-template-columns: 1fr;
  }
  .recommend-header {
    flex-direction: column;
    gap: 15px;
  }
}
/* ==========================================
   内页专属导航栏样式 (强制白底蓝字，不透明)
   ========================================== */
.navbar.navbar-inner {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  padding: 20px 48px !important;
}
.navbar.navbar-inner .nav-left .hamburger span {
  background-color: #004489 !important;
  /* 沃德蓝 */
}
.navbar.navbar-inner .nav-right {
  color: #004489 !important;
}
.navbar.navbar-inner .nav-right .svg-icon {
  stroke: #004489 !important;
}
.footer-section {
  position: relative;
  width: 100%;
  height: 670px;
  background: url(../images/bgf.png) no-repeat center / cover;
  color: #fff;
  font-family: sans-serif;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
}
.footer-section .footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1660px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 180px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-section .footer-left {
  width: 35%;
  min-width: 300px;
}
.footer-section .contact-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 70px;
}
.footer-section .contact-phone img {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}
.footer-section .contact-email {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-section .contact-address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.footer-section .qr-social-area {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.footer-section .social-icons {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 20px;
  height: 20px;
}
.footer-section .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  width: 20px;
  height: 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-section .social-icons a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
.footer-section .social-icons a img {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-section .social-wrapper {
  position: relative;
}
.footer-section .social-wrapper > a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.footer-section .social-wrapper .qr-box {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 90px;
  height: 90px;
  background: #ffffff;
  /*padding: 5px;*/
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 100;
}
.footer-section .social-wrapper .qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-section .social-wrapper:hover .qr-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.footer-section .footer-right {
  display: flex;
  flex-direction: column;
  width: 55%;
  min-width: 500px;
}
.footer-section .footer-logo {
  margin-bottom: 82px;
}
.footer-section .footer-logo img {
  width: 96px;
  height: 40px;
  object-fit: contain;
}
.footer-section .footer-nav {
  display: flex;
  gap: 50px;
  margin-bottom: 170px;
  justify-content: space-between;
}
.footer-section .footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
.footer-section .footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s;
}
.footer-section .footer-nav a:hover::after {
  width: 100%;
}
.footer-section .footer-search {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 8px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.footer-section .footer-search input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  width: 100%;
  outline: none;
}
.footer-section .footer-search input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.footer-section .footer-search button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.footer-section .footer-search button:hover {
  transform: scale(1.1);
}
.footer-section .footer-search button svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}
.footer-section .footer-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  bottom: 0;
}
.footer-section .legal-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-section .legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-section .legal-links a:hover {
  color: #fff;
}
