/* ============================================================
 * 钦州链码科技 ChainCode 样式表
 * 配色：白底 + 中国红(#e60012)主题色
 * ============================================================ */

:root {
  --primary: #e60012;
  --primary-dark: #c4000f;
  --primary-light: #fff1f2;
  --orange: #ff6600;
  --text: #333;
  --text-2: #666;
  --gray: #999;
  --bg: #f5f6f8;
  --border: #e8e8ee;
  --link: #2b6cb0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --shadow-hover: 0 6px 20px rgba(230,0,18,.12);
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, select, textarea { font-family: inherit; font-size: 14px; outline: none; }

.container { width: 1200px; max-width: 96%; margin: 0 auto; }
.text-red { color: var(--primary); }
.text-orange { color: var(--orange); }

/* ---------------- 顶部通栏 ---------------- */
.topbar {
  background: #f7f7f9;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: var(--text-2); margin: 0 6px; }
.topbar a:hover { color: var(--primary); }
.topbar .tb-right span { margin: 0 8px; }
.btn-post-mini {
  background: var(--primary); color: #fff !important;
  padding: 3px 12px; border-radius: 14px; margin-left: 8px;
}
.btn-post-mini:hover { background: var(--primary-dark); }

/* ---------------- 头部 ---------------- */
.header { background: #fff; padding: 18px 0; }
.header .container { display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #e60012, #ff4d4d);
  color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(230,0,18,.3);
}
.logo-text h1 { font-size: 26px; color: var(--primary); font-weight: 800; letter-spacing: 1px; line-height: 1.2; }
.logo-text p { font-size: 12px; color: var(--gray); }

/* 搜索框 */
.search-box { flex: 1; max-width: 640px; }
.search-row { display: flex; border: 2px solid var(--primary); border-radius: 6px; overflow: hidden; background: #fff; }
.search-cat {
  border: none; border-right: 1px solid var(--border);
  padding: 0 12px; height: 44px; background: #fafafa; color: var(--text-2);
  cursor: pointer;
}
.search-input { flex: 1; border: none; padding: 0 16px; height: 44px; font-size: 15px; }
.search-btn {
  width: 110px; height: 44px; background: var(--primary); color: #fff;
  font-size: 17px; font-weight: 700;
}
.search-btn:hover { background: var(--primary-dark); }
.hot-words { margin-top: 8px; font-size: 12px; color: var(--gray); }
.hot-words a { margin-right: 14px; color: var(--gray); }
.hot-words a:hover { color: var(--primary); }

.header-qr { flex-shrink: 0; text-align: center; color: var(--gray); font-size: 12px; }
.header-qr .qr-icon { font-size: 30px; }

/* ---------------- 主导航 ---------------- */
.navbar { background: var(--primary); box-shadow: 0 2px 8px rgba(230,0,18,.25); position: relative; z-index: 50; }
.nav-list { display: flex; align-items: stretch; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 0 26px; height: 46px; line-height: 46px;
  color: #fff; font-size: 16px; font-weight: 600;
}
.nav-list > li > a:hover, .nav-list > li.active > a { background: var(--primary-dark); }
.nav-list > li.has-drop > a::after { content: "▾"; font-size: 11px; margin-left: 5px; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: #fff; box-shadow: var(--shadow); border-radius: 0 0 6px 6px;
  display: none; padding: 8px 0;
}
.nav-list > li.has-drop:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 8px 18px; color: var(--text-2); white-space: nowrap; }
.nav-dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.nav-toggle { display: none; }

/* ---------------- 首页 Hero 区 ---------------- */
.hero { padding: 16px 0; }
.hero-grid { display: grid; grid-template-columns: 220px 1fr 280px; gap: 14px; }

/* 左侧分类 */
.cat-panel { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cat-panel-title {
  background: var(--primary); color: #fff; padding: 12px 16px;
  font-size: 16px; font-weight: 700;
}
.cat-panel-title span { margin-right: 6px; }
.cat-list li { border-bottom: 1px dashed var(--border); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 14px;
}
.cat-list a:hover { background: var(--primary-light); color: var(--primary); padding-left: 20px; }
.cat-list .cat-icon { font-size: 17px; width: 22px; text-align: center; }

/* 中间轮播 */
.carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 100%; min-height: 340px; background: #ddd;
}
.carousel-track { position: relative; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 28px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
}
.carousel-caption h2 { font-size: 26px; margin-bottom: 6px; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.carousel-caption p { font-size: 15px; opacity: .92; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,.32); color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background .2s;
}
.carousel-arrow:hover { background: rgba(230,0,18,.85); }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 8px; z-index: 5; }
.carousel-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.carousel-dots i.active { background: #fff; width: 24px; border-radius: 5px; }

/* 右侧发布面板 */
.side-panel { display: flex; flex-direction: column; gap: 14px; }
.publish-card {
  background: linear-gradient(135deg, #e60012, #ff5b5b);
  border-radius: var(--radius); padding: 22px 18px; color: #fff; text-align: center;
  box-shadow: 0 4px 14px rgba(230,0,18,.3);
}
.publish-card h3 { font-size: 19px; margin-bottom: 6px; }
.publish-card p { font-size: 13px; opacity: .9; margin-bottom: 14px; }
.publish-card .btn-big {
  display: block; background: #fff; color: var(--primary);
  font-size: 17px; font-weight: 700; padding: 11px 0; border-radius: 24px;
}
.publish-card .btn-big:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.hot-card { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); flex: 1; }
.hot-card h3 {
  font-size: 16px; margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary); display: inline-block;
}
.hot-card li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.hot-card li:last-child { border-bottom: none; }
.hot-card li a { display: flex; gap: 8px; color: var(--text-2); }
.hot-card li a:hover { color: var(--primary); }
.hot-rank {
  flex-shrink: 0; width: 18px; height: 18px; line-height: 18px; text-align: center;
  border-radius: 4px; background: #ccc; color: #fff; font-size: 12px; font-style: normal;
}
.hot-card li:nth-child(1) .hot-rank, .hot-card li:nth-child(2) .hot-rank, .hot-card li:nth-child(3) .hot-rank { background: var(--primary); }

/* ---------------- 通用板块 ---------------- */
.section { margin: 22px 0; }
.section-head { display: flex; align-items: center; margin-bottom: 14px; }
.section-head h2 {
  font-size: 20px; font-weight: 800; padding-left: 12px;
  border-left: 5px solid var(--primary);
}
.section-head .more { margin-left: auto; color: var(--gray); font-size: 13px; }
.section-head .more:hover { color: var(--primary); }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }

/* 生活向导分类宫格 */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
/* 首页分类横排（8 个） */
.cat-grid.cat-row { grid-template-columns: repeat(8, 1fr); gap: 8px; }
.cat-grid.cat-row a { padding: 16px 6px; border: none; background: #fafafa; }
.cat-grid.cat-row a:hover { background: var(--primary-light); }
.cat-grid.cat-row .cg-icon { font-size: 30px; }
.cat-grid.cat-row .cg-name { font-size: 14px; }
.cat-grid a {
  background: #fafafa; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 8px; text-align: center; transition: all .2s;
}
.cat-grid a:hover {
  border-color: var(--primary); background: var(--primary-light);
  transform: translateY(-3px); box-shadow: var(--shadow-hover);
}
.cat-grid .cg-icon { font-size: 30px; }
.cat-grid .cg-name { display: block; margin-top: 6px; font-weight: 600; }
.cat-grid .cg-sub { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }

/* 选项卡 */
.tab-bar { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 2px solid var(--border); }
.tab-bar .tab {
  padding: 10px 22px; font-size: 16px; font-weight: 600; color: var(--text-2);
  background: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.tab-bar .tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* 信息行列表 */
.info-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 8px; border-bottom: 1px dashed var(--border);
}
.info-list li:last-child { border-bottom: none; }
.info-list li:hover { background: #fcfcfd; }
.info-tag {
  flex-shrink: 0; font-size: 12px; color: var(--primary);
  border: 1px solid var(--primary); border-radius: 3px; padding: 0 6px; line-height: 20px;
}
.info-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info-title a:hover { color: var(--primary); }
.info-badge {
  flex-shrink: 0; font-size: 11px; background: var(--primary); color: #fff;
  border-radius: 3px; padding: 1px 6px; margin-right: 6px;
}
.info-meta { flex-shrink: 0; color: var(--gray); font-size: 12.5px; display: flex; gap: 14px; }
.info-price { flex-shrink: 0; color: var(--orange); font-weight: 700; font-size: 16px; min-width: 110px; text-align: right; }
.info-price small { font-size: 12px; font-weight: normal; }

/* 图文卡片 */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #ffc9cd; }
.info-card .card-img { position: relative; height: 170px; overflow: hidden; background: #f0f0f0; }
.info-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.info-card:hover .card-img img { transform: scale(1.06); }
.info-card .card-tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(230,0,18,.92); color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 12px;
}
.info-card .card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.info-card .card-title {
  font-size: 15px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 44px;
}
.info-card .card-desc {
  font-size: 12.5px; color: var(--gray); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.info-card .card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.info-card .card-price { color: var(--orange); font-size: 18px; font-weight: 800; }
.info-card .card-price small { font-size: 12px; font-weight: normal; }
.info-card .card-area { font-size: 12px; color: var(--gray); }

/* 双栏板块 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 资讯 */
.news-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.news-list li:last-child { border-bottom: none; }
.news-list .news-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.news-list a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.news-list a:hover { color: var(--primary); }
.news-list .news-date { color: var(--gray); font-size: 12.5px; flex-shrink: 0; }

/* 服务入口快捷 */
.quick-entry { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.quick-entry a {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow); font-weight: 600;
}
.quick-entry a:hover { color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.quick-entry .qe-icon { font-size: 26px; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--gray); }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------------- 列表页 ---------------- */
.list-layout { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.filter-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.filter-group { border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { padding: 12px 16px; font-size: 15px; background: #fafafa; }
.filter-group .filter-body { padding: 10px 16px 14px; }
.filter-body a {
  display: inline-block; padding: 4px 10px; margin: 3px 4px 3px 0;
  font-size: 13px; color: var(--text-2); border-radius: 4px;
}
.filter-body a:hover, .filter-body a.active { background: var(--primary); color: #fff; }

.list-main .list-toolbar {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 18px; display: flex; align-items: center; gap: 18px; margin-bottom: 14px;
}
.list-toolbar .result-count { color: var(--gray); font-size: 13px; }
.list-toolbar .sort-btn { background: none; color: var(--text-2); font-size: 14px; padding: 4px 10px; border-radius: 4px; }
.list-toolbar .sort-btn.active { color: var(--primary); font-weight: 700; background: var(--primary-light); }

.list-result { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 18px; }
.list-row {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--border);
}
.list-row:last-child { border-bottom: none; }
.list-row .lr-img {
  width: 200px; height: 140px; border-radius: 6px; overflow: hidden;
  flex-shrink: 0; background: #f0f0f0;
}
.list-row .lr-img img { width: 100%; height: 100%; object-fit: cover; }
.list-row .lr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list-row .lr-title { font-size: 17px; font-weight: 700; line-height: 1.4; }
.list-row .lr-title:hover { color: var(--primary); }
.list-row .lr-desc {
  color: var(--gray); font-size: 13px; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list-row .lr-tags { margin-top: 8px; }
.list-row .lr-tags span {
  display: inline-block; font-size: 12px; color: var(--text-2);
  background: #f3f4f6; border-radius: 3px; padding: 1px 8px; margin-right: 6px;
}
.list-row .lr-foot { margin-top: auto; padding-top: 10px; display: flex; gap: 16px; color: var(--gray); font-size: 12.5px; }
.list-row .lr-price { color: var(--orange); font-size: 22px; font-weight: 800; white-space: nowrap; }
.list-row .lr-price small { font-size: 13px; font-weight: normal; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 26px 0 10px; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; line-height: 36px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 0 12px; color: var(--text-2);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- 详情页 ---------------- */
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.detail-main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.detail-title { font-size: 24px; font-weight: 800; line-height: 1.4; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--gray); font-size: 13px; margin: 14px 0; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.detail-price-box {
  background: linear-gradient(135deg, #fff5f5, #ffe8ea);
  border: 1px dashed #ffb3b8; border-radius: var(--radius);
  padding: 18px 22px; display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px;
}
.detail-price-box .dp-label { color: var(--text-2); }
.detail-price-box .dp-price { color: var(--orange); font-size: 32px; font-weight: 800; }
.detail-price-box .dp-price small { font-size: 15px; }
.detail-price-box .dp-area { color: var(--gray); font-size: 13px; margin-left: auto; }
.detail-gallery { margin-bottom: 22px; }
.detail-gallery img { width: 100%; border-radius: var(--radius); max-height: 420px; object-fit: cover; }
.detail-section h3 { font-size: 17px; margin: 22px 0 12px; padding-left: 10px; border-left: 4px solid var(--primary); }
.detail-section p { color: var(--text-2); line-height: 2; margin-bottom: 10px; }
.detail-tags span {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  border-radius: 4px; padding: 3px 12px; margin-right: 8px; font-size: 13px;
}

/* 详情右侧联系卡 */
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.contact-card .cc-head { background: var(--primary); color: #fff; padding: 16px 18px; }
.contact-card .cc-seller { font-size: 17px; font-weight: 700; }
.contact-card .cc-sub { font-size: 12.5px; opacity: .9; margin-top: 2px; }
.contact-card .cc-body { padding: 18px; }
.cc-tip {
  background: #fff8e6; border: 1px solid #ffe1a8; color: #a8741a;
  font-size: 12.5px; border-radius: 6px; padding: 10px 12px; margin-bottom: 14px; line-height: 1.7;
}
.btn-call {
  display: block; text-align: center; background: var(--orange); color: #fff;
  font-size: 18px; font-weight: 700; padding: 13px 0; border-radius: 26px; margin-bottom: 10px;
}
.btn-call:hover { background: #f05f00; color: #fff; }
.btn-chat {
  display: block; text-align: center; background: #fff; color: var(--primary);
  border: 2px solid var(--primary); font-size: 16px; font-weight: 700;
  padding: 11px 0; border-radius: 26px;
}
.btn-chat:hover { background: var(--primary-light); }
.cc-line { padding: 10px 0; font-size: 13.5px; color: var(--text-2); border-top: 1px dashed var(--border); }
.related-card { margin-top: 16px; }
.related-card h3 { font-size: 16px; padding: 16px 18px 0; }
.related-card .info-list { padding: 6px 18px 16px; }

/* ---------------- 表单页（发布/登录） ---------------- */
.form-page { padding: 26px 0 40px; }
.form-wrap {
  max-width: 760px; margin: 0 auto; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 40px;
}
.form-wrap.narrow { max-width: 440px; }
.form-title { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.form-subtitle { text-align: center; color: var(--gray); margin-bottom: 26px; }

.auth-tabs { display: flex; margin-bottom: 26px; border-bottom: 2px solid var(--border); }
.auth-tabs button {
  flex: 1; padding: 12px 0; font-size: 17px; font-weight: 700; color: var(--gray);
  background: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.auth-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }

.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 7px; }
.form-row label .req { color: var(--primary); margin-right: 3px; }
.form-row input[type=text], .form-row input[type=tel], .form-row input[type=password],
.form-row select, .form-row textarea {
  width: 100%; border: 1px solid #d5d8df; border-radius: 6px;
  padding: 11px 14px; background: #fafbfc; transition: border .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--primary); background: #fff;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upload-box {
  border: 2px dashed #d5d8df; border-radius: 6px; padding: 30px;
  text-align: center; color: var(--gray); cursor: pointer; background: #fafbfc;
}
.upload-box:hover { border-color: var(--primary); color: var(--primary); }
.upload-box .up-icon { font-size: 34px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.btn-submit {
  width: 100%; background: var(--primary); color: #fff; font-size: 18px;
  font-weight: 700; padding: 14px 0; border-radius: 26px; margin-top: 8px;
}
.btn-submit:hover { background: var(--primary-dark); }
.form-foot { text-align: center; margin-top: 18px; color: var(--gray); font-size: 13.5px; }
.form-foot a { color: var(--primary); }
.form-error { color: var(--primary); font-size: 12.5px; margin-top: 5px; display: none; }

/* ---------------- 页脚 ---------------- */
.footer { background: #2b2b30; color: #b8b8bf; margin-top: 40px; }
.footer-main { padding: 38px 0 28px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer .foot-links a { display: block; color: #b8b8bf; padding: 4px 0; font-size: 13.5px; }
.footer .foot-links a:hover { color: #ff7a7a; }
.footer .foot-about p { font-size: 13.5px; line-height: 2; }
.footer .foot-contact li { font-size: 13.5px; padding: 4px 0; display: flex; gap: 8px; }
.footer-bottom {
  border-top: 1px solid #44444a; padding: 18px 0;
  text-align: center; font-size: 13px; line-height: 2;
}
.footer-bottom a { color: #b8b8bf; }
.footer-bottom a:hover { color: #ff7a7a; }
.footer-bottom .icp { color: #8f8f96; }

/* ---------------- 提示条 ---------------- */
.notice-bar {
  background: #fff8f0; border: 1px solid #ffe2c2; color: #b56a14;
  border-radius: var(--radius); padding: 10px 18px; font-size: 13px;
  display: flex; align-items: center; gap: 8px; margin: 16px 0;
}

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state .es-icon { font-size: 52px; margin-bottom: 12px; }

/* Toast 提示 */
.toast {
  position: fixed; top: 30%; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.82); color: #fff; padding: 16px 30px;
  border-radius: 8px; font-size: 15px; z-index: 999; display: none;
  text-align: center; line-height: 1.8;
}

/* ---------------- 横向筛选 chips（列表页） ---------------- */
.chip-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
}
.chip-row:last-of-type { border-bottom: none; }
.chip-row b { font-size: 13.5px; color: var(--text-2); font-weight: 600; margin-right: 2px; }
.chip-row a {
  padding: 4px 14px; border-radius: 15px; font-size: 13px;
  color: var(--text-2); background: #f3f4f6; transition: all .15s;
}
.chip-row a:hover { color: var(--primary); background: var(--primary-light); }
.chip-row a.active { background: var(--primary); color: #fff; }
.chip-sort { display: flex; align-items: center; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--border); }
.chip-sort #resultCount { color: var(--gray); font-size: 13px; }
.chip-sort .sort-btn { background: none; color: var(--text-2); font-size: 13.5px; padding: 4px 12px; border-radius: 4px; }
.chip-sort .sort-btn.active { color: var(--primary); font-weight: 700; background: var(--primary-light); }

/* 纯文字信息大行（列表页/首页） */
.info-list.big li { padding: 15px 6px; }
.info-list.big .info-tag { font-size: 13px; padding: 2px 8px; }
.info-list.big .info-title { font-size: 15px; }
.info-list.big .info-price { font-size: 18px; min-width: 120px; }

/* ---------------- 发布引导条 ---------------- */
.cta-strip {
  background: linear-gradient(135deg, #e60012, #ff5b5b);
  border-radius: var(--radius); padding: 26px 34px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 4px 14px rgba(230,0,18,.25);
}
.cta-text { color: #fff; }
.cta-text strong { display: block; font-size: 20px; margin-bottom: 4px; }
.cta-text span { font-size: 14px; opacity: .92; }
.cta-btn {
  margin-left: auto; flex-shrink: 0;
  background: #fff; color: var(--primary);
  font-size: 17px; font-weight: 700; padding: 13px 34px; border-radius: 28px;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.2); color: var(--primary); }

/* 独立轮播高度 */
.hero .carousel { min-height: 360px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1200px) {
  .container { width: 96%; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cat-panel { display: none; }
  .header .container { flex-wrap: wrap; gap: 14px; }
  .header-qr { display: none; }
  .search-box { max-width: 100%; flex: 1 1 100%; order: 3; }
  .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); }
  .nav-list.open { display: flex; }
  .nav-toggle {
    display: block; background: none; color: #fff; font-size: 24px;
    padding: 8px 16px; margin-left: auto;
  }
  .nav-dropdown { position: static; box-shadow: none; background: var(--primary-dark); display: block; }
  .nav-dropdown a { color: rgba(255,255,255,.85); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .list-layout, .detail-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .quick-entry { grid-template-columns: repeat(3, 1fr); }
  .list-row .lr-img { width: 130px; height: 96px; }
  .list-row .lr-desc { display: none; }
  .cta-strip { flex-direction: column; text-align: center; padding: 22px 18px; }
  .cta-btn { margin-left: 0; }
  .form-wrap { padding: 24px 20px; }
  .topbar .tb-left { display: none; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .quick-entry { grid-template-columns: repeat(2, 1fr); }
  .info-meta { display: none; }
}
