/* ============================================
   逗号CMS - 蓝色主题 全套样式
   主色：#0f6cde（蓝）
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: #f4f7fb;
}

a { color: #0f6cde; text-decoration: none; }
a:hover { color: #0a5ac2; }

img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.page-content { padding: 20px 0 30px; }

/* ============ 顶部导航 ============ */
.blue-header {
    background: linear-gradient(135deg, #0f6cde 0%, #0a5ac2 100%);
    box-shadow: 0 2px 12px rgba(10, 90, 194, 0.25);
    position: sticky;
    top: 0;
    z-index: 999;
}
.blue-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    position: relative;
}
.blue-logo { flex-shrink: 0; }
.blue-logo a {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}
.blue-logo a img { max-height: 40px; }

.blue-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 12px;
}
.blue-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    padding: 7px 16px;
    border-radius: 20px;
    transition: all .2s;
}
.blue-nav a:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.blue-nav a.active { background: #fff; color: #0a5ac2; font-weight: 600; }

.blue-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    color: #666;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    transition: all .2s;
    flex-shrink: 0;
}
.blue-search-toggle:hover { background: #0f6cde; color: #fff; }

.blue-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    color: #666;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    transition: all .2s;
    flex-shrink: 0;
}
.blue-menu-toggle:hover { background: #0f6cde; color: #fff; }
.blue-mobile-actions { display: none; align-items: center; gap: 8px; }

/* 搜索下拉 */
.blue-search-section {
    display: none;
    background: #fff;
    border-top: 1px solid #e8f0fa;
    padding: 14px 0;
    box-shadow: 0 6px 16px rgba(10, 90, 194, 0.12);
}
.blue-search-section.show { display: block; }
.blue-search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.blue-search-input {
    flex: 1;
    height: 44px;
    border: 2px solid #dbe7f7;
    border-radius: 24px;
    padding: 0 20px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}
.blue-search-input:focus { border-color: #0f6cde; }
.blue-search-btn {
    height: 44px;
    padding: 0 26px;
    border: none;
    border-radius: 24px;
    background: #0f6cde;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
.blue-search-btn:hover { background: #0a5ac2; }

/* 移动菜单 */
.blue-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.blue-menu-overlay.show { display: block; }
.blue-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: right .3s;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}
.blue-mobile-menu.show { right: 0; }
.blue-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #0f6cde;
    color: #fff;
    font-weight: 600;
}
.blue-mobile-menu-close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.blue-mobile-menu-body { padding: 12px 0; }
.blue-mobile-menu-body a {
    display: block;
    padding: 14px 22px;
    color: #333;
    font-size: 15px;
    border-bottom: 1px solid #f0f4f9;
}
.blue-mobile-menu-body a.active { color: #0f6cde; font-weight: 600; }

/* ============ 通用区块标题 ============ */
.blue-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1a2b4a;
    margin: 34px 0 18px;
    padding-left: 12px;
    border-left: 4px solid #0f6cde;
}
.blue-section-title .sub { font-size: 13px; color: #9aa7bd; font-weight: 400; }

/* ============ 首页：商家大图卡片列表 ============ */
.blue-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.blue-big-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    transition: transform .25s, box-shadow .25s;
}
.blue-big-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(16, 62, 122, 0.16); }
.blue-big-card .card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blue-big-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s;
}
.blue-big-card:hover .card-img img { transform: scale(1.03); }
.blue-big-card .card-body { padding: 16px 18px 18px; }
.blue-big-card .card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a2b4a;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blue-big-card .card-title a { color: #1a2b4a; }
.blue-big-card .card-title a:hover { color: #0f6cde; }
.blue-big-card .card-desc {
    font-size: 14px;
    color: #6b7893;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.blue-big-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #9aa7bd;
}
.blue-big-card .card-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0f6cde;
    font-weight: 600;
    font-size: 13px;
}

/* 全部商家入口 */
.blue-card-more {
    display: block;
    text-align: center;
    margin: 22px 0 6px;
}
.blue-card-more a {
    display: inline-block;
    padding: 10px 34px;
    border: 1px solid #0f6cde;
    border-radius: 24px;
    color: #0f6cde;
    font-size: 14px;
    transition: all .2s;
}
.blue-card-more a:hover { background: #0f6cde; color: #fff; }

/* ============ 首页：知识文章列表 ============ */
.blue-knowledge-list { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08); }
.blue-knowledge-item {
    display: flex;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f4f9;
    transition: background .2s;
}
.blue-knowledge-item:last-child { border-bottom: none; }
.blue-knowledge-item:hover { background: #f7faff; }
.blue-knowledge-item .k-thumb {
    width: 132px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f4f9;
}
.blue-knowledge-item .k-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blue-knowledge-item .k-body { flex: 1; min-width: 0; }
.blue-knowledge-item .k-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4a;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blue-knowledge-item .k-title a { color: #1a2b4a; }
.blue-knowledge-item .k-title a:hover { color: #0f6cde; }
.blue-knowledge-item .k-desc {
    font-size: 13px;
    color: #8a97ad;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blue-knowledge-item .k-meta { font-size: 12px; color: #b0bccd; }
.blue-knowledge-item .k-meta span { margin-right: 14px; }

/* ============ 首页：商家评价区 ============ */
.blue-review-section { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08); padding: 6px 20px 20px; }
.blue-review-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f4f9;
}
.blue-review-item:last-child { border-bottom: none; }
.blue-review-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f6cde, #4da3ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}
.blue-review-content { flex: 1; min-width: 0; }
.blue-review-content .r-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.blue-review-content .r-name { font-size: 14px; font-weight: 600; color: #1a2b4a; }
.blue-review-content .r-time { font-size: 12px; color: #b0bccd; }
.blue-review-content .r-text { font-size: 14px; color: #4a5871; line-height: 1.7; }
.blue-review-content .r-product { font-size: 12px; color: #0f6cde; margin-top: 6px; }
.blue-review-empty { text-align: center; color: #b0bccd; padding: 30px 0; font-size: 14px; }

/* ============ 文章列表（两栏） ============ */
.blue-two-col {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.blue-main-content { flex: 1; min-width: 0; }

.blue-sidebar { width: 320px; flex-shrink: 0; }
.blue-sidebar-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    padding: 16px 18px;
    margin-bottom: 18px;
}
.blue-sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #1a2b4a;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef3fb;
}
.blue-sidebar-card h3 i { color: #0f6cde; }
.blue-sidebar-list li {
    list-style: none;
    padding: 8px 0;
    border-bottom: 1px dashed #eef3fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.blue-sidebar-list li:last-child { border-bottom: none; }
.blue-sidebar-list a { color: #4a5871; font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blue-sidebar-list a:hover { color: #0f6cde; }
.blue-sidebar-list .list-views, .blue-sidebar-list .list-date { font-size: 12px; color: #b0bccd; flex-shrink: 0; }

/* 文章列表条目 */
.blue-article-list { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08); }
.blue-article-item {
    display: flex;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f4f9;
}
.blue-article-item:last-child { border-bottom: none; }
.blue-article-item .a-thumb {
    width: 150px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f4f9;
}
.blue-article-item .a-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blue-article-item .a-body { flex: 1; min-width: 0; }
.blue-article-item .a-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a2b4a;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blue-article-item .a-title a { color: #1a2b4a; }
.blue-article-item .a-title a:hover { color: #0f6cde; }
.blue-article-item .a-desc {
    font-size: 14px;
    color: #6b7893;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.blue-article-item .a-meta { font-size: 13px; color: #9aa7bd; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.blue-article-item .a-meta .read-more { color: #0f6cde; font-weight: 600; margin-left: auto; }
.search-hit { background: #fff3cd; color: #b8860b; font-style: normal; padding: 0 2px; border-radius: 3px; }

/* 分类标签条 */
.blue-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 0 4px;
    margin-bottom: 14px;
    scrollbar-width: none;
}
.blue-cat-tabs::-webkit-scrollbar { display: none; }
.blue-cat-tab {
    flex-shrink: 0;
    padding: 7px 18px;
    border-radius: 20px;
    background: #fff;
    color: #4a5871;
    font-size: 14px;
    border: 1px solid #e3ebf6;
    transition: all .2s;
}
.blue-cat-tab:hover { border-color: #0f6cde; color: #0f6cde; }
.blue-cat-tab.active { background: #0f6cde; color: #fff; border-color: #0f6cde; font-weight: 600; }
.blue-cat-tab .tab-count { font-size: 12px; opacity: .75; margin-left: 2px; }

/* ============ 详情页（旧版布局） ============ */
.blue-product-detail-top {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    margin-bottom: 20px;
}
.blue-gallery { width: 480px; flex-shrink: 0; }
.blue-gallery-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f9fc;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blue-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.blue-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #0f6cde;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.blue-gallery-arrow.prev { left: 10px; }
.blue-gallery-arrow.next { right: 10px; }
.blue-gallery-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.blue-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}
.blue-gallery-dot.active { background: #0f6cde; }
.blue-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.blue-gallery-thumb {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f0f4f9;
}
.blue-gallery-thumb.active { border-color: #0f6cde; }
.blue-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.blue-detail-info { flex: 1; min-width: 0; }
.blue-detail-info h1 { font-size: 22px; color: #1a2b4a; margin-bottom: 12px; line-height: 1.4; }
.blue-detail-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #9aa7bd;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e8f0fa;
    margin-bottom: 14px;
}
.blue-detail-meta .meta-divider { width: 1px; height: 12px; background: #dbe7f7; }

.blue-price-box {
    background: #f0f6ff;
    border-radius: 8px;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}
.blue-price-box .price-label { font-size: 14px; color: #4a5871; }
.blue-price-box .price-value { font-size: 17px; color: #0f6cde; font-weight: 700; margin-left: 6px; }

.blue-desc { font-size: 14px; color: #6b7893; line-height: 1.7; }
.blue-desc h3 {
    font-size: 15px;
    color: #1a2b4a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blue-desc h3 i { color: #0f6cde; }

/* 详情底部（旧版布局：详情介绍 + 侧边联系方式） */
.blue-product-detail-bottom {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.blue-product-related { width: 340px; flex-shrink: 0; }
.blue-product-content {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
}
.blue-product-content > h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #1a2b4a;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef3fb;
}
.blue-product-content > h3 i { color: #0f6cde; }
.blue-product-content .content { font-size: 15px; color: #3d4a63; line-height: 1.8; word-break: break-word; }
.blue-product-content .content img { max-width: 100%; height: auto; border-radius: 6px; }

/* 联系方式卡片 */
.blue-staff-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}
.blue-staff-card-head {
    background: linear-gradient(135deg, #0f6cde, #3a8fea);
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blue-staff-card-contact { padding: 8px 0; }
.blue-staff-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #f4f7fc;
}
.blue-staff-line:last-child { border-bottom: none; }
.blue-staff-line .line-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #eef4ff;
    color: #0f6cde;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.blue-staff-line .line-label { font-size: 13px; color: #9aa7bd; flex-shrink: 0; width: 40px; }
.blue-staff-line .line-value { flex: 1; min-width: 0; font-size: 14px; color: #1a2b4a; font-weight: 500; word-break: break-all; }
.blue-staff-line .copy-btn {
    flex-shrink: 0;
    border: 1px solid #d3e3f9;
    background: #f7faff;
    color: #0f6cde;
    font-size: 12px;
    border-radius: 20px;
    padding: 3px 12px;
    cursor: pointer;
    transition: all .2s;
}
.blue-staff-line .copy-btn:hover { background: #0f6cde; color: #fff; border-color: #0f6cde; }
.blue-staff-line .copy-btn.copied { background: #27ae60; color: #fff; border-color: #27ae60; }

.blue-staff-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    background: #f7faff;
    border-top: 1px solid #eef3fb;
    color: #0f6cde;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.blue-staff-btn:hover { background: #0f6cde; color: #fff; }

/* 二维码卡片 */
.blue-qrcode-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    padding: 16px;
    margin-bottom: 20px;
}
.blue-qrcode-box h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #1a2b4a;
    margin-bottom: 12px;
}
.blue-qrcode-box h3 i { color: #0f6cde; }
.blue-qrcode-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.blue-qrcode-item { text-align: center; width: 100%; max-width: 280px; }
.blue-qrcode-item .qr-img {
    display: block;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #d7e8fb;
    box-shadow: 0 4px 16px rgba(15, 108, 222, 0.08);
    transition: all .25s;
}
.blue-qrcode-item .qr-img:hover {
    box-shadow: 0 6px 20px rgba(15, 108, 222, 0.2);
    transform: translateY(-2px);
}
.blue-qrcode-item .qr-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.blue-qrcode-item .qr-tip { margin-top: 10px; font-size: 14px; color: #666; font-weight: 500; }

/* 联系方式弹窗 */
.blue-staff-modal { display: none; position: fixed; inset: 0; z-index: 2000; }
.blue-staff-modal.show { display: block; }
.blue-staff-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.blue-staff-modal-box {
    position: relative;
    max-width: 420px;
    margin: 10vh auto 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: blue-modal-in .25s;
}
@keyframes blue-modal-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.blue-staff-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}
.blue-staff-modal-header {
    background: linear-gradient(135deg, #0f6cde, #3a8fea);
    color: #fff;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blue-staff-modal-body { padding: 10px 20px 18px; }
.blue-staff-modal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4f9;
}
.blue-staff-modal-line:last-child { border-bottom: none; }
.blue-staff-modal-line .label { font-size: 13px; color: #9aa7bd; width: 56px; flex-shrink: 0; }
.blue-staff-modal-line .label i { color: #0f6cde; margin-right: 4px; }
.blue-staff-modal-line .value { flex: 1; min-width: 0; font-size: 14px; color: #1a2b4a; font-weight: 500; word-break: break-all; }
.blue-staff-modal-line .copy-btn {
    flex-shrink: 0;
    border: 1px solid #d3e3f9;
    background: #f7faff;
    color: #0f6cde;
    font-size: 12px;
    border-radius: 20px;
    padding: 3px 12px;
    cursor: pointer;
    transition: all .2s;
}
.blue-staff-modal-line .copy-btn:hover { background: #0f6cde; color: #fff; }
.blue-staff-modal-line .copy-btn.copied { background: #27ae60; color: #fff; border-color: #27ae60; }

/* ============ 评价区（详情页内） ============ */
.blue-reviews-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    padding: 20px;
    margin-top: 20px;
}
.blue-reviews-box > h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #1a2b4a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef3fb;
}
.blue-reviews-box > h3 i { color: #0f6cde; }
.blue-review-list .blue-review-item { padding: 14px 0; }
.blue-review-form { background: #f7faff; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.blue-review-form h4 {
    font-size: 14px;
    color: #1a2b4a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.blue-review-form h4 i { color: #0f6cde; }
.blue-review-form .form-row { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.blue-review-form input[type="text"], .blue-review-form textarea {
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
    background: #fff;
}
.blue-review-form input[type="text"] { flex: 1; min-width: 140px; }
.blue-review-form textarea { width: 100%; height: 80px; resize: vertical; }
.blue-review-form input:focus, .blue-review-form textarea:focus { border-color: #0f6cde; }
.blue-review-form .form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.blue-review-form .submit-btn {
    border: none;
    background: #0f6cde;
    color: #fff;
    padding: 9px 26px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
}
.blue-review-form .submit-btn:hover { background: #0a5ac2; }
.blue-review-form .form-tip { font-size: 12px; color: #9aa7bd; }
.blue-review-form .form-msg {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.blue-review-form .form-msg.ok { background: #e8f8ee; color: #1e7e34; }
.blue-review-form .form-msg.err { background: #fdeeee; color: #c0392b; }

/* ============ 分页 ============ */
.blue-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 26px 0 6px;
    flex-wrap: wrap;
}
.blue-pagination a, .blue-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff;
    color: #4a5871;
    font-size: 14px;
    border: 1px solid #e3ebf6;
    transition: all .2s;
}
.blue-pagination a:hover { border-color: #0f6cde; color: #0f6cde; }
.blue-pagination .current, .blue-pagination .active { background: #0f6cde; color: #fff; border-color: #0f6cde; font-weight: 600; }
.blue-pagination .disabled { color: #c3ccda; }

/* ============ 文章详情 ============ */
.blue-article-detail {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    padding: 24px 26px;
}
.blue-article-detail h1 { font-size: 24px; color: #1a2b4a; margin-bottom: 14px; line-height: 1.45; }
.blue-article-detail .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #9aa7bd;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e8f0fa;
    margin-bottom: 18px;
}
.blue-article-detail .content { font-size: 15px; color: #3d4a63; line-height: 1.9; }
.blue-article-detail .content img { max-width: 100%; height: auto; border-radius: 8px; }
.blue-article-tags { margin-top: 20px; font-size: 14px; color: #9aa7bd; }
.blue-article-tags .tag {
    display: inline-block;
    background: #eef4ff;
    color: #0f6cde;
    padding: 3px 12px;
    border-radius: 16px;
    font-size: 13px;
    margin-left: 6px;
}
.blue-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #f0f4f9;
}
.blue-article-nav a { font-size: 14px; color: #4a5871; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blue-article-nav a:hover { color: #0f6cde; }
.blue-article-nav a.next { text-align: right; }
.blue-article-nav .nav-label { color: #9aa7bd; font-size: 12px; display: block; margin-bottom: 2px; }

/* 阅读全文（广告+展开） */
.readmore-wrapper { text-align: center; margin-top: 20px; }
.readmore-btn {
    background: #0f6cde;
    color: #fff;
    border: none;
    padding: 10px 34px;
    border-radius: 22px;
    font-size: 15px;
    cursor: pointer;
}
.readmore-btn:hover { background: #0a5ac2; }
.readmore-preview { position: relative; }
.readmore-overlay {
    position: relative;
    margin-top: -120px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    cursor: pointer;
}
.readmore-overlay-link { text-decoration: none; }
.readmore-overlay-hint { font-size: 13px; color: #0f6cde; }
.readmore-overlay-arrow { text-align: center; color: #0f6cde; font-size: 16px; }
.readmore-ad-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.5);
    align-items: center;
    justify-content: center;
}
.readmore-ad-overlay.show { display: flex; }
.readmore-ad-box { background: #fff; border-radius: 12px; max-width: 520px; width: 90%; padding: 20px; }
.ad-tip { text-align: center; color: #9aa7bd; font-size: 13px; margin-bottom: 12px; }
.countdown-number { color: #0f6cde; font-weight: 700; font-size: 16px; }

/* ============ 空状态 ============ */
.blue-empty {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 50px 20px;
    color: #b0bccd;
}
.blue-empty i { font-size: 44px; color: #d5e0ef; display: block; margin-bottom: 12px; }
.blue-empty .btn-primary {
    display: inline-block;
    margin-top: 16px;
    background: #0f6cde;
    color: #fff;
    padding: 8px 26px;
    border-radius: 20px;
    font-size: 14px;
}

/* ============ 友情链接 ============ */
.blue-friend-links {
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 24px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    font-size: 13px;
    color: #9aa7bd;
}
.blue-friend-links .label { color: #0f6cde; font-weight: 600; margin-right: 8px; }
.blue-friend-links a { color: #6b7893; margin-right: 12px; }
.blue-friend-links a:hover { color: #0f6cde; }

/* ============ 页脚 ============ */
.blue-footer {
    background: #0d2b52;
    color: #9fb4d0;
    padding: 24px 0;
    font-size: 13px;
    margin-top: 30px;
}
.blue-footer a { color: #cfe0f5; }
.blue-footer a:hover { color: #fff; }

/* 返回顶部 */
.blue-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 70px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #0f6cde;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    box-shadow: 0 4px 14px rgba(10, 90, 194, 0.35);
    z-index: 900;
}
.blue-back-to-top.show { opacity: 1; visibility: visible; }
.blue-back-to-top:hover { background: #0a5ac2; }

/* 浮动广告 */
.blue-footer-float-ad {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    z-index: 1500;
    padding: 12px 40px 12px 20px;
    transition: transform .3s;
}
.blue-close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: #eee;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    font-size: 15px;
}

/* ============ 移动端适配 ============ */
@media (max-width: 900px) {
    .blue-two-col { flex-direction: column; }
    .blue-sidebar { width: 100%; order: 2; }
    .blue-main-content { order: 1; }

    .blue-gallery { width: 100%; }

    .blue-product-detail-bottom { flex-direction: column; }
    .blue-product-related { width: 100%; }
    .blue-product-content { width: 100%; }
}

@media (max-width: 768px) {
    .blue-nav, .blue-search-toggle-desktop { display: none; }
    #menuToggleMobile { display: inline-flex; }
    .blue-mobile-actions { display: flex; }

    .blue-card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .blue-big-card .card-body { padding: 12px 14px 14px; }
    .blue-big-card .card-title { font-size: 14px; }
    .blue-big-card .card-desc { -webkit-line-clamp: 2; font-size: 12px; }
    .blue-big-card .card-meta { font-size: 12px; }

    .blue-section-title { font-size: 17px; margin: 26px 0 14px; }

    .blue-knowledge-item { flex-direction: column; gap: 10px; padding: 14px 16px; }
    .blue-knowledge-item .k-thumb { width: 100%; height: 150px; }
    .blue-knowledge-item .k-title { font-size: 15px; white-space: normal; }

    .blue-article-item { flex-direction: row; gap: 12px; padding: 12px 14px; }
    .blue-article-item .a-thumb { width: 110px; height: 82px; }
    .blue-article-item .a-title { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
    .blue-article-item .a-desc { display: -webkit-box; -webkit-line-clamp: 1; font-size: 13px; line-height: 1.5; margin-bottom: 6px; }
    .blue-article-item .a-meta { gap: 10px; font-size: 12px; }

    .blue-product-detail-top { flex-direction: column; padding: 14px; }
    .blue-detail-info h1 { font-size: 18px; }

    .blue-staff-line { flex-wrap: nowrap; gap: 6px; }
    .blue-staff-line .line-label { width: 34px; }
    .blue-staff-line .line-value { flex-basis: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .blue-staff-line .copy-btn { margin-left: 0; padding: 3px 10px; font-size: 12px; }

    .blue-review-form .form-row { flex-direction: column; }

    .blue-article-detail { padding: 18px 16px; }
    .blue-article-detail h1 { font-size: 19px; }
}

@media (max-width: 420px) {
    .blue-card-grid { grid-template-columns: 1fr; }
}

/* ============ 首页：default 式推荐网格（推荐文章） ============ */
.blue-recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.blue-recommend-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    overflow: hidden;
    transition: all .25s;
}
.blue-recommend-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16, 62, 122, 0.14); }
.blue-recommend-card .rc-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f7f7;
}
.blue-recommend-card .rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blue-recommend-card:hover .rc-img img { transform: scale(1.04); }
.blue-recommend-card .rc-body { padding: 14px 16px 16px; }
.blue-recommend-card .rc-title {
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 8px;
    color: #1a2b4a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blue-recommend-card .rc-title a { color: #1a2b4a; }
.blue-recommend-card .rc-title a:hover { color: #0f6cde; }
.blue-recommend-card .rc-desc {
    color: #7b879c;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blue-recommend-card .rc-meta { display: flex; gap: 14px; color: #9aa7bd; font-size: 12px; }

/* ============ 首页：推荐商家（4列网格） ============ */
.blue-home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.blue-home-product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    overflow: hidden;
    transition: all .25s;
}
.blue-home-product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(16, 62, 122, 0.16); }
.blue-home-product-card .ph-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.blue-home-product-card .ph-img img { width: 100%; height: 100%; object-fit: contain; }
.blue-home-product-card .ph-img .no-img { color: #b0bccd; font-size: 34px; }
.blue-home-product-card .ph-info { padding: 12px 14px 14px; }
.blue-home-product-card .ph-info h3 {
    font-size: 15px;
    margin: 0 0 10px;
    color: #1a2b4a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blue-home-product-card .ph-row { display: flex; align-items: center; justify-content: space-between; }
.blue-home-product-card .ph-views { color: #9aa7bd; font-size: 12px; }
.blue-home-product-card .ph-btn {
    background: #0f6cde;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ============ 首页：热门文章排名徽章 ============ */
.blue-hot-list li { display: flex; align-items: center; gap: 8px; }
.blue-hot-list .list-views { margin-left: auto; }
.blue-hot-rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #e8eef7;
    color: #7b879c;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.blue-hot-rank.top1 { background: linear-gradient(135deg, #0f6cde, #0a5ac2); color: #fff; }
.blue-hot-rank.top2 { background: linear-gradient(135deg, #3a8fea, #1e7ae0); color: #fff; }
.blue-hot-rank.top3 { background: linear-gradient(135deg, #6aa8ee, #3a8fea); color: #fff; }

/* ============ 首页：友情链接 ============ */
.blue-friend-links {
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 26px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.06);
}
.blue-friend-links .label { color: #1a2b4a; font-weight: 600; margin-right: 8px; }
.blue-friend-links a { color: #5a6b8a; font-size: 13px; margin: 0 10px 4px 0; display: inline-block; }
.blue-friend-links a:hover { color: #0f6cde; }

/* ============ 首页网格：移动端双列 ============ */
@media (max-width: 768px) {
    .blue-recommend-grid, .blue-home-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .blue-recommend-card .rc-body { padding: 10px 12px 12px; }
    .blue-recommend-card .rc-title { font-size: 14px; }
    .blue-recommend-card .rc-desc { font-size: 12px; }
    .blue-home-product-card .ph-info { padding: 8px 10px 10px; }
    .blue-home-product-card .ph-info h3 { font-size: 13px; }
    .blue-friend-links { padding: 12px 14px; }
}

/* ============ 分类页：商家单列大卡片（一行一个） ============ */
.blue-product-row-list { display: flex; flex-direction: column; gap: 16px; }
.blue-product-row {
    display: flex;
    gap: 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 62, 122, 0.08);
    overflow: hidden;
    transition: all .25s;
}
.blue-product-row:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16, 62, 122, 0.14); }
.blue-product-row .pr-img {
    flex-shrink: 0;
    width: 320px;
    height: 210px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.blue-product-row .pr-img img { width: 100%; height: 100%; object-fit: contain; }
.blue-product-row .pr-img .no-img { color: #b0bccd; font-size: 34px; }
.blue-product-row .pr-body {
    flex: 1;
    min-width: 0;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
}
.blue-product-row .pr-title { font-size: 18px; color: #1a2b4a; margin: 0 0 10px; }
.blue-product-row .pr-title a { color: #1a2b4a; }
.blue-product-row .pr-title a:hover { color: #0f6cde; }
.blue-product-row .pr-desc {
    color: #7b879c;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blue-product-row .pr-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.blue-product-row .pr-views { color: #9aa7bd; font-size: 13px; }
.blue-product-row .pr-btn {
    background: #0f6cde;
    color: #fff;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .blue-product-row { flex-direction: column; gap: 0; }
    .blue-product-row .pr-img { width: 100%; height: 200px; }
    .blue-product-row .pr-body { padding: 14px 16px; }
    .blue-product-row .pr-title { font-size: 16px; }
}
