﻿* {
	margin: 0;
	padding: 0;
	font-family: "Microsoft YaHei", sans-serif;
}

body {
	background-color: #f6f4f5;
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 750px;
	margin: 0 auto;
	background: #fff;
	position: relative;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    z-index: 999;
}
.scroll-content {
    padding-top: 50px; 
}
        /* 顶部筛选栏 */
.filter-bar {
	display: flex;
	position: sticky;
	top: 0;
	background: white;
	z-index: 100;
}

.filter-item {
	flex: 1;
	padding: 15px 0;
	text-align: center;
	font-size: 14px;
	color: #333;
	position: relative;
	cursor: pointer;
}

.filter-item.active {
	color: #ff6b00;
	font-weight: bold;
}

.filter-item span:after, .popup-filter-item span:after {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 4px 5px 4px;
	border-color: #e1e1e1 transparent transparent transparent;
	margin-left: 5px;
	top: 50%;
	margin-top: -3px;
}

        /* 弹出层顶部筛选栏 */
.popup-filter-bar {
	display: flex;
	background: white;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	z-index: 101;
}

.popup-filter-item {
	flex: 1;
	padding: 15px 0;
	text-align: center;
	font-size: 14px;
	color: #333;
	position: relative;
	cursor: pointer;
}

.popup-filter-item.active {
	color: #ff6b00;
	font-weight: bold;
}

.popup-filter-item.active span:after {
	top: 40%;
	border-color: transparent transparent #ff6b00 transparent;
}


        /* 筛选面板样式 */
.filter-panel {
	background: #fff;
	box-sizing: border-box;
	height: 18.093333rem;
}

.filter-title {
	font-size: 16px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

        /* 区域选择容器 - 左右分栏布局 */
.area-select-container {
	display: flex;
	height: 18.093333rem;
}

        /* 区县列表容器 */
.district-list-container {
	width: 50%;
	border-right: 1px solid #eee;
	overflow-y: auto;
}

        /* 片区列表容器 */
.subarea-list-container {
	width: 50%;
	overflow-y: auto;
	padding-left: 5px;
}

.qt-list-container {
	width: 100%;
	overflow-y: auto;
}

.area-list {
}

.area-item {
	padding: 5px;
	box-sizing: border-box;
}

.area-btn {
	display: block;
	width: 100%;
	text-align: center;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.area-btn.active, .area-btn:hover {
	color: #ff6b00;
	background-color: #fff8f0;
}

        /* 加载状态样式 */
.loading-tip {
	text-align: center;
	padding: 30px 0;
	color: #999;
	font-size: 14px;
}

.loading-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255,107,0,0.3);
	border-radius: 50%;
	border-top-color: #ff6b00;
	animation: spin 1s ease-in-out infinite;
	margin-right: 8px;
	vertical-align: middle;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

        /* 空状态提示 */
.empty-tip {
	text-align: center;
	padding: 10px 0;
	color: #999;
	font-size: 14px;
}

        /* 错误状态提示 */
.error-tip {
	text-align: center;
	padding: 30px 0;
	color: #ff4444;
	font-size: 14px;
}

.price-range {
	display: flex;
	align-items: center;
	padding: 10px;
	border-top: 1px solid #eee;
}

.price-input {
	flex: 1;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	width: 5rem;
}

.price-separator {
	margin: 0 10px;
}

.filter-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.filter-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.btn-reset {
	background: #f8f8f8;
	color: #666;
	border: 1px solid #ddd;
}

.btn-confirm {
	background: #ff6b00;
	color: white;
	margin-left: 10px;
}

        /* 已选条件显示区 */
.selected-filters {
	padding: 0px 15px;
	background: #fff;
	border-bottom: 1px solid #eee;
	display: flex;
	flex-wrap: wrap;
}

.selected-filter-item {
	padding: 5px 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	margin-right: 10px;
	margin-bottom: 5px;
	font-size: 12px;
	display: flex;
	align-items: center;
}

.selected-filter-item .close {
	margin-left: 5px;
	cursor: pointer;
	color: #999;
}

.selected-filter-item .close:hover {
	color: #ff6b00;
}

        /* 响应式设计 */
@media (max-width: 480px) {
	.filter-item, .popup-filter-item {
		font-size: 13px;
		padding: 12px 0;
	}
}

        /* 选项卡样式 */
.tab-container {
	margin-bottom: 15px;
	display: flex;
	border-bottom: 1px solid #ebebeb;
	border-top: 1px solid #ebebeb;
	height: 18.093333rem;
}

.tab-header {
	background-color: #f2f2f2;
	border-right: 1px solid #ebebeb;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.tab-item {
	padding: 10px 15px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
}

.tab-item.active {
	border-bottom-color: #ff6b00;
	color: #ff6b00;
}

.tab-content {
	-webkit-box-flex: 1;
	box-sizing: border-box;
	flex: 1;
	overflow: scroll;
	font-size: 14px;
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
}

        /* 弹窗内容区域 */
.popup-content {
	
}

 .ConfirmContainer {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 60px;
	padding: 0rem 0.426667rem;
	display: flex;
	align-items: center;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid #eee;
    z-index:99999;
}

.ConfirmContainer .commonConfirm {
	display: flex;
	height: 2.36rem;
	width: 100%;
}

.ConfirmContainer .commonConfirm .reset {
	background-color: #f2f2f2;
	color: #666;
	height: 2.36rem;
	line-height: 2.36rem;
	text-align: center;
	width: 6.346667rem;
	border-radius: 4px;
	cursor: pointer;
}

.ConfirmContainer .commonConfirm .confirm {
	-webkit-box-flex: 1;
	background-color: #ff6b00;
	color: #fff;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	height: 2.36rem;
	line-height: 2.36rem;
	margin-left: 0.426667rem;
	text-align: center;
	border-radius: 4px;
	cursor: pointer;
}
        /* 户型列表样式优化 */
.type-list,.more-list {
	display: flex;
	flex-wrap: wrap;
}

.type-item,.more-item {
	width: 32%;
	padding: 10px;
	box-sizing: border-box;
}

.type-btn,.more-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 5px 0;
	border-radius: 4px;
	background-color: #f2f2f2;
	color: #333;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid transparent;
}

