/* 全站手机端自适应：防横向溢出、图片/表格/区块随屏宽缩放 */
@media screen and (max-width: 768px) {
	html, body {
		max-width: 100%;
		overflow-x: hidden;
		-webkit-text-size-adjust: 100%;
	}

	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}

	img,
	video,
	iframe,
	embed,
	object,
	svg {
		max-width: 100% !important;
		height: auto !important;
	}

	iframe {
		width: 100% !important;
	}

	table {
		width: 100% !important;
		max-width: 100% !important;
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.container,
	.container-fluid {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 12px;
		padding-right: 12px;
	}

	.row {
		margin-left: -8px;
		margin-right: -8px;
	}

	.row > [class*="col-"] {
		padding-left: 8px;
		padding-right: 8px;
	}

	/* Banner */
	.flash,
	.flash .bx-wrapper,
	.flash .bx-viewport,
	.flash ul.bxslider,
	.flash ul.bxslider li,
	.flash img {
		width: 100% !important;
		max-width: 100% !important;
	}

	.flash .bx-wrapper {
		margin-bottom: 0 !important;
	}

	/* Logo */
	header .logo {
		display: block;
		margin: 8px auto;
		max-width: min(240px, 70vw);
		height: auto;
	}

	/* 顶栏社媒：小屏只留图标 */
	.top_menu .top_name {
		display: none;
	}

	.top_menu .container.top_menu_inner,
	.top_menu_inner {
		justify-content: flex-end;
	}

	/* 首页 About / Adv / News 标题字号 */
	.about_p {
		font-size: clamp(18px, 5.5vw, 24px);
		line-height: 1.35;
		word-break: break-word;
	}

	.about_content,
	.about_content * {
		max-width: 100% !important;
		word-wrap: break-word;
		overflow-wrap: anywhere;
	}

	.about_content img,
	.right_contents img,
	.product_con img,
	.photo_con img,
	.blog_inner img {
		max-width: 100% !important;
		height: auto !important;
		display: block;
	}

	.all_title,
	.new_title2 {
		font-size: clamp(20px, 6vw, 26px);
		line-height: 1.3;
		padding: 0 8px;
		word-break: break-word;
	}

	.all_tdesc {
		width: 100% !important;
		font-size: 14px;
		padding: 0 4px;
	}

	/* 产品分类标签横向可滚，避免挤爆 */
	.product_sort {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		float: none !important;
		width: 100% !important;
	}

	.advantage_col {
		width: auto !important;
		float: none !important;
		padding: 0 !important;
		flex: 0 0 auto;
	}

	.advantage_col p {
		min-width: 64px;
		padding: 0 10px;
	}

	.iproduct_title {
		width: 100% !important;
		float: none !important;
		font-size: clamp(22px, 6vw, 28px);
	}

	/* 新闻卡片固定 360 宽 → 全宽 */
	.news_box {
		width: 100%;
		margin: 12px 0;
	}

	.news_box .blog_img {
		width: 100% !important;
		max-width: 100% !important;
	}

	.news_box img {
		width: 100%;
		height: auto;
	}

	.news_title a {
		font-size: 16px;
		word-break: break-word;
	}

	.news_btn {
		right: 12px;
		width: 40px;
		height: 40px;
		font-size: 24px;
		padding: 2px 0;
	}

	/* 页脚四列 → 单列 */
	footer .footer .col-md-3,
	footer .footer .col-sm-6 {
		width: 100% !important;
		float: none !important;
		margin-bottom: 22px;
	}

	footer .logo1 {
		max-width: 180px;
		height: auto;
	}

	footer .foot-img {
		width: 100px !important;
		height: 100px !important;
	}

	.footer-bar {
		font-size: 12px;
		line-height: 1.6;
		word-break: break-word;
		padding: 10px 4px;
		margin-bottom: 0;
	}

	.footer-bar p {
		font-size: 12px;
	}

	/* 内页左右栏（不覆盖 col-xs-* 产品双列） */
	.left_box,
	.right_box {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
	}

	.row > .col-md-3:not([class*="col-xs"]),
	.row > .col-md-9:not([class*="col-xs"]),
	.row > .col-sm-3:not([class*="col-xs"]),
	.row > .col-sm-9:not([class*="col-xs"]) {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
	}

	/* 产品详情图/信息 */
	.showpic_box,
	.proinfo_box {
		width: 100% !important;
		float: none !important;
		margin: 12px 0 !important;
	}

	.showpic_flash img,
	.showpic_box img {
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

	.product_h1 {
		font-size: 16px;
		line-height: 1.4;
		word-break: break-word;
	}

	.product_con,
	.photo_con,
	.right_contents {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		word-wrap: break-word;
	}

	/* 表单全宽 */
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="number"],
	input[type="password"],
	select,
	textarea,
	.form-control {
		max-width: 100% !important;
		width: 100% !important;
	}

	/* 联系/询盘等内联宽 */
	.contact-wrapper,
	.feedback,
	.inquire_box {
		max-width: 100%;
		overflow-x: hidden;
	}

	/* Adv 区块 */
	.adv {
		padding: 18px 14px 28px;
	}

	.adv_title a {
		white-space: normal !important;
		font-size: 16px;
		word-break: break-word;
	}

	.adv img {
		width: 72px;
	}

	/* 分页 */
	.page {
		text-align: center;
		padding: 8px 0;
	}

	.page a,
	.page .current {
		margin: 2px;
	}

	/* 避免长链接撑破 */
	a {
		word-break: break-word;
	}

	/* 侧栏客服：小屏缩小触控区，不挡内容 */
	.side_contact {
		transform: scale(0.92);
		transform-origin: right center;
	}
}

@media screen and (max-width: 480px) {
	.container,
	.container-fluid {
		padding-left: 10px;
		padding-right: 10px;
	}

	.product_img img {
		max-height: 130px;
	}

	.iproduct_btn {
		width: 100%;
		max-width: 220px;
		height: 44px;
		line-height: 44px;
		font-size: 15px;
		margin-top: 24px;
	}

	.about_btn {
		width: 100%;
		max-width: 180px;
	}

	.new_title1 {
		letter-spacing: 2px;
		font-size: 14px;
	}
}
