/* Luxury homepage — load AFTER homigo-chrome.css */
body.hg-body.hg-luxury-home {
    --lux-maroon: #c8102e;
    --lux-maroon-hover: #a30d26;
    --lux-maroon-soft: #fff4f5;
    --lux-maroon-ring: #f3c4cc;
    --lux-ink: #0c1b33;
    --lux-muted: #5c6b7a;
    --lux-line: #e8ecf1;
    --lux-sidebar: 232px;
    --hg-sidebar: 232px;
    font-family: var(--font-sans, "Be Vietnam Pro", system-ui, sans-serif);
    background: #f4f6f9;
    overflow-x: hidden;
}

/* Main column: header + content + footer (sidebar is fixed left, full height) */
body.hg-body.hg-luxury-home > .prop-chrome {
    margin-left: var(--lux-sidebar);
    width: calc(100% - var(--lux-sidebar));
    max-width: calc(100% - var(--lux-sidebar));
    padding-left: 0;
    box-sizing: border-box;
}

body.hg-body.hg-luxury-home .hg-page > .lux-foot,
body.hg-body.hg-luxury-home .hg-page > .prop-foot {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    box-sizing: border-box;
}

body.hg-body.hg-luxury-home > .prop-chrome {
    position: sticky;
    top: 0;
    z-index: 100;
    isolation: isolate;
    overflow: visible;
}

body.hg-body.hg-luxury-home > .hg-shell {
    position: relative;
    z-index: 1;
}

/* Hint nằm trong .prop-chrome — không thêm margin sidebar (tránh lệch phải) */
body.hg-body.hg-luxury-home .prop-chrome .prop-avatar-hint {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.hg-body.hg-luxury-home .hg-page {
    margin-left: var(--lux-sidebar) !important;
    width: calc(100% - var(--lux-sidebar));
    max-width: calc(100% - var(--lux-sidebar));
    min-width: 0;
    box-sizing: border-box;
}

body.hg-body.hg-luxury-home.pj-show-page {
    overflow-x: clip;
}

body.hg-body.hg-luxury-home.pj-show-page .hg-main {
    padding: 0;
    max-width: none;
    overflow: visible;
}

/* Trang dự án: không dùng footer tối legacy */
body.hg-body.hg-luxury-home.pj-show-page .hg-page > .prop-foot,
body.hg-body.hg-luxury-home.pj-show-page .hg-page > .lux-foot {
    display: none !important;
}

body.hg-body.hg-luxury-home .prop-brand {
    display: none !important;
}

body.hg-body.hg-luxury-home #openFilter {
    display: none !important;
}

/* —— Sidebar —— */
body.hg-body.hg-luxury-home .hg-side.lux-side {
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: var(--lux-sidebar) !important;
    z-index: 40 !important;
    padding: 22px 16px 18px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    border-right: 1px solid var(--lux-line);
    background: #fff !important;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

body.hg-body.hg-luxury-home .hg-side.lux-side a.lux-side__brand {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    min-height: 88px;
    padding: 10px 16px 14px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    color: inherit !important;
    text-align: center !important;
    font-size: inherit !important;
}

body.hg-body.hg-luxury-home .lux-side__brand img {
    display: block;
    width: 80px;
    height: 80px;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    flex-shrink: 0;
}

body.hg-body.hg-luxury-home .lux-side__heading {
    margin: 0 4px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

body.hg-body.hg-luxury-home .lux-side__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-height: 0;
}

body.hg-body.hg-luxury-home .lux-side__nav a {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 11px 12px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    text-decoration: none;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: left !important;
    line-height: 1.35 !important;
    white-space: nowrap;
}

body.hg-body.hg-luxury-home .lux-side__nav a i {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border-radius: 0 !important;
    color: #64748b !important;
}

body.hg-body.hg-luxury-home .lux-side__nav a span {
    overflow: hidden;
    text-overflow: ellipsis;
}

body.hg-body.hg-luxury-home .lux-side__nav a.on,
body.hg-body.hg-luxury-home .lux-side__nav a:hover {
    background: #f1f5f9 !important;
    color: var(--lux-ink) !important;
}

body.hg-body.hg-luxury-home .lux-side__nav a.on i {
    color: var(--lux-maroon) !important;
}

body.hg-body.hg-luxury-home .lux-side__support {
    margin-top: 16px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid var(--lux-line) !important;
    text-decoration: none;
    color: inherit !important;
    font-size: inherit !important;
    text-align: left !important;
}

body.hg-body.hg-luxury-home .lux-side__support-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--lux-maroon-ring);
    color: var(--lux-maroon);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.hg-body.hg-luxury-home .lux-side__support-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

body.hg-body.hg-luxury-home .lux-side__support-text strong {
    font-size: 12px;
    font-weight: 700;
    color: var(--lux-ink);
    white-space: nowrap;
}

body.hg-body.hg-luxury-home .lux-side__support-text span {
    font-size: 11px;
    color: var(--lux-muted);
    font-weight: 500;
}

/* —— Top bar —— */
body.hg-body.hg-luxury-home .prop-bar {
    height: 72px;
    padding: 0 28px 0 22px;
    gap: 8px;
    border-bottom: 1px solid #eef1f5;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: visible;
}

body.hg-body.hg-luxury-home .prop-bar__main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
    justify-content: flex-start;
}

body.hg-body.hg-luxury-home .prop-place {
    position: relative;
    z-index: 120;
    flex: 0 0 auto;
    flex-shrink: 0;
    max-width: 220px;
}

body.hg-body.hg-luxury-home .prop-place__panel {
    z-index: 500;
}

body.hg-body.hg-luxury-home .prop-place__panel:not([hidden]) {
    display: block !important;
}

body.hg-body.hg-luxury-home .prop-place__btn {
    position: relative;
    z-index: 2;
}

body.hg-body.hg-luxury-home .prop-place__panel[hidden] .select2-container {
    display: none !important;
}

body.hg-body.hg-luxury-home .prop-place__btn {
    font-weight: 600;
    font-size: 14px;
}

body.hg-body.hg-luxury-home .prop-search-wrap {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 120px;
}

body.hg-body.hg-luxury-home .prop-search-wrap .prop-search {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
}

body.hg-body.hg-luxury-home .prop-search {
    height: 42px;
    border-radius: 999px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    padding: 0 16px;
}

