/* 搜索筛选区域 */
.search-section {
	background-color: white;
	padding: 20px 0;
	box-shadow: var(--shadow);
	margin-bottom: 30px;
	border-radius: 8px;
}

.search-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.search-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.search-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--primary-dark);
}

/* 关键词搜索框 */
.keyword-search {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}
.rent-st{
    color:red;
}
.keyword-search input {
	flex: 1;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-size: 1rem;
}

.keyword-search input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(46, 133, 64, 0.2);
}

.search-button {
	background-color: var(--accent-color);
	color: white;
	border: none;
	padding: 0 25px;
	border-radius: 4px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s;
}

.search-button:hover {
	background-color: #e55a00;
}

/* 重置按钮样式 */
.reset-button {
	background-color: #c1b7b0;
	color: white;
	border: none;
	padding: 8px 15px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
	height: 38px;
}

.reset-button:hover {
	background-color: #5a6268;
}

/* 筛选区域样式 */
.filter-container {
	background: white;
	border-radius: 4px;
	margin-bottom: 20px;
}

.filter-row {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.filter-label {
	width: 60px;
	font-size: 14px;
	color: var(--text-light);
	flex-shrink: 0;
}

.filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1;
}

.filter-option {
	padding: 6px 12px;
	background: #f5f7fa;
	border: 1px solid #e4e6f0;
	border-radius: 2px;
	font-size: 13px;
	color: var(--text-color);
	cursor: pointer;
	white-space: nowrap;
}
.filter-option:nth-child(3) {
	padding: 6px 12px;
	border-radius: 2px;
	font-size: 13px;

	cursor: pointer;
	white-space: nowrap;
}

.filter-option.active {
	background: #e1f0ff;
	border-color: #0084ff;
	color: #0084ff;
}

.input-group {
	display: flex;
	align-items: center;
	gap: 5px;
}

.range-input {
	width: 68px;
	height: 28px;
	padding: 0 8px;
	border: 1px solid #e4e6f0;
	border-radius: 2px;
	font-size: 13px;
}

.range-separator {
	color: #999;
	font-size: 13px;
}

.unit {
	color: #999;
	font-size: 13px;
	margin-left: 2px;
}

.more-selects {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.more-select {
	min-width: 100px;
	padding: 6px 12px;
	border: 1px solid #e4e6f0;
	border-radius: 2px;
	font-size: 13px;
	background-color: white;
	cursor: pointer;
}

/* 省市区下拉选择样式 */
.area-selects {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.area-select {
	min-width: 120px;
	padding: 6px 12px;
	border: 1px solid #e4e6f0;
	border-radius: 2px;
	font-size: 13px;
	background-color: white;
	cursor: pointer;
}

/* 复选框样式 */
.checkbox-option {
	display: flex;
	align-items: center;
	padding: 6px 12px;
	background: #f5f7fa;
	border: 1px solid #e4e6f0;
	border-radius: 2px;
	font-size: 13px;
	color: var(--text-color);
	cursor: pointer;
	white-space: nowrap;
}

.checkbox-option input {
	margin-right: 5px;
}

/* 二手房年限选项 */
.second-hand-options {
	display: none;
}

/* 搜索结果和排序 - 修改为右侧对齐 */
.search-result-sort {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #e4e6f0;
	margin-bottom: 20px;
}
.search-result-info {
	font-size: 16px;
	color: var(--text-color);
}

.sort-options {
	display: flex;
	gap: 20px;
}

.sort-option {
	color: var(--text-light);
	cursor: pointer;
	font-size: 14px;
}

.sort-option.active {
	color: #0084ff;
	font-weight: 500;
}

/* 推荐房产部分 */
.recommendation-section {
	padding: 40px 0;
	background-color: var(--secondary-color);
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
}

.section-title h2 {
	color: var(--primary-dark);
	font-size: 2.2rem;
	margin-bottom: 15px;
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
}

.section-title h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--primary-color);
	border-radius: 3px;
}

