/* 全局基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
  }
  
  /* 移除容器默认间距 */
  .container-fluid {
    padding: 0 15px !important;
  }
  
  /* 移除行和列的默认间距 */
  .row {
    margin: 0 !important;
  }
  .col-auto {
    padding: 0 !important;
  }
  
  /* 头部区域基础样式 */
  .ltn__header-middle-area {
    padding: 15px 0;
    background: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  /* LOGO样式优化 */
  .site-logo img {
    height: 30px; /* 固定高度防止跳动 */
    width: auto;
    transition: transform 0.3s ease;
  }
  .site-logo a:hover img {
    transform: scale(1.05); /* 悬停微放大效果 */
  }
  
  /* 导航菜单样式 */
  .ltn__main-menu ul {
    display: flex;
    gap: 25px; /* 菜单项间距 */
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ltn__main-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
  }
  
  /* 菜单项悬停下划线效果 */
  .ltn__main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: width 0.3s ease;
  }
  .ltn__main-menu a:hover::after {
    width: 100%;
  }
  
  /* 移动端适配 */
  @media (max-width: 1199px) {
    /* 移动端布局改为垂直方向 */
    .row {
      flex-direction: column;
      align-items: flex-start !important;
    }
    
    /* LOGO下方添加间距 */
    .col-auto {
      margin-bottom: 15px;
    }
    
    /* 隐藏桌面端菜单 */
    .d-none.d-xl-block {
      display: none !important;
    }
    
    /* 移动端菜单按钮样式 */
    .mobile-menu-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: white;
      border: none;
      padding: 8px;
      cursor: pointer;
    }
    
    /* 移动端菜单面板 */
    .mobile-menu {
      display: none;
      width: 100%;
      background: #fff;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
    }
    
    /* 移动端菜单项样式 */
    .mobile-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .mobile-menu li {
      padding: 12px 0;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu a {
      color: #333;
      text-decoration: none;
      font-size: 16px;
      display: block;
      padding: 5px 0;
    }
  }
  
  /* 桌面端样式 */
  @media (min-width: 1200px) {
    /* 隐藏移动端菜单按钮 */
    .d-xl-none {
      display: none !important;
    }
    
    /* 菜单右对齐 */
    .ms-auto {
      margin-left: auto !important;
    }
    
    /* 菜单项间距微调 */
    .ltn__main-menu ul {
      gap: 35px;
    }
  }
  
  /* 动画效果 */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* 移动端菜单显示动画 */
  .mobile-menu.show {
    display: block;
    animation: fadeIn 0.3s ease forwards;
  }


  
  /* 只在移动端媒体查询里定义样式 */
  @media (max-width: 1199px) {
    .mobile-menu {
      /* 这里写移动端菜单的样式，不用再写 display:none; 因为全局已经隐藏 */
      width: 100%;
      background: #fff;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
    }
    
    /* 显示时的动画 */
    .mobile-menu.show {
      display: block;
      animation: fadeIn 0.3s ease forwards;
    }
  }

  /* 1. 移除顶部区域的下边框（核心：大概率是这里的边框导致的线） */
.ltn__header-top-area {
  border-bottom: none !important; /* 强制清除下边框 */

}

.shop-details-info h1 {
  font-size: 50px; /* 原始默认可能是24px，按需放大，数值越大字体越大 */
  /* 可选：调整行高，避免字体太大导致换行拥挤 */
  line-height: 1.5; 
}

.shop-details-info h2 {
  font-size: 36px; /* 原始默认可能是24px，按需放大，数值越大字体越大 */
  /* 可选：调整行高，避免字体太大导致换行拥挤 */
  line-height: 1.2; 
}

/* 保修信息专属样式：只作用于加了 warranty-badge 类的元素 */
.warranty-badge {
  /* 字体大小：默认badge可能是12-13px，这里调整为14-16px（按需修改） */
  font-size: 20px; 
  /* 行高：避免字体变大后文字上下拥挤，1.4左右比较舒适 */
  line-height: 1.5; 
  /* 内边距：上下左右留足空间，和字体大小匹配（px-3=左右3px，py-2=上下2px，可微调） */
  padding: 12px 0px; /* 等价于 py-2 px-3，数值越大内边距越宽 */
  /* 可选：字体加粗，让保修信息更突出（0-900，500=中等加粗，600=偏粗） */
  font-weight: 500; 
}

