/* =========================================================
   MAGNIFY ESTATE — LUXURY PROPERTY CARDS
   ========================================================= */

.property-item.homeya-box {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    position: relative;
}

/* Luxury gold line */
.property-item.homeya-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #d4a91f;
    transform: translateX(-50%);
    transition: width 0.4s ease;
    z-index: 10;
}

.property-item.homeya-box:hover {
    transform: translateY(-7px);
    border-color: rgba(212, 169, 31, 0.35);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.property-item.homeya-box:hover::before {
    width: 100%;
}


/* =========================================================
   IMAGE
   ========================================================= */

.property-item .archive-top {
    overflow: hidden;
}

.property-item .images-group {
    position: relative;
    display: block;
    overflow: hidden;
}

.property-item .images-style {
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.property-item .images-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(.2,.6,.2,1);
}

.property-item:hover .images-style img {
    transform: scale(1.06);
}


/* subtle luxury image overlay */

.property-item .images-group::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.18) 0%,
        transparent 35%,
        transparent 65%,
        rgba(0,0,0,0.15) 100%
    );
    pointer-events: none;
    z-index: 1;
}


/* =========================================================
   TOP BADGES
   ========================================================= */

.property-item .images-group .top {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 3;
}

.property-item .flag-tag {
    border: none;
    border-radius: 30px;
    padding: 7px 12px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Featured */
.property-item .flag-tag.success {
    background: #171717 !important;
    color: #ffffff !important;
}

/* Renting / status */
.property-item .flag-tag.primary {
    background: #d4a91f !important;
    color: #ffffff !important;
}


/* =========================================================
   WISHLIST
   ========================================================= */

.property-item .box-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.94) !important;
    color: #171717 !important;
    border: none !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

.property-item .box-icon:hover {
    background: #d4a91f !important;
    color: #ffffff !important;
    transform: scale(1.08);
}


/* =========================================================
   PROPERTY TYPE
   ========================================================= */

.property-item .images-group .bottom {
    position: absolute;
    bottom: 15px;
    left: 16px;
    z-index: 3;
}

.property-item .flag-tag.style-2 {
    background: rgba(255,255,255,0.94) !important;
    color: #171717 !important;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 4px 15px rgba(0,0,0,.10);
    backdrop-filter: blur(6px);
}


/* =========================================================
   CONTENT
   ========================================================= */

.property-item .content {
    padding: 20px 20px 18px !important;
}

.property-item .content .h7 {
    margin-bottom: 10px;
}

.property-item .content .h7 a {
    color: #111827 !important;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.property-item:hover .content .h7 a {
    color: #d4a91f !important;
}


/* =========================================================
   LOCATION
   ========================================================= */

.property-item .desc {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
}

.property-item .desc i {
    color: #d4a91f;
    font-size: 16px;
}

.property-item .desc p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}


/* =========================================================
   BED / BATH / AREA
   ========================================================= */

.property-item .meta-list {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0 0 !important;
    margin: 0;
    border-top: 1px solid #eeeeee;
}

.property-item .meta-list .item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.property-item .meta-list .item i {
    color: #d4a91f;
    font-size: 18px;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.property-item .archive-bottom {
    padding: 16px 20px !important;
    border-top: 1px solid #eeeeee !important;
    background: #ffffff;
}


/* Agent image */

.property-item .archive-bottom .avatar {
    width: 38px !important;
    height: 38px !important;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #e5e7eb;
    overflow: hidden;
}

.property-item .archive-bottom .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Agent name */

.property-item .archive-bottom .gap-8 > span {
    font-size: 13px;
    color: #4b5563;
    font-weight: 600;
}


/* =========================================================
   PRICE — IMPORTANT
   ========================================================= */

.property-item .archive-bottom .h6 {
    color: #111827 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px;
    white-space: nowrap;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .property-item .images-style {
        height: 250px;
    }

    .property-item .content {
        padding: 18px !important;
    }

    .property-item .archive-bottom {
        padding: 15px 18px !important;
    }
}

@media (max-width: 575px) {

    .property-item.homeya-box {
        border-radius: 15px;
    }

    .property-item .images-style {
        height: 240px;
    }

    .property-item .content .h7 a {
        font-size: 17px;
    }

    .property-item .archive-bottom .h6 {
        font-size: 18px !important;
    }
}

/* =========================================================
   WISHLIST BUTTON - FIX HEART VISIBILITY
   ========================================================= */

.property-item .box-icon[data-bb-toggle="add-to-wishlist"] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(255, 255, 255, 0.95) !important;
    color: #111827 !important;

    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 50% !important;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);

    transition: all 0.25s ease;
}


/* Force SVG heart to dark color */

.property-item .box-icon[data-bb-toggle="add-to-wishlist"] svg {
    width: 21px !important;
    height: 21px !important;

    stroke: #111827 !important;
    color: #111827 !important;
    fill: transparent !important;

    stroke-width: 2 !important;
}


/* Hover */

.property-item .box-icon[data-bb-toggle="add-to-wishlist"]:hover {
    background: #d4a91f !important;
    border-color: #d4a91f !important;
    transform: scale(1.08);
}

.property-item .box-icon[data-bb-toggle="add-to-wishlist"]:hover svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}


/* Active / already wishlisted */

.property-item .box-icon[data-bb-toggle="add-to-wishlist"].active,
.property-item .box-icon[data-bb-toggle="add-to-wishlist"].added {
    background: #d4a91f !important;
    border-color: #d4a91f !important;
}

.property-item .box-icon[data-bb-toggle="add-to-wishlist"].active svg,
.property-item .box-icon[data-bb-toggle="add-to-wishlist"].added svg {
    stroke: #ffffff !important;
    fill: #ffffff !important;
}


/* ==========================================================
   MAGNIFY ESTATE
   LUXURY PROPERTY CATEGORY NAVIGATION
   ========================================================== */

.nav-tab-recommended {
    width: fit-content !important;
    max-width: calc(100% - 30px);

    margin: 0 auto 42px !important;
    padding: 7px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;

    gap: 5px !important;

    list-style: none !important;

    background: #ffffff !important;

    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    border-radius: 100px !important;

    box-shadow:
        0 12px 35px rgba(17, 24, 39, 0.07),
        0 2px 8px rgba(17, 24, 39, 0.03) !important;
}


/* ==========================================================
   REMOVE OLD TAB STYLING
   ========================================================== */

.nav-tab-recommended .nav-tab-item {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}


/* ==========================================================
   NORMAL TAB
   ========================================================== */

.nav-tab-recommended .nav-link-item {
    position: relative;

    min-height: 48px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 22px !important;

    border: 0 !important;
    border-radius: 100px !important;

    background: transparent !important;

    color: #5f6470 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: 0.1px;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease !important;
}


/* ==========================================================
   SMALL GOLD DOT
   ========================================================== */

.nav-tab-recommended .nav-link-item::before {
    content: "";

    width: 5px;
    height: 5px;

    margin-right: 0;

    background: #d4a91f;

    border-radius: 50%;

    opacity: 0;

    transform: scale(0);

    transition:
        opacity .25s ease,
        transform .25s ease,
        margin .25s ease;
}


/* ==========================================================
   HOVER
   ========================================================== */

.nav-tab-recommended .nav-link-item:hover {
    background: #f7f5ef !important;

    color: #111827 !important;

    transform: translateY(-1px);
}

.nav-tab-recommended .nav-link-item:hover::before {
    opacity: 1;

    transform: scale(1);

    margin-right: 8px;
}


/* ==========================================================
   ACTIVE TAB
   ========================================================== */

.nav-tab-recommended .nav-link-item.active {
    background: #111827 !important;

    color: #ffffff !important;

    box-shadow:
        0 8px 20px rgba(17, 24, 39, 0.18) !important;

    padding-left: 19px !important;
    padding-right: 23px !important;
}


/* Gold dot always visible on selected tab */

.nav-tab-recommended .nav-link-item.active::before {
    opacity: 1;

    transform: scale(1);

    margin-right: 9px;

    background: #d4a91f;
}


