body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-top: 100px;
    /* 增加 overflow-x 隐藏，防止手机端左右晃动 */
    overflow-x: hidden; 
}

/* 所有的元素都应用 border-box，防止 padding 撑破宽度 */
* {
    box-sizing: border-box;
}

.zhuye_video {
    position: fixed;   
    right: -200px;
    bottom: -168px;
    min-width: 100%;   
    min-height: 100%;  
    width: auto;
    height: auto;
    z-index: -100;     
    object-fit: cover; 
    background-size: cover
}

/*---------↓--------- 购物车 ---↓----------------*/

.cart-float-daohang {
  width: 55px;
  height: 55px;
  background: #ffac27;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 33px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
}

.cart-float-daohang img {
  position: absolute;  
  width: 40px;
  height: 40px;
  left: 6px;
  top: 15px;
}

.cart-count-daohang {
  position: absolute;
  top: -8px;
  right: -8px;
  background: red;
  color: white;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cart-float {
  position: fixed;       
  bottom: 88px;         
  left: 30px;           
  width: 60px;
  height: 60px;
  background: #ffac27;
  border-radius: 20%;   
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 33px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;          
}

.cart-float img {
  position: absolute;  
  width: 45px;
  height: 38px;
  left: 6px;
  top: 15px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: red;
  color: white;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/*---------↓--------- 信息框样式 ---↓----------------*/

.xinxi_kuang {
    position: fixed;
    display: flex;
    top: 118px;
    right: 50px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    width: auto;
    max-width: 90%; 
    height: auto;
    min-height: 25px;
    border-radius: 10px;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    background-color: rgb(220, 236, 250);
    transform: translateX(calc(100% + 50px));
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 50;
}

.xinxi_kuang.active {
    transform: translateX(0);
}

.xinxi {
    display: flex;
    align-items: center;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    font-family: Arial, sans-serif;
    margin-right: 10px;
    flex-shrink: 0;
}

.neirong {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.xinxi_kuang .jindu {
    position: absolute;
    bottom: 0;
    left: 0; 
    height: 3px;
    width: 0; 
}

.xinxi_kuang.active .jindu {
    animation: jindu_run 3s linear forwards;
}

@keyframes jindu_run {
    0% { width: 100%; }
    100% { width: 0%; }
}

button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  transition: all 0.15s ease; 
  position: relative;
  top: 0;
  box-shadow: 0 3px 0 rgba(0,0,0,0.2);
}

button:active {
  top: 2px;             
  box-shadow: inset 5px 5px 8px rgba(0,0,0,0.2); 
  opacity: 0.9;           
}

/* ------------- 导航栏---------- */

.daohang {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;           
    width: 100%;
    z-index: 9999;     
    height: 100px; 
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(15px);               
    -webkit-backdrop-filter: blur(15px);      
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
}

.logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 50px;
    margin-left: 50px; 
    align-items: center;
}

.nav li a {
    font-size: 19px;
    text-decoration: none !important;
    font-weight: 700;
    color: #333;       
    transition: color 0.3s ease;
}

.nav li a:hover {
    color: #ffac27;    
}

.nav > li {
    position: relative;
}

.sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 10px 0;
    text-decoration: none;
}

.sub li {
    display: flex;
    justify-content: center;
    background-color: rgba(65, 105, 225, 0.85); 
    backdrop-filter: blur(8px);                 
    -webkit-backdrop-filter: blur(8px);
    margin-top: 5px;
    width: 235px;
    height: 35px;                               
    border-radius: 5px;
    transition: all 0.2s ease;
}

.sub li a {
    color: white;
    text-decoration: none;
    line-height: 35px;
    font-size: 14px;
}

.sub li:hover {
    transform: scale(1.05); 
    background-color: rgba(65, 105, 225, 1); 
}

.nav > li:hover .sub {
    display: block;
}

.index_zhutu, .bpb_zhutu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    background-color: rgb(194, 193, 193);
}