/* 调整徽章大小：增大空间+放大字体/图标 */
.badge.badge-sm2 {
  /* 1. 增大内边距 = 让徽章占据更大位置（上下+左右都加宽） */
  padding: 10px 18px !important; /* 原px-2 py-1 → 改为py-2 px-4（数值可按需调） */
  
  /* 2. 放大字体 = 文字和图标同步变大（Font Awesome图标是字体，会继承font-size） */
  font-size: 16px !important; /* 原small（约12px）→ 改为14px/16px，按需调整 */
  
  /* 3. 可选：微调圆角（避免徽章太“方”，更协调） */
  border-radius: 6px !important; /* 原rounded-sm → 稍大的圆角 */
  
  /* 4. 可选：增加徽章高度（让整体更饱满） */
  line-height: 1.5 !important; /* 行高同步放大，避免文字换行 */
}

/* 可选：单独微调图标大小（如果想让图标比文字稍大） */
.badge.badge-sm2 i.fa {
  font-size: 1.1em !important; /* 图标比文字大10%，按需调整 */
  margin-right: 6px !important; /* 图标和文字间距稍大，更清晰 */
}

/* 可选：增大徽章之间的间距（原gap-2不够的话） */
.d-flex.flex-wrap.gap-2.mb-3 {
  gap: 12px !important; /* 原gap-2（约8px）→ 改为12px/16px，按需调整 */
}



/* 左侧图片区域 */
.ltn__shop-details-img-gallery {
  height: 100%;
}

.single-large-img {
  margin-bottom: 20px;
}

.single-large-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.single-large-img img:hover {
  transform: scale(1.02);
}

/* 小图切换 */
.ltn__shop-details-small-img {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.single-small-img {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  margin-right: 10px;
  scroll-snap-align: start;
}

.single-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.single-small-img.active img {
  border-color: #007bff;
  transform: scale(1.05);
}

/* 右侧内容区域 */
.shop-details-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 标题样式 */
.shop-details-info h1 {
  font-size: 36px;
  font-weight: 800;
  color: #212529;
  line-height: 1.2;
}

.shop-details-info h2 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  line-height: 1.3;
}

/* 特性标签 */
.badge {
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e9ecef;
  color: #495057;
  white-space: nowrap;
}

.badge i {
  font-size: 18px;
}

/* 保修信息 */
.warranty-badge {
  font-size: 18px;
  padding: 15px 25px;
  border-radius: 8px;
  background: #d1e7ff;
  color: #004085;
  margin: 20px 0;
  line-height: 1.4;
}

/* 描述文本 */
.product-description {
  font-size: 16px;
  line-height: 1.8;
  color: #343a40;
  margin-bottom: 30px;
}

/* 底部参数 */
.bottom-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .col-lg-6 {
      flex: 0 0 100%;
      max-width: 100%;
  }
  
  .shop-details-info {
      padding: 20px;
  }
  
  .single-small-img {
      width: 120px;
      height: 120px;
  }
}

.menu-icon2 > ul {
  display: flex !important;
  flex-direction: column !important;
}

/* 正方形缩略图核心样式 */
.ltn__shop-details-small-img .single-small-img {
  /* width: 7.8%  !important; */
  padding: 0 !important;
  box-sizing: border-box !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
}

.ltn__shop-details-small-img .single-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PC端间距优化 */
@media (min-width: 1200px) {
  .ltn__shop-details-small-img .single-small-img {
    margin: 0 5px !important;
  }
}

.img-container {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
  flex-direction: column;
  height: 100%; /* 容器需设置高度（如全屏可设 height: 100vh），否则垂直居中无效果 */
}

.footer-menu-widget-2-column .footer-menu ul li {
  font-size: 16px !important;
}

