

/*===header===*/
.header{
    width: 100%;
    padding: 30px 0 0;
    background: #262626;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
}

.header .search-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 30px;
    padding: 0 3px;
    margin: 0 15px;
    background: #333333;
    border-radius: 3px;
}
.header .search-bar .icon{
    width: 22px;
    height: 22px;
    background-image: url('../icon/icon-search.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 3px;
}
.header .search-bar .search-input{
    flex: 1;
    line-height: 30px;
    border:none;
    background: transparent;
    font-weight: 350;
    color: rgba(204,204,204,0.5);
    outline: none;
}
.header .search-bar .btn-search{
    line-height: 24px;
    padding: 0 13px;
    font-weight: 350;
    font-size: 10px;
    color: #FFFFFF;
    background: var(--primary);
}

.header .filter-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 0;
    margin: 0 15px;
}
.header .filter-bar .filter-item{
    flex: 1;
    max-width: 33%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    line-height: 30px;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    color: #D8D8D8;
    overflow: hidden;
}
.header .filter-bar .filter-item.active{
    font-weight: 700;
    font-size: 16px;
    color: #D8D8D8;
    background: #333333;
    border-radius: 5px;
}
.header .filter-bar .filter-item span{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.header .filter-bar .filter-item svg{
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.header .filter-panel{
    display: none;
    padding: 0 20px 10px;
}
.header .filter-panel.show{
    display: block;
    height: 38px;
    overflow: hidden;
}
.header .filter-panel .filter-option-box{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 22px;
    height: 48px;
    overflow-x: auto;
}
.header .filter-panel .filter-option-box .filter-option{
    flex-shrink: 0;
    line-height: 28px;
    border-radius: 14px;
    font-weight: 400;
    font-size: 14px;
    color: #D8D8D8;
}
.header .filter-panel .filter-option-box .filter-option.active{
    font-weight: 500;
    color: #FFFFFF;
}




/*===goods list===*/
.goods-list-box{
    padding: 100px 15px 0;
    border-radius: 10px 10px 0 0;
}
.goods-list-box .goods-title-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 40px;
    margin-bottom: 10px;
    scrollbar-width: none;
    overflow-x: auto;
    overflow-y: hidden;
}
.goods-list-box .goods-title-bar .goods-title-item{
    flex-shrink: 0;
    margin-right: 10px;
}
.goods-list-box .goods-title-bar .goods-title-item .title{
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    border-radius: 14px;
    padding:0 10px;
    background: #fff;
}
.goods-list-box .goods-title-bar .goods-title-item.active .title{
    white-space: nowrap;
    color: #fff;
    background: var(--primary);
}

.goods-list-box .goods-item{
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: #333;
}
.goods-list-box .goods-item:not(:last-child){
    margin-bottom: 10px;
}
.goods-list-box .goods-item .cover-box{
    width: 100%;
    height: 213px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.goods-list-box .goods-item .cover-box .cover{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
}
.goods-list-box .goods-item .cover-box .cover-tag{
    color: #fff;
    padding: 0 8px;
    line-height: 24px;
    font-size: 12px;
    border-radius: 10px 0 10px 0;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}
.goods-list-box .goods-item .right-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 30px;
    padding: 0 7px;
}
.goods-list-box .goods-item .right-bar .right-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
    color: #fff;
    border-radius: 10px;
    padding: 0 5px;
    margin-right: 12px;
    background: linear-gradient( 180deg, #78DBCC 0%, #28DCC0 100%);
}
.goods-list-box .goods-item .right-bar .right-item .icon{
    width: 10px;
    height: 10px;
    margin-right: 5px;
    background-size: 100%;
    background-repeat: no-repeat;
}
.goods-list-box .goods-item .right-bar .right-item .icon.retrieve-compensation{
    background-image: url("../icon/icon-retrieve-compensation.png");
}
.goods-list-box .goods-item .right-bar .right-item .icon.no-goods-compensation{
    height: 11px;
    background-image: url("../icon/icon-no-goods-compensation.png");
}
.goods-list-box .goods-item .title{
    font-weight: 400;
    font-size: 16px;
    color: #D8D8D8;
    line-height: 24px;
    padding: 0 10px 10px;
}
.goods-list-box .goods-item .price-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin-bottom: 10px;
}
.goods-list-box .goods-item .price-bar .price{
    font-weight: 700;
    font-size: 16px;
    color: #EB392D;
}
.goods-list-box .goods-item .price-bar .views{
    font-weight: 350;
    font-size: 12px;
    color: #9F9F9F;
}

.goods-list-box .goods-list .empty-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 50px;
    line-height: 50px;
    color: #ccc;
}

.loading{
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #ccc;
}
