/* ==========================================================================
   REAL PROPERTY GURU — PROPERTIES REFERENCE MATCH V64
   Exact target: approved "Mobile (2 Columns) & Filter Experience"
   Source verified from the live exported /properties HTML.
   Desktop >=1025px is locked and untouched.
   Sticky Home/Search/Saved/Account nav keeps the already-approved design.
   ========================================================================== */

/* ----------------------------- SHARED ----------------------------------- */
@media (max-width:1024px) {
    body.rpg-properties-v64-active {
        overflow-x:hidden !important;
        background:#f5f8f6 !important;
    }

    body.rpg-properties-v64-active .rpgp2-container {
        width:calc(100% - 24px) !important;
        max-width:none !important;
        margin-inline:auto !important;
    }

    body.rpg-properties-v64-active .rpgp2-results-grid {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
    }

    body.rpg-properties-v64-active .rpgp2-sidebar {
        position:static !important;
        width:0 !important;
        min-width:0 !important;
        max-width:0 !important;
        height:0 !important;
        min-height:0 !important;
        margin:0 !important;
        padding:0 !important;
    }

    body.rpg-properties-v64-active .rpgp2-results-main,
    body.rpg-properties-v64-active .rpgp2-data-listing {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
    }

    body.rpg-properties-v64-active .rpgp2-property-grid {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        grid-auto-rows:1fr !important;
        align-items:stretch !important;
        gap:10px !important;
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
        padding:0 !important;
    }

    body.rpg-properties-v64-active .rpgp2-property-grid > * {
        min-width:0 !important;
        max-width:100% !important;
        height:100% !important;
    }

    /* Toolbar = Filters | Sort | Grid/List */
    body.rpg-properties-v64-active .rpgp2-toolbar {
        display:block !important;
        margin:0 0 11px !important;
        padding:0 !important;
    }

    body.rpg-properties-v64-active .rpgp2-toolbar-left {
        display:none !important;
    }

    body.rpg-properties-v64-active .rpgp2-toolbar-right {
        width:100% !important;
        display:grid !important;
        grid-template-columns:88px minmax(0,1fr) 86px !important;
        align-items:center !important;
        gap:7px !important;
    }

    body.rpg-properties-v64-active .rpgp2-filter-button {
        position:relative !important;
        min-width:0 !important;
        width:88px !important;
        height:43px !important;
        min-height:43px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:6px !important;
        padding:0 9px !important;
        border:1px solid #dce6e1 !important;
        border-radius:9px !important;
        background:#fff !important;
        color:#264337 !important;
        font-size:10.5px !important;
        line-height:1 !important;
        font-weight:800 !important;
        box-shadow:0 3px 12px rgba(4,61,42,.035) !important;
    }

    body.rpg-properties-v64-active .rpgp2-filter-button svg {
        width:15px !important;
        height:15px !important;
        color:#078d4c !important;
    }

    body.rpg-properties-v64-active .rpgp64-filter-count {
        position:absolute !important;
        top:-5px !important;
        right:-5px !important;
        min-width:18px !important;
        height:18px !important;
        display:grid !important;
        place-items:center !important;
        padding:0 4px !important;
        border:2px solid #fff !important;
        border-radius:999px !important;
        background:#0aa45d !important;
        color:#fff !important;
        font-size:7.5px !important;
        font-weight:900 !important;
    }

    body.rpg-properties-v64-active .rpgp2-sort,
    body.rpg-properties-v64-active .rpgp2-sort + .nice-select {
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        height:43px !important;
        min-height:43px !important;
        margin:0 !important;
        border:1px solid #dce6e1 !important;
        border-radius:9px !important;
        background:#fff !important;
        color:#2b4237 !important;
        font-size:10px !important;
        box-shadow:none !important;
    }

    body.rpg-properties-v64-active .rpgp2-sort + .nice-select {
        display:flex !important;
        align-items:center !important;
        padding:0 33px 0 11px !important;
    }

    body.rpg-properties-v64-active .rpgp2-per-page,
    body.rpg-properties-v64-active .rpgp2-per-page + .nice-select {
        display:none !important;
    }

    body.rpg-properties-v64-active .rpgp2-view-switch {
        display:grid !important;
        grid-template-columns:repeat(2,40px) !important;
        gap:6px !important;
        justify-content:end !important;
    }

    body.rpg-properties-v64-active .rpgp2-view-btn {
        width:40px !important;
        min-width:40px !important;
        height:43px !important;
        min-height:43px !important;
        display:grid !important;
        place-items:center !important;
        margin:0 !important;
        padding:0 !important;
        border:1px solid #dce6e1 !important;
        border-radius:9px !important;
        background:#fff !important;
        color:#60736a !important;
    }

    body.rpg-properties-v64-active .rpgp2-view-btn.active {
        border-color:#078e48 !important;
        background:#078e48 !important;
        color:#fff !important;
    }

    body.rpg-properties-v64-active .rpgp2-view-btn svg {
        width:17px !important;
        height:17px !important;
    }

    body.rpg-properties-v64-active .rpgp2-map-btn {
        display:none !important;
    }

    /* Active filter chips */
    body.rpg-properties-v64-active .rpgp64-active-filters {
        display:none !important;
        margin:0 0 11px !important;
        padding:10px !important;
        border:1px solid #e1e9e5 !important;
        border-radius:11px !important;
        background:#fff !important;
        box-shadow:0 4px 14px rgba(4,58,42,.035) !important;
    }

    body.rpg-properties-v64-active .rpgp64-active-filters.has-filters {
        display:block !important;
    }

    body.rpg-properties-v64-active .rpgp64-active-head {
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:8px !important;
        margin-bottom:7px !important;
    }

    body.rpg-properties-v64-active .rpgp64-active-head strong {
        color:#274337 !important;
        font-size:10px !important;
        font-weight:800 !important;
    }

    body.rpg-properties-v64-active .rpgp64-clear-all {
        border:0 !important;
        background:transparent !important;
        color:#078c4d !important;
        font-size:9.5px !important;
        font-weight:850 !important;
        text-decoration:none !important;
    }

    body.rpg-properties-v64-active .rpgp64-chip-row {
        display:flex !important;
        flex-wrap:wrap !important;
        gap:6px !important;
    }

    body.rpg-properties-v64-active .rpgp64-chip {
        min-height:28px !important;
        display:inline-flex !important;
        align-items:center !important;
        gap:5px !important;
        padding:0 8px !important;
        border:1px solid #dfe8e3 !important;
        border-radius:999px !important;
        background:#f4f8f6 !important;
        color:#40584d !important;
        font-size:9px !important;
        font-weight:700 !important;
    }

    body.rpg-properties-v64-active .rpgp64-chip button {
        width:16px !important;
        height:16px !important;
        display:grid !important;
        place-items:center !important;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
        color:#74857d !important;
        font-size:12px !important;
        line-height:1 !important;
    }

    /* =========================== FILTER DRAWER ========================== */
    body.rpg-properties-v64-active .search-box-offcanvas {
        position:fixed !important;
        inset:0 !important;
        z-index:1950 !important;
        width:100% !important;
        height:100% !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas.rpgp64-open,
    body.rpg-properties-v64-active .search-box-offcanvas.active,
    body.rpg-properties-v64-active .search-box-offcanvas.show {
        visibility:visible !important;
        pointer-events:auto !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-backdrop {
        position:absolute !important;
        inset:0 !important;
        display:block !important;
        background:rgba(8,35,25,.43) !important;
        opacity:0 !important;
        transition:opacity .22s ease !important;
        backdrop-filter:blur(2px) !important;
        -webkit-backdrop-filter:blur(2px) !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas.rpgp64-open .search-box-offcanvas-backdrop,
    body.rpg-properties-v64-active .search-box-offcanvas.active .search-box-offcanvas-backdrop,
    body.rpg-properties-v64-active .search-box-offcanvas.show .search-box-offcanvas-backdrop {
        opacity:1 !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content {
        position:absolute !important;
        display:flex !important;
        flex-direction:column !important;
        overflow:hidden !important;
        border:0 !important;
        background:#fff !important;
        box-shadow:0 24px 70px rgba(3,45,32,.24) !important;
        transition:transform .24s ease !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-header {
        position:sticky !important;
        top:0 !important;
        z-index:8 !important;
        min-height:64px !important;
        display:flex !important;
        align-items:center !important;
        gap:8px !important;
        padding:13px 16px !important;
        border-bottom:1px solid #e5ece8 !important;
        background:#fff !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-header .rpgp2-filter-kicker {
        display:none !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-header h3 {
        margin:0 !important;
        color:#182f25 !important;
        font-size:18px !important;
        line-height:1.1 !important;
        font-weight:800 !important;
    }

    body.rpg-properties-v64-active .rpgp64-drawer-reset {
        margin-left:auto !important;
        min-height:35px !important;
        display:inline-flex !important;
        align-items:center !important;
        gap:4px !important;
        padding:0 6px !important;
        border:0 !important;
        background:transparent !important;
        color:#df2029 !important;
        font-size:10.5px !important;
        font-weight:850 !important;
        text-decoration:none !important;
        white-space:nowrap !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-header .btn-close {
        width:35px !important;
        height:35px !important;
        min-width:35px !important;
        flex:0 0 35px !important;
        margin:0 !important;
        border-radius:9px !important;
        background-color:#f3f7f5 !important;
        background-size:11px !important;
        opacity:1 !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .widget-sidebar {
        flex:1 1 auto !important;
        min-height:0 !important;
        overflow-y:auto !important;
        overscroll-behavior:contain !important;
        padding:14px 16px 108px !important;
        scrollbar-width:thin !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .widget-filter-search {
        margin:0 !important;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
        box-shadow:none !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .widget-filter-search > .title {
        display:none !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .form-style,
    body.rpg-properties-v64-active .search-box-offcanvas-content .form-group-1,
    body.rpg-properties-v64-active .search-box-offcanvas-content .form-group-2,
    body.rpg-properties-v64-active .search-box-offcanvas-content .form-group-3 {
        margin:0 0 14px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content label,
    body.rpg-properties-v64-active .search-box-offcanvas-content .title-select,
    body.rpg-properties-v64-active .search-box-offcanvas-content .title-price,
    body.rpg-properties-v64-active .search-box-offcanvas-content .text-1 {
        display:block !important;
        margin:0 0 7px !important;
        color:#20372c !important;
        font-size:11.5px !important;
        line-height:1.2 !important;
        font-weight:800 !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content input.form-control,
    body.rpg-properties-v64-active .search-box-offcanvas-content select,
    body.rpg-properties-v64-active .search-box-offcanvas-content .nice-select,
    body.rpg-properties-v64-active .search-box-offcanvas-content .multi-select-trigger {
        width:100% !important;
        min-height:47px !important;
        height:47px !important;
        display:flex !important;
        align-items:center !important;
        margin:0 !important;
        border:1px solid #dce5e0 !important;
        border-radius:9px !important;
        background:#fff !important;
        color:#31473d !important;
        font-size:11px !important;
        box-shadow:none !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content input.form-control {
        padding:0 12px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .nice-select,
    body.rpg-properties-v64-active .search-box-offcanvas-content .multi-select-trigger {
        padding:0 35px 0 12px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .nice-select .current,
    body.rpg-properties-v64-active .search-box-offcanvas-content .multi-select-label {
        color:#31473d !important;
        font-size:11px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .multi-select-options {
        z-index:30 !important;
        max-height:245px !important;
        overflow-y:auto !important;
        border-radius:9px !important;
        box-shadow:0 12px 30px rgba(4,56,41,.13) !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .multi-select-option {
        min-height:42px !important;
        display:flex !important;
        align-items:center !important;
        gap:8px !important;
        margin:0 !important;
        padding:8px 10px !important;
        font-size:10.5px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .box-title-price {
        display:block !important;
        margin-bottom:8px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .caption-price {
        margin-top:4px !important;
        color:#3d564a !important;
        font-size:10px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content [data-bb-toggle="range-slider"],
    body.rpg-properties-v64-active .search-box-offcanvas-content #slider-range2 {
        margin:13px 5px 5px !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .rpg-marketplace-filters {
        display:block !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .rpg-marketplace-filters .form-style {
        margin-bottom:14px !important;
    }

    /* Show advanced filter content by default in the drawer. */
    body.rpg-properties-v64-active .search-box-offcanvas-content .btn-show-advanced,
    body.rpg-properties-v64-active .search-box-offcanvas-content .btn-hide-advanced {
        display:none !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .wd-amenities {
        display:none !important;
    }

    body.rpg-properties-v64-active .rpgp64-amenities-launch {
        width:100% !important;
        min-height:49px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:8px !important;
        margin:0 0 14px !important;
        padding:0 12px !important;
        border:1px solid #dce5e0 !important;
        border-radius:9px !important;
        background:#fff !important;
        color:#22392e !important;
        font-size:11px !important;
        font-weight:800 !important;
    }

    body.rpg-properties-v64-active .rpgp64-amenities-launch span {
        color:#64776d !important;
        font-size:10px !important;
        font-weight:600 !important;
    }

    body.rpg-properties-v64-active .wd-amenities.rpgp64-picker-open {
        position:absolute !important;
        inset:0 !important;
        z-index:30 !important;
        display:flex !important;
        flex-direction:column !important;
        margin:0 !important;
        padding:0 !important;
        background:#fff !important;
        overflow:hidden !important;
    }

    body.rpg-properties-v64-active .rpgp64-amenities-head {
        min-height:64px !important;
        display:grid !important;
        grid-template-columns:54px 1fr 54px !important;
        align-items:center !important;
        padding:7px 9px !important;
        border-bottom:1px solid #e5ece8 !important;
        background:#fff !important;
    }

    body.rpg-properties-v64-active .rpgp64-amenities-head button {
        min-height:42px !important;
        border:0 !important;
        background:transparent !important;
        color:#087746 !important;
        font-size:11px !important;
        font-weight:850 !important;
    }

    body.rpg-properties-v64-active .rpgp64-amenities-head strong {
        text-align:center !important;
        color:#1b3328 !important;
        font-size:16px !important;
        font-weight:800 !important;
    }

    body.rpg-properties-v64-active .rpgp64-amenities-search {
        margin:11px 14px 7px !important;
    }

    body.rpg-properties-v64-active .rpgp64-amenities-search input {
        width:100% !important;
        min-height:43px !important;
        padding:0 12px !important;
        border:1px solid #dce5e0 !important;
        border-radius:9px !important;
        font-size:11px !important;
        outline:0 !important;
    }

    body.rpg-properties-v64-active .wd-amenities.rpgp64-picker-open .group-checkbox {
        min-height:0 !important;
        flex:1 1 auto !important;
        overflow-y:auto !important;
        padding:5px 14px 22px !important;
    }

    body.rpg-properties-v64-active .wd-amenities.rpgp64-picker-open .group-checkbox > .text-1 {
        display:none !important;
    }

    body.rpg-properties-v64-active .wd-amenities.rpgp64-picker-open .group-amenities {
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:0 !important;
    }

    body.rpg-properties-v64-active .wd-amenities.rpgp64-picker-open .amenities-item {
        min-height:45px !important;
        display:flex !important;
        align-items:center !important;
        gap:9px !important;
        margin:0 !important;
        padding:8px 2px !important;
        border-bottom:1px solid #edf2ef !important;
    }

    body.rpg-properties-v64-active .wd-amenities.rpgp64-picker-open .amenities-item input {
        width:19px !important;
        height:19px !important;
        min-width:19px !important;
        margin:0 !important;
        accent-color:#078e48 !important;
    }

    body.rpg-properties-v64-active .wd-amenities.rpgp64-picker-open .amenities-item label {
        margin:0 !important;
        color:#33483e !important;
        font-size:11px !important;
        font-weight:650 !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .rpg-verified-filter {
        min-height:48px !important;
        display:flex !important;
        align-items:center !important;
        gap:9px !important;
        margin:4px 0 14px !important;
        padding:8px 0 !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .rpg-verified-filter input {
        width:19px !important;
        height:19px !important;
        min-width:19px !important;
        accent-color:#078e48 !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas-content .rpg-verified-filter span {
        font-size:10.8px !important;
        font-weight:750 !important;
    }

    /* Sticky action area created by V64. */
    body.rpg-properties-v64-active .rpgp64-drawer-actions {
        position:absolute !important;
        left:0 !important;
        right:0 !important;
        bottom:0 !important;
        z-index:35 !important;
        padding:11px 16px calc(11px + env(safe-area-inset-bottom)) !important;
        border-top:1px solid #e3ebe6 !important;
        background:rgba(255,255,255,.985) !important;
        box-shadow:0 -8px 26px rgba(5,58,42,.08) !important;
    }

    body.rpg-properties-v64-active .rpgp64-apply {
        width:100% !important;
        min-height:47px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:6px !important;
        border:0 !important;
        border-radius:9px !important;
        background:#079552 !important;
        color:#fff !important;
        font-size:11.5px !important;
        font-weight:850 !important;
    }

    body.rpg-properties-v64-active .rpgp64-drawer-clear {
        min-height:34px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        margin-top:5px !important;
        color:#07874b !important;
        font-size:10px !important;
        font-weight:800 !important;
        text-decoration:none !important;
    }

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

    /* ============================ CARDS ================================ */
    body.rpg-properties-v64-active .rpgp2-card {
        width:100% !important;
        min-width:0 !important;
        height:100% !important;
        display:flex !important;
        flex-direction:column !important;
        overflow:hidden !important;
        border:1px solid #e2eae6 !important;
        border-radius:11px !important;
        background:#fff !important;
        box-shadow:0 6px 18px rgba(4,61,42,.055) !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-media {
        position:relative !important;
        width:100% !important;
        display:block !important;
        overflow:hidden !important;
        background:#e8efeb !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-media > img {
        width:100% !important;
        height:100% !important;
        display:block !important;
        object-fit:cover !important;
        object-position:center !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-badges {
        position:absolute !important;
        top:6px !important;
        left:6px !important;
        z-index:4 !important;
        max-width:calc(100% - 42px) !important;
        display:flex !important;
        align-items:center !important;
        gap:3px !important;
        overflow:hidden !important;
    }

    body.rpg-properties-v64-active .rpgp2-badge {
        min-height:20px !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 5px !important;
        border-radius:999px !important;
        font-size:7.1px !important;
        line-height:1 !important;
        font-weight:850 !important;
        white-space:nowrap !important;
    }

    body.rpg-properties-v64-active .rpgp2-heart {
        position:absolute !important;
        top:6px !important;
        right:6px !important;
        z-index:5 !important;
        width:28px !important;
        height:28px !important;
        min-width:28px !important;
        min-height:28px !important;
        display:grid !important;
        place-items:center !important;
        padding:0 !important;
        border-radius:50% !important;
        background:#fff !important;
        box-shadow:0 3px 9px rgba(2,48,34,.13) !important;
    }

    body.rpg-properties-v64-active .rpgp2-heart svg {
        width:14px !important;
        height:14px !important;
    }

    body.rpg-properties-v64-active .rpgp2-photo-count {
        position:absolute !important;
        left:6px !important;
        bottom:6px !important;
        z-index:4 !important;
        min-height:20px !important;
        display:inline-flex !important;
        align-items:center !important;
        gap:2px !important;
        padding:0 5px !important;
        border-radius:5px !important;
        background:rgba(15,24,20,.74) !important;
        color:#fff !important;
        font-size:7px !important;
    }

    body.rpg-properties-v64-active .rpgp2-photo-count svg {
        width:10px !important;
        height:10px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-body {
        flex:1 1 auto !important;
        min-height:0 !important;
        display:flex !important;
        flex-direction:column !important;
        padding:9px !important;
        background:#fff !important;
    }

    body.rpg-properties-v64-active .rpgp2-category {
        color:#61736a !important;
        font-size:7.8px !important;
        line-height:1.1 !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-title {
        display:-webkit-box !important;
        -webkit-box-orient:vertical !important;
        -webkit-line-clamp:2 !important;
        overflow:hidden !important;
        min-height:31px !important;
        margin-top:4px !important;
        color:#162f24 !important;
        font-size:11.1px !important;
        line-height:1.38 !important;
        font-weight:800 !important;
    }

    body.rpg-properties-v64-active .rpgp2-location {
        min-width:0 !important;
        display:flex !important;
        align-items:center !important;
        gap:3px !important;
        margin-top:6px !important;
        color:#61736a !important;
        font-size:8.6px !important;
        line-height:1.25 !important;
    }

    body.rpg-properties-v64-active .rpgp2-location svg {
        width:11px !important;
        height:11px !important;
        min-width:11px !important;
    }

    body.rpg-properties-v64-active .rpgp2-location span {
        min-width:0 !important;
        overflow:hidden !important;
        white-space:nowrap !important;
        text-overflow:ellipsis !important;
    }

    body.rpg-properties-v64-active .rpgp2-features {
        min-width:0 !important;
        display:flex !important;
        flex-wrap:nowrap !important;
        align-items:center !important;
        gap:5px !important;
        margin-top:6px !important;
        color:#61736a !important;
        font-size:8.4px !important;
        overflow:hidden !important;
    }

    body.rpg-properties-v64-active .rpgp2-features span {
        min-width:0 !important;
        display:inline-flex !important;
        align-items:center !important;
        gap:2px !important;
        white-space:nowrap !important;
    }

    body.rpg-properties-v64-active .rpgp2-features svg {
        width:11px !important;
        height:11px !important;
        min-width:11px !important;
    }

    body.rpg-properties-v64-active .rpgp2-price {
        margin-top:auto !important;
        padding-top:8px !important;
        overflow:hidden !important;
        color:#057f46 !important;
        font-size:12px !important;
        line-height:1.15 !important;
        font-weight:900 !important;
        white-space:nowrap !important;
        text-overflow:ellipsis !important;
    }

    /* Reference keeps seller/developer identity visible. */
    body.rpg-properties-v64-active .rpgp2-agent-row {
        min-width:0 !important;
        display:grid !important;
        grid-template-columns:29px minmax(0,1fr) 16px !important;
        align-items:center !important;
        gap:6px !important;
        margin-top:8px !important;
        padding-top:7px !important;
        border-top:1px solid #edf2ef !important;
    }

    body.rpg-properties-v64-active .rpgp2-agent-avatar {
        width:29px !important;
        height:29px !important;
        min-width:29px !important;
        overflow:hidden !important;
        border-radius:50% !important;
    }

    body.rpg-properties-v64-active .rpgp2-agent-avatar img {
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        border-radius:50% !important;
    }

    body.rpg-properties-v64-active .rpgp2-agent-copy {
        min-width:0 !important;
    }

    body.rpg-properties-v64-active .rpgp2-agent-copy span {
        display:block !important;
        color:#819088 !important;
        font-size:6.9px !important;
        line-height:1.1 !important;
    }

    body.rpg-properties-v64-active .rpgp2-agent-copy strong {
        display:block !important;
        overflow:hidden !important;
        color:#344b40 !important;
        font-size:8.4px !important;
        line-height:1.25 !important;
        font-weight:750 !important;
        white-space:nowrap !important;
        text-overflow:ellipsis !important;
    }

    body.rpg-properties-v64-active .rpgp2-agent-badge svg {
        width:13px !important;
        height:13px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card .property-contact-actions {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:5px !important;
        padding:7px 9px 9px !important;
        border-top:1px solid #edf2ef !important;
        background:#fff !important;
    }

    body.rpg-properties-v64-active .rpgp2-card .property-contact-action {
        min-width:0 !important;
        width:100% !important;
        min-height:34px !important;
        height:34px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:4px !important;
        padding:0 4px !important;
        border-radius:7px !important;
        font-size:8.8px !important;
        line-height:1 !important;
        font-weight:850 !important;
        box-shadow:none !important;
        white-space:nowrap !important;
    }

    body.rpg-properties-v64-active .rpgp2-card .property-contact-action--call {
        border:1px solid #bcdccd !important;
        background:#fff !important;
        color:#087746 !important;
    }

    body.rpg-properties-v64-active .rpgp2-card .property-contact-action--whatsapp {
        border:1px solid #079552 !important;
        background:#079552 !important;
        color:#fff !important;
    }

    body.rpg-properties-v64-active .rpgp2-card .property-contact-action svg {
        width:12px !important;
        height:12px !important;
        min-width:12px !important;
    }

    /* Pagination */
    body.rpg-properties-v64-active .pagination,
    body.rpg-properties-v64-active .wg-pagination {
        display:flex !important;
        flex-wrap:wrap !important;
        align-items:center !important;
        justify-content:center !important;
        gap:4px !important;
        margin-top:17px !important;
    }

    body.rpg-properties-v64-active .pagination a,
    body.rpg-properties-v64-active .pagination span,
    body.rpg-properties-v64-active .wg-pagination a,
    body.rpg-properties-v64-active .wg-pagination span {
        min-width:34px !important;
        height:34px !important;
        display:grid !important;
        place-items:center !important;
        padding:0 6px !important;
        border-radius:8px !important;
        font-size:9.5px !important;
    }
}

/* ----------------------------- MOBILE ----------------------------------- */
@media (max-width:576px) {
    body.rpg-properties-v64-active {
        padding-bottom:88px !important;
    }

    body.rpg-properties-v64-active .rpgp2-container {
        width:calc(100% - 16px) !important;
    }

    /* Header */
    body.rpg-properties-v64-active .rpgx-topbar {
        display:none !important;
    }

    body.rpg-properties-v64-active .rpgx-header {
        min-height:59px !important;
        background:#fff !important;
        border-bottom:1px solid #edf1ef !important;
    }

    body.rpg-properties-v64-active .rpgx-header-inner {
        min-height:59px !important;
        padding:7px 8px !important;
    }

    body.rpg-properties-v64-active .rpgx-brand-mark {
        width:34px !important;
        height:34px !important;
        min-width:34px !important;
        border-radius:9px !important;
        font-size:15px !important;
    }

    body.rpg-properties-v64-active .rpgx-brand-copy b {
        font-size:9px !important;
    }

    body.rpg-properties-v64-active .rpgx-brand-copy span {
        font-size:7px !important;
    }

    body.rpg-properties-v64-active .rpgx-nav,
    body.rpg-properties-v64-active .rpgx-header-actions > a {
        display:none !important;
    }

    body.rpg-properties-v64-active .rpgx-menu-btn {
        width:38px !important;
        height:38px !important;
        display:grid !important;
        place-items:center !important;
        border:1px solid #e1e8e4 !important;
        border-radius:10px !important;
        background:#fff !important;
        color:#087746 !important;
        font-size:17px !important;
    }

    body.rpg-properties-v64-active .rpgx-mobile-menu.open {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:7px !important;
        padding:9px !important;
        border-top:1px solid #edf1ef !important;
        background:#fff !important;
        box-shadow:0 10px 24px rgba(4,54,39,.08) !important;
    }

    body.rpg-properties-v64-active .rpgx-mobile-menu.open a {
        min-height:42px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        padding:7px !important;
        border-radius:9px !important;
        background:#f3f8f5 !important;
        color:#254238 !important;
        font-size:10px !important;
        font-weight:800 !important;
        text-decoration:none !important;
    }

    body.rpg-properties-v64-active .rpgx-mobile-menu.open a:last-child {
        grid-column:1/-1 !important;
        background:#078e48 !important;
        color:#fff !important;
    }

    /* Hero */
    body.rpg-properties-v64-active .rpgp2-hero {
        min-height:166px !important;
        padding:31px 0 51px !important;
        background-position:center !important;
    }

    body.rpg-properties-v64-active .rpgp2-hero h1 {
        margin:0 !important;
        font-size:31px !important;
        line-height:1 !important;
        letter-spacing:-.035em !important;
    }

    body.rpg-properties-v64-active .rpgp2-breadcrumb {
        margin-top:9px !important;
        font-size:9.5px !important;
    }

    /* Three stats stay visible + full-width Save Search. */
    body.rpg-properties-v64-active .rpgp2-summary-wrap {
        position:relative !important;
        z-index:5 !important;
        margin-top:-37px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-card {
        display:grid !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:6px !important;
        padding:10px !important;
        border-radius:14px !important;
        background:#fff !important;
        box-shadow:0 12px 30px rgba(4,62,43,.11) !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-item,
    body.rpg-properties-v64-active .rpgp2-summary-item:nth-child(3) {
        min-width:0 !important;
        min-height:61px !important;
        display:grid !important;
        grid-template-columns:25px minmax(0,1fr) !important;
        align-items:center !important;
        gap:5px !important;
        padding:6px !important;
        border-radius:9px !important;
        background:#f5faf7 !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-item i {
        width:25px !important;
        height:25px !important;
        display:grid !important;
        place-items:center !important;
        margin:0 !important;
        border-radius:7px !important;
        background:#e9f7ef !important;
        color:#078e48 !important;
        font-size:10px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-item > div {
        min-width:0 !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-item strong {
        display:block !important;
        max-width:100% !important;
        overflow:hidden !important;
        color:#20392d !important;
        font-size:9px !important;
        line-height:1.15 !important;
        font-weight:850 !important;
        white-space:nowrap !important;
        text-overflow:ellipsis !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-item span {
        display:block !important;
        max-width:100% !important;
        margin-top:2px !important;
        overflow:hidden !important;
        color:#75857d !important;
        font-size:7.2px !important;
        line-height:1.15 !important;
        white-space:nowrap !important;
        text-overflow:ellipsis !important;
    }

    body.rpg-properties-v64-active .rpgp2-save-search {
        grid-column:1/-1 !important;
        width:100% !important;
        margin-top:1px !important;
    }

    body.rpg-properties-v64-active .rpgp2-save-search > *,
    body.rpg-properties-v64-active .rpgp2-save-search a {
        width:100% !important;
    }

    body.rpg-properties-v64-active .rpgp2-save-search a {
        min-height:43px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        border-radius:8px !important;
        background:#eb1e2b !important;
        font-size:10px !important;
        font-weight:850 !important;
    }

    body.rpg-properties-v64-active .rpgp2-results-section {
        padding-top:14px !important;
    }

    body.rpg-properties-v64-active .rpgp2-toolbar-right {
        grid-template-columns:88px minmax(0,1fr) 86px !important;
        gap:6px !important;
    }

    body.rpg-properties-v64-active .rpgp2-property-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-media {
        height:132px !important;
        min-height:132px !important;
        max-height:132px !important;
    }

    /* Mobile filter = premium bottom sheet / full filter experience. */
    body.rpg-properties-v64-active .search-box-offcanvas-content {
        left:0 !important;
        right:0 !important;
        bottom:0 !important;
        width:100% !important;
        max-width:none !important;
        height:min(94dvh,820px) !important;
        max-height:94dvh !important;
        border-radius:18px 18px 0 0 !important;
        transform:translateY(105%) !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas.rpgp64-open .search-box-offcanvas-content,
    body.rpg-properties-v64-active .search-box-offcanvas.active .search-box-offcanvas-content,
    body.rpg-properties-v64-active .search-box-offcanvas.show .search-box-offcanvas-content {
        transform:translateY(0) !important;
    }

    /* Mobile footer accordion */
    body.rpg-properties-v64-active .rpgx-footer.rpgp-footer {
        width:100% !important;
        margin:24px 0 0 !important;
        padding:24px 0 100px !important;
        background:#044d39 !important;
        color:#dcece4 !important;
    }

    body.rpg-properties-v64-active .rpgx-footer.rpgp-footer .rpgx-container {
        width:calc(100% - 24px) !important;
        max-width:none !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid {
        display:block !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:first-child {
        padding-bottom:13px !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:first-child p {
        max-width:300px !important;
        margin-top:8px !important;
        color:#c9ddd3 !important;
        font-size:10px !important;
        line-height:1.5 !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(2),
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(3),
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(4),
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(5) {
        border-top:1px solid rgba(255,255,255,.13) !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(2) h4,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(3) h4,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(4) h4,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(5) h4 {
        min-height:44px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        margin:0 !important;
        color:#fff !important;
        font-size:11px !important;
        font-weight:800 !important;
        cursor:pointer !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(2) h4::after,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(3) h4::after,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(4) h4::after,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(5) h4::after {
        content:'+' !important;
        width:24px !important;
        height:24px !important;
        display:grid !important;
        place-items:center !important;
        border-radius:50% !important;
        background:rgba(255,255,255,.10) !important;
        font-size:15px !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div.rpgp64-footer-open h4::after {
        content:'−' !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(2) > a,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(3) > a,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(4) > a,
    body.rpg-properties-v64-active .rpgx-footer-grid > div:nth-child(5) > a {
        display:none !important;
        padding:5px 0 !important;
        color:#c9ddd3 !important;
        font-size:10px !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div.rpgp64-footer-open > a {
        display:block !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:last-child {
        padding-top:14px !important;
        border-top:1px solid rgba(255,255,255,.13) !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:last-child h4 {
        margin:0 0 5px !important;
        color:#fff !important;
        font-size:11px !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-grid > div:last-child p {
        margin-bottom:8px !important;
        color:#c9ddd3 !important;
        font-size:9.5px !important;
        line-height:1.45 !important;
    }

    body.rpg-properties-v64-active .rpgx-newsletter {
        min-height:41px !important;
        padding:3px !important;
        border-radius:9px !important;
        background:#fff !important;
    }

    body.rpg-properties-v64-active .rpgx-newsletter input {
        min-height:34px !important;
        font-size:10px !important;
    }

    body.rpg-properties-v64-active .rpgx-newsletter button {
        min-width:36px !important;
        border-radius:7px !important;
    }

    body.rpg-properties-v64-active .rpgx-footer-bottom {
        margin-top:16px !important;
        padding-top:12px !important;
        display:flex !important;
        flex-direction:column !important;
        gap:4px !important;
        border-top:1px solid rgba(255,255,255,.12) !important;
        color:#acc8bb !important;
        font-size:8px !important;
    }

    /* APPROVED STICKY NAV — copied unchanged from the live approved version. */
    body.rpg-properties-v64-active .rpgp-mobile-bottom {
        position:fixed !important;
        left:8px !important;
        right:8px !important;
        bottom:max(8px,env(safe-area-inset-bottom)) !important;
        width:auto !important;
        min-height:68px !important;
        display:grid !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        align-items:center !important;
        gap:5px !important;
        padding:7px !important;
        border:1px solid rgba(7,89,60,.12) !important;
        border-radius:18px !important;
        background:rgba(255,255,255,.97) !important;
        box-shadow:0 14px 38px rgba(3,56,41,.20) !important;
        backdrop-filter:blur(16px) !important;
        -webkit-backdrop-filter:blur(16px) !important;
        z-index:1650 !important;
    }

    body.rpg-properties-v64-active .rpgp-mobile-bottom a {
        min-height:54px !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        gap:3px !important;
        padding:5px 4px !important;
        border-radius:13px !important;
        color:#52635a !important;
        font-size:9.5px !important;
        line-height:1 !important;
        font-weight:800 !important;
        text-decoration:none !important;
        touch-action:manipulation !important;
    }

    body.rpg-properties-v64-active .rpgp-mobile-bottom strong {
        width:29px !important;
        height:29px !important;
        display:grid !important;
        place-items:center !important;
        margin:0 !important;
        border-radius:10px !important;
        background:#edf7f1 !important;
        color:#078e48 !important;
        font-size:19px !important;
    }

    body.rpg-properties-v64-active .rpgp-mobile-bottom a[aria-current="page"] {
        background:#078e48 !important;
        color:#fff !important;
    }

    body.rpg-properties-v64-active .rpgp-mobile-bottom a[aria-current="page"] strong {
        background:rgba(255,255,255,.16) !important;
        color:#fff !important;
    }
}

/* -------------------------- SMALL TABLET -------------------------------- */
@media (min-width:577px) and (max-width:767px) {
    body.rpg-properties-v64-active .rpgp2-hero {
        min-height:180px !important;
        padding:37px 0 55px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-wrap {
        margin-top:-37px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-card {
        display:grid !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) auto !important;
        gap:8px !important;
        padding:11px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-item,
    body.rpg-properties-v64-active .rpgp2-summary-item:nth-child(3) {
        display:grid !important;
        grid-template-columns:31px minmax(0,1fr) !important;
        min-height:62px !important;
        align-items:center !important;
        gap:7px !important;
        padding:8px !important;
        border-radius:9px !important;
        background:#f6faf8 !important;
    }

    body.rpg-properties-v64-active .rpgp2-save-search a {
        min-height:62px !important;
    }

    body.rpg-properties-v64-active .rpgp2-property-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-media {
        height:190px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-title {
        font-size:12.3px !important;
        min-height:34px !important;
    }

    body.rpg-properties-v64-active .rpgp2-location,
    body.rpg-properties-v64-active .rpgp2-features {
        font-size:9.5px !important;
    }

    body.rpg-properties-v64-active .rpgp2-price {
        font-size:13px !important;
    }
}

/* ---------------------------- TABLET ------------------------------------ */
@media (min-width:768px) and (max-width:1024px) {
    body.rpg-properties-v64-active .rpgp2-container {
        width:calc(100% - 36px) !important;
    }

    body.rpg-properties-v64-active .rpgp2-hero {
        min-height:200px !important;
        padding:42px 0 60px !important;
    }

    body.rpg-properties-v64-active .rpgp2-hero h1 {
        font-size:40px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-wrap {
        margin-top:-40px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-card {
        display:grid !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) auto !important;
        gap:10px !important;
        padding:12px !important;
    }

    body.rpg-properties-v64-active .rpgp2-summary-item,
    body.rpg-properties-v64-active .rpgp2-summary-item:nth-child(3) {
        display:grid !important;
        grid-template-columns:34px minmax(0,1fr) !important;
        min-height:65px !important;
        align-items:center !important;
        gap:8px !important;
        padding:9px !important;
        border-radius:10px !important;
        background:#f6faf8 !important;
    }

    body.rpg-properties-v64-active .rpgp2-save-search a {
        min-height:65px !important;
    }

    body.rpg-properties-v64-active .rpgp2-toolbar-right {
        grid-template-columns:110px minmax(190px,1fr) 92px !important;
        gap:8px !important;
    }

    body.rpg-properties-v64-active .rpgp2-filter-button {
        width:110px !important;
    }

    body.rpg-properties-v64-active .rpgp2-property-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:14px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-media {
        height:226px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-body {
        padding:12px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card-title {
        min-height:37px !important;
        font-size:13px !important;
    }

    body.rpg-properties-v64-active .rpgp2-location,
    body.rpg-properties-v64-active .rpgp2-features {
        font-size:10px !important;
    }

    body.rpg-properties-v64-active .rpgp2-price {
        font-size:14px !important;
    }

    body.rpg-properties-v64-active .rpgp2-agent-copy strong {
        font-size:9.6px !important;
    }

    body.rpg-properties-v64-active .rpgp2-card .property-contact-action {
        min-height:38px !important;
        height:38px !important;
        font-size:10px !important;
    }

    /* Tablet drawer from right. */
    body.rpg-properties-v64-active .search-box-offcanvas-content {
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        width:min(440px,78vw) !important;
        max-width:440px !important;
        height:100dvh !important;
        max-height:100dvh !important;
        border-radius:16px 0 0 16px !important;
        transform:translateX(105%) !important;
    }

    body.rpg-properties-v64-active .search-box-offcanvas.rpgp64-open .search-box-offcanvas-content,
    body.rpg-properties-v64-active .search-box-offcanvas.active .search-box-offcanvas-content,
    body.rpg-properties-v64-active .search-box-offcanvas.show .search-box-offcanvas-content {
        transform:translateX(0) !important;
    }
}

/* ---------------------------- DESKTOP LOCK ------------------------------- */
@media (min-width:1025px) {
    [data-rpg-properties-v64-mobile-only] {
        display:none !important;
    }
}