.section-title p {
	color: var(--text-light);
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.1rem;
}

/* 房产网格布局 */
.property-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.property-grid:last-child {
	margin-bottom: 0;
}

/* 房产卡片样式 */
.property-card {
	background-color: white;
	border-radius: 8px;
	overflow: hidden; 
	box-shadow: var(--shadow);
	transition: all 0.3s;
	display: flex;
	height: 140px;
	position: relative;
	cursor: pointer;
}
/* 角标基础样式 */
/*.badge {*/
/*	position: absolute;*/
/*	top: -8px;*/
/*	right: -12px;*/
/*	background-color: var(--accent-color);*/
/*	color: white;*/
/*	border-radius: 50%;*/
/*	width: 22px;*/
/*	height: 22px;*/
/*	display: flex;*/
/*	align-items: center;*/
/*	justify-content: center;*/
/*	font-size: 12px;*/
/*	font-weight: bold;*/
/*}*/
/* 修改后的双折角丝带样式 */
.ribbon {
	position: absolute;
	top: 10px;
	right: -54px;
	width: 150px;
	height: 28px;
	background: #babd25;
	text-align: center;
	transform: rotate(45deg);
	box-shadow: 0 5px 15px rgba(0,0,0,0.15);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 双折角效果 */
.ribbon::before,
.ribbon::after {
	content: '';
	position: absolute;
	height: 0;
	width: 0;
}

.ribbon::before {
	top: 0;
	left: -14px;
	border-right: 14px solid #8f921c;
	border-top: 14px solid transparent;
}

.ribbon::after {
	bottom: 0;
	right: -14px;
	border-left: 14px solid #8f921c;
	border-bottom: 14px solid transparent;
}

.property-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-img {
	width: 40%;
	height: 100%;
	overflow: hidden;
	position: relative;
	flex-shrink: 0;
}

.property-img img {
	width: 80%;
	height: 60%;
	object-fit: cover;
	transition: transform 0.5s;
	margin-top: 25px;
	margin-left: 15px;
	border-radius: 5px;
}

.property-card:hover .property-img img {
	transform: scale(1.05);
}

.property-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: var(--primary-color);
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 500;
	z-index: 2;
}

.property-info {
	padding: 12px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.property-info h3 {
	margin-top: 8px;
	color: var(--primary-dark);
	font-size: 0.95rem;
	line-height: 1.3;
	height: 2.4em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.property-details {
	margin-bottom: 0px;
}

.property-detail-row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 3px;
	font-size: 0.8rem;
}

.buy-st {
	color: var(--accent-color);
}

.detail-item {
	margin-right: 5px;
	color: var(--text-light);
	display: flex;
	align-items: center;
	margin-bottom: 2px;
	position: relative;
	padding-right: 8px;
}

.detail-item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 10px;
	width: 1px;
	background-color: var(--border-color);
}

.property-price {
	color: var(--primary-color);
	font-weight: bold;
	font-size: 0.95rem;
	margin: 5px 0;
}

.property-price .original {
	text-decoration: line-through;
	color: var(--text-light);
	font-size: 0.8rem;
	margin-right: 5px;
}

.property-action {
	display: flex;
	justify-content: space-between;
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px solid var(--border-color);
}

.view-details {
	color: var(--primary-color);
	font-weight: 500;
	display: flex;
	align-items: center;
	font-size: 0.8rem;
	cursor: pointer;
}

.view-details i {
	margin-left: 3px;
	transition: transform 0.3s;
	font-size: 0.8rem;
}

.view-details:hover i {
	transform: translateX(3px);
}

.wishlist-btn {
	color: #ccc;
	cursor: pointer;
	transition: color 0.3s;
	z-index: 3;
	position: relative;
}

.wishlist-btn:hover, .wishlist-btn.active {
	color: #e74c3c;
}

