
.goods-wraper_bg{
    background-color: #f2f2f2;
  }
.goods-wraper{
    width: 48%;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #fff;
}
.goods-name{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 10px;
    margin-bottom: 0.8rem;
}
.goods-name +p{
    padding: 0 10px;
}
.goods-img{
    height: 16rem;
    overflow: hidden;
    text-align: center;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-radius: 1.2rem;
}
.goods-img img{
    max-width: 100%;
    max-height: 100%;
}
.hd-wrapper{
    width: 100%;
}
.goods-wraper:nth-of-type(2n) {
    margin-left: 4%;
}
.goods-header-wrapper{
    height: 8.8rem;
}
.goods-main{
    padding-top: 9rem;
}
.goods-tabs{
    height: 4.4rem;
    line-height: 4.4rem;
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
}
.goods-tabs::-webkit-scrollbar{
    display: none;
}
.goods-tabs-btn{
    padding: 0.6rem 1.5rem ;
    font-size: 1.2rem;
    border-radius: 5rem;
    color: var(--color-dark-1);
    
    margin:0 0.6rem;
}
.goods-tabs-btn.active{
    background-color: var(--color-dark-1);
    color: #fff;
   
}

.sku-imgs li{
    width: 6rem;
    height: 6rem;
    overflow: hidden;
    border: solid 2px transparent;
    margin-right: 0.6rem;
    margin-bottom: 0.6rem;
}
.sku-imgs li.active{
    border-color: var(--color-primary);
}
.sku-texts li{
    background-color:#f2f2f2;
    padding: 0.4rem 2rem;
    font-size: 1.4rem;
    border-radius: 4rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
}
.sku-imgs-texts li{
    padding: 0.4rem 0.6rem;
}
.sku-texts li.active{
    background-color:var(--color-dark-1);
    color: #fff;
}
.sku-texts-img{
    width: 2.4rem;
    height: 2.4rem;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 0.8rem;
}
.sku-texts-img img{
    max-width: 100%;
}
.delivery-tab-head{
    flex: 1;
    text-align: center;
    font-size: 1.4rem;
    padding: 1.2rem 0;

}
.delivery-tab-head.active{
    background-color: #fff;
    font-size: 1.6rem;
    border-top-left-radius:0.8rem;
    border-top-right-radius: 0.8rem;
    font-weight: bold;
    position: relative;

}

#goods-detail-panel{

    min-height: 100px;
    background-color: #fff;
    padding: 1rem 0;
}
#goods-detail-panel p{
    margin: 0;
    word-break: break-word;
    text-align: center;
}
#goods-detail-panel img,#goods-detail-panel table, #goods-detail-panel div{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.goods-footer{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    height: 5rem;
}

.sku-popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
}
.sku-popup-panel{
    background-color: #fff;
    max-height: 70%;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
   
}
.popup-header{


    position: relative;
}
.popup-header-imgs{
    width: 6.8rem;
    height: 6.8rem;
    border-radius: 0.4rem;
    overflow: hidden;
}
.popup-header-imgs img{
    max-width: 100%;
}
.popup-content{
    flex: 1;

    overflow-y: scroll;
   
}
.popup-content-scroll{

    max-height: 300px;
    overflow-y: auto;
}
.popup-footer{
    height: 5rem;
}
.goods-detail-swiper ul li{
    height: 400px;
}
.demo-skus-img ul li{
    width: 4rem;
    height: 4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    margin-right: 0.6rem;
    border: solid 1px var(--color-background);
}
.demo-skus-img ul li img{
    width: 100%;
}
@media screen and (min-width: 751px) {
    .goods-footer{
        left: auto;
        right: auto;
        width: 718px;
    }

}
.loading{
    position: fixed;
    left: 0;
    right: 0;
    background: rgb(242 242 242);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;

}
#goods-detail-content{
    display: none;
}
.bigimgs-popup{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
 
}
.share-popup{
    position: fixed;
    height:30% ;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fbfbfb;
    box-shadow: 0px -2px 15px #ccc;
    z-index: 99;
    display: none;
    align-items: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}
@media screen and (min-width: 751px) {
    .bigimgs-popup,.share-popup{
        max-width: 414px;
        margin: 0 auto;
    }
}

.share-button{
    background-color: transparent;
}

li#video_wrap iframe,li#video_wrap video{
    max-width: 100%;
}
.cancel-share{
    position: absolute;
    bottom: 10px;
    width: 90%;
    text-align: center;
    padding: 10px 0;
    background-color: #fff;
    left: 5%;
    border-radius: 18px;
}