/* Active hover */

.nav-tab-recommended .nav-link-item.active:hover {
    background: #111827 !important;

    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ==========================================================
   OPTIONAL GOLD GLOW AROUND WHOLE NAV ON HOVER
   ========================================================== */

.nav-tab-recommended:hover {
    border-color: rgba(212, 169, 31, 0.25) !important;

    box-shadow:
        0 15px 40px rgba(17, 24, 39, 0.08),
        0 0 0 3px rgba(212, 169, 31, 0.025) !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    .nav-tab-recommended {
        width: calc(100% - 30px) !important;

        border-radius: 20px !important;

        padding: 8px !important;

        gap: 5px !important;
    }

    .nav-tab-recommended .nav-link-item {
        min-height: 44px;

        padding: 0 17px !important;

        font-size: 13px !important;
    }

}


/* ==========================================================
   MOBILE — HORIZONTAL LUXURY SCROLLER
   ========================================================== */

@media (max-width: 575px) {

    .nav-tab-recommended {
        width: calc(100% - 24px) !important;
        max-width: none !important;

        margin-bottom: 28px !important;

        padding: 6px !important;

        justify-content: flex-start !important;
        flex-wrap: nowrap !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        border-radius: 100px !important;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .nav-tab-recommended::-webkit-scrollbar {
        display: none;
    }


    .nav-tab-recommended .nav-tab-item {
        flex: 0 0 auto !important;
    }


    .nav-tab-recommended .nav-link-item {
        min-height: 43px;

        padding: 0 17px !important;

        font-size: 13px !important;
    }


    .nav-tab-recommended .nav-link-item.active {
        padding-left: 16px !important;
        padding-right: 18px !important;
    }

}







/* ============================================================
   MAGNIFY ESTATE — HERO PROPERTY SEARCH V2
   CLEAN REPLACEMENT CSS
   DELETE ALL PREVIOUS .flat-tab-form CUSTOM CSS FIRST
   ============================================================ */

.flat-tab.flat-tab-form {
    --me-gold: #d4a91f;
    --me-gold-soft: #fbf7e9;
    --me-black: #111827;
    --me-text: #222936;
    --me-muted: #8b919b;
    --me-border: #e7e8eb;
    --me-bg: #ffffff;

    position: relative;
    width: min(92%, 1420px);
    margin: 0 auto;
    z-index: 10;
}


/* ============================================================
   1. PROJECT / FOR RENT / FOR SALE
   ============================================================ */

.flat-tab-form .nav-tab-form.style-1 {
    width: fit-content !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 3px !important;

    margin: 0 auto 14px !important;
    padding: 5px !important;

    list-style: none !important;

    background: rgba(255, 255, 255, 0.96) !important;

    border: 1px solid rgba(17, 24, 39, 0.07) !important;
    border-radius: 999px !important;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10) !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Individual item */

.flat-tab-form .nav-tab-form .nav-tab-item {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}


/* Links */

.flat-tab-form .nav-tab-form .nav-link-item {
    min-width: 125px !important;
    height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 8px;

    margin: 0 !important;
    padding: 0 20px !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 999px !important;

    color: #646b77 !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease !important;
}


/* Gold active dot */

.flat-tab-form .nav-tab-form .nav-link-item::before {
    content: "";

    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    background: var(--me-gold);

    border-radius: 50%;

    opacity: 0;
    transform: scale(0);

    transition: .25s ease;
}


/* Hover */

.flat-tab-form .nav-tab-form .nav-link-item:hover {
    background: #f6f6f5 !important;
    color: var(--me-black) !important;
}


/* Active */

.flat-tab-form .nav-tab-form .nav-link-item.active {
    background: var(--me-black) !important;
    color: #ffffff !important;

    box-shadow:
        0 7px 18px rgba(17, 24, 39, 0.18) !important;
}


.flat-tab-form .nav-tab-form .nav-link-item.active::before {
    opacity: 1;
    transform: scale(1);
}


/* ============================================================
   2. MAIN SEARCH BAR
   ============================================================ */

.flat-tab-form .form-sl .wd-find-select {
    width: 100% !important;
    height: 82px !important;
    min-height: 82px !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 135px !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 7px !important;

    background: rgba(255, 255, 255, 0.97) !important;

    border: 1px solid rgba(17, 24, 39, 0.06) !important;
    border-radius: 18px !important;

    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.13) !important;

    overflow: visible !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* ============================================================
   3. INNER GRID
   ============================================================ */

.flat-tab-form .wd-find-select .inner-group {
    width: 100% !important;
    height: 68px !important;
    min-height: 68px !important;

    display: grid !important;

    grid-template-columns:
        1.2fr
        1.2fr
        .85fr
        115px !important;

    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
}


/* ============================================================
   4. MAIN FIELD BLOCKS
   ============================================================ */

.flat-tab-form .wd-find-select .form-style,
.flat-tab-form .wd-find-select .box-filter {
    position: relative;

    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;

    display: flex !important;
    flex-direction: column;
    justify-content: center !important;

    margin: 0 !important;
    padding: 4px 22px !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* IMPORTANT:
   Disable previous focus background completely */

.flat-tab-form .wd-find-select .form-style:focus,
.flat-tab-form .wd-find-select .form-style:focus-within,
.flat-tab-form .wd-find-select .form-style:hover {
    background: transparent !important;
    box-shadow: none !important;
}


/* Separators */

.flat-tab-form .wd-find-select .form-style:not(:first-child)::before,
.flat-tab-form .wd-find-select .box-filter::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 1px;
    height: 34px;

    background: var(--me-border);
}


/* ============================================================
   5. LABELS
   ============================================================ */

.flat-tab-form .wd-find-select .form-style > label {
    display: block !important;

    margin: 0 0 5px !important;
    padding: 0 !important;

    color: var(--me-muted) !important;

    font-size: 9px !important;
    line-height: 10px !important;
    font-weight: 800 !important;

    letter-spacing: 1.4px !important;

    text-transform: uppercase !important;
}


/* ============================================================
   6. INPUTS
   ============================================================ */

.flat-tab-form .wd-find-select .form-control {
    width: 100% !important;

    height: 22px !important;
    min-height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    box-shadow: none !important;

    color: var(--me-text) !important;

    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 700 !important;
}


.flat-tab-form .wd-find-select .form-control:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


.flat-tab-form .wd-find-select .form-control::placeholder {
    color: #343b47 !important;
    opacity: 1 !important;
}


/* ============================================================
   7. LOCATION
   ============================================================ */

.flat-tab-form .form-search-location .group-ip {
    width: 100% !important;
    height: 22px !important;

    display: flex !important;
    align-items: center !important;

    gap: 8px !important;
}


.flat-tab-form .form-search-location .group-ip input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}


.flat-tab-form .form-search-location .group-ip svg {
    width: 18px !important;
    height: 18px !important;

    flex: 0 0 18px;

    margin: 0 !important;

    color: var(--me-gold) !important;
    stroke: var(--me-gold) !important;
}


/* ============================================================
   8. CATEGORY
   ============================================================ */

.flat-tab-form .form-search-category .group-select {
    width: 100% !important;
    height: 22px !important;
}


.flat-tab-form .form-search-category .nice-select {
    width: 100% !important;
    height: 22px !important;
    min-height: 22px !important;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 25px 0 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    color: var(--me-black) !important;

    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 750 !important;
}


/* Dropdown */

.flat-tab-form .form-search-category .nice-select .list {
    top: calc(100% + 18px) !important;
    left: -12px !important;

    min-width: 210px !important;

    margin: 0 !important;
    padding: 7px !important;

    background: #ffffff !important;

    border: 1px solid var(--me-border) !important;
    border-radius: 12px !important;

    box-shadow:
        0 15px 40px rgba(17, 24, 39, .14) !important;

    z-index: 1000 !important;
}


.flat-tab-form .form-search-category .nice-select .option {
    min-height: 38px !important;

    display: flex !important;
    align-items: center !important;

    padding: 0 12px !important;

    border-radius: 7px !important;

    color: #505762 !important;

    font-size: 13px !important;
    font-weight: 600 !important;
}


.flat-tab-form .form-search-category .nice-select .option:hover,
.flat-tab-form .form-search-category .nice-select .option.selected,
.flat-tab-form .form-search-category .nice-select .option.focus {
    background: var(--me-gold-soft) !important;
    color: var(--me-black) !important;
}


/* ============================================================
   9. ADVANCED BUTTON
   ============================================================ */

.flat-tab-form .wd-find-select .box-filter {
    align-items: center !important;

    padding-left: 12px !important;
    padding-right: 12px !important;
}


.flat-tab-form .filter-advanced {
    width: 100% !important;
    height: 45px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 3px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--me-black) !important;

    text-decoration: none !important;
}


