/* 顶部广告 start */
.header{ 
    width:100%;
    height: 120px;
    overflow:hidden;/*隐藏超出部分*/
    position:relative;
}

.header img{ 
    height: 120px;
    position:absolute;/*绝对定位*/
    left:50%;
    transform: translateX(-50%);/*居中*/
}
/* 顶部广告  end */

/* 
内容居中问题：一个大盒子中有一个小盒子，如何让小盒子在大盒子中垂直和水平居中？
1弹性盒子模型
2定位
3表格
*/

/* 黑色导航 start */
.black-nav{ 
    width:100%;
    height: 40px;
    line-height: 40px;/*一行文字居中*/
    background-color: #333;
    font-size: 12px;/*字体大小*/
    position: relative;
}

 .wrap{ 
    width:1226px;
    margin:0 auto;
   
}

.black-nav .wrap .black-nav-left{ 
    float:left;
}

.black-nav .wrap .black-nav-right{ 
    float:right;
}

.black-nav .wrap li{ 
    float:left;
    position:relative;
}

.black-nav a{ 
    color:#b0b0b0;
}

.black-nav .wrap  li span{
    color:#424242;
    margin:0 3.6px;
}
/* 黑色导航 end */

/*AI*/

/* 黑色导航栏中的滑动门 start */
.download{
    width: 124px;
    height:0px;
    background:#fff;
    box-shadow: 0 1px 5px #aaa;
    position: absolute;
    top: 40px;
    left: 50%;
    margin-left: -62px;
    overflow: hidden;

    z-index: 999;
}

.download .img{ 
    width: 90px;
    margin: 18px auto 0;  
}


.download p{ 
    font-size: 12px;
    color: #333; 
}

.black-nav-left li:hover> .download{
    height: 148px; 
}

.stri{
    width: 0;
    height: 0;
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position:absolute;
    bottom:0;
    left: 50%;
    margin-left: -8px;
    display: none;
}

.black-nav-left li:hover> .stri{
    display: block;
}

.cart{
    width: 120px;
    height: 40px;
    background-color: #424242;
    margin-left:25px; 
}

.cart:hover{ 
    background-color:#fff;
}

.cart:hover>a{ 
    color:#ff6700;
}

.cari i{
    font-style: normal;
    margin-right: 8px;
}

.cart-list{
    width: 316px;
    height: 0;
    background:#fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: absolute;
    right:0;
    top: 40px;
    color:#424242;
    overflow: hidden;
    line-height: 100px;

    z-index: 999;
}

.cart:hover>.cart-list{ 
    height: 100px;
}
/* 黑色导航栏中的滑动门 end */

/* 白色导航 start */
.white-nav{ 
    width:100%;
    height: 100px;
    background-color: #fff;
    position: relative;
}

.logo{
    width:55px;
    height: 55px;
    background-color: #ff6700;
    float:left;
    margin-top:22.5px;
    overflow:hidden;
    position: relative;
    border-radius: 15px;
}

.logo> img{ 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    transition: all 0.3s ease-in-out;
}   

.mi-home{
    left: -55px;
}

.mi-logo{
    left: 0;
}

.logo:hover> .mi-home{
    left: 0;
}

.logo:hover> .mi-logo{
    left: 55px;
}

.nav-bar{
    width:875px;
    height: 100px;
    line-height: 100px;
    float: left;
}

/* .nav-bar ul {
    position: relative;
    height: 100%;
} */

.nav-bar>ul>li {
    float: left;
}

.nav-bar>ul>li>a {
    color: #333;
    padding: 0 10px;
}

.nav-bar>ul>li:hover>a{ 
    color:#ff6700;
}

.nav-bar>ul>li>img{ 
    margin: 22.5px;
}

.search {
    width: 296px;
    height: 100px;
    float: right;
}

.search input {
    width: 244px;
    height: 50px;
    float: left;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    padding: 0 10px;
    margin-top: 25px;
    border-right: 0;
    outline: none;
}

.search button {
    width: 52px;
    height: 50px;
    float: right;
    border: 1px solid #e0e0e0;
    margin-top: 25px;
}

.search button:hover{
    background-color:#ff6700;
    color:#fff;
}

.search input:focus{
    border-color:#ff6700;
}

.search input:focus + button{
    border-color:#ff6700;
}


/* 白色导航栏中的滑动门 start */
.nav-bar-list {
    width: 100%;
    height: 229px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100px;
    left: 0;
    display:none;

    z-index: 999;


}

.nav-bar li:hover>.nav-bar-list{ 
    display:block;
}

.nav-bar-list li{ 
    line-height: normal;
    border-right: 1px solid #eee;
}

.nav-bar-list .name{ 
    font-size: 12px;
    color: #333;
}

