*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 1300px;
  font-family: "Microsoft YaHei", sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

img{
  max-width: 100%;
}

/* ===== 导航 ===== */
.navbar{
  background-color: rgb(0,132,183);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 9999;
}

.nav-container{
  width: 1200px;
  display: flex;
  align-items: center;
}

.logo{
  height: 58px;
  display: block;
}

.nav-menu{
  display: flex;
  margin-left: auto;
  gap: 40px;
  align-items: center;
}

.nav-item{
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  height: 100px;
  transition: .2s ease;
}

.nav-item:hover{
  opacity: .85;
}

/* ===== 下拉菜单 ===== */
.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 99999;
}

.dropdown-menu::before{
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  width: 100%;
  height: 8px;
}

.dropdown-item{
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-top: 1px solid #f2f2f2;
}

.dropdown-item:hover{
  background: #f6f8fa;
  color: rgb(0,132,183);
}

.nav-dropdown:hover .dropdown-menu{
  display: flex;
}

/* ===== 横幅 ===== */
.page-banner{
  width: 100%;
  min-width: 1300px;
  overflow: hidden;
}

.page-banner img{
  width: 100%;
  display: block;
}

/* ===== 面包屑 ===== */
.breadcrumb{
  width: 1300px;
  margin: 18px auto 22px;
  font-size: 13px;
  color: #666;
}

.breadcrumb a{
  color: rgb(0,132,183);
  text-decoration: none;
}

/* ===== 产品详情整体 ===== */
.detail-wrapper{
  width: 1300px;
  margin: 0 auto 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* ===== 左侧图片 ===== */
.gallery{
  flex: 0 0 360px;
}

.gallery-main{
  width: 100%;
  height: 280px;
  border: 1px solid #eee;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== 缩略图 ===== */
.thumbs-wrap{
  margin-top: 14px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: 0;
}

.thumb-nav{
  width: 36px;
  height: 60px;
  background: #666;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
}

.thumb-nav:disabled{
  opacity: .35;
  cursor: not-allowed;
}

.nav-icon{
  font-size: 22px;
}

.thumbs-viewport{
  flex: 1;
  overflow: hidden;
  margin: 0 10px;
}

.thumbs-track{
  display: flex;
  gap: 10px;
}

.thumb{
  width: 70px;
  height: 52px;
  border: 1px solid #ddd;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  cursor: pointer;
}

.thumb:hover,
.thumb.active{
  border-color: rgb(0,132,183);
}

/* ===== 中间文字区域 ===== */
.detail-info{
  flex: 0 0 640px;
  min-width: 0;
}

.detail-title{
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
}

.detail-desc p{
  font-size: 14px;
  line-height: 3.2;
  margin-top: 8px;
  margin-bottom: 18px;
  color: #333;
  white-space: pre-line;
}

/* ===== 右侧联系方式 ===== */
.detail-contact{
  flex: 0 0 260px;
  border: 1px solid #eee;
  padding: 18px;
}

.detail-contact img{
  width: 100%;
  margin-bottom: 14px;
  display: block;
}

.detail-contact p{
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 10px;
}

/* ===== 产品详情区 ===== */
.more-wrap{
  width: 1300px;
  margin: 0 auto;
}

.more-inner{
  width: 1020px;
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 18px 18px 20px;
}

.more-head{
  margin-bottom: 10px;
}

.more-title{
  color: #d30000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

/* 文字详情 */
.more-text{
  display: block;
}

.sec-title{
  font-size: 15px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #111;
}

.star-list{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.star-list li{
  position: relative;
  padding-left: 16px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 2.2;
  color: #333;
  white-space: pre-line;
}

/* 参数表格 */
.detail-table-wrap{
  width: 100%;
}

.detail-intro{
  padding: 6px 0 8px;
}

.detail-intro p{
  font-size: 14px;
  line-height: 2.2;
  color: #111;
  margin: 0 0 8px;
  white-space: pre-line;
}

.detail-intro p:last-child{
  margin-bottom: 0;
}

.spec-table{
  width: 100%;
  margin-top: 4px;
}

.spec-group-title{
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.8;
  padding: 8px 0 4px;
}

.spec-row{
  display: flex;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid #a9a9a9;
}

.spec-col{
  font-size: 14px;
  line-height: 1.6;
  color: #111;
  padding: 7px 0;
}

.spec-name{
  width: 38%;
  padding-right: 20px;
}

.spec-value{
  width: 62%;
}

/* 图片 / 关键词 / 视频 */
.more-photos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 18px 0 20px;
}

.more-photos img{
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #eee;
  padding: 10px;
  background: #fff;
  display: block;
}

.more-keywords{
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 14px;
  font-weight: 700;
  line-height: 2.4;
  color: #333;
}

.more-video{
  margin-top: 12px;
  margin-bottom: 20px;
}

.more-video video{
  width: 50%;
  max-width: 50%;
  display: block;
}

/* ===== 上一篇 / 下一篇 ===== */
.pn-wrap{
  width: 1300px;
  margin: 0 auto 90px;
}

.pn-inner{
  width: 1020px;
  border: 1px solid #ddd;
  border-top: none;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  font-size: 13px;
}

.pn-item{
  color: #111;
  text-decoration: none;
  max-width: 48%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pn-item:hover{
  color: rgb(0,132,183);
}

.pn-right{
  text-align: right;
}

/* ===== 底部模块 ===== */
.footer-section{
  width: 100%;
  min-width: 1300px;
  background: rgb(0,132,183);
  padding-top: 28px;
  padding-bottom: 20px;
}

.footer-container{
  width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1.4fr 1fr 1.2fr 120px;
  gap: 22px;
  align-items: start;
  color: #fff;
}

.footer-logo img{
  width: 84px;
  display: block;
}

.footer-qrcode img{
  width: 110px;
  display: block;
  background: #fff;
  padding: 5px;
}

.footer-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.footer-col p{
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.95;
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li{
  margin-bottom: 10px;
  font-size: 13px;
  transition: opacity .2s ease;
}

.footer-list li:hover{
  opacity: 0.85;
}

.footer-btn{
  margin-top: 8px;
  width: 120px;
  height: 34px;
  border: 1px solid #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all .25s ease;
}

.footer-btn:hover{
  background: #fff;
  color: rgb(0,132,183);
}

.footer-divider{
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin-top: 18px;
}

.footer-bottom-wrap{
  width: 100%;
}

.footer-bottom{
  width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom-left p{
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #fff;
}

.footer-beian{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-beian a{
  color: #fff;
  text-decoration: none;
}

.footer-beian a:hover{
  text-decoration: underline;
}

.footer-gongan{
  display: inline-flex;
  align-items: center;
}

.footer-gongan img{
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.footer-bottom-right a{
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.footer-bottom-right a:hover{
  text-decoration: underline;
}
