/* BPP Developer Profile V7.5
   MOBILE-ONLY bridge.
   Desktop is owned exclusively by the site's existing global sticky system.
*/
@media (max-width:767px){
    body > .rpg-gmh1[data-rpg-gmh1-header]{
        position:fixed!important;
        top:max(8px,env(safe-area-inset-top,0px))!important;
        left:8px!important;
        right:8px!important;
        bottom:auto!important;
        z-index:5000!important;
        width:auto!important;
        max-width:none!important;
        margin:0!important;
        transform:none!important;
        translate:none!important;
        opacity:1!important;
        visibility:visible!important;
        pointer-events:auto!important;
    }

    .bpp75-global-header-placeholder{
        display:block!important;
        width:100%!important;
        height:var(--bpp75-mobile-header-layout-height,72px)!important;
        min-height:var(--bpp75-mobile-header-layout-height,72px)!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        background:transparent!important;
    }


    html body:has(.bpp54-developer){
        padding-top:0!important;
        margin-top:0!important;
        padding-bottom:96px!important;
    }

    .bpp54-developer .bpp54-tabs-shell{
        position:sticky!important;
        top:calc(
            max(8px,env(safe-area-inset-top,0px))
            + var(--bpp75-mobile-header-visual-height,56px)
            + 8px
        )!important;
        z-index:3500!important;
    }

    .bpp54-developer .bpp54-actions,
    .bpp54-developer .bpp54-feature-grid,
    .bpp54-developer .bpp75-contact-actions,
    .bpp54-developer .bpp57-available-units-overview .bpp54-property-grid{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:8px!important;
        width:100%!important;
    }

    .bpp54-developer .bpp54-actions > *:nth-child(3),
    .bpp54-developer .bpp75-contact-actions > *:nth-child(3){
        grid-column:1 / -1!important;
    }

    .bpp54-developer #featured-developments .bpp54-development-grid{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        gap:11px!important;
    }


    .rpg-gmb3{
        display:none!important;
    }
}
