/* ============================================
   Detail Tags & Badges - 详情页标签和徽章组件
   ============================================ */

/* ---------- 地铁线路标签 ---------- */

/* PC端地铁线路标签 */
.sw-line-tag {
  background: transparent;
  color: var(--white, #fff);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 4px;
  display: inline-block;
  line-height: 1.5;
}

/* 移动端地铁线路标签 */
.nb-line-tag {
  background: transparent;
  padding: 2px 8px;
  border-radius: 3px;
  color: var(--white, #fff);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.6;
  display: inline-block;
}

/* ---------- 详情页标签 ---------- */

/* 基础标签类 */
.detail-tag {
  display: inline-block;
  padding: 2px 10px;
  margin: 2px 4px 2px 0;
  background: #f0f5ff;
  color: var(--brand-link, #1890ff);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  vertical-align: middle;
}

/* 可分割标签（绿色）*/
.detail-tag.tag-divide {
  background: #e8f5e9;
  color: #2e7d32;
  margin-right: 8px;
}

/* 免中介费标签（橙色描边）*/
.detail-tag.tag-no-fee {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.93);
  color: #FF6B35;
  border-radius: 3px;
  font-weight: 600;
  border: 1px solid #ffd4cc;
}

/* 灰色特色标签（老洋房特有）*/
.detail-tag.tag-gray {
  background: var(--bg-gray);
  color: var(--text-sub);
  border-radius: 2px;
  font-size: 13px;
}

/* 移动端小标签变体 */
.detail-tag.detail-tag--mobile {
  padding: 1px 8px;
  margin: 1px 3px 1px 0;
  border-radius: 10px;
  font-size: 11px;
}

/* ---------- 楼盘名称链接 ---------- */
.detail-building-link {
  color: var(--brand-primary);
  text-decoration: none;
}

.detail-building-link:hover {
  text-decoration: underline;
}

/* ---------- 租金计算器 ---------- */
.rent-calc-section {
  margin-top: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.rent-calc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

/* ---------- 空状态提示 ---------- */

/* 居中空状态（暂无数据）*/
.detail-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-4, #B2B2B2);
  font-size: 14px;
}

/* 左对齐空状态（有背景）*/
.detail-empty-box {
  text-align: left;
  padding: 16px;
  color: var(--text-muted, #666);
  font-size: 13px;
  line-height: 1.8;
  background: #f9fafb;
  border-radius: 8px;
}

/* 占满整列的空状态（用于grid布局）*/
.empty-full-col {
  grid-column: 1 / -1;
}

/* 卡片式空状态（有白色背景和圆角）*/
.detail-empty-card {
  text-align: center;
  color: var(--text-placeholder);
  padding: 30px;
  background: var(--white);
  border-radius: 16px;
}

/* ---------- 顾问卡片相关 ---------- */

/* 顾问头像容器 */
.consultant-avatar-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  padding: 4px;
  background: var(--white, #fff);
  box-sizing: border-box;
}

.consultant-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* 扫码提示文字 */
.consultant-qr-text {
  font-size: 13px;
  color: var(--text-muted, #666);
  margin-bottom: 8px;
  text-align: center;
}

/* 顾问头像（圆形渐变）*/
.consultant-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f8cff, #6b8cff);
  color: var(--white, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* 顾问姓名 */
.consultant-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--tu-text-t1, #353535);
  margin-bottom: 4px;
  text-align: center;
}

/* 顾问经验 */
.consultant-exp {
  font-size: 12px;
  color: var(--text-soft, #888);
  margin-bottom: 10px;
  text-align: center;
}

/* 顾问按钮（绿色）*/
.consultant-btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #10b981;
  color: var(--white, #fff);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s;
}

.consultant-btn-green:hover {
  opacity: .9;
}

/* ---------- 地铁站距离文字 ---------- */
.sw-station-distance {
  color: var(--text-placeholder);
  margin-left: 6px;
  font-size: 12px;
}

/* ---------- 周边楼盘价格 ---------- */
.nb-price-row {
  line-height: 1.6;
}

.nb-price {
  font-weight: 600;
}

.nb-price.nb-price-sale {
  color: var(--price-red);
}

.nb-price.nb-price-rent {
  color: var(--brand-primary);
}

.nb-price-unit {
  color: var(--text-placeholder);
  font-size: 12px;
}

/* ---------- 周边错误提示 ---------- */
.nearby-error {
  display: none;
  text-align: center;
  padding: 30px 0;
}

.nearby-error-text {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.8;
  text-align: left;
  background: #f9fafb;
  border-radius: 8px;
  padding: 14px;
}

.nearby-retry-btn {
  padding: 6px 20px;
  background: var(--brand-primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

/* ---------- 标题副标题 ---------- */
.title-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
}

.title-meta {
  margin-top: 6px;
}

/* ---------- 商圈链接 ---------- */
.addr-link {
  color: inherit;
  text-decoration: none;
}
