:root {
    --lux-maroon: #c8102e;
}

body.hg-luxury-home.hg-homes-page main.hg-main {
    padding: 0;
    max-width: none;
    background: #f8fafc;
}

.hg-homes-page .lux-homes {
    font-family: "Be Vietnam Pro", sans-serif;
}

.lux-homes-btn-primary {
    background: linear-gradient(90deg, var(--lux-maroon), #a30d26);
    color: #fff;
    border: 0;
}

.lux-homes-btn-primary:hover {
    opacity: 0.95;
    color: #fff;
}

.lux-homes-canvas {
    align-items: start;
}

.lux-homes-feed-card .material-symbols-outlined.fill-active {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.lux-homes-map__frame {
    display: block;
    width: 100%;
}

.lux-homes-filter-hub {
    width: 100%;
    max-width: none;
}

.lux-homes-filter-hub > .lux-homes-selected {
    display: none !important;
}

.lux-homes-filter-hub .lux-homes-row,
.lux-homes-filter-hub .lux-homes-filter-bottom {
    width: 100%;
    max-width: none;
}

.lux-homes-filter-hub .sm-dropdown {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
}

.lux-homes-filter-hub .select2-container {
    width: 100% !important;
    max-width: none !important;
}

.lux-homes-filter-bottom .lux-homes-section-price {
    border: 0;
    padding: 0;
    margin: 0;
    width: auto;
    max-width: 100%;
}

.lux-homes-filter-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lux-homes-filter-bottom .lux-homes-filter-footer {
    border: 0;
    padding: 0;
    margin: 0;
    margin-left: auto;
    background: transparent;
    gap: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.lux-homes-filter-hub > .lux-homes-advanced--collapsed {
    display: none !important;
}

.lux-homes-filter-hub .lux-homes-row {
    border: 0;
    padding: 0;
    margin: 0;
}

.lux-homes-filter-hub .sm-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.375rem;
}

.lux-homes-filter-hub select.sm-dropdown__btn,
.lux-homes-filter-hub .sm-slider__input {
    height: 2.75rem;
    border-radius: 0.75rem;
    border-color: #e2e8f0;
    background: rgba(248, 250, 252, 0.5);
    font-size: 0.8125rem;
    font-weight: 600;
}

.lux-homes-filter-hub select.sm-dropdown__btn:focus,
.lux-homes-filter-hub .sm-slider__input:focus {
    border-color: var(--lux-maroon);
    box-shadow: 0 0 0 1px var(--lux-maroon);
}

.lux-homes-filter-hub .select2-container--default .select2-selection--single {
    height: 2.75rem;
    border-radius: 0.75rem;
    border-color: #e2e8f0;
    background: rgba(248, 250, 252, 0.5);
}

.lux-homes-filter-hub .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 2.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
}

.lux-homes-filter-hub .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--lux-maroon);
}

.lux-homes-price-inputs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.lux-homes-price-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    white-space: nowrap;
}

.lux-homes-price-field {
    margin: 0;
}

.lux-homes-price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: rgba(248, 250, 252, 0.85);
}

.lux-homes-price-range .sm-slider__input {
    height: 2.25rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0.35rem;
}

.lux-homes-price-range .sm-slider__input:focus {
    box-shadow: none;
    outline: none;
}

.lux-homes-price-field {
    flex: 1 1 auto;
    min-width: 0;
}

.lux-homes-price-field .sm-slider__input {
    width: 100%;
    min-width: 6.5rem;
    max-width: 10rem;
    text-align: center;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .lux-homes-price-field .sm-slider__input {
        min-width: 8.5rem;
        max-width: 11rem;
    }
}

.lux-homes-price-inputs .sm-slider__input-sep {
    color: #94a3b8;
    font-weight: 500;
}

.lux-homes-price-unit {
    font-size: 0.6875rem;
    color: #64748b;
    font-weight: 500;
}

.lux-homes-price-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.lux-homes-section-price .lux-homes-price-inputs {
    flex: 0 0 auto;
}

.lux-homes-section-price {
    display: block;
}

.lux-homes-price-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lux-homes-price-pill:hover {
    background: #f8fafc;
}

.lux-homes-price-pill.is-on {
    background: #fdf2f4;
    border-color: #f7d0d8;
    color: var(--lux-maroon);
    font-weight: 700;
}

.lux-homes-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: transparent;
    border: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

.lux-homes-filter-clear:hover {
    color: var(--lux-maroon);
}

.lux-homes-filter-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.25);
}

.lux-homes-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .lux-homes-split {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: 1.5rem;
    }
}

.lux-homes-split__map {
    grid-column: 1;
    min-width: 0;
}

.lux-homes-list-panel {
    grid-column: 1;
    min-width: 0;
}

@media (min-width: 1024px) {
    .lux-homes-split__map {
        grid-column: 1;
        grid-row: 1;
    }

    .lux-homes-list-panel {
        grid-column: 2;
        grid-row: 1;
    }
}

.lux-homes-map-wrap {
    position: relative;
}

.lux-homes-map__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lux-homes-map__pins {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 15;
}

.lux-homes-map-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    pointer-events: auto;
    cursor: pointer;
    z-index: 2;
}

.lux-homes-map-pin__label {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    background: #fff;
    color: var(--lux-maroon);
    font-size: 0.6875rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 10px 25px -3px rgba(200, 16, 46, 0.35);
    border: 1px solid rgba(200, 16, 46, 0.15);
    transition: transform 0.15s;
}

.lux-homes-map-pin:hover .lux-homes-map-pin__label,
.lux-homes-map-pin.is-active .lux-homes-map-pin__label {
    transform: scale(1.05);
    background: var(--lux-maroon);
    color: #fff;
}

.lux-homes-map-pin::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 2px auto 0;
    border-radius: 50%;
    background: var(--lux-maroon);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.lux-homes-map-tool {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.lux-homes-feed {
    scrollbar-width: thin;
}

.lux-homes-card__heart {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    z-index: 2;
    transition: color 0.15s, background 0.15s;
}

.lux-homes-card__heart--sm {
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
}

.lux-homes-card__heart.is-on,
.hg-heart.lux-homes-card__heart.is-on {
    color: var(--lux-maroon);
}

.lux-homes-pages button {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border: 0;
    border-radius: 0.5rem;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.lux-homes-pages button.on {
    background: var(--lux-maroon);
    color: #fff;
}

.lux-homes-pages button:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 1023px) {
    .lux-homes-filter-bottom .lux-homes-filter-footer {
        width: 100%;
        justify-content: flex-end;
        flex-direction: row;
    }

    .lux-homes-price-pills {
        width: 100%;
        margin-top: 0.5rem;
    }

    .lux-homes-price-pill--wide {
        display: none;
    }
}
