:root {
    --blue: #4fd6cf;
    --contact-text-color: #333; /* 联系信息文本颜色 */
    --contact-heading-color: #333; /* 联系信息标题颜色 */
    --contact-font-size: 1.6rem; /* 联系信息字体大小 */
    --contact-heading-font-size: 2rem; /* 联系信息标题字体大小 */
}
*{
    margin:0; padding:0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}

section{
    padding:2rem 9%;
}

.heading{
    text-align: center;
    font-size: 4rem;
    color:#333;
    padding:1rem;
    margin:2rem 0;
    background:rgba(2, 173, 165, 0.05);
}

.heading span{
    color:var(--blue);
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background:#333;
    color:#fff;
    padding:.9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn:hover{
    background:var(--blue);
}

header{
    position: fixed;
    top:0; left:0; right:0;
    background:#ffffff;
    /* height: var(--header-height, 8.5rem); */
    /* 修复3：调整导航栏样式 */
    padding:2rem 9%; /* 减少垂直padding */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);

}

/* Logo居中方案 */
header .logo{
    font-size: 3rem;
    color: #333;
    font-weight: bolder;
    margin-right: auto; /* 将导航菜单推到中间 */
}

header .logo span{
    color:var(--blue);
}

/* 导航菜单 - 左对齐并自动扩展 */
header .navbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

/* 导航链接样式保持不变 */
header .navbar a{
    font-size: 2rem;
    padding:0 1.5rem;
    color:#666;
    /* text-transform: capitalize; */
    white-space: nowrap; /* 防止文字换行 */
}

header .navbar a:hover{
    color:var(--blue);
}




/* 新增：图标容器布局 */
/* 右侧图标容器 - 优化间距 */
header .header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 图标间距增大 */
    margin-left: auto; /* 确保靠右 */
    /* padding-left: 2rem; */
     /* 与导航菜单间距 */
}

/* 信封图标 - 确保覆盖原有样式 */
header .header-icons .fa-envelope {
    font-size: 2.5rem;
    color: #bfeee2; /* 使用主题蓝色偏浅 */
    transition: color 0.3s;
    /* margin-right: 1.5rem;  */
    /* 增加右边距 */
}

header .header-icons .fa-envelope:hover {
    color: #37948e; /* 深一点的蓝色 */
}

/* 修改语言切换器样式 */
header .header-icons .language-switcher {
    position: relative;
    display: inline-block;
    /* margin-right: 1.5rem; */
    margin-right: 0; /* 移除默认间距 */
}

header .header-icons .language-toggle {
    background: none;
    border: 1px solid #ddd; /* 添加灰色边框 */
    border-radius: 4px; /* 添加圆角 */
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    font-size: 1.6rem;
    color: #000000;
    transition: all 0.3s; 
    /* 修改为all以便边框也过渡 */
    /* display: flex;
    align-items: center;
    padding: 0.5rem 1rem;  */
    /* 增加内边距使按钮更大 */
}

header .header-icons .language-toggle:hover {
    color: #37948e;
    border-color: #aaa; /* 悬停时边框变深 */
}


/* 修改分享按钮样式 */
header .header-icons .share-btn {
    padding: 0.8rem 1.5rem;
    background: #4fd6cf;
    color: white;
    border-radius: 4px;
    font-size: 1.6rem;
    gap: 0.8rem;
}

header .header-icons .share-btn:hover {
    background: #37948e; /* 悬停时稍深的蓝色 */
    /* border-color:#4fd6cf; */
}

header .header-icons .share-btn span {
    font-size: 1.5rem;
    color: white; /* 文字也改为白色 */
}

/* 新增：图标容器整体样式调整 */
header .header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding: 0 2rem; /* 增加内边距 */
}

/* header .icons a{
    font-size: 2.5rem;
    color:#bfeee2; */
    /* 信封 */
    /* margin-left: 1.5rem;
}

header .icons a:hover{
    color:var(--blue);
} */


header #toggler{
    display: none;
}


/* 设置header下的.fa-bars图标的样式 */
header .fa-bars{
    font-size: 3rem; /* 设置字体大小为3rem */
    color:#333; /* 设置颜色为深灰色 */
    border-radius: .5rem; /* 添加圆角边框，半径为0.5rem */
    padding:.5rem 1.5rem; /* 设置内边距，上下为0.5rem，左右为1.5rem */
    cursor: pointer; /* 改变鼠标悬停时的光标为指针样式 */
    border:.1rem solid rgba(0,0,0,.3); /* 添加黑色透明度为0.3的实线边框，宽度为0.1rem */
    display: none; /* 默认隐藏此元素 */
}


/* 修复1：确保占位元素高度匹配导航栏 */
.header-spacer {
    height: var(--header-height, 8.5rem); /* 默认值匹配您的导航栏高度 */
    display: none; /* 默认隐藏，通过JS控制 */
}




/* home section styles */
/* .home{
    display: flex;
    align-items: center;
    min-height: 45vh;
    background:url(../images/home-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content{
    max-width: 50rem;
}

.home .content h3{
    font-size: 6rem;
    color:#333;
}

.home .content span{
    font-size: 3.5rem;
    color:var(--blue);
    padding:1rem 0;
    line-height: 1.5;
}

.home .content p{
    font-size: 1.5rem;
    color:#999;
    padding:1rem 0;
    line-height: 1.5;
} */