/* 分页控件 - 已修改 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
	gap: 10px;
}

.pagination-item {
	width: 60px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
}

.pagination-item:hover, .pagination-item.active {
	background-color: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

.page-input {
	width: 60px;
	height: 40px;
	text-align: center;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-size: 16px;
}

.go-button {
	width: 60px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
}

.go-button:hover {
	background-color: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

.page-info {
	padding: 0 10px;
	font-size: 16px;
}


/* 房源详情内容 */
.container-detail {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}
.property-detail-section {
	padding: 30px;
	background-color: white;
	border-radius: 12px;
	box-shadow: var(--shadow);
	/* margin: 20px 0; */
	position: relative;
	overflow: hidden; 
}

.property-header {
	margin-bottom: 10px;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 5px;
}

.property-title {
	font-size: 24px;
	color: var(--primary-dark);
	margin-bottom: 8px;
	line-height: 1.3;
}


.property-content { 
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 30px;
}

.property-gallery {
	margin-bottom: 30px;
	border-radius: 12px;
	overflow: hidden;
}

.main-image {
	width: 100%;
	height: 400px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 12px;
	position: relative;
}

.main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.main-image:hover img {
	transform: scale(1.02);
}

.thumbnail-container {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.thumbnail {
	height: 80px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	transition: all 0.3s;
}

.thumbnail:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2);
	opacity: 0;
	transition: opacity 0.3s;
}

.thumbnail:hover:after {
	opacity: 1;
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumbnail.active {
	border: 2px solid var(--primary-color);
}

.property-description {
	margin-bottom: 30px;
	padding: 20px;
	background: var(--secondary-color);
	border-radius: 10px;
	box-shadow: var(--shadow);
}

.property-description h3 {
	margin-bottom: 15px;
	color: var(--primary-dark);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border-color);
	font-size: 18px;
}

.description-content {
	line-height: 1.7;
	color: var(--text-light);
	font-size: 14px;
}

.description-content p {
	margin-bottom: 12px;
}

.property-location {
	margin-bottom: 30px;
	padding: 20px;
	background: var(--secondary-color);
	border-radius: 10px;
	box-shadow: var(--shadow);
}

.property-location h3 {
	margin-bottom: 15px;
	color: var(--primary-dark);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border-color);
	font-size: 18px;
}


.map-container {
	height: 300px;
	background-color: #e9ecef;
	border-radius: 10px;
	margin-top: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-light);
	font-size: 16px;
	box-shadow: var(--shadow);
}

/* 新增样式 */
.price-display {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
}

.price-main {
	font-size: 28px;
	font-weight: bold;
	/*color: var(--accent-color);*/
	color:#ff0000;
}

.price-unit {
	font-size: 18px;
	color:#ff0000;
}

.price-original {
	font-size: 18px;
	color: var(--text-light);
	text-decoration: line-through;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.info-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px dashed var(--border-color);
}

.info-label {
	color: var(--text-light);
	font-size: 14px;
}

.info-value {
	font-weight: 600;
	color: var(--primary-dark);
	font-size: 14px;
}

.action-stats {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
	padding-top: 12px;
	border-top: 1px solid var(--border-color);
}

.stats-item {
	display: flex;
	align-items: center;
	color: var(--text-light);
	margin-bottom: 8px;
	font-size: 14px;
}

.stats-item i {
	margin-right: 4px;
	color: var(--primary-color);
	font-size: 14px;
}

/* 调整左侧布局 */
.property-left {
	padding-right: 20px;
	position: relative;
}

.property-right {
	padding-left: 20px;
	border-left: 1px solid var(--border-color);
}

/* 卫生间列表样式 */
.bathroom-list {
	list-style: none;
	margin-top: 12px;
	padding: 0;
}

.bathroom-list li {
	padding: 6px 0;
	border-bottom: 1px dashed var(--border-color);
	display: flex;
	align-items: center;
	font-size: 14px;
}

.bathroom-list li:before {
	content: "•";
	color: var(--primary-color);
	font-weight: bold;
	margin-right: 8px;
	font-size: 18px;
}

.bathroom-list li:last-child {
	border-bottom: none;
}

