﻿* {
	margin: 0;
	padding: 0;
	font-family: "Microsoft YaHei", sans-serif;
}

body {
	background: #f5f5f5;
}

.detail_main {
	position: relative;
	margin: 0 auto;
	max-width: 640px;
	min-height: 100%;
	margin-bottom: 70px;
}

.xqfocusbox {
	position: relative;
	background: #f8f8f8;
            /* 确保容器占满屏幕宽度 */
	width: 100%;
	overflow: hidden;
}

.image-container {
	display: none;
 /* 默认隐藏所有图片容器 */
	width: 100%;
	position: relative;
    height: 66.5vw;
}

.image-container.active {
	display: block;
 /* 激活时显示 */
}

.image-container img {
	display: block;
	width: 100%;
	height: 100%;
                /* 添加过渡效果使切换更平滑 */
	transition: opacity 0.3s ease-in-out;
}

.xqfocusbox .b-nav {
	position: absolute;
	right: 16px;
	left: 16px;
	bottom: 10px;
	text-align: center;
	display: flex;
	justify-content: center;
	z-index: 2;
}

.xqfocusbox .b-nav-bg {
	background: rgba(135, 142, 134, 0.8);
 /* 半透明背景提升可读性 */
	height: 30px;
	border-radius: 15px;
	display: flex;
	overflow-x: auto;
	padding: 0 8px;
            /* 增加触摸区域 */
	-webkit-tap-highlight-color: transparent;
}

.xqfocusbox .b-nav a {
	display: inline-block;
	position: relative;
	margin: 4px 4px;
	height: 22px;
	line-height: 22px;
	font-size: 12px;
	color: #fff;
	padding: 0 8px;
	border-radius: 11px;
	text-decoration: none;
            /* 增加点击区域 */
	min-width: 40px;
	text-align: center;
}

.xqfocusbox .b-nav a.cur {
	background: #fff;
	color: #000;
	font-weight: bold;
}
            /* 解决移动端点击闪烁问题 */
.xqfocusbox .b-nav a:active {
	transform: scale(0.95);
}
        /* 容器样式，控制整体排版，添加阴影效果 */
.loupan_container, .info-container, .dynamic-container, .map-container,.dh-container,.yh-container,.tabdh-container {
	width: 88%;
	margin: 10px auto;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 15px;
	font-family: "Microsoft Yahei", sans-serif;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	background: #fff;
}

.title-area {
	position: relative;
	margin-bottom: 20px;
	padding-right: 100px;
}

.loupan_container .title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin: 0 0 10px 0;
	line-height: 1.2;
}

.location {
	position: absolute;
 /* 绝对定位，固定在右上角 */
	top: 0;
	right: 0px;
	background-color: #f2f7fd;
	color: #1a2127;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 14px;
	white-space: nowrap;
 /* 防止位置信息换行 */
}

        /* 标签区域样式 */
.loupan_container .tags {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 5px;
}

.loupan_container .tag {
	padding: 2px 6px;
	margin-right: 10px;
	margin-bottom: 10px;
	border-radius: 4px;
	font-size: 14px;
}

.tag-sale {
	background-color: #fdebd0;
	color: #d35400;
}

.tag-residence {
	background-color: #fdebd0;
	color: #d35400;
}

.tag-normal {
	background-color: #ecf0f1;
	color: #7f8c8d;
}

        /* 数据统计区域样式 */
.stats {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 16px;
	font-weight: bold;
	color: #e52340;
	margin-bottom: 5px;
}

.stat-desc {
	font-size: 12px;
	color: #999;
}

.info {
	
	font-size: 14px;
}

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

.info-label {
	color: #999;
    min-width: 66px;
    white-space: nowrap;
}

.info-content {
	color: #333;
	flex: 1;
 /* 占据中间空间，实现靠左显示 */
	margin: 0 10px;
 /* 与两侧保持间距 */
}

.info-link {
	color: #e75c01;
	text-decoration: none;
	font-weight: bold;
	white-space: nowrap;
 /* 确保链接不换行 */
}


        /* 标签栏样式 */
.tab-nav {
	display: flex;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

.tab-item {
	font-size: 18px;
	cursor: pointer;
}

.tab-item.active {
	color: #333;
	font-weight: bold;
}

.tab-item.inactive {
	color: #999;
}

        /* 信息列表样式 */
.info-list {
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
}

.info-item {
	display: flex;
	align-items: center;
}

.info-label {
	color: #999;
}

.info-value {
	color: #333;
}

.info-tag {
	background-color: #f5d78e;
	color: #8a5e00;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	margin-left: 5px;
}

.info-question {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #e5e5e5;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	margin-left: 5px;
	cursor: help;
}

        /* 单独信息项样式 */
.single-info {
	display: flex;
	margin-bottom: 10px;
	font-size: 14px;
}

.layout-container {
	max-width: 1000px;
	margin: 10px auto;
	padding: 0 15px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	background: #fff;
	border-radius: 10px;
	width: 88%;
}

        /* 标题区域 */
.layout-header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 20px;
	padding-top: 10px;
}

