/* ============================================================
   PC端店铺街样式
   参考 sparkshop_seller 项目 store.css 移植
   ============================================================ */

.footer-area {
    background: #fff;
}

/* 店铺街列表页 */
.store-box {
    margin: 0 auto;
    width: 100%;
    min-height: 800px;
    margin-bottom: 20px;
    margin-top: 10px;
}

/* 商户类目筛选栏 */
.cate-list {
    display: flex;
    width: 100%;
    height: 60px;
    padding: 10px 10px;
    align-items: center;
    background: #fff;
}
.cate-item {
    margin-right: 10px;
    width: auto;
    height: 26px;
    padding: 0 12px;
    border: 1px solid #e4e4e4;
    font-size: 14px;
    line-height: 26px;
    color: #666;
    border-radius: 13px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}
.cate-item:hover {
    color: #e93323;
    border-color: #e93323;
}
.cate-list .active {
    border-color: #e93323;
    background-color: #e93323;
    color: #fff;
}

/* 店铺列表 */
.store-list {
    display: flex;
    flex-wrap: wrap;
}
.store-item {
    width: 637px;
    min-height: 224px;
    margin-right: 20px;
    background: #fff;
    margin-top: 20px;
    display: flex;
}
.store-item:nth-child(even) {
    margin-right: 0;
}

/* 店铺卡片左侧 - 店铺基本信息 */
.store-bg {
    width: 180px;
    min-height: 100%;
    background: url("/static/home/default/image/store-bg.jpg") no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.store-name {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    margin-top: 8px;
    padding: 0 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}
.follow {
    margin-bottom: 10px;
    color: #e2e2e2;
    font-size: 12px;
}
.go-store {
    border: 1px solid #e2e4e6;
    padding: 5px 10px;
    background: #fff;
    border-radius: 4px;
}

/* 店铺卡片右侧 - 商品列表 */
.product-list {
    width: 450px;
    display: flex;
    padding: 0 17px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    min-height: 100%;
    align-items: center;
}
.product-item {
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.product-item a {
    text-decoration: none;
    color: inherit;
}
.product-name {
    margin-top: 7px;
    color: #5a5a5a;
    line-height: 16px;
    width: 137px;
}
.price {
    color: #e93323;
    font-weight: 700;
    margin-top: 4px;
}

/* 文本溢出省略 */
.line1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.line2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* 分页 */
.store-more-goods {
    margin-top: 20px;
    width: 100%;
}

/* ============================================================
   店铺详情页
   ============================================================ */
.store-detail {
    width: 100%;
    min-height: 700px;
    display: flex;
    margin-top: 10px;
}
.store-detail-left {
    width: 240px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 370px;
    color: #282828;
    font-size: 14px;
    padding: 25px 25px;
    margin-top: 10px;
}
.store-basic {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px dashed #ececec;
    height: 130px;
    width: 80%;
}
.store-basic .logo {
    width: 61px;
    height: 61px;
    margin-bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
}
.store-basic .logo img {
    width: 61px;
    height: 61px;
    object-fit: cover;
}
.store-name2 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
    max-width: 190px;
}
.store-info {
    padding: 10px 0 10px;
    border-bottom: 1px dashed #ececec;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}
.store-info .store-info-item {
    display: flex;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}
.store-info-item .title {
    width: 70px;
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}
.store-info-item .desc {
    margin-left: 20px;
    color: #333;
}
.store-desc {
    padding: 10px 0 10px;
    width: 100%;
}
.store-desc .title {
    color: #999;
    font-size: 13px;
    margin-bottom: 5px;
}
.store-desc .desc-text {
    color: #666;
    font-size: 12px;
    line-height: 18px;
}
.store-detail-right {
    width: calc(100% - 260px);
    height: 100%;
    margin-left: 20px;
    margin-top: 10px;
}

/* 商品分类导航 */
.goods_cate_detail {
    background: #fff;
    padding: 10px;
}
.sub_cate {
    display: flex;
}
.sub_cate_title {
    width: 80px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 30px;
}
.sub_cate_content {
    display: flex;
    flex-wrap: wrap;
}
.goods_cate_item {
    padding: 3px 15px;
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #666;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}
.goods_cate_item:hover {
    color: #e93323;
}
.goods_cate_item.item_active {
    background: #e93323;
    color: #fff;
}

/* 商品网格 */
.goods_cate_content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}
.goods_cate_content .item {
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    padding: 12px;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}
.goods_cate_content .item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.goods_cate_content .item a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.goods_cate_content .item .pictrue {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
}
.goods_cate_content .item .pictrue img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    -webkit-transition: all ease 0.5s;
    transition: all ease 0.5s;
}
.goods_cate_content .item:hover .pictrue img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}
.goods_cate_content .item .money {
    margin-top: 8px;
}
.goods_cate_content .item .font-color {
    color: #e93323;
    font-weight: 700;
    font-size: 16px;
}
.goods_cate_content .item .name {
    margin-top: 5px;
    font-size: 13px;
    color: #333;
    line-height: 18px;
    height: 36px;
}
.goods_cate_content .item .name a {
    color: #333;
}
.goods_cate_content .item .bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}
.goods_cate_content .item .seller_num {
    color: #999;
}

/* 店铺商品分页 */
.store-goods-pages {
    text-align: center;
    margin-top: 20px;
}