body.hg-body.hg-luxury-home .prop-persona {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

body.hg-body.hg-luxury-home .prop-persona::-webkit-scrollbar {
    display: none;
}

body.hg-body.hg-luxury-home .prop-persona a {
    flex-shrink: 0;
    padding-inline: 1px;
}

body.hg-body.hg-luxury-home .prop-bar__end {
    gap: 8px;
    padding-left: 12px;
    flex: 0 0 auto;
    flex-shrink: 0;
    background: #fff;
    border-left: 1px solid #eef1f5;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

body.hg-body.hg-luxury-home .prop-bar__end--luxury {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding-left: 0;
    border-left: 0;
    flex: 0 0 auto;
    flex-shrink: 0;
    max-width: none;
}

body.hg-body.hg-luxury-home .prop-bar__end--luxury .prop-header-greet {
    border-right: 1px solid #eef1f5;
    margin-right: 4px;
    padding-right: 12px;
    flex-shrink: 0;
    max-width: none;
}

body.hg-body.hg-luxury-home .prop-header-greet .prop-bar__session-name {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.35em;
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
}

body.hg-body.hg-luxury-home .prop-header-greet .prop-bar__session-user {
    overflow: visible;
    text-overflow: unset;
    max-width: none;
}

body.hg-body.hg-luxury-home .prop-bar__session {
    padding: 6px 14px 6px 16px;
    gap: 2px;
    max-width: none;
    flex-shrink: 0;
    background: #fff;
    border-color: #eef1f5;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.hg-body.hg-luxury-home .prop-bar__session-name {
    font-size: 13px;
    max-width: 100%;
}

body.hg-body.hg-luxury-home .prop-bar__session-greet {
    color: var(--lux-muted);
    font-weight: 500;
}

body.hg-body.hg-luxury-home .prop-bar__session-user {
    color: var(--lux-ink);
    font-weight: 600;
}

body.hg-body.hg-luxury-home .prop-bar__session-clock {
    font-size: 12px;
    font-weight: 700;
    color: var(--lux-maroon);
}

body.hg-body.hg-luxury-home .prop-bar__session-date {
    font-size: 11px;
    color: var(--lux-muted);
}

@media (max-width: 1540px) {
    body.hg-body.hg-luxury-home .prop-place {
        max-width: 168px;
    }

    body.hg-body.hg-luxury-home .prop-bar__session {
        padding: 6px 10px 6px 12px;
    }

    body.hg-body.hg-luxury-home .prop-bar__session:not(.prop-header-greet) .prop-bar__session-name {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

    body.hg-body.hg-luxury-home .prop-bar__session-date,
    body.hg-body.hg-luxury-home .prop-bar__session-dot {
        display: none;
    }

    body.hg-body.hg-luxury-home .prop-persona {
        gap: 8px;
    }

    body.hg-body.hg-luxury-home .prop-persona a {
        font-size: 12px;
    }
}

@media (max-width: 1180px) {
    body.hg-body.hg-luxury-home .prop-bar__session-date,
    body.hg-body.hg-luxury-home .prop-bar__session-dot {
        display: none;
    }
}

@media (max-width: 900px) {
    body.hg-body.hg-luxury-home .prop-bar__session:not(.prop-header-greet) {
        display: none !important;
    }

    body.hg-body.hg-luxury-home .prop-header-greet .prop-bar__session-name {
        font-size: 12px;
    }
}

body.hg-body.hg-luxury-home .prop-persona a {
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1320px) {
    body.hg-body.hg-luxury-home .prop-persona {
        gap: 8px;
    }

    body.hg-body.hg-luxury-home .prop-persona a {
        font-size: 12px;
    }
}

body.hg-body.hg-luxury-home .prop-persona a:hover {
    color: var(--lux-maroon);
}

body.hg-body.hg-luxury-home .prop-bar__grow {
    gap: 8px;
}

body.hg-body.hg-luxury-home .prop-register {
    font-weight: 600;
    font-size: 14px;
}

body.hg-body.hg-luxury-home .prop-login {
    background: var(--lux-maroon) !important;
    border-color: var(--lux-maroon) !important;
    font-weight: 600;
    min-width: 108px;
    justify-content: center;
}

body.hg-body.hg-luxury-home .prop-login:hover {
    background: var(--lux-maroon-hover) !important;
}

body.hg-body.hg-luxury-home .lux-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

body.hg-body.hg-luxury-home .lux-lang a {
    text-decoration: none;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

body.hg-body.hg-luxury-home .lux-lang a.is-on {
    color: var(--lux-maroon);
}

body.hg-body.hg-luxury-home .lux-lang a:hover {
    color: var(--lux-maroon);
}

body.hg-body.hg-luxury-home .lux-lang__sep {
    color: #cbd5e1;
    font-weight: 400;
    user-select: none;
}

body.hg-body.hg-luxury-home .prop-lang {
    display: none;
}

/* Rounded UI on luxury home (chrome resets radius to 0) */
body.hg-body.hg-luxury-home .lux-card,
body.hg-body.hg-luxury-home .lux-card__btn,
body.hg-body.hg-luxury-home .lux-card__icon,
body.hg-body.hg-luxury-home .lux-hero__badge,
body.hg-body.hg-luxury-home .lux-side__support,
body.hg-body.hg-luxury-home .lux-side__nav a {
    border-radius: 16px !important;
}

body.hg-body.hg-luxury-home .lux-hero__badge {
    border-radius: 999px !important;
}

body.hg-body.hg-luxury-home .lux-hero__headline-wrap {
    container-type: inline-size;
    container-name: lux-hero-headline;
}

/* Override prestige-typography display-lg — one line on desktop, scales with content width */
body.hg-body.hg-luxury-home .lux-hero__title {
    font-weight: 700 !important;
    font-size: clamp(22px, 2.65cqi, 30px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

/* —— Hero —— */
body.hg-body.hg-luxury-home .hg-page {
    background: #f4f6f9;
}

.lux-hero {
    margin: 0;
    padding: 0;
    background: #f4f6f9;
}

.lux-hero__banner {
    padding: 28px 48px 26px;
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    overflow: visible;
    box-sizing: border-box;
}

.lux-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: var(--lux-maroon-soft);
    color: var(--lux-maroon);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.35;
    max-width: 100%;
}

.lux-hero__badge-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lux-maroon);
}

.lux-hero__headline-wrap {
    position: relative;
    max-width: 100%;
    overflow: visible;
}

.lux-hero__title {
    margin: 0 0 14px;
    min-width: 0;
    max-width: 100%;
    font-weight: 700;
    color: #0a1628;
    letter-spacing: -0.02em;
    overflow-wrap: normal;
}

@media (min-width: 1025px) {
    body.hg-body.hg-luxury-home .lux-hero__title {
        white-space: nowrap;
        text-wrap: nowrap;
    }
}

@container lux-hero-headline (max-width: 920px) {
    body.hg-body.hg-luxury-home .lux-hero__title {
        white-space: normal;
        text-wrap: balance;
        font-size: clamp(22px, 4.2cqi, 28px) !important;
    }
}

@media (max-width: 640px) {
    body.hg-body.hg-luxury-home .lux-hero__title {
        white-space: normal;
        text-wrap: balance;
        font-size: clamp(24px, 6.2vw, 30px) !important;
    }
}

.lux-hero__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px 48px;
}

.lux-hero__lead {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 780px;
    font-size: 15px;
    line-height: 1.65;
    color: #5c6b7a;
    font-weight: 500;
}

.lux-hero__live {
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 212px;
    max-width: 240px;
}

.lux-hero__live-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #1e293b;
    text-align: left;
}

.lux-hero__live-dot {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    flex-shrink: 0;
}

.lux-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: none;
    margin: 0;
    padding: 28px 48px 36px;
}

