/* 移动端适配样式 - 仅 max-width:992px 生效，不影响 PC 端 */

@media screen and (min-width: 993px) {
	.m_header,
	.m_container,
	.m_mask,
	.m_menu_head,
	.m_menu_footer {
		display: none !important;
	}

	body {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

@media screen and (max-width: 992px) {
	html,
	body {
		overflow-x: hidden;
	}

	body {
		padding-top: 56px;
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	}

	body.m_menu_open {
		overflow: hidden;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	.container {
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
		box-sizing: border-box;
	}

	/* 移动端顶栏 */
	.m_header {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 56px;
		padding: 0 12px 0 15px;
		background: #fff;
		z-index: 1001;
		box-sizing: border-box;
		border-bottom: 1px solid #e8e8e8;
	}

	.m_header_shadow {
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	}

	.m_logo {
		display: flex;
		align-items: center;
		flex: 1;
		min-width: 0;
		color: #333;
		text-decoration: none;
	}

	.m_logo img {
		width: 36px;
		height: 36px;
		flex-shrink: 0;
	}

	.m_logo_text {
		margin-left: 10px;
		font-size: 16px;
		font-weight: bold;
		color: #003F71;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.m_phone {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		margin-right: 10px;
		border: 1px solid #e5e5e5;
		border-radius: 50%;
		flex-shrink: 0;
		line-height: 0;
		box-sizing: border-box;
	}

	.m_phone img {
		display: block;
		width: 16px;
		height: 16px;
		object-fit: contain;
		object-position: center center;
		margin: 0;
		transform: translateY(1px);
	}

	.m_nav {
		display: block;
		width: 36px;
		height: 36px;
		padding: 0;
		border: none;
		background: #003F71;
		border-radius: 8px;
		position: relative;
		cursor: pointer;
		flex-shrink: 0;
		float: none !important;
		margin: 0 !important;
	}

	.m_nav > .m_span {
		display: block;
		width: 18px;
		height: 2px;
		background: #fff;
		position: absolute;
		left: 9px;
		top: 17px;
		transition: all .3s;
		opacity: 1;
	}

	.m_nav::before,
	.m_nav::after {
		content: "";
		display: block;
		width: 18px;
		height: 2px;
		position: absolute;
		left: 9px;
		background: #fff;
		transition: all .3s;
	}

	.m_nav::before {
		top: 11px;
	}

	.m_nav::after {
		top: 23px;
	}

	.m_nav2 .m_span {
		opacity: 0;
	}

	.m_nav2::before {
		top: 17px;
		transform: rotate(45deg);
	}

	.m_nav2::after {
		top: 17px;
		transform: rotate(-45deg);
	}

	.m_mask {
		display: block !important;
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.45);
		z-index: 1002;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .35s ease, visibility .35s ease;
	}

	body.m_menu_open .m_mask {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.m_container {
		display: block !important;
		position: fixed;
		top: 0;
		left: 0;
		right: auto;
		width: 280px;
		max-width: 82%;
		height: 100%;
		background: #fff;
		z-index: 1003;
		transform: translateX(-100%);
		visibility: hidden;
		pointer-events: none;
		transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1), visibility .42s ease, box-shadow .42s ease;
		box-shadow: none;
		overflow-y: auto;
		padding-top: 0;
		-webkit-overflow-scrolling: touch;
	}

	body.m_menu_open .m_container {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
		box-shadow: 4px 0 28px rgba(0, 0, 0, 0.16);
	}

	.m_menu_head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 56px;
		padding: 0 16px;
		border-bottom: 1px solid #f0f0f0;
		background: #003F71;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .3s ease .05s, transform .3s cubic-bezier(0.22, 1, 0.36, 1) .05s;
	}

	body.m_menu_open .m_menu_head {
		opacity: 1;
		transform: translateY(0);
	}

	.m_close {
		width: 32px;
		height: 32px;
		border: none;
		background: transparent;
		color: #fff;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
		padding: 0;
	}

	.m_ul {
		display: block !important;
		padding: 8px 0;
	}

	.m_ul li {
		width: 100%;
		border-bottom: 1px solid #f5f5f5;
		opacity: 0;
		transform: translateX(-18px);
		transition: opacity .32s ease, transform .32s cubic-bezier(0.22, 1, 0.36, 1);
	}

	body.m_menu_open .m_ul li {
		opacity: 1;
		transform: translateX(0);
	}

	body.m_menu_open .m_ul li:nth-child(1) { transition-delay: .06s; }
	body.m_menu_open .m_ul li:nth-child(2) { transition-delay: .1s; }
	body.m_menu_open .m_ul li:nth-child(3) { transition-delay: .14s; }
	body.m_menu_open .m_ul li:nth-child(4) { transition-delay: .18s; }
	body.m_menu_open .m_ul li:nth-child(5) { transition-delay: .22s; }
	body.m_menu_open .m_ul li:nth-child(6) { transition-delay: .26s; }
	body.m_menu_open .m_ul li:nth-child(7) { transition-delay: .3s; }
	body.m_menu_open .m_ul li:nth-child(8) { transition-delay: .34s; }

	.m_ul li a {
		display: block;
		padding: 14px 18px;
		color: #333 !important;
		font-size: 15px;
	}

	.m_ul li.m_active a,
	.m_ul li a:active {
		color: #003F71;
		background: #f3f8fc;
		font-weight: bold;
	}

	.m_menu_footer {
		padding: 16px 18px 24px;
		border-top: 1px solid #f0f0f0;
		opacity: 0;
		transform: translateY(12px);
		transition: opacity .35s ease .2s, transform .35s cubic-bezier(0.22, 1, 0.36, 1) .2s;
	}

	body.m_menu_open .m_menu_footer {
		opacity: 1;
		transform: translateY(0);
	}

	.m_menu_footer a {
		display: block;
		padding: 12px 14px;
		text-align: center;
		background: #003F71;
		color: #fff !important;
		border-radius: 8px;
		font-size: 14px;
	}

	@media (prefers-reduced-motion: reduce) {
		.m_mask,
		.m_container,
		.m_menu_head,
		.m_ul li,
		.m_menu_footer {
			transition: none !important;
		}
	}

	/* 隐藏 PC 端头部导航 */
	.container1 {
		display: none !important;
	}

	/* 首页横幅与分类 */
	.common_img {
		height: auto;
		min-height: 0;
		padding: 12px 0 16px;
		background-size: cover;
		background-position: center;
		overflow: hidden;
	}

	.common_img > .container {
		width: 100%;
		max-width: 100%;
		padding-left: 12px;
		padding-right: 12px;
		overflow: hidden;
	}

	.common_img > .container > .row {
		height: auto;
		margin-left: 0;
		margin-right: 0;
	}

	.common_img .col-sm-3,
	.common_pro {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box;
	}

	.common_pro {
		height: auto;
		padding: 12px;
		border-radius: 8px;
		overflow: hidden;
	}

	.common_pro > ul {
		width: 100%;
	}

	.common_pro ul li {
		padding: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.common_pro ul li > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px 10px;
		font-size: 15px;
	}

	.common_pro ul li > a span.common_pro_arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		width: 32px;
		height: 32px;
		margin-left: 8px;
	}

	.common_pro ul li > a span.common_pro_arrow img {
		width: 12px;
		height: auto;
		transform: rotate(90deg);
		transition: transform .2s;
	}

	.showRight.active > a span.common_pro_arrow img {
		transform: rotate(-90deg);
	}

	.common_search {
		margin-top: 12px;
	}

	.common_search input {
		font-size: 14px;
		padding: 10px 0 10px 10px;
	}

	/* 子分类折叠 */
	.container_right,
	[class^="container_right"] {
		display: none;
		position: static !important;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		box-shadow: none !important;
		background: rgba(255, 255, 255, 0.96) !important;
		padding: 0 !important;
		margin: 0 !important;
		border-radius: 0 0 6px 6px;
		overflow: hidden;
		box-sizing: border-box;
	}

	.container_right.is_open {
		display: block !important;
	}

	.container_right_item,
	[class*="container_right_item"] {
		padding: 10px 14px !important;
		border-bottom: 1px solid #f0f0f0;
	}

	.container_right_item_a,
	[class*="container_right_item_a"] {
		color: #333 !important;
		font-size: 14px;
	}

	.showRight.active > a {
		color: #003F71 !important;
		background: rgba(255, 255, 255, 0.08);
	}

	/* 页面标题 */
	.floor_title {
		margin-top: 30px;
		margin-bottom: 20px;
		font-size: 18px;
		padding: 0 15px;
	}

	/* 面包屑 */
	.crumbs {
		width: auto !important;
		max-width: 100%;
		padding: 0 15px;
		margin-top: 15px !important;
		margin-bottom: 10px;
		font-size: 13px;
		line-height: 1.6;
		word-break: break-all;
		box-sizing: border-box;
	}

	/* 首页轮播 */
	.floor2 {
		overflow: hidden;
	}

	.floor2 > .row {
		margin-left: 0;
		margin-right: 0;
	}

	.swiper-container {
		height: auto;
		min-height: 0;
		padding: 0 28px;
		box-sizing: border-box;
	}

	.swiper-slide {
		display: flex !important;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		height: auto !important;
		min-height: 0;
		padding: 10px 8px 12px;
		box-sizing: border-box;
	}

	.swiper-slide > a {
		order: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 120px;
		margin: 0;
		overflow: hidden;
	}

	.swiper-slide img {
		width: auto !important;
		height: auto !important;
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		object-position: center;
	}

	.swiper-slide > p {
		order: 2;
		position: static;
		margin: 10px 0 0;
		font-size: 13px;
		line-height: 1.4;
		padding: 0;
		white-space: normal;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		min-height: 36px;
	}

	.swiper-button-prev,
	.swiper-button-next {
		transform: scale(0.65);
		margin-top: -28px;
	}

	.floor2_row2 {
		padding: 0 15px;
	}

	.floor2_row2 h2 {
		font-size: 22px;
	}

	.floor3_l,
	.floor3_r {
		visibility: visible !important;
		width: 100% !important;
		float: none !important;
		padding-left: 15px;
		padding-right: 15px;
		box-sizing: border-box;
	}

	.floor3_l {
		margin-bottom: 15px;
	}

	.floor3_l img {
		width: 100%;
		height: auto !important;
		border-radius: 8px;
		object-fit: contain;
		object-position: center;
	}

	.floor3_r {
		padding: 0 15px 10px;
	}

	.floor3_r p {
		padding-bottom: 20px;
		line-height: 1.8;
		font-size: 14px;
		color: #666;
	}

	.floor3_r a {
		display: inline-block;
		padding: 8px 24px;
	}

	/* 价格资讯 */
	.floor4 {
		margin-bottom: 40px;
	}

	.floor4 .row {
		margin-left: 0;
		margin-right: 0;
	}

	.floor4_row1_l,
	.floor4_r {
		width: 100% !important;
		float: none !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		box-sizing: border-box;
	}

	.floor4_r {
		margin-top: 10px;
		height: auto !important;
		line-height: normal !important;
	}

	.floor4_ul > li {
		display: flex;
		align-items: flex-start;
		overflow: hidden;
		padding-bottom: 14px;
		margin-top: 18px !important;
	}

	.floor4_ul > li::after {
		display: none;
	}

	.floor4_ul .data {
		float: none;
		flex-shrink: 0;
		width: 58px;
		padding-right: 12px;
		border-right: 2px solid #e2e2e2;
	}

	.floor4_ul .data h4 {
		font-size: 20px;
	}

	.floor4_ul .data p {
		font-size: 12px;
	}

	.floor4_ul .news {
		float: none;
		width: auto;
		flex: 1;
		min-width: 0;
		padding-left: 12px;
		margin-top: 0;
	}

	.floor4_ul .news a {
		white-space: normal;
		line-height: 1.5;
		font-size: 14px;
	}

	.floor4_ul .news p {
		-webkit-line-clamp: 2;
		line-height: 1.6;
		font-size: 13px;
	}

	/* 产品列表 */
	.floor1_ul > li,
	.floor2_ul > li {
		width: 48% !important;
		margin: 0 1% 15px !important;
		height: auto !important;
	}

	.floor1_ul > li div,
	.floor2_ul > li div {
		height: 160px !important;
		line-height: normal !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		padding: 8px;
		box-sizing: border-box;
	}

	.floor1_ul > li img,
	.floor2_ul > li img {
		width: auto !important;
		height: auto !important;
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		object-position: center;
	}

	.floor1_ul > li p,
	.floor2_ul > li p {
		font-size: 13px;
		line-height: 1.4;
		padding: 0 5px;
	}

	/* 产品详情 */
	.floor1 {
		margin-top: 20px;
	}

	.floor1_l {
		width: 100%;
		height: 280px;
		margin: 0 auto 20px;
		float: none;
	}

	.floor1_r {
		width: 100%;
		padding-left: 15px !important;
		padding-right: 15px;
		float: none;
	}

	.floor1_r > h4,
	.floor1_r > h4.proinfo-title {
		font-size: 16px;
	}

	.floor1_row2 {
		padding: 0 15px;
	}

	.floor1_row2 img {
		max-width: 100% !important;
		height: auto !important;
	}

	/* 新闻列表 */
	.news_item {
		width: 100% !important;
		float: none !important;
		padding: 15px;
		margin-bottom: 0;
		box-sizing: border-box;
	}

	.news_info {
		display: flex !important;
		flex-direction: column;
		position: relative;
		height: auto;
		min-height: 0;
	}

	.news_info h4 {
		font-size: 16px;
		line-height: 1.5;
		margin: 0 0 8px;
	}

	.news_info h4 a {
		color: #333;
	}

	.news_info div {
		position: static;
		height: auto;
		margin: 0 0 8px;
		justify-content: flex-start;
	}

	.news_info h6 {
		color: #999;
		font-size: 12px;
		margin: 0;
	}

	.news_info p {
		margin: 0 0 10px;
		font-size: 13px;
		line-height: 1.6;
		color: #666;
	}

	.news_info > a {
		display: inline-block;
		width: auto;
		min-width: 88px;
		margin: 0;
		padding: 6px 14px;
		font-size: 13px;
	}

	.floor1 > .row > .pagination,
	.floor1 > .row > ul.pagination {
		width: 100%;
		clear: both;
		padding: 0 15px;
		box-sizing: border-box;
	}

	/* 新闻详情 */
	.title {
		margin: 25px 0 20px;
		padding: 0 15px;
	}

	.title > h4 {
		font-size: 18px;
		line-height: 1.5;
		word-break: break-word;
	}

	.row1 {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.row1 > a {
		float: none;
		align-self: flex-end;
		margin-right: 0;
	}

	.row3 {
		height: auto;
		padding: 15px;
	}

	.row3 p {
		padding-left: 0;
		line-height: 1.6;
		word-break: break-all;
	}

	/* 关于我们 / 联系页面 */
	.about_txt {
		padding: 0 15px;
	}

	.about_txt p {
		line-height: 1.8;
	}

	.about_txt img,
	.about_img img {
		max-width: 100% !important;
		width: 100%;
		height: auto !important;
		display: block;
		margin: 0 auto 10px;
		object-fit: contain;
		object-position: center;
	}

	.contact_ul {
		display: none !important;
	}

	.m_contact {
		display: block !important;
		text-align: center;
		padding: 0 15px 20px;
	}

	.m_contact h3 {
		color: #003F71;
		font-weight: bold;
		margin-bottom: 15px;
	}

	.m_contact a {
		display: inline-block;
		min-width: 180px;
		padding: 10px 20px;
	}

	.floor1 img,
	.comtack_map img {
		max-width: 100%;
		height: auto;
	}

	.comtack_map {
		height: auto;
		margin-top: 30px;
	}

	/* 分页 */
	.pagination {
		text-align: center;
		padding: 10px 5px 30px;
		white-space: normal;
	}

	.pagination > li {
		display: inline-block;
		margin: 2px 1px;
	}

	.pagination > li > a,
	.pagination > li > span {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 30px;
		height: 30px;
		padding: 0 6px;
		font-size: 12px;
		line-height: 1;
		box-sizing: border-box;
	}

	/* 底部 */
	.footer1 .container {
		width: 100%;
		padding: 0 15px;
	}

	.footer2 {
		height: auto;
	}

	.footer2_ul {
		width: 100%;
		margin: 20px auto;
		text-align: center;
		padding: 0 10px;
		box-sizing: border-box;
	}

	.footer2_ul > li {
		float: none;
		display: inline-block;
		margin: 4px 0;
	}

	.footer2_row2 > div {
		text-align: center;
	}

	/* 移动端隐藏右侧微信浮窗，使用底部导航 */
	#service {
		display: none !important;
	}

	/* 底部导航 */
	.m_tabbar {
		display: flex;
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 56px;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: #003F71;
		z-index: 1000;
		box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
		box-sizing: content-box;
	}

	.m_tabbar_item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		color: #fff;
		border: none;
		background: transparent;
		padding: 6px 0 4px;
		text-decoration: none;
		font-size: 12px;
		line-height: 1;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.m_tabbar_item:active {
		opacity: 0.85;
	}

	.m_tabbar_icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 22px;
		height: 22px;
	}

	.m_tabbar_icon svg {
		width: 22px;
		height: 22px;
	}

	.m_tabbar_text {
		font-size: 12px;
	}

	.m_toast {
		display: block;
		position: fixed;
		left: 50%;
		bottom: calc(72px + env(safe-area-inset-bottom, 0px));
		transform: translateX(-50%) translateY(8px);
		max-width: 80%;
		padding: 10px 16px;
		background: rgba(0, 0, 0, 0.78);
		color: #fff;
		font-size: 14px;
		line-height: 1.4;
		text-align: center;
		border-radius: 8px;
		z-index: 10001;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
	}

	.m_toast.is_show {
		opacity: 1;
		visibility: visible;
		transform: translateX(-50%) translateY(0);
	}
}

@media screen and (max-width: 576px) {
	.floor1_ul > li,
	.floor2_ul > li {
		width: 100% !important;
		margin: 0 0 15px !important;
	}

	.floor1_ul > li div,
	.floor2_ul > li div {
		height: 200px !important;
		line-height: normal !important;
	}

	.common_r1 {
		display: none;
	}

	.proinfo-title {
		flex-direction: column;
		align-items: stretch !important;
		gap: 12px !important;
	}

	.floor1_r > h4 a.go_back {
		display: inline-block;
		align-self: flex-end;
		text-align: center;
	}
}
