@charset "utf-8";
.goodsdownpopup-popup{
    z-index:459999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing:border-box;
}
.ajax-loading{width: 49px; height: 48px; background: url(../../../../statics/image/ajax_loading.gif) center no-repeat; position: fixed; z-index: 9999999999; left: 50%; margin-left: -24px; top: 50%; margin-top: -48px;}
.goodsdownpopup-popup .popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.goodsdownpopup-popup .popup-body {
    box-shadow: 1px 0 7px rgba(5, 11, 21, 0.19);
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    padding: 20px 20px 0;
    width: 920px;
    position: relative;
    margin: auto;
    max-height:95vh;
    overflow:auto;
    top: 50%;
    transform: translate(0,-50%);
}

.goodsdownpopup-popup .popup-close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    fill: #333;
    cursor: pointer;
}

.goodsdownpopup-popup h2 {
    font-size: 20px;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    line-height: 30px;
	padding: 0 15px;
}

.goodsdownpopup-popup .popup-refresh {
    fill: #8c8b8b;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin:0 0 -5px 5px;
}

.goodsdownpopup-popup .popup-body ul {
    font-size:0;
}

.goodsdownpopup-popup .popup-body ul li {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    min-height: auto;
    border: 0;
    width: 25%;
    padding: 0 10px 25px;
    margin:0;

}
.goodsdownpopup-popup .popup-body ul li .pic {
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    margin-bottom: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.goodsdownpopup-popup .popup-body ul li .name {
    font-size: 12px;
    color: #333;
    line-height: 1.2;
    font-weight: 400;
    line-height: 16px;
    height: 32px;
    overflow: hidden;
    border:none;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

}

.goodsdownpopup-popup .popup-body ul li .price {
    font-size: 12px;
    color: #f61313;
    margin-top: 10px;
}
.goodsdownpopup-popup .popup-body ul li .old_price {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    margin-top: 10px;
    text-decoration: line-through;
}

@media screen and (max-width: 1366px) and (min-width: 1100px) {
    .goodsdownpopup-popup .popup-close{

        width: 16px;
        height: 16px;
    }
}
@media screen and (max-width: 992px) {

    .goodsdownpopup-popup .popup-body {
        margin: 0 auto;
        width: calc(100vw - 30px);
        padding: 20px 7.5px 0;
    }

    .goodsdownpopup-popup .popup-body ul li {

        padding:0 7.5px 15px;
    }
    /*			.goodsdownpopup-popup .popup-body ul li .text{max-width:calc(25vw - 26.25px);}*/
    .goodsdownpopup-popup .popup-body ul li .pic {
        height: calc(25vw - 26.25px);
        margin-bottom: 10px;
    }
    .goodsdownpopup-popup .popup-body ul li .price {
        margin-top: 5px;
    }

    .goodsdownpopup-popup h2 {
        font-size: 20px;
    }


}

@media screen and (max-width: 767px) {
    .goodsdownpopup-popup .popup-body{
        padding: 10px 7.5px 10px;
        max-height: 80vh;
    }
    .goodsdownpopup-popup .popup-body ul {
        font-size: 0;
        overflow: auto;
        max-height: calc(80vh - 100px);
    }
    .goodsdownpopup-popup .popup-body ul li {
        width: 50%;
    }

    .goodsdownpopup-popup .popup-body ul li .pic {
        height: calc(50vw - 37.5px);
    }
    .goodsdownpopup-popup .popup-close {
        width: 16px;
        height: 16px;
    }

    .goodsdownpopup-popup h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .goodsdownpopup-popup .popup-refresh{
        width:20px;
        height:20px;

    }

}
