/* ==========================================================================
   REAL PROPERTY GURU — PROPERTIES V70
   Filter Click Recovery
   Functional patch only.
   Does NOT redesign V69 toolbar.
   Desktop >=1025px untouched.
   ========================================================================== */

@media (max-width:1024px) {

    /* V70 adds a second explicit open-state contract so the filter drawer
       does not depend on the theme's original toggle handler or V64's
       one-time button listener. */
    body.rpg-properties-v70-active .search-box-offcanvas.rpgp70-open {
        visibility:visible !important;
        pointer-events:auto !important;
    }

    body.rpg-properties-v70-active .search-box-offcanvas.rpgp70-open .search-box-offcanvas-backdrop {
        display:block !important;
        opacity:1 !important;
        pointer-events:auto !important;
    }

    body.rpg-properties-v70-active .search-box-offcanvas.rpgp70-open .search-box-offcanvas-content {
        pointer-events:auto !important;
    }

    body.rpg-properties-v70-filter-open {
        overflow:hidden !important;
        touch-action:none !important;
    }
}

@media (max-width:576px) {
    body.rpg-properties-v70-active .search-box-offcanvas.rpgp70-open .search-box-offcanvas-content {
        transform:translateY(0) !important;
    }
}

@media (min-width:577px) and (max-width:1024px) {
    body.rpg-properties-v70-active .search-box-offcanvas.rpgp70-open .search-box-offcanvas-content {
        transform:translateX(0) !important;
    }
}

/* Desktop >=1025px untouched. */