.flat-tab-form .filter-advanced svg {
    width: 18px !important;
    height: 18px !important;

    margin: 0 !important;

    stroke: var(--me-gold) !important;

    transition: transform .25s ease;
}


.flat-tab-form .filter-advanced .text-1 {
    margin: 0 !important;

    color: var(--me-black) !important;

    font-size: 10px !important;
    line-height: 12px !important;
    font-weight: 700 !important;
}


.flat-tab-form .filter-advanced:hover svg {
    transform: rotate(8deg);
}


/* ============================================================
   10. SEARCH BUTTON
   ============================================================ */

.flat-tab-form .wd-find-select > .tf-btn.primary {
    position: relative !important;

    width: 127px !important;

    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;

    align-self: center !important;
    justify-self: center !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 18px !important;

    overflow: hidden !important;

    background: var(--me-black) !important;

    border: 0 !important;
    border-radius: 13px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 750 !important;

    letter-spacing: .2px;

    box-shadow:
        0 8px 22px rgba(17, 24, 39, .17) !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease !important;
}


/* Small gold line */

.flat-tab-form .wd-find-select > .tf-btn.primary::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 38px;
    height: 3px;

    transform: translateX(-50%);

    background: var(--me-gold);

    border-radius: 10px 10px 0 0;

    transition: width .25s ease;
}


.flat-tab-form .wd-find-select > .tf-btn.primary:hover {
    background: #080d16 !important;

    transform: translateY(-1px);

    box-shadow:
        0 12px 27px rgba(17, 24, 39, .23) !important;
}


.flat-tab-form .wd-find-select > .tf-btn.primary:hover::before {
    width: 65%;
}


/* ============================================================
   11. ADVANCED PANEL
   Major fix: compact instead of huge white box
   ============================================================ */

.flat-tab-form .wd-search-form {
    width: 100% !important;

    margin: 10px 0 0 !important;
    padding: 22px !important;

    background: rgba(255, 255, 255, .985) !important;

    border: 1px solid rgba(17, 24, 39, .08) !important;
    border-radius: 16px !important;

    box-shadow:
        0 18px 45px rgba(17, 24, 39, .14) !important;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}


/* ============================================================
   12. ADVANCED — PRICE / SQUARE RANGE
   ============================================================ */

.flat-tab-form .wd-search-form .grid-2.group-box.group-price {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 35px !important;

    margin: 0 0 20px !important;
}


.flat-tab-form .wd-search-form .widget-price {
    margin: 0 !important;
    padding: 0 !important;
}


.flat-tab-form .wd-search-form .box-title-price {
    margin-bottom: 13px !important;
}


.flat-tab-form .wd-search-form .title-price {
    color: var(--me-black) !important;

    font-size: 13px !important;
    font-weight: 750 !important;
}


.flat-tab-form .wd-search-form .caption-price {
    color: #555d69 !important;

    font-size: 12px !important;
}


/* Slider */

.flat-tab-form .wd-search-form .noUi-target {
    height: 4px !important;

    background: #e7e7e5 !important;

    border: 0 !important;
    border-radius: 20px !important;

    box-shadow: none !important;
}


.flat-tab-form .wd-search-form .noUi-connect {
    background: var(--me-gold) !important;
}


.flat-tab-form .wd-search-form .noUi-handle {
    width: 18px !important;
    height: 18px !important;

    top: -7px !important;

    background: #ffffff !important;

    border: 3px solid var(--me-gold) !important;
    border-radius: 50% !important;

    box-shadow:
        0 3px 8px rgba(17, 24, 39, .14) !important;
}


/* Remove slider handle decorations if theme adds them */

.flat-tab-form .wd-search-form .noUi-handle::before,
.flat-tab-form .wd-search-form .noUi-handle::after {
    display: none !important;
}


/* ============================================================
   13. ADVANCED — SELECTS
   ============================================================ */

.flat-tab-form .wd-search-form .group-box {
    margin: 0 !important;
}


.flat-tab-form .wd-search-form .group-select.grid-3 {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 14px !important;

    margin: 0 0 20px !important;
}


/* Property search has Project as fourth item.
   Allow it to flow cleanly rather than breaking layout. */

.flat-tab-form .property-search-form .group-select.grid-3 {
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
}


.flat-tab-form .wd-search-form .box-select {
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


.flat-tab-form .wd-search-form .title-select {
    display: block !important;

    margin: 0 0 7px !important;

    color: var(--me-black) !important;

    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 700 !important;
}


/* Multi selects */

.flat-tab-form .wd-search-form .multi-select-trigger,
.flat-tab-form .wd-search-form .box-select > .position-relative > .form-control {
    width: 100% !important;

    height: 42px !important;
    min-height: 42px !important;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 13px !important;

    background: #f8f8f7 !important;

    border: 1px solid #e6e6e4 !important;
    border-radius: 9px !important;

    box-shadow: none !important;

    color: var(--me-black) !important;

    font-size: 12px !important;

    transition: .2s ease;
}


.flat-tab-form .wd-search-form .multi-select-trigger:hover,
.flat-tab-form .wd-search-form .box-select > .position-relative > .form-control:hover,
.flat-tab-form .wd-search-form .box-select > .position-relative > .form-control:focus {
    background: #ffffff !important;

    border-color: rgba(212, 169, 31, .55) !important;

    box-shadow:
        0 0 0 3px rgba(212, 169, 31, .06) !important;
}


/* Dropdown menus */

.flat-tab-form .wd-search-form .multi-select-options {
    padding: 7px !important;

    background: #ffffff !important;

    border: 1px solid var(--me-border) !important;
    border-radius: 10px !important;

    box-shadow:
        0 15px 35px rgba(17, 24, 39, .12) !important;

    z-index: 1000 !important;
}


/* ============================================================
   14. AMENITIES — COMPACT PILLS
   ============================================================ */

.flat-tab-form .wd-search-form .group-checkbox.form-search-amenities {
    margin-top: 4px !important;
}


.flat-tab-form .wd-search-form .group-checkbox > .text-1 {
    margin: 0 0 10px !important;

    color: var(--me-black) !important;

    font-size: 13px !important;
    font-weight: 750 !important;
}


/* Override Bootstrap row sizing */

.flat-tab-form .wd-search-form .box-amenities {
    display: flex !important;
    flex-wrap: wrap !important;

    gap: 8px !important;

    margin: 0 !important;
}


.flat-tab-form .wd-search-form .box-amenities > .col {
    width: auto !important;
    max-width: none !important;

    flex: 0 0 auto !important;

    padding: 0 !important;
}


.flat-tab-form .wd-search-form .amenities-item {
    min-height: 36px !important;

    display: flex !important;
    align-items: center !important;

    gap: 7px !important;

    margin: 0 !important;
    padding: 7px 12px !important;

    background: #f8f8f7 !important;

    border: 1px solid #e7e7e5 !important;
    border-radius: 999px !important;

    transition: .2s ease;
}


.flat-tab-form .wd-search-form .amenities-item:hover {
    background: var(--me-gold-soft) !important;

    border-color: rgba(212, 169, 31, .45) !important;
}


.flat-tab-form .wd-search-form .amenities-item label {
    margin: 0 !important;

    color: #535a65 !important;

    font-size: 11px !important;
    line-height: 16px !important;
    font-weight: 600 !important;

    cursor: pointer;
}


/* Checkbox */

.flat-tab-form .wd-search-form .amenities-item input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;

    flex: 0 0 14px;

    margin: 0 !important;

    accent-color: var(--me-gold);
}