.lux-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 20px;
    padding: 24px 22px 22px;
    box-shadow: 0 8px 32px rgba(12, 27, 51, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.lux-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.lux-card__icon--buy { background: var(--lux-maroon); }
.lux-card__icon--rent { background: #fef3c7; }
.lux-card__icon--sell { background: #fde8ec; }
.lux-card__icon--lease { background: #d1fae5; }

.lux-card__label {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.lux-card__title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--lux-ink);
    letter-spacing: -0.02em;
}

.lux-card__text {
    margin: 0 0 20px;
    flex: 1;
    font-size: 13px;
    line-height: 1.55;
    color: var(--lux-muted);
    font-weight: 500;
}

.lux-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #dde3ea;
    background: #fff;
    color: var(--lux-ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    white-space: nowrap;
}

.lux-card__btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--lux-ink);
}

.lux-card--primary .lux-card__btn {
    background: var(--lux-maroon);
    border-color: var(--lux-maroon);
    color: #fff;
}

.lux-card--primary .lux-card__btn:hover {
    background: var(--lux-maroon-hover);
    border-color: var(--lux-maroon-hover);
    color: #fff;
}

@media (max-width: 1280px) {
    .lux-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lux-hero__meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .lux-hero__live {
        width: auto;
        max-width: none;
    }
}

@media (max-width: 1024px) {
    body.hg-body.hg-luxury-home .prop-persona {
        display: none;
    }
}

@media (max-width: 900px) {
    body.hg-body.hg-luxury-home {
        --lux-sidebar: 0px;
        --hg-sidebar: 0px;
    }

    body.hg-body.hg-luxury-home > .prop-chrome,
    body.hg-body.hg-luxury-home .hg-page {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    body.hg-body.hg-luxury-home .hg-side.lux-side {
        display: none !important;
    }

    body.hg-body.hg-luxury-home .prop-brand {
        display: inline-flex !important;
    }
}

@media (max-width: 640px) {
    .lux-cards {
        grid-template-columns: 1fr;
    }

    .lux-hero__banner,
    .lux-cards {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.hg-body.hg-luxury-home .prop-bar {
        flex-wrap: wrap;
        height: auto;
        min-height: 72px;
        padding: 10px 14px;
    }

    body.hg-body.hg-luxury-home .prop-search-wrap {
        order: 10;
        flex: 1 1 100%;
        max-width: none;
    }

    .lux-featured {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* —— Featured projects —— */
.lux-featured {
    padding: 28px 48px 44px;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

.lux-featured__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 32px;
    margin-bottom: 24px;
}

.lux-featured__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--lux-maroon);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lux-featured__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -0.03em;
}

.lux-featured__lead {
    margin: 0;
    max-width: 640px;
    font-size: 14px;
    line-height: 1.6;
    color: #5c6b7a;
    font-weight: 500;
}

.lux-featured__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 22px;
}

.lux-featured__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--lux-maroon);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.lux-featured__all:hover {
    background: var(--lux-maroon-hover);
    color: #fff;
}

.lux-featured__nav {
    display: inline-flex;
    gap: 8px;
}

.lux-featured__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dde3ea;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lux-featured__arrow:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.lux-featured__track-wrap {
    overflow: hidden;
}

.lux-featured__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.lux-featured__track::-webkit-scrollbar {
    display: none;
}

.lux-featured__empty {
    margin: 0;
    padding: 24px 0;
    color: #64748b;
    font-size: 14px;
}

.lux-pj-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 27, 51, 0.07);
    display: flex;
    flex-direction: column;
}

.lux-pj-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.lux-pj-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lux-pj-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
}

.lux-pj-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 56px);
}

.lux-pj-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.lux-pj-card__badge--status.lux-pj-card__badge--s2 {
    background: #dcfce7;
    color: #166534;
}

.lux-pj-card__badge--status.lux-pj-card__badge--s1 {
    background: #e0f2fe;
    color: #0369a1;
}

.lux-pj-card__badge--status.lux-pj-card__badge--s3 {
    background: #f1f5f9;
    color: #475569;
}

.lux-pj-card__badge--vip {
    background: #fef3c7;
    color: #92400e;
}

.lux-pj-card__badge--muted {
    background: rgba(255, 255, 255, 0.92);
    color: #475569;
}

.lux-pj-card__photos {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    font-size: 11px;
    font-weight: 700;
}

.lux-pj-card__media-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 10px;
}

.lux-pj-card__media-copy {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 62%;
}

.lux-pj-card__investor {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.9;
}

.lux-pj-card__price {
    margin: 0;
    font-size: clamp(17px, 1.25vw, 22px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lux-pj-card__scale {
    flex-shrink: 0;
    max-width: 46%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
}

.lux-pj-card__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.lux-pj-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.lux-pj-card__title a {
    color: #0a1628;
    text-decoration: none;
}

.lux-pj-card__loc {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    font-weight: 500;
}

.lux-pj-card__loc svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lux-maroon);
}

.lux-pj-card__amenities {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.lux-pj-card__amenities li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.lux-pj-card__amenities li svg {
    flex-shrink: 0;
    color: var(--lux-maroon);
}

.lux-pj-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
}

/* Homepage market carousel — hide Loại hình / Diện tích / Phòng ngủ row (info already in amenities line) */
.lux-featured--market .lux-pj-card__specs {
    display: none;
}

.lux-pj-card__spec {
    padding: 10px 8px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    min-width: 0;
}

.lux-pj-card__spec span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.2;
}

.lux-pj-card__spec strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    word-break: break-word;
}

.lux-pj-card__spec-val--success {
    color: #15803d !important;
}

.lux-pj-card__spec-val--warn {
    color: #b91c1c !important;
}

.lux-pj-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #dde3ea;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.lux-pj-card__cta--primary {
    background: var(--lux-maroon);
    border-color: var(--lux-maroon);
    color: #fff;
}

.lux-pj-card__cta--primary:hover {
    background: var(--lux-maroon-hover);
    border-color: var(--lux-maroon-hover);
    color: #fff;
}

.lux-pj-card__cta:hover {
    background: #f8fafc;
}

body.hg-body.hg-luxury-home .lux-pj-card,
body.hg-body.hg-luxury-home .lux-pj-card__cta,
body.hg-body.hg-luxury-home .lux-pj-card__spec,
body.hg-body.hg-luxury-home .lux-featured__all,
body.hg-body.hg-luxury-home .lux-featured__arrow {
    border-radius: 12px !important;
}

body.hg-body.hg-luxury-home .lux-featured__all,
body.hg-body.hg-luxury-home .lux-featured__arrow {
    border-radius: 999px !important;
}

body.hg-body.hg-luxury-home .lux-pj-card {
    border-radius: 20px !important;
}

body.hg-body.hg-luxury-home .lux-featured__all,
body.hg-body.hg-luxury-home .lux-pj-card__cta--primary,
body.hg-body.hg-luxury-home .lux-card--primary .lux-card__btn,
body.hg-body.hg-luxury-home .prop-login {
    background: var(--lux-maroon) !important;
    border-color: var(--lux-maroon) !important;
    color: #fff !important;
}

