/* ============================================================
   房飞布 · 需求大厅页（我要买房/卖房/租房/出租）页面级美化
   作用域：body.wt-page —— 仅 viewWT.html 生效，不影响其他页面
   版本：v1 2026-10-20
   ============================================================ */

/* ---------- 1. 页面底色 ---------- */
.wt-page.bggrey {
    background: #f5f6f8;
}

/* ---------- 2. 顶部类型 Tab（全城/求购/卖房/求租/出租） ---------- */
.wt-page .indexBanner.search_area {
    background: #fff;
    height: 48px;
    line-height: 48px;
    box-shadow: 0 1px 0 rgba(31, 39, 51, .05);
    font-size: 15px;
}
.wt-page .indexBanner ul {
    width: 96%;
}
.wt-page .indexBanner ul li {
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #666;
    position: relative;
    box-sizing: border-box;
    transition: color .2s;
}
.wt-page .indexBanner ul li a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.wt-page .indexBanner ul li.hover {
    background: none;
    color: #ff6e00;
    font-weight: 600;
}
.wt-page .indexBanner ul li.hover::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5px;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ffa14d, #ff6e00);
}

/* ---------- 3. 区域 / 筛选 两个下拉按钮 ---------- */
.wt-page .search_block {
    background: #fff;
    padding: 10px 14px 12px;
    height: auto;
    line-height: 32px;
    gap: 10px;
}
.wt-page .slecctdown {
    background: #f5f6f8 url("../images/index_icon1.png") no-repeat right 12px center;
    background-size: 8px 4px;
    border-radius: 17px;
    height: 32px;
    line-height: 32px;
    width: 44%;
    text-align: center;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: background-color .15s;
}
.wt-page .slecctdown:active {
    background-color: #eceef1;
}