.bpb_chan_pin {
    margin: 25px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    padding: 10px;
    gap: 30px; 
    width: 100%;
    max-width: 1600px; 
    justify-content: center; 
}

.chan_pin_kuang {
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    height: 340px;
    background-color: rgb(241, 238, 234);
    margin: 0 auto;
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);  
}

.chan_pin_kuang:hover {
    cursor:pointer
}

.chan_pin_bj {
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    align-items: center;
}

.chan_pin_bj label {
    color: rgb(111, 111, 111);
    font-size: x-large;
    font-weight: 500;
    margin-top: 5px;
}

.cp_img1 {
  opacity: 1;
  position: absolute;
    object-fit: cover;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    width: 250px;
    height: 250px;
    filter: drop-shadow(0 5px 23px rgba(0, 0, 0, 0.3));
    transition: opacity 1s ease
}

.cp_img2 {
  opacity: 0;
  bottom: 0px;
  position: absolute;
  object-fit: cover;
  transition: opacity 1s ease
}

.chan_pin_kuang:hover .cp_img1 {
  opacity: 0;
}
.chan_pin_kuang:hover .cp_img2 {
  opacity: 1;
  width: 100%;  
    height: 100%; 
    left: 0;      
    transform: translateX(0); 
    bottom: 0;
}

.cp_biao_ti {
    margin-top: 80px;
    font-size: 40px;
    color: rgb(103, 103, 103);
    text-align: center; 
}

/* ---------------↓--------产品页面----------↓---------------------- */

.cp_ge_ceng {
    width: 100%;
    height: 50px;
    background-color: rgb(194, 193, 193);
}

.cp_zhan_shi {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto; 
    min-height: 1000px;
    background-color: rgb(243, 203, 150);
    padding: 50px 0;
}

.p_zhan_shi_1 {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: flex-start;
    width: 90%;
    height: auto;
}

.cp_id label {
    font-size: 30px;
    font-weight: bold;
    color: rgb(6, 6, 6);
}   

.p_zhan_shi_1_zuo {   
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100%;
    max-width: 800px; 
    height: auto;
}

.p_zhan_shi_1_zuo_img {
    width: 100%; 
    max-width: 600px;
    height: auto;
    aspect-ratio: 1 / 1; 
    border-radius: 15px;
    overflow: hidden;
}

.p_zhan_shi_1_zuo_img img {
    width: 100%;     
    height: 100%;    
    object-fit: cover; 
    display: block;
}

.p_zhan_shi_1_zuo_img_xuantu {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;  
    width: 100%;         
    height: auto;
    flex-wrap: wrap;
    margin-top: 20px;
}

.p_zhan_shi_1_zuo_img_xuantu img {
    width: 100px;
    height: 100px;
    margin: 5px;
}

.p_zhan_shi_1_you {    
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    width: 100%;
    max-width: 800px;
    height: auto;  
    min-height: auto; 
}

