h1,h2,h3,h4,h5,ul,p{
	padding: 0;
	margin: 0;
	list-style: none;
}

/* 移动端紧凑，桌面端宽松 */

li{
	list-style-type: none;
}
a{
  text-decoration: none;
  color: #333;
}
a:hover{
	text-decoration: none;
		color: #333;
	}

body {
  font-size: 16px; /* 直接设置像素值 */
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  
}

/* 在你的全局 CSS 文件中添加 */
/* 桌面端（≥992px） */
@media (min-width: 992px) {
  .row.custom-margin {
    margin-left: 15.8%;
    margin-right:15.8%;
  }
}
 
/* 移动端（<992px） */
@media (max-width: 991.98px) {
  .row.custom-margin {
    margin-left: 0;
    margin-right: 0;
  }
}


.nav-pills .nav-link.active {
  background-color: #0074A3;
  border-radius: 0;
}

.nav-link {
  transition: color 0.3s ease, background-color 0.3s ease; /* 添加过渡效果 */
  color: #333;
}
 
.nav-link:hover {
  color: #ff0000;
  background-color: #f0f0f0;
}

.items-ico:hover{
	
	background-color: #0074a3;
	
}
.bg-color{
	color: #6FB000;
	padding-right:5px ;
}
.hover:hover{
	background-color: #ff0000;
	color:#FFF;
}

/* 产品页面产品相册样式 */

.product-gallery {
    position: relative;
    width: 100%;
    margin: 20px 0;
}
 
.main-image {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    overflow: hidden;
}
 
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: crosshair;
}
 
.zoom-layer {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid #666;
    background: rgba(255, 255, 255, 0.5);
    display: none;
    pointer-events: none;
}
 
.thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}
 
.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s;
}
 
.thumb.active {
    border-color: #ff4757;
}

.pagination  li{
    padding: 3px;
}


    /* 只在手机端显示抽屉按钮 */
    .drawer-toggle {
      display: none;
    }
 
    /* 在手机端显示抽屉按钮 */
    @media (max-width: 576px) {
      .drawer-toggle {
        display: block;
      }
    }
 
    /* 抽屉样式 */
    .drawer {
      position: fixed;
      top: 0;
      left: -250px; /* 初始位置在屏幕外 */
      width: 250px;
      height: 100vh; /* 使用视口高度 */
      background-color: #f8f9fa;
      box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
      transition: left 0.3s ease;
      z-index: 1000;
    }
 
    /* 抽屉显示时的样式 */
    .drawer.active {
      left: 0;
    }
 
    /* 抽屉内容容器（可滚动） */
    .drawer-content {
      height: 100%;
      overflow-y: auto; /* 允许垂直滚动 */
      padding: 15px;
    }
 
    /* 遮罩层样式 */
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: none;
      z-index: 999;
    }
 
    /* 在手机端显示遮罩层 */
    @media (max-width: 576px) {
      .drawer-overlay.active {
        display: block;
      }
    }
    
    /*底部浮动*/
/*页面激活*/
li.active {
    
    color:red;
     
}    
    
