body {
        margin: 0;
	background-color: #f4f4f4;
	margin-top: 115px;
}


.language-switcher-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.menu-toggle {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	padding: 8px;
}

/* 可选：美化 select 下拉框 */
.language-select-desktop select {
	padding: 6px 10px;
	font-size: 14px;
	border-radius: 4px;
	border: 1px solid #ccc;
}

.module_header1 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}

#main-nav {
	display: block;
}

.header_top {
	width: 100%;
	height: 25px;
	background-color: #ccaf7f;
}

.item {
	font-size: 14px;
	color: #000;
	margin-left: 20px;
}

.module_header1 header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
 /* 确保在所有内容之上 */
	background-color: #fff;
	padding: 10px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	box-sizing: border-box;
}

.module_header1 .container {
	margin: 0 auto;
	display: flex;
	flex-direction: row;
    justify-content: space-between;
	align-items: center;
	width: 100%;
}

.logo {
	width: 200px;
	display: flex;
	align-items: center;
}

.logo img {
	width: 100%;
 /* Adjust as needed */
	margin-right: 10px;
}

.logo span {
	font-weight: bold;
}

.logo small {
	font-size: 0.8em;
	font-weight: normal;
}

nav ul {
	list-style: none;
	display: flex;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	text-decoration: none;
	color: #333;
	font-weight: bold;
	transition: color 0.3s ease;
}

nav ul li a:hover {
	color: red;
}

.banner-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: none;
 /* 确保没有背景 */
}
.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 0;
    margin: 0;
}

.custom-media {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 800px;
    display: block;
    margin: 0 auto;
}

/* 为图片添加顶部间距 */
.custom-img.image {
    margin-top: 45px;
}

/* 视频容器（用于控制视频比例） */
.video-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 800px; /* 这里你也可以不写，直接设 height */
    position: relative;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slides {
	display: flex;
	transition: transform 0.5s ease-in-out;
	background: none;
}

.slides img {
	width: 100%;
	height: auto;
	flex-shrink: 0;
	background: none;
}

.banner-container button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

#prev {
    z-index: 9999;
	left: 10px;
}

#next {
    z-index: 9999;
	right: 10px;
}

.module_form {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px;
	margin: 0;
	background-color: #fff;
 /* Light gray background */
}

.form-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
 /* Adjust as needed */
	max-width: 1000px;
	padding: 20px;
	background-color: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.input-field {
	width: calc(100% - 120px);
 /* Adjust based on button width and spacing */
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.more-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color:#ccaf7f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.more-button:hover {
    background-color: #0056b3;
}

.send-button {
	width: 80px;
	padding: 10px;
	font-size: 16px;
	color: #fff;
	background-color: #e74c3c;
 /* Red color */
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.send-button:hover {
	background-color: #c0392b;
 /* Darker red on hover */
}

.module_product {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
	background-color: #f4f4f4;
 /* Light gray background */
	flex-direction: column;
}

.module_product.container {
	max-width: 1200px;
	margin: 0 auto;
	background-color: #fff;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
	text-align: center;
	color: #333;
	margin-bottom: 20px;
}

.product-grid {
	display: grid;
   grid-template-columns: repeat(4, 1fr); /* 每行显示4列 */
	gap: 20px;
}

.product-item {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
	position: relative;
	background-color: #fff;
}
.product-item a {
    text-decoration: none;
    color: inherit; /* 让文字颜色不使用链接的蓝色 */
}

.product-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	margin-bottom: 10px;
}

.product-item h3 {
	font-size: 16px;
	color: #333;
	padding-left: 10px;
}

.contact-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px 20px;
	font-size: 14px;
	color: #fff;
	background-color: #e74c3c;
 /* Red color */
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	opacity: 0;
	visibility: hidden;
}

.product-item:hover .contact-button {
	opacity: 1;
	visibility: visible;
}

.contact-button:hover {
	background-color: #c0392b;
 /* Darker red on hover */
}

.module_news {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
	background-color: #f4f4f4;
 /* Light gray background */
}

