/* ================================================================
   home.css —— 首页独有样式
   引入顺序：common.css → home.css
================================================================ */

/* 首页主轮播大图占位 */
.home-banner {
    width: 100%;
    height: 220px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* 双列入口：品牌 + 店铺 */
.entry-wrap {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}
.entry-col {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    background: var(--white);
}
.entry-col h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border);
}

/* 首页标签流（与分类页 .tag-list 类名相同，作用域隔离在首页） */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-item {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    background: var(--white);
}
.tag-item:hover {
    border-color: var(--main);
    color: var(--main);
    background: #f8fafc;
}

/* 首页广告位 margin 微调 */
.home .ad-area {
    margin: 0 0 30px 0;
}

/* 首页响应式 */
@media (max-width: 768px) {
    .entry-wrap {
        flex-direction: column;
        gap: 16px;
    }
    .home-banner {
        height: 160px;
        margin-bottom: 25px;
    }
}