/* ==========================================================================
 * Jansum 响应式补充样式
 * --------------------------------------------------------------------------
 * 旧站 css.css 为固定桌面宽度（min-width:1200px），无任何 media query。
 * 本文件仅在以下断点内追加规则，使 PC / 平板 / 手机自适应；
 * 桌面端（>1200px）外观与旧站完全一致，不做任何改动。
 *
 * 断点：
 *   <= 992px  平板（含横屏手机）
 *   <= 640px  手机
 * ========================================================================== */

/* ---------- 平板：<= 992px ---------- */
@media (max-width: 992px) {

	/* 容器由固定 1200px 改为流式 */
	.container {
		width: auto;
		max-width: 100%;
		padding: 0 15px;
		margin-left: auto;
		margin-right: auto;
	}

	/* 取消旧站固定最小宽度 */
	.swiper-container.swiper-banner,
	.full-llxxxx {
		min-width: 0 !important;
	}

	/* 头部：logo / 语言 / 热线纵向堆叠 */
	.full-head .container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.full-head .logo {
		float: none !important;
		width: 100%;
		text-align: center;
	}
	.full-head .logo img {
		max-width: 200px;
		height: auto;
	}
	.top-rt2,
	.header-right {
		float: none !important;
		width: 100%;
		text-align: center;
		margin: 5px 0;
	}

	/* 主导航：折叠为汉堡菜单 */
	.nav#nav {
		display: none;
		float: none !important;
		width: 100%;
	}
	.nav#nav.open {
		display: block;
	}
	.nav#nav .nLi {
		float: none !important;
		width: 100%;
	}
	.nav#nav .nLi h3 {
		display: block;
		width: 100%;
	}
	.nav#nav .sub-menu {
		position: static !important;
		display: block !important;
		width: 100%;
	}
	.m-nav-wrap {
		position: relative;
	}
	.m-nav-toggle {
		display: block;
		position: absolute;
		right: 15px;
		top: -50px;
		font-size: 26px;
		cursor: pointer;
		color: #333;
		z-index: 99;
	}

	/* 轮播图高度自适应（旧站固定 550px） */
	.swiper-container.swiper-banner .swiper-slide img {
		height: auto !important;
		max-height: 400px;
	}

	/* 内页 banner 高度自适应 */
	.ny_banner img {
		width: 100%;
		height: auto;
		max-height: 200px;
		object-fit: cover;
	}

	/* 图片通用自适应 */
	img {
		max-width: 100%;
		height: auto;
	}

	/* 首页板块：网格由 4 列变 2 列 */
	.index-product-sort .item {
		width: 48%;
		float: left;
		margin: 1%;
	}
	.index-why-list li {
		width: 48%;
		float: left;
		margin: 1%;
	}

	/* 关于我们区左右布局改上下堆叠 */
	.about-wrap .about-content,
	.about-wrap .about-pic {
		float: none !important;
		width: 100% !important;
		text-align: center;
	}

	/* 内页左右栏改上下堆叠 */
	.main .left_wrap,
	.main .right_wrap {
		float: none !important;
		width: 100% !important;
	}

	/* 产品列表参数表横向滚动 */
	.biaoge-wrap,
	table.biaoge {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	table.biaoge {
		min-width: 700px;
	}

	/* 产品详情：左右堆叠 */
	.pro_main .pro_left,
	.pro_main .pro_right {
		float: none !important;
		width: 100% !important;
	}

	/* 页脚 5 栏改 2 列 */
	.foot-flex .foot-item {
		width: 48%;
		float: left;
		margin: 1%;
	}

	/* owl 轮播项数由 4 改 2 */
	.owl-carousel.owl-product .item {
		width: 50%;
	}
}

/* ---------- 手机：<= 640px ---------- */
@media (max-width: 640px) {

	/* 首页网格改单列 */
	.index-product-sort .item,
	.index-why-list li,
	.foot-flex .foot-item {
		width: 100%;
		float: none;
		margin: 0 0 15px 0;
	}

	/* 轮播图更矮 */
	.swiper-container.swiper-banner .swiper-slide img,
	.ny_banner img {
		max-height: 220px;
	}

	/* 标题字号缩小 */
	.public-head h1,
	h1.public-head {
		font-size: 22px !important;
	}

	/* 产品 / 应用轮播改单列 */
	.owl-carousel.owl-product .item {
		width: 100%;
	}

	/* 联系页三列改单列 */
	.full-llxxxx .in-lxx-sort li {
		margin: 0 5px;
	}
	.in-lxx-sort li a {
		padding: 0 15px;
		font-size: 14px;
	}

	/* 反馈表单两列改单列 */
	.in-fbk-row .in-fbk-full {
		float: none !important;
		width: 100% !important;
		margin-bottom: 10px;
	}
}

/* 默认隐藏移动端汉堡（桌面端不显示） */
.m-nav-toggle {
	display: none;
}
