﻿/* 导航栏容器 */

.ellipsis1{
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.ellipsis2{
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
/*flex*/
.flex-wrap {
flex-wrap: wrap;
}

.flex {
display: -webkit-box;
/* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
display: -moz-box;
/* Firefox 17- */
display: -webkit-flex;
/* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
display: -moz-flex;
/* Firefox 18+ */
display: -ms-flexbox;
/* IE 10 */
display: flex;
/* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
}

.flex-center {
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
}

.flex-end {
-webkit-box-pack: end;
-ms-flex-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
}

.space-between {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}

.flex-start {
-webkit-box-align: start;
-ms-flex-align: start;
-webkit-align-items: flex-start;
align-items: flex-start;
}

.align-items_flex-end {
-webkit-box-align: end;
-ms-flex-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
}

.align-items_center {
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}

.align-items_baseline {
-webkit-box-align: baseline;
-ms-flex-align: baseline;
-webkit-align-items: baseline;
align-items: baseline;
}
.flex-direction_column {
flex-direction: column;
}

  

.nav-link:focus
.nav-link:active{
    outline: none !important;
    box-shadow: none !important;
    background: #000 !important;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #000;
}

/* 滚动后的导航栏样式 */
.navbar.scrolled {
    background-color: white;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 导航栏内容容器 */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
}
.navbar:hover{
    background: #fff;
}

/* 品牌logo/名称 */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

/* 导航菜单 */
.navbar-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    column-gap: 6%;
    padding: 0;
    flex: 1;
}

/* 导航项 */
.nav-item {
   
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
    font-size: 18px;
}

.nav-link:hover {
    color: #25A2C0;
}

/* 二级菜单容器 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f9f9f9;
    color: #333;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* 鼠标悬停时显示二级菜单 */
.pc_class .nav-item:hover .dropdown {
    max-height: 100vh; /* 足够大的值容纳内容 */
    opacity: 1;
}

/* 二级菜单内容容器 */
.dropdown-content {
    padding: 30px 10%;
}

/* 二级菜单列 */
.dropdown-column {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.dropdown-column h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.dropdown-column a {
    display: block;
    color: #666;
    padding: 5px 0;
    text-decoration: none;
    transition: color 0.3s;
}

.dropdown-column a:hover {
    color: #000;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav_pro_list{
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
}
.nav_pro_list .item{
    display: block;
    width: calc((100% - 100px) / 6);
}
.nav_pro_list .item .img{
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 10px;
}
.nav_pro_list .item .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left:0;
    transition: all 0.3s;
}
.nav_pro_list .item:hover .img img{
    transform: scale(1.1);
}
.nav_pro_list .item:hover .img{
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.nav_pro_list .item .t{
    font-size: 16px;
    text-align: center;
    margin-top: 15px;
}
.nav_pro_list .item:hover .t{
    color:#25A2C0;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 4%;
        height: 60px;
    }
    
    .navbar-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        color: #333;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.active {
        max-height: calc(100vh - 60px);
        overflow-y: scroll;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
    }
    
    .dropdown {
        position: static;
        width: 100%;
        transform: none;
        max-height: 0;
        background-color: #f9f9f9;
        box-shadow: none;
    }
    
    .dropdown.active {
        max-height: 100vh;
        opacity: 1;
        margin-top: 10px;
        overflow-y: scroll;
    }
    
    .dropdown-content {
        padding: 15px;
        flex-direction: column;
       
    }
    
    .dropdown-column {
        width: 100%;
        padding: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* 添加箭头图标 */
    .has-dropdown .nav-link::after{
        content: '+';
        font-size: 20px;
        transition: transform 0.3s;
    }
    
    .has-dropdown.active .nav-link::after{
        content: '-';
    }

    .nav_pro_list .item{
        width: calc((100% - 20px) / 2);
    }

    .auto-ratio-box .__box-content[data-v-077387a0]{
        position: static;
    }
    .index-products-grid-wrap .__height-box[ddata-v-077387a0],
    .index-products-grid-wrap .__height-box[data-v-077387a0]{
        display: none;
    }
    .index-products-grid-wrap .product-item .product-link .ob-button{
        margin-bottom: 30px;
    }
    .index-products-grid-wrap[data-v-c201a32e]{
        grid-gap: 24px;
    }
    .index-products-grid-wrap .product-item .product-logo[data-v-c201a32e]{
        font-size: 24px;
    }
    .index-products-grid-wrap .product-item .product-title[data-v-c201a32e]{
        font-size: 16px;
    }
}


.ap-image{
    display: block;
    width: 100%;
}
.ap-image img{
    width: 100%;
    display: block;
}


.banner{
    position: relative;
}
.banner .text-warp{
    position: absolute;
    width: 100%;
    top: 15%;
    left: 0;
    color:#fff;
    text-align: center
}
.banner .text-warp .title{
    font-size: 32px;
    font-weight: bold;
}
.banner .text-warp .desc{
    font-size: 20px;
    margin: 20px 0 40px;
}
.banner .text-warp .more{
    border-radius: 2em;
    border: 1px solid #fff;
    font-size: 16px;
    padding: 10px 40px;
    transition: all 0.3s;
}
.banner .text-warp .more:hover{
    background: #fff;
    color:#000;
}


.index-reviews__container .list .index-reviews__review-text{
    display: none;
}

.language{
    font-size: 14px;
    display: flex;
    column-gap: 6px;
    align-items: center;
}
.language .line{
    width: 1px;
    height: 14px;
    background: #ccc;
}


.index-pro-list{
    background: #fafafa;
    padding: 80px 0 20px;
}
.index-pro-title{
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    font-weight: 700;
}
.index-pro-list .list .item{
    row-gap: 20px;
}
.index-pro-list .list .item .img{
    position: relative;
    padding-bottom: 100%;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    background: #fff;
}
.index-pro-list .list .item .img img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    object-fit: contain;
    transform: translate(-50%,-50%);
    transition: all 0.5s;
}
.index-pro-list .list .item:hover .img img{
    width: 110%;
    height: 110%;
}
.index-pro-list .list .item .t{
    text-align: center;
    font-size: 16px;
}

.single-page{
    line-height: 1.8;
    font-size: 16px;
    max-width: 1000px;
    margin: auto;
}
.single-page p{
    text-indent: 2em;
}


.contact-main {
    max-width: 1000px;
    margin:50px auto;
    
}
.contact-main .left{
    width: 100%;
}
.contact-main .rgiht{
    width: 40%;
    display: none;
}
.contact-main .left .contact-title{
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: bold;
    text-align: center;
}
.contact-main .left .contact-desc{
    font-size: 16px;
    color: #999;
    text-align: center;
}
.contact-list{
    display: flex;
    row-gap: 20px;
    column-gap: 20px;
    margin-top: 30px;
}
.contact-item{
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    column-gap: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 20px;
    flex: 1;
    padding-top: 40px;
}
.contact-item .icon{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #25A2C0;
}
.contact-item .icon img{
    height: 35px;
}
.contact-item .info{
    flex: 1;
}
.contact-item .info .tt{
    font-size: 16px;
    color:#999;
    text-align: center;
    margin-bottom: 10px;
}
.contact-item .info .v{
    font-size: 18px;
    line-height: 1.5;
}

.productSwiper .swiper-button-next, 
.productSwiper .swiper-button-prev,
.banner .swiper-button-next, 
.banner .swiper-button-prev{
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.productSwiper .swiper-button-next::after, 
.productSwiper .swiper-button-prev::after,
.banner .swiper-button-next:after,
.banner .swiper-button-prev::after{
    font-size: 20px;
}

.productSwiper .swiper-scrollbar{
    display: none;
}

.about-imgs{
    max-width: 1000px;
    column-gap: 10px;
    row-gap: 10px;
    margin: auto;
}
.about-imgs .img{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    width: calc((100% - 10px) / 2);
}
.about-imgs .img img{
    width: 100%;
    display: block;
}


/* 移动端样式 */
@media (max-width: 768px) {
    .index-pro-list{
        padding-top: 50px;
        padding-bottom: 0;
    }
    .index-pro-list .list .item{
        row-gap: 12px;
    }
    .index-pro-title{
        font-size: 24px;
        margin-bottom: 32px;
    }

    .contact-main{
        flex-direction: column;
    }
    .contact-main .left,
    .contact-main .right{
        width: 100%;
    }

    .contact-item{
        column-gap: 20px;
        padding-top: 20px;
    }

    .contact-item .icon{
        width: 50px;
        height: 50px;
    }
    .contact-item .icon img{
        height: 25px;
    }
    .contact-item .info .tt{
        font-size: 14px;
    }
    .contact-item .info .v{
        font-size: 16px;
    }
    .contact-main .left .contact-title{
        font-size: 24px;
    }
    .contact-main .left .contact-desc{
        font-size: 14px;
    }
    .contact-list{
        flex-direction: column;
    }
    .productSwiper{
        position: relative;
        padding-bottom: 20px;
    }
    .productSwiper .swiper-scrollbar{
        display: block;
        bottom: 0;
        width: 50%;
        left: 25%;
    }
    .productSwiper .swiper-scrollbar-drag{
        background: #25A2C0;
    }

    .productSwiper .swiper-button-next, 
    .productSwiper .swiper-button-prev{
        display: none;
    }

    





}


/* 产品详情 */
.details-container {
    width: 92%;
    max-width: 1200px;
    margin: 120px auto 80px;
}

.details-container .product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.details-container .product-gallery {
    flex:0 0 44%;
    min-width: 300px;
}

.details-container .product-info {
    flex: 1;
    min-width: 300px;
}

/* 轮播图样式 */
.details-container .carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.details-container .carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.details-container .carousel-slide {
    min-width: 100%;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center;
}

.details-container .carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.details-container .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.details-container .carousel-dot.active {
    background: #25A2C0;
}

.details-container .carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
}

.details-container .carousel-btn {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 18px;
    color: #333;
}

.details-container .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 缩略图样式 */
.details-container .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.details-container .thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    background-size: cover;
    background-position: center;
}

