/* ==========================================================================
   xinxifenlei_h - ICP 信息分类模板样式表
   ========================================================================== */

/* 全局重置与基础样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #333333;
  background-color: #f4f6f9;
  line-height: 1.5;
}

/* ==========================================================================
   平台接入增强：真实数据容器、图片比例、登录注册与用户中心
   ========================================================================== */
.xfh-loading,
.xfh-empty {
  width: 100%;
  padding: 38px 20px;
  color: #77808c;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 6px;
}

.listing-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 35, 60, 0.06);
}

.listing-thumb {
  display: block;
  height: 180px;
  overflow: hidden;
  color: #9aa4b2;
  line-height: 180px;
  text-align: center;
  background: #f3f5f8;
}

.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-info {
  padding: 14px;
}

.listing-meta,
.list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #8892a0;
  font-size: 12px;
  margin-bottom: 8px;
}

.listing-title,
.list-title {
  display: block;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.45;
}

.listing-info p {
  height: 42px;
  margin: 8px 0;
  overflow: hidden;
  color: #6b7280;
}

.listing-price,
.list-price {
  color: #ff5500;
  font-size: 18px;
  font-weight: 800;
}

.filter-panel,
.list-results-panel,
.detail-card,
.publish-card,
.user-main-card,
.user-side-card {
  margin-top: 16px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e4e9f0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 35, 60, 0.04);
}

.filter-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #edf0f5;
}

.filter-label {
  width: 86px;
  color: #677185;
  font-weight: 700;
}

.filter-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-opt {
  padding: 3px 9px;
  color: #465263;
  border-radius: 3px;
}

.filter-opt.active,
.filter-opt:hover {
  color: #ffffff;
  text-decoration: none;
  background: #0066cc;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.list-item-row {
  display: grid;
  grid-template-columns: 180px 1fr 130px;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f5;
}

.list-thumb {
  width: 180px;
  height: 128px;
  overflow: hidden;
  color: #9aa4b2;
  line-height: 128px;
  text-align: center;
  background: #f3f5f8;
  border-radius: 4px;
}

.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 18px;
}

.page-btn,
.page-current {
  padding: 7px 12px;
  border: 1px solid #d8dee8;
  border-radius: 4px;
  background: #ffffff;
}

.detail-card h1 {
  color: #1f2937;
  font-size: 28px;
  margin-bottom: 8px;
}

.detail-meta {
  color: #7b8794;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f5;
}

.detail-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  margin-top: 20px;
}

.gallery-main-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: #f5f7fa;
  border: 1px solid #e6eaf0;
  border-radius: 6px;
}

.gallery-main-view img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.thumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.thumb-img {
  width: 76px;
  height: 58px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.thumb-img.active,
.thumb-img:hover {
  border-color: #ff5500;
}

.price-box {
  padding: 18px;
  background: #fff7f1;
  border: 1px solid #ffd5bd;
  border-radius: 6px;
}

.price-box strong {
  color: #ff5500;
  font-size: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.specs-grid div {
  padding: 12px;
  background: #f8fafc;
  border-radius: 4px;
}

.specs-grid span {
  display: block;
  color: #8a94a6;
  margin-bottom: 5px;
}

.contact-card {
  padding: 18px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 6px;
}

.contact-name {
  margin-bottom: 12px;
  font-weight: 700;
}

.phone-display-btn,
.publish-submit-btn,
.auth-submit-btn,
.user-logout-btn {
  width: 100%;
  padding: 12px 14px;
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #ff5500;
  cursor: pointer;
}

.detail-section {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #edf0f5;
}

.detail-section h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.detail-section p {
  color: #4b5563;
  white-space: pre-line;
}

.publish-form,
.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.publish-form label,
.auth-form label {
  display: grid;
  gap: 7px;
  color: #465263;
  font-weight: 700;
}

.publish-form input,
.publish-form select,
.publish-form textarea,
.auth-form input,
.auth-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  background: #ffffff;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.category-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.picker-card {
  padding: 16px;
  border: 1px solid #e1e7f0;
  border-radius: 6px;
  cursor: pointer;
  background: #ffffff;
}

.picker-card.active {
  border-color: #ff5500;
  background: #fff7f1;
}

.picker-card strong,
.picker-card span {
  display: block;
}

.picker-card span {
  color: #8a94a6;
  margin-top: 6px;
  font-size: 12px;
}

.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef6ff 0%, #fff6ee 100%);
}

