@charset "UTF-8";
/* ===== 面包屑 ===== */
.breadcrumb { margin: 20px 0; font-size: 0.85rem; color: #6c7a8e; }
.breadcrumb a { color: #993448; text-decoration: none; }
/* ===== 页面标题区 ===== */
.page-header {
    background: linear-gradient(135deg, #e8f5ef 0%, #f4faf7 100%);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
}
.page-header h2 { font-size: 1.7rem; color: #1a2c3e; margin-bottom: 8px; }
.page-header p { color: #5c6f87; font-size: 0.9rem; }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.filter-tab {
    padding: 7px 18px;
    background: #fff;
    border: 1px solid #dbe6e0;
    border-radius: 40px;
    font-size: 0.82rem;
    color: #4a5b6e;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-tab:hover { border-color: #993448; color: #993448; }
.filter-tab.active {
    background: #993448;
    border-color: #993448;
    color: #fff;
    font-weight: 500;
}

/* ===== 两栏布局 ===== */
.article-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 50px;
}

/* ---------- 左侧：文章列表 ---------- */
.article-list-wrap { flex: 1; min-width: 0; }

.article-list { display: flex; flex-direction: column; gap: 16px; }

.article-item {
    display: block;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 22px 24px;
    text-decoration: none;
    transition: all 0.2s;
}
.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
    border-color: #d0e2d6;
}

.article-body { min-width: 0; }

.article-tag {
    display: inline-block;
    font-size: 0.68rem;
    background: #e8f7ef;
    color: #1f8b4c;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.article-tag.blue   { background: #e6f0fb; color: #1f6bb8; }
.article-tag.orange { background: #fdf1e3; color: #b8791f; }
.article-tag.purple { background: #f3e9fb; color: #7a4ab8; }
.article-tag.red    { background: #fdecec; color: #c0392b; }

.article-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #1a2c3e;
    line-height: 1.45;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.article-item:hover .article-title { color: #993448; }

.article-excerpt {
    font-size: 0.86rem;
    color: #6c7a8e;
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.74rem;
    color: #9aa9b8;
}
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-meta .read-more { margin-left: auto; color: #993448; font-weight: 500; }

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    color: #4a5b6e;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.page-btn:hover { border-color: #993448; color: #993448; }
.page-btn.active {
    background: #993448;
    border-color: #993448;
    color: #fff;
    font-weight: 600;
}
.page-btn.disabled { color: #c3cedb; cursor: not-allowed; }
.page-btn.disabled:hover { border-color: #e4e9f0; color: #c3cedb; }

/* ---------- 右侧：相关商品 ---------- */
.sidebar {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
}
.side-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2c3e;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 2px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 商品小卡片：无缩略图 */
.product-mini {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid #eef2f6;
    transition: all 0.2s;
}
.product-mini:hover {
    background: #f8fafc;
    border-color: #d0e2d6;
}
.product-mini + .product-mini { margin-top: 10px; }

.mini-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a2c3e;
    line-height: 1.45;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.product-mini:hover .mini-name { color: #993448; }

.mini-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-price { font-size: 1rem; font-weight: 700; color: #993448; }
.mini-price small { font-size: 0.68rem; font-weight: 400; color: #9aa9b8; margin-left: 4px; }
.mini-btn {
    font-size: 0.72rem;
    padding: 4px 12px;
    background: #e8f7ef;
    color: #1f8b4c;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

/* 侧栏热门文章 */
.hot-list { display: flex; flex-direction: column; gap: 14px; }
.hot-item {
    display: flex;
    gap: 10px;
    text-decoration: none;
    font-size: 0.84rem;
    color: #4a5b6e;
    line-height: 1.5;
    transition: color 0.2s;
}
.hot-item:hover { color: #993448; }
.hot-num {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #f0f4f8;
    color: #8e9eae;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hot-item:nth-child(1) .hot-num { background: #ffe9e9; color: #e0503c; }
.hot-item:nth-child(2) .hot-num { background: #fff1e0; color: #dd8a15; }
.hot-item:nth-child(3) .hot-num { background: #e8f7ef; color: #1f8b4c; }

/* 侧栏客服提示 */
.side-tip {
    background: linear-gradient(135deg, #e8f5ef 0%, #d4e9e0 100%);
    border-radius: 20px;
    padding: 22px;
    text-align: center;
}
.side-tip h4 { font-size: 0.95rem; color: #1a2c3e; margin-bottom: 8px; }
.side-tip p { font-size: 0.78rem; color: #5c6f87; line-height: 1.6; margin-bottom: 14px; }
.side-tip a {
    display: inline-block;
    padding: 9px 24px;
    background: #993448;
    color: #fff;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.side-tip a:hover { background: #059e4c; transform: translateY(-2px); }

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .header { flex-direction: column; text-align: center; }
    .nav-menu { justify-content: center; gap: 20px; }
    .page-header { padding: 22px; }
    .page-header h2 { font-size: 1.35rem; }
    .article-item { padding: 18px 16px; }
    .article-title { font-size: 0.98rem; }
    .article-excerpt { font-size: 0.82rem; }
    .article-meta { gap: 10px; font-size: 0.7rem; }
    .article-meta .read-more { display: none; }
    .side-card { padding: 18px; }
}
@media (max-width: 480px) {
    .filter-tab { padding: 6px 14px; font-size: 0.76rem; }
    .product-mini { padding: 12px 14px; }
    .mini-name { font-size: 0.84rem; }
}