/* assets/front-end.css */
.b2fp-floorplans-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 1.5rem;
    align-items: flex-start;
}

.b2fp-col {}

/* Left nav */
.b2fp-building-group + .b2fp-building-group {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.b2fp-building-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.b2fp-nav-group + .b2fp-nav-group {
    margin-top: 1.5rem;
}

.b2fp-nav-group h3,
.b2fp-nav-group h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.b2fp-nav-group h4 {
    font-size: 0.85rem;
}

.b2fp-nav-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.b2fp-nav-item {
    cursor: pointer;
    padding: 0.4rem 0.2rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.b2fp-nav-item.is-active {
    font-weight: 600;
}

/* Compass + keyplan block */
.b2fp-compass-keyplan {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.b2fp-compass img,
.b2fp-keyplan img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Center main image */
.b2fp-main-image-wrapper {
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.b2fp-main-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Right column details */
.b2fp-plan-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.b2fp-building {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.b2fp-building {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.b2fp-beds-baths,
.b2fp-features {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.b2fp-sqft {
    margin: 1rem 0;
}

.b2fp-sqft-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.25rem 0;
}

.b2fp-sqft-row dt {
    font-weight: 500;
}

.b2fp-sqft-row dd {
    margin: 0;
}

.b2fp-pdf-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid #333;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Hover zoom (no modal) */
.b2fp-main-image {
    max-width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 120ms ease-out;
    will-change: transform;
}

.b2fp-main-image-wrapper.is-zooming .b2fp-main-image {
    transition: none;
}


/* Basic responsiveness */
@media (max-width: 900px) {
    .b2fp-floorplans-grid {
        grid-template-columns: 1fr;
    }
}


/* Elevation + SVG overlay (above 3-col UI) */
.b2fp-elevation {
    margin-bottom: 1.25rem;
}

.b2fp-elevation-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f7f7;
}

.b2fp-elevation-img {
    display: block;
    width: 100%;
    height: auto;
}

.b2fp-elevation-placeholder {
    width: 100%;
    /* fallback height for empty state; elevation images are short and wide */
    padding-top: 22%;
    background: #f2f2f2;
}

.b2fp-elevation-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.b2fp-elevation-overlay svg {
    width: 100%;
    height: 100%;
    display: block;
}

.b2fp-overlay-shape {
    cursor: pointer;
    fill: rgba(0,0,0,0);
    stroke: rgba(0,0,0,0.25);
    stroke-width: 2;
    transition: fill 120ms ease, stroke 120ms ease, opacity 120ms ease;
}

.b2fp-overlay-shape:hover {
    fill: rgba(0,0,0,0.08);
    stroke: rgba(0,0,0,0.45);
}

.b2fp-overlay-shape.is-active {
    fill: rgba(0,0,0,0.14);
    stroke: rgba(0,0,0,0.65);
}