.auth-shell {
  width: 980px;
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
}

.auth-card {
  padding: 34px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 14px 45px rgba(23, 35, 61, 0.12);
}

.auth-card h1 {
  margin-bottom: 12px;
}

.inline-input {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
}

.inline-input button {
  border: 1px solid #ff5500;
  color: #ff5500;
  background: #fff7f1;
  border-radius: 4px;
}

.agree-line {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 400 !important;
}

.agree-line input {
  width: auto;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.user-center-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.user-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}

.user-table th,
.user-table td {
  padding: 12px;
  border-bottom: 1px solid #edf0f5;
  text-align: left;
}

.profile-panel {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #edf0f5;
}

@media (max-width: 1280px) {
  .container,
  .auth-shell {
    width: calc(100% - 40px);
  }
}

@media (max-width: 900px) {
  .header-wrapper,
  .detail-body-grid,
  .user-center-layout,
  .auth-shell,
  .form-grid-2 {
    grid-template-columns: 1fr;
    display: grid;
  }
  .search-box-group {
    width: 100%;
  }
  .list-item-row {
    grid-template-columns: 120px 1fr;
  }
  .list-price {
    grid-column: 2;
  }
  .category-picker,
  .home-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

a {
  color: #333333;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: #ff5500;
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* 布局版心 (1200px 传统经典宽度) */
.container {
  width: 1200px;
  margin: 0 auto;
}

/* 颜色与徽章通用类 */
.text-orange { color: #ff5500 !important; }
.text-blue { color: #0066cc !important; }
.text-gray { color: #888888 !important; }
.text-green { color: #27a24c !important; }

.bg-orange { background-color: #ff5500 !important; }
.bg-blue { background-color: #0066cc !important; }

/* 标记徽章 */
.badge {
  display: inline-block;
  padding: 1px 5px;
  font-size: 12px;
  border-radius: 2px;
  margin-right: 5px;
  font-weight: normal;
  text-decoration: none !important;
}
.badge-top { background: #e53935; color: #ffffff; }
.badge-urgent { background: #ff9800; color: #ffffff; }
.badge-verify { background: #00897b; color: #ffffff; }
.badge-personal { background: #1e88e5; color: #ffffff; }
.badge-biz { background: #8e24aa; color: #ffffff; }

/* ==========================================================================
   1. 顶栏 (Top Utility Bar)
   ========================================================================== */
.top-bar {
  background-color: #2e353d;
  color: #b0b8c4;
  font-size: 12px;
  height: 34px;
  line-height: 34px;
  border-bottom: 1px solid #23282e;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #c2cbd6;
  margin-left: 15px;
}

.top-bar a:hover {
  color: #ffffff;
  text-decoration: none;
}

.city-select-btn {
  color: #ffd800 !important;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
}
.city-select-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* ==========================================================================
   2. 主头部 (Header & Brand Search)
   ========================================================================== */
.site-header {
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 2px solid #0066cc;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.header-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.brand-logo-area {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-text {
  display: block;
  width: 100%;
  max-width: none;
  overflow: hidden;
  font-size: 26px;
  font-weight: 800;
  color: #0066cc;
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-text span {
  color: #ff5500;
}

.brand-slogan {
  max-width: 100%;
  overflow: hidden;
  font-size: 12px;
  color: #666666;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-slogan br {
  display: none;
}

.brand-slogan strong::after {
  content: " · ";
}

/* 搜索框区 */
.search-box-group {
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
}

.search-input-wrapper {
  display: flex;
  border: 2px solid #ff5500;
  border-radius: 3px;
  overflow: hidden;
  height: 42px;
}

.search-cat-select {
  border: none;
  background: #f8f9fa;
  padding: 0 12px;
  color: #555555;
  border-right: 1px solid #e2e8f0;
  font-weight: 500;
  cursor: pointer;
}

.search-input-field {
  flex: 1;
  border: none;
  padding: 0 15px;
  font-size: 14px;
}

.search-btn {
  background: #ff5500;
  color: #ffffff;
  border: none;
  width: 100px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #e64d00;
}

.hot-keywords {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #888888;
  margin-top: 6px;
}

.hot-keywords a {
  color: #666666;
}

.hot-keywords a:hover {
  color: #ff5500;
}

/* 免费发布信息按钮 */
.publish-btn-lg {
  background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(255, 85, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
  padding-left: 18px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.header-wrapper > div:last-child {
  justify-self: end;
}

.publish-btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 85, 0, 0.4);
  text-decoration: none;
}

/* 主导航条 */
.main-nav-bar {
  background: #0066cc;
  color: #ffffff;
}

.main-nav-bar .container {
  display: flex;
}

.nav-item {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 22px;
  display: block;
}

.nav-item:hover, .nav-item.active {
  background: #004fb3;
  color: #ffffff;
  text-decoration: none;
}

/* VIP/收费说明页 */
.vip-page-layout {
  margin-top: 18px;
}

.vip-hero-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 8%, rgba(255,255,255,0.28), transparent 28%),
    linear-gradient(135deg, #0057c8 0%, #0074dc 48%, #ff6a00 100%);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(0, 91, 200, 0.18);
}

.vip-kicker {
  display: inline-flex;
  padding: 4px 10px;
  margin-bottom: 10px;
  color: #073b7a;
  font-weight: 700;
  background: rgba(255,255,255,0.88);
  border-radius: 999px;
}

.vip-hero-card h1 {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.vip-hero-card p {
  max-width: 720px;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
}

.vip-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.vip-primary-btn,
.vip-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 700;
}

.vip-primary-btn {
  color: #ff5500 !important;
  background: #ffffff;
}

.vip-ghost-btn {
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.72);
}

.vip-hero-stat {
  padding: 24px;
  text-align: center;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 10px;
}

.vip-hero-stat strong {
  display: block;
  font-size: 34px;
  line-height: 1.2;
}

.vip-hero-stat span {
  color: rgba(255,255,255,0.82);
}

.vip-section-card {
  margin-top: 18px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(15, 35, 60, 0.05);
}

.vip-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.vip-section-head h2 {
  font-size: 24px;
  color: #1f2937;
}

.vip-section-head p {
  color: #7a8493;
}

.vip-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.vip-plan-card {
  position: relative;
  padding: 22px;
  min-height: 260px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e1e7f0;
  border-radius: 10px;
}

.vip-plan-card.featured {
  border-color: #ff7a1a;
  box-shadow: 0 10px 24px rgba(255, 85, 0, 0.12);
}

.vip-plan-label {
  display: inline-flex;
  padding: 3px 9px;
  margin-bottom: 12px;
  color: #0066cc;
  font-size: 12px;
  font-weight: 800;
  background: #eef6ff;
  border-radius: 999px;
}

.vip-plan-card.featured .vip-plan-label {
  color: #ffffff;
  background: #ff5500;
}

.vip-plan-card h3 {
  font-size: 19px;
  color: #1f2937;
}

.vip-price {
  margin: 12px 0 14px;
  color: #ff5500;
  font-size: 32px;
  font-weight: 900;
}

.vip-price span {
  color: #7a8493;
  font-size: 14px;
  font-weight: 500;
}

.vip-plan-card li {
  margin: 8px 0;
  color: #5d6775;
  list-style: none;
}

.vip-plan-card li::before {
  content: "✓";
  margin-right: 7px;
  color: #27a24c;
  font-weight: 900;
}

.vip-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.vip-rules-grid article {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
}

.vip-rules-grid h3 {
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 17px;
}

.vip-rules-grid p {
  color: #687384;
}

/* ==========================================================================
   3. 通用面包屑与页面公告
   ========================================================================== */
.breadcrumb-bar {
  background: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f5;
  font-size: 13px;
  color: #666666;
}

.breadcrumb-bar a {
  color: #0066cc;
}

.portal-notice-box {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 4px;
  padding: 10px 15px;
  margin: 15px 0;
  font-size: 13px;
  color: #873800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   4. 首页 (index.html) 布局
   ========================================================================== */
.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.cat-card {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-top: 3px solid #0066cc;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.cat-card:nth-child(2) { border-top-color: #ff5500; }
.cat-card:nth-child(3) { border-top-color: #00b894; }
.cat-card:nth-child(4) { border-top-color: #6c5ce7; }
.cat-card:nth-child(5) { border-top-color: #fdcb6e; }

.cat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e1e6eb;
  margin-bottom: 12px;
}

.cat-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-icon {
  font-size: 20px;
}

.cat-name {
  font-size: 16px;
  font-weight: bold;
  color: #222222;
}

.cat-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.cat-sub-links a {
  font-size: 13px;
  color: #555555;
  white-space: nowrap;
}

.cat-sub-links a.highlight {
  color: #ff5500;
  font-weight: bold;
}

/* 最新信息矩阵区 */
.recent-listings-section {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 30px;
}

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0066cc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-heading {
  font-size: 18px;
  font-weight: bold;
  color: #222222;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-filter-tabs {
  display: flex;
  gap: 8px;
}

.tab-item {
  padding: 5px 14px;
  font-size: 13px;
  border-radius: 3px;
  background: #f1f3f6;
  color: #555555;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-item.active, .tab-item:hover {
  background: #0066cc;
  color: #ffffff;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.item-card {
  border: 1px solid #e8ecef;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s;
}

.item-card:hover {
  border-color: #0066cc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.item-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  background: #eef2f5;
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.item-card:hover .item-img-wrap img {
  transform: scale(1.05);
}

.item-cat-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.65);
  color: #ffffff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
}

.item-info-body {
  padding: 12px;
}

.item-title {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}

.item-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888888;
}

.item-price {
  font-size: 18px;
  font-weight: bold;
  color: #ff5500;
}

/* ==========================================================================
   5. 列表页 (list.html) 筛选器与结果集
   ========================================================================== */
.filter-matrix-box {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.filter-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px dashed #e8ecef;
  font-size: 13px;
  align-items: flex-start;
}

.filter-row:last-child {
  border-bottom: none;
}

.filter-label {
  width: 90px;
  color: #888888;
  font-weight: bold;
  padding-top: 3px;
}

.filter-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.filter-opt {
  padding: 3px 8px;
  border-radius: 3px;
  color: #333333;
}

.filter-opt:hover {
  color: #0066cc;
  text-decoration: none;
}

.filter-opt.active {
  background: #0066cc;
  color: #ffffff !important;
}

/* 列表主框架 layout (双栏: 左主内容, 右推荐侧边栏) */
.list-layout {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.list-main-col {
  flex: 1;
}

.list-sidebar-col {
  width: 280px;
}

/* 排序工具条 */
.list-toolbar {
  background: #f8f9fa;
  border: 1px solid #e1e6eb;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sort-options {
  display: flex;
  gap: 15px;
  font-size: 13px;
}

.sort-item {
  color: #555555;
  cursor: pointer;
}

.sort-item.active {
  color: #0066cc;
  font-weight: bold;
}

/* 横向宽卡片列表项 (经典58/百姓列表项) */
.list-items-container {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 0 0 4px 4px;
}

.list-item-row {
  display: flex;
  padding: 18px;
  border-bottom: 1px solid #f0f3f6;
  gap: 20px;
  transition: background 0.15s;
}

.list-item-row:hover {
  background: #fbfcfd;
}

.list-item-thumb {
  width: 150px;
  height: 110px;
  border-radius: 3px;
  overflow: hidden;
  background: #eef2f5;
  flex-shrink: 0;
}

.list-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list-item-title-row {
  font-size: 16px;
  font-weight: bold;
  color: #222222;
  margin-bottom: 8px;
}

.list-item-specs {
  font-size: 13px;
  color: #666666;
  margin-bottom: 8px;
}

.list-item-specs span {
  margin-right: 15px;
}

.list-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999999;
}

.list-item-price-col {
  width: 150px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.list-price-big {
  font-size: 22px;
  font-weight: bold;
  color: #ff5500;
}

.btn-contact-sm {
  background: #eef5ff;
  color: #0066cc;
  border: 1px solid #0066cc;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}

.btn-contact-sm:hover {
  background: #0066cc;
  color: #ffffff;
}

/* 分页条 */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 25px 0;
}

.page-link {
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #dcdfe6;
  color: #606266;
  border-radius: 3px;
  font-size: 13px;
}

.page-link.active, .page-link:hover {
  background: #0066cc;
  border-color: #0066cc;
  color: #ffffff;
  text-decoration: none;
}

/* 侧边栏小卡片 */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 15px;
  font-weight: bold;
  border-bottom: 2px solid #ff5500;
  padding-bottom: 8px;
  margin-bottom: 12px;
  color: #222222;
}

.widget-item-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #f0f0f0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.widget-item-list a {
  color: #444444;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

/* ==========================================================================
   6. 详情页 (detail.html) 样式
   ========================================================================== */
.detail-header-card {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

.detail-main-title {
  font-size: 22px;
  font-weight: bold;
  color: #111111;
  margin-bottom: 10px;
}

.detail-sub-meta {
  font-size: 12px;
  color: #888888;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #f0f3f6;
  padding-bottom: 12px;
}

.detail-body-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.detail-left-col {
  flex: 1;
}

.detail-right-col {
  width: 340px;
}

/* 图片相册展示 */
.gallery-showcase {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}

.gallery-main-view {
  width: 100%;
  height: 380px;
  background: #111111;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.gallery-main-view img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.thumb-item {
  width: 80px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
}

.thumb-item.active, .thumb-item:hover {
  border-color: #ff5500;
  opacity: 1;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 核心大字参数表 */
.specs-table-box {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

.price-highlight-bar {
  background: #fff8f5;
  border: 1px solid #ffdcd0;
  border-radius: 4px;
  padding: 15px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.price-highlight-num {
  font-size: 32px;
  font-weight: 800;
  color: #ff5500;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  font-size: 14px;
}

.spec-cell {
  display: flex;
  border-bottom: 1px dashed #f0f0f0;
  padding-bottom: 8px;
}

.spec-cell-label {
  width: 80px;
  color: #888888;
}

.spec-cell-value {
  color: #222222;
  font-weight: 500;
}

/* 设施配套标签 */
.facility-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.facility-chip {
  background: #f0f7ff;
  color: #0066cc;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 13px;
}

/* 详情描述文本区 */
.detail-content-box {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 25px;
  margin-bottom: 20px;
}

.box-title-hd {
  font-size: 16px;
  font-weight: bold;
  border-left: 4px solid #0066cc;
  padding-left: 10px;
  margin-bottom: 15px;
  color: #222222;
}

.rich-desc-text {
  font-size: 15px;
  line-height: 1.8;
  color: #444444;
  white-space: pre-line;
}

/* 右侧联系人名片 */
.contact-card-fixed {
  background: #ffffff;
  border: 2px solid #ff5500;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(255,85,0,0.1);
  position: sticky;
  top: 20px;
}

.publisher-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.publisher-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0284c7;
}

.publisher-name {
  font-size: 16px;
  font-weight: bold;
  color: #222222;
}

.phone-display-btn {
  background: #ff5500;
  color: #ffffff !important;
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  display: block;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(255,85,0,0.3);
  transition: all 0.2s;
  border: none;
  width: 100%;
}

.phone-display-btn:hover {
  background: #e64d00;
  text-decoration: none;
}

.revealed-phone-box {
  display: none;
  background: #fff3ed;
  border: 2px dashed #ff5500;
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  margin-top: 10px;
}

.revealed-phone-number {
  font-size: 22px;
  font-weight: bold;
  color: #ff5500;
  letter-spacing: 1px;
}

/* ==========================================================================
   7. 信息发布页 (publish.html) 样式
   ========================================================================== */
.publish-container {
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 30px;
  margin-bottom: 40px;
}

.step-progress-bar {
  display: flex;
  justify-content: space-around;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 30px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #aaaaaa;
}

.step-item.active {
  color: #0066cc;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dddddd;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.step-item.active .step-num {
  background: #0066cc;
}

/* 分类选择器网格 */
.cat-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.picker-card {
  border: 2px solid #e1e6eb;
  border-radius: 6px;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.picker-card:hover, .picker-card.selected {
  border-color: #ff5500;
  background: #fffaf7;
  transform: translateY(-2px);
}

.picker-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.picker-title {
  font-size: 16px;
  font-weight: bold;
}

.form-group-row {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}

.form-label {
  width: 120px;
  font-size: 14px;
  font-weight: bold;
  color: #444444;
  text-align: right;
  padding-right: 15px;
}

.form-label .req {
  color: #ff5500;
  margin-right: 3px;
}

.form-control-wrap {
  flex: 1;
  max-width: 600px;
}

.input-text-std {
  width: 100%;
  height: 40px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.input-text-std:focus {
  border-color: #0066cc;
}

.textarea-std {
  width: 100%;
  height: 120px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  resize: vertical;
}

/* 图片上传预览区 */
.image-upload-dropzone {
  border: 2px dashed #cccccc;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s;
}

.image-upload-dropzone:hover {
  border-color: #0066cc;
}

.uploaded-preview-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-thumb-box {
  width: 90px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid #dddddd;
}

.preview-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-thumb-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   8. 会员中心 (user.html) 样式
   ========================================================================== */
.user-center-layout {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.user-sidebar {
  width: 240px;
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 20px;
}

.user-avatar-card {
  text-align: center;
  border-bottom: 1px solid #f0f3f6;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.user-head-pic {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ff5500;
  color: #ffffff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.user-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  color: #444444;
  margin-bottom: 4px;
  font-size: 14px;
}

.user-menu-list a:hover, .user-menu-list a.active {
  background: #eef5ff;
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

.user-content-panel {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  padding: 25px;
}

.panel-header-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 2px solid #e1e6eb;
  margin-bottom: 20px;
}

.panel-tab {
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #666666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.panel-tab.active {
  color: #0066cc;
  border-bottom-color: #0066cc;
}

/* 管理数据表格 */
.data-table-std {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table-std th {
  background: #f8f9fa;
  border-bottom: 2px solid #e1e6eb;
  padding: 12px;
  text-align: left;
  color: #666666;
}

.data-table-std td {
  border-bottom: 1px solid #e1e6eb;
  padding: 12px;
  vertical-align: middle;
}

.table-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-thumb {
  width: 60px;
  height: 45px;
  border-radius: 3px;
  object-fit: cover;
}

/* ==========================================================================
   9. 登录与注册页 (login.html / register.html) 样式
   ========================================================================== */
.auth-page-body {
  background: #f0f2f5;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.auth-card-box {
  width: 420px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 35px;
}

.auth-card-title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #0066cc;
  margin-bottom: 25px;
}

.auth-form-btn {
  width: 100%;
  height: 44px;
  background: #ff5500;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-form-btn:hover {
  background: #e64d00;
}

/* ==========================================================================
   10. 弹窗与 Toast (Modal & Notifications)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content-box {
  background: #ffffff;
  border-radius: 6px;
  width: 540px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #aaaaaa;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.city-item-btn {
  padding: 8px;
  text-align: center;
  border: 1px solid #e1e6eb;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.city-item-btn:hover {
  border-color: #0066cc;
  color: #0066cc;
  background: #f0f7ff;
}

/* 底部声明 */
.site-footer {
  background: #2b303b;
  color: #a0a7b4;
  padding: 40px 0 20px;
  font-size: 12px;
  margin-top: 50px;
}

.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-links-row a {
  color: #c0c7d4;
}

.footer-copy {
  text-align: center;
  line-height: 1.8;
  color: #7b8391;
}

/* 平台统一页脚接管：模板自身 footer 不再输出，避免与系统 footer 重复。 */
.site-footer,
.footer-links-row,
.footer-copy {
  display: none !important;
}

/* 最终图片比例约束，防止真实采集图片撑破页面。 */
.listing-thumb img,
.list-thumb img,
.gallery-main-view img,
.detail-gallery img,
.table-thumb {
  object-fit: cover;
}

@media (max-width: 900px) {
  .vip-hero-card,
  .vip-plan-grid,
  .vip-rules-grid {
    grid-template-columns: 1fr;
  }

  .vip-hero-card {
    padding: 24px;
  }

  .vip-hero-card h1 {
    font-size: 30px;
  }
}

/* 头部最终响应式约束放在样式表末尾，避免被传统固定版心规则覆盖。 */
@media (max-width: 1280px) {
  .container,
  .auth-shell {
    width: calc(100% - 40px);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 0;
  }

  .header-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .brand-logo-area,
  .search-box-group {
    width: 100%;
  }

  .logo-text {
    font-size: 24px;
  }

  .header-wrapper > div:last-child {
    justify-self: start;
  }

  .top-bar .container {
    align-items: flex-start;
    gap: 8px;
  }

  .main-nav-bar .container {
    overflow-x: auto;
  }
}