.p_zhan_shi_1_you_info {
    margin: 10px;
    width: 95%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.p_zhan_shi_1_you_info h2 {
    margin: 0; 
}
.p_zhan_shi_1_you_info p {
    margin: 2px 0; 
}

.p_zhan_shi_1_you_color {
    width: 95%;
    height: auto;
}

.p_zhan_shi_1_you_color_label {
    margin: 5px;
}

.p_zhan_shi_1_you_color_xz {
    margin: 10px;
    display: flex;
    width: 95%;
    justify-content: center;
    flex-wrap: wrap;
}

.p_zhan_shi_1_you_size {
    margin: 10px;
    width: 95%;
    height: auto;
}

.p_zhan_shi_1_you_color_xz img {
    width: 70px;
    margin: 5px; 
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid transparent; 
    transition: all 0.2s ease;
    cursor: pointer;
}

.p_zhan_shi_1_you_color_xz img:hover {
  border-color: rgb(232, 113, 10); 
}

.p_zhan_shi_1_you_color_xz img:active {
  transform: scale(0.93); 
  opacity: 0.8;
  border-color: rgb(196, 88, 0); 
}

.p_zhan_shi_1_you_size_btn {
    margin: 10px;
    display: flex;
    width: 95%;
    justify-content: center;
    flex-wrap: wrap;
}

.p_zhan_shi_1_you_size_btn button {
    margin: 5px;
    width: 100px;
    height: 40px;
    font-size: larger;
    color: rgb(232, 113, 10);
    border: none;
    border-radius: 5px;
}

.p_zhan_shi_1_you_jiesuan {
    justify-content: center; 
    gap: 10px;
    width: 95%;
    height: auto;
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    padding: 10px;
}

.add_to_cart_btn {
    width: 200px;
    height: 50px;
    background-color: rgb(168, 168, 168);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    margin-left: 0; 
}

.quantity_input {
    width: 88px;
    height: 30px;
    text-align: center;
    font-size: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
}

.quantity_input_jian , .quantity_input_jia {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(168, 168, 168);
    color: white;
    font-size: 20px;    
    border: none;
}

.xuan_ding {
    display: flex;
    background-color: rgb(185, 185, 185);
    width: 100%;
    height: auto;
    min-height: 68px;
    font-size: 25px;
    color: rgb(43, 43, 43);
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 10px;
    padding: 10px;
    border-radius: 15px;
}

/* ---------------↓--------购物车结算----------↓---------------------- */

.gwc_ge_ceng {
    width: 100%;
    height: 50px;
    background-color: rgb(194, 193, 193);
}

.gwc_zhu_chuang {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%; 
    min-height: 888px;
    margin: 20px auto;
}

.gwc_zhu_01 {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    border-radius: 20px;
    min-height: 800px;
    background-color: rgb(241, 238, 234);
    padding: 20px 0;
}

.gwc_zhu01_zuo {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    align-content: start; 
    row-gap: 25px;
    column-gap: 20px;       
    width: 100%;
    max-width: 950px;
    min-height: auto;
    padding: 20px; 
    box-sizing: border-box; 
}

.gwc_chan_pin {  
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    max-width: 440px;
    height: 120px;
    background-color: rgb(255, 255, 255);
   
    margin: 10px auto; 
    border-radius: 25px;
    box-shadow: 3px 3px 18px rgba(0,0,0,0.1);
}

.gwc_chan_pin_tu {
    justify-content: center; 
    align-items: center;
    display: flex;
    width: 98px;
    height: 98px;
    flex-shrink: 0;
    border-radius: 25px;
    overflow: hidden; 
    margin-left: 10px;
}

.gwc_chan_pin img {
    width: 95%;  
    height: 95%; 
    object-fit: cover; 
    border-radius: 10px;
}

.gwc_chan_pin_xinxi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90%;
    gap: 10px;
    padding: 0 10px;
}

.gwc_chan_pin_xinxi_Nu {
    display: flex;
    align-items: center;
    max-height: 38px;
    width: auto;
    color: white;
    gap: 15px;
    font-size: medium; 
    background-color: rgb(143, 143, 143);
    padding: 5px 10px;
    border-radius: 15px;
}

.gwc_chan_pin_xinxi_shu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    width: auto;
    gap: 20px;  
    font-size: large; 
}

.gwc_chan_pin_xinxi_shu button {
    width: 30px;
    height: 30px;
    border-radius: 25%;
    background-color: rgb(168, 168, 168);
    color: white;
    font-size: 20px;    
    border: none;
    cursor: pointer;
}

.gwc_xinxi_jiesuan {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0 10px;
}

.gwc_xinxi_jiesuan p {
    color: #333; 
    font-size: large;
    font-weight: bold;
    margin: 0;
}

.gwc_chan_pin_xinxi_jiesuan button {
    width: 88px;
    height: 30px;
    background-color: rgb(168, 168, 168);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.gwc_zhu01_you {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 500px; 
    min-height: auto;
    background-color: rgb(224, 221, 218);
    border-radius: 15px;
    box-shadow: 3px 3px 18px rgba(0,0,0,0.1);
    margin-top: 30px;
    padding: 20px;
}

.gwc_zhu01_you_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px;
    font-size: x-large;
    font-weight: 700;
}