body.hg-body.hg-luxury-home .lux-featured__all:hover,
body.hg-body.hg-luxury-home .lux-pj-card__cta--primary:hover,
body.hg-body.hg-luxury-home .lux-card--primary .lux-card__btn:hover,
body.hg-body.hg-luxury-home .prop-login:hover {
    background: var(--lux-maroon-hover) !important;
    border-color: var(--lux-maroon-hover) !important;
    color: #fff !important;
}

body.hg-body.hg-luxury-home .prop-register:hover,
body.hg-body.hg-luxury-home .lux-lang a.is-on,
body.hg-body.hg-luxury-home .lux-lang a:hover,
body.hg-body.hg-luxury-home .lux-featured__kicker,
body.hg-body.hg-luxury-home .lux-hero__badge {
    color: var(--lux-maroon) !important;
}

@media (max-width: 1100px) {
    .lux-featured__head {
        flex-direction: column;
    }

    .lux-featured__actions {
        padding-top: 0;
        width: 100%;
        justify-content: space-between;
    }

    .lux-pj-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 720px) {
    .lux-pj-card {
        flex: 0 0 min(88vw, 320px);
    }

    .lux-pj-card__price {
        font-size: 16px;
        white-space: normal;
    }
}

/* —— Market listings —— */
.lux-listings {
    padding: 32px 48px 48px;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

.lux-listings__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px 32px;
    margin-bottom: 22px;
}

.lux-listings__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--lux-maroon);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lux-listings__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -0.03em;
}

.lux-listings__lead {
    margin: 0;
    max-width: 720px;
    font-size: 14px;
    line-height: 1.6;
    color: #5c6b7a;
    font-weight: 500;
}

.lux-listings__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 4px;
    flex-shrink: 0;
    padding-top: 28px;
}

.lux-listings__tab {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}

.lux-listings__tab:hover {
    color: #334155;
    background: #f1f5f9;
}

.lux-listings__tab.is-on {
    background: var(--lux-maroon);
    color: #fff;
}

.lux-listings__filter {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
    background: #f4f6f8;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
}

.lux-listings__filter-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 16px;
}

.lux-listings__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lux-listings__label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.lux-listings__field select {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

.lux-listings__field--select select.lux-filter-select {
    appearance: none;
    background-image: none;
    padding-right: 12px;
}

.lux-listings__select {
    position: relative;
    display: block;
    width: 100%;
}

.lux-listings__select .select2-container {
    width: 100% !important;
}

.lux-listings__select .select2-container--default .select2-selection--single {
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    background: #fff;
}

.lux-listings__select .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    padding-left: 12px;
    padding-right: 28px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.lux-listings__select .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 6px;
}

.lux-listings__select .select2-container--default.select2-container--open .select2-selection--single,
.lux-listings__select .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--lux-maroon);
}

.lux-listings__select select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.lux-listings__apply {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 12px;
    background: var(--lux-maroon);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.lux-listings__apply:hover {
    background: var(--lux-maroon-hover);
}

.lux-listings__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.lux-featured__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

.lux-featured__tab {
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}

.lux-featured__tab:hover {
    color: #334155;
    background: #e8ecf1;
}

.lux-featured__tab.is-on {
    background: var(--lux-maroon);
    color: #fff;
}

.lux-featured--market .lux-featured__filter {
    margin-bottom: 20px;
}

.lux-listings__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.lux-list-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(12, 27, 51, 0.06);
    display: flex;
    flex-direction: column;
}

.lux-list-card__media-wrap {
    position: relative;
}

.lux-list-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.lux-list-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lux-list-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.lux-list-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 52px);
}

.lux-list-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.lux-list-card__badge--green {
    background: #16a34a;
}

.lux-list-card__badge--gold {
    background: #d97706;
}

.lux-list-card__badge--red {
    background: #dc2626;
}

.lux-list-card__badge--dark {
    background: #1e293b;
}

.lux-list-card__heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.lux-list-card__heart.is-on {
    color: var(--lux-maroon);
}

.lux-list-card__media-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
}

.lux-list-card__time {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.lux-list-card__photos {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.lux-list-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.lux-list-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}

.lux-list-card__category {
    color: #94a3b8;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lux-list-card__status {
    flex-shrink: 0;
    font-weight: 700;
}

.lux-list-card__status--green {
    color: #16a34a;
}

.lux-list-card__status--orange {
    color: #ea580c;
}

.lux-list-card__status--red {
    color: #dc2626;
}

.lux-list-card__status--muted {
    color: #64748b;
}

.lux-list-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lux-list-card__title a {
    color: inherit;
    text-decoration: none;
}

.lux-list-card__title a:hover {
    color: var(--lux-maroon);
}

.lux-list-card__loc {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
    font-weight: 500;
}

.lux-list-card__loc svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--lux-maroon);
}

.lux-list-card__foot {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.lux-list-card__price {
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 800;
    color: var(--lux-maroon);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lux-list-card__specs {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .lux-listings__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .lux-listings__head {
        flex-direction: column;
    }

    .lux-listings__tabs {
        padding-top: 0;
        justify-content: flex-start;
    }

    .lux-listings__filter {
        flex-direction: column;
    }

    .lux-listings__filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lux-listings__apply {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .lux-listings {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lux-listings__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .lux-listings__filter-grid {
        grid-template-columns: 1fr;
    }

    .lux-listings__grid {
        grid-template-columns: 1fr;
    }
}

/* —— Brokers —— */
.lux-brokers {
    padding: 36px 48px 56px;
    background: #f4f6f9;
    border-top: none;
}

.lux-brokers__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px 32px;
    margin-bottom: 24px;
}

.lux-brokers__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #c9a227;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lux-brokers__kicker svg {
    color: #c9a227;
}

.lux-brokers__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -0.03em;
}

.lux-brokers__lead {
    margin: 0;
    max-width: 720px;
    font-size: 14px;
    line-height: 1.6;
    color: #5c6b7a;
    font-weight: 500;
}

.lux-brokers__nav {
    display: inline-flex;
    gap: 8px;
    flex-shrink: 0;
    padding-top: 28px;
}

.lux-brokers__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dde3ea;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lux-brokers__arrow:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.lux-brokers__track-wrap {
    overflow: hidden;
}

.lux-brokers__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.lux-brokers__track::-webkit-scrollbar {
    display: none;
}

.lux-brokers__empty {
    margin: 0;
    padding: 24px 0;
    color: #64748b;
    font-size: 14px;
}

.lux-broker-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    scroll-snap-align: start;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(12, 27, 51, 0.06);
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lux-broker-card:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 16, 46, 0.12);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 14px 36px rgba(12, 27, 51, 0.1);
}

.lux-broker-card__top {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow: visible;
    width: 100%;
}

.lux-broker-card__avatar {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(145deg, #e8d4a8 0%, #c9a227 45%, #e8d4a8 100%);
    text-decoration: none;
    margin-bottom: 2px;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.22);
}