/* about section styles 视频515再次打开*/
/* 修复视频宽度问题 */
.about .row {
    width: 100%;
    margin: 0;
    padding: 0;
}

.about .row .video-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
}

.about .row .video-container video {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.about .row .video-container h3{
    position: absolute;
    top:50%; transform: translateY(-50%);
    font-size: 3rem;
    background:#fff;
    width:100%;
    padding:1rem 2rem;
    text-align: center;
    mix-blend-mode: screen;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .about .row .video-container video {
        height: 300px; /* 移动端适当减小高度 */
        object-fit: cover; /* 保持覆盖效果 */
    }
}

@media (max-width: 480px) {
    .about .row .video-container video {
        height: 250px; /* 在小屏幕上进一步减小高度 */
    }
}

/* 针对横屏设备的优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .about .row .video-container video {
        height: 400px; /* 横屏时稍高一些 */
    }
}

.about .row .content{
    flex:1 1 40rem;
}

.about .row .content h3{
    font-size: 3rem;
    color:#333;
}

.about .row .content p{
    font-size: 1.5rem;
    color:#999;
    padding:.5rem 0;
    padding-top: 1rem;
    line-height: 1.5;
}









/* Number Animation Section */
.number-animation-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f9fa;
}

.number-animation-section .heading {
    color: var(--blue);
}

.number-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    /* 增加间距 */
    margin-top: 2rem;
}

.number-item {
    flex: 1 1 30%;
    text-align: center;
}


.icon-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
/* 图标间距 */

.icon-number i {
    font-size: 3rem;/* 放大1.5倍 */
    color: var(--blue);
}

.number {
    font-size: 3rem;/* 放大1.5倍 */
    color: #333;
    font-weight: bold;
}

.unit {
    font-size: 2.25rem;/* 放大1.5倍 */
    color: #999;
}

.description {
    margin-top: 3px;/* 增加间距 */
    font-size: 1.8rem;/* 放大1.5倍 */
    color: #555;
}






/* icons section styles */
.icons-container{
    background:#eee;
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.icons-container .icons{
    background:#fff;
    border:.1rem solid rgba(0,0,0,.1);
    padding:2rem;
    display: flex;
    align-items: center;
    flex:1 1 25rem;
}

.icons-container .icons img{
    height:5rem;
    margin-right: 2rem;
}

.icons-container .icons h3{
    color:#e4d9aa; /* 修改颜色为浅黄色 */
    padding-bottom: .5rem;
    font-size: 1.5rem;
}

.icons-container .icons span{
    color:#555;
    font-size: 1.3rem;
}






/* products section styles */
.products .box-container{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
}

.products .box-container .box{
    flex:1 1 30rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border-radius: .5rem;
    border:.1rem solid rgba(0,0,0,.1);
    position: relative;    
    background-color: rgb(255, 255, 255); /* 设置商品盒子底色为红色 */
}

.products .box-container .box .discount{
    position: absolute;
    top:1rem; left:1rem;
    padding:.7rem 1rem;
    font-size: 2rem;
    color:var(--blue);
    background:rgba(16, 167, 159, 0.05);
    z-index: 1;
    border-radius: .5rem;
}

.products .box-container .box .image{
    position: relative;
    text-align: center;
    padding-top: 2rem;
    overflow: hidden;
    flex: 1; /* 新增：占据剩余空间 */
    display: flex;
    flex-direction: column;
}

.products .box-container .box .image img{
    height: 25rem;
    width: auto;
    max-width: 100%;
    object-fit: contain; /* 确保图片比例不变 */
    margin: 0 auto; /* 居中显示 */
}

.products .box-container .box:hover .image img{
    transform: scale(1.1);
}

.products .box-container .box .image .icons{
    position: absolute;
    bottom:-7rem; left:0; right:0;
    display: flex;
}

.products .box-container .box:hover .image .icons{
    bottom:0;
}

.products .box-container .box .image .icons a{
    height: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    width:50%;
    background:var(--blue);
    color:#fff;
}

.products .box-container .box .image .icons .cart-btn{
    border-left: .1rem solid #fff7;
    border-right: .1rem solid #fff7;
    width:100%;
}

.products .box-container .box .image .icons a:hover{
    background:#333;
}

.products .box-container .box .content{
    padding: 2rem;
    text-align: center;
    flex-shrink: 0; /* 防止内容区域压缩 */
}

.products .box-container .box .content h3{
    font-size: 2rem;
    /* 商城页产品主标题字体大小 */
    color:#333;
}

.products .box-container .box .content .price{
    font-size: 2.5rem;
    color:var(--blue);
    font-weight: bolder;
    padding-top: 1rem;
}

.products .box-container .box .content .price span{
    font-size: 1.5rem;
    color:#999;
    font-weight: lighter;
    text-decoration: line-through;
}

.products .box-container .box .content p{
    display: none;
}
/* section */

.image-carousel {
    text-align: center;
    padding: 50px 0;
    background-color: #ffebe0; /* 修改背景颜色 */
}

.carousel-container {
    display: flex; /* 使用 flex 布局 */
    justify-content: space-around; /* 使图片均匀分布 */
    width: 100%; /* 使容器宽度占满父元素 */
    margin: 0 auto;
}

.carousel-item {
    min-width: 18%; /* 每张图片占据大约 18% 的宽度 */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.carousel-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}







/* Info Section 证书*/
.info-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f9fa;
}
/* 外层容器 */

