* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}

/* 导航栏部分 */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 999;
	padding-top: 20px;
	padding-bottom: 20px;
}
.navbar-container {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #000000;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.pc-nav {
    display: flex;
    list-style: none;
    height: 100%;
}
.pc-nav li {
    position: relative;
    height: 100%;
}
.pc-nav li a {
    display: block;
    padding: 0 20px;
	font-size: 35px;
    color: #000000;
    text-decoration: none;
    transition: background 0.3s;
}
.pc-nav li a:hover {
    background-color: #d9dbdd;
}
.pc-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    display: none;
}
.pc-dropdown li a {
    color: #333;
    line-height: 70px;
    padding: 0 20px;
}
.pc-dropdown li a:hover {
    background-color: #f3f4f6;
    color: red;
}
.pc-nav li:hover .pc-dropdown {
    display: block;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    color: black;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #fff;
    overflow-y: auto;
}
.mobile-nav {
    list-style: none;
}
.mobile-nav > li {
    border-bottom: 1px solid #e5e7eb;
}
.mobile-nav > li > a {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}
.mobile-dropdown {
    list-style: none;
    background-color: #f9fafb;
    display: none;
}
.mobile-dropdown li a {
    display: block;
    padding: 14px 20px 14px 40px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #e5e7eb;
}


main {
    max-width: 1920px;
    margin: 30px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #333;
}

/*轮播图*/
.carousel {
	position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #eeeeee;
}
/* 滑动轨道,实现平滑动画 */
.carousel-track {
	display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}
/* 轮播图样式 */
.carousel-item {
    min-width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f8f9fa;
    border-right: 1px dashed #dddddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: clamp(18px, 3vw, 24px);
}
/* 左右切换按钮  */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(32px, 5vw, 40px);
    height: clamp(32px, 5vw, 40px);
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: none;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.arrow-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}
.arrow-prev { left: clamp(8px, 2vw, 12px); }
.arrow-next { right: clamp(8px, 2vw, 12px); }
/* 底部指示器 */
.indicator-wrap {
    position: absolute;
    bottom: clamp(10px, 2vw, 15px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.indicator-dot {
    width: clamp(8px, 1.5vw, 10px);
    height: clamp(8px, 1.5vw, 10px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.indicator-dot.active {
    background-color: red;
}

/* 图标变色部分样式 */
.custom-icon-bar-root {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}   
.custom-icon-bar-root * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
.custom-icon-bar-root .icon-bar-wrap {
    width: 100%;
    max-width: 1920px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.custom-icon-bar-root .icon-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
    min-width: 72px;
    background: transparent;
    border: none;
    outline: none;
}
.custom-icon-bar-root .icon-bar-box {
    position: relative;
    width: clamp(91px, 12vw, 182px);
	aspect-ratio: 1;
}
.custom-icon-bar-root .icon-bar-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}
.custom-icon-bar-root .icon-default {
    opacity: 1;
}
.custom-icon-bar-root .icon-active {
    opacity: 0;
}
.custom-icon-bar-root .icon-bar-text {
    font-size: clamp(12px, 3vw, 14px);
    color: #94a3b8;
    transition: color 0.2s ease;
}
.custom-icon-bar-root .icon-bar-item:active {
    transform: scale(0.94);
}
.custom-icon-bar-root .icon-bar-item.icon-bar-item-active .icon-default {
    opacity: 0;
}
.custom-icon-bar-root .icon-bar-item.icon-bar-item-active .icon-active {
    opacity: 1;
}

 
 /* 产品分类部分样式 */
.product-category-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 10px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.product-category-section .category-title {
    font-size: 60px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin: 0 0 28px 0;
	margin-top: 30px;
	padding-bottom: 40px;
}
/* 分类网格容器 */
.product-category-section .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC端默认一行4张 */
    gap: 24px;
    width: 100%;
}
 /* 可跳转分类卡片 */
.product-category-section .category-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}
/* 图片区域 严格适配195px*325px比例 无拉伸变形 */
.product-category-section .category-card img {
    display: block;
    width: 100%;
	max-width: 1920px;
    aspect-ratio: 195 / 325;
    object-fit: cover;
    border: 0;
}
/* 全设备通用点击按压反馈 */
.product-category-section .category-card:active {
    transform: scale(0.96);
}

/* 我们的优势部分 */
.advantage-img {
    width: 100%;
    max-width: 1920px; 
    margin: 0 auto; /* 水平居中 */
    position: relative;
    /* 兼容全浏览器的比例锁方案，严格保持1647*710原图宽高比，绝不拉伸变形 */
    padding-top: calc(710 / 1647 * 100%);
}
.advantage-img .advantage-target {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* 消除行内图片默认底部缝隙 */
    object-fit: cover; /* 容器比例与图片完全一致，无裁切、无变形、无黑边 */
}

 /* 产品资料部分样式 */
 .product-source-section {
     width: 100%;
     max-width: 1920px;
     margin: 0 auto;
     padding: 32px 16px;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
 }
 .product-source-section .source-title {
     font-size: 60px;
     font-weight: 600;
     color: #1e293b;
     text-align: center;
     margin: 0 0 28px 0;
 }
 
 /* 分类网格容器 */
 .product-source-section .source-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr); /* PC端默认一行4张 */
     gap: 24px;
     width: 100%;
 }
 
 /* 可跳转分类卡片 */
 .product-source-section .source-card {
     display: block;
     text-decoration: none;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 2px 12px rgba(0,0,0,0.06);
     transition: transform 0.25s ease, box-shadow 0.25s ease;
     -webkit-tap-highlight-color: transparent;
 }
 
 /* 图片区域 严格适配195px*325px比例 无拉伸变形 */
 .product-source-section .source-card img {
     display: block;
     width: 100%;
     aspect-ratio: 195 / 325;
     object-fit: cover;
     border: 0;
 }
 
 /* 全设备通用点击按压反馈 */
 .product-source-section .source-card:active {
     transform: scale(0.96);
 }
 
 /* 厂房实拍部分样式 */
 factory-img{
	 width: 100%;
	 max-width: 1920px;
	 margin: 0 auto;
 }
 
 /* "为什么选择我们"部分样式*/
