/* ============ CCJIN 全局样式 (PC+手机自适应) ============ */
:root {
    --gold: #D4A853;
    --gold-dark: #B8922E;
    --gold-light: #FFF8E7;
    --primary: #1A1A2E;
    --text: #333;
    --text-light: #777;
    --bg: #F5F5F5;
    --white: #fff;
    --border: #E5E5E5;
    --red: #E53E3E;
    --green: #38A169;
    --blue: #3182CE;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 15px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; }

/* 容器 */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 15px; }

/* 顶部导航 */
.top-bar { background: var(--primary); color: #ccc; font-size: 13px; padding: 6px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #ccc; margin: 0 8px; }
.city-selector { cursor: pointer; color: var(--gold); }
.city-selector:hover { text-decoration: underline; }

/* 头部 */
.header { background: var(--white); border-bottom: 2px solid var(--gold); box-shadow: var(--shadow); }
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; }
.logo { font-size: 24px; font-weight: 700; color: var(--gold-dark); }
.logo span { color: var(--primary); }
.logo-img { height: 34px; width: auto; vertical-align: middle; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--primary); font-weight: 500; padding: 8px 0; position: relative; }
.nav a:hover, .nav a.active { color: var(--gold-dark); }
.nav a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); }

/* 移动菜单 */
.menu-toggle { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: var(--primary); border-radius: 2px; }