.type-btn.active,.more-btn.active {
	background-color: #ff6b00;
	color: #fff;
	border-color: #ff6b00;
}

.property-card {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 10px;
    margin-bottom: 15px;
}

.card-img {
    width: 35%;
    height: 140px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.card-info {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.tag-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
}

.sale-tag {
    background-color: #f37a20;
    color: #fff;
    padding: 0px 1px;
    border-radius: 3px;
    font-size: 12px;
}

.property-name {
    font-size: 14px;
    font-weight: bold;
    color: #353434;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    line-height: 1.3;
}

.property-type {
    color: #666;
    padding: 0px 3px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid #e4e4e4;
}

.property-desc {
    font-size: 12px;
    color: #353434;
    line-height: 1.4;
}

.tag-group {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 3px 0;
}

.property-card .tag {
	background-color: #f5f5f5;
	color: #666;
	padding: 2px 5px;
	border-radius: 3px;
	font-size: 12px;
}

.property-card .price {
    font-size: 14px;
    color: #E5231B;
    font-weight:bold;
}

@media (max-width:768px) {
    .property-card {
        flex-direction: row;
        min-width: 0;
    }

    .card-img {
        width: 35%;
        height: auto;
        height: 140px;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        border-top-right-radius: 0;
    }

    .card-info {
        width: 65%;
        padding: 10px;
    }

    .property-name {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .property-desc {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .property-card .price {
        font-size: 14px;
        font-weight:bold;
    }
}

.item_tag .sale-tag.tag-0 {
	background:#f9f6ef;
	color:#ff5f49;
    border-radius:3px;
}
.item_tag .sale-tag.tag-1 {
	background:#ffe4cc;
	color:#ef6100;
    border-radius:3px;
}
.item_tag .sale-tag.tag-2 {
	background:#ebecff;
	color:#541b86;
    border-radius:3px;
}
.item_tag .sale-tag {
	font-size:11px;
	height:15px;
	line-height:15px;
	text-align:center;
	width:18px;
}
.item_tag .tagtext {
	font-size:11px;
	color:#936531;
	margin-left:3px
}