/* 手机站样式：抽屉菜单（≤1300px）+ 手机端排版（≤768px）。PC 端不受影响。 */

/* 首页产品轮播的左右箭头在容器外（right: -40px），原来会让 PC 首页出现横向滚动条；≤1300 原本就有这条规则 */
body {
	overflow-x: hidden;
}

.m-drawer,
.m-mask,
.m-actionbar {
	display: none;
}

/* ========== 抽屉菜单（≤1300px，平板和手机共用） ========== */
@media screen and (max-width: 1300px) {
	.menu-btn {
		display: block;
		border: 0;
		background: none;
		padding: 0;
		cursor: pointer;
	}

	.menu-btn img {
		display: block;
		width: 30px;
	}

	.navs .child {
		display: none;
	}

	.m-drawer {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 86vw;
		max-width: 360px;
		background: #fff;
		z-index: 1001;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s, visibility .3s;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		line-height: normal;
	}

	body.m-drawer-open .m-drawer {
		transform: none;
		visibility: visible;
	}

	.m-mask {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0, 0, 0, .45);
		z-index: 1000;
		opacity: 0;
		pointer-events: none;
		transition: opacity .3s;
	}

	body.m-drawer-open .m-mask,
	body.m-sheet-open .m-mask {
		opacity: 1;
		pointer-events: auto;
	}

	body.m-drawer-open,
	body.m-sheet-open {
		overflow: hidden;
	}

	.m-drawer-head {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex: none;
		height: 56px;
		padding: 0 6px 0 16px;
		background: #97233F;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		letter-spacing: 1px;
	}

	.m-drawer-close {
		width: 44px;
		height: 44px;
		border: 0;
		background: none;
		color: #fff;
		font-size: 32px;
		line-height: 44px;
		cursor: pointer;
	}

	.m-drawer-list {
		flex: 1;
	}

	.m-drawer-row {
		display: flex;
		align-items: stretch;
		border-bottom: 1px solid #eee;
	}

	.m-drawer-row a {
		flex: 1;
		min-width: 0;
		display: block;
		padding: 13px 16px;
		font-size: 16px;
		line-height: 22px;
		color: #333;
		overflow-wrap: anywhere;
	}

	.m-drawer-toggle {
		flex: none;
		position: relative;
		width: 48px;
		border: 0;
		border-left: 1px solid #eee;
		background: none;
		cursor: pointer;
	}

	.m-drawer-toggle::before {
		content: '';
		position: absolute;
		left: 50%;
		top: 50%;
		width: 8px;
		height: 8px;
		border-right: 2px solid #97233F;
		border-bottom: 2px solid #97233F;
		transform: translate(-50%, -70%) rotate(45deg);
		transition: transform .2s;
	}

	.m-drawer-item.open > .m-drawer-row > .m-drawer-toggle::before {
		transform: translate(-50%, -30%) rotate(-135deg);
	}

	.m-drawer-sub {
		display: none;
		background: #f7f7f7;
	}

	.m-drawer-item.open > .m-drawer-sub {
		display: block;
	}

	.m-drawer-sub .m-drawer-row a {
		padding-left: 28px;
		font-size: 15px;
	}

	.m-drawer-sub .m-drawer-sub .m-drawer-row a {
		padding-left: 40px;
		font-size: 14px;
		color: #555;
	}

	.m-drawer-contact {
		flex: none;
		padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
		background: #97233F;
	}

	.m-drawer-contact a {
		display: flex;
		align-items: center;
		min-height: 44px;
		color: #fff;
		font-size: 14px;
		overflow-wrap: anywhere;
	}

	.m-drawer-contact img {
		width: 16px;
		margin-right: 4px;
	}

	/* 769–1300：内页 banner 文字宽度跟随屏幕 */
	.product-banners .banner_text {
		width: 100%;
		padding: 0 20px;
	}
}

