/* --- SECTION: FLOOR PLAN --- */
.section-floor-plan {
    --section-spacing-y: 0;
    background: #f1f5f9;
    position: relative;
    scroll-margin-top: 24px;
    display: block;
}

.section-floor-plan-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 0;
}

@media screen and (min-width: 992px) {
    .section-floor-plan-content {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

.section-floor-plan .block-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

@media screen and (min-width: 992px) {
    .section-floor-plan .block-wrap {
        flex-direction: row;
    }
}

.section-floor-plan .block-wrap-start {
    flex: 1;
}

.section-floor-plan .block-wrap .section-title {
    flex: 1;
    min-width: 280px;
    margin: 0;
    position: relative;
    font-size: 1.375rem;
    line-height: 1.875rem;
    letter-spacing: -.69px;
    font-weight: 700;
}

@media screen and (min-width: 992px) {
    .section-floor-plan .block-wrap .section-title {
        font-size: 1.5rem;
        line-height: 1.875rem;
        letter-spacing: -.54px;
    }
}

.section-floor-plan .block-wrap-end {}

@media screen and (min-width: 992px) {
    .section-floor-plan .block-wrap-end {
        width: auto;
        text-align: right;
        margin-left: auto;
    }
}

@media screen and (max-width: 990px) {
    .section-floor-plan .block-wrap-end {
        width: 100%;
    }
}

.section-floor-plan .block-wrap-end .section-text {
    margin-top: 8px;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 400;
    color: #475569;
}

.section-floor-plan .block-wrap-end .section-text a {
    font-weight: 600;
    display: inline-block;
    color: #334155;
    cursor: pointer;
    text-decoration: none;
}

.section-floor-plan .block-wrap-end .section-text p a {
    text-decoration: underline;
}

.section-floor-plan .block-status {
    display: flex;
    flex-shrink: 0;
    height: fit-content;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    z-index: 4;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.section-floor-plan .block-status::-webkit-scrollbar {
    width: 0;
    height: 0;
}

@media print,
screen and (min-width: 600px) {
    .section-floor-plan .block-status {
        width: fit-content;
        flex-wrap: wrap;
        overflow-x: visible;
        margin-left: auto;
    }
}

.section-floor-plan .block-status-item {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    background: #fff;
    box-shadow: 0 4px 12px 0 rgba(28, 30, 34, .08);
    border-radius: 6px;
    gap: 8px;
    font-size: .8125rem;
    line-height: 1.125rem;
    font-weight: 400;
    color: #475569;
    white-space: nowrap;
}

.section-floor-plan .block-status-rec {
    display: inline-flex;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    vertical-align: middle;
}

.section-floor-plan .block-status-rec.is-going {
    background: #059669;
}

.section-floor-plan .block-status-rec.is-sold {
    background: #ef4444;
}

.section-floor-plan .block-status-rec.is-pending {
    background: #f59e0b;
}

.section-floor-plan .block-status-rec.is-booking {
    background: #8b5cf6;
}

.section-floor-plan-image {
    position: relative;
    width: 100%;
    border-radius: 6px;
    background: #f1f5f9;
    display: block;
    min-height: 200px;
    max-height: calc(100vh - 170px);
    overflow: hidden;
}

.section-floor-plan-image.h450 {
    min-height: 450px;
}

@media screen and (min-width: 992px) {
    .section-floor-plan-image {
        height: 100%;
    }
}

/* Aspect ratio fallback if needed */
.section-floor-plan-image::before {
    content: '';
    z-index: -1;
    padding-top: 70%;
    width: 100%;
    display: block;
}

.section-floor-plan-image .image-map-render {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-floor-plan iframe {
    border: 0;
}