.gwc_zhu01_you_info p {
    margin: 0;
}

.gwc_zhu01_you_kehu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    min-height: auto;
    font-size: large;
    font-weight: 700;
    padding: 15px;
}

.gwc_zhu01_you_kehu input, 
.gwc_zhu01_you_kehu textarea, 
.gwc_zhu01_you_kehu select {
    max-width: 100%;
}

.gwc_zhu01_you_jiesuan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    font-size: xX-large;
    font-weight: 700;
}

/* ---------------↓--------客服浮标--------↓---------------------- */

.social-float-container {
    
    position: fixed ;  
    top: auto ;   
    top: 688px; 
    left: 38px ;   
    z-index: 10000;    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0 ; 
    transform: none;
}

@media (max-width: 600px) {
    .social-float-container {
        left: 15px;
        bottom: 15px;
    }
    .social_whatsapp, .social_telegram, .main-float-btn {
        width: 50px;
        height: 50px;
    }
    .daohang {
        height: 70px;
    }
    .nav {
        gap: 15px;
        margin-left: 10px;
    }
    .nav li a {
        font-size: 14px;
    }
}

.social_whatsapp, .social_telegram, .main-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, opacity 0.3s ease, bottom 0.3s ease;
    cursor: pointer;
    position: relative;
}

.main-float-btn img {
    width: 40px; 
    height: auto;
}

.social_whatsapp { background-color: #25D366; }
.social_telegram { background-color: #0088cc; }
.main-float-btn { background-color: #ffac27; }

.social_whatsapp:hover, .social_telegram:hover {
    transform: scale(1.1);
}

.social_whatsapp, .social_telegram {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.social-float-container.active .social_whatsapp,
.social-float-container.active .social_telegram {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.social-float-container::after {
    content: attr(data-title); 
    position: absolute;
    left: 75px; 
    top: 85%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8); 
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap; 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.3s ease;
    pointer-events: none; 
}

.social-float-container:hover::after {
    opacity: 1;
    visibility: visible;
}




/* ---------------↓------客户信息---↓------------------ */

.gwc_zhu01_you_kehu input {
    width: 100%;            
    max-width: 100%;        
    box-sizing: border-box; 
    margin-top: 5px;        
}


.gwc_zhu01_you_kehu > div {
    display: flex;
    flex-wrap: wrap;       
    align-items: center;
    gap: 5px;              
    margin-bottom: 15px;  
    width: 100%;
}


.Phone_Number_city{
    display: flex;
    flex-direction: row;
}


#dizhi01, #dizhi02 {
    flex: 0 0 100%; 
}


#youbian {
    flex: 0 0 120px;
}

#chengshi {
    flex: 1.5;
}


.gwc_zhu01_you_kehu .Phone_Number_city {
    display: flex ;
    flex-direction: row ;
    flex-wrap: nowrap ; 
    width: 100%;
    gap: 15px ;
}


.Phone_Number_city > div {
    width: auto ; 
    display: flex ;
    flex-direction: column;
}




.gwc_zhu01_you_kehu .country_state {
    display: flex ;
    flex-direction: row ;
    flex-wrap: nowrap ;
    width: 100% ;
    gap: 15px ;
}


.country_state > div {
    width: auto ; 
    display: flex ;
    flex-direction: column ;
}


#guojia {
    width: 180px ; 
}

#sheng {
    width: 180px ; /
}



#gjqvhao {
    width: 100px !important; 
}

#dianhua {
    width: 200px !important; 
}




/* ---------------↑------客户信息---↑------------------ */



.zhuye_video {
  
    width: 100vw;
    height: 100vh;
    
    
    object-fit: cover; 
    
    
    position: fixed;
    top: 0;
    left: 0;
    
    
    z-index: -1;
}