.module_news .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.module_news h1 {
	text-align: center;
	color: #333;
	margin-bottom: 20px;
}

.news-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(300px, 1fr));
}

.news-item {
	background-color: #fff;
	border: 1px solid #ddd;
	padding: 15px;
	display: flex;
	align-items: center;
	transition: transform 0.3s ease;
}

.news-item:hover {
	transform: scale(1.05);
}

.news-item img {
	width: 200px;
	height: auto;
	object-fit: cover;
	margin-right: 15px;
}

.news-item-content {
	flex: 1;
}

.news-item-content h3 {
	font-size: 18px;
	color: #333;
	margin: 0 0 10px 0;
}

.news-item-content p {
	font-size: 14px;
	color: #666;
	margin: 0 0 10px 0;
}

.news-item-content span {
	font-size: 12px;
	color: #999;
}

.zs img {
	width: 100%;
	height: auto;
	margin-top: 50px;
}

.module_footer {
	background-image: url('/skin/static/images/foot.webp');
	background-size: cover;
	background-position: center;
	color: #333;
	padding: 40px 0;
	text-align: center;
}

.footer {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.footer-logo {
	text-align: left;
	width: 20%;
	margin-left: 0.3125rem;
}

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

.footer-logo p {
	margin-top: 10px;
	font-size: 12px;
}

.footer-links {
	width: 25%;
}

.footer-links ul {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #000000;
	text-decoration: none;
	font-size: 12px;
}

.footer-contact {
	width: 25%;
	text-align: left;
}

.footer-contact h4 {
	margin: 10px 0;
	font-size: 12px;
}

.footer-contact p {
	margin: 10px 0;
	font-size: 12px;
}

.footer-contact i {
	margin-right: 5px;
}

.social-icons {
	margin-top: 20px;
}

.social-icons a {
	margin-right: 10px;
	font-size: 16px;
	color: #333;
	text-decoration: none;
}

.copyright {
	margin-top: 20px;
	border-top: 1px solid #ddd;
	padding-top: 20px;
	font-size: 12px;
}

.module_about {
	margin: 50px;
	box-sizing: border-box;
	padding: 60px 50px;
	background-color: #fff;
}

.about-content {
	background-color: #fff;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

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

.about-content .text {
	max-width: 70%;
	padding-right: 20px;
}

.about-content .text .truncate {
	display: -webkit-box;
	-webkit-line-clamp: 8;
 /* 控制显示行数 */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	line-height: 1.5;
	max-height: calc(1.5em * 8);
 /* 3 行高度 */
}
/* 主导航菜单项定位 */
#main-nav > ul > li {
	position: relative;
 /* 必须设置相对定位，以便子菜单绝对定位 */
}

/* 二级菜单样式调整 */
.sub-menu {
	display: none;
	position: absolute;
	left: 50%;
 /* 水平居中关键：先左移100%，再向左偏移自身宽度的一半 */
	transform: translateX(-50%);
	top: 100%;
 /* 下拉位置 */
	background-color: #fff;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
	z-index: 999;
	min-width: 200px;
 /* 设置最小宽度 */
	padding: 10px 0;
	border-radius: 4px;
}

/* 菜单项内边距与行高 */
.sub-menu dl {
	padding: 8px 20px;
	text-align: center;
}

.sub-menu dl a {
	display: block;
	color: #333;
	text-decoration: none;
}

.sub-menu dl:hover {
	background-color: #f5f5f5;
}

/* 鼠标悬停时显示 */
#main-nav > ul > li:hover .sub-menu {
	display: block;
}
.menu-toggle-mobile {
    display: none;
}
.container-table {
    width: 100%;
    overflow-x: scroll;
}