/* ============================================================
   15. TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .flat-tab.flat-tab-form {
        width: min(95%, 1420px);
    }


    .flat-tab-form .wd-find-select .inner-group {
        grid-template-columns:
            1fr
            1fr
            .75fr
            100px !important;
    }


    .flat-tab-form .wd-find-select .form-style {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }


    .flat-tab-form .property-search-form .group-select.grid-3 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ============================================================
   16. MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .flat-tab.flat-tab-form {
        width: calc(100% - 24px) !important;
    }


    /* Tabs */

    .flat-tab-form .nav-tab-form.style-1 {
        width: 100% !important;

        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;

        padding: 4px !important;

        border-radius: 14px !important;
    }


    .flat-tab-form .nav-tab-form .nav-link-item {
        width: 100% !important;
        min-width: 0 !important;

        height: 40px !important;

        padding: 0 7px !important;

        font-size: 11px !important;
    }


    /* Search container */

    .flat-tab-form .form-sl .wd-find-select {
        height: auto !important;
        min-height: 0 !important;

        display: block !important;

        padding: 8px !important;

        border-radius: 16px !important;
    }


    .flat-tab-form .wd-find-select .inner-group {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }


    .flat-tab-form .wd-find-select .form-style,
    .flat-tab-form .wd-find-select .box-filter {
        height: 62px !important;
        min-height: 62px !important;

        padding: 8px 12px !important;

        border-bottom: 1px solid var(--me-border) !important;
    }


    .flat-tab-form .wd-find-select .form-style::before,
    .flat-tab-form .wd-find-select .box-filter::before {
        display: none !important;
    }


    .flat-tab-form .wd-find-select > .tf-btn.primary {
        width: 100% !important;

        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;

        margin-top: 8px !important;

        border-radius: 11px !important;
    }


    /* Advanced */

    .flat-tab-form .wd-search-form {
        padding: 16px !important;
    }


    .flat-tab-form .wd-search-form .grid-2.group-box.group-price {
        grid-template-columns: 1fr !important;

        gap: 25px !important;
    }


    .flat-tab-form .wd-search-form .group-select.grid-3,
    .flat-tab-form .property-search-form .group-select.grid-3 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ============================================================
   17. SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .flat-tab-form .wd-find-select .inner-group {
        grid-template-columns: 1fr !important;
    }


    .flat-tab-form .wd-find-select .form-style,
    .flat-tab-form .wd-find-select .box-filter {
        height: 58px !important;
        min-height: 58px !important;
    }


    .flat-tab-form .box-filter {
        align-items: flex-start !important;
    }


    .flat-tab-form .filter-advanced {
        height: 40px !important;

        flex-direction: row !important;
        justify-content: flex-start !important;

        gap: 8px !important;
    }


    .flat-tab-form .wd-search-form .group-select.grid-3,
    .flat-tab-form .property-search-form .group-select.grid-3 {
        grid-template-columns: 1fr !important;
    }


    .flat-tab-form .wd-search-form .amenities-item {
        padding: 6px 10px !important;
    }
}

/* ============================================================
   FINAL POLISH — SLIDERS + CLICKABLE AMENITIES
   ============================================================ */


/* ============================================================
   1. CLEAN LUXURY RANGE SLIDER
   ============================================================ */

.flat-tab-form .wd-search-form .noUi-target {
    height: 3px !important;

    background: #e8e8e6 !important;

    border: 0 !important;
    border-radius: 100px !important;

    box-shadow: none !important;
}


/* Gold selected range */

.flat-tab-form .wd-search-form .noUi-connect {
    background: #d4a91f !important;
}


/* Smaller elegant handle */

.flat-tab-form .wd-search-form .noUi-handle {
    width: 14px !important;
    height: 14px !important;

    top: -6px !important;
    right: -7px !important;

    background: #d4a91f !important;

    border: 3px solid #ffffff !important;
    border-radius: 50% !important;

    box-shadow:
        0 0 0 1px rgba(212,169,31,.35),
        0 3px 8px rgba(17,24,39,.18) !important;

    cursor: grab !important;
}


/* While dragging */

.flat-tab-form .wd-search-form .noUi-handle:active {
    cursor: grabbing !important;

    transform: scale(1.12);
}


/* Remove default vertical marks inside handle */

.flat-tab-form .wd-search-form .noUi-handle::before,
.flat-tab-form .wd-search-form .noUi-handle::after {
    display: none !important;
}


/* Hover */

.flat-tab-form .wd-search-form .noUi-handle:hover {
    box-shadow:
        0 0 0 4px rgba(212,169,31,.12),
        0 3px 8px rgba(17,24,39,.18) !important;
}


/* ============================================================
   2. AMENITIES — WHOLE PILL LOOKS INTERACTIVE
   ============================================================ */

.flat-tab-form .wd-search-form .amenities-item {
    position: relative !important;

    min-height: 38px !important;

    display: flex !important;
    align-items: center !important;

    gap: 8px !important;

    padding: 8px 14px !important;

    background: #fafafa !important;

    border: 1px solid #e5e5e3 !important;
    border-radius: 100px !important;

    cursor: pointer !important;

    user-select: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease !important;
}


.flat-tab-form .wd-search-form .amenities-item:hover {
    background: #fffaf0 !important;

    border-color: rgba(212,169,31,.55) !important;

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(17,24,39,.05) !important;
}


/* Checkbox */

.flat-tab-form .wd-search-form .amenities-item input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;

    flex: 0 0 15px !important;

    margin: 0 !important;

    accent-color: #d4a91f !important;

    cursor: pointer !important;
}


/* Amenity text */

.flat-tab-form .wd-search-form .amenities-item label {
    margin: 0 !important;

    color: #59606b !important;

    font-size: 11px !important;
    line-height: 18px !important;
    font-weight: 650 !important;

    cursor: pointer !important;

    user-select: none !important;
}


/* Checked appearance */

.flat-tab-form .wd-search-form .amenities-item:has(
    input[type="checkbox"]:checked
) {
    background: #fff9e8 !important;

    border-color: #d4a91f !important;

    box-shadow:
        0 3px 12px rgba(212,169,31,.10) !important;
}


.flat-tab-form .wd-search-form .amenities-item:has(
    input[type="checkbox"]:checked
) label {
    color: #111827 !important;
    font-weight: 700 !important;
}

/* Center slider circle exactly on the line */
.flat-tab-form .wd-search-form .noUi-handle {
    width: 14px !important;
    height: 14px !important;

    top: 50% !important;
    right: -7px !important;

    transform: translateY(-50%) !important;

    background: #d4a91f !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;

    box-shadow:
        0 0 0 1px rgba(212, 169, 31, .35),
        0 3px 8px rgba(17, 24, 39, .18) !important;

    cursor: grab !important;
}

/* Keep it centered while dragging */
.flat-tab-form .wd-search-form .noUi-handle:active {
    transform: translateY(-50%) scale(1.12) !important;
}

/* Keep it centered on hover too */
.flat-tab-form .wd-search-form .noUi-handle:hover {
    transform: translateY(-50%) scale(1.08) !important;
}


/* ============================================================
   MAGNIFY ESTATE — LUXURY HEADER
   DESKTOP + MOBILE
   ============================================================ */

#header {
    --me-gold: #d4a91f;
    --me-gold-dark: #b88d0b;
    --me-gold-soft: #fbf7e9;
    --me-black: #111827;
    --me-text: #202735;
    --me-muted: #747b86;
    --me-border: #e8e8e6;
    --me-white: #ffffff;

    font-family: inherit;
}


/* ============================================================
   DESKTOP HEADER
   ============================================================ */

#header .header-lower {
    position: relative;

    width: 100%;

    background: rgba(255,255,255,.97) !important;

    border-bottom: 1px solid rgba(17,24,39,.06);

    box-shadow:
        0 5px 25px rgba(17,24,39,.045);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    z-index: 100;
}