.lux-broker-card__avatar img,
.lux-broker-card__initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
    color: #334155;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    border: 2px solid #fff;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.lux-broker-card__rating {
    position: absolute;
    right: -8px;
    bottom: -4px;
    z-index: 2;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #28a745;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 22px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.35);
    border: 2px solid #fff;
    white-space: nowrap;
}

.lux-broker-card__rating-star {
    font-size: 9px;
    line-height: 1;
    opacity: 0.95;
}

.lux-broker-card__rating-num {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lux-broker-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.lux-broker-card__name a {
    color: inherit;
    text-decoration: none;
}

.lux-broker-card__name a:hover {
    color: var(--lux-maroon);
}

.lux-broker-card__role {
    margin: -2px 0 0;
    max-width: 100%;
    text-align: center;
}

.lux-broker-card__role-pill {
    display: inline-block;
    max-width: 100%;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(200, 16, 46, 0.06);
    border: 1px solid rgba(200, 16, 46, 0.1);
    color: #9f1239;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lux-broker-card__loc-panel {
    width: 100%;
    margin-top: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    text-align: left;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.lux-broker-card__loc-compact {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.lux-broker-card__loc-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lux-maroon);
    opacity: 0.9;
}

.lux-broker-card__loc-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lux-broker-card__loc-province {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    word-break: break-word;
}

.lux-broker-card__loc-detail {
    display: block;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
    color: #64748b;
    word-break: break-word;
}

.lux-broker-card__loc {
    margin: 0;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.45;
    color: #475569;
    font-weight: 500;
    text-align: left;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-sizing: border-box;
}

.lux-broker-card__loc svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lux-maroon);
    opacity: 0.85;
}

.lux-broker-card__stats--single .lux-broker-card__stat {
    border-left: 0;
}

.lux-broker-card__stats--single {
    grid-template-columns: 1fr;
}

.lux-broker-card__actions--profile-only {
    justify-content: center;
}

.lux-broker-card__actions--profile-only .lux-broker-card__btn--ghost {
    flex: 1;
}

.lux-broker-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
    padding: 10px 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8ecf1;
}

.lux-broker-card__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 44px;
    padding: 4px 8px;
    text-align: center;
}

.lux-broker-card__stat:first-child {
    border-right: 1px solid #eef2f6;
}

.lux-broker-card__stat-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.lux-broker-card__stat-value--accent {
    color: var(--lux-maroon) !important;
}

.lux-broker-card__stat-value--muted {
    color: #0f172a !important;
    font-size: 18px;
}

.lux-broker-card__stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    max-width: 100%;
    min-height: 2.2em;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.3;
    text-align: center;
}

.lux-broker-card__actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
    padding-top: 2px;
}

.lux-broker-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.lux-broker-card__btn--primary {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    border-radius: 12px;
    background: var(--lux-maroon) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.22);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.lux-broker-card__btn--primary:hover {
    background: var(--lux-maroon-hover) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.28);
}

.lux-broker-card__btn--ghost {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #fff !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lux-broker-card__btn--ghost:hover {
    color: var(--lux-maroon) !important;
    border-color: rgba(200, 16, 46, 0.25) !important;
    background: #fffafb !important;
}

@media (max-width: 1280px) {
    .lux-broker-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 1100px) {
    .lux-brokers__head {
        flex-direction: column;
    }

    .lux-brokers__nav {
        padding-top: 0;
    }

    .lux-broker-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 900px) {
    .lux-brokers {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 640px) {
    .lux-broker-card {
        flex: 0 0 min(88vw, 300px);
    }
}

/* —— SAFETRADE guide —— */
.lux-safetrade {
    padding: 40px 48px 56px;
    background: #f4f6f9;
}

.lux-safetrade__head {
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
}

.lux-safetrade__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #faf3dc;
    color: #9a7b1a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lux-safetrade__kicker svg {
    color: #b8860b;
}

.lux-safetrade__title {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.lux-safetrade__lead {
    margin: 0 auto;
    max-width: 720px;
    font-size: 14px;
    line-height: 1.65;
    color: #5c6b7a;
    font-weight: 500;
}

.lux-safetrade__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.lux-safetrade-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 10px 32px rgba(12, 27, 51, 0.06);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.lux-safetrade-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eef1f5;
}

.lux-safetrade-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lux-safetrade-card__icon--buy {
    background: #fff0f2;
    color: var(--lux-maroon);
}

.lux-safetrade-card__icon--sell {
    background: #faf3dc;
    color: #b8860b;
}

.lux-safetrade-card__title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.lux-safetrade-card__subtitle {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
    font-weight: 500;
}

.lux-safetrade-card__steps {
    list-style: none;
    margin: 0;
    padding: 8px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.lux-safetrade-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.lux-safetrade-step__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.lux-safetrade-step__num--buy {
    background: var(--lux-maroon);
}

.lux-safetrade-step__num--sell {
    background: #d4af37;
}

.lux-safetrade-step__title {
    display: block;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.lux-safetrade-step__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #64748b;
    font-weight: 500;
}

.lux-safetrade-card__cta {
    margin-top: auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lux-safetrade-card__cta--outline {
    background: #fff !important;
    color: var(--lux-maroon) !important;
    border: 1px solid var(--lux-maroon) !important;
}

.lux-safetrade-card__cta--outline:hover,
.lux-safetrade-card__cta--outline:focus-visible {
    background: var(--lux-maroon) !important;
    border-color: var(--lux-maroon) !important;
    color: #fff !important;
}

.lux-safetrade-card__cta {
    padding: 12px 20px;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.lux-safetrade-card__cta svg {
    flex: 0 0 auto;
}

.lux-safetrade-card__cta--primary {
    background: var(--lux-maroon) !important;
    color: #fff !important;
    border: 1px solid var(--lux-maroon) !important;
}

.lux-safetrade-card__cta--primary:hover {
    background: var(--lux-maroon-hover) !important;
    border-color: var(--lux-maroon-hover) !important;
    color: #fff !important;
}

@media (max-width: 1100px) {
    .lux-safetrade__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .lux-safetrade {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lux-safetrade-card {
        padding: 22px 18px 20px;
    }
}

/* —— Market insights —— */
.lux-insights {
    padding: 36px 48px 28px;
    background: #fff;
    border-top: 1px solid #eef1f5;
}

.lux-insights__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px 32px;
    margin-bottom: 24px;
}

.lux-insights__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--lux-maroon);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lux-insights__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    color: #0a1628;
    letter-spacing: -0.03em;
}

.lux-insights__lead {
    margin: 0;
    max-width: 640px;
    font-size: 14px;
    line-height: 1.6;
    color: #5c6b7a;
    font-weight: 500;
}

.lux-insights__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 22px;
}

.lux-insights__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--lux-maroon);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.lux-insights__all:hover {
    background: var(--lux-maroon-hover);
    color: #fff;
}

.lux-insights__nav {
    display: inline-flex;
    gap: 8px;
}

.lux-insights__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dde3ea;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lux-insights__track-wrap {
    overflow: hidden;
}

