/* =========================================================
   新房列表页专用美化（仅 new-house-list.html 引入）
   不影响二手房/租房/小区列表页
   主色调：红 #fa5741（与筛选条件条一致）
   ========================================================= */

/* ---------- 筛选条件条：白色圆角卡片 ---------- */
.condition{
    width: 1200px;
    background: #fff;
    margin: 16px auto 0;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
    box-sizing: border-box;
}
.condition .cond_row{
    padding: 10px 24px;
}
.condition .cond_label{
    color: #333;
}
.condition .hengxian{
    width: 1152px;
}

/* ---------- 列表头部：为您找到 N 个楼盘 ---------- */
.fanyuan_name{
    position: relative;
    padding-left: 14px;
    padding-top: 26px;
    font-size: 18px;
    font-weight: 600;
    color: #394043;
}
.fanyuan_name::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #fa5741;
    border-radius: 2px;
}
.fanyuan_name span{
    color: #fa5741;
    font-size: 26px;
    font-weight: 700;
    font-family: 'tahoma';
    padding: 0 4px;
}

/* ---------- 排序标签：红点药丸 ---------- */
.de_men{
    width: 1200px;
    height: auto;
    margin: 18px 0 0;
    border-bottom: none;
    overflow: hidden;
}
.de_men ul li{
    float: left;
    height: 36px;
    line-height: 36px;
    padding: 0 22px;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    border-radius: 18px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.de_men ul li:hover{
    color: #fa5741;
    background: rgba(250, 87, 65, 0.06);
}
.de_men ul li.active{
    color: #fff;
    font-weight: 600;
    background: #fa5741;
}

/* ---------- 房源卡片 ---------- */
.fangyuan_type{
    display: flex;
    align-items: center;
    width: 1200px;
    min-height: 200px;
    margin: 20px auto 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    box-sizing: border-box;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.fangyuan_type:hover{
    border-color: rgba(250, 87, 65, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.fanyuan_list .hengxian1{
    display: none;
}

/* 图片 */
.fantype_img{
    width: 300px;
    height: 200px;
    margin-right: 24px;
    float: none;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f6;
    flex-shrink: 0;
}
.fantype_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.fangyuan_type:hover .fantype_img img{
    transform: scale(1.06);
}

/* 内容区 */
.fantype_cont{
    flex: 1;
    min-width: 0;
    float: none;
    height: auto;
    box-sizing: border-box;
}
.fantype_cont .title_row{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.fantype_cont .title_row > a{
    max-width: 460px;
    margin-right: 10px;
    padding-left: 0;
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
    color: #101d37;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fantype_cont .title_row > a:hover{
    color: #fa5741;
}

/* 状态角标 */
.fantype_cont .state-sale,
.fantype_cont .state-sold,
.fantype_cont .state-wait{
    display: inline-block;
    height: 22px;
    line-height: 22px;
    padding: 0 8px;
    font-size: 12px;
    color: #fff;
    border-radius: 4px;
    flex-shrink: 0;
}
.fantype_cont .state-sale{ background: #fa5741; }
.fantype_cont .state-sold{ background: #9aa0a6; }
.fantype_cont .state-wait{ background: #ff9f2e; }

/* 元信息行 */
.fantype_cont p{
    clear: both;
    margin-left: 0;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fantype_cont p.bq_row{
    white-space: normal;
    overflow: visible;
}
.fantype_cont p img{
    width: 14px;
    height: 14px;
    padding-right: 6px;
    vertical-align: -2px;
}

/* 标签 */
.bq{
    display: inline-block;
    height: 24px;
    margin: 2px 8px 2px 0;
    padding: 0 10px;
    line-height: 24px;
    font-size: 12px;
    color: #fa5741;
    background: rgba(250, 87, 65, 0.08);
    border-radius: 4px;
}

/* ---------- 价格区 ---------- */
.fantype_pice{
    width: 250px;
    height: auto;
    float: none;
    padding-left: 18px;
    border-left: 1px dashed #e8e8e8;
    flex-shrink: 0;
    text-align: right;
}
.fantype_pice p{
    text-align: right;
}
.pice_col{
    font-weight: 700;
    font-size: 26px;
    font-family: 'tahoma';
    color: #fa5741;
}
.price_unit{
    margin-left: 2px;
    font-size: 13px;
    color: #999;
}
.pl{
    font-size: 13px;
    color: #666;
    padding-top: 12px;
}
.pl span{
    color: #fa5741;
    font-size: 22px;
    font-weight: 700;
    margin: 0 3px;
}