/* Main container */

#header .header-lower .inner-container {
    width: min(94%, 1500px);

    min-height: 78px;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;

    grid-template-columns:
        190px
        minmax(0, 1fr)
        190px !important;

    align-items: center !important;

    gap: 25px;
}


/* ============================================================
   LOGO
   ============================================================ */

#header .logo-box {
    display: flex;
    align-items: center;

    margin: 0 !important;
    padding: 0 !important;
}


#header .logo-box .logo {
    margin: 0 !important;
    padding: 0 !important;
}


#header .logo-box .logo a {
    display: inline-flex;
    align-items: center;
}


#header .logo-box .logo img {
    width: auto !important;

    max-width: 145px !important;
    max-height: 48px !important;

    object-fit: contain;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


#header .logo-box .logo a:hover img {
    transform: scale(1.025);
}


/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */

#header .nav-outer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
}


#header .main-menu {
    margin: 0 !important;
}


#header .main-menu .navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 6px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}


#header .main-menu .navigation > li {
    position: relative;

    margin: 0 !important;
    padding: 0 !important;
}


/* Main nav links */

#header .main-menu .navigation > li > a {
    position: relative;

    min-height: 46px;

    display: flex !important;
    align-items: center !important;

    padding: 0 16px !important;

    color: var(--me-text) !important;

    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 650 !important;

    text-decoration: none !important;

    border-radius: 10px;

    transition:
        color .25s ease,
        background .25s ease !important;
}


/* Hover */

#header .main-menu .navigation > li:hover > a {
    color: var(--me-black) !important;

    background: #f8f8f6 !important;
}


/* Gold active indicator */

#header .main-menu .navigation > li > a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 2px;

    transform: translateX(-50%);

    background: var(--me-gold);

    border-radius: 20px;

    transition: width .25s ease;
}


#header .main-menu .navigation > li.current > a::after,
#header .main-menu .navigation > li:hover > a::after {
    width: 22px;
}


/* Active */

#header .main-menu .navigation > li.current > a {
    color: var(--me-black) !important;
}


/* ============================================================
   DESKTOP DROPDOWNS
   ============================================================ */

#header .main-menu .navigation > li > ul {
    position: absolute;

    top: calc(100% + 10px) !important;
    left: 50% !important;

    min-width: 220px !important;

    padding: 8px !important;

    background: rgba(255,255,255,.99) !important;

    border: 1px solid rgba(17,24,39,.07) !important;
    border-radius: 14px !important;

    box-shadow:
        0 18px 45px rgba(17,24,39,.13) !important;

    transform: translateX(-50%);

    overflow: hidden;
}


/* Dropdown links */

#header .main-menu .navigation > li > ul > li {
    margin: 0 !important;

    border: 0 !important;
}


#header .main-menu .navigation > li > ul > li > a {
    position: relative;

    min-height: 40px;

    display: flex !important;
    align-items: center !important;

    padding: 0 13px !important;

    color: #555d69 !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    border-radius: 8px !important;

    transition:
        background .2s ease,
        color .2s ease,
        padding .2s ease !important;
}


#header .main-menu .navigation > li > ul > li > a:hover {
    padding-left: 18px !important;

    background: var(--me-gold-soft) !important;

    color: var(--me-black) !important;
}


/* Tiny gold marker */

#header .main-menu .navigation > li > ul > li > a::before {
    content: "";

    width: 5px;
    height: 5px;

    margin-right: 0;

    background: var(--me-gold);

    border-radius: 50%;

    opacity: 0;

    transition:
        opacity .2s ease,
        margin .2s ease;
}


#header .main-menu .navigation > li > ul > li > a:hover::before {
    opacity: 1;

    margin-right: 8px;
}


/* ============================================================
   SUBMIT PROPERTY — DESKTOP
   ============================================================ */

#header .header-account {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;

    margin: 0 !important;
}


#header .flat-bt-top {
    margin: 0 !important;
}


#header .header-account .tf-btn.primary {
    position: relative;

    min-width: 165px;
    height: 48px;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 22px !important;

    overflow: hidden;

    background: var(--me-black) !important;

    border: 0 !important;
    border-radius: 11px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    box-shadow:
        0 8px 20px rgba(17,24,39,.14);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease !important;
}


/* Gold accent */

#header .header-account .tf-btn.primary::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 36px;
    height: 3px;

    transform: translateX(-50%);

    background: var(--me-gold);

    border-radius: 10px 10px 0 0;

    transition: width .25s ease;
}


#header .header-account .tf-btn.primary:hover {
    background: #080d16 !important;

    transform: translateY(-1px);

    box-shadow:
        0 12px 27px rgba(17,24,39,.20);
}


#header .header-account .tf-btn.primary:hover::after {
    width: 65%;
}


/* ============================================================
   STICKY / FIXED HEADER
   ============================================================ */

#header.fixed-header .header-lower {
    box-shadow:
        0 8px 30px rgba(17,24,39,.08) !important;
}


/* ============================================================
   MOBILE TOGGLER
   ============================================================ */

#header .mobile-nav-toggler {
    width: 44px !important;
    height: 44px !important;

    display: none;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: var(--me-black) !important;

    border-radius: 11px !important;

    cursor: pointer;

    box-shadow:
        0 6px 16px rgba(17,24,39,.14);
}


#header .mobile-nav-toggler svg {
    width: 20px !important;
    height: 20px !important;

    stroke: #ffffff !important;
}


/* ============================================================
   MOBILE MENU BACKDROP
   ============================================================ */

#header .mobile-menu .menu-backdrop {
    background: rgba(8,13,22,.65) !important;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* ============================================================
   MOBILE DRAWER
   ============================================================ */

#header .mobile-menu .menu-box {
    width: min(88vw, 390px) !important;
    max-width: 390px !important;

    background: #ffffff !important;

    border: 0 !important;

    box-shadow:
        20px 0 60px rgba(0,0,0,.20) !important;
}


/* ============================================================
   MOBILE LOGO HEADER
   ============================================================ */

#header .mobile-menu .nav-logo {
    min-height: 84px;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 18px 26px !important;

    background: #ffffff !important;

    border-bottom: 1px solid var(--me-border) !important;
}


#header .mobile-menu .nav-logo img {
    width: auto !important;

    max-width: 140px !important;
    max-height: 45px !important;

    object-fit: contain;
}


/* ============================================================
   MOBILE CLOSE BUTTON
   ============================================================ */

#header .close-btn {
    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    top: 20px !important;
    right: 20px !important;

    padding: 0 !important;

    background: var(--me-black) !important;

    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 50% !important;

    box-shadow:
        0 7px 20px rgba(0,0,0,.20) !important;
}


#header .close-btn svg {
    width: 18px !important;
    height: 18px !important;

    stroke: #ffffff !important;
}


/* ============================================================
   MOBILE CONTENT
   ============================================================ */

#header .mobile-menu .bottom-canvas {
    padding: 20px !important;

    background: #ffffff !important;
}


/* ============================================================
   MOBILE SUBMIT PROPERTY CARD
   ============================================================ */

#header .mobile-add-listing-wrapper {
    margin: 0 0 10px !important;
}


#header .mobile-add-listing-btn {
    min-height: 82px;

    display: grid !important;

    grid-template-columns:
        50px
        minmax(0,1fr)
        22px;

    align-items: center !important;

    gap: 13px !important;

    padding: 14px !important;

    background: var(--me-black) !important;

    border: 1px solid var(--me-black) !important;
    border-radius: 14px !important;

    color: #ffffff !important;

    text-decoration: none !important;

    box-shadow:
        0 10px 25px rgba(17,24,39,.15) !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease !important;
}


#header .mobile-add-listing-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 30px rgba(17,24,39,.20) !important;
}


/* Plus icon */

#header .add-listing-icon-wrapper {
    width: 48px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: var(--me-gold) !important;

    border-radius: 11px !important;
}


#header .add-listing-icon-wrapper svg {
    width: 21px !important;
    height: 21px !important;

    stroke: #ffffff !important;
}