.info-section .heading {
    color: var(--blue); /* 修改标题颜色为蓝色 */
}

.info-section .info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    overflow-x: auto; /* 添加水平滚动 */
    padding: 0 20px; /* 添加内边距 */
    scroll-snap-type: x mandatory; /* 添加滚动捕捉 */
}

/* 图片容器 */
.info-section .info-item.images-item {
    display: flex;
    gap: 45px; /* 图片之间的间距 */
    scroll-snap-align: start; /* 每次滚动对齐到开始位置 */
}

.info-section .info-item.images-item a {
    display: inline-block;
    scroll-snap-align: start; /* 每次滚动对齐到开始位置 */
}

.info-section .info-item.images-item img {
    /* max-width: 300px;  */
    /* 设置图片的最大宽度，越大展示图片越少，150px一行九张 */
    width: 250px;/* 设置图片的宽度 */
    height: 380px; /* 设置图片的高度 */
    border-radius: 8px; /* 设置圆角 */
}


/* 证书图片 */
.small-image {
    display: block;
    margin: 0 auto;
    max-width: 50%; /* 可以根据需要调整比例 */
    height: auto;
}






/* Company Profile Section图片名称地址 */
.company-profile {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f9fa;
}

.company-profile .profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.company-profile .profile-image {
    width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.company-profile .profile-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.company-profile .profile-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    font-size:  3rem; /* 调整图标大小为原来的2倍 */
    color: #333;
}

.company-profile .profile-item i {
    font-size:  4rem; /* 调整图标大小为原来的2倍 */
    color: var(--blue);
    margin-right: 15px;
}

/* 新增侧边栏基础样式（匹配HTML的sidebar类） */
.sidebar {
    flex: 0 0 20%;
    background-color: #e0e0e0; /* 调整为更明显的灰色背景 */
    padding: 1rem;
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid #ccc; /* 添加边框便于定位 */
}

/* 解决flex布局可能的垂直塌陷问题 */
.content-wrapper {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    min-height: 100vh; /* 确保占满视口高度 */
}

/* 修正主内容区的flex属性 */
.main-content {
    flex: 1; /* 占用剩余空间 */
    padding-left: 2rem; /* 与侧边栏留出间距 */
}

/* 修改原有悬停样式为sidebar-hover并关联到子元素 */
.sidebar:hover {
    transform: translateX(-10px);
}

.sidebar .inner-sidebar {
    background-color: #e0e0e0;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* 新增商品栏样式 */
.product-grid {
    flex: 0 0 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
}
.product-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.product-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.2);
}

.Sales-volume {
    font-family: 'STCaiyun', sans-serif;
    font-size: 16px; /* 16磅在CSS中对应16px */
    font-weight: bold; /* 加粗 */
}




/* review section styles */
.review .box-container{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
}

.review .box-container .box{
    flex:1 1 30rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border-radius: .5rem;
    padding:3rem 2rem;
    position: relative;
    border:.1rem solid rgba(0,0,0,.1);
}

.review .box-container .box .fa-quote-right{
    position: absolute;
    bottom:3rem; right:3rem;
    font-size: 6rem;
    color:#eee;
}

.review .box-container .box .stars i{
    color:var(--blue);
    font-size: 2rem;
}

.review .box-container .box p{
    color:#999;
    font-size: 1.5rem;
    line-height: 1.5;
    padding-top: 2rem;
}

.review .box-container .box .user{
    display: flex;
    align-items: center;
    padding-top: 2rem;
}