.lux-insights__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.lux-insights__track::-webkit-scrollbar {
    display: none;
}

.lux-insights__empty {
    margin: 0;
    padding: 24px 0;
    color: #64748b;
    font-size: 14px;
}

.lux-insight-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(12, 27, 51, 0.06);
    display: flex;
    flex-direction: column;
}

.lux-insight-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8ecf1;
}

.lux-insight-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lux-insight-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--lux-maroon);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 26px;
    letter-spacing: 0.02em;
}

.lux-insight-card__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.lux-insight-card__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.lux-insight-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lux-insight-card__title a {
    color: inherit;
    text-decoration: none;
}

.lux-insight-card__title a:hover {
    color: var(--lux-maroon);
}

.lux-insight-card__excerpt {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #64748b;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.lux-insight-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--lux-maroon);
    text-decoration: none;
}

.lux-insight-card__more:hover {
    color: var(--lux-maroon-hover);
}

/* —— Home CTA banner —— */
.lux-home-cta {
    padding: 0 48px 32px;
    background: #fff;
}

.lux-home-cta__inner {
    display: flex;
    align-items: center;
    gap: 16px 20px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a30d26 0%, var(--lux-maroon) 45%, #8b0f24 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.2);
}

.lux-home-cta__brand {
    flex-shrink: 0;
}

.lux-home-cta__brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.lux-home-cta__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.lux-home-cta__copy {
    flex: 1;
    min-width: 0;
}