/* ========== 手机端（≤768px） ========== */
@media screen and (max-width: 768px) {
	/* ---- 顶部 ---- */
	.top {
		display: none;
	}

	.header-box {
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index: 200;
		height: 56px;
		line-height: 56px;
	}

	.header-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 56px;
		padding: 0 12px;
	}

	.header-content .logo {
		display: block;
		width: auto;
		max-width: 60vw;
		max-height: 40px;
	}

	/* ---- 底部操作条（替代右侧悬浮按钮和 Get Free Quote） ---- */
	.sidebtn,
	.fast {
		display: none !important;
	}

	body {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}

	.m-actionbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		height: calc(56px + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		background: #fff;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
	}

	.m-act {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		border: 0;
		background: #fff;
		color: #333;
		font-size: 12px;
		line-height: 16px;
		cursor: pointer;
	}

	.m-act img {
		width: 24px;
		height: 24px;
		margin-bottom: 3px;
		padding: 3px;
		border-radius: 50%;
		background: #97233F;
	}

	.m-act-quote {
		flex: 1.4;
		background: #97233F;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
	}

	/* ---- 询价表单：从底部弹出 ---- */
	.quote {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		max-height: 85vh;
		overflow-y: auto;
		z-index: 1001;
		border-radius: 16px 16px 0 0;
		padding-bottom: env(safe-area-inset-bottom);
		box-shadow: 0 -4px 20px rgba(0, 0, 0, .2);
	}

	.quote .close {
		position: absolute;
		right: 4px;
		top: 4px;
		width: 44px;
		height: 44px;
		padding: 0;
		transform: none;
		text-align: center;
	}

	.quote .close img {
		display: inline-block;
	}

	.quote .qtit {
		padding: 18px 52px 0 16px;
	}

	.quote .fills {
		padding: 16px;
	}

	.quote .fills input {
		height: 44px;
		line-height: 44px;
		font-size: 16px;
	}

	.quote .fills button {
		height: 46px;
		margin-top: 16px;
		background: #97233F;
		border-color: #97233F;
		color: #fff;
	}

	/* ---- 内页 banner ---- */
	.product-banners {
		height: 180px;
		overflow: hidden;
	}

	.product-banners img {
		height: 100%;
		object-fit: cover;
	}

	.product-banners .banner_text {
		padding: 0 16px;
	}

	.product-banners .banner_text h1,
	.product-banners .banner_text h2 {
		font-size: 26px;
		line-height: 1.25;
		overflow-wrap: anywhere;
	}

	.product-banners .banner_text p {
		display: none;
	}

	/* ---- 面包屑 ---- */
	.crumb-content {
		height: auto;
		padding: 0 16px;
	}

	.crumb-left {
		min-width: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* ---- 通用：长单词换行、后台富文本不撑破页面 ---- */
	h1, h2, h3, h4, p, a, li, span {
		overflow-wrap: break-word;
	}

	.news-detail .content,
	.pro-in-p,
	.product-details {
		text-align: left;
	}

	.news-detail .content *,
	.pro-in-p *,
	.product-details * {
		max-width: 100%;
		text-align: left !important;
	}

	.news-detail .content img,
	.pro-in-p img,
	.product-details img,
	.news-detail .content video,
	.pro-in-p video,
	.product-details video {
		height: auto;
	}

	/* iframe 没有固有宽高比，height:auto 会塌成 150px，按常见视频比例显示 */
	.news-detail .content iframe,
	.pro-in-p iframe,
	.product-details iframe {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.news-detail .content table,
	.pro-in-p table,
	.product-details table {
		display: block;
		width: auto !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* ---- 页脚 ---- */
	.footer .foot .cont ul li {
		width: 100%;
		float: none;
		margin: 0 0 24px;
	}

	.footer .lxinfo p a {
		min-height: 36px;
	}

	.footer .foot .lks {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
	}

	.footer .foot .lka {
		float: none;
		width: auto;
		padding: 8px 0 8px 14px;
		line-height: 20px;
		background-position: left 14px;
	}

	.footer .lxinfo p:first-child a {
		padding: 4px;
	}

	.Copyright .bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.Copyright .footer-1,
	.Copyright .footer-2 {
		padding-right: 0;
	}
}

/* ========== 手机端首页（≤768px） ========== */
@media screen and (max-width: 768px) {
	/* ---- banner：固定比例，不变形 ---- */
	.banner {
		height: auto;
	}

	.banner .ban_sw img,
	.banner .ban_sw video {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 5;
		object-fit: cover;
	}

	.banner-content {
		height: auto;
		padding: 28px 20px;
	}

	.banner-content .banner-title-1 {
		font-size: 28px;
		line-height: 1.2;
	}

	.banner-content .banner-title-2 {
		width: 100%;
		padding-top: 14px;
		font-size: 15px;
		line-height: 1.5;
	}

	.banner-btn {
		display: flex;
		justify-content: flex-start;
		gap: 12px;
	}

	.banner-content .banner-btn a {
		width: auto;
		flex: 1;
		height: 44px;
		margin-top: 20px;
		margin-left: 0;
		font-size: 14px;
		line-height: 44px;
	}

	.banner-img .swiper-pagination {
		bottom: 16px;
	}

	.banner-img .swiper-pagination-bullet {
		width: 28px;
		height: 6px;
		margin-right: 8px;
	}

	/* ---- 各区块标题 ---- */
	.product-list {
		padding: 40px 16px 0 !important;
	}

	.product-list h2 {
		padding-top: 0;
		font-size: 24px;
		letter-spacing: 0;
	}

	.product-list .product-list-title {
		padding: 8px 0 20px;
		font-size: 15px;
		line-height: 1.5;
	}

	/* ---- 产品分类轮播：一屏约 1.2 张 ---- */
	.product-swiper {
		height: auto;
	}

	.swiper-slide-top {
		height: 140px;
	}

	.swiper-slide-top h2 {
		padding-top: 36px;
		font-size: 26px;
	}

	.swiper-slide-bottom {
		padding: 14px;
	}

	.swiper-slide-bottom p {
		height: 66px;
		padding: 0;
		font-size: 14px;
		line-height: 22px;
	}

	.swiper-slide-bottom .flex-1 {
		width: auto;
		height: 26px;
		margin-top: 12px;
		font-size: 14px;
	}

	/* ---- 关于我们：上下堆叠 ---- */
	.about-us {
		width: auto;
		height: auto;
	}

	.about-us .product-list-title {
		width: auto;
		font-size: 16px;
		line-height: 1.5;
	}

	.about-us .about-height {
		display: none;
	}

	.about-us .about-us-box {
		position: static;
		width: auto;
	}

	.about-us-box p {
		padding: 18px;
		font-size: 15px;
		line-height: 1.7;
	}

	.about-us-btn {
		display: flex;
		gap: 12px;
		padding-top: 20px;
	}

	.about-us-btn a {
		flex: 1;
		width: auto;
		height: 44px;
		margin-right: 0;
		line-height: 44px;
	}

	.about-us .about-us-img {
		position: static;
		display: block;
		width: 100%;
		height: auto;
		margin-top: 20px;
	}

	/* ---- 广告条：背景图正常显示（手机不支持 background-attachment: fixed） ---- */
	.ind_part5 {
		height: auto;
		margin-top: 40px;
		padding: 40px 20px;
		background-attachment: scroll;
		background-size: cover;
	}

	.ind_part5 .ind_tit,
	.ind_part5 .ind_tit_p {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.ind_part5 .ind_tit {
		margin-bottom: 14px;
		font-size: 24px;
		line-height: 1.3;
	}

	.ind_part5 .ind_tit_p {
		font-size: 15px;
		line-height: 1.6;
	}

	.ind_part5 .ind_tit_btn {
		padding-top: 24px;
	}

	.ind_part5 .ind_tit_btn a {
		width: auto;
		height: 44px;
		padding: 0 28px;
		font-size: 15px;
		line-height: 44px;
	}

	/* ---- 项目案例：横向滑动的标签 + 两列图片 ---- */
	.sy_project .cont {
		min-width: 0;
	}

	.sy_project .snav {
		float: none;
		width: 100%;
		padding: 0;
		border-right: 0;
		text-align: left;
	}

	.sy_project .snav .tabs {
		display: flex;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 12px;
	}

	.sy_project .snav button {
		flex: none;
		width: auto;
		margin: 0 8px 0 0;
		padding: 0 16px;
		border: 1px solid #ddd;
		border-radius: 18px;
		font-size: 14px;
		line-height: 36px;
		text-align: center;
		white-space: nowrap;
	}

	.sy_project .snav button.on {
		border-color: #97233F;
		background: #97233F;
		color: #fff;
	}

	.sy_project .swbox {
		float: none;
		width: 100%;
	}

	.sy_project .item {
		width: calc(50% - 6px);
		margin: 0 0 12px;
	}

	.sy_project .item:nth-child(odd) {
		margin-right: 12px;
	}

	/* ---- 客户感言：上下堆叠 ---- */
	.customer-photo {
		height: auto;
		padding-bottom: 20px;
		background-size: cover;
	}

	.customer-photo .content-bigs {
		padding: 0 16px;
	}

	.customer-photo-tall .swiper-slide {
		flex-direction: column;
	}

	.customer-photo .customer-left {
		display: flex;
		width: 100%;
	}

	.customer-photo .customer-left p {
		flex: 1;
		display: flex;
		align-items: center;
		padding: 16px;
		font-size: 20px;
	}

	.customer-photo .customer-left img {
		width: 120px;
		height: 120px;
		object-fit: cover;
	}

	.customer-photo .customer-right {
		width: 100%;
		padding-top: 16px;
	}

	.customer-photo .customer-right .customer-right-title {
		width: 100%;
		font-size: 22px;
		text-align: center;
	}

	.customer-photo .customer-right .customer-right-p {
		padding-top: 8px;
		font-size: 14px;
		line-height: 1.5;
	}

	.customer-right-box {
		height: auto;
		margin-top: 16px;
		padding: 0;
	}

	.customer-right-box p {
		padding: 16px;
		font-size: 14px;
		line-height: 1.7;
	}

	.customer-photo-tall .swiper-button-prev,
	.customer-photo-tall .swiper-button-next {
		display: none;
	}

	.customer-item {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px;
		padding-top: 20px;
	}

	.customer-item img {
		width: 100%;
		height: auto;
		margin: 0;
	}

	/* ---- 新闻：纵向排列 ---- */
	.sy_blog {
		padding-bottom: 40px;
	}

	.sy_blog .conts {
		flex-direction: column;
		align-items: stretch;
	}

	.sy_blog .left {
		width: 100%;
		height: auto;
		padding: 24px 20px;
	}

	.sy_blog .left h3 {
		margin-bottom: 20px;
		padding-bottom: 16px;
		font-size: 24px;
		line-height: 1.3;
	}

	.sy_blog .left p {
		margin-bottom: 20px;
		font-size: 15px;
		line-height: 1.6;
	}

	.sy_blog .right {
		float: none;
		width: 100%;
	}

	.sy_blog .line,
	.sy_blog .line.reverse {
		flex-direction: column;
		height: auto;
		margin-top: 16px;
		padding: 0;
	}

	.sy_blog .line .photo {
		float: none;
		height: auto;
	}

	.sy_blog .line .photo img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}

	.sy_blog .line .words,
	.sy_blog .line.reverse .words {
		float: none;
		height: auto;
		margin: 0;
		padding: 16px;
	}

	.sy_blog .line .name {
		width: 100%;
		font-size: 16px;
		line-height: 1.4;
		white-space: normal;
	}

	.sy_blog .line .desc {
		height: auto;
		margin: 8px 0;
		font-size: 14px;
		line-height: 1.6;
	}

	.sy_blog .line .time {
		width: 100%;
		font-size: 13px;
		text-align: left;
	}
}

/* ========== 手机端内页（≤768px） ========== */
.m-cat-toggle {
	display: none;
}

@media screen and (max-width: 768px) {
	/* ---- 产品分类页：产品列表在上（两列），目录收起成按钮，表单在列表后 ---- */
	.produce-item {
		display: flex;
		flex-direction: column;
		padding: 16px 16px 40px;
	}

	.produce-item .product-left,
	.produce-item .product-right {
		display: contents;
	}

	.m-cat-toggle {
		order: 1;
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 46px;
		padding: 0 16px;
		border: 0;
		background: #97233F;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		text-transform: uppercase;
		cursor: pointer;
	}

	.m-cat-toggle::after {
		content: '';
		width: 8px;
		height: 8px;
		border-right: 2px solid #fff;
		border-bottom: 2px solid #fff;
		transform: translateY(-3px) rotate(45deg);
		transition: transform .2s;
	}

	.m-cat-toggle.open::after {
		transform: translateY(2px) rotate(-135deg);
	}

	.produce-item .m-cat-list {
		order: 2;
		display: none;
		width: 100%;
		margin: 0;
	}

	.produce-item .m-cat-list.open {
		display: block;
	}

	.produce-item .m-cat-list dt {
		display: none;
	}

	.produce-item .product-rights {
		order: 3;
		width: 100%;
		padding: 0 !important;
	}

	.produce-item .product-form {
		order: 4;
		width: 100%;
		margin-top: 24px;
	}

	.produce-item .related {
		padding-top: 20px;
		font-size: 24px !important;
		line-height: 1.3;
	}

	.length-line {
		margin-bottom: 16px;
	}

	.product-rights .product-right-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.product-rights .product-right-list .product-right-item {
		max-width: none;
		margin: 0;
	}

	.product-rights .product-right-list .product-right-item img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		padding: 6px;
		object-fit: cover;
	}

	.product-rights .product-right-list .product-right-item p {
		overflow-wrap: anywhere;
		padding: 4px 8px 10px;
		font-size: 14px;
		line-height: 1.4;
	}

	.product-rights .product-right-list .product-right-item .icon {
		display: none !important;
	}

	/* 分类页底部广告条、相关新闻 */
	.aboutBanner .adver-img {
		height: 120px;
		object-fit: cover;
	}

	.content-big > .related {
		padding: 30px 16px 10px;
		font-size: 22px;
	}

	.news-list {
		padding: 0 16px;
	}

	/* ---- 产品详情页 ---- */
	.product-top {
		padding: 16px;
	}

	.productSwiper-box {
		width: 100%;
		height: auto;
	}

	.productSwiper img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		object-fit: cover;
	}

	.product-info-footer {
		gap: 12px;
	}

	.product-info-enquire {
		flex: 1;
		width: auto;
		height: 44px;
	}

	.product-box {
		padding: 0 16px;
	}

	.product-details td,
	.product-details th {
		min-width: 80px;
		word-break: normal;
		overflow-wrap: normal;
	}

	.product-carbon-pic {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.product-carbon-pic li,
	.product-carbon-pic li.active {
		width: auto;
		height: 160px;
	}

	.product-carbon-pic li img {
		width: 100%;
		height: 160px;
	}

	.product-carbon-pic li .start {
		display: block;
		position: absolute;
		left: 50%;
		top: 50%;
		width: 56px;
		height: 56px;
		transform: translate(-50%, -50%);
	}

	.fiexd-video {
		width: 92vw;
		height: auto;
		padding-top: 44px;
		z-index: 1002;
	}

	.fiexd-video video {
		display: block;
		width: 100% !important;
		height: auto !important;
	}

	.fiexd-video .close {
		top: 22px;
		right: 0;
		padding: 0 14px;
		line-height: 44px;
		transform: none;
	}

	/* ---- 联系页：卡片单列，表单在图片下方 ---- */
	.contact-list .item {
		width: 100%;
		height: auto;
		padding-bottom: 16px;
	}

	.join-us {
		flex-direction: column;
		height: auto;
	}

	.join-us img {
		width: 100%;
		height: 180px;
		object-fit: cover;
	}

	.join-us .fills-t .send {
		font-size: 18px;
	}

	/* ---- 项目分类页：图片在上、文字在下 ---- */
	.product_tabContent {
		padding: 0 16px;
	}

	.product_tabContent .item {
		flex-direction: column;
		margin-bottom: 20px;
	}

	.product_tabContent .item .item-left {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}

	.product_tabContent .item .item-right {
		width: 100%;
		padding: 16px 16px 18px;
	}

	.product_tabContent .item .item-right .titles {
		font-size: 18px;
		line-height: 1.4;
	}

	.product_tabContent .item .item-right .line {
		margin: 10px 0 14px;
	}

	.product_tabContent .item .item-right p {
		height: auto;
		word-break: normal;
		font-size: 14px;
		line-height: 1.6;
	}

	.product_tabContent .item .item-right .mores {
		margin-top: 14px;
	}

	/* ---- 关于我们：选择我们的理由改为上下排列 ---- */
	.about-img {
		background-size: 100% 240px;
	}

	.about-show {
		width: auto;
		height: auto;
		margin: 24px 16px 0;
		padding: 12px;
	}

	.about-show ul {
		flex-direction: column;
		gap: 12px;
	}

	.about-show li,
	.about-show li.on {
		width: 100%;
		height: 200px;
	}

	.about-show li img,
	.about-show li.on img {
		width: 100%;
		height: 200px;
		object-fit: cover;
	}

	.about-show li .about-sow {
		display: none;
	}

	.about-show li .about-hide,
	.about-show li.on .about-hide {
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		padding: 40px 14px 14px;
		background: linear-gradient(transparent, rgba(0, 0, 0, .7));
	}

	.about-show li .about-hide h2,
	.about-show li.on .about-hide h2 {
		margin-bottom: 8px;
		padding: 0 0 8px;
		border-bottom: 1px solid #fff;
		color: #fff;
		font-size: 18px;
	}

	.about-show li .about-hide p,
	.about-show li.on .about-hide p {
		padding: 0;
		color: #fff;
		font-size: 13px;
		line-height: 1.5;
	}

	/* ---- 新闻详情：取消两端对齐造成的大空隙 ---- */
	.news-detail {
		padding: 0 16px;
	}

	.news-detail .content p {
		text-align: left !important;
	}
}