.review .box-container .box .user img{
    height:6rem;
    width:6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.review .box-container .box .user h3{
    font-size: 2rem;
    color:#333;
}

.review .box-container .box .user span{
    font-size: 1.5rem;
    color:#999;
}



/* Industry Information Section */
.industry-info {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f9fa;
}

.industry-info .carousel-container {
    position: relative;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
}

.industry-info .carousel-track {
    display: flex; /* 使图片在同一行 */
    transition: transform 0.5s ease-in-out; /* 添加过渡效果 */
    width: 300%; /* 设置轨道宽度为300%，以便容纳3张图片 */
    transform: translateX(0); /* 初始位置 */
}

.industry-info .carousel-item {
    min-width: 100%; /* 每张图片占据100%的宽度 */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.industry-info .carousel-item img {
    width: 1000px;
    height: 800px;
    border-radius: 8px;
    object-fit: contain; /* 确保图片按比例缩放 */
}

.industry-info .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.industry-info .carousel-control.prev {
    left: 10px;
}

.industry-info .carousel-control.next {
    right: 10px;
}

.industry-info .carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* contact section styles */
.contact .row{
    display: flex;
    flex-wrap: wrap-reverse;
    gap:1.5rem;
    align-items: center;
}

.contact .row form{
    flex:1 1 40rem;
    padding:2rem 2.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border:.1rem solid rgba(0,0,0,.1);
    background: #fff;
    border-radius: .5rem;
}

.contact .row .image{
    flex:1 1 40rem;
}

.contact .row .image img{
    width: 100%;
}

.contact .row form .box{
    padding:1rem;
    font-size: 1.7rem;
    color:#333;
    text-transform: none;
    border:.1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    margin:.7rem 0;
    width: 100%;
}

.contact .row form .box:focus{
    border-color: var(--blue);
}

.contact .row form textarea{
    height: 15rem;
    resize: none;
}


.contact .row {
    display: flex;
}

.contact .row > * {
    flex: 1;
    padding: 10px; 
    /* 可选：添加一些内边距 */
}


 
.contact .contact-info {
    color: var(--contact-text-color);
    font-size: var(--contact-font-size);
}

.contact .contact-info h3 {
    color: var(--contact-heading-color);
    font-size: var(--contact-heading-font-size);
    margin-bottom: 4rem; /* 添加一些间距 */
}

.contact .contact-info p {
    margin-bottom: 4rem; /* 添加一些间距 */
}




/* footer section styles */
.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
}

.footer .box-container .box{
    flex:1 1 25rem;
}

.footer .box-container .box h3{
    color:#333;
    font-size: 2.5rem;
    padding:1rem 0;
}

.footer .box-container .box a{
    display: block;
    color:#666;
    font-size: 1.5rem;
    padding:1rem 0;
}

.footer .box-container .box a:hover{
    color:var(--blue);
    text-decoration: underline;
}

.footer .box-container .box  img{
    margin-top: 1rem;
}

.footer .credit{
    text-align: center;
    padding:1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color:#333;
    border-top: .1rem solid rgba(0,0,0,.1);
    padding-bottom: 9rem;
}

.footer .credit span{
    color:var(--blue);
}

/* 增加页脚容器底部内边距，为版权信息创造更多空间 */
.footer {
    padding-bottom: 3rem;
}

.footer .credit {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem; /* 增加与上方内容的距离 */
    padding-top: 2.5rem;
    font-size: 2rem;
    color: #333;
    border-top: .1rem solid rgba(0,0,0,.1);
    padding-bottom: 1rem; /* 减少底部内边距 */
}











/* 重置默认样式 */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 定义网格区域 */
.header{grid-area: header;}
.left{grid-area: left;}
.main{grid-area: main;}
.footer{grid-area: footer;}

/* 文本装饰 */
a{text-decoration: none;}

/* 隐藏复选框 */
input[type='checkbox']{display: none;}

/* 定义全局变量 */
:root{
    /* 默认设置 */
    --color-default-Black:#000;
    --color-default-White:#fff;
    /* 过渡时间设置 */
    --transition-time-s: .2s;
    --transition-time-m: .5s;
    --transition-time-l: 1s;
    /* 字体设置 */
    --font-color-default-hover:#64c2c2;
    /* 边框半径 */
    --border-radius-m: 2px;
    /* 背景颜色设置 */
    --bg-md-color-Black:#2C3E50;
    --bg-md-color-Blue: #00CCFF;
    --bg-md-color-Gray:#D0D0D0;
    --bg-md-color-White:#fff;
    /* 选项设置 */
    --option-size:35px;
}

/* 容器样式 */
.container{
    display: grid;
    grid-template-areas: 
    'header header header header header header'
    'left main main main main main'
    'left footer footer footer footer footer';
    grid-gap: 10px;
    /* grid-template-rows: 70px 428px 85px; */
    grid-template-rows: 70px auto 85px;
    grid-template-columns: 300px 650px;
    background-color: rgb(154, 236, 228); /* 左侧侧边栏和主要内容之间的连接框颜色+渐变效果 */
    transition: var(--transition-time-m);
}

/* 容器内的div样式 */
.container > div {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 左侧容器样式 */
.left_container{
   height: 100%;
   background-color: var(--bg-md-color-White);
   position: relative;
   padding: 5px 10px;
   letter-spacing: 0.5px;
}

/* 标签样式 分界线<*/
.left_container>label{
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px var(--color-default-Black);
    background-color: var(--bg-md-color-White);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 标签内的图标样式 */
.left_container>label>i{
    font-size: 20px;
    letter-spacing: 4.5px;
    text-indent: 3px;
    font-weight: 900;
    transition: transform .2s;
    transform: rotate(0deg);
}

/* 标签悬停样式 */
.left_container>label:hover{
    box-shadow: 0px 0px 2px 0px var(--color-default-Black);
    color: var(--font-color-default-hover);
}

/* 复选框选中后的样式 */
.left_container>input#menu-btn:checked+label>i{
    transform: rotate(180deg);
}

/* 左侧菜单样式 */
.left-menu{
    font-size: 18px;
    width: 280px;/* 确保宽度足够 */
    min-height: 100%;
    cursor: pointer;
    overflow: hidden;
    color: var(--color-default-Black);
    transition: width var(--transition-time-m);
}

/* 菜单标题样式 */
.left-menu .menu-title{
    text-align: center;
    margin-bottom: 10px;
}

/* 菜单标题颜色 */
.left-menu .menu-title h1 {
    color: #4fd6cf; /* 蓝色，您可以替换为任何您喜欢的颜色 */
}


/* 菜单项样式 */
.menu-item>label{
    position: relative;
    width: 100%;
    height: 50px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    
}

/* 菜单项悬停样式 */
.menu-item>label:hover{
    color: var(--font-color-default-hover);
}

/* 菜单项内的图标样式 */
.menu-item>label>i:first-child{
    flex:none;
    margin-right: 10px;
    font-size: 20px;
}

/* 菜单项内的文本样式 */
.menu-item>label>span{
    flex: 1;
    letter-spacing: 1px;
}

/* 菜单项内的图标样式 */
.menu-item>label>i:last-child{
    flex: none;
    font-size: 20px;
    font-weight: 900;
    transform: rotate(0deg);
    transition: transform var(--transition-time-s);
}

/* 菜单项内的复选框选中后的样式 */
.menu-item>input:checked+label>i:last-child{
    transform: rotate(180deg);
}

/* 菜单内容样式 */
.menu-content{
    height: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    background-color: var(--bg-md-color-White);
    transition: height var(--transition-time-s);/* 确保过渡时间设置正确 */
    /* transition: height 0.3s ease; */
}

/* 菜单内容内的文本样式 */
.menu-content>span{
    width: 100%;
    text-indent: 20px;
    line-height: var(--option-size);
}

/* 菜单内容内的链接样式 */
.menu-content>span>a{
    color: var(--color-default-Black);
}

/* 分隔线样式 */
.set-line {
    margin: 20px 0 10px 0;
    width: 100%;
    height: 2px;
    background-color: var(--bg-md-color-Gray);
}

/* 菜单内容悬停样式 */
.menu-content>span:hover{
    border-radius: var(--border-radius-m);
    background-color: var(--bg-md-color-Gray);
}

/* 菜单内容悬停时的链接样式 */
.menu-content>span:hover>a{
    color: var(--color-default-White);
}

/* 根据不同复选框选中状态设置菜单内容的高度 */
/* .menu-item>input#menu-item1:checked~.menu-content{
    height: calc(5 * var(--option-size));
}
.menu-item>input#menu-item2:checked~.menu-content{
    height: calc(5 * var(--option-size));
}
.menu-item>input#menu-item3:checked~.menu-content{
    height: calc(5 * var(--option-size));
}
.menu-item>input#menu-item3:checked~.menu-content{
    height: calc(5 * var(--option-size));
}
.menu-item>input#menu-item3:checked~.menu-content{
    height: calc(5 * var(--option-size));
}
.menu-item>input#menu-item3:checked~.menu-content{
    height: calc(5 * var(--option-size));
}
.menu-item>input#menu-item3:checked~.menu-content{
    height: calc(5 * var(--option-size));
} */
.menu-item input[type="checkbox"]:checked ~ .menu-content {
    height: calc(6 * var(--option-size)); /* 动态计算内容高度 */
}





/* 遮眼布样式 */
.overplay{
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;/* 设置元素的堆叠层级为2，以控制元素的前后关系 */
}

/* 设置盒子样式 */
.setting-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 300px;
    overflow: hidden;
    background-color: pink;
    text-align: center;
    transition: width var(--transition-time-s);
    z-index: 3;
}








/* 工具容器 - 确保不影响原有布局 */
.utility-container {
    display: flex;
    align-items: center;
    gap: 5px; /* 控制搜索框和语言切换之间的距离 */
    position: relative;
  }
  
  /* 搜索框样式 */
  .search-container {
    position: relative;
    display: inline-block;
  }
  
  .search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    transition: width 0.3s;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #4a90e2;
    width: 250px;
  }
  
  .search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    color: #666;
  }
  
  .search-button:hover {
    color: #333;
  }
  
  .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
  }
  
  .search-results a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
  }
  
  .search-results a:hover {
    background-color: #f5f5f5;
  }
  
  /* 语言切换样式 */
  .language-switcher {
    position: relative;
    display: inline-block;
  }
  
  .language-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  .language-toggle:hover {
    background-color: #f5f5f5;
  }
  
  .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 150px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
  }
  
  .language-dropdown a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
  }
  
  .language-dropdown a:hover {
    background-color: #f5f5f5;
  }
  
  /* 显示下拉菜单 */
  .language-switcher:hover .language-dropdown {
    display: block;
  }







  