.details-container .thumbnail.active {
    opacity: 1;
    border: 2px solid #25A2C0;
}

/* 产品信息样式 */
.details-container .product-title {
    font-size: 32px;
    margin-bottom: 40px;
    margin-top: 30px;
    color: #000;
}

.details-container .product-price {
    font-size: 24px;
    color: #e74c3c;
    margin-bottom: 20px;
    font-weight: bold;
}

.details-container .product-description {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
}

.details-container .color-options {
    margin-bottom: 30px;
}

.details-container .color-title {
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.details-container .color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.details-container .color-item {
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    background-color: #f8f9fa;
    font-weight: 500;
    text-align: center;
    min-width: 100px;
}

.details-container .color-item.active {
    border-color: #25A2C0;
    background-color: #ebf5fb;
    color: #25A2C0;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}

.details-container .specs {
    margin-bottom: 30px;
}

.details-container .specs-title {
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
}
.details-container .spece-cont{
    line-height: 1.8;
    color:#666;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .details-container  .product-detail {
        flex-direction: column;
    }
    
    
    .details-container  .product-title {
        font-size: 24px;
    }
    
    .details-container  .color-item {
        min-width: 80px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .details-container{
        margin: 80px auto 40px;
    }
}

.footer{
    padding-top: 40px;
    background: #f9f9f9;
}
.footer .footer-copyright {
    border-top: 1px solid #e3e3e3;
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    text-align: left;
}
.footer .footer-copyright .copyright-text {
    color: #999;
    flex: 1;
    font-size: 10px;
    line-height: 1.8;
    padding: 10px 0;
}
.footer-top .item-title{
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.footer-top .item:nth-child(1){
    width: 40%;
}
.footer-top .item:nth-child(1) a{
    width: 50%;
}
.footer-top .item a{
    color: #999;
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 2.5;
    transition: all .3s;
}
.footer-top .item-link a:hover{
    color: #25A2C0;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .footer-top {
        display: none;
    }
    .navbar-brand {
        font-size: 1.2em;
    }
}