@charset "utf-8";
/* CSS Document */

*{
	border:0px;
	margin:0px;
	padding:0px;
	}
body {
	background-color: #FFF;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#2b3f78;
	}
 .boxs {
  padding: 10px;
  position: relative; /* 为右下角图片定位做准备 */
  width: 80%;
  display: flex;
  flex-wrap: wrap; /* 内容随窗口变化自动换行 */
  margin: 0 auto;
}

.left-content {
  display: flex;
  align-items: center;
}

.left-content img {
  width: 90px;
  height: 90px; /* 正方形图片尺寸，可调整 */
  margin-right: 10px;
}

.company-name {
  text-align: center;
  font-family:"华文行楷";
  font-size:35px;
}

.bottom-right-img {
  position: absolute;
  bottom: 10px;
  right: 10px;
  max-width: 25%;
  max-height: 90px;
  width: auto;
  height: auto;
}

/* 媒体查询实现响应式布局 */
@media (max-width: 768px) {
 .left-content img {
    width: 40px;
    height: 40px;
  }
 .company-name {
    font-size: 14px;
  }
 .bottom-right-img {
    max-width: 60px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
 .left-content img {
    width: 30px;
    height: 30px;
  }
 .company-name {
    font-size: 12px;
  }
 .bottom-right-img {
    max-width: 40px;
    max-height: 40px;
  }
}


/**
*首行导航栏
*/	
.run {
			background-color:#2b3f78;
			width:100%;
		}
        nav {
            background-color: #2b3f78;
			width:100%;
			margin: 0 auto;
			position: relative; /* 必须加 */
    		z-index: 9999;      /* 必须加，让导航永远在最上层 */         
		}

        nav ul {
            list-style-type: none;
            display: flex;
            justify-content: space-around;
            flex-wrap: nowrap; /*强制不换行*/
			font-size:24px;
			padding: 0;
			margin: 0;
        }

        nav ul li {
            flex: 1; /* 让所有 li 等分剩余空间，自动缩小 */
            min-width: 0; /* 允许内容被压缩 */
            text-align: center;
        }

        nav ul li a {
            display: block;
            color: white;
            text-align: center;
            padding: 14px 8px;
            text-decoration: none;
            white-space: nowrap; /* 文字不换行 */
            overflow: hidden; /* 防止文字溢出 */
        }

        nav ul li a:hover {
            background-color: #ddd;
            color: black;
        }
		
		/* 新增：下拉菜单容器样式 */
        .dropdown {
            position: relative;
        }
        .dropdown-content {
            display: none; /* 默认隐藏 */
            position: absolute;
            top: 100%; /* 紧贴导航栏下方 */
            left: 0;
            width: 100%; /* 宽度和导航栏li一致 */
            background-color: #2b3f78;
            z-index: 999999; /* 确保在最上层 */
        }
        .dropdown-content a {
            font-size: 1.2vw; /* 下拉菜单文字比导航栏小 */
            padding: 10px 4px; /* 内边距适配 */
			overflow: hidden;   
			text-overflow: ellipsis; /* 极端情况才显示省略号，一般不会触发 */
            white-space: nowrap;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1); /* 可选：分隔线 */
        }
        /* 鼠标悬浮显示下拉菜单 */
        .dropdown:hover .dropdown-content {
            display: block;
        }
        /* 下拉菜单hover效果 */
        .dropdown-content a:hover {
            background-color: #ddd;
            color: black;
        }

        /* 滑动效果的样式 */
       .slider {
            position: relative;
            height: 4px;
            background-color: white;
            transition: left 0.2s ease;
        }
        @media (max-width: 768px) {
          nav ul {
            font-size: 14px; /* 移动端缩小字体 */
          }
          nav ul li a {
            padding: 12px 4px; /* 进一步减小内边距 */
          }
		  /* 下拉菜单移动端文字大小 */
          .dropdown-content a {
            font-size: 1.0vw; /* 比导航栏文字小 */
            padding: 8px 3px;
          }
        }
        
        @media (max-width: 480px) {
          nav ul {
            font-size: 12px; /* 更小屏幕再缩小 */
          }
		  /* 下拉菜单超小屏文字大小 */
          .dropdown-content a {
            font-size: 0.9vw;
            padding: 6px 2px;
          }
        }


.pro {
	width:100%;
	height:420px;
	margin-bottom:20px;
	background-color:#F8F8F8;
	background: url(../image/产品中心/首页/未标题-3.jpg) no-repeat;
	background-size: cover; /*将元素填满同时保证图片尺寸不变形*/
	background-position: 50%;
}


