/* Best Property Plug — Global Mobile Header V1 */

.rpg-gmh1,
.rpg-gmh1__drawer,
.rpg-gmh1__backdrop,
.rpg-gmh1__external-trigger {
    display: none;
}

@media (max-width: 767px) {
    body:not(.rpg-gmh1-ready) .rpg-gmh1 {
        visibility: hidden;
    }

    body.rpg-gmh1-ready {
        --rpg-gmh1-height: 66px;
        --rpg-gmh1-deep: #07523d;
        --rpg-gmh1-deeper: #043e30;
        --rpg-gmh1-green: #17b865;
        --rpg-gmh1-mint: #dff7e9;
        --rpg-gmh1-line: rgba(255, 255, 255, .18);
    }

    body.rpg-gmh1-ready #header.rpg-market-header,
    body.rpg-gmh1-ready .rpg-market-topbar {
        display: none !important;
    }

    body.rpg-gmh1-ready .rpg-gmh1 {
        position: sticky;
        top: 0;
        z-index: 990;
        width: 100%;
        min-width: 0;
        min-height: var(--rpg-gmh1-height);
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        align-items: center;
        gap: 9px;
        padding: 8px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        background:
            radial-gradient(circle at 22% -35%, rgba(44, 222, 127, .24), transparent 45%),
            linear-gradient(110deg, var(--rpg-gmh1-deep), var(--rpg-gmh1-deeper));
        box-shadow: 0 8px 22px rgba(0, 42, 30, .18);
        color: #fff;
        isolation: isolate;
    }

    body.rpg-gmh1-ready .rpg-gmh1.is-bridged {
        display: none !important;
    }

    .rpg-gmh1 *,
    .rpg-gmh1__drawer *,
    .rpg-gmh1__external-trigger {
        box-sizing: border-box;
    }

    .rpg-gmh1__control,
    .rpg-gmh1__drawer-head button,
    .rpg-gmh1__external-trigger {
        width: 40px;
        height: 40px;
        min-width: 40px;
        display: inline-grid;
        place-items: center;
        margin: 0;
        padding: 0;
        border: 1px solid var(--rpg-gmh1-line);
        border-radius: 12px;
        background: rgba(255, 255, 255, .08);
        color: #fff;
        text-decoration: none;
        box-shadow: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .rpg-gmh1__account-toggle {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 14px;
    }

    .rpg-gmh1__control svg,
    .rpg-gmh1__drawer-head button svg,
    .rpg-gmh1__external-trigger svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .rpg-gmh1__market-toggle svg {
        width: 19px;
        height: 19px;
        fill: currentColor;
        stroke: none;
    }

    .rpg-gmh1__external-trigger svg {
        fill: currentColor;
        stroke: none;
    }

    .rpg-gmh1__brand {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #fff !important;
        text-decoration: none !important;
    }

    .rpg-gmh1__brand-mark {
        width: 40px;
        height: 40px;
        min-width: 40px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: linear-gradient(145deg, #45d88b, #20b968);
        color: #fff;
        font-size: 23px;
        font-weight: 850;
        box-shadow: 0 8px 17px rgba(0, 41, 28, .2);
    }

    .rpg-gmh1__brand-name {
        min-width: 0;
        display: grid;
        color: #fff;
        font-size: 13px;
        font-weight: 850;
        line-height: 1.03;
        letter-spacing: .025em;
        white-space: nowrap;
    }

    .rpg-gmh1__brand-name small {
        color: #a9e4c4;
        font-size: 12px;
        font-weight: 750;
    }

    .rpg-gmh1__actions {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .rpg-gmh1__profile {
        border-color: rgba(66, 222, 135, .48);
        background: rgba(38, 196, 108, .22);
    }

    .rpg-gmh1__market-toggle,
    .rpg-gmh1__external-trigger {
        border-color: #34cd79;
        background: linear-gradient(145deg, #28ca73, #13a858);
        color: #fff;
    }

    .rpg-gmh1__control:focus-visible,
    .rpg-gmh1__drawer a:focus-visible,
    .rpg-gmh1__drawer button:focus-visible,
    .rpg-gmh1__external-trigger:focus-visible {
        outline: 3px solid rgba(126, 239, 174, .72);
        outline-offset: 2px;
    }

    .rpg-gmh1__backdrop {
        position: fixed;
        inset: 0;
        z-index: 1190;
        display: block;
        background: rgba(1, 24, 18, .62);
        opacity: 0;
        backdrop-filter: blur(3px);
        transition: opacity .23s ease;
    }

    .rpg-gmh1__backdrop[hidden] {
        display: none !important;
    }

    body.rpg-gmh1-drawer-open .rpg-gmh1__backdrop {
        opacity: 1;
    }

    body.rpg-gmh1-drawer-open {
        overflow: hidden !important;
        touch-action: none;
    }

    .rpg-gmh1__drawer {
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 1200;
        width: min(88vw, 370px);
        max-width: 370px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: max(12px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
        border: 1px solid rgba(255, 255, 255, .13);
        background:
            radial-gradient(circle at 85% 4%, rgba(40, 213, 119, .25), transparent 25%),
            linear-gradient(155deg, #064d39 0%, #063d31 56%, #032d25 100%);
        color: #fff;
        box-shadow: 0 0 52px rgba(0, 25, 18, .34);
        visibility: hidden;
        transition: transform .27s ease, visibility .27s ease;
    }

    .rpg-gmh1__drawer--market {
        right: 0;
        border-radius: 22px 0 0 22px;
        transform: translateX(104%);
    }

    .rpg-gmh1__drawer--account {
        left: 0;
        border-radius: 0 22px 22px 0;
        transform: translateX(-104%);
    }

    .rpg-gmh1__drawer.is-open {
        visibility: visible;
        transform: translateX(0);
    }

    .rpg-gmh1__drawer-head {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 4px 2px 13px;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .rpg-gmh1__drawer-head > div {
        display: grid;
        gap: 2px;
    }

    .rpg-gmh1__drawer-head span {
        color: #78e7a8;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .11em;
    }

    .rpg-gmh1__drawer-head strong {
        color: #fff;
        font-size: 22px;
        line-height: 1.08;
    }

    .rpg-gmh1__menu {
        flex: 1 1 auto;
        display: grid;
        align-content: start;
        gap: 6px;
        overflow-y: auto;
        padding: 12px 2px;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .rpg-gmh1__menu > a {
        min-width: 0;
        min-height: 57px;
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr) 16px;
        align-items: center;
        gap: 9px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, .11);
        border-radius: 13px;
        background: rgba(255, 255, 255, .065);
        color: #fff !important;
        text-decoration: none !important;
        transition: background .18s ease, border-color .18s ease, transform .18s ease;
    }

    .rpg-gmh1__menu > a:active {
        transform: scale(.985);
    }

    .rpg-gmh1__menu > a.is-active {
        border-color: rgba(97, 231, 153, .64);
        background: linear-gradient(110deg, rgba(29, 190, 100, .35), rgba(255, 255, 255, .1));
        box-shadow: inset 3px 0 0 #43dc87;
    }

    .rpg-gmh1__menu-icon {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgba(91, 225, 149, .13);
        color: #76e6a6;
    }

    .rpg-gmh1__menu-icon svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .rpg-gmh1__menu > a > span:nth-child(2) {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .rpg-gmh1__menu strong {
        overflow: hidden;
        color: #fff;
        font-size: 13px;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rpg-gmh1__menu small {
        overflow: hidden;
        color: #a8cab9;
        font-size: 11px;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rpg-gmh1__menu b {
        color: #8ae8b1;
        font-size: 22px;
        font-weight: 400;
    }

    .rpg-gmh1__drawer-actions {
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding-top: 11px;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .rpg-gmh1__drawer-actions a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 10px;
        background: rgba(255, 255, 255, .08);
        color: #fff !important;
        font-size: 11px;
        font-weight: 750;
        text-decoration: none !important;
    }

    .rpg-gmh1__drawer-actions .is-primary {
        grid-column: 1 / -1;
        border-color: #2ed17a;
        background: linear-gradient(110deg, #10a957, #18c66a);
    }

    .rpg-gmh1__external-trigger {
        margin-inline-start: 5px;
    }
}

@media (max-width: 359px) {
    body.rpg-gmh1-ready .rpg-gmh1 {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 6px;
        padding-inline: 7px;
    }

    .rpg-gmh1__account-toggle {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .rpg-gmh1__control {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .rpg-gmh1__brand-mark {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 21px;
    }

    .rpg-gmh1__brand-name {
        font-size: 12px;
    }

    .rpg-gmh1__brand-name small {
        font-size: 11px;
    }
}

/* BPP MOBILE HEADER DUPLICATE REMOVAL V1.0
   The dedicated .rpg-gmh1 header is the single mobile header.
   Hide Homzen's old white #header only on phone widths. */
@media (max-width: 767px) {
    #header.main-header,
    #header.rpg-market-header,
    #header.main-header.rpg-market-header {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .rpg-gmh1[data-rpg-gmh1-header] {
        display: flex !important;
        visibility: visible !important;
    }
}

/* BPP_GLOBAL_MOBILE_HEADER_CANONICAL_AUTHORITY_V116_START */
@media (max-width: 1100px) {
  body > .rpg-gmh1[data-rpg-gmh1-header] {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1600 !important;
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  body:has(#admin_bar) > .rpg-gmh1[data-rpg-gmh1-header] { top: 40px !important; }
}
/* BPP_GLOBAL_MOBILE_HEADER_CANONICAL_AUTHORITY_V116_END */

/* =========================================================
   BPP MOBILE MAIN MENU ABOVE HEADER STACKING V1
   Keep the global mobile header below open drawers.
   ========================================================= */
@media (max-width: 1100px) {
    .rpg-gmh1[data-rpg-gmh1-header] {
        z-index: 1600 !important;
    }

    .rpg-gmh1__backdrop[data-rpg-gmh1-close] {
        z-index: 2147481000 !important;
    }

    .rpg-gmh1__drawer,
    #rpg-gmh1-market-drawer,
    #rpg-gmh1-account-drawer {
        z-index: 2147481100 !important;
    }
}
/* BPP_GLOBAL_MOBILE_MENU_PREMIUM_WHITE_V1_1_CSS_ONLY_START
   Approved white premium mobile drawer.
   CSS-only: no Blade markup replacement, no JS, no DB changes.
*/
@media (max-width: 767px) {
    /* ---------- backdrop + drawer shell ---------- */
    #rpg-gmh1-market-drawer.rpg-gmh1__drawer--market {
        width: min(92vw, 400px) !important;
        padding: 16px 14px 14px !important;
        border: 1px solid #e4ebe7 !important;
        border-right: 0 !important;
        border-radius: 26px 0 0 26px !important;
        background: #ffffff !important;
        color: #101828 !important;
        box-shadow: -20px 0 60px rgba(15, 23, 42, .18) !important;
    }

    body.rpg-gmh1-drawer-open .rpg-gmh1__backdrop {
        background: rgba(15, 23, 42, .48) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }

    /* ---------- drawer heading ---------- */
    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-head {
        padding: 4px 2px 15px !important;
        border-bottom: 1px solid #e6ece9 !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-head > div {
        gap: 3px !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-head span {
        color: #0d9256 !important;
        font-size: 10.5px !important;
        font-weight: 850 !important;
        letter-spacing: .12em !important;
        line-height: 1.2 !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-head strong {
        color: #111827 !important;
        font-size: 27px !important;
        font-weight: 760 !important;
        line-height: 1.05 !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-head button {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border: 1px solid #e2e8e5 !important;
        border-radius: 15px !important;
        background: #f8faf9 !important;
        color: #172033 !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .05) !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-head button:hover,
    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-head button:focus-visible {
        border-color: #b9e4cd !important;
        background: #eef9f3 !important;
        color: #087a48 !important;
    }

    /* ---------- menu scroll area ---------- */
    #rpg-gmh1-market-drawer .rpg-gmh1__menu {
        display: flex !important;
        flex-direction: column !important;
        align-content: stretch !important;
        gap: 8px !important;
        padding: 14px 1px 12px !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        scrollbar-width: thin !important;
        scrollbar-color: #d6dfda transparent !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu::-webkit-scrollbar {
        width: 5px !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu::-webkit-scrollbar-track {
        background: transparent !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu::-webkit-scrollbar-thumb {
        background: #d6dfda !important;
        border-radius: 999px !important;
    }

    /* ---------- top-level plain links ---------- */
    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a {
        position: relative !important;
        min-width: 0 !important;
        min-height: 58px !important;
        display: flex !important;
        align-items: center !important;
        gap: 11px !important;
        width: 100% !important;
        padding: 10px 12px !important;
        border: 1px solid #e3e9e6 !important;
        border-radius: 15px !important;
        background: #ffffff !important;
        color: #101828 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, .025) !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a:hover,
    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a:focus-visible {
        border-color: #c7e8d6 !important;
        background: #f7fcf9 !important;
        color: #087a48 !important;
        transform: none !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a.is-active,
    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a[data-rpg-gmh1-path="/"] {
        border-color: #bde5cf !important;
        background: linear-gradient(105deg, #edf9f3, #f9fcfa) !important;
        color: #101828 !important;
        box-shadow: none !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a::before,
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu > summary::before {
        content: "" !important;
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
        border-radius: 10px !important;
        background-color: #eef8f3 !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 21px 21px !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a::after {
        content: "" !important;
        width: 16px !important;
        height: 16px !important;
        margin-left: auto !important;
        flex: 0 0 16px !important;
        background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344054' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") !important;
    }

    /* ---------- top-level icons ---------- */
    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a[data-rpg-gmh1-path="/"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3l8.5 7.5'/%3E%3Cpath d='M5.5 9.5V21h13V9.5'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/svg%3E") !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a[data-rpg-gmh1-path="/projects"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V5h10v16'/%3E%3Cpath d='M15 9h4v12M8 8h4M8 12h4M8 16h4M3 21h18'/%3E%3C/svg%3E") !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a[data-rpg-gmh1-path="/agents"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20c0-4 2.7-6.5 6-6.5S15 16 15 20M14 14.5c3.7-.7 7 1.3 7 5.5'/%3E%3C/svg%3E") !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a[data-rpg-gmh1-path="/agencies"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4h10v17M15 9h4v12M8 7h2M8 11h2M8 15h2M12 7h1M12 11h1M12 15h1M3 21h18'/%3E%3C/svg%3E") !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a[data-rpg-gmh1-path="/developers"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15a8 8 0 0 1 16 0M3 15h18M8 15v-4M16 15v-4M12 15V7M6 19h12'/%3E%3C/svg%3E") !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__menu > a[data-rpg-gmh1-path="/blog"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h11a3 3 0 0 1 3 3v13H8a3 3 0 0 1-3-3ZM8 4v16M11 8h5M11 12h5'/%3E%3C/svg%3E") !important;
    }

    /* ---------- Buy / Rent accordion cards ---------- */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 17px !important;
        background: transparent !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu[open] {
        padding: 0 0 8px !important;
        border: 1px solid #e3e9e6 !important;
        background: #f7f9f8 !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu > summary {
        min-height: 58px !important;
        display: flex !important;
        align-items: center !important;
        gap: 11px !important;
        width: 100% !important;
        padding: 10px 12px !important;
        border: 1px solid #e3e9e6 !important;
        border-radius: 15px !important;
        background: #ffffff !important;
        color: #101828 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, .025) !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu[open] > summary {
        border-color: transparent !important;
        border-radius: 16px 16px 10px 10px !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu > summary > span:first-of-type {
        flex: 1 1 auto !important;
        color: #101828 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu > summary > span:last-child {
        width: 18px !important;
        height: 18px !important;
        flex: 0 0 18px !important;
        overflow: hidden !important;
        color: transparent !important;
        font-size: 0 !important;
        transform: none !important;
        background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344054' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
        transition: transform .18s ease !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu[open] > summary > span:last-child {
        transform: rotate(180deg) !important;
    }

    /* default taxonomy icon */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu > summary::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3l8.5 7.5M5.5 9.5V21h13V9.5M9 21v-7h6v7'/%3E%3C/svg%3E") !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-menu:has(a[data-rpg-gmh1-path="/rent"]) > summary::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23098a52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='9' r='3'/%3E%3Cpath d='M10.5 10.5 21 21M15 15l2-2M18 18l2-2'/%3E%3C/svg%3E") !important;
    }

    /* ---------- child rows ---------- */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 0 9px !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a {
        min-height: 43px !important;
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        width: 100% !important;
        padding: 6px 9px !important;
        border: 1px solid #edf1ef !important;
        border-radius: 11px !important;
        background: #ffffff !important;
        color: #273142 !important;
        font-size: 13.5px !important;
        font-weight: 550 !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        opacity: 1 !important;
        box-shadow: 0 1px 4px rgba(15, 23, 42, .025) !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a:hover,
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a:focus-visible,
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a.is-active {
        border-color: #c9e9d8 !important;
        background: #eef9f4 !important;
        color: #087a48 !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a::before {
        content: "" !important;
        width: 29px !important;
        height: 29px !important;
        flex: 0 0 29px !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 18px 18px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3l8.5 7.5M5.5 9.5V21h13V9.5M9 21v-7h6v7'/%3E%3C/svg%3E") !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a::after {
        content: "" !important;
        width: 15px !important;
        height: 15px !important;
        margin-left: auto !important;
        flex: 0 0 15px !important;
        background: center / 15px 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") !important;
    }

    /* View all */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[data-rpg-gmh1-path="/sale"]::before,
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[data-rpg-gmh1-path="/rent"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/svg%3E") !important;
    }

    /* apartment + commercial + office */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/apartment"]::before,
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/commercial"]::before,
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/office-space"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4h12v17M9 7h2M13 7h2M9 11h2M13 11h2M9 15h2M13 15h2M3 21h18'/%3E%3C/svg%3E") !important;
    }

    /* townhouse */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/townhouse"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 11 7.5 6l4.5 4.5L16.5 6l5 5M4 10v11h7V10M13 10v11h7V10'/%3E%3C/svg%3E") !important;
    }

    /* shop */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/shop"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16l-1.5-5h-13zM5 9v11h14V9M8 20v-6h8v6'/%3E%3C/svg%3E") !important;
    }

    /* retail */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/retail-space"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h2l2 10h9l2-7H7'/%3E%3Ccircle cx='10' cy='19' r='1.3'/%3E%3Ccircle cx='17' cy='19' r='1.3'/%3E%3C/svg%3E") !important;
    }

    /* warehouse */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/warehouse"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 12 4l9 5v12H3zM7 21v-8h10v8M7 16h10M7 19h10'/%3E%3C/svg%3E") !important;
    }

    /* land */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/land"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") !important;
    }

    /* agricultural land must override /land */
    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a[href$="/agricultural-land"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9M12 14c-4 0-7-2.5-7-6 4 0 7 2.5 7 6ZM12 11c0-4 2.7-7 7-7 0 4-2.7 7-7 7Z'/%3E%3C/svg%3E") !important;
    }

    /* ---------- bottom actions ---------- */
    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 12px 1px 0 !important;
        border-top: 1px solid #e6ece9 !important;
        background: #ffffff !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-actions a {
        min-height: 48px !important;
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        padding: 9px 14px !important;
        border: 1px solid #a2debf !important;
        border-radius: 14px !important;
        background: #f4fbf7 !important;
        color: #087a48 !important;
        font-size: 14px !important;
        font-weight: 750 !important;
        text-decoration: none !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__drawer-actions a.is-primary {
        grid-column: auto !important;
        border-color: #0aae5f !important;
        background: linear-gradient(110deg, #0aa956, #19c76d) !important;
        color: #ffffff !important;
        box-shadow: 0 9px 22px rgba(16, 185, 129, .18) !important;
    }
}

@media (max-width: 390px) {
    #rpg-gmh1-market-drawer.rpg-gmh1__drawer--market {
        width: 94vw !important;
        padding-left: 11px !important;
        padding-right: 11px !important;
    }

    #rpg-gmh1-market-drawer .rpg-gmh1__taxonomy-submenu a {
        min-height: 41px !important;
        font-size: 13px !important;
    }
}
/* BPP_GLOBAL_MOBILE_MENU_PREMIUM_WHITE_V1_1_CSS_ONLY_END */
