	html {
		width: 100%;
		-webkit-text-size-adjust: 100%;
	}

	body {
		width: 100%;
		max-width: 100vw;
		position: relative;
		overflow-x: hidden;
	}

	/* 确保所有容器不超出视口 */
	* {
		max-width: 100%;
		box-sizing: border-box;
	}

	@media (min-width: 980px) and (max-width: 1600px) {

		/* 主容器自适应宽度 */
		.ww {
			width: 95% !important;
			max-width: 1360px !important;
			padding-left: 20px;
			padding-right: 20px;
		}

		/* 导航栏自适应 */
		.header .hbox {
			width: 95% !important;
			max-width: 1360px !important;
		}

		.header .hlogo .hlbox img {
			max-height: 30px !important;
		}

		#searchword {
			max-width: 190px !important;
		}

		.hsearch .layui-form {
			margin-left: 20px !important;
		}


		.commenu ul li ul,
		.hsearch ul li ul {
			max-width: 900px;
		}
	}

	.fancybox-bg,
	.fancybox-overlay,
	.fancybox-overlay::before,
	.fancybox__backdrop,
	.fancybox__container,
	.fancybox-slide,
	.fancybox-inner {
		background: rgba(0, 0, 0, 0.5) !important;
		background-color: rgba(0, 0, 0, 0.5) !important;
	}

	/* Set semi-transparent backdrop color with 50% opacity */
	.fancybox-bg[style],
	.fancybox-overlay[style],
	.fancybox__backdrop[style] {
		background-color: rgba(0, 0, 0, 0.5) !important;
	}

	.cart-active {
		background-color: #111;
	}

	/* cart-active时a标签背景为黑色，图标为白色 */
	.product-add-to-cart.cart-active {
		background: #111 !important;
		color: #fff !important;
	}

	.product-add-to-cart.cart-active i {
		color: #fff !important;
	}

	.product-copy-to-compare.compare-active {
		background: #111 !important;
		color: #fff !important;
	}

	.product-copy-to-compare.compare-active i {
		color: #fff !important;
	}


	/* 产品项悬停时显示购物车和对比按钮 */
	.cplist-box .cpitem:hover .comp-ico-cart,
	.cplist-box .cpitem:hover .comp-ico-copy,
	.cplist-box .cpitem.cart-item-active .comp-ico-cart,
	.cplist-box .cpitem.compare-item-active .comp-ico-copy {
		opacity: 1 !important;
	}

	/* 默认隐藏购物车和对比按钮 */
	.cplist-box .cpitem .comp-ico-cart,
	.cplist-box .cpitem .comp-ico-copy {
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	/* 只对对比按钮添加悬停效果 */
	.product-copy-to-compare:hover {
		transition: transform 0.2s ease;
		background: #111 !important;
	}

	.product-copy-to-compare:hover i {
		color: #fff !important;
	}

	/* 购物车按钮hover变黑色 */
	/* 购物车按钮hover时a标签背景变黑色，图标变白色 */
	.product-add-to-cart:hover {
		background: #111 !important;
		transition: background 0.2s;
	}

	.product-add-to-cart:hover i {
		color: #fff !important;
		transition: color 0.2s;
	}

	/* 筛选器样式 */
	.filter-actions {
		text-align: center;
	}

	.clear-all-filters:hover {
		background-color: #e0e0e0;
		transition: background-color 0.3s ease;
	}

	/* 筛选结果高亮 */
	.cplist-box .cpitem {
		transition: opacity 0.3s ease;
	}

	.cplist-box .cpitem:not([style*="display: none"]) {
		opacity: 1;
	}

	.video-modal {
		position: fixed;
		z-index: 9999;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.8);
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.video-modal-content {
		position: relative;
		background-color: transparent;
		padding: 0;
		border-radius: 0;
		width: 95%;
		height: 95%;
		max-width: 1200px;
		max-height: 800px;
	}

	.close-video {
		position: absolute;
		top: -10px;
		right: -10px;
		color: #fff;
		font-size: 30px;
		font-weight: bold;
		cursor: pointer;
		background-color: #ff0000;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 10000;
	}

	.close-video:hover {
		background-color: #cc0000;
	}

	.video-container {
		position: relative;
		width: 100%;
		height: 100%;
	}

	.video-container iframe {
		width: 100%;
		height: 100%;
		min-height: 500px;
		border: none;
		border-radius: 8px;
	}

	/* 响应式设计 */
	@media (max-width: 768px) {
		.video-modal-content {
			width: 98%;
			height: 90%;
			padding: 0;
			margin: 0;
		}

		.video-container iframe {
			min-height: 300px;
			border-radius: 4px;
		}
	}

	@media (max-width: 480px) {
		.video-modal-content {
			width: 100%;
			height: 85%;
		}

		.video-container iframe {
			min-height: 250px;
		}
	}

	.header {
		position: static;
	}

	.whatsapp-hover {
		position: relative;
		display: inline-block;
	}

	.whatsapp-hover .hover-image {
		position: absolute !important;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		background: white;
		padding: 10px;
		border-radius: 8px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		opacity: 0 !important;
		visibility: hidden !important;
		transition: all 0.3s ease;
		z-index: 1000;
		margin-top: 5px;
		display: block;
	}

	.whatsapp-hover:hover .hover-image {
		opacity: 1 !important;
		visibility: visible !important;
	}

	.whatsapp-hover .hover-image::before {
		content: '';
		position: absolute;
		top: -6px;
		left: 50%;
		transform: translateX(-50%);
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-bottom: 6px solid white;
	}

	.wechat-hover {
		text-decoration: none;
		transition: text-decoration 0.3s ease;
	}

	.wechat-hover:hover {
		text-decoration: underline;
	}

	td p {
		line-height: 250%;
	}

	/* 视频播放按钮样式 - 浮动在图片上 */
	.sp-watch-video {
		position: absolute;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		z-index: 10;
		bottom: 11%;
		left: 30%;
		background-color: #1767b2;
		padding: 6.5px 19px 6.5px 13px;
		color: #fff;
		font-weight: bold;
		font-size: 14px;
		line-height: 17px;
		border-radius: 10px;
		opacity: 0.6;
		text-transform: uppercase;
		border: none;
		cursor: pointer;
		transition: all 0.3s ease;
		gap: 8px;
	}

	.sp-watch-video:hover {
		opacity: 0.9;
	}

	.sp-watch-video .content-asset {
		display: flex;
		align-items: center;
	}

	.sp-watch-video .content-asset img {
		width: 24px;
		height: 24px;
		object-fit: contain;
	}

	.cprodetail-tab .bd .item::before {
		margin-top: 0px !important;
		height: 100%;
	}

	/* 社交媒体链接图标样式 */
	.social-link-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		background-color: #727171;
		border-radius: 50%;
		color: white;
		margin-left: 5px;
		text-decoration: none;
	}

	.social-link-icon i {
		font-size: 16px;
	}

	/* 对比按钮激活状态样式 */
	.product-copy-to-compare.compare-active {
		background-color: #1e9fff;
		color: white;
		border-radius: 3px;
	}

	.product-copy-to-compare.compare-active i {
		color: white;
	}

	/* 购物车按钮激活状态样式 */
	.product-add-to-cart.cart-active {
		opacity: 1;
		color: white;
		border-radius: 3px;
	}

	.product-add-to-cart.cart-active i {
		color: white;
	}

	/* 产品项悬停时显示购物车和对比按钮 */
	.cplist .cpitem:hover .comp-ico-cart,
	.cplist .cpitem:hover .comp-ico-copy,
	.cplist .cpitem.cart-item-active .comp-ico-cart {
		opacity: 1;
	}

	/* 默认隐藏购物车和对比按钮 */
	.cplist .cpitem .comp-ico-cart,
	.cplist .cpitem .comp-ico-copy {
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	/* 只对对比按钮添加悬停效果 */
	.product-copy-to-compare:hover {
		transform: scale(1.1);
		transition: transform 0.2s ease;
	}

	.product-add-to-cart:hover {
		transform: scale(1.1);
		transition: transform 0.2s ease;
	}

	/* 筛选器样式 */
	.filter-actions {
		text-align: center;
	}

	.clear-all-filters:hover {
		background-color: #e0e0e0;
		transition: background-color 0.3s ease;
	}

	/* 筛选结果高亮 */
	.cplist .cpitem {
		transition: opacity 0.3s ease;
	}

	.cplist .cpitem:not([style*="display: none"]) {
		opacity: 1;
	}

	/* 媒体弹窗样式 */
	.media-modal {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.8);
		z-index: 10000;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.media-modal-content {
		position: relative;
		background: white;
		border-radius: 10px;
		width: 90%;
		max-width: 1380px;
		max-height: 90%;
		overflow: hidden;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	}

	.close-media {
		position: absolute;
		top: 15px;
		right: 25px;
		font-size: 30px;
		font-weight: bold;
		color: #666;
		cursor: pointer;
		z-index: 1;
		background: rgba(255, 255, 255, 0.8);
		border-radius: 50%;
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
	}

	.close-media:hover {
		background: rgba(255, 255, 255, 1);
		color: #333;
	}

	.media-container {
		padding: 20px;
		min-height: 80vh;
		overflow: auto;
	}

	.media-tabs .tab-header {
		display: flex;
		border-bottom: 2px solid #eee;
		margin-bottom: 20px;
	}

	.media-tabs .tab-button {
		background: none;
		border: none;
		padding: 15px 30px;
		cursor: pointer;
		font-size: 16px;
		font-weight: 500;
		color: #666;
		border-bottom: 3px solid transparent;
		transition: all 0.3s ease;
		margin-right: 10px;
	}

	.media-tabs .tab-button.active {
		color: #1767b2;
		border-bottom-color: #1767b2;
		background-color: rgba(33, 80, 146, 0.05);
	}

	.media-tabs .tab-button:hover {
		color: #1767b2;
		background-color: rgba(33, 80, 146, 0.05);
	}

	.tab-content {
		min-height: 400px;
	}

	.tab-pane {
		display: none;
	}

	.tab-pane.active {
		display: block;
	}

	/* 媒体显示容器 - 左右布局 */
	.media-display-container {
		display: flex;
		gap: 20px;
		height: 70vh;
		min-height: 500px;
	}

	/* 左侧主显示区域 */
	.main-media-display {
		flex: 0 0 40%;
		background: #f8f9fa;
		border-radius: 8px;
		overflow: hidden;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
	}

	/* 视频标签页中的主显示区域使用75%宽度 */
	#videos-tab .main-media-display {
		flex: 0 0 75%;
	}

	#videos-tab .thumbnail-grid {
		flex: 0 0 25%;
	}

	.main-media-display img {
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		border-radius: 8px;
	}

	.main-media-display video {
		max-width: 100%;
		max-height: 100%;
		border-radius: 8px;
	}

	/* 右侧缩略图区域 */
	.thumbnail-grid {
		flex: 1;
		overflow-y: auto;
		background: #fff;
		border-radius: 8px;
		padding: 10px;
		border: 1px solid #eee;
	}

	.media-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 10px;
		padding: 0;
	}

	/* 视频网格特殊样式 - 垂直排列，100%宽度 */
	#videos-grid.media-grid {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 0;
	}

	/* 缩略图网格中单个项目的样式 */
	.thumbnail-grid .media-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	}

	.media-item {
		position: relative;
		background: #f8f9fa;
		border-radius: 6px;
		overflow: hidden;
		transition: all 0.3s ease;
		cursor: pointer;
		border: 2px solid transparent;
	}

	.media-item:hover {
		border-color: #1767b2;
		box-shadow: 0 4px 12px rgba(33, 80, 146, 0.2);
	}

	.media-item.active {
		border-color: #1767b2;
		background: rgba(33, 80, 146, 0.1);
	}

	.media-item img {
		width: 100%;
		height: 140px;
		object-fit: cover;
		display: block;
	}

	.media-item video {
		width: 100%;
		height: 140px;
		object-fit: cover;
		display: block;
	}

	.media-item .play-icon {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background: #fff;
		border-radius: 50%;
		width: 50px;
		height: 50px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #000;
		font-size: 20px;
		transition: all 0.3s ease;
	}

	.media-item:hover .play-icon {
		background: rgba(33, 80, 146, 0.8);
		transform: translate(-50%, -50%) scale(1.1);
	}

	.media-item .media-label {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
		color: white;
		padding: 15px 10px 10px;
		font-size: 12px;
		text-align: center;
	}

	/* 响应式设计 */
	@media (max-width: 768px) {
		.media-modal-content {
			width: 95%;
			margin: 10px;
		}

		.media-display-container {
			flex-direction: column;
			height: auto;
		}

		.main-media-display {
			height: 50vh;
			min-height: 300px;
		}

		.thumbnail-grid {
			max-width: none;
			height: 200px;
			overflow-y: auto;
		}

		.media-tabs .tab-button {
			padding: 10px 20px;
			font-size: 14px;
		}

		.media-item img,
		.media-item video {
			height: 60px;
		}
	}

	@media (max-width: 480px) {
		.media-display-container {
			gap: 15px;
		}

		.main-media-display {
			height: 40vh;
			min-height: 250px;
		}

		.thumbnail-grid {
			height: 150px;
		}

		.media-grid {
			grid-template-columns: repeat(3, 1fr);
			gap: 5px;
		}

		.media-item img,
		.media-item video {
			height: 50px;
		}

		.media-tabs .tab-button {
			padding: 8px 15px;
			font-size: 13px;
		}
	}

	/* 点击查看大图的样式 */
	.media-item-clickable {
		cursor: pointer;
	}

	.media-item-clickable:hover img {
		opacity: 0.9;
	}

	/* 空状态样式 */
	.media-empty {
		text-align: center;
		padding: 60px 20px;
		color: #999;
	}

	.media-empty i {
		font-size: 48px;
		color: #ddd;
		margin-bottom: 15px;
		display: block;
	}

	.media-empty p {
		font-size: 16px;
		margin: 0;
	}

	/* 查看所有媒体按钮样式 */
	.view-all-media-btn {
		display: inline-block;
		padding: 8px 15px;
		background-color: #1767b2;
		color: white;
		text-decoration: none;
		border-radius: 5px;
		font-size: 14px;
		transition: all 0.3s ease;
		cursor: pointer;
		border: none;
		margin-top: 10px;
	}

	.view-all-media-btn:hover {
		background-color: #1a4074;
		transform: translateY(-2px);
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	}

	.view-all-media-btn i {
		margin-right: 5px;
	}

	.spacer {
		display: none !important;
		/* 桌面端导航栏高度 */
	}

	/* 与左侧缩略图列同宽居中，不再用左内边距错开 */
	#xinghao1 {
		padding: 0;
		font-weight: bold;
		font-size: 30px;
		color: #333;
	}

	@media (max-width: 768px) {
		#xinghao1 {
			font-size: 19px;
		}
	}

	/* Resources 文件列表：避免 layout.css 中 repeat(6) + 大卡块在详情侧栏挤出横向滚动 */
	.dl-list.file-show-container {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.dl-list.file-show-container > ul {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		grid-gap: 24px;
		width: 100%;
		max-width: 100%;
	}

	.dl-list.file-show-container ul > li {
		min-width: 0;
	}

	.dl-list.file-show-container ul > li > a {
		display: block;
		max-width: 100%;
	}

	.dl-list.file-show-container ul .item {
		box-sizing: border-box;
		width: 100%;
		max-width: 140px;
		margin-left: auto;
		margin-right: auto;
	}

	.dl-list.file-show-container ul .item .img img {
		max-width: 100%;
		height: auto;
		vertical-align: top;
	}

	.dl-list.file-show-container ul .item .txt p {
		word-break: break-word;
		overflow-wrap: anywhere;
	}