/* 调整按钮区域 */
.action-section {
	margin: 20px 0;
	padding: 20px;
	background: var(--secondary-color);
	border-radius: 10px;
	box-shadow: var(--shadow);
}

.action-title {
	font-size: 18px;
	margin-bottom: 15px;
	color: var(--primary-dark);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border-color);
}

.combined-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.combined-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.combined-buttons .btn {
	width: 100%;
	justify-content: center;
}

.combined-stats {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

.combined-stats .stats-item {
	display: flex;
	align-items: center;
	font-size: 14px;
}

.combined-stats .stats-item i {
	margin-right: 8px;
	font-size: 16px;
}

/* 更新后的发布人头部样式 */
.publisher-header-updated {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border-color);
}

.publisher-contact-btn {
	background-color: var(--accent-color);
	color: white;
	padding: 8px 16px;
	border-radius: 6px;
	border: none;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	font-size: 14px;
	margin-left: 15px;
}

.publisher-contact-btn i {
	margin-right: 6px;
}

.publisher-contact-btn:hover {
	background-color: #e55a00;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 新添加的发布人信息样式 */
.publisher-mini-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	/*padding: 12px;*/
	background: var(--secondary-color);
	border-radius: 6px;
	font-size: 14px;
}

.publisher-mini-name {
	font-weight: 600;
	font-size: 14px;
}

.publish-time {
    margin-top: 25px;
    margin-left: 10px;
	color: var(--text-light);
	font-size: 13px;
}
/* 面包屑导航 */
.breadcrumb {
	padding: 15px 0 5px;
	font-size: 14px;
	color: #666;
}

.breadcrumb a {
	color: #2e8540;
}

.breadcrumb a:hover {
	text-decoration: underline;
}
/* 房源信息和位置信息全宽样式 */
.full-width-section {
	grid-column: 1 / -1;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

/* 次要操作按钮区域 */
.secondary-actions {
	position: absolute;
	top: 32px;
	right: 90px;
	display: flex;
	gap: 8px;
	z-index: 10;
}

/* 新增：图标按钮样式 */
.icon-buttons-container {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 15px;
}

.icon-btn {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 16px;
}

.favorite-btn {
	background-color: var(--secondary-color);
	color: var(--text-color);
	border: 1px solid var(--border-color);
}

.favorite-btn:hover, .favorite-btn.active {
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.favorite-btn.active i {
	color: #ffc107;
}

.report-btn {
	background: none;
	border: none;
	color: var(--text-light);
}

.report-btn:hover {
	color: var(--accent-color);
}

/* 新增样式：信息分组 */
.info-group {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border-color);
}

.info-group-title {
	font-size: 16px;
	color: var(--primary-dark);
	margin-bottom: 12px;
	font-weight: 600;
}

.info-row {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 10px;
	align-items: center;
}

.info-tag {
	background: var(--secondary-color);
	padding: 6px 12px;
	border-radius: 15px;
	font-size: 14px;
	color: var(--text-light);
}

.info-tag strong {
	color: var(--primary-dark);
	margin-right: 4px;
}

/* 新增样式：按钮和统计信息并排 */
.buy-action-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
}

.buy-btn {
	background-color: var(--accent-color);
	color: white;
	padding: 12px 24px;
	border-radius: 6px;
	border: none;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	font-size: 16px;
}

.buy-btn i {
	margin-right: 8px;
}

.buy-btn:hover {
	background-color: #e55a00;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.action-stats-row {
	display: flex;
	gap: 20px;
}

.action-stat {
	display: flex;
	align-items: center;
	color: var(--text-light);
	font-size: 14px;
}

.action-stat i {
	margin-right: 6px;
	color: var(--primary-color);
}
/* 详情角标基础样式 */
.badge-detail {
	position: absolute;
	padding: 5px -6px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	border-radius: 3px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.ribbon-detail {
	width: 150px;
	background: #acaf25;
	text-align: center;
	transform: rotate(45deg);
	position: absolute;
	top: 24px;
	right: -34px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}


