@import url("./media/bulgari/bulgari-exhibition.css");

/* J. Louis - Keep the shared module active as Moscow's data/navigation
   controller while the tour-owned renderer preserves the exact legacy map. */
body.bulgari-moscow-framed .vn-floorplan {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* J. Louis - Place the shared minimap inside Moscow's framed viewer and retire its duplicate legacy floorplan buttons. */
body.bulgari-moscow-framed {
    --vn-floorplan-minimap-left: calc(var(--be-side-rail-width, 60px) + 1.6rem);
    --vn-floorplan-minimap-bottom: calc(var(--be-viewer-bottom, 30px) + var(--be-bottom-rail-height, 10px) + 1.6rem);
    --vn-floorplan-current-color: #0000ff;
}

body.bulgari-moscow-framed.floorplan-minimap-enabled .be-control[data-be-action="floorplan"] {
    display: none;
}

@media screen and (max-width: 700px) {
    body.bulgari-moscow-framed {
        --vn-floorplan-minimap-left: max(1rem, env(safe-area-inset-left));
        --vn-floorplan-minimap-bottom: calc(var(--be-control-size, 40px) + var(--be-viewer-bottom, 30px) + 4rem + env(safe-area-inset-bottom));
    }
}

html.be-mobile-device body.bulgari-moscow-framed {
    --vn-floorplan-minimap-left: max(1rem, env(safe-area-inset-left));
    --vn-floorplan-minimap-bottom: calc(var(--be-control-size, 40px) + 2.4rem + env(safe-area-inset-bottom));
}

/* J. Louis - Avoid exposing a nonfunctional legacy control during the brief
   interval before the module data contract has finished loading. */
body.bulgari-moscow-framed .be-control[data-be-action="floorplan"]:disabled {
    visibility: hidden;
}
