:root {
  --primary: #2196f3;
  --primary-dark: #1976d2;
  --orange: #ff6600;
  --blue-title: #2196f3;
  --text: #333;
  --text-muted: #666;
  --border: #e5e5e5;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-size: 14px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; vertical-align: middle; border: 0; }
.clear { clear: both; }
.clearfix::after { content: ""; display: table; clear: both; }

/* Top bar */
.bartop {
  background: #f5f5f5;
  border-bottom: 1px solid #ebebeb;
  color: #666;
  font-size: 12px;
}
.barcenter {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
}
.barleft {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.barleft ul { list-style: none; }
.barcity { color: #888; }
.barleft a {
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.barleft a:hover { color: var(--primary); }
.icon-bar {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.icon-desktop {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='2' width='14' height='9' rx='1' fill='none' stroke='%23999' stroke-width='1.2'/%3E%3Cpath d='M5 14h6M8 11v3' stroke='%23999' stroke-width='1.2'/%3E%3C/svg%3E");
}
.icon-flash {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 1L4 9h4l-1 6 6-8H9l1-6z' fill='%23999'/%3E%3C/svg%3E");
}
.icon-gear {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l1 2 2.2.3-1 1.7.5 2.1L8 6.5 6.3 7.1l.5-2.1-1-1.7L8 3l1-2zm0 11a3 3 0 100 6 3 3 0 000-6z' fill='%23999'/%3E%3C/svg%3E");
}
.icon-cart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 1h2l1.2 7.2a1 1 0 001 .8h6.3a1 1 0 00.98-.8L14 4H4.2' fill='none' stroke='%23999' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='6' cy='13' r='1.2' fill='%23999'/%3E%3Ccircle cx='11' cy='13' r='1.2' fill='%23999'/%3E%3C/svg%3E");
}
.barright { display: flex; align-items: center; gap: 8px; }
.barright a { color: #666; }
.barright a:hover { color: var(--primary); }
.barright .bar-cart {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.barright .bar-cart:hover .icon-cart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 1h2l1.2 7.2a1 1 0 001 .8h6.3a1 1 0 00.98-.8L14 4H4.2' fill='none' stroke='%232196f3' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='6' cy='13' r='1.2' fill='%232196f3'/%3E%3Ccircle cx='11' cy='13' r='1.2' fill='%232196f3'/%3E%3C/svg%3E");
}
.bar-sep { color: #ccc; font-size: 12px; }

/* Header */
.header-main {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.logosearchtel {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 0 16px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}
.weblogo a { display: block; line-height: 1.15; }
.weblogo .logo-line1,
.weblogo .logo-line2 {
  display: block;
  font-size: 30px;
  font-weight: bold;
  color: #e53935;
  letter-spacing: 1px;
}
.websearch { flex: 1; min-width: 0; }
.search-wrap {
  position: relative;
  padding-top: 26px;
}
.s_ulA {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.s_ulA ul { list-style: none; }
.s_ulA li a {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 3px 18px;
  font-size: 13px;
  line-height: 22px;
}
.sch_t_frm {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--primary);
  height: 42px;
  background: #fff;
  position: relative;
}
.icon-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5' fill='none' stroke='%23bbb' stroke-width='1.5'/%3E%3Cpath d='M10 10l4 4' stroke='%23bbb' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  z-index: 1;
}
.topsearchinput {
  flex: 1;
  border: none;
  padding: 0 12px 0 36px;
  font-size: 14px;
  outline: none;
  height: 100%;
  background: transparent;
}
.btn-normal {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 28px;
  cursor: pointer;
  font-size: 15px;
  height: 100%;
  flex-shrink: 0;
}
.btn-normal:hover { background: var(--primary-dark); }
.postedit { flex-shrink: 0; }
.postedit .post {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 0 22px;
  height: 42px;
  line-height: 42px;
  font-size: 16px;
  white-space: nowrap;
}
.postedit .post:hover { color: #fff; background: var(--primary-dark); }
.icon-post {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect x='2' y='2' width='10' height='10' rx='1' fill='none' stroke='%23fff' stroke-width='1.3'/%3E%3Cpath d='M8 10l6-6M10 4h4v4' stroke='%23fff' stroke-width='1.3' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Nav */
.body1000 { max-width: var(--max-width); margin: 0 auto; }
.daohang_con {
  display: flex;
  align-items: stretch;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 12px;
  background: #fff;
  position: relative;
  z-index: 200;
}
.category-wrap {
  position: relative;
  flex-shrink: 0;
}
.category-btn {
  background: var(--primary);
  color: #fff;
  padding: 0 22px;
  line-height: 44px;
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}
.category-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: transparent;
  border: none;
  box-shadow: none;
  align-items: flex-start;
  pointer-events: none;
}
.category-panel.open {
  display: flex;
  pointer-events: auto;
}
.cat-sidebar {
  list-style: none;
  width: 180px;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  border-top: none;
  background: #fff;
}
.cat-item {
  position: relative;
  border-bottom: 1px solid #eee;
}
.cat-item:last-child { border-bottom: none; }
.cat-item > a {
  display: block;
  padding: 0 28px 0 14px;
  line-height: 40px;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-item > a:hover { color: var(--primary); }
.cat-arrow-right {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--primary);
}
.cat-item.active {
  border: 2px solid var(--primary);
  border-right: none;
  margin: -1px 0 -1px -2px;
  z-index: 2;
  background: #fff;
}
.cat-item.active > a { color: var(--primary); font-weight: bold; }
.cat-item.active .cat-arrow-right { display: none; }
.cat-item.active::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid var(--primary);
  z-index: 3;
}
.cat-flyout-area {
  position: relative;
  min-width: 560px;
  background: transparent;
  align-self: flex-start;
  overflow: hidden;
}
.cat-flyout {
  display: none;
  padding: 12px 20px 16px;
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid var(--primary);
  border-top: none;
  border-left: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.cat-flyout.active { display: block; }
.flyout-title {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.flyout-title a {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary);
}
.flyout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 16px;
}
.flyout-grid a {
  display: block;
  padding: 6px 0;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
}
.flyout-grid a:hover { color: var(--primary); }
.icon-menu {
  display: inline-block;
  width: 18px;
  height: 14px;
  background: linear-gradient(#fff,#fff) 0 0/100% 2px,
              linear-gradient(#fff,#fff) 0 6px/100% 2px,
              linear-gradient(#fff,#fff) 0 12px/100% 2px;
  background-repeat: no-repeat;
}
.daohang { flex: 1; overflow: hidden; }
.daohang ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 44px;
  padding-left: 4px;
}
.daohang li a {
  display: block;
  padding: 0 16px;
  line-height: 44px;
  color: #333;
  font-size: 14px;
}
.daohang li a:hover { color: var(--primary); }
.daohang li a.current {
  color: var(--primary);
  font-weight: bold;
  background: transparent;
}

/* Banner slideshow */
.focustop {
  margin-bottom: 12px;
}
.banner {
  width: 100%;
  height: 346px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.banner .slide {
  list-style: none;
  margin: 0;
  padding: 0;
}
.banner .slide li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 346px;
  display: none;
}
.banner .slide li.is-show {
  display: block;
  z-index: 10;
}
.banner .slide li a {
  display: block;
  width: 100%;
  height: 346px;
  overflow: hidden;
}
.banner .slide li a img {
  width: 100%;
  height: 346px;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.banner .slide li.is-show a img {
  opacity: 1;
}
.banner > .wnum.auto {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  z-index: 30;
}
.banner .num {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  list-style: none;
  margin: 0;
  padding: 6px 10px 6px 18px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  min-width: 37px;
  z-index: 30;
}
.banner .num li {
  float: left;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  border: 1px solid #fff;
  cursor: pointer;
  background: transparent;
  box-sizing: border-box;
}
.banner .num li.active {
  background-color: #fff;
}
.banner .num::after {
  content: "";
  display: table;
  clear: both;
}

/* 推荐信息 */
.index-recommend { margin-bottom: 16px; }
#tab1 ul { list-style: none; border-bottom: 2px solid var(--primary); margin-bottom: 12px; }
#tab1 li {
  display: inline-block;
  padding: 8px 4px;
  margin-right: 20px;
  font-size: 16px;
  font-weight: bold;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  margin-bottom: -2px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
  padding: 16px 0 8px;
}
.featured-card {
  display: flex;
  gap: 10px;
  padding: 0;
  border-bottom: none;
}
.featured-thumb { flex-shrink: 0; }
.featured-thumb img { width: 130px; height: 100px; object-fit: cover; border: 1px solid #eee; }
.featured-body { flex: 1; position: relative; min-height: 100px; padding-bottom: 24px; min-width: 0; }
.featured-body .title { margin-bottom: 8px; line-height: 1.45; }
.featured-body .title a {
  color: #333;
  font-size: 14px;
  font-weight: bold;
}
.featured-body .title a::before {
  content: "▸";
  color: #ccc;
  margin-right: 4px;
  font-weight: normal;
}
.featured-body .title a:hover { color: var(--primary); }
.featured-body .summary {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-body .cat-tag {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 12px;
  color: var(--primary);
}

/* Index sections */
.index-section { margin-bottom: 16px; }
.index-section .hd {
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 12px;
}
.index-section.section-blue .hd { border-bottom-color: var(--blue-title); }
.index-section .hd .span {
  font-size: 16px;
  font-weight: bold;
  color: var(--orange);
}
.index-section.section-blue .hd .span { color: var(--blue-title); }
.index-section .hd .more { margin-left: auto; }
.index-section .hd .more a { font-size: 12px; color: #999; }
.index-section .hd .more a:hover { color: var(--primary); }

/* 首页在线商城 */
.index-section.section-shop .hd {
  border-bottom-color: #2563eb;
}
.index-section.section-shop .hd .span {
  color: #2563eb;
}
.shop-home-bd {
  background: #f8fafc;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-top: none;
}
.shop-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.shop-home-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.shop-home-card:hover {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}
.shop-home-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.shop-home-thumb {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #f1f5f9;
}
.shop-home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}
.shop-home-body {
  padding: 10px 10px 12px;
}
.shop-home-title {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #1e293b;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.shop-home-shop {
  margin: 0 0 6px;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-home-price {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #dc2626;
}
.shop-home-links {
  text-align: center;
  margin: 14px 0 0;
  font-size: 13px;
}
.shop-home-links a {
  color: #2563eb;
}
.shop-home-links a:hover {
  text-decoration: underline;
}

/* 二手转让 */
.section-secondhand-block .hd {
  margin-bottom: 0;
  padding-bottom: 10px;
}
.section-secondhand-block .bd {
  background: #f7f7f7;
  padding: 16px 18px;
  border: 1px solid #eee;
  border-top: none;
}
.section-secondhand {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.secondhand-thumbs {
  width: 288px;
  flex-shrink: 0;
  padding-right: 18px;
  display: flex;
  align-items: center;
}
.secondhand-links {
  flex: 1;
  min-width: 0;
  border-left: 1px solid #e0e0e0;
  padding-left: 18px;
}
.thumb-grid-6 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 88px);
  grid-template-rows: repeat(2, 88px);
  gap: 8px;
}
.thumb-grid-6 li {
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 2px;
}
.thumb-grid-6 a {
  display: block;
  width: 100%;
  height: 100%;
}
.thumb-grid-6 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.secondhand-links-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 0;
  align-content: start;
}
.secondhand-links-grid li {
  padding: 9px 0;
  border-bottom: 1px dashed #d9d9d9;
  line-height: 1.5;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.secondhand-links-grid .cat-label {
  color: #888;
  margin-right: 2px;
}
.secondhand-links-grid a { color: #333; }
.secondhand-links-grid a:hover { color: var(--primary); }
.secondhand-links-grid li.is-hot a {
  color: #e53935;
  font-weight: bold;
}

/* Housing row */
.index-row-housing {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.index-half { flex: 1; margin-bottom: 0; }
.house-strip {
  list-style: none;
  display: flex;
  gap: 8px;
  overflow: hidden;
}
.house-strip .house-card { flex: 1; min-width: 0; text-align: center; }
.house-strip .house-card img { width: 100%; height: 80px; object-fit: cover; border: 1px solid #eee; }
.house-strip .house-card .info {
  font-size: 12px;
  color: #666;
  padding: 4px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.house-strip .house-card a { color: #666; }
.house-strip .house-card a:hover .info { color: var(--primary); }

.index-half .bd {
  min-height: 120px;
}
.rent-home-list {
  margin: 0;
  padding: 4px 0;
}

/* List styles */
.info-list { list-style: none; }
.info-list li {
  padding: 5px 0;
  border-bottom: 1px dashed #eee;
  line-height: 1.8;
}
.info-list li:last-child { border-bottom: none; }
.info-list .cat-label { color: #999; font-size: 12px; }
.info-list a { color: #333; }
.info-list a:hover { color: var(--primary); }
.info-list-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}
.info-list-arrow li {
  padding-left: 14px;
  position: relative;
}
.info-list-arrow li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #ccc;
  font-size: 12px;
}

/* Bottom promo */
.index-promo { margin: 16px 0 0; }
.index-promo img { width: 100%; height: auto; display: block; }

/* Generic section blocks (inner pages) */
.section-block {
  border: 1px solid var(--border);
  margin-bottom: 16px;
  background: #fff;
}
.section-block .hd {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.section-block .hd .span {
  font-size: 16px;
  font-weight: bold;
  color: var(--orange);
  padding-left: 10px;
  border-left: 3px solid var(--orange);
}
.section-block .hd .more { margin-left: auto; }
.section-block .hd .more a { font-size: 12px; color: #999; }
.section-block .bd { padding: 12px 16px; }

.about-content {
  padding: 24px;
  line-height: 2;
  color: #444;
  font-size: 14px;
}
.about-content h3 {
  margin: 28px 0 12px;
  font-size: 16px;
  color: #222;
  font-weight: bold;
}
.about-content h3:first-of-type { margin-top: 8px; }
.about-content ol,
.about-content ul { padding-left: 1.5em; margin: 8px 0 16px; }
.about-content li { margin-bottom: 8px; }
.about-content .legal-meta { color: #888; font-size: 13px; margin-bottom: 20px; }
.about-content .legal-contact { list-style: none; padding-left: 0; background: #f8fafc; padding: 16px 20px; border-radius: 6px; }
.about-content .legal-contact li { margin-bottom: 6px; }
.about-content .legal-footer { margin-top: 24px; color: #666; }
.announce-body { margin: 8px 0 16px; color: #64748b; }

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
}
.thumb-grid img { width: 100%; height: 100px; object-fit: cover; border: 1px solid #eee; }

.house-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
.house-card {
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}
.house-card img { width: 100%; height: 120px; object-fit: cover; }
.house-card .info { padding: 8px; font-size: 13px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Category page */
.location {
  padding: 10px 0;
  color: #999;
  font-size: 13px;
}
.location code { color: #ccc; margin: 0 6px; }
.cat-list { list-style: none; }
.cat-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cat-list li:hover { background: #fafafa; }
.cat-list .thumb { width: 80px; height: 60px; object-fit: cover; border: 1px solid #eee; }
.cat-list .meta { flex: 1; }
.cat-list .meta .title { font-weight: bold; font-size: 14px; margin-bottom: 4px; }
.cat-list .meta .summary { font-size: 12px; color: #999; }
.cat-list .date { color: #999; font-size: 12px; white-space: nowrap; }

.sub-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.sub-cats a {
  padding: 4px 12px;
  background: #f5f5f5;
  color: #666;
  font-size: 13px;
  border: 1px solid #eee;
}
.sub-cats a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Detail page */
.detail-layout { display: grid; grid-template-columns: 1fr 260px; gap: 16px; margin-bottom: 20px; }
.detail-main {
  border: 1px solid #e5e5e5;
  padding: 20px;
  background: #fff;
}
.detail-title { font-size: 20px; font-weight: bold; margin-bottom: 12px; }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #999;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}
.detail-content { line-height: 1.8; font-size: 14px; color: #333; }
.detail-inline-img { max-width: 100%; border: 1px solid #eee; margin-bottom: 12px; }
.detail-contact-tip { margin-top: 16px; color: #666; }
.detail-related-simple { margin-top: 24px; padding-top: 16px; border-top: 1px solid #eee; }
.detail-related-simple h3 { font-size: 16px; margin-bottom: 12px; }

/* Housing detail (图二样式) */
.detail-house-layout { grid-template-columns: 1fr 240px; gap: 14px; }
.detail-house-main { padding: 0; border: 1px solid #e5e5e5; }
.detail-house-head {
  position: relative;
  padding: 18px 20px 10px;
  border-bottom: 1px solid #f0f0f0;
}
.detail-house-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  padding-right: 70px;
  margin: 0;
}
.detail-house-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: bold;
}
.detail-house-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 20px;
  font-size: 12px;
  color: #999;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.detail-house-toolbar-left,
.detail-house-toolbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.detail-house-toolbar-right a { color: #999; }
.detail-house-toolbar-right a:hover { color: var(--primary); }
.share-icons { display: inline-flex; gap: 6px; margin-right: 4px; }
.icon-share {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ddd center/12px no-repeat;
}
.icon-wechat { background-color: #7bc549; }
.icon-qq { background-color: #50a8e0; }
.icon-weibo { background-color: #e6162d; }

.detail-house-summary {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.detail-house-gallery { width: 420px; flex-shrink: 0; }
.detail-house-mainimg {
  width: 100%;
  height: 300px;
  border: 1px solid #eee;
  background: #fafafa;
  overflow: hidden;
}
.detail-house-mainimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-house-thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.detail-house-thumbs ul {
  list-style: none;
  display: flex;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}
.detail-house-thumbs li {
  width: 64px;
  height: 48px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.detail-house-thumbs li.active { border-color: #f5a623; }
.detail-house-thumbs li img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-nav {
  width: 22px;
  height: 48px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.detail-house-attrs { flex: 1; min-width: 0; }
.attr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 16px;
}
.attr-table th,
.attr-table td {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  text-align: left;
  vertical-align: top;
}
.attr-table th {
  width: 56px;
  color: #999;
  font-weight: normal;
}
.attr-table td { color: #333; }
.attr-table .attr-price { color: #e53935; font-size: 22px; font-weight: bold; }

.detail-house-contact {
  font-size: 14px;
  color: #333;
  margin-bottom: 14px;
  line-height: 1.8;
}
.detail-house-contact .contact-phone { margin-top: 4px; }
.phone-masked, .phone-full { color: #e53935; font-weight: bold; margin-right: 8px; }
.btn-show-phone {
  background: #e53935;
  color: #fff;
  border: none;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 2px;
}
.btn-show-phone:hover { background: #c62828; }

.detail-house-tip {
  display: flex;
  gap: 10px;
  background: #eef6fc;
  border: 1px solid #d6ebf9;
  padding: 12px 14px;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}
.tip-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
}
.tip-icon::after {
  content: "!";
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
}

.detail-house-section { border-bottom: 1px solid #f0f0f0; }
.detail-house-section-hd {
  background: #f5f5f5;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #eee;
}
.detail-house-section-bd { padding: 20px; }

.detail-related-list { list-style: none; }
.detail-related-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed #eee;
}
.detail-related-list li:last-child { border-bottom: none; }
.related-thumb {
  width: 100px;
  height: 75px;
  flex-shrink: 0;
  border: 1px solid #eee;
  overflow: hidden;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-body { flex: 1; min-width: 0; }
.related-title {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.4;
}
.related-title:hover { color: var(--primary); }
.related-summary { font-size: 12px; color: #999; line-height: 1.5; }
.related-date { font-size: 12px; color: #bbb; white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
.detail-more-wrap { text-align: center; padding-top: 16px; }
.detail-more-btn {
  display: inline-block;
  padding: 8px 36px;
  border: 1px solid #ddd;
  color: #666;
  font-size: 13px;
  background: #fff;
}
.detail-more-btn:hover { border-color: var(--primary); color: var(--primary); }

.detail-house-disclaimer {
  padding: 14px 20px;
  font-size: 12px;
  color: #999;
  background: #fafafa;
}

.detail-sidebar .sidebar-box,
.detail-house-sidebar .sidebar-box {
  border: 1px solid #e5e5e5;
  padding: 0;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.sidebar-user-card { text-align: center; padding: 20px 12px; }
.user-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #eee;
  object-fit: cover;
}
.user-name { margin-top: 10px; font-size: 15px; font-weight: bold; color: #333; }
.sidebar-cats-box h3 {
  font-size: 14px;
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: var(--primary);
  background: #fafafa;
}
.sidebar-cats-box ul { list-style: none; padding: 8px 12px 12px; }
.sidebar-cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}
.sidebar-cats-grid li a,
.sidebar-cats-box ul li a {
  display: block;
  padding: 5px 0;
  color: #666;
  font-size: 13px;
  position: relative;
  padding-left: 12px;
}
.sidebar-cats-grid li a::before,
.sidebar-cats-box ul li a::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #ccc;
  font-size: 11px;
}
.sidebar-cats-grid li a:hover,
.sidebar-cats-box ul li a:hover { color: var(--primary); }
.sidebar-box h3 {
  font-size: 14px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  color: var(--primary);
}
.sidebar-box ul { list-style: none; }
.sidebar-box li { padding: 4px 0; }
.sidebar-box li a { color: #666; font-size: 13px; }

/* Forms */
.form-page {
  max-width: 560px;
  margin: 30px auto;
  border: 1px solid var(--border);
  padding: 24px;
  background: #fff;
}
.form-page h2 { text-align: center; margin-bottom: 20px; font-size: 18px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 4px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
}
.btn-primary:hover { background: var(--primary-dark); }

/* Footer */
.site-footer {
  background: #0a1128;
  color: #9aa3b2;
  margin-top: 20px;
  font-size: 14px;
}
.site-footer-main {
  padding: 48px 0 36px;
}
.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding: 0 16px;
}
.footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 18px;
  line-height: 1.4;
}
.footer-desc {
  color: #9aa3b2;
  line-height: 1.9;
  font-size: 14px;
}
.footer-links,
.footer-contact {
  list-style: none;
}
.footer-links li,
.footer-contact li {
  padding: 5px 0;
  line-height: 1.8;
}
.footer-links a {
  color: #9aa3b2;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact li {
  color: #9aa3b2;
}
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 16px 28px;
}
.site-footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-copy {
  color: #8b95a5;
  font-size: 13px;
  margin-bottom: 8px;
}
.footer-beian {
  color: #8b95a5;
  font-size: 13px;
  line-height: 1.8;
}
.footer-beian a {
  color: #8b95a5;
  transition: color 0.2s;
}
.footer-beian a:hover {
  color: #fff;
}
.footer-beian-sep {
  margin: 0 10px;
  color: #5c6678;
}
.footer-psb img {
  vertical-align: -3px;
  margin-right: 4px;
}

.pagination { display: flex; gap: 4px; justify-content: center; padding: 16px 0; }
.pagination a {
  padding: 4px 10px;
  border: 1px solid #ddd;
  color: #666;
}
.pagination a.active, .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

#back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
}
#back-to-top a {
  display: block;
  width: 36px;
  height: 36px;
  background: #ccc;
  text-align: center;
  line-height: 36px;
  color: #fff;
  font-size: 16px;
}
#back-to-top a:hover { background: #999; color: #fff; }

@media (max-width: 768px) {
  .logosearchtel { flex-direction: column; align-items: stretch; }
  .daohang_con { flex-direction: column; }
  .daohang ul { flex-wrap: wrap; }
  .cat-flyout-area { min-width: 280px; }
  .flyout-grid { grid-template-columns: 1fr 1fr; }
  .category-panel { flex-direction: column; max-width: 100vw; }
  .cat-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #eee; }
  .featured-grid { grid-template-columns: 1fr; }
  .shop-home-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shop-home-thumb { height: 120px; }
  .info-list-cols, .index-row-housing { grid-template-columns: 1fr; display: block; }
  .index-half { margin-bottom: 16px; }
  .section-secondhand-block .bd { padding: 12px; }
  .section-secondhand { flex-direction: column; }
  .secondhand-thumbs { width: 100%; padding-right: 0; margin-bottom: 12px; justify-content: center; }
  .secondhand-links { border-left: none; padding-left: 0; border-top: 1px solid #e0e0e0; padding-top: 12px; }
  .secondhand-links-grid { grid-template-columns: 1fr; }
  .house-strip { flex-wrap: wrap; }
  .detail-house-summary { flex-direction: column; }
  .detail-house-gallery { width: 100%; }
  .detail-house-mainimg { height: 220px; }
  .detail-house-toolbar { flex-direction: column; align-items: flex-start; }
  .two-col, .detail-layout, .detail-house-layout, .site-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer-main { padding: 32px 0 24px; }
  .banner, .banner .slide li, .banner .slide li a, .banner .slide li a img { height: 200px; }
}