/* 横幅 */
.hero { background: linear-gradient(135deg, var(--primary), #2D2D5E); color: var(--white); padding: 60px 0; text-align: center; }
.hero h1 { font-size: 36px; margin-bottom: 10px; }
.hero h1 .gold { color: var(--gold); }
.hero p { font-size: 16px; color: #aaa; max-width: 600px; margin: 0 auto 20px; }
.hero .btn { padding: 12px 32px; font-size: 16px; }

/* 按钮 */
.btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; transition: all .2s; text-align: center; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; }
.btn-gold:hover { opacity: 0.9; color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-white { background: var(--white); color: var(--primary); border: 2px solid var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 40px; font-size: 18px; }
.btn-mini { padding: 3px 10px; font-size: 12px; border-radius: 4px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.btn-danger { color: var(--red); border-color: var(--red); }

/* 价格卡片 */
.price-section { padding: 40px 0; }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.section-title p { color: var(--text-light); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .2s; }
.price-card:hover { transform: translateY(-3px); }
.price-card .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.price-card .card-title { font-size: 18px; font-weight: 700; }
.price-card .card-tag { background: var(--gold-light); color: var(--gold-dark); padding: 2px 10px; border-radius: 20px; font-size: 12px; }
.price-card .card-price { font-size: 28px; font-weight: 700; color: var(--red); }
.price-card .card-price .unit { font-size: 14px; color: var(--text-light); }
.price-card .card-info { color: var(--text-light); font-size: 13px; margin-top: 8px; }
.price-card .card-time { font-size: 11px; color: #aaa; margin-top: 10px; }
.price-up { color: var(--red); }
.price-down { color: var(--green); }

/* 已更新品类 */
/* 文章卡片 */
.news-section { padding: 40px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.news-card .news-img { height: 180px; background: #eee; position: relative; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 15px; }
.news-card .news-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.news-card .news-meta { font-size: 12px; color: #aaa; display: flex; justify-content: space-between; }
.news-card .news-desc { font-size: 13px; color: #777; margin-top: 8px; }

/* 底部 */
.footer { background: var(--primary); color: #aaa; padding: 40px 0 20px; margin-top: 60px; }
.footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h4 { color: var(--white); margin-bottom: 12px; font-size: 16px; }
.footer a { color: #aaa; display: block; margin: 6px 0; font-size: 14px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; }

/* AI客服浮动按钮 */
.float-ai { position: fixed; right: 20px; bottom: 120px; width: 56px; height: 56px; background: var(--gold); border-radius: 50%; box-shadow: 0 4px 16px rgba(212,168,83,.4); z-index: 999; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.float-ai svg { width: 28px; height: 28px; fill: #fff; }
.float-ai .badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; background: var(--red); color: #fff; border-radius: 50%; font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* 底部漂浮名片（右下角紧凑卡片） */
.contact-card { position: fixed; right: 16px; bottom: 16px; width: 232px; background: var(--white); border: 1px solid var(--gold); border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.18); z-index: 998; overflow: hidden; font-size: 13px; }
.contact-card-header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(135deg, var(--primary), #2a2a3a); color: #fff; }
.cc-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #1a1a2e; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex: 0 0 auto; }
.cc-title { flex: 1; line-height: 1.35; min-width: 0; }
.cc-title strong { display: block; font-size: 13px; }
.cc-title small { font-size: 11px; opacity: .8; }
.cc-toggle { background: none; border: none; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; opacity: .85; }
.cc-toggle:hover { opacity: 1; }
.contact-card-body { padding: 10px 12px; }
.cc-line { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; gap: 10px; }
.cc-line span { color: var(--text-light); flex: 0 0 auto; }
.cc-line b { font-weight: 600; color: var(--text); word-break: break-all; text-align: right; }
.cc-actions { display: flex; gap: 6px; margin-top: 10px; }
.cc-btn { flex: 1; text-align: center; padding: 8px 0; border-radius: 8px; font-size: 13px; color: #fff; text-decoration: none; cursor: pointer; border: none; transition: opacity .15s; }
.cc-btn:hover { opacity: .9; }
.cc-phone { background: var(--primary); }
.cc-wechat { background: var(--green); }
.cc-eval { background: var(--gold); }
.contact-card.collapsed { width: 200px; }
.contact-card.collapsed .contact-card-body { display: none; }

/* AI客服浮动按钮（左下角，避免与右下名片重叠） */
.float-ai-btn { position: fixed; right: 16px; bottom: 180px; width: 54px; height: 54px; background: var(--gold); border-radius: 50%; box-shadow: 0 4px 16px rgba(212,168,83,.4); z-index: 999; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.float-ai-btn:hover { transform: scale(1.08); }
.float-ai-btn svg { width: 28px; height: 28px; fill: #fff; }
.float-ai-btn .ai-dot { position: absolute; top: -2px; right: 0; width: 12px; height: 12px; background: var(--red); border: 2px solid #fff; border-radius: 50%; }
/* AI 按钮浮动标签（飘窗） */
.float-ai-label {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(212,168,83,.25);
    pointer-events: none;
    animation: floatLabelPulse 2s ease-in-out infinite;
}
@keyframes floatLabelPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .65; }
}
@media (max-width: 768px) { .float-ai-btn { right: 10px; bottom: 10px; width: 48px; height: 48px; } .float-ai-label { display: none; } }

/* 弹窗 */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal-content { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: 0 8px 40px rgba(0,0,0,0.2); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-header h3 { font-size: 18px; }
.modal-header button { background: none; border: none; font-size: 24px; cursor: pointer; color: #999; }

/* 表单 */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 4px; font-size: 13px; color: #555; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* 面板 */
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; }
.panel-header { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.panel-header h3 { font-size: 16px; }

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
.data-table th { background: #f8f9fa; font-weight: 600; white-space: nowrap; }
.data-table tr:hover { background: #fafafa; }

/* 徽章 */
.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.badge-success { background: #C6F6D5; color: #22543D; }
.badge-error { background: #FED7D7; color: #9B2C2C; }
.badge-info { background: #BEE3F8; color: #2A4365; }
.badge-warning { background: #FEEBC8; color: #7B341E; }

/* 统计数据卡片 */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--border); }
.stat-num { font-size: 32px; font-weight: 700; color: var(--gold-dark); }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* 价格走势 */
.chart-placeholder { background: #f8f9fa; border: 2px dashed var(--border); border-radius: var(--radius); padding: 60px; text-align: center; color: #aaa; }

/* 提示 */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 15px; font-size: 14px; }
.alert-success { background: #C6F6D5; color: #22543D; }
.alert-error { background: #FED7D7; color: #9B2C2C; }
.alert-warning { background: #FEEBC8; color: #7B341E; }

/* 分页 */
.pagination { display: flex; gap: 6px; padding: 15px; justify-content: center; }
.pagination a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; }
.pagination a.active { background: var(--gold); color: #fff; border-color: var(--gold); }

/* 客户评价 */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 20px 0; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.testimonial-card .stars { color: var(--gold); margin-bottom: 8px; }
.testimonial-card .text { font-size: 14px; color: #555; margin-bottom: 10px; }
.testimonial-card .author { font-size: 12px; color: var(--text-light); }

/* 筛选栏 */
.filter-bar { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; align-items: center; }
.filter-bar input, .filter-bar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; }

/* 登录页 */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), #2D2D5E); }
.login-box { background: var(--white); border-radius: var(--radius); padding: 40px; width: 380px; max-width: 90%; box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
.login-box h2 { text-align: center; margin-bottom: 30px; color: var(--primary); }
.login-box .logo-text { text-align: center; font-size: 28px; font-weight: 700; color: var(--gold-dark); margin-bottom: 10px; }

/* 后台布局 */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: var(--primary); color: #ccc; position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; z-index: 100; }
.admin-sidebar .sidebar-logo { padding: 20px; text-align: center; border-bottom: 1px solid #333; font-size: 20px; font-weight: 700; color: var(--gold); }
.admin-sidebar .sidebar-menu { padding: 10px 0; }
.admin-sidebar .sidebar-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: #aaa; font-size: 14px; transition: all .2s; }
.admin-sidebar .sidebar-menu a:hover, .admin-sidebar .sidebar-menu a.active { background: rgba(255,255,255,0.05); color: var(--gold); border-left: 3px solid var(--gold); }
.admin-sidebar .sidebar-menu .icon { width: 20px; text-align: center; font-size: 16px; }
.admin-main { margin-left: 220px; flex: 1; background: var(--bg); min-height: 100vh; }
.admin-top { background: var(--white); padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.admin-content { padding: 20px; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.page-header h2 { font-size: 20px; color: var(--primary); }

/* 城市列表 */
.city-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city-list a { padding: 4px 12px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; }

/* 移动适配 */
@media (max-width: 768px) {
    .container { padding: 0 12px; }
    .menu-toggle { display: flex; }
    .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 10px; box-shadow: var(--shadow); z-index: 10; }
    .nav.open { display: flex; }
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .price-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-card { width: 200px; right: 10px; bottom: 10px; }
    .admin-sidebar { width: 60px; }
    .admin-sidebar .sidebar-logo { font-size: 14px; padding: 15px 5px; }
    .admin-sidebar .sidebar-menu a span:not(.icon) { display: none; }
    .admin-sidebar .sidebar-menu a { padding: 12px; justify-content: center; }
    .admin-main { margin-left: 60px; }
    .data-table { font-size: 11px; }
    .data-table th, .data-table td { padding: 6px 8px; }
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
}
@media (max-width: 480px) {
    .price-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 24px; }
    .login-box { padding: 24px; }
}

/* ============================================================
   补充区块样式（首页/列表/详情/估价 共用，统一金色视觉语言）
   ============================================================ */

/* 头部内联容器 & Logo 副标题 */
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-sub { font-size: 12px; color: var(--text-light); margin-left: 6px; font-weight: 400; }

/* Hero 内容布局 */
.hero { position: relative; overflow: hidden; }
.hero::after {
    content: ""; position: absolute; right: -80px; top: -80px;
    width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,83,.22), transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-desc { font-size: 16px; color: #C9CCE0; max-width: 640px; margin: 0 auto 24px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero h1 .gold { color: var(--gold); }

/* 区块标题（统一风格） */
.section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 26px; gap: 16px; flex-wrap: wrap;
}
.section-header h2 {
    font-size: 26px; color: var(--primary); position: relative; padding-left: 14px; line-height: 1.3;
}
.section-header h2::before {
    content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}
.section-header p { color: var(--text-light); font-size: 14px; }
.more-link { color: var(--gold-dark); font-weight: 600; font-size: 14px; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }
.update-time { font-size: 13px; color: var(--text-light); }

/* 实时金价卡片 */
.price-section { padding: 50px 0; background: var(--white); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.price-card {
    position: relative; padding: 24px 22px 20px; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s; border-top: 3px solid var(--gold);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(20,24,43,.12); }
.price-card.kgold { border-top-color: #E0A96D; }
.price-card.platinum { border-top-color: #B0B7C4; }
.price-card.silver { border-top-color: #C0C7D0; }
.price-icon {
    width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; color: #fff; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.price-card.kgold .price-icon { background: linear-gradient(135deg, #E8B877, #C98B3E); }
.price-card.platinum .price-icon { background: linear-gradient(135deg, #C3CAD6, #9AA3B2); }
.price-card.silver .price-icon { background: linear-gradient(135deg, #D2D7DE, #AEB6C0); }
.price-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.price-value { font-size: 30px; font-weight: 800; color: var(--red); line-height: 1.1; }
.price-value .unit { font-size: 14px; color: var(--text-light); font-weight: 500; margin-left: 4px; }
.price-unit { font-size: 13px; color: var(--text-light); margin-top: 6px; }
.price-link { display: inline-block; margin-top: 14px; color: var(--gold-dark); font-weight: 600; font-size: 13px; }
.price-link:hover { text-decoration: underline; }

/* 回收品类 */
.categories-section { padding: 50px 0; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.category-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 26px 16px; border-radius: 14px; background: var(--white);
    border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(20,24,43,.12); }
.category-icon {
    width: 58px; height: 58px; border-radius: 50%; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--gold-light), #FBEED2);
    display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.category-icon.cat-gold { background: linear-gradient(135deg, #FCEFD2, #F3D79A); }
.category-icon.cat-kgold { background: linear-gradient(135deg, #FBEFD9, #ECC79A); }
.category-icon.cat-platinum { background: linear-gradient(135deg, #EEF0F4, #D5DAE2); }
.category-icon.cat-silver { background: linear-gradient(135deg, #F1F3F6, #D9DEE5); }
.category-icon.cat-diamond { background: linear-gradient(135deg, #E2F4FA, #B9E2EF); }
.category-icon.cat-watch { background: linear-gradient(135deg, #EFEAF8, #D6C9EE); }
.category-icon.cat-luxury { background: linear-gradient(135deg, #FBF1D2, #EED79A); }
.category-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.category-card p { font-size: 13px; color: var(--text-light); }

/* 服务优势 */
.advantage-section { padding: 50px 0; background: var(--white); }
.advantage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.advantage-item { text-align: center; padding: 28px 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.adv-icon {
    width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center; font-size: 26px;
    background: linear-gradient(135deg, var(--gold-light), #FBEED2);
}
.advantage-item h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.advantage-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* 回收流程 */
.process-section { padding: 50px 0; }
.process-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.step { flex: 1; min-width: 150px; text-align: center; padding: 22px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.step-num {
    width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}
.step h4 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-light); }
.step-arrow { color: var(--gold); font-size: 22px; font-weight: 700; }

/* 热门城市 */
.cities-section { padding: 50px 0; background: var(--white); }
.city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.city-link-item {
    display: inline-block; padding: 8px 16px; border-radius: 20px; font-size: 14px;
    background: var(--bg); border: 1px solid var(--border); color: var(--text); transition: all .15s;
}
.city-link-item:hover { background: var(--gold-light); border-color: var(--gold); color: var(--gold-dark); }

/* 面包屑 / 公告 */
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--gold-dark); }
.market-closed-notice { background: #FEF3E2; border: 1px solid #F6D9A8; color: #9A5B00; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.market-closed-badge { display: none; text-align: center; background: #FEEBC8; color: #9A5B00; font-size: 13px; padding: 6px; }

/* 文章卡片补充 */
.news-info { padding: 14px 16px; }
.news-tag { display: inline-block; background: var(--gold-light); color: var(--gold-dark); font-size: 12px; padding: 2px 10px; border-radius: 20px; margin-bottom: 8px; }
.news-title { font-size: 17px; font-weight: 600; color: var(--primary); margin-bottom: 8px; line-height: 1.45; }
.news-excerpt { font-size: 13px; color: var(--text-light); line-height: 1.7; margin: 8px 0; }
.news-date { font-size: 12px; color: #aaa; }
.news-meta { font-size: 12px; color: #aaa; display: flex; justify-content: space-between; }

/* 页头 Banner（品类/城市/资讯页） */
.page-banner { background: linear-gradient(135deg, var(--primary), #2D2D5E); color: #fff; padding: 38px 0; margin-bottom: 30px; }
.page-banner h1 { font-size: 28px; margin-bottom: 8px; }
.page-banner p { color: #C9CCE0; font-size: 14px; }

/* 侧边卡片（详情页） */
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.sidebar-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* 城市选择下拉 */
.city-selector { position: relative; }
.city-current { cursor: pointer; font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 20px; }
.city-current:hover { background: var(--gold-light); }
.city-dropdown { position: absolute; top: 42px; right: 0; width: 320px; max-height: 360px; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(20,24,43,.15); padding: 14px; z-index: 50; }
.city-dropdown-header { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.city-hot { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.city-tag { padding: 5px 12px; background: var(--gold-light); color: var(--gold-dark); border-radius: 20px; font-size: 13px; }
.city-tag:hover { background: var(--gold); color: #fff; }

/* 城市选择弹窗（前台首次访问引导） */
.city-popup-overlay {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(15, 18, 33, .55); backdrop-filter: blur(2px);
    padding: 16px;
}
.city-popup {
    position: relative;
    width: 100%; max-width: 460px; max-height: 86vh; overflow: hidden;
    background: #fff; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 26px 24px 18px;
    display: flex; flex-direction: column;
}
.city-popup-close {
    position: absolute; top: 12px; right: 14px;
    width: 30px; height: 30px; border: none; background: #f0f0f0;
    border-radius: 50%; font-size: 20px; line-height: 1; color: #888;
    cursor: pointer; transition: background .2s;
}
.city-popup-close:hover { background: #e0e0e0; color: #333; }
.city-popup h3 { margin: 0 0 4px; font-size: 19px; color: var(--primary); }
.city-popup > p { margin: 0 0 16px; font-size: 13px; color: var(--text-light); }
.city-section { margin-bottom: 14px; }
.city-section-label {
    display: block; font-size: 12px; font-weight: 700; color: var(--text-light);
    margin-bottom: 8px;
}
.city-popup .city-list {
    max-height: 38vh; overflow-y: auto;
    border: 1px solid var(--border); border-radius: 10px; padding: 6px;
}
.city-popup-skip {
    display: block; text-align: center; margin-top: 6px;
    font-size: 13px; color: var(--text-light); text-decoration: none;
}
.city-popup-skip:hover { color: var(--gold-dark); }
.city-list { display: flex; flex-direction: column; gap: 2px; }
.city-letter { font-size: 12px; color: var(--text-light); font-weight: 700; margin: 8px 0 2px; }
.city-item { padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--text); }
.city-item:hover { background: var(--gold-light); color: var(--gold-dark); }
.city-item.active { background: var(--gold-light); color: var(--gold-dark); font-weight: 600; }

/* 底部栏目 */
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { margin: 7px 0; }
.footer-col a { color: #aaa; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }

/* 移动端适配补充 */
@media (max-width: 768px) {
    .hero { padding: 36px 0; }
    .hero h1 { font-size: 24px; }
    .section-header h2 { font-size: 22px; }
    .price-value { font-size: 26px; }
    .process-steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .city-dropdown { width: 88vw; right: -10px; }
    .page-banner { padding: 26px 0; }
}

/* ============================================================
   页面级布局样式（估价 / 金价 / 文章 / 品类 / 资讯）
   ============================================================ */

/* 估价页 */
.evaluate-page { padding: 30px 0; }
.evaluate-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.evaluate-form { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.evaluate-form .form-group label { font-weight: 600; color: var(--text); }
.evaluate-form select, .evaluate-form input { border-radius: 9px; }
.evaluate-right { position: sticky; top: 20px; }
.result-box { background: linear-gradient(135deg, var(--primary), #2D2D5E); color: #fff; border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.result-box h3 { font-size: 18px; margin-bottom: 14px; }
.result-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.result-item:last-child { border-bottom: none; }
.result-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.result-total .num { font-size: 28px; font-weight: 800; color: var(--gold); }
.result-note { font-size: 12px; color: #C9CCE0; margin-top: 12px; line-height: 1.6; }
.quick-price-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.quick-price-table th, .quick-price-table td { padding: 8px 10px; font-size: 13px; border-bottom: 1px solid var(--border); text-align: left; }
.quick-price-table th { background: var(--bg); color: var(--text-light); }
.text-right { text-align: right; }

/* 金价详情页 */
.price-detail-section { padding: 30px 0; }
.price-table-wrap, .history-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 24px; overflow-x: auto; }
.price-table, .history-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td, .history-table th, .history-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 14px; text-align: left; }
.price-table th, .history-table th { background: var(--bg); color: var(--text-light); font-weight: 600; }
.price-highlight { color: var(--red); font-weight: 700; }
.price-history-section { padding-bottom: 10px; }
.price-cta-section { padding: 20px 0 50px; }
.cta-box { background: linear-gradient(135deg, var(--primary), #2D2D5E); color: #fff; border-radius: 16px; padding: 32px; text-align: center; box-shadow: var(--shadow); }
.cta-box h2 { font-size: 24px; margin-bottom: 10px; }
.cta-box p { color: #C9CCE0; margin-bottom: 20px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.closed-tag { display: inline-block; background: #FEEBC8; color: #7B341E; font-size: 12px; padding: 2px 10px; border-radius: 20px; }

/* 文章详情页 */
.article-detail { padding: 30px 0; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.article-main { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); }
.article-cover { width: 100%; border-radius: 10px; margin-bottom: 20px; max-height: 380px; object-fit: cover; }
.article-meta { font-size: 13px; color: var(--text-light); margin-bottom: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.article-content { font-size: 16px; line-height: 1.9; color: #333; }
.article-content p { margin-bottom: 16px; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 12px 0; }
.article-content h2, .article-content h3 { margin: 22px 0 12px; color: var(--primary); }
.article-content h4 { margin: 18px 0 10px; color: var(--primary); }
.article-content ul, .article-content ol { margin: 0 0 16px; padding-left: 24px; }
.article-content li { margin: 6px 0; }
.article-content strong { color: var(--primary); font-weight: 700; }
.article-content em { font-style: italic; }
.article-content code { background: #F2F4F8; padding: 2px 7px; border-radius: 5px; font-size: 14px; color: #C7254E; }
.article-content blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: var(--gold-light); color: var(--text-light); border-radius: 0 10px 10px 0; }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-content th { background: #FAFBFC; font-weight: 600; color: var(--text-light); }
.article-content tr:nth-child(even) td { background: #FCFCFE; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.tag { background: var(--gold-light); color: var(--gold-dark); font-size: 13px; padding: 4px 12px; border-radius: 20px; }
.article-cta { background: var(--gold-light); border: 1px solid #F0DFB5; border-radius: 12px; padding: 18px 20px; margin-top: 24px; text-align: center; }
.article-cta .btn { margin-top: 10px; }
.article-related { margin-top: 30px; }
.article-sidebar .sidebar-cat-list { list-style: none; }
.article-sidebar .sidebar-cat-list li { margin: 8px 0; }
.article-sidebar .sidebar-cat-list a { color: var(--text); }
.article-sidebar .sidebar-cat-list a:hover { color: var(--gold-dark); }

/* 品类详情页 */
.category-detail-section { padding: 30px 0; }
.cat-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.cat-detail-main { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); }
.cat-desc { font-size: 15px; line-height: 1.9; color: #444; }
.page-price-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-light); color: var(--gold-dark); padding: 8px 16px; border-radius: 20px; font-weight: 600; margin-bottom: 16px; }
.faq-list { margin-top: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.faq-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.faq-item p { font-size: 14px; color: var(--text-light); }
.mt10 { margin-top: 10px; }

/* 资讯列表页 */
.news-list-section { padding: 30px 0; }
.news-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-filter a { padding: 6px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--border); font-size: 14px; color: var(--text); }
.cat-filter a.active, .cat-filter a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* 宽屏自适应 */
@media (max-width: 900px) {
    .evaluate-layout, .article-layout, .cat-detail-grid { grid-template-columns: 1fr; }
    .evaluate-right { position: static; }
}

/* ============ AI 聊天弹窗（右侧飘窗） ============ */
.ai-chat-popup {
    position: fixed;
    right: 82px;
    bottom: 250px;
    width: 360px;
    max-width: calc(100vw - 100px);
    max-height: 520px;
    background: var(--white);
    border: 1px solid var(--gold);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-size: 14px;
    animation: aiPopupIn .25s ease-out;
}
@keyframes aiPopupIn {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary), #2a2a3a);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.ai-chat-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    min-height: 200px;
    max-height: 360px;
}
.ai-msg {
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    line-height: 1.5;
    max-width: 88%;
    word-break: break-word;
}
.ai-bot {
    background: var(--gold-light);
    border-bottom-left-radius: 4px;
    color: var(--text);
    align-self: flex-start;
    margin-right: auto;
}
.ai-user {
    background: var(--gold);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    margin-left: auto;
}
.ai-system {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    font-size: 12px;
    text-align: center;
    align-self: center;
    margin: 6px auto;
    max-width: 90%;
    border-radius: 20px;
    padding: 6px 16px;
}
.ai-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.ai-quick-actions button {
    padding: 6px 14px;
    background: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: 20px;
    color: var(--gold-dark);
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
.ai-quick-actions button:hover {
    background: var(--gold);
    color: #fff;
}
.ai-chat-input {
    display: flex;
    border-top: 1px solid var(--border);
    padding: 8px 10px;
    gap: 6px;
}
.ai-chat-input input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
}
.ai-chat-input input:focus {
    border-color: var(--gold);
}
.ai-chat-input button {
    padding: 8px 18px;
    background: var(--gold);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}
.ai-chat-input button:hover {
    background: var(--gold-dark);
}
@media (max-width: 768px) {
    .ai-chat-popup {
        right: 10px;
        bottom: 70px;
        width: calc(100vw - 20px);
        max-height: 70vh;
    }
}

/* 估价弹窗 */
.evaluate-popup {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    background: rgba(0,0,0,.45);
}
.evaluate-popup-inner {
    background: var(--white); border-radius: 14px;
    padding: 24px; max-width: 420px; width: 90%;
    max-height: 80vh; overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,.2);
}
.evaluate-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.evaluate-header h3 { margin: 0; font-size: 18px; }
.evaluate-header button { background: none; border: none; font-size: 24px; cursor: pointer; color: #999; padding: 0 4px; }
.evaluate-popup .form-group { margin-bottom: 12px; }
.evaluate-popup .form-group label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 4px; font-weight: 600; }
.evaluate-popup .form-group select,
.evaluate-popup .form-group input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.btn-submit { width: 100%; padding: 12px; background: var(--gold); border: none; border-radius: 8px; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-submit:hover { background: var(--gold-dark); }

/* ============================================================
   CCJIN 设计升级（2026-07-25）：更高端的金色视觉语言 + 转化效率
   说明：以下规则置于文件末尾，按层叠顺序覆盖上方同名样式，便于回滚。
   ============================================================ */

/* ---- 1. 设计变量（更克制、更奢华的香槟金 + 墨黑） ---- */
:root {
    --gold: #C9A24B;
    --gold-dark: #A07E2C;
    --gold-light: #FBF4E4;
    --primary: #15161F;
    --ink-2: #23252F;
    --text: #2A2A33;
    --text-light: #6B6B76;
    --bg: #F7F6F3;
    --white: #fff;
    --border: #ECEAE4;
    --red: #E2403B;          /* 涨 = 红（中国习惯） */
    --green: #2F9E6B;        /* 跌 = 绿 */
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 6px 24px rgba(20,22,33,.08);
    --shadow-lg: 0 18px 50px rgba(20,22,33,.16);
    --max-width: 1200px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
body { font-family: var(--font); }

/* ---- 2. 吸顶导航（滚动后加阴影，常驻 CTA 提升转化） ---- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    transition: box-shadow .3s ease, background .3s ease;
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container { padding-top: 10px; padding-bottom: 10px; }
.logo { font-size: 22px; }

/* 移动端导航下拉贴合吸顶头 */
@media (max-width: 768px) {
    .nav { top: 100%; left: 0; right: 0; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); }
}

/* ---- 3. Hero：增加层次与信任感 ---- */
.hero {
    padding: clamp(48px, 9vw, 84px) 0;
    background:
        radial-gradient(1200px 600px at 82% -12%, rgba(201,162,75,.20), transparent 60%),
        linear-gradient(135deg, #15161F, #23254A 58%, #1A1C30);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(720px 420px at 50% 0%, #000, transparent 75%);
            mask-image: radial-gradient(720px 420px at 50% 0%, #000, transparent 75%);
}
.hero h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.25; }
.hero .btn { box-shadow: 0 10px 24px rgba(201,162,75,.28); }
.hero .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201,162,75,.42); }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* 信任徽章条 */
.trust-badges {
    display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
    margin-top: 30px; color: #C9CCE0; font-size: 13.5px;
}
.trust-badges span { display: inline-flex; align-items: center; gap: 7px; }
.trust-badges svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }

/* ---- 4. 区块标题尺寸自适应 ---- */
.section-header h2 { font-size: clamp(22px, 3.4vw, 28px); }

/* ---- 5. 卡片悬浮质感统一增强 ---- */
.btn { border-radius: 10px; }
.price-card, .category-card, .advantage-item, .step, .news-card, .stat-card, .sidebar-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.price-card:hover, .category-card:hover, .advantage-item:hover { box-shadow: var(--shadow-lg); }

/* ---- 6. 滚动入场动画 ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- 7. 移动端底部固定转化栏（桌面端由头图CTA+浮窗承担） ---- */
.bottom-bar { display: none; }
@media (max-width: 991px) {
    .bottom-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 996;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 10px;
        background: rgba(21,22,31,.97); backdrop-filter: blur(8px);
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .bottom-bar-inner { display: flex; width: 100%; max-width: 680px; margin: 0 auto; gap: 10px; }
    .btn-bottom {
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
        padding: 14px 8px; border-radius: 14px; font-weight: 700; font-size: 15px;
        color: #fff; text-decoration: none; border: none; cursor: pointer;
        transition: transform .15s ease, filter .15s ease;
    }
    .btn-bottom:active { transform: scale(.97); }
    .btn-phone { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1206; }
    .btn-wechat { background: linear-gradient(135deg, #34A853, #1F7E52); }
    .contact-card { display: none; }     /* 移动端避免与底部栏重叠 */
    .float-ai-btn { bottom: 80px; }
    .ai-chat-popup { bottom: 86px; }
}

/* ============================================================
   设计升级（续）：休市横幅 / 搜索 / 城市分组
   ============================================================ */

/* ---- 休市醒目横幅 ---- */
.market-closed-banner {
    background: linear-gradient(135deg, #FF8A00, #E65100);
    color: #fff; text-align: center; padding: 10px 14px;
    font-size: 14px; font-weight: 600; letter-spacing: .3px;
    box-shadow: 0 2px 10px rgba(230, 81, 0, .35);
    position: relative; z-index: 980;
}
.market-closed-badge { display: none !important; } /* 旧小字徽标已被横幅取代 */

/* ---- 头部搜索框（首页） ---- */
.header-search { display: flex; align-items: center; margin-left: 14px; }
.header-search input {
    width: 172px; max-width: 36vw; padding: 8px 12px; font-size: 13px;
    border: 1px solid var(--border, #e2e2e8); border-right: none;
    border-radius: 20px 0 0 20px; outline: none; background: #fff; color: #222;
}
.header-search button {
    border: none; background: var(--gold, #C9A24B); color: #1a1206;
    padding: 8px 12px; border-radius: 0 20px 20px 0; cursor: pointer; font-size: 14px;
}
@media (max-width: 991px) { .header-search { display: none; } }
/* 移动端菜单内的搜索入口：桌面端隐藏（桌面由 header-search 提供） */
.nav-search-link { display: none; }
@media (max-width: 991px) {
    .nav.open .nav-search-link { display: block; padding: 12px 10px; color: var(--primary); border-top: 1px solid var(--border, #e2e2e8); }
}

/* ---- 城市分站搜索 + 省份分组 ---- */
.city-search {
    display: flex; align-items: center; gap: 8px; max-width: 520px;
    margin: 6px auto 22px; padding: 10px 14px; background: #fff;
    border: 1px solid var(--border, #e2e2e8); border-radius: 30px;
    box-shadow: 0 4px 16px rgba(20, 24, 43, .06);
}
.city-search svg { color: var(--gold, #C9A24B); flex: none; }
.city-search input {
    flex: 1; border: none; outline: none; font-size: 15px;
    background: transparent; color: #222;
}
.city-search-clear {
    border: none; background: #f0f0f3; color: #666; border-radius: 14px;
    padding: 6px 12px; cursor: pointer; font-size: 13px;
}
.city-groups { display: flex; flex-direction: column; gap: 18px; }
.city-group-title {
    font-size: 15px; font-weight: 700; color: var(--ink, #15161F);
    margin-bottom: 10px; padding-left: 10px; border-left: 3px solid var(--gold, #C9A24B);
}
.city-empty { text-align: center; color: #999; padding: 30px; }

/* ---- 全站搜索页 ---- */
.search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 24px; }
.search-input {
    flex: 1; padding: 13px 16px; border: 1px solid var(--border, #e2e2e8);
    border-radius: 12px; font-size: 15px; outline: none; color: #222;
}
.search-input:focus { border-color: var(--gold, #C9A24B); }
.search-summary { margin: 8px 0 18px; color: #555; }
.search-group-title { font-size: 17px; margin: 22px 0 12px; color: var(--ink, #15161F); }
.search-tip {
    background: #faf7ef; border: 1px solid #efe3c4; border-radius: 12px;
    padding: 18px 20px; color: #555;
}
.search-tip ul { margin: 10px 0 0; padding-left: 20px; }
.search-tip li { margin: 6px 0; }
.search-empty { text-align: center; color: #999; padding: 40px; }

/* ---- 浮动按钮层级，避免与底部栏重叠 ---- */
.float-ai-btn { z-index: 999; }

/* ============================================================
   CCJIN 设计升级补充：图片兜底、页横幅统一、表格与表单细节强化
   ============================================================ */

/* 图片加载失败/无图时展示金色占位 */
.news-img, .article-cover {
    background: linear-gradient(135deg, var(--gold-light), #F5E8C9);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.news-img::before, .article-cover::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 30% 30%, rgba(201,162,75,.2), transparent 60%);
}
.news-img img, .article-cover img { position: relative; z-index: 1; }
.news-img.fallback, .article-cover.fallback {
    background: linear-gradient(135deg, var(--gold-light), #F3E0B5);
}
.news-img.fallback img, .article-cover.fallback img { display: none; }
.news-img.fallback::after, .article-cover.fallback::after {
    content: "CCJIN 贵金属回收"; position: relative; z-index: 2;
    font-size: 13px; font-weight: 700; color: var(--gold-dark); letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.article-cover.fallback::after { font-size: 16px; }

/* 页横幅统一为奢华暗金 */
.page-banner {
    background:
        radial-gradient(900px 420px at 90% -10%, rgba(201,162,75,.22), transparent 60%),
        linear-gradient(135deg, #15161F, #23243A 60%, #1A1C2E) !important;
    position: relative; overflow: hidden;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(700px 300px at 50% 0%, #000, transparent 70%);
            mask-image: radial-gradient(700px 300px at 50% 0%, #000, transparent 70%);
}
.page-banner h1 { position: relative; z-index: 1; }
.page-banner .page-price-badge {
    background: linear-gradient(135deg, rgba(201,162,75,.18), rgba(201,162,75,.08));
    border: 1px solid rgba(201,162,75,.35); color: #F2D992; font-weight: 700;
    box-shadow: 0 0 20px rgba(201,162,75,.15);
}

/* 表格行交互与价格强调 */
.price-table th, .history-table th {
    background: linear-gradient(180deg, #FAF9F6, #F2F0EA); color: var(--text);
    border-bottom: 2px solid var(--gold); font-weight: 700;
}
.price-table tr:hover td, .history-table tr:hover td { background: var(--gold-light); }
.price-highlight { color: var(--red); font-weight: 800; }

/* 表单与按钮细节 */
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.search-input:focus, .city-search input:focus, .ai-chat-input input:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.12);
}
.btn-gold {
    background: linear-gradient(135deg, #D4A853 0%, #C9A24B 50%, #A07E2C 100%);
    box-shadow: 0 4px 12px rgba(201,162,75,.3); border: none; color: #1a1206;
}
.btn-gold:hover { box-shadow: 0 6px 18px rgba(201,162,75,.45); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--gold); color: var(--gold-dark); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #1a1206; }

/* 侧边栏卡片统一强化 */
.sidebar-card { border-top: 3px solid var(--gold); }
.sidebar-card h4 { border-bottom: 1px solid var(--border); padding-bottom: 10px; }

/* 搜索结果页强化 */
.search-form .search-input { border: 1px solid var(--border); }
.search-form button {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1206;
    border: none; border-radius: 10px; padding: 12px 24px; font-weight: 700; cursor: pointer;
}
.search-form button:hover { box-shadow: 0 4px 14px rgba(201,162,75,.35); }
.search-tip { background: var(--gold-light); border-color: #E9D6A8; }

/* 资讯筛选 */
.cat-filter a.active { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1206; }

/* 流程步骤箭头金色 */
.step-arrow { color: var(--gold); opacity: .8; }

/* 滚动条（Webkit） */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* 文章正文 markdown 渲染（行情文章 / mdToHtml 输出） */
.article-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
    display: block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}
.md-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    overflow: hidden;
    border-radius: 8px;
}
.md-table th, .md-table td {
    border: 1px solid #e6d9b8;
    padding: 9px 14px;
    text-align: left;
    vertical-align: middle;
}
.md-table th {
    background: rgba(201, 162, 39, .14);
    color: #8a6d1a;
    font-weight: 700;
}
.md-table tr:nth-child(even) td { background: #faf7ef; }