#header .add-listing-title {
    display: block;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 750 !important;
}


#header .add-listing-subtitle {
    display: block;

    margin-top: 3px;

    color: rgba(255,255,255,.62) !important;

    font-size: 10px !important;
}


#header .add-listing-arrow {
    width: 18px !important;
    height: 18px !important;

    stroke: var(--me-gold) !important;
}


/* ============================================================
   MOBILE SIGN IN CARD
   ============================================================ */

#header .mobile-signin-wrapper {
    margin: 0 0 18px !important;
}


#header .mobile-signin-btn {
    min-height: 72px;

    display: grid !important;

    grid-template-columns:
        46px
        minmax(0,1fr)
        18px;

    align-items: center !important;

    gap: 12px !important;

    padding: 12px 14px !important;

    background: #f7f7f6 !important;

    border: 1px solid #ededeb !important;
    border-radius: 13px !important;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease !important;
}


#header .mobile-signin-btn:hover {
    background: var(--me-gold-soft) !important;

    border-color: rgba(212,169,31,.35) !important;
}


#header .signin-icon-wrapper {
    width: 44px !important;
    height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffffff !important;

    border: 1px solid var(--me-border);
    border-radius: 10px !important;
}


#header .signin-icon-wrapper svg {
    width: 20px !important;
    height: 20px !important;

    stroke: var(--me-black) !important;
}


#header .signin-title {
    display: block;

    color: var(--me-black) !important;

    font-size: 13px !important;
    font-weight: 750 !important;
}


#header .signin-subtitle {
    display: block;

    margin-top: 2px;

    color: var(--me-muted) !important;

    font-size: 10px !important;
}


#header .signin-arrow {
    width: 16px !important;
    height: 16px !important;

    stroke: #9a9fa7 !important;
}


/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

#header .mobile-menu .menu-outer {
    margin: 0 !important;
    padding: 0 !important;
}


#header .mobile-menu .menu-outer .navigation {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


#header .mobile-menu .menu-outer .navigation > li {
    position: relative;

    margin: 0 !important;

    border-bottom: 1px solid #eeeeec !important;
}


#header .mobile-menu .menu-outer .navigation > li > a {
    position: relative;

    min-height: 52px;

    display: flex !important;
    align-items: center !important;

    padding: 0 4px !important;

    color: var(--me-text) !important;

    font-size: 13px !important;
    font-weight: 650 !important;

    text-decoration: none !important;

    transition:
        color .2s ease,
        padding .2s ease !important;
}


#header .mobile-menu .menu-outer .navigation > li > a:hover {
    padding-left: 8px !important;

    color: var(--me-gold-dark) !important;
}


/* Active mobile menu */

#header .mobile-menu .menu-outer .navigation > li.current > a {
    color: var(--me-gold-dark) !important;
    font-weight: 750 !important;
}


#header .mobile-menu .menu-outer .navigation > li.current > a::before {
    content: "";

    width: 6px;
    height: 6px;

    margin-right: 9px;

    background: var(--me-gold);

    border-radius: 50%;
}


/* ============================================================
   MOBILE DROPDOWN ARROWS
   ============================================================ */

#header .mobile-menu .dropdown2-btn {
    position: absolute !important;

    top: 8px !important;
    right: 0 !important;

    width: 36px !important;
    height: 36px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #f7f7f6 !important;

    border-radius: 9px !important;

    cursor: pointer;
}


/* ============================================================
   MOBILE SUBMENUS
   ============================================================ */

#header .mobile-menu .navigation li ul {
    margin: 0 0 8px !important;
    padding: 6px !important;

    background: #f8f8f7 !important;

    border: 1px solid #eeeeec !important;
    border-radius: 10px !important;
}


#header .mobile-menu .navigation li ul li {
    border: 0 !important;
}


#header .mobile-menu .navigation li ul li a {
    min-height: 38px;

    display: flex !important;
    align-items: center !important;

    padding: 0 11px !important;

    color: #666d77 !important;

    font-size: 11px !important;
    font-weight: 600 !important;

    border-radius: 7px !important;
}


#header .mobile-menu .navigation li ul li a:hover {
    background: #ffffff !important;

    color: var(--me-black) !important;
}


/* ============================================================
   MOBILE CONTACT SECTION
   ============================================================ */

#header .mobi-icon-box {
    margin-top: 18px !important;

    border-top: 1px solid var(--me-border);
}


#header .mobi-icon-box .box {
    min-height: 52px;

    margin: 0 !important;
    padding: 0 2px !important;

    display: flex !important;
    align-items: center !important;

    border-bottom: 1px solid var(--me-border) !important;

    color: var(--me-black) !important;
}


#header .mobi-icon-box .box a {
    color: var(--me-text) !important;

    font-size: 12px !important;
    font-weight: 550 !important;

    text-decoration: none !important;
}


#header .mobi-icon-box .box svg {
    width: 17px !important;
    height: 17px !important;

    margin-right: 7px;

    stroke: var(--me-gold) !important;
}


/* ============================================================
   CURRENCY
   ============================================================ */

#header .mobile-switchers {
    margin-top: 18px !important;
    padding: 0 !important;
}


#header .mobile-switchers > div:first-child {
    margin-bottom: 9px;

    color: var(--me-black);

    font-size: 11px;
    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 1px;
}


#header .currency-list-mobile {
    display: flex !important;
    flex-wrap: wrap !important;

    gap: 7px !important;
}


#header .currency-list-mobile .currency-item {
    min-height: 35px;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 12px !important;

    background: #f7f7f6 !important;

    border: 1px solid #e8e8e6 !important;
    border-radius: 999px !important;

    color: #646b75 !important;

    font-size: 10px !important;
    font-weight: 650 !important;

    text-decoration: none !important;
}


#header .currency-list-mobile .currency-item.active {
    background: var(--me-black) !important;

    border-color: var(--me-black) !important;

    color: #ffffff !important;
}


#header .currency-list-mobile .currency-item.active .currency-symbol {
    color: var(--me-gold) !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1199px) {

    #header .header-lower .inner-container {
        width: calc(100% - 40px);

        grid-template-columns:
            160px
            minmax(0,1fr)
            165px !important;
    }


    #header .main-menu .navigation > li > a {
        padding-left: 11px !important;
        padding-right: 11px !important;

        font-size: 13px !important;
    }


    #header .header-account .tf-btn.primary {
        min-width: 150px;
    }
}


/* ============================================================
   MOBILE HEADER
   ============================================================ */

@media (max-width: 991px) {

    #header .header-lower .inner-container {
        width: calc(100% - 28px);

        min-height: 68px;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }


    #header .nav-outer,
    #header .header-account {
        display: none !important;
    }


    #header .mobile-nav-toggler {
        display: flex !important;
    }


    #header .logo-box .logo img {
        max-width: 130px !important;
        max-height: 40px !important;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    #header .mobile-menu .menu-box {
        width: 88vw !important;
    }


    #header .mobile-menu .bottom-canvas {
        padding: 16px !important;
    }


    #header .mobile-menu .nav-logo {
        min-height: 74px;

        padding: 15px 20px !important;
    }


    #header .mobile-menu .nav-logo img {
        max-width: 125px !important;
    }

}

/* ============================================================
   MAGNIFY ESTATE — DESKTOP HEADER FIX
   Do NOT affect mobile
   ============================================================ */