@media (max-width: 1199px) {
  /* 让Logo容器占据整行 */
  .site-logo {
    width: 100%;
    text-align: center; /* 水平居中 */
  }
  /* 调整logo容器：不占满整行，留出空间给按钮 */
  .col-xl-6.site-logo-container {
    flex: 1; /* 占据剩余空间（让按钮有位置） */
    max-width: none; /* 取消100%宽度限制 */
    display: flex;
    justify-content: center; /* logo水平居中 */
    align-items: center; /* logo垂直居中 */
  }

  /* 图片自适应设置 */
  .site-logo img {
    display: inline-block; /* 确保图片可居中 */
    max-width: 80%; /* 限制最大宽度 */
    height: auto; /* 保持宽高比 */
    margin: 0 auto; /* 水平居中 */
    padding: 10px 0; /* 增加垂直间距 */
  }
  
}

@media (min-width: 1200px) {
  .mobile-menu {
    display: none !important; /* 强制隐藏 */
  }
}

/* 外部容器：允许箭头超出显示，不限制横向溢出 */
.ltn__shop-details-small-img {
  position: relative; /* 作为箭头的定位父级 */
  padding: 0 25px; /* 左右留空间，避免箭头遮挡缩略图 */
  overflow: visible !important; /* 关键：允许箭头超出容器显示 */
}

/* Slick内部滚动容器（真正可能产生垂直滚动条的地方） */
.ltn__shop-details-small-img .slick-list {
  overflow-y: hidden !important; /* 只隐藏垂直滚动条 */
  overflow-x: hidden !important; /* 保留横向滚动能力（由插件控制） */
  height: auto !important; /* 禁止固定高度，避免内容被挤压 */
  margin: 0; /* 清除默认margin，避免宽度被压缩 */
  padding: 5px 0; /* 上下留空隙，避免内容贴边 */
}




/* 单个缩略图：限制高度，避免内容过高 */
.ltn__shop-details-small-img .single-small-img {
  /* height: 162px !important;
  width: 162px !important; */
  scrollbar-width: none !important;      /* Firefox: 隐藏滚动条 */
  -ms-overflow-style: none !important;   /* IE/Edge: 隐藏滚动条 */
  overflow: hidden; /* 防止图片超出容器 */
}

/* 针对 Webkit 内核浏览器（Chrome, Safari, Edge） */
.ltn__shop-details-small-img::-webkit-scrollbar {
    display: none;              /* 彻底隐藏滚动条 */
}

.ltn__shop-details-small-img .single-small-img img {
  height: 100%; /* 图片高度充满容器 */
  width: 100%; /* 宽度自适应，保持比例 */
  object-fit: cover; /* 避免图片拉伸变形 */
}

/* 箭头样式：固定在容器两侧，确保可见 */
.ltn__shop-details-small-img .slick-prev,
.ltn__shop-details-small-img .slick-next {
  position: absolute; 
  top: auto !important; /* 取消之前的top:50%，避免居中 */
  bottom: 0; /* 关键：箭头靠容器底部对齐（即缩略图下方） */
  transform: translateY(0) !important; /* 取消之前的Y轴偏移，避免向上移动 */
  z-index: 10; 
  width: 24px; 
  height: 24px; 
  background: #fff; 
  border-radius: 50%; 
  box-shadow: 0 0 3px rgba(0,0,0,0.2); 
  display: flex !important; 
  align-items: center;
  justify-content: center;
  text-decoration: none; 
}

/* 3. 保持箭头水平位置：左右两侧 */
.ltn__shop-details-small-img .slick-prev {
  left: 24px !important ; /* 左箭头在底部左侧（与容器左padding对齐） */
}
.ltn__shop-details-small-img .slick-next {
  right: 25px; /* 右箭头在底部右侧（与容器右padding对齐） */
}

.ltn__shop-details-small-img.slick-arrow-2 .slick-next {
  left: 65px !important;
}


/* 箭头图标样式 */
.ltn__shop-details-small-img .slick-prev i,
.ltn__shop-details-small-img .slick-next i {
  color: #333; /* 图标颜色，与背景对比 */
  font-size: 14px; /* 图标大小 */
}