/* ---------- 4. VIP 提示条 ---------- */
.wt-page .wt-vip-bar {
    margin: 10px 12px 2px;
    border-radius: 10px;
    padding: 8px 14px;
    background: linear-gradient(90deg, #ff9a3c, #ff6e00);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    line-height: 22px;
    box-shadow: 0 3px 10px rgba(255, 110, 0, .22);
}
.wt-page .wt-vip-bar::before {
    content: '★';
    margin-right: 7px;
    font-size: 14px;
}
.wt-page .wt-vip-link {
    margin-left: auto;
    background: #fff;
    color: #ff6e00;
    border-radius: 12px;
    font-size: 11px;
    line-height: 22px;
    padding: 0 11px;
    flex-shrink: 0;
    text-decoration: none;
    font-weight: 500;
}

/* ---------- 5. 需求卡片 ---------- */
.wt-page .index_wt_block {
    margin-top: 0;
    padding: 0 12px 12px;
}
.wt-page .listCustomer {
    background: #fff;
    margin: 12px 0;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(31, 39, 51, .06);
    transition: transform .15s ease;
    overflow: hidden;
}
.wt-page .listCustomer:active {
    transform: scale(.985);
}
/* 头像 */
.wt-page .listCustomer span.photo {
    width: 34px;
    height: 34px;
    background-size: 28px;
    border-radius: 50%;
    background-color: #fff3e9;
}
.wt-page .listCustomer span.sex {
    width: auto;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-left: 2px;
}
/* 置顶角标 */
.wt-page .listCustomer span.is_top {
    height: 20px;
    line-height: 20px;
    width: auto;
    min-width: 40px;
    padding: 0 8px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #ff9a3c, #ff6e00);
    border-radius: 11px;
    text-align: center;
    margin-top: 7px;
    margin-left: 8px;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(255, 110, 0, .3);
}
/* 电话 / 联系按钮 */
.wt-page .top_contact_mobile,
.wt-page .top_contact {
    height: 30px;
    line-height: 30px;
    top: 2px;
    background: linear-gradient(90deg, #ff9a3c, #ff6e00) , #ff6e00;
    background-image: url("../images/wt_mobile.png"), linear-gradient(90deg, #ff9a3c, #ff6e00);
    background-repeat: no-repeat, no-repeat;
    background-position: 10px center, 0 0;
    background-size: 12px, cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(255, 110, 0, .28);
    font-size: 12px;
}
/* 卡片主体图 */
.wt-page .listBody_left img {
    width: 92px;
    height: 92px;
    border-radius: 10px;
    background: #f2f3f4;
    object-fit: cover;
    display: block;
}
.wt-page .listBody_right {
    width: calc(100% - 104px);
    margin-left: 12px;
}
/* 标题行 + 价格 */
.wt-page .body_main {
    height: 26px;
    line-height: 26px;
    font-size: 14px;
    color: #222;
}
.wt-page .body_main span.price {
    color: #ff6e00;
    font-size: 15px;
    font-weight: 700;
}
.wt-page .body_main span.type {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 明细行 */
.wt-page .listBody div.listBody_right div.detail div {
    height: 21px;
    line-height: 21px;
    font-size: 12px;
    color: #555;
    margin-top: 3px;
}
.wt-page .listBody div.listBody_right div.detail div span {
    color: #999;
}

/* ---------- 6. 空状态 ---------- */
.wt-page .wt-empty {
    text-align: center;
    padding: 60px 0 80px;
    color: #aaa;
    font-size: 13px;
}
.wt-page .wt-empty::before {
    content: '🔍';
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
    opacity: .5;
}

/* ---------- 7. 区域底部抽屉 ---------- */
.wt-page .mengcheng {
    background: rgba(17, 22, 30, .55);
}
.wt-page .select_area {
    border-radius: 16px 16px 0 0;
    padding-top: 30px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .12);
}
.wt-page .select_area::before {
    content: '';
    position: fixed;
    bottom: calc(60% - 1px);
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, .12);
    z-index: 100001;
}
.wt-page .select_area div {
    height: 44px;
    line-height: 44px;
    border-bottom: 1px solid #f2f3f5;
    font-size: 14px;
}
.wt-page .select_area div:active {
    background: #fafafa;
}

/* ---------- 8. 筛选抽屉 ---------- */
.wt-page .select_attr_area {
    border-radius: 16px 16px 0 0;
    padding: 6px 0 calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .12);
    position: fixed;
}
.wt-page .select_attr_area::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, .12);
}
.wt-page .select_title {
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 15px;
    padding: 0 15px;
}
.wt-page .select_label {
    margin: 14px 15px 4px;
    font-size: 13px;
    color: #666;
    font-weight: 600;
}
/* 房屋类型 chips */
.wt-page .xn_room_list {
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 10px;
    border: 1px solid #e8e8ea;
    border-radius: 8px;
    background: #fafafa;
    color: #555;
    transition: all .15s;
    box-sizing: border-box;
}
.wt-page .select_block1 span.hover {
    border-color: #ff6e00;
    color: #ff6e00;
    background: #fff4ea;
    font-weight: 500;
}
/* 面积 / 价格输入 */
.wt-page .select_input {
    width: 40%;
}
.wt-page .select_input input {
    width: 100%;
    box-sizing: border-box;
    height: 36px;
    background: #f5f6f8;
    border: none;
    outline: none;
    border-radius: 8px;
    text-indent: 10px;
    font-size: 13px;
}
.wt-page .select_input input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #ff6e00;
}
.wt-page .unit {
    line-height: 36px;
    color: #999;
    font-size: 12px;
}
.wt-page .select_block > span:not(.select_input):not(.unit) {
    line-height: 36px;
    color: #bbb;
}
/* 取消 / 确定 */
.wt-page .foot_btn {
    margin: 18px 15px 8px;
    gap: 10px;
}
.wt-page .cancel_btn {
    height: 42px;
    line-height: 42px;
    width: 44%;
    background: #f2f3f5;
    color: #666;
    border-radius: 21px;
    font-size: 14px;
    box-sizing: border-box;
}
.wt-page .confrim_btn {
    height: 42px;
    line-height: 42px;
    width: 44%;
    background: linear-gradient(90deg, #ff9a3c, #ff6e00);
    color: #fff;
    border-radius: 21px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(255, 110, 0, .3);
    box-sizing: border-box;
}
.wt-page .cancel_btn:active,
.wt-page .confrim_btn:active {
    opacity: .85;
}

/* ---------- 9. 底部安全区（避开全站底部导航） ---------- */
.wt-page .cl[style*="height: 60px"] {
    height: 56px !important;
}