@media (max-width: 992px) {
 /* 平板及以下设备 */
	.logo {
		width: 100px;
		display: flex;
		align-items: center;
	}

	.logo img {
		width: 100%;
 /* Adjust as needed */
		margin-right: 10px;
	}
.custom-media {
        border-radius: 0;
    }
    .video-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 这里你也可以不写，直接设 height */
    position: relative;
}
	nav ul {
		display: none;
		flex-direction: column;
		align-items: center;
	}

	nav.active ul {
		display: flex;
	}

	.product-item h3 {
		font-weight: bold;
		font-size: 16px;
	}

	.product-grid {
		grid-template-columns: 1fr;
 /* 在小屏幕上每行只有一项 */
	}

	.news-grid {
		grid-template-columns: 1fr;
 /* 在小屏幕上每行只有一项 */
	}

	.news-item {
		flex-direction: column;
 /* 改为纵向排列 */
		text-align: center;
 /* 文本居中 */
	}

	.news-item img, .news-item-content {
		max-width: 100%;
 /* 宽度100% */
		padding: 0;
		margin-bottom: 20px;
 /* 增加底部间距 */
	}

	.about-content {
		flex-direction: column;
		font-size: 14px;
	}

	.about-content img, .about-content .text {
		max-width: 100%;
		padding: 0;
		margin-bottom: 20px;
	}

	.footer-logo img {
		max-width: 50%;
		height: auto;
	}

	.footer-logo,
    .footer-links,
    .footer-contact {
		flex: 1 1 100%;
 /* 每个模块独占一行 */
		text-align: center;
	}

	.footer-links {
		margin-bottom: 20px;
	}

	.footer-links ul li {
		display: block;
	}
	.menu-toggle-mobile {
        display: block;
    }
    #main-nav {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
    padding: 10px 0;
  }

  /* 添加 active 时显示 */
  #main-nav.active {
    display: block;
  }

  /* 菜单项样式 */
  #main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #main-nav li {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }

  #main-nav li:last-child {
    border-bottom: none;
  }

  #main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    display: block;
  }

  #main-nav a:hover {
    color: #007bff;
  }
}

@media (max-width: 600px) {
 /* 平板及以下设备 */

	.logo {
		width: 100px;
		display: flex;
		align-items: center;
	}

	.logo img {
		width: 100%;
 /* Adjust as needed */
		margin-right: 10px;
	}
.custom-media {
        border-radius: 0;
    }
    .video-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 这里你也可以不写，直接设 height */
    position: relative;
}
	nav ul {
		display: none;
		flex-direction: column;
		align-items: center;
	}

	nav.active ul {
		display: flex;
	}

	.product-item h3 {
		font-weight: bold;
		font-size: 16px;
	}

	.product-grid {
		grid-template-columns: 1fr;
 /* 在小屏幕上每行只有一项 */
	}

	.news-grid {
		grid-template-columns: 1fr;
 /* 在小屏幕上每行只有一项 */
	}

	.news-item {
		flex-direction: column;
 /* 改为纵向排列 */
		text-align: center;
 /* 文本居中 */
	}

	.news-item img, .news-item-content {
		max-width: 100%;
 /* 宽度100% */
		padding: 0;
		margin-bottom: 20px;
 /* 增加底部间距 */
	}

	.about-content {
		flex-direction: column;
		font-size: 14px;
	}

	.about-content img, .about-content .text {
		max-width: 100%;
		padding: 0;
		margin-bottom: 20px;
	}

	.footer-logo img {
		max-width: 50%;
		height: auto;
	}

	.footer-logo,
    .footer-links,
    .footer-contact {
		flex: 1 1 100%;
 /* 每个模块独占一行 */
		text-align: center;
	}

	.footer-links {
		margin-bottom: 20px;
	}

	.footer-links ul li {
		display: block;
	}
	.menu-toggle-mobile {
        display: block;
    }
    #main-nav {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
    padding: 10px 0;
  }

  /* 添加 active 时显示 */
  #main-nav.active {
    display: block;
  }

  /* 菜单项样式 */
  #main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #main-nav li {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }

  #main-nav li:last-child {
    border-bottom: none;
  }

  #main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    display: block;
  }

  #main-nav a:hover {
    color: #007bff;
  }
}


        