@media (min-width: 992px) {

    /* Header height */
    #header .header-lower {
        background: #fff !important;
        border-bottom: 1px solid #eeeeec !important;
        box-shadow: 0 4px 22px rgba(17, 24, 39, 0.04) !important;
    }

    #header .header-lower .inner-container {
        width: min(92%, 1440px) !important;
        min-height: 76px !important;

        grid-template-columns: 190px 1fr 190px !important;

        gap: 20px !important;
    }


    /* ----------------------------
       LOGO
       ---------------------------- */

    #header .logo-box .logo img {
        width: auto !important;
        max-width: 145px !important;
        max-height: 48px !important;
    }


    /* ----------------------------
       CENTER NAVIGATION
       ---------------------------- */

    #header .nav-outer {
        height: 76px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #header .main-menu,
    #header .main-menu .navbar-collapse {
        height: 100% !important;
    }

    #header .main-menu .navigation {
        height: 100% !important;

        display: flex !important;
        align-items: center !important;

        gap: 8px !important;
    }

    #header .main-menu .navigation > li {
        height: 100% !important;

        display: flex !important;
        align-items: center !important;

        position: relative !important;
    }


    /* ----------------------------
       NAV LINKS
       ---------------------------- */

    #header .main-menu .navigation > li > a {
        position: relative !important;

        height: 44px !important;
        min-height: 44px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 15px !important;

        background: transparent !important;

        color: #202735 !important;

        font-size: 14px !important;
        line-height: 44px !important;
        font-weight: 650 !important;

        border: 0 !important;
        border-radius: 9px !important;

        text-decoration: none !important;

        overflow: visible !important;
    }


    /* Remove ALL old theme active lines */
    #header .main-menu .navigation > li > a::before,
    #header .main-menu .navigation > li.current > a::before {
        content: none !important;
        display: none !important;

        width: 0 !important;
        height: 0 !important;

        border: 0 !important;
        background: transparent !important;
    }


    /* Remove our previous underline */
    #header .main-menu .navigation > li > a::after {
        content: none !important;
        display: none !important;
    }


    /* ----------------------------
       NEW ACTIVE STYLE
       ---------------------------- */

    #header .main-menu .navigation > li.current > a {
        background: #fbf7e9 !important;

        color: #111827 !important;

        box-shadow: inset 0 0 0 1px rgba(212,169,31,.15) !important;
    }


    /* Small gold dot instead of line */
    #header .main-menu .navigation > li.current::after {
        content: "" !important;

        position: absolute !important;

        left: 50% !important;
        bottom: 8px !important;

        width: 4px !important;
        height: 4px !important;

        transform: translateX(-50%) !important;

        background: #d4a91f !important;

        border-radius: 50% !important;

        pointer-events: none !important;
    }


    /* Hover */
    #header .main-menu .navigation > li:not(.current) > a:hover {
        background: #f7f7f5 !important;

        color: #111827 !important;
    }


    /* ----------------------------
       SUBMIT PROPERTY
       ---------------------------- */

    #header .header-account {
        height: 76px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    #header .header-account .tf-btn.primary {
        min-width: 165px !important;
        height: 48px !important;

        padding: 0 20px !important;

        background: #111827 !important;

        border-radius: 11px !important;

        color: #fff !important;

        font-size: 13px !important;
        font-weight: 700 !important;

        box-shadow: 0 8px 20px rgba(17,24,39,.13) !important;
    }

    #header .header-account .tf-btn.primary::after {
        content: "" !important;

        position: absolute !important;

        left: 50% !important;
        bottom: 0 !important;

        width: 32px !important;
        height: 3px !important;

        transform: translateX(-50%) !important;

        background: #d4a91f !important;

        border-radius: 10px 10px 0 0 !important;
    }

    #header .header-account .tf-btn.primary:hover {
        background: #090f1b !important;

        transform: translateY(-1px) !important;
    }


    /* ----------------------------
       DESKTOP DROPDOWNS
       ---------------------------- */

    #header .main-menu .navigation > li > ul {
        top: calc(100% - 5px) !important;

        border-radius: 13px !important;

        border: 1px solid #ececea !important;

        box-shadow:
            0 18px 45px rgba(17,24,39,.12) !important;
    }


    /* Make sure mobile button never appears */
    #header .mobile-nav-toggler {
        display: none !important;
    }
}

/* ============================================================
   LUXURY SUBMENU ARROW — AFTER MENU NAME
   ============================================================ */

@media (min-width: 992px) {

    /* Menu links containing submenu */
    #header .main-menu .navigation > li.dropdown2 > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 8px !important;
    }


    /* Kill previous/theme arrow */
    #header .main-menu .navigation > li.dropdown2 > a::before {
        content: none !important;
        display: none !important;
    }


    /* New arrow AFTER text */
    #header .main-menu .navigation > li.dropdown2 > a::after {
        content: "" !important;

        position: static !important;

        display: inline-block !important;

        width: 6px !important;
        height: 6px !important;

        margin: -3px 0 0 1px !important;

        background: transparent !important;

        border: 0 !important;
        border-right: 1.5px solid #d4a91f !important;
        border-bottom: 1.5px solid #d4a91f !important;

        border-radius: 0 !important;

        transform: rotate(45deg) !important;

        flex: 0 0 6px !important;

        transition:
            transform .25s ease,
            border-color .25s ease !important;
    }


    /* Hover — arrow turns upward */
    #header .main-menu .navigation > li.dropdown2:hover > a::after {
        transform: translateY(3px) rotate(225deg) !important;

        border-color: #b88d0b !important;
    }


    /* Active menu */
    #header .main-menu .navigation > li.dropdown2.current > a::after {
        border-color: #d4a91f !important;
    }
}

/* ============================================================
   MAGNIFY ESTATE — LUXURY CITY SLIDER V2
   Corrected version — no pseudo-element overlay conflicts
   ============================================================ */

.tf-sw-location {
    --gold: #d4a91f;
    --gold-dark: #b58b0d;
    --dark: #111827;

    position: relative !important;
    padding: 15px 0 35px !important;
    overflow: hidden !important;
}


/* ============================================================
   IMPORTANT — REMOVE THEME PSEUDO ELEMENTS
   ============================================================ */

.tf-sw-location .box-location::before,
.tf-sw-location .box-location::after {
    content: none !important;
    display: none !important;
}


/* ============================================================
   SLIDE
   ============================================================ */

.tf-sw-location .swiper-slide {
    height: auto !important;

    transition:
        transform .4s ease,
        opacity .4s ease !important;
}


/* ============================================================
   CARD
   ============================================================ */

.tf-sw-location .box-location {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: 500px !important;

    overflow: hidden !important;

    background: #111827 !important;

    border: 1px solid rgba(17,24,39,.10) !important;
    border-radius: 22px !important;

    box-shadow:
        0 12px 35px rgba(17,24,39,.09) !important;

    text-decoration: none !important;

    isolation: isolate !important;

    transition:
        transform .45s cubic-bezier(.2,.7,.2,1),
        box-shadow .45s ease,
        border-color .45s ease !important;
}


/* ============================================================
   IMAGE CONTAINER
   ============================================================ */

.tf-sw-location .box-location .image {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border-radius: inherit !important;

    background: #111827 !important;
}


/* ============================================================
   IMAGE
   ============================================================ */

.tf-sw-location .box-location .image img {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    margin: 0 !important;

    border-radius: inherit !important;

    /*
     * Darken image directly instead of using overlay.
     * This avoids the rectangle bug.
     */
    filter:
        brightness(.78)
        saturate(.90)
        contrast(1.04) !important;

    transform: scale(1.01) !important;

    transition:
        transform .8s cubic-bezier(.16,1,.3,1),
        filter .5s ease !important;
}


/* ============================================================
   CONTENT
   ============================================================ */

.tf-sw-location .box-location .content {
    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    z-index: 5 !important;

    width: 100% !important;

    padding: 100px 28px 27px !important;

    margin: 0 !important;

    /*
     * Gradient belongs to CONTENT,
     * not whole card pseudo element.
     */
    background:
        linear-gradient(
            180deg,
            rgba(10,15,24,0) 0%,
            rgba(10,15,24,.25) 30%,
            rgba(10,15,24,.82) 100%
        ) !important;

    transform: none !important;

    text-align: left !important;

    pointer-events: none !important;
}


/* ============================================================
   GOLD DETAIL
   ============================================================ */

.tf-sw-location .box-location .content::before {
    content: "" !important;

    display: block !important;

    position: static !important;

    width: 34px !important;
    height: 2px !important;

    margin: 0 0 13px !important;

    background: var(--gold) !important;

    border: 0 !important;
    border-radius: 20px !important;

    transition: width .35s ease !important;
}


