﻿/* 标题 + tabs 外层（建议你外面容器是 .goodsInfosMenu） */
.goodsInfosMenu h2{
  margin: 0 0 14px;
  font-size: 1.55rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: .5px;
  position: relative;
  padding-left: 14px;
}

/* 左侧强调条 + 底部淡色渐变 */
.goodsInfosMenu h2::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 20px;
  border-radius: 6px;
  background: #3879bd;
}
.goodsInfosMenu h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(56,121,189,.35), rgba(56,121,189,0));
}

/* Tabs 容器 */
#tabsselect{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fd 100%);
  border: 1px solid rgba(56,121,189,.20);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

/* 单个 tab */
#tabsselect li{
  cursor: pointer;
  user-select: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #111827;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* hover */
#tabsselect li:hover{
  color: #3879bd;
  background: rgba(56,121,189,.10);
  transform: translateY(-1px);
}

/* active（你 jQuery 会给 li 加 active class） */
#tabsselect li.active{
  color: #fff;
  background: #3879bd;
  box-shadow: 0 12px 26px rgba(56,121,189,.28);
}

/* 内容容器 */
#tabsselectcontent{
  margin-top:30px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  padding: 18px 18px 22px;
}

/* 参数列表整体 */
.gsteList{
  margin-top: 8px;
}

/* 每一行参数 */
.gsteList dl{
  margin: 0;
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  background: #fff;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 18px;
  align-items: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* 行间距 */
.gsteList dl + dl{
  margin-top: 12px;
}

/* 斑马纹 */
.gsteList dl:nth-child(even){
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fd 100%);
}

/* hover 高亮 */
.gsteList dl:hover{
  border-color: rgba(56,121,189,0.30);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* 字段名 dt */
.gsteList dt{
  margin: 0;
  font-weight: 900;
  color: #111827;
  line-height: 22px;
  position: relative;
  padding-left: 12px;
}

/* dt 左侧强调条 */
.gsteList dt::before{
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: #3879bd;
}

/* 字段值 dd */
.gsteList dd{
  margin: 0;
  color: #374151;
  line-height: 22px;
  word-break: break-word;
}

/* 值里链接 */
.gsteList dd a{
  color: #3879bd;
  font-weight: 800;
  text-decoration: none;
}
.gsteList dd a:hover{
  text-decoration: underline;
}

/* 描述区（富文本）通用 */
.gsteList{
  color: #333;
  line-height: 28px;
}

/* 描述区图片 */
.gsteList img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 14px auto;
  border-radius: 8px;
}

/* 顶部区块 */
.products-info-top{ padding:45px 0; display:flex; align-items:flex-start; }

/* 左右 50% */
.products-info-left{ width:50%; }
.products-info-right{ width:100%; padding-left:0; }

/* 右侧文字 */
.products-info-right h1{
  font-size: 1.8rem;
  line-height: 1.35;
  margin: 0 0 14px;
  color: #111827;
  font-weight: 900;
}
.products-info-right p{
  margin: 0 0 16px;
  line-height: 28px;
  color: #374151;
}

/* 右侧底部区域：品牌 + PDF */
.product-actions{
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 品牌徽章 */
.brand-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fd 100%);
  border: 1px solid rgba(56,121,189,0.20);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08), 0 10px 18px rgba(56,121,189,0.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brand-badge:hover{
  transform: translateY(-2px);
  border-color: rgba(56,121,189,0.40);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12), 0 14px 26px rgba(56,121,189,0.14);
}
.brand-badge img{
  width: 120px;
  height: auto;
  display: block;
}
.brand-badge .brand-text{
  font-size: 0.92rem;
  font-weight: 900;
  color: #3879bd;
  white-space: nowrap;
}

