: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, 164, 0.096);
}

.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:#fff;
    padding:2rem 9%;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    justify-content: flex-start; /* 改为 flex-start */
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

header .logo{
    font-size: 3rem;
    color:#333;
    font-weight: bolder;
}

header .logo span{
    color:var(--blue);
}

header > *:not(.navbar) {
    flex-shrink: 0; /* 防止非导航元素被压缩 */
}

/* 让导航栏占据剩余空间并居中 */
header .navbar {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px; /* 给导航栏左右留一些空间 */
}

/* 调整工具容器和分享按钮之间的距离 */
/* .utility-container {
    margin-right: 2px;
}

.share-btn {
    margin-left: 2px;
} */


header .navbar a{
    font-size: 2rem;
    padding:0 1.5rem;
    color:#666;
}

header .navbar a:hover{
    color:var(--blue);
}

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{
    font-size: 3rem;
    color:#333;
    border-radius: .5rem;
    padding:.5rem 1.5rem;
    cursor: pointer;
    border:.1rem solid rgba(0,0,0,.3);
    display: none;
}







/* 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 */
/* .about .row{
    display: flex;
    align-items: center;
    gap:2rem;
    flex-wrap: wrap;
    padding:2rem 0;
    padding-bottom: 3rem;
}

.about .row .video-container{
    flex:1 1 40rem;
    position: relative;
}

.about .row .video-container video{
    width:100%;
    border:1.5rem solid #fff;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    height: 100%;
    object-fit: cover;
}

.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;
}

.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;
} */



/* about section styles */
.about .row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    padding-bottom: 3rem;
}

.about .carousel-container {
    flex: 1 1 10%;
    position: relative;
    overflow: hidden;
}

.about .content {
    flex: 1 1 90%;
}
/* 轮播图和文字占比为1:9 */

.about .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 3 images side by side */
    transform: translateX(0);
}

.about .carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.about .carousel-item img {
    width: 90%;
    height: auto;
    /* padding-bottom: 56.25%; */
     /* 16:9 aspect ratio */
    border-radius: 8px;
    object-fit: cover;
}

.about .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;
}

.about .carousel-control.prev {
    left: 10px;
}

.about .carousel-control.next {
    right: 10px;
}

.about .carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.about .content {
    flex: 1 1 40rem;
}

.about .content h3 {
    font-size: 3rem;
    color: #333;
}

.about .content p {
    font-size: 1.5rem;
    color: #999;
    padding: 0.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;    
}

.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;
}

.products .box-container .box .image img{
    height:25rem;
}

.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;
}

.products .box-container .box .content h3{
    font-size: 2.5rem;
    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;
}

/* section */

.image-carousel {
    text-align: center;
    padding: 50px 0;
    background-color: #e0ffe0; /* 修改背景颜色 */
}

.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);
}































/* 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);
    padding-top: 6rem; /* 控制顶部内边距 */
    padding-bottom: 1rem; /* 控制底部内边距 */
}

.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);
} */
/* 底部导航和脚底标 */
        * {
            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; */
            display: flex;
            justify-content: center;
            align-items: 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;
            } */
            
        }





        














/* media queries  */
@media (max-width:991px){
    
    html{
        font-size: 55%;
    }

    header{
        padding:2rem;
    }

    section{
        padding:2rem;
    }

    .home{
        background-position: left;
    }

}

@media (max-width:768px){

    header .fa-bars{
        display: block;
    }

    header .navbar{
        position:absolute;
        top:100%; left:0; right:0;
        background:#eee;
        border-top: .1rem solid rgba(0,0,0,.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header #toggler:checked ~ .navbar{
        clip-path:polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    header .navbar a{
        margin:1.5rem;
        padding:1.5rem;
        background:#fff;
        width: 48rem;
        border:.1rem solid rgba(0,0,0,.1);
        display: block;
    }

    .home .content h3{
        font-size: 5rem;
    }

    .home .content span{
        font-size: 2.5rem;
    }

    .icons-container .icons h3{
        font-size: 2rem;
    }
    
    .icons-container .icons span{
        font-size: 1.7rem;
    }
    
}

@media (max-width:450px){
    
    html{
        font-size: 50%;
    }

    .heading{
        font-size: 3rem;
    }

}






/* 工具容器 - 确保不影响原有布局 */
.utility-container {
    display: flex;
    align-items: center;
    gap: 5px; /* 控制搜索框和语言切换之间的距离 */
    position: relative;
  }

  .utility-container, .share-btn {
    margin: 0 5px; /* 增加左右间距 */
}

/* 在小屏幕上进一步调整 */
@media (max-width:768px) {
    .utility-container, .share-btn {
        margin: 0 2px; /* 更大的间距 */
    }
}
  
  /* 搜索框样式 */
  /* .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;
  }







  
/* 搜索框 */ 
/* 工具容器 - 确保不影响原有布局 */
/* .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; /* 保证不同语言下的统一间距 德语和俄语的导航项可能较长*/
}















/* product0001 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    padding: 20px;
    background-color: #f8f8f8;
}

.product-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.product-images {
    display: flex;
    width: 60%;
}

.thumbnail-column {
    width: 15%;
    margin-right: 15px;
}

.thumbnail {
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 3px;
    transition: border-color 0.3s;
}

.thumbnail:hover {
    border-color: #ff9900;
}

.main-image-container {
    width: 85%;
    position: relative;
}

.main-image {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.product-info {
    width: 40%;
    padding-left: 30px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50; /* 深蓝色 */
    text-align: left; /* 文字靠右 */
    display: block; /* 确保作为块级元素 */
    width: 100%; /* 确保占据整个宽度 */
}