/**
*当前位置
*/
.toptitle .place {
	font-size:14px;
	color:#333;
	width:80%;
	height:35px;
	margin-left:50px; 
	margin-top: 10px;
	margin-bottom:10px;
	float:left;
	border-bottom:1px  dashed #ccc;
	padding-top:8px; 
	padding-left:5px;
	box-sizing: border-box;
}
.toptitle .place a:link,.toptitle .place a:visited {
	color:#333;
	text-decoration:none;
}
.toptitle .place a:hover,.toptitle .place a:active {
	color:#333;
	text-decoration:none;
}




/**
*产品展示
*/
.form {
	margin-top: 10px;
	margin-bottom:20px;
	float:left;
	width: 100%; 
}
/* 先设置根元素字体（rem基准），移动端自动缩放 */
html {
  font-size: 16px; /* 基准值 */
  /* 视口宽度<768px时，根字体按比例缩小 */
  @media (max-width: 768px) {
    font-size: calc(12px + (16 - 12) * (100vw - 320px) / (768 - 320));
  }
  @media (max-width: 320px) {
    font-size: 12px;
  }
}


/**
*左侧
*/
.left {
	margin-left:3%; 
	margin-top: 10px;
	float:left;
	width: 15%;	 
}

/**
*左侧导航栏
*/ 
.toptitle .aside-nav{
	margin-top: 10px;
	float:left;
	width: 100%;
	background-color:#ccc;
	color:#000;
}
/* 导航标题 */
.aside-nav .nav-title{
	height: 5vw;
	line-height: 5vw;
	text-align: center;
	font-size: 1.8vw;
	border-bottom: 1px solid #222;
	max-height: 70px; /* 限制最大高度，避免大屏过大 */
  	min-height: 40px; /* 限制最小高度，避免小屏过小 */
}

/* 导航列表 */
/* 父导航 */
.aside-nav .nav-list .parentNav{
	height: 4.5vw; /* 替换70px */
  line-height: 4.5vw; /* 行高自适应 */
  padding: 0 1vw; /* 内边距也用相对单位 */
  font-size: 1.5vw; /* 替换20px */
  max-height: 70px;
  min-height: 35px;
}

.aside-nav .nav-list .parentNav:hover, 
.aside-nav .nav-list .item.active .parentNav{
	background-color: #fff;
	color: #000;
	text-decoration:none;
}

.aside-nav .nav-list .parentNav i{
	font-size: 20px;
}
 
.aside-nav .nav-list .parentNav i:last-child{
	float: right;
}

.aside-nav .nav-list .parentNav a{
	color: #000;
}
 
.aside-nav .nav-list .parentNav a:link,
.aside-nav .nav-list .parentNav a:visited{ 
	color:#000;
	text-decoration:none;
}

.aside-nav .nav-list .parentNav a:hover,
.aside-nav .nav-list .parentNav a:active{ 
	color:#000;
	text-decoration:none;
}



/* 子导航 */
.aside-nav .nav-list .item.active .subNav{
	display: block;
}

.aside-nav .nav-list .subNav{
	display: none;
}

.aside-nav .nav-list .subNav li a {
	color: #000;
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	height: 3vw;
	line-height: 3vw;
	padding-left: 4vw;
	font-size:1.2vw;
	text-decoration:none;
	max-height: 40px;
  	min-height: 30px;
}

.aside-nav .nav-list .subNav li a:link,
.aside-nav .nav-list .subNav li a:visited{ 
	text-decoration:none;
}
.aside-nav .nav-list .subNav li a:hover,
.aside-nav .nav-list .subNav li a:active{
	background-color: #fff;
	text-decoration:none;
}


/**
*联系我们
*/
.left .ser_left {
	width:100%;
	float:left;
	margin-top: 10px;
	border:2px solid #ccc;
}
.left .ser_left .ser_title {
	width::100%;
	height:6vw;
	max-height: 80px;
  min-height: 50px;
	background-color:#0033CC;
	text-align:center;
}
.left .ser_left .ser_title h2 {
	font-size:1.5vw;
	color:#fff;
	padding-top:1.5vw;
}
.left .ser_left .t1 {
	width::100%;
	background-color:#fff;
	text-align:left;
	border-bottom:1px solid #ccc;
}
.left .ser_left .t1 p {
	font-size:1.3vw;
	color:#0033cc;
	padding:1vw 0 1vw  3%;
	line-height:1.2;
 }