/* 搜索框 */ 
/* 工具容器 - 确保不影响原有布局 */
.utility-container {
    display: flex;
    align-items: center;
    gap: 5px; /* 控制搜索框和语言切换之间的距离 */
    position: relative;
  }
  
  /* 搜索框样式 */
  .search-container {
    position: relative;
    display: inline-block;
  }
  
  .search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    transition: width 0.3s;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #4a90e2;
    width: 250px;
  }
  
  .search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    color: #666;
  }
  
  .search-button:hover {
    color: #333;
  }
  
  .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
  }
  
  .search-results a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
  }
  
  .search-results a:hover {
    background-color: #f5f5f5;
  }
  
  /* 语言切换样式 */
  .language-switcher {
    position: relative;
    display: inline-block;
  }
  
  .language-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
  }
  
  .language-toggle:hover {
    background-color: #f5f5f5;
  }
  
  .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 150px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
  }
  
  .language-dropdown a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
  }
  
  .language-dropdown a:hover {
    background-color: #f5f5f5;
  }
  
  /* 显示下拉菜单 */
  .language-switcher:hover .language-dropdown {
    display: block;
  }

  /* 语言切换器激活状态 */
.language-switcher.active .language-dropdown {
    display: block;
}

/* 当前语言指示器 */
.current-language {
    font-size: 14px;
    /* 翻译键内的字母大小 */
    font-weight: bold;
}


