.cp_nav p:nth-child(1){
    font-size: 28px; color: #4c4c4c; text-align: center; margin-top: 80px;
}
.cp_nav p:nth-child(2){
    font-size: 18px; color: #4c4c4c; text-align: center;
}
.cp_nav hr{
   background: #4c4c4c; height: 1px; width: 35px; margin: 20px auto 0;
}
.cp_inner .cp_inner_ul {
    width: 90%;
    max-width: 1150px;
    margin: 60px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.cp_inner .cp_inner_li{width: calc((100% - 40px) / 3); transition: all 0.5s;}
.cp_inner .cp_inner_li:hover{
    box-shadow: 1px 1px 3px #666;
}
.cp_inner_li p:nth-child(1){
        overflow: hidden;
        position: relative;
}

.cp_inner_li p:nth-child(1) span{position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 0;
    transition: all 0.5s;
}
.cp_inner_li p:nth-child(1)::before{
    z-index: 3;
    content: "";
    position: absolute;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 2px;
    transition: all 0.5s;
    background: #fff;}
.cp_inner_li:hover p:nth-child(1) span{
    width: 35px;opacity: 1;
}
.cp_inner_li:hover p:nth-child(1)::before{
    height: 35px;opacity: 1;
}
.cp_inner .cp_inner_li img{max-width: 100%; width: 100%;transition: all 0.5s;}
.cp_inner .cp_inner_li:hover img{transform: scale(1.1);}
.cp_inner_li p:nth-child(2){
    color: #4c4c4c;
     line-height: 30px;
    font-size: 16px;
    text-align: center;
    padding: 15px;
}.cp_inner_li:hover p{
    color:#3064b9;
}

/*产品详情*/

.product_details{max-width: 1300px;width: 90%;
    margin: 60px auto;
    display: flex;
    gap: 20px;}
.product_details_left{width: 30%;}
.product_details_left > div{    padding: 10px;
    border-radius: 10px;
    border: 1px solid #f1f1f1;
    box-shadow: 1px 1px 2px #ccc;
    
    position: sticky;
    top: 120px;}
.product_details h1{    font-size: 24px;position: relative;
    color: #3064b9;
    font-weight: bold;
    line-height: 48px;
    padding: 20px 0;
    border-bottom: 2px solid #ccc;}
.product_details h1::after{content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    z-index: 1;
    background: #3064b9;
    height: 2px;
    width: 30%;
    max-width: 120px;}
.price{font-size: 20px;
    color: red;
    line-height: 3;
    padding-top: 10px;}
.brand{    font-size: 18px;
    line-height: 1.5;
    padding-bottom: 10px;
    color: #666;}
.profile{    font-size: 18px;
    line-height: 1.5;
    padding-bottom: 15px;
    color: #666;}
.product_details_left p span:nth-child(1){
    display: inline-block;
    min-width: 75px;
    text-align: justify;text-align-last: justify;
}
.img img{width: 100%;}

.product_details_right{
  width: 70%;  
   padding: 10px;
    border-radius: 10px;
    border: 1px solid #f1f1f1;
    box-shadow: 1px 1px 2px #ccc;
}
.product_details_right > div{padding-top: 20px;}
.product_details_right > div,.product_details_right > div *{
font-size: 16px; font-weight: 300px;color: #333;
line-height: 36px;
    }
.product_details_right img{    max-width: 100%;width: 100%;  height: auto;}
.buy a{    
    transition: all 0.5s;
font-size: 16px;
    line-height: 32px;
    color: red;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid red;
    padding: 0px 11%;
    display: inline-block;
    margin-bottom: 20px;}
.buy:hover a{
color: #fff;
    border: 1px solid #3064b9;
    background: #3064b9;
}



.swiper-container-wrapper .custom-nav-btn{
transition:all 0.5s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    background: rgba(0, 0, 0, 0.2);
    line-height: 50px;
    padding: 20px 5px;
    border-radius: 5px;
    color: #fff;}

.swiper-container-wrapper .custom-nav-btn：hover{
 background:#3064b9;
}
.swiper-container-wrapper .custom-prev{ left: 20px;}
.swiper-container-wrapper .custom-next{ right: 20px;}

#customPagination {
    position: absolute;
    bottom: 20px;
    transform: translateX(-50%);
    left: 50%;
    display: flex;
    z-index: 3;
}
#customPagination div {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    margin: 0 5px;
}
#customPagination div {
    transition: all 0.5s;
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    margin: 0 5px;
}
#customPagination div.active{
    width: 20px;
    background: #3064b9;
}
.swiper-container-wrapper{    border-radius: 5px;
    overflow: hidden;}