.left .ser_left .t2 {
	width::100%;
	background-color:#fff;
	text-align:left;
	border-bottom:1px solid #ccc;
}
.left .ser_left .t2 p {
	font-size:1.3vw;
	color:#000;
	padding:1vw 0 1vw  3%;
	line-height:1.2;
}
.left .ser_left .t2 .left {
	width:40%;
	text-align:center;
	margin-top:8px;
	margin-bottom:15px;
}
.left .ser_left .t2 .left i {
	color:#333;
	font-size:1vw;
}
.left .ser_left .t2 .right {
	width:45%;
	margin-top:5%;
	line-height:1.1;
}
.left .ser_left .t2 .right i {
	font-size:1.2vw;
} 

 
  
  
/**
*主体部分
*/
.toptitle .main-wrapper {
	width: calc(80% - 20px); /* 原80%宽度，减去左侧间距，避免贴边 */
  box-sizing: border-box; /* 内边距/边框计入宽度 */
  overflow: hidden; /* 防止容器内元素溢出 */
  padding: 0 10px; /* 增加内边距，优化显示 */
}
 
        /* 右侧产品展示区 */
        .product-grid {
            flex: 1; /* 占据剩余宽度 */
            display: grid;
			grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 自动适配列数，最小列宽280px */
			gap: clamp(10px, 2vw, 20px); /* 间距随窗口自适应（最小10px，最大20px） */
  			padding: 0 10px; /* 左右内边距，避免贴边 */
        }
        .product-item {
            border: 1px solid #eee;
            border-radius: 4px;
            overflow: hidden;
            text-align: center;
			transition: all 0.3s ease; /* 悬浮动画 */        
		}
        .product-item img {
            width: 100%;
            height: auto; /* 图片等比例缩放 */
            display: block;
			max-width: 450px;
  max-height: 450px;
        } 
/* 产品图片自适应核心样式 */
.product-img {
  width: 100%; /* 宽度占满父容器 */
  height: auto; /* 高度自动等比例缩放 */
  max-width: 450px; /* 限制最大宽度（大屏不超450px） */
  max-height: 450px; /* 限制最大高度 */
  object-fit: cover; /* 图片比例不变形，裁剪多余部分（可选，根据需求） */
}	
.product-item .product .name {
	color:#000;
	font-size: clamp(16px, 2vw, 24px); /* 最小16px，最大24px，中间随窗口宽度自适应 */
  	line-height: 1.5; /* 行高适配，避免文字重叠 */
  	padding: 8px 0; /* 增加内边距，让文字和图片分开 */
  	white-space: nowrap; /* 单行显示（可选，如需换行则删除） */
  	overflow: hidden; /* 防止文字溢出 */
  	text-overflow: ellipsis; /* 溢出时显示省略号（可选） */
	}
.product-item .product .name a{
	font-size: inherit;
 	color:#000;
	text-decoration:none;
}
.product-item .product .name a:link,
.product-item .product .name a:visited {
	color:#000;
	text-decoration:none;	
}
.product-item .product .name a:hover,
.product-item .product .name a:active {
	color:#F00;
	text-decoration:none;	
}

.product-item:hover {
	top:-3px;
	box-shadow: 0 0 15px #999;
	cursor:pointer;
}/*当鼠标指针悬浮在该元素上时，该元素定位在顶部“-3px”的位置，并且盒子阴影是模糊度为“15px”、颜色值为“#999”的颜色*/
/* 移动端补充（原逻辑保留，优化细节） */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 平板最小列宽200px */
  }
   .main-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr; /* 手机单列显示 */
    padding: 0 5px;
  }
  .product-item .product .name {
    font-size: 16px; /* 手机端固定16px，更易读 */
  }
}
 

/**
* 翻页
*/ 
.toptitle .info {
	padding:15px 40px 0px 40px;
	text-align:center;
	font-weight:bold;
	height:30px;
	width:80%;
	margin-left:30px;
	margin-top:10px;
	float:left;
	
}
ul {
	list-style-type:none;
	}
.info li {
	padding:0px 22px;
	font-size:16px;
	display:inline;
	}
.info li a:link, .info li a:visited {
	color:#333;
	text-decoration:none;
	}
.info li a:hover,.info li a:active {
	color:#333;
	text-decoration:none;
} 
 