/* 在CSS中添加RTL支持阿拉伯语 */
[lang="ar"] {
    direction: rtl;
    text-align: right;
}

.nav-item {
    min-width: 120px; /* 保证不同语言下的统一间距 德语和俄语的导航项可能较长*/
}








/* 分享按钮样式 */
.share-btn {
    background: #4fd6cf;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .share-btn:hover {
    background: #37948e;
  }
  
  /* 分享模态框样式 */
  .share-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 20px;
    z-index: 1000;
    width: 320px;
    max-width: 90%;
  }
  
  .share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .share-header h3 {
    margin: 0;
    font-size: 18px;
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
  }
  
  .share-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);/* 改为每行显示2个 */
    gap: 15px;
  }
  
  .share-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
  }
  
  .share-icon:hover {
    transform: translateY(-3px);
  }
  
  .share-icon i {
    font-size: 24px;
    margin-bottom: 5px;
  }
  
  .share-icon span {
    font-size: 12px;
  }
  
  /* 各平台品牌色 */
  .facebook { background: #3b5998; }
  .twitter { background: #1da1f2; }
  .linkedin { background: #0077b5; }
  .whatsapp { background: #25d366; }
  .weibo { background: #e6162d; }
  
  /* 模态框遮罩 */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  /* 移动端响应式设计 */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
    
    header {
        /* flex-wrap: wrap; */
        justify-content: space-between;
        padding: 1.5rem 5%;
    }
    
    /* 显示汉堡菜单 */
    header .fa-bars {
        display: block;
        order: 0;
    }
    
    /* logo样式 */
    header .logo {
        position: static;
        /* order: 1; */
        transform: none;
        margin: 0 auto;
        padding: 1rem 0;
        order: 1;
    }
    
    /* 图标容器 */
    /* 右侧功能区调整 */
    header .header-icons {
        order: 2;
        margin-left: 0;
        /* padding-left: 0;
        gap: 1.5rem; */
    }
    
    /* 隐藏常规导航栏 */
    header .navbar {
        display: none;
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        background: #f9f9f9;
        margin-top: 1rem;
    }
    
    /* 当汉堡菜单被选中时显示导航栏 */
    /* 新增：修改菜单展开方向 */
    header #toggler:checked ~ .navbar {
        position: absolute;
        top: 100%;    /* 从header下方开始 */
        left: 0;
        width: 100%;
        background: #eee;
        padding: 2rem;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
        display: flex !important; /* 覆盖原有样式 */
        flex-direction: column;  /* 垂直排列 */
        /* align-items: center;    */
          /* 居中显示 */
        /* 仅修复空隙问题 */
        top: calc(100% - 8px); /* 上移5px抵消padding */
        padding-top: 0;        /* 移除顶部内边距 */
        /* 其他所有属性保持不变 */
    }
    
    /* 菜单项间距调整 */
    header #toggler:checked ~ .navbar a {
        padding: 1rem 0;  /* 垂直间距 */
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eee; /* 可选分隔线 */
        padding-left: 1rem; /* 新增：左侧留白 */
    }

    header .navbar a {
        display: block;
        margin: 0.5rem 1rem;
        padding: 1rem;
        background: #fff;
        /* width:48rem; */
        /* 48products菜单框横宽度大小和其他菜单框一致 */
        border-radius: 0rem;
    }
    
    /* 语言下拉菜单调整 */
    .language-dropdown {
        right: auto;
        left: 0;
    }
    
    /* 产品项调整为每行两个 */
    .products .box-container .box {
        flex: 1 1 45%;
    min-width: 45%;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border-radius: .5rem;
    border: .1rem solid rgba(0,0,0,.1);
    position: relative;
    background-color: rgb(255, 255, 255);
    display: flex; /* 新增：使用flex布局 */
    flex-direction: column; /* 新增：垂直排列 */
    height: auto; /* 确保高度自适应 */
    }
    
    /* 左侧菜单调整 */
    .left {
        flex: 0 0 25rem;
    }
    
    .left-menu {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    .container {
        flex-direction: column;
    }
    
    .left {
        width: 100%;
        flex: 0 0 auto;
    }
    
    .main {
        width: 100%;
    }
    
    /* 产品项在小屏幕上保持每行两个 */
    .products .box-container .box {
        flex: 1 1 45%;
        min-width: 45%;
        margin-bottom: 2rem; /* 增加底部间距 */
    }
    .products .box-container .box .image img {
        height: 18rem; /* 减小图片高度 */
    }
}

@media (max-width: 450px) {
    html {
        font-size: 45%;
    }
    
    .heading {
        font-size: 2.5rem;
    }
    
    /* 在小屏幕上调整为每行一个产品 */
    .products .box-container .box {
        flex: 1 1 100%;
    }
    
    .products .box-container .box .image img {
        height: 22rem; /* 单列时恢复较大高度 */
    }
    
    /* 调整图标大小 */
    header .header-icons a, 
    header .header-icons button {
        font-size: 1.8rem;
    }
    
    /* 缩小logo */
    header .logo {
        max-height: 3.5rem;
    }
}




















/* 分类菜单 */
.category-menu {
  margin: 20px 0;
  display: flex;
  gap: 15px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* 商品容器 */
.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* 高亮当前选中分类 */
/* a[href*="category=sugarcane"],
a[href*="category=cornstarch"] {
  font-weight: bold;
  color: var(--blue);
} */







/* 菜单样式 */
.menu-item {
  position: relative;
  margin: 10px 0;
}

.submenu, .subsubmenu {
  display: none;
  padding-left: 20px;
}

.menu-item:hover .submenu,
.submenu:hover .subsubmenu {
  display: block;
}

/* 当前选中项高亮 */
/* a[href*="category=sugarcane"] {
  color: var(--blue);
  font-weight: bold;
} */




/* 商城页专用容器（添加-scope后缀避免冲突） */
.products-scope .box-container {
  /* 保持原有商城页样式 */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* 详情页保护性样式 */
.product-detail-page .box-container {
  display: block !important; /* 覆盖商城页样式 */
}




/* 强制隔离详情页样式 */
body.product-detail-page {
  all: initial !important; /* 重置继承样式 */
  font-family: inherit !important;
}




/* 添加这些样式到您的CSS文件 */
.no-products {
    text-align: center;
    padding: 50px;
    font-size: 1.8rem;
}

.no-products a {
    display: inline-block;
    margin-top: 20px;
    color: var(--blue);
    text-decoration: underline;
}

/* 确保产品容器有适当的布局 */
#productContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}









/* 导航栏下拉菜单基础样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 5px;
    padding: 10px 0;
}

/* 使用 active 类控制显示，而不是 hover */
.dropdown.active .dropdown-menu {
    display: block;
}

/* 导航栏下拉菜单项样式 */
.dropdown-item {
    position: relative; /* 确保子菜单正确定位 */
    padding: 5px 15px;
}

.dropdown-item > a {
    display: block;
    padding: 8px 0;
    color: #333;
    font-weight: bold;
    font-size: 1.6rem;
    text-decoration: none;
}

/* 子菜单样式 */
.submenu {
    display: none;
    border-left: 2px solid var(--blue);
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown-item:hover .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 6px 15px;
    color: #666;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.2s;
}

.submenu a:hover {
    color: var(--blue);
    background-color: #f8f9fa;
}

/* 移动设备上，需要调整下拉菜单的显示方式 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f5f5f5;
        max-height: 70vh; /* 限制最大高度 */
        overflow-y: auto; /* 允许滚动 */
    }

    .submenu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}









/* 右侧悬浮栏样式 */
/* 浮动工具栏样式 */
        .floating-contact-bar {
            position: fixed;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            background: #fff;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
            border-radius: 8px 0 0 8px;
            z-index: 9999;
        }

        .contact-icon {
            padding: 15px;
            color: #fff;
            text-align: center;
            position: relative;
            transition: all 0.3s;
            cursor: pointer;
            font-size: 20px;
        }

        .contact-icon:hover {
            transform: translateX(-5px);
        }

        /* 不同联系方式的背景色 */
        .email { background: #b4dbdb; }
        .phone { background:  #6eb8bb; }
        .whatsapp { background:  #83cbce;  }
        .wechat { background:  #b4dbdb; }

        /* 悬停提示框样式 */
        .contact-tooltip {
            position: absolute;
            right: 100%;
            top: 50%;
            transform: translateY(-50%);
            background: #333;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            margin-right: 10px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            pointer-events: none;
        }

        .contact-tooltip::after {
            content: "";
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent transparent #333;
        }

        .contact-icon:hover .contact-tooltip {
            opacity: 1;
            visibility: visible;
        }

        /* 新增微信二维码悬停样式 */
        .wechat-qr-tooltip {
            position: absolute;
            right: 100%;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            width: 200px;
            text-align: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            margin-right: 15px;
            z-index: 10000;
        }

        .wechat-qr-tooltip::after {
            content: "";
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border-width: 8px;
            border-style: solid;
            border-color: transparent transparent transparent white;
        }

        .wechat:hover .wechat-qr-tooltip {
            opacity: 1;
            visibility: visible;
        }

        .qr-code {
            width: 170px;
            height: 170px;
            margin: 0 auto;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .qr-code img {
            max-width: 100%;
            max-height: 100%;
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .floating-contact-bar {
                transform: translateY(-50%) scale(0.9);
            }
            
            .contact-icon {
                padding: 12px;
                font-size: 18px;
            }
            
            .wechat-qr-tooltip {
                width: 160px;
                margin-right: 10px;
            }
            
            .qr-code {
                width: 140px;
                height: 140px;
            }
        }
        /* 保留原有的模态框样式 */
        .contact-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 25px;
            border-radius: 8px;
            width: 300px;
            text-align: center;
            position: relative;
        }

        .modal-close {
            position: absolute;
            right: 15px;
            top: 10px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .modal-title {
            margin-bottom: 15px;
            font-size: 18px;
            color: #333;
        }

        .phone-popup {
            padding: 15px;
            font-size: 18px;
            color: #333;
        }

        /* 新增WhatsApp二维码悬停样式 */
    .whatsapp-qr-tooltip {
        position: absolute;
        right: 100%;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        width: 200px;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        margin-right: 15px;
        z-index: 10000;
    }

    .whatsapp-qr-tooltip::after {
        content: "";
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent transparent white;
    }

    .whatsapp:hover .whatsapp-qr-tooltip {
        opacity: 1;
        visibility: visible;
    }
    
    /* 二维码容器样式 */
    .qr-code {
        width: 170px;
        height: 170px;
        margin: 0 auto;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .qr-code img {
        max-width: 100%;
        max-height: 100%;
    }

        @media (max-width: 768px) {
            .modal-content {
                width: 90%;
                margin: 30% auto;
            }
        }
        /* 移动设备下的二维码样式 */
        @media (max-width: 768px) {
    .whatsapp-qr-tooltip {
        width: 160px;
        margin-right: 10px;
    }
    
    .qr-code {
        width: 140px;
        height: 140px;
    }
}
/* 右侧悬浮栏样式end */





































/* 底部导航和脚底标 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            /* padding-bottom: 300px;  */
            /* 为底部导航留出空间 */
        }
        
        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #8ee2e21f;
        }
        
        p {
            margin-bottom: 20px;
            font-size: 18px;
        }
        
        /* 底部导航栏样式 */
        .footer {
            background-color: #8ee2e21f;
            color:  #7c8d99;
            padding: 30px 0 10px;
            /* position: fixed;
            bottom: 0;
            width: 100%; */
            /* box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); */
        }
        
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .footer-column {
            flex: 0 0 23%;
            margin-bottom: 10px;
            /* 底部链接与脚标距离 */
        }
        
        .footer-column h3 {
            color: #3498db;
            font-size: 20px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-column li {
            margin-bottom: 10px;
        }
        
        .footer-column a {
            color: #7c8d99;
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            padding: 3px 0;/* 链接内边距 */
            font-size: 16px; /* 添加链接文字大小 */
        }
        
        .footer-column a:hover {
            color: #3498db;
            transform: translateX(5px);
        }
        
        .contact-info li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;/* 添加联系信息间距 */
            font-size: 16px; /* 添加联系信息文字大小 */
        }
        
        .contact-info i {
            margin-right: 10px;
            color: #3498db;
            width: 20px;
            text-align: center;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2px;
            margin-top: 5px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #7c8d99;
            /* font-size: 5px  !important; */
        }
        
        .footer .footer-bottom p {
            font-size: 12px !important;
        }
        /* 公司信息样式 */
        .company-info {
            display: flex;
            flex-direction: column;
        }
        
        .company-logo {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .logo-icon {
            width: 50px;
            height: 50px;
            background-color: #3498db;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 24px;
            color: white;
        }
        
        .logo-text {
            font-size: 20px;
            font-weight: bold;
            color: #3498db;
        }
        
        .company-description {
            margin-bottom: 20px;
            font-size: 16px;
            line-height: 1.5;
            color: #7c8d99;
        }
        
        .social-media {
            display: flex;
            gap: 15px;
        }
        
        .social-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgb(147, 186, 212);
            transition: all 0.3s;
        }
        
        .social-icon:hover {
            background-color: #85db34;
            color: white;
            transform: translateY(-3px);
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .footer-column {
                flex: 0 0 48%;
            }
            
            /* body {
                padding-bottom: 400px;
            } */
        }
        
        @media (max-width: 768px) {
            .footer-column {
                flex: 0 0 100%;
            }
            
            .footer {
                padding: 30px 0 15px;
            }
            
            /* body {
                padding-bottom: 500px;
            } */
            
        }









        /* products-sugarcane.css - 专用样式文件 */

/* 甘蔗浆产品页面专用样式 */
.sugarcane-page .section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #333;
}

.sugarcane-page .section-description {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 产品筛选器样式 */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #27ae60;
    background: white;
    color: #27ae60;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #27ae60;
    color: white;
}

/* 产品网格布局优化 */
.sugarcane-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sugarcane-page .section-title {
        font-size: 2rem;
    }
    
    .product-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .sugarcane-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}














/* 分类筛选器样式 */
.category-filter {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.6rem;
    color: #333;
}

.category-btn:hover,
.category-btn.active {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

/* 当前分类标题 */
.current-category-title {
    text-align: center;
    margin: 20px 0;
    font-size: 2.5rem;
    color: #333;
    padding: 10px;
    background: rgba(79, 214, 207, 0.1);
    border-radius: 5px;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.8rem;
    color: #666;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 产品计数 */
.product-count {
    text-align: center;
    margin: 10px 0 20px;
    font-size: 1.6rem;
    color: #666;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    font-size: 1.6rem;
    margin-bottom: 20px;
}