.nav-bar-list .price{
    font-size: 12px;
    color: #ff6700;
}


/* 白色导航栏中的滑动门 end */

/* 解决滑动门的展示AI */
* 修改为6列布局 */
.nav-bar-list ul {
    display: flex;
    width: 1226px;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: flex-start;
}

.nav-bar-list li {
    float: left;
    width: 16.66%; /* 改为6列布局，每个占约16.66% */
    text-align: center;
    border-right: 1px solid #eee;
    box-sizing: border-box;
    padding: 0 8px;
    line-height: normal;
}

.nav-bar-list li:last-child {
    border-right: none;
}

/* 调整图片容器以适应6列布局 */
.img-box {
    width: 140px;
    height: 100px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.nav-bar-list li:hover .img-box img {
    transform: scale(1.05);
}




/* AI */
/* 白色导航 end */

/* banner start */
.banner{ 
    width: 100%;
    height: 460px;
}

.banner-img{ 
    width: 100%;
}

.banner>.wrap{
    position: relative;
}

.slide{
    width: 234px;
    height: 420px;
    padding: 20px 0;
    background-color: rgba(105, 101, 101, 0.6);
    position: absolute;
    top: 0;
    left: 0;
}

.slide>ul>li{ 
    height: 42px;
    line-height: 42px;
    text-align:left;
    padding-left: 30px;
    font-size: 14px;
}

.slide>ul>li:hover{ 
    background-color: #ff6700;
}

.slide>ul>li>a{ 
    color:#fff;
}

.slide i{
    float: right;
    padding-right: 20px;
}

/* banner 滑动门 start */
.slide-list{
    width: 992px;
    height: 460px;
    background-color:#fff;
    border:1px solid #e0e0e0;
    position: absolute;
    left:234px;
    top: 0;
    border-left: none;
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
    display: none;

    z-index: 999;
}

.slide-list>ul{
   width: 100%;
}

.slide-list>ul>li{
    width: 240px;
    height: 76px;
    float: left;
    padding: 18px 0 18px 20px;
    box-sizing: border-box;
    line-height: 76px;
}

.slide-list img{ 
    width:40px;
    height: 40px;
    margin-right: 10px;
}

.slide-list span{
    font-size: 14px;
    color: #333;
    position: relative;
    top: -10px;
}

.slide-list>ul>li:hover{ 
    color: #ff6700;
}

.slide li:hover .slide-list{ 
    display: block;
}
/* banner end */

/* 广告模块 start */
.ad{ 
    width: 100%;
    height: 170px;
    background-color: #fff;
    padding: 14px 0;
}

.ad-aside{ 
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    padding: 3px;
    box-sizing: border-box;
    font-size: 12px;
    float: left;
}

.ad-aside>ul>li{ 
    float: left;
    width: 76px;
    height: 82px;
    padding-top: 18px;
    box-sizing: border-box;
    opacity: 0.7;   
}

.ad-aside i{
    font-size: 24px;
    margin-bottom: 4px;
    display: block;
    color:#fff;
}

.ad-aside p{
    color:#fff;
}

.ad-aside>ul>li:hover{ 
    opacity: 1;
}

.ad-img{
    width: 316px;
    height: 170px;
    margin-left: 14.6px;
    float: left;
}

.ad-img img{ 
    width: 100%;
}
/* 广告模块 end */


/* 中部广告 start */
.big-img{ 
    width:100%;
    height: 120px;
    overflow:hidden;/*隐藏超出部分*/
    margin:22px 0;
    position:relative;
}

.big-img img{ 
    height: 120px;
    position:absolute;/*绝对定位*/
    left:50%;
    transform: translateX(-50%);/*居中*/
}

/* 中部广告 end */


/* 内容模块 start */
.content{
    width: 100%;
    background-color: #f1f1f1;
    padding: 4px 0 12px;
    overflow: hidden;
    box-sizing: border-box;
}
/* 手机模块 start */
/* 左 */
.title{
    text-align: left;
    font-size: 22px;
    color: #333;
    font-weight: 200;
    line-height: 58px;
}   
.phone-box{ 
    width: 100%;
    /* height: 921px; */
    overflow: hidden;
    
    
}

.phone-box-left{
    width: 234px;
    /* height: 921px; */
    float: left;
}

/* 右 */

.phone-box-right{
     width: 992px;
     height: 614px;
     float: left;
}

.item{
    width: 234px;
    height: 300px;
    background: #fff;
    float: left;
    margin:0 0 14px 14px;
    padding: 20px 0;
    box-sizing: border-box;
    transition: all 0.2s linear;
}

.item:hover{
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.item-img{ 
    width: 160px;
    margin-bottom: 19px;
}

.item-name{ 
    width: 214px;
    height:21px;
    color: #333;
    line-height: 21px;
    margin:0 auto 2px;
}

.item-desc{ 
    width: 214px;
    height: 18px;
    color: #b0b0b0;
    font-size: 12px;
    line-height: 18px;
    margin:0 auto 10px;

    /* AI */

    overflow: hidden;       /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 显示省略号 */
    white-space: nowrap;    /* 不换行 */
}

.item-price{ 
    font-size: 14px;
    color: #ff6700;    
}
/* 手机模块 end */

/* 家电模块 start */
.elc-box{
    width: 100%;
    height: 614px;
}

.elc-item{
    padding:0;
    margin-left:0;
}

.item-price>del{
     color: #b0b0b0;
     margin-left: 10px;
}

.item-last{
    width: 234px;
    height:300px;
    float: left;
    margin-left: 14px;
}

.item-last div{
    width: 234px;
    height: 143px;
    background-color: #fff;
    transition: all 0.2s linear;
}

.item-last>div:first-child{
    margin-bottom: 14px;
}

.item-last>div:hover{ 
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
/* 家电模块 end */

/* 视频模块 start */
.video {
    width: 100%;
    margin-top: 20px;
    /* 确保标题正确左对齐 */
}

.video-box{
    width: 100%;
    height: 299px;
}

.video-box>div{
    width: 296px;
    height: 285px;
    background-color: #fff;
    float: left;
    margin-bottom: 14px;
    margin-right: 14px;
    transition: all 0.2s linear;

    /* AI */

    position: relative; /* 添加相对定位，作为子元素的定位基准 */
    overflow: hidden; /* 防止内容溢出 */
}

.video-box>div:last-child{
    margin-right: 0;
}

 .video-box>div:hover{ 
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.video-img{
    width: 100%;
    height:180px;
    margin-bottom: 28px;
    border:2px solid #fff;
    position: relative;
    overflow: hidden;
}

.btn{
    width:32px;
    height:20px;
    border-radius: 12px;
    border:2px solid #fff;
    position: absolute;
    bottom: 10px;
    left: 20px;
}

.sanjiao{
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
    margin: 5px auto;
}

.video-name{
    color:#333;
    font-size: 14px;
    width:285px;
    height: 21px;
    margin:0 auto 6px;
}

 .video-desc{
     color:#b0b0b0;
     font-size: 12px;
     width:285px;
     height: 18px;
     margin:0 auto;
}

.video-img:hover .btn{
    background: #ff6700;
    border-color: #ff6700;
}
/* 视频模块 end */
/* 内容模块 end */

.big-img{
    width: 100%;
    height: 120px;
    overflow: hidden;
    margin: 22px 0;
    position: relative;
}

/* 页脚 start */
.footer-service{
    width: 100%;
     height: 25px;
     line-height: 25px;
     padding: 27px 0;
     box-sizing: border-box;
     border-bottom: 1px solid #e0e0e0;
}

.footer-service>ul>li{
    float: left;
    width:20%;
    box-sizing: border-box;
    border-bottom: 1px solid #e0e0e0;
}

.footer-service li:last-child{ 
    border-right:0;
}

.footer-service>ul>li>i{ 
    font-size: 24px;
    margin-right: 6px;
}

.footer-service a{ 
    color: #616161;
}

.footer-service a:hover{ 
    color: #ff6700;
}

.footer-link{
    width: 100%;
    height: 172px;
    padding: 40px 0;
}

.footer-link ul{
    float:left;
    width:160px;
    text-align: left;
    color: #424242;
    font-size: 14px;
    line-height: 1.25;
}   

.footer-link li a{ 
    font-size: 12px;
    color: #757575;
}
.footer-link ul li{ 
     margin-bottom: 10px;
}

.footer-aside{
    float: right;
    width: 250px;
    height: 111px;
    border-left: 1px solid #e0e0e0;
    color: #616161;
}

.footer-aside .tel{ 
    font-size: 22px;
    line-height: 22px;
    color: #ff6700;
    margin-bottom: 5px;
}

.footer-aside .time{ 
    font-size: 12px;
    margin-bottom: 5px;
}

.kefu{
    display: block;
    width: 120px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ff6700;
    box-sizing: content-box;
    margin: 0 auto;
    color: #ff6700;
    font-size: 12px;
    transition: all 0.2s linear;
}

.footer-aside .kefu:hover{ 
    background: #ff6700;
    color: #fff;
    border-color: #ff6700;
}

.follow{
    font-size: 12px;
    margin-top: 10px;
}

.follow img{
     width: 24px;
     margin-right: 6px;
     position: relative;
     top:7px ;
}
/* 页脚模块 */