.product-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.size-option {
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.size-option:hover {
    border-color: #ff9900;
    background-color: #fff7e6;
}

.size-option.active {
    border-color: #ff9900;
    background-color: #ffeb99;
}

.moq {
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-btn {
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 30px;
}

.contact-btn:hover {
    background-color: #e68a00;
}

.specifications {
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.specifications h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.specifications ul {
    list-style-type: none;
}

.specifications li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.specifications li:before {
    content: "-";
    position: absolute;
    left: 0;
}

.spec-group {
    margin-bottom: 20px;
}

.spec-group h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}







/* 添加在原有CSS后面 */

/* 解决导航栏遮挡问题 */
body {
    padding-top: 80px; /* 根据导航栏高度调整 */
}

/* 商品详情平铺布局 */
.product-container {
    display: block; /* 改为块级布局 */
    max-width: 2000px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0);
}

.product-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-images {
    flex: 1 1 600px; /* 更灵活的宽度 */
    display: flex;
}

.product-info {
    flex: 1 1 500px; /* 更灵活的宽度 */
    padding-left: 0; /* 移除左边距 */
}

/* 图片区域调整 */
.thumbnail-column {
    width: 80px; /* 固定缩略图宽度 */
    margin-right: 15px;
}

.main-image-container {
    flex: 1;
}

/* 详情区域调整 */
.product-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
}

.size-options {
    margin-bottom: 25px;
}

.specifications {
    margin-top: 30px;
    padding-top: 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .product-images {
        flex-direction: column;
    }
    
    .thumbnail-column {
        width: 100%;
        display: flex;
        order: 2;
        margin-top: 15px;
        margin-right: 0;
    }
    
    .thumbnail-column img {
        width: 60px;
        margin-right: 10px;
        margin-bottom: 0;
    }
}


/* 表格样式*/
.product-table {
    margin-top: 20px;
    overflow-x: auto;
}

.product-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-table th, 
.product-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.product-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.product-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.product-table tr:hover {
    background-color: #f1f1f1;
}








/* products3 section styles随机推荐产品 */
.products3 .box-container{
    display: flex;
    flex-wrap: wrap;
    /* gap:0.5rem; */
    gap: 1rem;
    justify-content: center; /* 可选：居中显示 */
}

.products3 .box-container .box{
    flex:1 1 20rem;
    max-width: 20%; /* 强制一行 5 个盒子 */
    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); /* 设置商品盒子底色为红色 */
}

.products3 .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;
}

.products3 .box-container .box .image{
    position: relative;
    text-align: center;
    padding-top: 2rem;
    overflow:hidden;
}

.products3 .box-container .box .image img{
    height:25rem;
}

.products3 .box-container .box:hover .image img{
    transform: scale(1.1);
}

.products3 .box-container .box .image .icons{
    position: absolute;
    bottom:-7rem; left:0; right:0;
    display: flex;
}

.products3 .box-container .box:hover .image .icons{
    bottom:0;
}

.products3 .box-container .box .image .icons a{
    height: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    width:50%;
    background:var(--blue);
    color:#fff;
}

.products3 .box-container .box .image .icons .cart-btn{
    border-left: .1rem solid #fff7;
    border-right: .1rem solid #fff7;
    width:100%;
}

.products3 .box-container .box .image .icons a:hover{
    background:#333;
}

.products3 .box-container .box .content{
    padding:2rem;
    text-align: center;
}

