@media (max-width: 991.98px) {
    html, body {
        height: 100%;
        overflow-x: hidden;
    }

    main.py-5 {
        padding-top: .5rem !important;
        padding-bottom: 5.5rem !important;
    }

    main .container-xxl {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .home-hero.grid-2col {
        display: block !important;
    }

    section.hero-left {
        height: calc(100dvh - 120px) !important;
        min-height: 520px;
    }

    #map {
        height: calc(100dvh - 120px) !important;
        min-height: 520px;
    }

    #searchPanel,
    .open-btn,
    .hero-right,
    section.mt-3,
    section.mt-5 {
        display: none !important;
    }

    .ol-popup {
        max-width: 86vw;
        min-width: 240px;
    }

    .sm-mobile-tabs {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3000;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: #fff;
        border-top: 1px solid #ddd;
        box-shadow: 0 -6px 20px rgba(0,0,0,.12);
        padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom));
    }

    .sm-mobile-tab {
        border: 0;
        background: transparent;
        color: #222;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .15rem;
        font-size: .78rem;
        min-height: 54px;
    }

    .sm-mobile-tab i {
        font-size: 1.25rem;
    }

    .sm-mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 3050;
        background: rgba(0,0,0,.35);
    }

    .sm-bottom-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3100;
        max-height: 82dvh;
        overflow-y: auto;
        background: #fff;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 30px rgba(0,0,0,.25);
        padding: .65rem 1rem calc(1rem + env(safe-area-inset-bottom));
        transform: translateY(110%);
        transition: transform .22s ease;
    }

    .sm-bottom-sheet.open {
        transform: translateY(0);
    }

    .sm-small-sheet {
        max-height: 45dvh;
    }

    .sm-sheet-handle {
        width: 44px;
        height: 5px;
        border-radius: 999px;
        background: #d1d1d1;
        margin: 0 auto .65rem;
    }

    .sm-sheet-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: .75rem;
    }

    #mobilePlotResults .list-group-item {
        cursor: pointer;
    }
}