@media (max-width: 1199px) {
  /* 让Logo容器占据整行 */
  .site-logo {
    width: 100%;
    text-align: center; /* 水平居中 */
  }
  /* 调整logo容器：不占满整行，留出空间给按钮 */
  .col-xl-6.site-logo-container {
    flex: 1; /* 占据剩余空间（让按钮有位置） */
    max-width: none; /* 取消100%宽度限制 */
    display: flex;
    justify-content: center; /* logo水平居中 */
    align-items: center; /* logo垂直居中 */
  }

  /* 图片自适应设置 */
  .site-logo img {
    display: inline-block; /* 确保图片可居中 */
    max-width: 80%; /* 限制最大宽度 */
    height: auto; /* 保持宽高比 */
    margin: 0 auto; /* 水平居中 */
    padding: 10px 0; /* 增加垂直间距 */
  }
  
}

@media (min-width: 1200px) {
  .mobile-menu {
    display: none !important; /* 强制隐藏 */
  }
}


.header-diy > li > a {
  font-size: 18px !important;
  padding: 30x 10px !important;
  display: inline-block;
  white-space: nowrap;
  color: var(--ltn__heading-color);
  font-weight: 700 !important;
  font-family: var(--ltn__heading-font);
}

.header-diy2 > li > a {
  font-size: 18px !important;

}


/* 独立的 Breadcrumb 区域 */
.ltn__breadcrumb-area {

  /* height: 500px; */
  max-width: 100%;


}

.ltn__breadcrumb-area-2 {
  padding-top: 80px !important;
}


.ltn__breadcrumb-area {
  margin-bottom: 80px !important;
}

.icon-inline2 {
  display: inline-block;
  width: 18px;           /* 控制图标大小 */
  height: 18px;
  margin-right: 6px;     /* 图标与文字间距（替代 mr-1） */
  vertical-align: text-bottom; /* 垂直对齐，贴合文字基线 */
  object-fit: contain;   /* 保持比例 */
}

@media (max-width: 1199px) {
  /* 强制固定整个头部区域（包含邮箱、logo、菜单按钮） */
  header .ltn__header-sticky.mobile-sticky-header {
    position: fixed !important; /* !important 确保优先级 */
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important; /* 最高层级，避免被遮挡 */
    background-color: white !important; /* 替换为你实际的背景色 */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important; /* 避免额外间距影响 */
  }

  .ltn__breadcrumb-area-2 {
    padding-top: 75px !important;
    
  }

}


/* 移动端轮播容器自适应 */
@media (max-width: 768px) {
 

  /* 5. 核心：图片自适应，保持宽高比且完整显示 */
  .ltn__shop-details-large-img .single-large-img img {
    width: 100% !important; /* 图片宽度占满容器 */
    height: 200px !important; /* 高度自动缩放（避免拉伸） */
    object-fit: contain !important; /* 确保图片完整显示，不裁剪 */
    max-width: 100% !important;
    max-height: none !important; /* 取消模板可能的最大高度限制 */
    position: relative !important; /* 覆盖 Slick 默认的绝对定位（避免偏移） */
    left: 0 !important; /* 重置 Slick 的 left 定位 */
    top: 0 !important; /* 重置 Slick 的 top 定位 */
  }


  .ltn__breadcrumb-inner-2 .section-title-area {
    margin-top: 56px;
}
.ltn__breadcrumb-area-2 {
  padding-bottom: 14px !important;
}
.ltn__breadcrumb-area {
  margin-bottom: 10px !important;
}

.ltn__shop-details-small-img .single-small-img img {
  height: 100px; /* 图片高度充满容器 */
  width: 75% !important; /* 宽度自适应，保持比例 */
  object-fit: cover; /* 避免图片拉伸变形 */
}

.ltn__shop-details-small-img.slick-arrow-2 .slick-arrow{
  bottom:-6px
}
.ltn__shop-details-small-img {
   margin-top: 0px;
}
.ltn__shop-details-img-gallery {
    margin-bottom: 0px;
}
.ltn__shop-details-small-img{
  height: 150px !important;
}

.ltn__shop-details-img-gallery img {
  background-color: transparent !important; /* !important 确保优先级高于原样式 */
}
}