.products3 .box-container .box .content h3{
    font-size: 2.5rem;
    color:#333;
}

.products3 .box-container .box .content .price{
    font-size: 2.5rem;
    color:var(--blue);
    font-weight: bolder;
    padding-top: 1rem;
}

.products3 .box-container .box .content .price span{
    font-size: 1.5rem;
    color:#999;
    font-weight: lighter;
    text-decoration: line-through;
}

.products3 .box-container .box.active {
    display: block; /* 显示随机的5个 */
}





/* 分享按钮样式 */
.share-btn {
    padding: 10px 20px;
    background: #4fd6cf;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
  }
  
  .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;
  }


/* 搜索结果容器样式 */
/* #search-results {
    position: absolute;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    background: white;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    display: none;  */
    /* 默认隐藏 */
/* } */

/* 当有搜索结果时显示 */
/* #search-results[data-pagefind-ui] {
    display: block;
} */

/* 适配你的主题色 */
/* .pagefind-ui__result {
    border-bottom: 1px solid #eee;
    padding: 12px;
} */

/* 强制覆盖Pagefind默认样式 */
/* #search-results .pagefind-ui__search-input {
  border: 1px solid #ddd !important;
  padding: 8px 15px !important;
}

#search-results .pagefind-ui__result {
  border-bottom: 1px solid #eee;
  padding: 12px;
} */

/* 保持原有搜索框样式 */
/* .search-container {
  position: relative;  */
  /* 必须设置 */
/* }

#search-results {
  top: 100%;  */
  /* 结果框显示在搜索框下方 */
  /* left: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} */



/* 确保搜索结果可见 */
/* #search-results[data-pagefind-ui] {
    display: block !important;
}

.pagefind-ui__result {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.pagefind-ui__result-link {
    font-size: 1.2em;
    font-weight: bold;
}

.pagefind-ui__result-excerpt {
    color: #666;
} */









/* 文章区域样式 */
.material-article {
  margin: 3rem 0;
  padding: 2.5rem;
  background: #f8fafb;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.material-article h2 {
  color: var(--blue);
  font-size: 2.4rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #ddd;
}

.article-content {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.8rem;
  list-style-type: disc;
}

.btn-article {
  display: inline-block;
  margin-top: 2rem;
  background: var(--blue);
  color: white !important;
}

.btn-article:hover {
  background: #3aa8a3;
}




/* 文章区域样式 */
.material-article {
  margin: 3rem 0;
  padding: 2.5rem;
  background: #f8fafb;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.material-article h2 {
  color: var(--blue);
  font-size: 2.4rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #ddd;
}

.article-content {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.8rem;
  list-style-type: disc;
}

.btn-article {
  display: inline-block;
  margin-top: 2rem;
  background: var(--blue);
  color: white !important;
}

.btn-article:hover {
  background: #3aa8a3;
}

/* 保持原有.material-article样式不变 */






/* 文章容器样式 */
.material-article-container {
    margin: 40px auto;
    max-width: 1600px;/* 宽度 */
    padding: 0 20px;
}

/* 文章与产品详情之间的间距 */
#productContainer + .material-article-container {
    margin-top: 60px;
}

/* 文章与推荐产品之间的间距 */
.material-article-container + #products3 {
    margin-top: 40px;
}








/* 导航栏下拉菜单基础样式 */
.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){
    header .fa-bars{
        display: block;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #eee;
        border-top: .1rem solid rgba(0,0,0,.1);
        display: none; /* 默认隐藏 */
        max-height: 70vh; /* 设置最大高度 */
        overflow-y: auto; /* 允许垂直滚动 */
    }

    header #toggler:checked ~ .navbar{
        display: block; /* 选中时显示 */
    }

    header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        background: #fff;
        width: 48rem;
        border: .1rem solid rgba(0,0,0,.1);
        display: block;
    }
    
    /* 移动端下拉菜单样式调整 */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f5f5f5;
        max-height: none;
        overflow: visible;
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        padding-left: 30px;
        background: #fff;
        margin: 10px 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* 确保下拉菜单内容可见 */
    .navbar .dropdown {
        width: 100%;
    }
}


/* 右侧悬浮栏样式 */
/* 浮动工具栏样式 */
        .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 */







/* 左侧图片鼠标悬停切换。添加到 products.css 中 */

/* .thumbnail.active {
    border-color: #ff990096;
    background-color: #fff7e6;
    box-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
} */

/* 可选：为缩略图添加过渡效果 */
/* .thumbnail {
    transition: all 0.3s ease;
}

.main-image {
    transition: opacity 0.3s ease;
} */




