body .header {
    margin-bottom: 0;
}

.top_head {
    background-color: #023cd9;
    width: 100%;
    height: 60px;
    line-height: 60px;
    margin-top: 1rem;
}

.top_head .title {
    font-size: 1.8rem;
    color: #fff;
    height: 60px;
    line-height: 60px;
}

.top_head .title span {
    font-size: 1.2rem;
    color: #fff;
}

.favo_type {
    margin-left: 3rem;
}

.favo_type li {
    display: inline-block;
    font-size: 1rem;

}

.favo_type li a {
    color: #fff;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    padding: 0 1.5rem;
}

.favo_type li.active,
.favo_type li:hover {
    background-color: #012884;
}

.favo_sub_type {
    width: 100%;
    border-bottom: 1px solid #999;
    height: 60px;
    line-height: 60px;
}

.favo_sub_type li {
    display: inline-block;
    font-size: 0.9rem;
    position: relative;
}

.favo_sub_type li.active,
.favo_sub_type li.active a {
    color: #023cd9;
}

.favo_sub_type li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #023cd9;
    left: 0;
}

.favo_sub_type li a {
    color: #333;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    padding: 0 1.5rem;
}

.item_box {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
}

.item_box .item {
    width: calc(18% - 6px);
    /* 20%是5等分，减去gap的分摊值，避免溢出 */
    max-width: 250px;
    margin: 15px;
    border: 1px solid #e0e0e0;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item_box .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.item_box .img {
    height: 180px;
    padding: 10px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

.item_box .img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item_box .title {
    padding: 10px;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.item_box .sprice {
    padding: 0 10px 10px;
    color: #e53935;
    font-size: 16px;
}

.item_box .sprice span.curroy {
    font-size: 12px;
    margin-right: 3px;
}

.item_box .statue {
    text-align: center;
    margin: 10px 0;
}

.item_box .statue span {
    padding: 6px 12px;
    color: #fff;
    background-color: #666;
    border-radius: 15px;
    font-size: 12px;
}

.item_box .del {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: url(/static/images/common/del.png) no-repeat center center #333;
    background-size: 60%;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    display: none;
}

.item_box .item:hover .del {
    display: block;
}

/* 收藏列表容器 */
.collection-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 列表标题 */
.collection-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 店铺列表样式 */
.shop-list {
    list-style: none;
}

/* 单个店铺项样式 */
.shop-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* 店铺项 hover 效果 */
.shop-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 店铺logo样式 */
.shop-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    border: 1px solid #eee;
    cursor: pointer;
}

/* 店铺信息容器 */
.shop-info {
    flex: 1;
    overflow: hidden;
}

/* 店铺名称样式 */
.shop-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    text-overflow: ellipsis;
}

/* 店铺标签样式（可选扩展） */
.shop-tags {
    display: flex;
    margin-top: 8px;
}

.shop-tag {
    font-size: 12px;
    color: #666;
    background-color: #f5f5f5;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 8px;
}

/* 取关按钮样式 */
.unfollow-btn {
    padding: 6px 16px;
    background-color: #fff;
    color: #ff4d4f;
    border: 1px solid #ff4d4f;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 按钮 hover 效果 */
.unfollow-btn:hover {
    background-color: #fff0f0;
}

/* 按钮点击效果 */
.unfollow-btn:active {
    transform: scale(0.98);
}

/* 移除动画 */
.shop-item.remove {
    height: 0;
    padding: 0;
    margin-bottom: 0;
    opacity: 0;
    transform: translateX(50px);
    box-shadow: none;
}