#stores{
    min-height: 50rem;
    background-color: #fff;
    padding: 0 1.2rem;
    margin-bottom: 2rem;
}

.banner{
    width: 100%;
    margin-bottom: 2rem;
}

.banner img {
    width: 100%;
}

#stores .title{
	padding: 0.6rem 0;
	width: 8rem;
	background-color: #e30009;
	color: #fff;
    font-weight: bold;
	text-align: center;
}

#stores .nav-wrapper{
    width: 100%;
    display: flex;
}

#stores .nav-wrapper .nav-sort{
    width: 6rem;
}

#stores .nav-wrapper .nav{
    width: 30%;
    flex: 1;
}

#stores .nav-tabs{
    margin-top: 2rem;
}

#stores .nav-item {
    cursor: pointer;
}

#stores .nav-item .active{
    color: #fff;
    background-color: #e30009;
}

#stores .nav-item:hover .nav-link{
    color: #e30009;
}

#stores .nav-item:hover .active{
    color: #fff;
}

#stores .text-content{
    margin-top: 1rem;
    font-size: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#stores .text-content .shop-item{
    margin-bottom: 2rem;
    width: 31%;
    display: none;
}

#stores .text-content .null-item{
    width: 31%;
}

#stores .text-content .shop-item:hover{
    box-shadow: 0 0 20px #aaa;
}

#stores .text-content .shop-item .shop-img{
    width: 100%;
    height: 12rem;
    padding: 0.2rem 0.2rem;
    padding-bottom: 0;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 1rem;
}

#stores .text-content .shop-item .shop-img img{
    width: 100%;
}

#stores .text-content .shop-item .card-title{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: normal; 
    display:-webkit-box;  
    -webkit-box-orient:vertical; 
    -webkit-line-clamp: 1;
}

#stores .text-content .shop-item .card-text{
    height: 3rem;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: normal; 
    display:-webkit-box;  
    -webkit-box-orient:vertical; 
    -webkit-line-clamp: 2;
}

#stores .text-content .shop-item .btn-detail{
    background-color: #dc3545;
    border: none;
}


/* 手机端显示 */
@media screen and (max-width: 768px) {
    #stores .text-content .shop-item {
        width: 100%;
    }

    #stores .nav-wrapper{
        flex-flow: column;
    }

    #stores .nav-wrapper .nav{
        width: 100%;
    }
}

/* 手机端显示 */
@media screen and (max-width: 992px) and (min-width: 768px) {
    #stores .text-content .shop-item {
        width: 48.5%;
    }

}