.content_text{
	width: 100%;
	height: 505px;
	max-width: 1920px;
	margin: 0 auto;
	margin-top: 20px;
	box-sizing: border-box;
	background: url(../img/index/four.jpg);
	background-position: center center;
}
.text_wrap{
	text-align: center;
}
.text_wrap div:nth-child(1){
	padding-top: 138px;
}
.text_wrap span{
	color: #666;
	font-size: 16px;
	line-height: 25px;
	display: block;
}
.text_wrap div:nth-child(2){margin-top: 40px;}

/* 下单流程部分样式 */
.process{
	width:100%;
	margin: 0 auto;
	max-width: 1920px;
	padding-bottom: 50px;
	
}
.process_wrap{
	text-align: center;
}
.process_wrap img{
	margin-bottom: 40px;
}
.process_wrap span{
	line-height: 50px;
	font-size: 16px;
}

/* 首页尾部部分样品 */
.footer-nav-wrap {
    width: 100%;
	max-width: 1920px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
	margin:0 auto;
    box-sizing: border-box;
	text-align: center;
}
.footer-nav {
    max-width: 1920px; 
	background-color: #f8f9fa;
    margin: 0 auto; 
	margin-top: 30px;
}
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 16px 0; /* 上下内边距实现自适应高度 */
    display: flex;
    flex-wrap: wrap; /* 小屏自动折行 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    gap: 24px 48px; /* 横向/纵向间距，折行时自动生效 */
    box-sizing: border-box;
}
.footer-nav-item a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    transition: color 0.2s ease;
    line-height: 1.5;
}
.footer-nav-item a:hover {
    color: red; /*  hover交互色可自定义 */
}
.footer-beian,.footer-fo{
	height: 40px;
}
/* 仅鼠标设备启用悬停效果 避免移动端hover粘滞 */
@media (hover:hover){
    .custom-icon-bar-root .icon-bar-item:hover {
        transform: scale(1.06);
    }
    .custom-icon-bar-root .icon-bar-item:hover .icon-default {
        opacity: 0;
    }
    .custom-icon-bar-root .icon-bar-item:hover .icon-active {
        opacity: 1;
    }
	.product-category-section .category-card:hover {
	    transform: translateY(-4px);
	    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	}
	 /*产品资料—— 仅鼠标设备启用悬停效果 避免移动端hover粘滞 */
	.product-source-section .source-card:hover {
	    transform: translateY(-4px);
	    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	}
}
/* 移动端 */
@media screen and (max-width: 768px) {
	/* 导航栏移动端 */
	.navbar{
		padding-top:10px ;
		padding-bottom: 10px;
	}
	.logo{
		font-size: 18px;
	}
	.pc-nav {
	    display: none;
	}
	.hamburger {
	    display: block;
	}

    /* 产品分类移动端 */
	.product-category-section {
        padding: 0 20px;
    }
    .product-category-section .category-title {
        font-size: 30px;
		margin-top: 10px;
		padding-bottom: 20px;
    }
    .product-category-section .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
	 /* 产品资料 */
	.product-source-section {
	    padding: 24px 12px;
	}
	.product-source-section .source-title {
	    font-size: 30px;
	    margin-top: 10px;
	    padding-bottom: 20px;
	}
	.product-source-section .source-grid {
	    grid-template-columns: repeat(2, 1fr);
	    gap: 16px;
	}
	/* 为什么选择我们移动端部分样式 */
	.content_text{
		height: 200px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.text_wrap span{
		font-size: 13px;
		line-height: 22px;
	}
	.top_text{
		display: none;
	}
	.bottom_text{
		padding-bottom: 50px;
	}
	.process{
		height: 200px;
	}
	.process_wrap{
		text-align: center;
	}
	.process_wrap img{
		width: 50%;
		margin-bottom: 20px;
	}
	.process_wrap span{
		font-size: 10px;
		line-height: 10px;
	}
	.footer-nav{
		margin-top: 3px;
	}
	.footer-nav-list {
	  gap: 12px 20px;
	  padding: 10px 0;
	}
	.footer-nav-item a {
	  font-size: 10px;
	}
	.footer-beian,.footer-fo{
		font-size:9px;
	}
}
/* 超小屏手机（<360px）优化间距 避免内容溢出 */
@media screen and (max-width: 359px) {
	/* 产品分类 */
    .product-category-section .category-grid {
        gap: 12px;
    }
	 /*产品资料 */
	.product-source-section .source-grid {
	    gap: 12px;
	}
}
