@charset "UTF-8";
/* 房源详情 */

:root {
    --brand-blue: #0066cc;
    --brand-blue-dark: #0052a3;
    --brand-red: #ff4d4f;
    --text-main: #333;
    --text-muted: #666;
    --text-light: #999;
    --bg-light: #f8fafc;
    --border-color: #eee;
    --card-radius: 0.5rem;
    --sticky-top: 100px;
}

/* 修复 nav.css 中 html/body 的 overflow-x: hidden 导致 position: sticky 失效的问题 */
html, body {
    overflow-x: visible;
}

/* Banner */
.property-hero {
    background: url('../images/yezhuzhizu_banner.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 8rem 0;
    position: relative;
    background-color: var(--brand-blue);
    margin-top: 80px;
}

.property-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 99, 0.7);
    z-index: 1;
}

.property-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 80%;
}

.property-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.property-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* 通用 */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.8rem;
    width: 3rem;
    height: 0.25rem;
    background-color: var(--brand-blue);
    transform: translateX(-50%);
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

/* 上部左右布局：左侧滚动内容 + 右侧粘性信息卡 */
.property-main {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* 左侧滚动容器 */
.property-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 左侧图库 */
.property-gallery {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.gallery-main {
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.gallery-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
}

.gallery-thumbs {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.gallery-thumbs-track {
    display: flex;
    gap: 0.8rem;
    transition: transform 0.3s ease;
}

.gallery-thumb {
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}

.thumb-nav {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.thumb-nav:hover {
    background: rgba(0,0,0,0.7);
}

.thumb-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

.property-video {
    margin-top: 2rem;
    padding: 0 1rem 1rem;
}

.property-video h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.video-wrapper {
    width: 100%;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* 右侧粘性容器 */
.property-info-wrapper {
    position: relative;
}

/* 粘性卡片 */
.sticky-card {
    position: sticky;
    top: var(--sticky-top);
    align-self: start;
    background: #fff;
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    height: auto;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.page-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
    color: #0066cc;
}

.page-breadcrumb .breadcrumb-sep {
    color: #ccc;
    font-size: 0.8rem;
}

.page-breadcrumb .current {
    color: #999;
}

.property-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.property-gallery-title {
    font-size: 1.8rem;
    color: #222;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    flex: 1;
}

.property-title-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.title-action {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.title-action:hover {
    color: var(--brand-blue);
}

.action-sep {
    color: #ddd;
    font-size: 0.8rem;
    user-select: none;
}

.property-name {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.property-price-large {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.property-price-large .price-num {
    font-size: 2.2rem;
    color: var(--brand-red);
    font-weight: 700;
    line-height: 1;
}

.property-price-large .price-unit {
    font-size: 0.9rem;
    color: var(--brand-red);
    font-weight: 400;
    margin-left: 0.1rem;
}

.property-price-large .payment-method {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 0.4rem;
}

/* 信息列表 - 双列 */
.info-list {
    margin-bottom: 1.8rem;
}

.info-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-grid-2 .info-item {
    padding: 0.75rem 0;
}

.info-label {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.info-value {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}

/* 位置链接 */
.property-location {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.location-label {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
}

.location-link {
    color: var(--brand-blue);
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.5;
    word-break: break-all;
}

.location-link:hover {
    text-decoration: underline;
}

/* 分享与收藏 */
.property-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.action-btn {
    flex: 1;
    min-width: 60px;
    text-align: center;
    padding: 0.55rem 0.4rem;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.action-wechat { background: #07c160; }
.action-weibo { background: #e6162d; }
.action-email { background: #5a9bd5; }
.action-favorite { background: #ff9800; }

/* 平面图 */
.property-floorplan {
    margin-bottom: 1.8rem;
}

.property-floorplan h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.property-floorplan img {
    width: 100%;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.property-floorplan img:hover {
    transform: scale(1.01);
}

/* 平面图独立灯箱：无翻页与计数器 */
.floorplan-lightbox .lightbox-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.floorplan-lightbox .lightbox-inner img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    padding: 4px;
}

/* 咨询按钮 */
.consult-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--brand-blue);
    color: #fff;
    padding: 1rem 0;
    border-radius: 0.4rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.consult-btn:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,102,204,0.25);
}

/* 房源描述：仅占左侧栏 */
.property-description-section {
    background: #fff;
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.property-description-section .section-title {
    margin-bottom: 2rem;
}

/* 房源介绍 */
.property-introduction-section {
    background: #fff;
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.property-introduction-section .section-title {
    margin-bottom: 1.5rem;
}

.introduction-content {
    line-height: 1.9;
    color: var(--text-muted);
    font-size: 1rem;
}

.introduction-content p {
    margin: 0 0 0.8rem 0;
}

.introduction-content img {
    max-width: 100%;
    height: auto;
}

.desc-block {
    margin-bottom: 2rem;
}

.desc-block:last-child {
    margin-bottom: 0;
}

.desc-subtitle {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    padding-left: 0.8rem;
    border-left: 4px solid var(--brand-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.desc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,102,204,0.1);
    color: var(--brand-blue);
    font-size: 0.85rem;
    margin-right: 0.6rem;
    font-style: normal;
}

.desc-content {
    line-height: 1.9;
    color: var(--text-muted);
    font-size: 1rem;
}

.desc-content p {
    margin: 0 0 0.8rem 0;
}

.desc-content img {
    max-width: 100%;
    height: auto;
}

/* 房源信息（图片全览）：仅占左侧栏 */
.property-images-section {
    background: #fff;
}

.property-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.property-image-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
}

.property-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-image-item:hover img {
    transform: scale(1.06);
}

/* 灯箱 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-inner {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255,255,255,0.28);
    transform: scale(1.05);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    background: rgba(0,0,0,0.5);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

/* 分享弹窗 */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal.active {
    display: flex;
    opacity: 1;
}

.share-modal-inner {
    position: relative;
    background: #fff;
    border-radius: var(--card-radius);
    padding: 2rem 2.5rem;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.share-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.share-modal-close:hover {
    color: var(--text-main);
}

.share-modal-title {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s ease;
    cursor: pointer;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
}

.share-option:hover {
    transform: translateY(-4px);
    background: #f8f9fa;
}

.share-qr-wrap {
    width: 90px;
    height: 90px;
    border-radius: 0.35rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-qr-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.share-icon {
    width: 90px;
    height: 90px;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.share-icon-wechat { background: #07c160; }
.share-icon-weibo { background: #e6162d; }
.share-icon-qzone { background: #ffc400; color: #333; }
.share-icon-email { background: #5a9bd5; }

.share-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: center;
}

/* 其他房源：仅占左侧栏 */
.other-properties-section {
    background: #fff;
    margin-top: 3rem;
}

.other-property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.other-property-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.other-property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.other-property-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.other-property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.other-property-content {
    padding: 1.2rem;
}

.other-property-title {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.other-property-meta span:first-child {
    color: var(--text-light);
}

.other-property-price {
    color: var(--brand-red);
    font-weight: 700;
}

/* 响应式 */
@media (max-width: 1200px) {
    .other-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .property-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .property-info-wrapper {
        position: static;
    }

    .sticky-card {
        position: static;
        top: auto;
    }

    .gallery-main {
        height: 360px;
    }

    .property-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .other-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-hero .hero-title {
        font-size: 2rem;
    }

    .property-hero {
        padding: 6rem 0;
    }

    .property-price-large .price-num {
        font-size: 1.9rem;
    }
}

@media (max-width: 576px) {
    .property-left {
        gap: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .container {
        width: 92%;
    }

    .property-hero {
        padding: 5rem 0;
        margin-top: 70px;
    }

    .property-hero .hero-title {
        font-size: 1.6rem;
    }

    .property-hero p {
        font-size: 1rem;
    }

    .gallery-main {
        height: 240px;
    }

    .gallery-thumbs-wrap {
        gap: 0.35rem;
        padding: 0.75rem;
    }

    .gallery-thumbs-track {
        gap: 0.5rem;
    }

    .gallery-thumb {
        width: 72px;
        height: 54px;
    }

    .thumb-nav {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .sticky-card {
        padding: 1.25rem;
    }

    .property-name {
        font-size: 1.25rem;
    }

    .property-title-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .property-gallery-title {
        font-size: 1.35rem;
    }

    .property-title-actions {
        margin-top: 0;
    }

    .property-price-large .price-num {
        font-size: 1.8rem;
    }

    .property-price-large .price-unit {
        font-size: 0.8rem;
    }

    .property-price-large .payment-method {
        font-size: 0.8rem;
    }

    .info-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .info-grid-2 .info-item {
        padding: 0.6rem 0;
    }

    .info-label,
    .info-value {
        font-size: 0.85rem;
    }

    .property-description-section {
        padding: 1.25rem;
    }

    .desc-subtitle {
        font-size: 1rem;
    }

    .desc-content {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .property-image-grid,
    .other-property-grid {
        grid-template-columns: 1fr;
    }

    .other-property-content {
        padding: 0.9rem;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .share-modal-inner {
        padding: 1.5rem;
    }

    .share-options {
        gap: 1.25rem;
    }

    .share-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}

/* ========== 周边配套：百度地图 ========== */
.property-map-section {
    background: #fff;
    padding: 4rem 0;
}

.property-map-section .section-title {
    margin-bottom: 1.5rem;
}

.map-address-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    border-radius: var(--card-radius);
}

.map-address-bar span:first-child {
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230066cc"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>') no-repeat center center;
    background-size: contain;
    display: inline-block;
    margin-right: 0.25rem;
}

.map-address-link {
    margin-left: auto;
    color: var(--brand-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.map-address-link:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

.map-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.map-tab {
    padding: 0.5rem 1.1rem;
    border-radius: 2rem;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.map-tab:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.map-tab.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.map-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.map-container {
    min-height: 450px;
    height: 450px;
    background: #f5f5f5;
}

.map-container .BMap_mask,
.map-container .BMap_cpyCtrl,
.map-container .anchorBL {
    display: none !important;
}

.custom-map-container {
    min-height: 450px;
    height: 450px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.custom-map-container iframe,
.custom-map-container > div:first-child {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-poi-panel {
    padding: 1.25rem;
    overflow-y: auto;
    max-height: 450px;
    background: #fff;
    border-left: 1px solid var(--border-color);
}

.map-poi-empty {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    padding: 3rem 1rem;
}

.map-poi-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.map-poi-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.map-poi-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.2s ease;
}

.map-poi-item:last-child {
    border-bottom: none;
}

.map-poi-item:hover {
    background: #f8fafc;
}

.map-poi-index {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.map-poi-info {
    flex: 1;
    min-width: 0;
}

.map-poi-name {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-poi-address {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.map-poi-distance {
    font-size: 0.8rem;
    color: var(--brand-blue);
    margin-top: 0.3rem;
}

@media (max-width: 992px) {
    .map-layout {
        grid-template-columns: 1fr;
    }

    .map-poi-panel {
        border-left: none;
        border-top: 1px solid var(--border-color);
        max-height: 300px;
    }

    .map-container {
        height: 360px;
        min-height: 360px;
    }

    .custom-map-container {
        height: 360px;
        min-height: 360px;
    }

    .map-address-link {
        margin-left: 0;
        width: 100%;
        margin-top: 0.25rem;
    }
}

@media (max-width: 576px) {
    .property-map-section {
        padding: 2rem 0;
    }

    .map-category-tabs {
        gap: 0.5rem;
    }

    .map-tab {
        padding: 0.4rem 0.85rem;
        font-size: 0.85rem;
    }

    .map-container {
        height: 280px;
        min-height: 280px;
    }

    .custom-map-container {
        height: 280px;
        min-height: 280px;
    }

    .map-poi-panel {
        max-height: 260px;
        padding: 1rem;
    }
}