.layout-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.view-all {
	color: #666;
	text-decoration: none;
	font-size: 14px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.view-all:after {
	content: ">";
	margin-left: 5px;
}

        /* 筛选标签 */
.filter-tabs {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 10px;
	margin-bottom: 25px;
	overflow-x: auto;
	padding-bottom: 5px;
	-webkit-overflow-scrolling: touch;
 /* 平滑滚动 */
}

.filter-tab {
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 15px;
	cursor: pointer;
	white-space: nowrap;
}

.filter-tab.active {
	background-color: #ff7d00;
	color: white;
}

.filter-tab.inactive {
	background-color: #f5f5f5;
	color: #666;
}

        /* 户型滑动区域 */
.layouts-slider {
	position: relative;
	overflow: hidden;
}

.layouts-track {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 20px;
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	-webkit-transition: -webkit-transform 0.2s ease-out;
	transition: -webkit-transform 0.2s ease-out;
	-o-transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
	padding: 10px 0;
	cursor: grab;
	will-change: transform;
}

.layouts-track.grabbing {
	cursor: grabbing;
	-webkit-transition: -webkit-transform 0s;
	transition: -webkit-transform 0s;
	-o-transition: transform 0s;
	transition: transform 0s;
	transition: transform 0s, -webkit-transform 0s;
 /* 拖动时禁用过渡 */
}

        /* 户型卡片 */
.layout-card {
	min-width: calc(50% - 10px);
	max-width: calc(50% - 10px);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	background-color: white;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
/*
@media (max-width: 768px) {
	.layout-card {
		min-width: calc(80% - 10px);
		max-width: calc(80% - 10px);
		margin: 0 auto;
	}
}

@media (max-width: 480px) {
	.layout-card {
		min-width: calc(90% - 10px);
		max-width: calc(90% - 10px);
	}
}
*/
.layout-image-container {
	position: relative;
	width: 100%;
	background-color: #f9f9f9;
	padding-top: 75%;
 /* 4:3 比例 */
}

.layout-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.main-layout {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: #ff7d00;
	color: white;
	padding: 3px 10px;
	font-size: 12px;
	border-radius: 3px;
}

.layout-info {
	padding: 8px;
}

.layout-type {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	margin-bottom: 5px;
}

.layout-status {
	display: inline-block;
	background-color: #fff2e8;
	color: #ff7d00;
	padding: 2px 8px;
	font-size: 12px;
	border-radius: 3px;
	margin-left: 8px;
}

.layout-details {
	color: #666;
	font-size: 14px;
}

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

.dynamic-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.view-all {
	color: #999;
	text-decoration: none;
	font-size: 14px;
	display: flex;
	align-items: center;
}

.view-all:after {
	content: "＞";
	margin-left: 5px;
	font-size: 16px;
}

.dynamic-list {
	list-style: none;
}

.dynamic-item {
	position: relative;
	padding-left: 25px;
	margin-bottom: 25px;
}

.dynamic-item:before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 12px;
	height: 12px;
	background-color: #ff7d00;
	border-radius: 50%;
}

.dynamic-item:after {
	content: "";
	position: absolute;
	left: 5px;
	top: 17px;
	bottom: -20px;
	width: 2px;
	background-color: #eee;
}

.dynamic-item:last-child:after {
	display: none;
}

.dynamic-date {
	font-size: 16px;
	color: #333;
	margin-bottom: 10px;
}

.dynamic-tag {
	display: inline-block;
	background-color: #fff2e8;
	color: #ff7d00;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 14px;
	margin-right: 10px;
}

.dynamic-content {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

.dynamic-more {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}
        /* 标题区域 */
.map-container .header,.yh-container .header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 15px 15px 0px;
}

.map-container .title,.yh-container .title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}


        /* 地图区域 */
.map-box {
	width: 100%;
	height: 300px;
	position: relative;
}

#baidumap {
	width: 100%;
	height: 100%;
}

.btn_fixed img {
	width: 90%;
}
 .btn-group {
    display: flex;
    gap: 40px;
}

.remind-btn {
    flex: 1;
    min-width: 120px;
    height: 35px;
    line-height: 35px;
    border: none;
    border-radius: 5px;
    background-color: #f9f3ef;
    color: #e75c01;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}
.remind-btn:active {
    background-color: #f0e6e6;
}
    .customer-service {
    display: flex;
    align-items: center;
    gap: 10px;;
}
.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.phone-desc {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.phone-icon {
    width: 30px;
    height: 30px;
    margin-left:auto;                   
}
.hyyh_item {
    margin-top:10px;width:100%;height:58px; position: relative; overflow: visible; padding: 0; 
}
.hyyh_bg {
    background:url(/images/hyflbg.png) no-repeat center;width:100%;height:100%;background-size:100% 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hyyh_a{
            color: #a98c7e;
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 18px;
            border:1px solid #ddcdc5;
            text-decoration: none; background:#fef7f2;margin-right:15px;
        }
.hyyh_name {
    color: #896334;
    font-size: 15px;
    margin-left:20px;
}
  .menurow {
        display: flex;
        margin-bottom: 2.667vw;
        margin-top:10px;
    }

    .menurow .item {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        width: 18vw;
        text-decoration:none;
    }
     .menurow .icon-img-wrap {
        width: 9.6vw;
        height: 9.8vw;
        display: flex;
        justify-content: center;
    }
    .menurow .icon-img-wrap1 {
        width:9.6vw;
        height: 9.6vw;
        display: flex;
        justify-content: center;
    }

    .menurow .icon-img {
        width: 100%;
        height: auto;
    }
    .menurow .item .name {
        font-family: PingFang SC;
        text-align: center;
        width: 100%;
        font-size: 3.467vw;
        color: #222;        
        margin-top: 0.533vw;
    }