.lux-home-cta__title {
    margin: 0 0 4px;
    font-size: clamp(15px, 1.35vw, 17px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.lux-home-cta__lead {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    max-width: 480px;
}

.lux-home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.lux-home-cta__btn {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.lux-home-cta__btn svg {
    width: 15px;
    height: 15px;
}

.lux-home-cta__btn--light {
    background: #fff;
    color: var(--lux-maroon);
    border: 1px solid #fff;
}

.lux-home-cta__btn--light:hover {
    background: #fff4f5;
    color: var(--lux-maroon-hover);
}

.lux-home-cta__btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.lux-home-cta__btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 1280px) {
    .lux-insight-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 1100px) {
    .lux-insights__head {
        flex-direction: column;
    }

    .lux-insights__actions {
        padding-top: 0;
        width: 100%;
        justify-content: space-between;
    }

    .lux-insight-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .lux-home-cta__inner {
        flex-wrap: wrap;
    }

    .lux-home-cta__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .lux-insights,
    .lux-home-cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lux-home-cta {
        padding-bottom: 24px;
    }

    .lux-home-cta__inner {
        padding: 14px 16px;
    }
}

@media (max-width: 640px) {
    .lux-insight-card {
        flex: 0 0 min(88vw, 320px);
    }

    .lux-home-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .lux-home-cta__btn {
        width: 100%;
    }
}

/* Ẩn legacy dưới luxury (tỉnh/từ khóa + Tin phòng) — chỉ khối landing, không ẩn trang dự án */
.hg-luxury-home header.hg-top,
.hg-luxury-home main.hg-main:has(#propStories, .prop-stories) {
    display: none !important;
}

body.hg-luxury-home.pj-show-page main.hg-main {
    display: block !important;
}

/* —— Luxury footer —— */
.lux-foot__subscribe {
    max-width: 1280px;
    margin: 0 auto 36px;
    padding: 22px clamp(18px, 3vw, 28px);
    border-radius: 16px;
    background: linear-gradient(135deg, #7a0f1e 0%, #9b1830 55%, #6d0c18 100%);
    color: #fff;
    box-shadow: 0 12px 40px rgba(122, 15, 30, 0.22);
}

.lux-foot__subscribe-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
}

.lux-foot__subscribe-title {
    margin: 0 0 6px;
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lux-foot__subscribe-lead {
    margin: 0;
    max-width: 420px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.lux-foot__subscribe-form {
    flex: 1 1 320px;
    max-width: 480px;
    margin: 0;
}

.lux-foot__subscribe-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lux-foot__subscribe-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 5px 5px 5px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lux-foot__subscribe-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 11px 8px 11px 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--lux-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

.lux-foot__subscribe-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.lux-foot__subscribe-input:focus {
    outline: none;
}

.lux-foot__subscribe-row:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

.lux-foot__subscribe-btn {
    flex-shrink: 0;
    padding: 11px 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #8f1428 0%, #6d0c18 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(109, 12, 24, 0.35);
}

.lux-foot__subscribe-btn:hover:not(:disabled) {
    background: linear-gradient(180deg, #a01830 0%, #7a0f1e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 12, 24, 0.4);
}

.lux-foot__subscribe-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.lux-foot__subscribe-note {
    margin: 10px 0 0 4px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 480px) {
    .lux-foot__subscribe-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    .lux-foot__subscribe-input {
        padding: 10px 12px;
        border-radius: 12px;
        background: #f8fafc;
    }

    .lux-foot__subscribe-btn {
        width: 100%;
        border-radius: 12px;
    }
}

.lux-foot {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 48px clamp(24px, 4vw, 48px) 0;
    background: #f4f6f9;
    color: var(--lux-ink);
    font-size: 13px;
    line-height: 1.55;
}

.lux-foot__main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1fr);
    gap: 32px clamp(20px, 3vw, 48px);
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.lux-foot__logo {
    display: inline-block;
    margin-bottom: 14px;
    text-decoration: none;
    line-height: 0;
}

.lux-foot__logo img {
    display: block;
    width: auto;
    max-width: min(320px, 100%);
    height: 88px;
    object-fit: contain;
    object-position: left center;
}

.lux-foot__tagline {
    margin: 0 0 22px;
    max-width: 340px;
    color: var(--lux-muted);
    font-size: 12px;
    line-height: 1.65;
}

.lux-foot__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.lux-foot__line {
    margin: 0;
    color: #3d4a57;
    font-size: 12px;
    font-weight: 500;
}

.lux-foot__line a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.lux-foot__line a:hover {
    color: var(--lux-maroon);
}

.lux-foot__label {
    color: var(--lux-muted);
    font-weight: 600;
}

.lux-foot__channels {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #8a96a3;
}

.lux-foot__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 360px;
}

.lux-foot__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8ecf1;
    color: #5c6b7a;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lux-foot__social-link svg {
    display: block;
}

.lux-foot__social-link:hover {
    background: #fff;
    color: var(--lux-maroon);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.lux-foot__social-link--facebook:hover { color: #1877f2; }
.lux-foot__social-link--instagram:hover { color: #e4405f; }
.lux-foot__social-link--youtube:hover { color: #ff0000; }
.lux-foot__social-link--tiktok:hover { color: #010101; }
.lux-foot__social-link--zalo:hover { color: #0068ff; }
.lux-foot__social-link--linkedin:hover { color: #0a66c2; }
.lux-foot__social-link--telegram:hover { color: #229ed9; }
.lux-foot__social-link--twitter:hover { color: #0f1419; }
.lux-foot__social-link--pinterest:hover { color: #bd081c; }
.lux-foot__social-link--threads:hover { color: #0f1419; }

.lux-foot__heading {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--lux-ink);
}

.lux-foot__nav {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.lux-foot__nav a {
    color: #5c6b7a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.lux-foot__nav a:hover {
    color: var(--lux-maroon);
}

.lux-foot__trust-lead {
    margin: 0 0 18px;
    max-width: 260px;
    color: var(--lux-muted);
    font-size: 12px;
    line-height: 1.65;
}

.lux-foot__verified {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border: 1.5px solid #2e9e6a;
    border-radius: 8px;
    background: #fff;
    color: #1a7f4e;
    font-size: 12px;
    font-weight: 700;
}

.lux-foot__verified svg {
    flex-shrink: 0;
    color: #2e9e6a;
}

.lux-foot__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid var(--lux-line);
}

.lux-foot__copy {
    margin: 0;
    color: #8a96a3;
    font-size: 12px;
}

.lux-foot__copy strong {
    color: var(--lux-ink);
    font-weight: 800;
}

.lux-foot__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.lux-foot__legal a {
    color: #5c6b7a;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.lux-foot__legal a:hover {
    color: var(--lux-maroon);
}

@media (max-width: 1100px) {
    .lux-foot__main {
        grid-template-columns: 1fr 1fr;
    }

    .lux-foot__col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .lux-foot {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lux-foot__main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lux-foot__bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Language switcher: flag icons */
body.hg-body.hg-luxury-home .lux-lang { gap: 8px; }
body.hg-body.hg-luxury-home .lux-lang a.lux-lang__flag {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0.45;
    filter: grayscale(0.4);
    box-shadow: 0 0 0 1px #e2e8f0;
    transition: opacity .15s, box-shadow .15s, filter .15s;
}
body.hg-body.hg-luxury-home .lux-lang a.lux-lang__flag svg { width: 100%; height: 100%; display: block; }
body.hg-body.hg-luxury-home .lux-lang a.lux-lang__flag:hover { opacity: 0.85; filter: none; }
body.hg-body.hg-luxury-home .lux-lang a.lux-lang__flag.is-on {
    opacity: 1;
    filter: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lux-maroon);
}
body.hg-body.hg-luxury-home .lux-lang a.lux-lang__flag:focus-visible { outline: 2px solid var(--lux-maroon); outline-offset: 3px; }
@media (max-width: 640px) {
    body.hg-body.hg-luxury-home .lux-lang a.lux-lang__flag { width: 22px; height: 22px; }
}

/* ===== Homepage broker cards polish (scoped to .lux-brokers) ===== */
.lux-brokers { --bk-red: var(--primary, #c8102e); }
.lux-brokers .lux-brokers__track { align-items: stretch; padding: 6px 2px 10px; }
.lux-brokers .lux-broker-card {
  position: relative; background: #fff; border: 1px solid #eceef2; border-radius: 18px; padding: 24px 18px 18px; gap: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 18px rgba(15,23,42,.05); overflow: hidden;
}
.lux-brokers .lux-broker-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 64px; background: linear-gradient(180deg, rgba(200,16,46,.07), rgba(200,16,46,0)); pointer-events: none; }
.lux-brokers .lux-broker-card:hover { transform: translateY(-4px); border-color: rgba(200,16,46,.22); box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 16px 36px rgba(200,16,46,.12); }
.lux-brokers .lux-broker-card__top { flex: 1 1 auto; gap: 8px; }

/* avatar */
.lux-brokers .lux-broker-card__avatar { width: 84px; height: 84px; padding: 3px; background: #fff; border: 2px solid rgba(200,16,46,.18); box-shadow: 0 6px 16px rgba(15,23,42,.08); transition: border-color .2s, box-shadow .2s; }
.lux-brokers .lux-broker-card:hover .lux-broker-card__avatar { border-color: var(--bk-red); box-shadow: 0 8px 20px rgba(200,16,46,.18); }
.lux-brokers .lux-broker-card__avatar img { border-radius: 50%; object-fit: cover; margin: 0; opacity: 1; }
.lux-brokers .lux-broker-card__initial {
  display: flex; align-items: center; justify-content: center; margin: 0; border-radius: 50%; opacity: 1;
  background: linear-gradient(145deg, #c8102e, #8f0b21); color: #fff !important; font-size: 30px; font-weight: 700; letter-spacing: .02em;
}
.lux-brokers .lux-broker-card__rating { box-shadow: 0 2px 6px rgba(15,23,42,.12); }

.lux-brokers .lux-broker-card__name { margin: 4px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lux-brokers .lux-broker-card__name a { color: #0f172a; text-decoration: none; }
.lux-brokers .lux-broker-card__name a:hover { color: var(--bk-red); }
.lux-brokers .lux-broker-card__role { margin: 0; }
.lux-brokers .lux-broker-card__role-pill { background: #fdf1f3; color: #9f0d25; border: 0; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* location: light inline row */
.lux-brokers .lux-broker-card__loc-panel { width: 100%; background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; margin: 0; }
.lux-brokers .lux-broker-card__loc-compact, .lux-brokers .lux-broker-card__loc {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; background: none !important; border: 0 !important;
  font-size: 13px; color: #475569; line-height: 1.4; text-align: center;
}
.lux-brokers .lux-broker-card__loc-icon, .lux-brokers .lux-broker-card__loc svg { color: var(--bk-red); flex: 0 0 14px; }
.lux-brokers .lux-broker-card__loc-text { display: inline; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lux-brokers .lux-broker-card__loc-province { font-weight: 600; color: #334155; }
.lux-brokers .lux-broker-card__loc-detail { color: #64748b; }
.lux-brokers .lux-broker-card__loc-detail::before { content: " · "; }

/* stats: evenly distributed, centred whatever count */
.lux-brokers .lux-broker-card__stats {
  display: flex !important; justify-content: center; align-items: stretch; gap: 0; padding: 10px 0; margin-top: auto;
  background: #f8fafc; border: 0; border-radius: 12px;
}
.lux-brokers .lux-broker-card__stat { flex: 1 1 0; min-height: 0; padding: 2px 10px; border: 0 !important; background: transparent !important; }
.lux-brokers .lux-broker-card__stat + .lux-broker-card__stat { border-left: 1px solid #e2e8f0 !important; }
.lux-brokers .lux-broker-card__stat-value { font-size: 18px; font-weight: 800; line-height: 1.2; color: #0f172a !important; }
.lux-brokers .lux-broker-card__stat-value--accent { color: var(--bk-red) !important; }
.lux-brokers .lux-broker-card__stat-label { font-size: 11.5px; font-weight: 600; color: #475569 !important; text-transform: none; letter-spacing: 0; }

/* actions */
.lux-brokers .lux-broker-card__actions { display: flex; gap: 8px; margin-top: 0; }
.lux-brokers .lux-broker-card__stats + .lux-broker-card__actions { margin-top: 0; }
.lux-brokers .lux-broker-card__top + .lux-broker-card__actions { margin-top: auto; }
.lux-brokers .lux-broker-card__btn { flex: 1 1 0; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.lux-brokers .lux-broker-card__btn--primary { background: var(--bk-red) !important; color: #fff !important; border: 1px solid var(--bk-red) !important; }
.lux-brokers .lux-broker-card__btn--primary:hover { background: #a50d26 !important; border-color: #a50d26 !important; box-shadow: 0 6px 14px rgba(200,16,46,.25); }
.lux-brokers .lux-broker-card__btn--ghost { background: #fff !important; color: var(--bk-red) !important; border: 1px solid rgba(200,16,46,.35) !important; }
.lux-brokers .lux-broker-card__btn--ghost:hover { background: #fdf1f3 !important; border-color: var(--bk-red) !important; }

@media (max-width: 640px) {
  .lux-brokers .lux-broker-card { padding: 20px 16px 16px; }
  .lux-brokers .lux-broker-card__avatar { width: 76px; height: 76px; }
}
.lux-brokers .lux-broker-card__name { min-height: 0; }
.lux-brokers .lux-broker-card__loc-text, .lux-brokers .lux-broker-card__loc-text > span { display: inline !important; font-size: 13px !important; }
.lux-brokers .lux-broker-card__loc-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lux-brokers .lux-broker-card__actions > .lux-broker-card__btn { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
.lux-brokers .lux-broker-card__actions > .lux-broker-card__btn { padding: 0 12px !important; min-height: 40px; }

/* Homepage market listings: all "Xem chi tiết tin" buttons solid red */
body.hg-body.hg-luxury-home #luxMarketListings .lux-pj-card__cta {
  background: var(--primary, #c8102e) !important; border-color: var(--primary, #c8102e) !important; color: #fff !important;
  min-height: 44px; border-radius: 12px !important; transition: background .15s, border-color .15s, box-shadow .15s;
}
body.hg-body.hg-luxury-home #luxMarketListings .lux-pj-card__cta svg { color: #fff; }
body.hg-body.hg-luxury-home #luxMarketListings .lux-pj-card__cta:hover,
body.hg-body.hg-luxury-home #luxMarketListings .lux-pj-card__cta:focus-visible {
  background: #a50d26 !important; border-color: #a50d26 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(200,16,46,.25);
}

/* Homepage featured projects: all "Nhận bảng giá & Chính sách" buttons solid red */
body.hg-body.hg-luxury-home section.lux-featured[aria-labelledby="lux-featured-title"] .lux-pj-card__cta {
  background: var(--primary, #c8102e) !important; border-color: var(--primary, #c8102e) !important; color: #fff !important;
  min-height: 44px; border-radius: 12px !important; transition: background .15s, border-color .15s, box-shadow .15s;
}
body.hg-body.hg-luxury-home section.lux-featured[aria-labelledby="lux-featured-title"] .lux-pj-card__cta svg { color: #fff; }
body.hg-body.hg-luxury-home section.lux-featured[aria-labelledby="lux-featured-title"] .lux-pj-card__cta:hover,
body.hg-body.hg-luxury-home section.lux-featured[aria-labelledby="lux-featured-title"] .lux-pj-card__cta:focus-visible {
  background: #a50d26 !important; border-color: #a50d26 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(200,16,46,.25);
}

/* broker location: wrap up to 2 lines, centred, equal row height */
.lux-brokers .lux-broker-card__loc-panel { min-height: 38px; display: flex; align-items: flex-start; justify-content: center; }
.lux-brokers .lux-broker-card__loc-compact, .lux-brokers .lux-broker-card__loc { align-items: flex-start !important; max-width: 100%; }
.lux-brokers .lux-broker-card__loc-icon, .lux-brokers .lux-broker-card__loc svg { margin-top: 2px; }
.lux-brokers .lux-broker-card__loc-text { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; text-align: center; line-height: 1.45; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: normal; overflow-wrap: anywhere; }
.lux-brokers .lux-broker-card__loc-text > span { white-space: normal !important; }

/* broker location: province line 1 (with pin), ward line 2 */
.lux-brokers .lux-broker-card__loc-panel { min-height: 40px; }
.lux-brokers .lux-broker-card__loc-compact { display: block !important; text-align: center; }
.lux-brokers .lux-broker-card__loc-compact .lux-broker-card__loc-icon { display: inline-block; vertical-align: -2px; margin: 0 4px 0 0; }
.lux-brokers .lux-broker-card__loc-text { display: inline !important; -webkit-line-clamp: unset; white-space: normal !important; }
.lux-brokers .lux-broker-card__loc-province { display: inline !important; font-weight: 700; color: #1e293b; font-size: 13.5px !important; }
.lux-brokers .lux-broker-card__loc-detail { display: block !important; margin-top: 2px; font-size: 12.5px !important; font-weight: 500; color: #64748b; line-height: 1.35; }
.lux-brokers .lux-broker-card__loc-detail::before { content: none !important; }
.lux-brokers .lux-broker-card__loc-text > span.lux-broker-card__loc-detail { display: block !important; }

/* Solutions cards: all CTA buttons solid brand red, pinned to card bottom */
.lux-hero .lux-card{display:flex;flex-direction:column}
.lux-hero .lux-card .lux-card__btn{margin-top:auto;width:100%;height:46px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;background:var(--primary,#c8102e) !important;border:1px solid var(--primary,#c8102e) !important;color:#fff !important;transition:background .15s,border-color .15s}
.lux-hero .lux-card .lux-card__btn *{color:#fff !important}
.lux-hero .lux-card .lux-card__btn:hover,.lux-hero .lux-card .lux-card__btn:focus-visible{background:#a50d26 !important;border-color:#a50d26 !important;color:#fff !important}

/* —— Mobile: featured projects / market card blocks (≤767.98px only).
   The base `.lux-featured { padding: 28px 48px 44px }` is declared after the
   earlier 640px override and wins, leaving a 48px inset and a 320px card that
   is wider than the 294px content box (right edge clipped). Selectors here are
   one class stronger, so they win regardless of order. Desktop untouched. —— */
@media (max-width: 767.98px) {
    body.hg-body .lux-featured {
        padding: 20px 16px 28px;
    }

    body.hg-body .lux-featured .lux-featured__head {
        gap: 12px;
        margin-bottom: 16px;
    }

    body.hg-body .lux-featured .lux-featured__title {
        font-size: 22px;
        margin-bottom: 6px;
    }

    body.hg-body .lux-featured .lux-featured__kicker {
        margin-bottom: 6px;
    }

    body.hg-body .lux-featured .lux-featured__lead {
        font-size: 13px;
        line-height: 1.5;
    }

    body.hg-body .lux-featured .lux-featured__actions {
        padding-top: 0;
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    body.hg-body .lux-featured .lux-featured__all {
        min-height: 40px;
        padding: 0 16px;
    }

    body.hg-body .lux-featured .lux-featured__track-wrap {
        margin: 0;
        max-width: 100%;
    }

    body.hg-body .lux-featured .lux-featured__track {
        gap: 20px;
        padding-bottom: 0;
        scroll-padding: 0;
    }

    body.hg-body .lux-featured .lux-pj-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
