/* Guest-facing floor plan, redrawn from the supplied plan. */
#floor-plan {
    background: #f3f1eb;
    padding: 80px 24px;
    scroll-margin-top: 25px;
}

.fp-section-inner { max-width: 1040px; margin: 0 auto; }
.fp-eyebrow { text-align: center; color: #8a7045; font-size: 11px; letter-spacing: .24em; margin-bottom: 14px; }
#floorplan-title { margin-bottom: 22px; }
.fp-intro { max-width: 650px; text-align: center; margin: 0 auto 36px; color: #625c51; font-size: 14px; line-height: 1.9; }
.fp-plan-card, .fp-loft-card { background: #fffefa; border: 1px solid #e0dbd0; border-radius: 8px; }
.fp-plan-card { padding: 28px 30px; }
.fp-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fp-card-heading h3, .fp-loft-visual h3 { font-size: 19px; font-weight: 400; color: #29412d; display: flex; align-items: center; gap: 14px; }
.fp-floor-number { font-family: var(--font-body); font-size: 11px; color: #9c8867; letter-spacing: .08em; }
.fp-instruction { color: #756e61; font-size: 12px; }
.fp-diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.fp-diagram { margin: 16px 0 12px; }
.fp-diagram text { font-family: var(--font-body); fill: #3e463c; }
.fp-zone { cursor: pointer; outline: none; }
.fp-zone .fp-room-fill { transition: fill .2s; }
.fp-zone:hover .fp-room-fill, .fp-zone:focus-visible .fp-room-fill { fill: #e0e9dc; }
.fp-game-marker { fill: #e8decc; stroke: #a9916b; stroke-width: 2; }
.fp-zone:hover .fp-game-marker, .fp-zone:focus-visible .fp-game-marker { fill: #e0e9dc; }
.fp-zone:focus-visible .fp-pin circle { stroke: #9c7334; stroke-width: 5; }
.fp-wall { fill: none; stroke: #596353; stroke-width: 4; stroke-linecap: square; stroke-linejoin: round; pointer-events: none; }
.fp-detail { fill: none; stroke: #a9a18e; stroke-width: 2; pointer-events: none; }
.fp-window { fill: none; stroke: #fffefa; stroke-width: 7; pointer-events: none; }
.fp-window-line { fill: none; stroke: #8f9f9c; stroke-width: 2; pointer-events: none; }
.fp-pin circle { fill: #294d32; stroke: #fffefa; stroke-width: 2; }
.fp-pin text { fill: #fff; font-size: 16px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.fp-room-label { font-size: 16px; text-anchor: middle; }
.fp-small-label { font-size: 13px; text-anchor: middle; }
.fp-room-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; border-top: 1px solid #e7e2d8; padding-top: 20px; }
.fp-room-list button { display: flex; align-items: center; gap: 9px; border: 1px solid #e5e0d5; background: transparent; color: #3d4538; padding: 11px 10px; border-radius: 4px; cursor: pointer; font-family: var(--font-body); font-size: 13px; text-align: left; }
.fp-room-list button:hover, .fp-photo-button:hover { background: #e9eee5; border-color: #afbaaa; }
.fp-room-number { flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%; background: #294d32; color: #fff; text-align: center; line-height: 21px; font-size: 10px; }
.fp-room-arrow { margin-left: auto; color: #8a7045; }
.fp-loft-card { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 36px; margin-top: 18px; padding: 24px 30px; }
.fp-loft-visual .fp-diagram { max-width: 330px; margin: 8px auto 0; }
.fp-loft-copy { font-size: 14px; line-height: 1.9; color: #625c51; }
.fp-photo-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; padding: 11px 18px; border: 1px solid #c5cabc; border-radius: 4px; background: transparent; color: #29412d; font-family: var(--font-body); font-size: 13px; cursor: pointer; }
.fp-note { text-align: center; font-size: 11px; line-height: 1.8; color: #81796c; margin-top: 20px; }
.fp-photo-dialog { margin: auto; width: min(820px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 8px; background: #fffefa; color: #2d241e; overflow-y: auto; box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.fp-photo-dialog::backdrop { background: rgba(20, 24, 19, .72); }
.fp-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.fp-dialog-heading h3 { font-size: 21px; font-weight: 400; color: #29412d; }
.fp-dialog-close { border: 1px solid #ddd8cb; border-radius: 50%; background: transparent; width: 36px; height: 36px; cursor: pointer; color: #444c3e; font-size: 25px; line-height: 1; flex-shrink: 0; }
.fp-photo-media { width: 100%; display: flex; justify-content: center; align-items: center; aspect-ratio: 4 / 3; max-height: 58dvh; background: #f1eee6; }
.fp-photo-media img { display: block; max-width: 100%; max-height: 58dvh; width: 100%; height: 100%; object-fit: contain; }
.fp-photo-media img[hidden] { display: none; }
#floorplan-photo-description { padding: 18px 22px 24px; font-size: 14px; line-height: 1.8; }
.fp-photo-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 22px 0; }
.fp-photo-navigation[hidden], .fp-photo-details[hidden] { display: none; }
.fp-photo-nav-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #c5cabc; border-radius: 50%; color: #29412d; background: transparent; font-size: 22px; cursor: pointer; }
.fp-photo-nav-button:hover { background: #e9eee5; }
.fp-photo-position { min-width: 48px; text-align: center; color: #625c51; font-family: var(--font-body); font-size: 13px; }
.fp-photo-details { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 22px 24px; margin: 0; }
.fp-photo-details li { border: 1px solid #ded8ca; border-radius: 4px; padding: 5px 10px; font-size: 12px; line-height: 1.6; color: #625c51; }
.fp-zone, .fp-room-list button, .fp-photo-button, .fp-dialog-close { -webkit-tap-highlight-color: transparent; }
.fp-room-list button:focus-visible, .fp-photo-button:focus-visible, .fp-dialog-close:focus-visible, .fp-photo-nav-button:focus-visible { outline: 2px solid #8a7045; outline-offset: 3px; }
@media (max-width: 768px) {
    #floor-plan { padding: 58px 18px; }
    .fp-plan-card { padding: 20px 14px; }
    .fp-card-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
    .fp-room-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 16px; }
    .fp-room-list button { font-size: 12px; padding: 11px 8px; min-height: 44px; }
    .fp-loft-card { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
    .fp-loft-visual .fp-diagram { max-width: 290px; }
    .fp-loft-copy { font-size: 13px; }
    .fp-note { text-align: left; }
    .fp-room-label { font-size: 19px; }
    .fp-small-label { font-size: 16px; }
    .fp-intro { font-size: 13px; margin-bottom: 26px; }
    .fp-photo-button { min-height: 44px; }
}