/* ========== 移动端完整适配：小屏幕自动变成你要的效果 ========== */
@media (max-width: 768px) {
  /* 头部公司信息垂直居中 */
  .boxs {
    width: 95%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .left-content {
    justify-content: center;
    margin-bottom: 10px;
  }
  .left-content img {
    width: 40px;
    height: 40px;
    margin-right: 0;
  }
  .company-name {
    font-size: 14px;
    text-align: center;
  }
  .bottom-right-img {
    position: static;
    margin-top: 10px;
    max-width: 60px;
    max-height: 60px;
  }

  /* 导航栏垂直排列 */
  nav ul {
    flex-direction: column;
    font-size: 18px;
  }
  nav ul li {
    min-width: auto;
  }

  /* 左右布局 → 上下布局 */
  .left {
    width: 100% !important;
    margin-left: 0 !important;
    float: none !important;
  }
  .main-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    float: none !important;
  }

  /* 产品列表一行2列 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* 底部信息垂直排列 */
  .contact-info {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  /* 超小屏头部更小 */
  .left-content img {
    width: 30px;
    height: 30px;
  }
  .company-name {
    font-size: 12px;
  }
  .bottom-right-img {
    max-width: 40px;
    max-height: 40px;
  }

  /* 产品一行1列（最标准手机效果） */
  .product-grid {
    grid-template-columns: 1fr;
  }
}
 
 

/**
*底栏一
*/
 .contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #009; /* 蓝色背景色 */
    color: white;
    padding: 20px;
}
.info-item {
    display: flex;
    align-items: center;
}
.icon-location,
.icon-phone,
.icon-mail {
    font-size: 24px; /* 图标大小 */
    margin-right: 10px;
}
.info-text span {
    margin-right: 5px;
	font-size:18px;
}
.info-text p {
    margin-right: 5px;
	color:#FFF;
	font-size:20px;
}

/* 媒体查询实现响应式 */
@media (max-width: 768px) {
   .contact-info {
        flex-direction: column; /* 小屏幕时垂直排列 */
    }
   .info-item {
        margin-bottom: 10px;
    }
}



/**
*底栏二
*/
 
.toptitle .dlh {
	width: 100%;
	height:80px;
	padding-top: 40px;
	background-color:#333; 
	float:left;
	text-align:center;
	margin-top:0px;
}
.dle .menuitems { 
	height: 60px;
	text-align:center;
	font-weight:bold;
	}
ul {
	list-style-type:none;
	}
.dlh .menuitems li {
	padding:0px 22px;
	font-size:25px;
	display:inline;
	}
.dlh .menuitems li a:link,.dlh .menuitems li a:visited {
	color:#FFF;
	text-decoration:none;
	}
.dlh .menuitems li a:hover,.dlh .menuitems li a:active {
	color:#fff;
	text-decoration:none;
	}



/**
*底栏三
*/
.footer {
	 
	height:70px;
	background-color:#999;
	padding-top:40px;
	padding-left:34px;
	font-size:16px;
	color:#333;
	text-align:center;
	border-top:2px solid #000;
	clear:both;
}
        /* 悬浮按钮容器：固定在右侧，可拖动 */
        .floating-container {
            position: fixed;
            right: 20px;
            bottom: 50px;
            z-index: 9999; /* 确保在最上层 */
            cursor: move; /* 长按拖动时的鼠标样式 */
        }

        /* 圆形触发按钮 */
        .floating-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #0066ff;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        /* 悬浮展开的客服面板 */
        .service-panel {
            width: 280px;
            background-color: #0066ff;
            color: #fff;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            position: absolute;
            right: 70px; /* 面板在按钮左侧展开 */
            bottom: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            transform-origin: right bottom;
            transform: scale(0.8);
        }

        /* 鼠标悬浮时展开面板 */
        .floating-container:hover .service-panel {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        /* 面板内样式 */
        .panel-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 8px;
        }
        .panel-english {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 15px;
        }
        .qr-code {
            width: 100%;
            margin-bottom: 10px;
        }
        .qr-desc {
            text-align: center;
            font-size: 14px;
            margin-bottom: 15px;
        }
        .service-phone {
            font-size: 16px;
            text-align: center;
            margin-bottom: 15px;
        }
        .online-btn {
            display: block;
            width: 100%;
            padding: 10px;
            background-color: #28a745;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .online-btn:hover {
            background-color: #218838;
        }
        .up-arrow {
            text-align: center;
            margin-top: 10px;
            font-size: 14px;
            cursor: pointer;
        }
