
.property-price {
    color: var(--custom-primary);
    font-size: 1.8rem;
    font-weight: bold;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.thumbnail {
    width: 100%;
    height: 4.31rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border:2px solid #fff;
    box-sizing:border-box;
}

.thumbnail.active {
    border: 2px solid var(--custom-primary);
}
.btn_img_a{
    width: 1.44rem;
    height: 4.31rem;
    background: #4A4A4A;
    border-radius: 0rem 0rem 0rem 0rem;
    cursor: pointer;
    justify-content: center;
}

.info-table th {
    width: 30%;
    background-color: #f8f9fa;
}

.info-table td, .info-table th {
    padding: 0.8rem;
    border: 1px solid #eee;
}

.highlight {
    color: var(--custom-primary);
    font-weight: bold;
}
.property{
    height:450px;
    overflow:hidden;
}
.property video,
.property img{
    width:100%;
    height:450px;
}
/*图右*/
.price {
    font-size: 36px;
    color: #e63946;
    font-weight: bold;
}

.price-unit {
    font-size: 16px;
    color: #666;
    margin-left: 5px;
}

.remind-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    float: right;
    margin-top: 10px;
}

.consult-link {
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin: 15px 0;
}

.info-item {
    margin: 10px 0;
    display: flex;
    gap: 10px;
}

.info-label {
    display: inline-block;
    color: #b1b1b1;
}

.info-content {
    display: inline-block;
}

.more-info-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    display: block;
    width: 200px;
    margin: 20px auto;
    text-align: center;
}


.agent-avatar{
    width:70px;
    height:70px;
}

.agent-star {
    color: #ffc107;
    font-size: 16px;
    margin-left: 5px;
}

.agent-status {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.agent-phone {
    margin: 5px 0;
}

.qr-code_jjr {
    width: 100px;
    height: 100px;
}

.qr-code-desc {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.map-container {
    height: 400px;
    background-color: #f0f0f0;
    position: relative;
}

.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    color: white;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}

.marker-text {
    position: absolute;
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}
.property-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.info-item-1 {
    text-align: center;
}

.info-item-1 .title-1 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.info-item-1 .desc {
    font-size: 12px;
    color: #666;
}

/*主图*/
/* === 悬浮遮罩层 === */
.media-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
    overflow: hidden;
}

/* === 模态框主体 === */
.media-viewer-modal {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* === 主媒体区 === */
.media-viewer-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-viewer-main .main-image, .media-viewer-main .main-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#mediaContent {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === 导航按钮 === */
.media-viewer-nav {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: opacity 0.2s;
}

.media-viewer-nav:hover {
    opacity: 0.9;
}

.media-viewer-nav.left {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.media-viewer-nav.right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* === 关闭按钮 === */
.media-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.media-viewer-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* === 计数器 === */
.media-viewer-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 8;
}

/* === 缩略图容器 === */
.media-viewer-thumbs {
    /*height: 100px;*/
    background: #111;
    padding: 1rem 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #444 #111;
}

/* === 单个缩略图 === */
.thumb-item {
    display: inline-block;
    width: 90px;
    height: 80px;
    margin: 0 6px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}

.thumb-item:hover {
    transform: scale(1.05);
}

.thumb-item.active {
    border-color: #0d6efd;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
    z-index: 2;
}
/*地图*/
.map-wrap {
    position: relative;
    overflow: hidden;
}
.map-left{
    width:100%;
    min-height: 30rem;
}
.map-wrap ul{overflow:hidden}



.tabs-title {
    overflow: auto;
    display: flex;
    gap:0.5rem;
}

.tabs-title li {
    display: flex;
    align-items: center;
    padding: 0.25rem 1rem;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    border:1px solid #ccc;
    border-radius:2rem;
    transition: all 0.3s ease;
}
.tabs-title li i {
    display: inline-block;
    margin-right: 3px;
    font-size:20px;
}
.tabs-title li:hover {
    border-color:var(--custom-primary);
    color:var(--custom-primary);
}
.tabs-title li.select {
    background:var(--custom-primary);
    color: #fff;
}
.map_result {
    position: absolute;
    top: 5.2rem;
    left:0.75rem;
    bottom: 0.75rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border-radius:1rem;
    width:300px;
    padding:1rem;
    box-sizing: border-box;
    box-shadow: 0 .5rem 1rem rgba(var(--bs-body-color-rgb), .15) ;
}

.map_result li {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size:0.85rem;
    position:relative;
    cursor: pointer;
    border-bottom:1px solid #f3f3f3;
    padding:0.5rem 0;
}
.map_result li:hover ._m_title,
.map_result li.selected ._m_title{
    font-weight: bolder;
    color: var(--custom-primary);
}

._m_right{
    text-align: right;
}
._m_dis{
    font-size:0.75rem
}
._m_title{
    font-weight: bold;
}

._m_time{
    display: flex;
    align-items: center;
    justify-content: end;
}
/*放大镜预览 start*/
.magnifier-lens {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.1s ease; /* 添加transform过渡 */
    z-index: 15;
    backdrop-filter: blur(2px);
    /* 硬件加速 */
    transform: translateZ(0);
    will-change: transform, opacity;
}

.magnifier-preview {
    position: absolute;
    width: 300px;
    height: 200px;
    border: 2px solid #ddd;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.1s ease; /* 平滑过渡 */
    z-index: 10;
    border-radius: 6px;
    pointer-events: none;
    /* 硬件加速 */
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* 流畅的进入动画 */
.carousel-item:hover .magnifier-lens,
.carousel-item:hover .magnifier-preview {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.15s ease;
}
/*放大镜预览 end*/
