@import url('product-item-flash-sale.css');

@media screen and (min-width: 1200px) {
    .wrap-flash {
        width: 1250px;
        margin: auto;
    }

    ul.fs-cates.level-1 {
        text-align: center;
        padding-left: 47px;
    }
}

.banner-flash-sale {
    text-align: center;
    padding-top: 0;
}

.banner-flash-sale img {
    width: 100%;
    height: auto;
}

.list-flash-sale-category {
    text-align: center;
}

.list-flash-sale-category a {
    line-height: 30px;
    vertical-align: bottom;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    padding: 10px 15px;
    /*width: 300px;*/
    margin: 0 auto;
    box-sizing: border-box;
    background: #e00e24;
    letter-spacing: 3px;
}

.list-flash-sale-item {
    margin-top: 20px;
}

.list-flash-sale-product {
    padding: 25px 0;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.flash-sale-footer {
    display: grid;
    grid-template-columns: 50% 50%;
}

.list-flash-sale-product .list-flash-sale-product-item:nth-child(5n+0) {
    margin-right: 0;
}

.clear-both {
    clear: both;
}

.content-page-falsh-sale {
    background: #189EFF;
}



ul.fs-cates.level-1 {
    list-style: none;
    display: block;
    flex-direction: row;
    background: #fefefe;
    border-top: 1px solid #189EFF;
    margin: 0;
}

.fs-cates li.level1 {
    display: inline-block;
    vertical-align: top;
    margin: 5px;
    padding: 0 15px 0 5px;
    border-right: 1px solid #ddd;
    height: 30px;
    line-height: 30px;
    font-size: 14px;

}

.fs-cates li.level1:last-child {
    border: unset;
}

.fs-cates li.level1 a {
    color: #333;
}

@media screen and (max-width: 1200px) {
    .list-flash-sale-product {
        grid-template-columns: 25% 25% 25% 25%;
    }

    .list-flash-sale-product .list-flash-sale-product-item:nth-child(5n+0) {
        margin-right: 15px;
    }

    .list-flash-sale-product .list-flash-sale-product-item:nth-child(4n+0) {
        margin-right: 0;
    }
}

@media screen and (max-width: 1024px) {
    .list-flash-sale-product {
        grid-template-columns: 33% 33% 33%;
    }

    .list-flash-sale-product .list-flash-sale-product-item:nth-child(4n+0) {
        margin-right: 15px;
    }

    .list-flash-sale-product .list-flash-sale-product-item:nth-child(3n+0) {
        margin-right: 0;
    }

    ul.fs-cates.level-1 {
        padding: 0;
    }
}

@media screen and (max-width: 820px) {
    .banner-flash-sale img {
        width: 100%;
        padding: 10px;
    }

    .list-flash-sale-product {
        grid-template-columns: 50% 50%;
    }

    .list-flash-sale-product .list-flash-sale-product-item:nth-child(3n+0) {
        margin-right: 15px;
    }

    .list-flash-sale-product .list-flash-sale-product-item:nth-child(2n+0) {
        margin-right: 0;
    }

    ul.fs-cates.level-1 {
        display: grid;
        grid-template-columns: 55% 45%;
    }

    .fs-cates li.level1 {
        display: inline-block;
        vertical-align: top;
        margin: 5px;
        padding: 0;
        border-right: 1px solid #ddd;
        height: 30px;
        line-height: 20px;
        font-size: 13px;
    }
}

@media screen and (max-width: 500px) {
    .list-flash-sale-product {
        grid-template-columns: auto;
    }

    .list-flash-sale-product-item {
        margin-right: 0;
    }

    .list-flash-sale-product .list-flash-sale-product-item:nth-child(3n+0) {
        margin-right: 0;
    }

    .list-flash-sale-product-item {
        padding-bottom: 0;
    }

    .list-flash-sale-product-item-detail {
        position: relative;
        width: 100%;
        bottom: unset;
        left: unset;
        margin-bottom: 10px;
    }

    .list-flash-sale-category a {
        font-size: 20px;
    }
}