/* ============================================================
   CITY NAME
   ============================================================ */

.tf-sw-location .box-location .title {
    position: relative !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 650 !important;

    letter-spacing: -.6px !important;

    text-shadow:
        0 3px 16px rgba(0,0,0,.25) !important;

    transition:
        transform .35s ease,
        color .35s ease !important;
}


/* ============================================================
   EXPLORE TEXT
   ============================================================ */

.tf-sw-location .box-location .content::after {
    content: "EXPLORE CITY  →" !important;

    display: block !important;

    position: static !important;

    width: auto !important;
    height: auto !important;

    margin: 11px 0 0 !important;

    background: transparent !important;

    color: var(--gold) !important;

    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 750 !important;

    letter-spacing: 1.7px !important;

    opacity: 0 !important;

    transform: translateY(7px) !important;

    transition:
        opacity .35s ease,
        transform .35s ease !important;
}


/* ============================================================
   HOVER
   ============================================================ */

.tf-sw-location .box-location:hover {
    transform: translateY(-7px) !important;

    border-color: rgba(212,169,31,.35) !important;

    box-shadow:
        0 24px 55px rgba(17,24,39,.17) !important;
}


.tf-sw-location .box-location:hover .image img {
    transform: scale(1.07) !important;

    filter:
        brightness(.86)
        saturate(1)
        contrast(1.04) !important;
}


.tf-sw-location .box-location:hover .content::before {
    width: 55px !important;
}


.tf-sw-location .box-location:hover .title {
    transform: translateY(-2px) !important;
}


.tf-sw-location .box-location:hover .content::after {
    opacity: 1 !important;

    transform: translateY(0) !important;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.tf-sw-location .box-navigation {
    position: static !important;
}


.tf-sw-location .navigation {
    position: absolute !important;

    top: 50% !important;

    z-index: 20 !important;

    width: 48px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    transform: translateY(-50%) !important;

    background: rgba(255,255,255,.96) !important;

    color: var(--dark) !important;

    border: 1px solid rgba(255,255,255,.75) !important;
    border-radius: 50% !important;

    box-shadow:
        0 8px 25px rgba(17,24,39,.16) !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    cursor: pointer !important;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease !important;
}


/* LEFT */

.tf-sw-location .nav-next-location {
    left: 20px !important;
    right: auto !important;
}


/* RIGHT */

.tf-sw-location .nav-prev-location {
    right: 20px !important;
    left: auto !important;
}


/* Arrow */

.tf-sw-location .navigation svg {
    width: 19px !important;
    height: 19px !important;

    stroke-width: 1.8px !important;
}


/* Small gold line inside arrow */

.tf-sw-location .navigation::after {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    bottom: 6px !important;

    width: 10px !important;
    height: 2px !important;

    transform: translateX(-50%) !important;

    background: var(--gold) !important;

    border-radius: 10px !important;

    transition: width .3s ease !important;
}


/* Navigation hover */

.tf-sw-location .navigation:hover {
    background: var(--dark) !important;

    color: #fff !important;

    border-color: var(--dark) !important;

    box-shadow:
        0 12px 30px rgba(17,24,39,.25) !important;
}


.tf-sw-location .navigation:hover::after {
    width: 18px !important;
}


/* ============================================================
   ACTIVE SLIDE
   ============================================================ */

.tf-sw-location .swiper-slide-active .box-location {
    border-color: rgba(212,169,31,.20) !important;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1199px) {

    .tf-sw-location .box-location {
        height: 450px !important;

        border-radius: 19px !important;
    }


    .tf-sw-location .box-location .content {
        padding:
            90px 23px 23px !important;
    }


    .tf-sw-location .box-location .title {
        font-size: 25px !important;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .tf-sw-location {
        padding:
            8px 0 22px !important;
    }


    .tf-sw-location .box-location {
        height: 390px !important;

        border-radius: 16px !important;
    }


    .tf-sw-location .box-location .content {
        padding:
            80px 19px 20px !important;
    }


    .tf-sw-location .box-location .title {
        font-size: 23px !important;
    }


    .tf-sw-location .box-location .content::before {
        width: 28px !important;

        margin-bottom: 10px !important;
    }


    /* Always show Explore on mobile */

    .tf-sw-location .box-location .content::after {
        opacity: 1 !important;

        transform: none !important;

        font-size: 8px !important;
    }


    .tf-sw-location .navigation {
        width: 40px !important;
        height: 40px !important;
    }


    .tf-sw-location .navigation svg {
        width: 16px !important;
        height: 16px !important;
    }


    .tf-sw-location .nav-next-location {
        left: 10px !important;
    }


    .tf-sw-location .nav-prev-location {
        right: 10px !important;
    }


    /* No card jumping on touch */
    .tf-sw-location .box-location:hover {
        transform: none !important;
    }
}



/* ==========================================================
   MOBILE CATEGORY SLIDER — LUXURY / SWIPEABLE
   ========================================================== */

@media (max-width: 767px) {

    .nav-tab-recommended {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;

        width: calc(100% - 32px) !important;

        margin: 28px 16px 32px !important;
        padding: 7px !important;

        gap: 5px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        background: #fff !important;

        border: 1px solid #ecebea !important;
        border-radius: 999px !important;

        box-shadow:
            0 10px 30px rgba(17,24,39,.08) !important;

        scroll-behavior: smooth !important;
        scroll-snap-type: x proximity !important;

        -webkit-overflow-scrolling: touch !important;

        scrollbar-width: none !important;
    }


    /* Hide scrollbar */
    .nav-tab-recommended::-webkit-scrollbar {
        display: none !important;
    }


    /* Each category */
    .nav-tab-recommended .nav-tab-item {
        flex: 0 0 auto !important;

        margin: 0 !important;

        scroll-snap-align: start !important;
    }


    /* Buttons */
    .nav-tab-recommended .nav-link-item {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-width: 105px !important;
        height: 52px !important;

        padding: 0 17px !important;

        background: transparent !important;

        color: #646b78 !important;

        border: 0 !important;
        border-radius: 999px !important;

        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 650 !important;

        white-space: nowrap !important;

        transition:
            background .25s ease,
            color .25s ease,
            box-shadow .25s ease !important;
    }


    /* Active */
    .nav-tab-recommended .nav-link-item.active {
        min-width: 125px !important;

        background: #111827 !important;

        color: #fff !important;

        box-shadow:
            0 7px 18px rgba(17,24,39,.16) !important;
    }


    /* Gold dot */
    .nav-tab-recommended .nav-link-item.active::before {
        content: "" !important;

        position: static !important;

        display: inline-block !important;

        width: 5px !important;
        height: 5px !important;

        margin-right: 10px !important;

        background: #d4a91f !important;

        border-radius: 50% !important;

        flex: 0 0 5px !important;
    }
}

/* ============================================================
   FIX: REMOVE GOLD DOTS FROM DROPDOWN ITEMS
   ============================================================ */

/* Remove dots/lines from submenu items */
#header .main-menu .navigation li ul li > a::before,
#header .main-menu .navigation li ul li > a::after,
#header .main-menu .navigation li ul li:hover > a::before,
#header .main-menu .navigation li ul li:hover > a::after,
#header .main-menu .navigation li ul li.current > a::before,
#header .main-menu .navigation li ul li.current > a::after,
#header .main-menu .navigation li ul li.current-menu-item > a::before,
#header .main-menu .navigation li ul li.current-menu-item > a::after {
    content: none !important;
    display: none !important;
}


/* Also remove pseudo dots directly from submenu LI */
#header .main-menu .navigation li ul li::before,
#header .main-menu .navigation li ul li::after,
#header .main-menu .navigation li ul li:hover::before,
#header .main-menu .navigation li ul li:hover::after {
    content: none !important;
    display: none !important;
}


/* Keep submenu text clean */
#header .main-menu .navigation li ul li > a {
    text-decoration: none !important;
}


/* Keep your existing luxury hover background */
#header .main-menu .navigation li ul li:hover > a {
    background: #fbf7e9 !important;
    color: #111827 !important;
}