/* ===== PDF 下载按钮 ===== */
.pdf-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #3879bd 0%, #2f69a4 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(56,121,189,0.45);
  box-shadow: 0 16px 34px rgba(56,121,189,0.24), 0 18px 40px rgba(0,0,0,0.10);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.pdf-btn i{
  font-size: 1.15rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.pdf-btn span{
  font-size: 0.98rem;
  line-height: 1;
}

.pdf-btn em{
  font-style: normal;
  font-weight: 800;
  font-size: 0.82rem;
  opacity: .9;
  padding-left: 4px;
  border-left: 1px solid rgba(255,255,255,0.22);
}

.pdf-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  color:#fff;
  box-shadow: 0 18px 38px rgba(56,121,189,0.30), 0 22px 50px rgba(0,0,0,0.14);
}

.pdf-btn:active{
  transform: translateY(0);
}

/* ===== 左侧轮播 ===== */
.products-gallery{ width:100%; }

.gallery-main{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.gallery-item{ display:none; }
.gallery-item.active{ display:block; }

.gallery-item img,
.gallery-item video{
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #fff;
}

/* 缩略图条 */
.gallery-thumbs{
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs .thumb{
  width: 74px;
  height: 74px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fd 100%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
  flex: 0 0 auto;
}
.gallery-thumbs .thumb:hover{
  transform: translateY(-2px);
  border-color: rgba(56,121,189,0.40);
}
.gallery-thumbs .thumb.active{
  border-color: rgba(56,121,189,0.70);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}
.gallery-thumbs .thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 视频缩略图播放图标 */
.gallery-thumbs .thumb i{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  background: rgba(56,121,189,0.88);
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 50%;
  font-size: 12px;
  text-align: center;
}

/* ===== 视频默认不自动播放：播放按钮覆盖 ===== */
.video-wrap{
  position: relative;
  width: 100%;
  background: #000;
}
.video-wrap video{
  width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
  object-fit: contain;
}
.video-play{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(56,121,189,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0,0,0,0.25);
  transition: transform .18s ease, opacity .18s ease;
}
.video-play i{
  color: #fff;
  font-size: 22px;
  margin-left: 2px;
}
.video-wrap:hover .video-play{
  transform: translate(-50%,-50%) scale(1.06);
}
.video-wrap.playing .video-play{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===== 灯箱 Lightbox ===== */
.img-lightbox{
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.72);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.img-lightbox .lb-inner{
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin:auto;
  max-height: 85vh;
}
.img-lightbox img{
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
  background: #fff;
}
.img-lightbox .lb-close{
  position: absolute;
  right: -10px;
  top: -12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(56,121,189,0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* 左右按钮 */
.img-lightbox .lb-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(56,121,189,0.92);
  color: #fff;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(0,0,0,0.25);
  transition: transform .16s ease, opacity .16s ease;
  user-select: none;
}
.img-lightbox .lb-btn:hover{
  transform: translateY(-50%) scale(1.06);
  opacity: .95;
}
.img-lightbox .lb-prev{ left: -14px; }
.img-lightbox .lb-next{ right: -14px; }

/* 灯箱图片滑动效果 */
#imgLightbox .lb-inner{ overflow: hidden; }
#imgLightbox img{ will-change: transform, opacity; }

#imgLightbox img.slide-in-right{ animation: lbInRight .22s ease both; }
#imgLightbox img.slide-in-left{ animation: lbInLeft .22s ease both; }

@keyframes lbInRight{
  from{ transform: translateX(24px); opacity: .55; }
  to{ transform: translateX(0); opacity: 1; }
}
@keyframes lbInLeft{
  from{ transform: translateX(-24px); opacity: .55; }
  to{ transform: translateX(0); opacity: 1; }
}

/* 关键：保留滑动裁剪，但按钮必须放到容器内部 */
#imgLightbox .lb-inner{ overflow: hidden; }

/* 关闭按钮（放进容器内） */
#imgLightbox .lb-close{
  right: 12px !important;
  top: 12px !important;
  z-index: 100002;
}

/* 左右按钮（放进容器内） */
#imgLightbox .lb-prev{
  left: 12px !important;
  z-index: 100002;
}
#imgLightbox .lb-next{
  right: 12px !important;
  z-index: 100002;
}

/* 防止被图片盖住 */
#imgLightbox .lb-btn,
#imgLightbox .lb-close{
  position: absolute;
}

/* 让图片层级低一些 */
#imgLightbox img{
  position: relative;
  z-index: 100001;
}