*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 1200px;
  font-family: "Microsoft YaHei", sans-serif;
  color: #111;
  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;
}

.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: 1200px;
  overflow: hidden;
}

.page-banner img{
  width: 100%;
  height: auto;
  display: block;
}

/* 面包屑 */
.breadcrumb{
  width: 1200px;
  margin: 18px auto 22px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a{
  text-decoration: none;
  color: rgb(0,132,183);
}

/* 主体 */
.product-wrapper{
  width: 1200px;
  margin: 0 auto 80px;
  display: flex;
  gap: 40px;
}

/* 左侧 */
.product-sidebar{
  width: 260px;
  border: 1px solid #eee;
  padding: 20px;
  word-break: break-word;
  min-height: 520px;
  flex: 0 0 260px;
}

.product-sidebar img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.product-sidebar p{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #111;
  letter-spacing: 0;
  text-decoration: none;
}

.product-sidebar p strong,
.product-sidebar p span{
  font: inherit;
  color: inherit;
}

/* 右侧 */
.product-content{
  flex: 1;
  min-width: 0;
}

.product-title{
  font-size: 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
  font-weight: 700;
}

.sub-title{
  font-size: 13px;
  color: #888;
  font-weight: normal;
  margin-left: 8px;
}

/* 网格 */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* 卡片 */
.product-item{
  border: 1px solid #eee;
  padding: 14px 14px 12px;
  background: #fff;
  transition: .25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 0;
}

.product-imglink{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f7;
  text-decoration: none;
  padding: 10px;
}

.product-img{
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block;
  object-fit: contain !important;
}

.product-content img{
  height: auto !important;
  object-fit: unset !important;
}

.product-item h3{
  font-size: 14px;
  margin: 10px 0 6px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.product-item p{
  margin: 0;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-height: calc(1.6em * 2);
}

.product-item:hover{
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* 分页 */
.pager{
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
  flex-wrap: wrap;
}

.pager-total{
  margin-right: 12px;
  color: #333;
}

.pager-btn,
.pager-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  text-decoration: none;
}

.pager-num{
  width: 28px;
  padding: 0;
}

.pager-num.active{
  background: rgb(0,132,183);
  border-color: rgb(0,132,183);
  color: #fff;
}

.pager-btn:hover,
.pager-num:hover{
  border-color: rgb(0,132,183);
  color: rgb(0,132,183);
}

.pager-jump{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.pager-input{
  width: 56px;
  height: 28px;
  border: 1px solid #d9d9d9;
  outline: none;
  padding: 0 6px;
}

.pager-confirm{
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  background: #fff;
  cursor: pointer;
}

.pager-confirm:hover{
  border-color: rgb(0,132,183);
  color: rgb(0,132,183);
}

.pager .disabled{
  opacity: 0.45;
  pointer-events: none;
}

/* ===== 底部模块 ===== */
.footer-section{
  width: 100%;
  min-width: 1200px;
  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;
}
