﻿/* ── Contact agent: remove image link + verified badge ───────────────────── */
#property-contact-agent-wrap .agent-image a {
    pointer-events: none;
    cursor: default;
}
#property-contact-agent-wrap .agent-verified-icon,
#property-contact-agent-wrap .houzez-verified-badge {
    display: none !important;
}

/* ── Contact agent: phone / WhatsApp hover colour ───────────────────────── */
#property-contact-agent-wrap .agent-phone-wrap a:hover {
    color: #651223 !important;
}

/* ── Contact agent: Terms of Use link colour ─────────────────────────────── */
#property-contact-agent-wrap .gdpr-text-wrap a {
    color: #651223 !important;
}

/* ── Contact agent: hide View Listings, restyle Request Information ─────── */
#property-contact-agent-wrap .btn-slim {
    display: none !important;
}
#property-contact-agent-wrap .houzez_agent_property_form {
    background: #651223 !important;
    border-color: #651223 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px !important;
    transition: background .15s !important;
}
#property-contact-agent-wrap .houzez_agent_property_form:hover {
    background: #555555 !important;
    border-color: #555555 !important;
}

/* ── Hide unwanted property detail sections ──────────────────────────────── */
#property-overview-wrap,
#property-description-wrap,
#property-detail-wrap,
#property-features-wrap,
#property-schedule-tour-wrap,
#property-nearby-wrap,
#property-review-wrap {
    display: none !important;
}

/* ── Hide Create a Listing button + Member icon ──────────────────────────── */
.btn-create-listing,
.btn-icon-login-register,
.navbar-logged-in-wrap {
    display: none !important;
}

/* ── Header logo size ────────────────────────────────────────────────────── */
.logo.logo-desktop img,
.logo.logo-splash img {
    height: 80px;
    width: auto;
    max-width: none;
}

/* ── Main menu link colour ───────────────────────────────────────────────── */
.header-desktop .main-nav .nav-link,
.header-desktop .main-nav .nav-link span,
.header-v1 a.nav-link,
.header-v2 a.nav-link,
.header-v3 a.nav-link,
.header-v4 a.nav-link {
    color: #651223 !important;
}

/* ── Dropdown submenu hover colour ───────────────────────────────────────── */
.header-desktop .main-nav .sub-menu a:hover,
.header-desktop .main-nav .sub-menu a:focus,
.header-desktop .main-nav .dropdown-menu a:hover,
.header-desktop .main-nav .dropdown-menu a:focus,
.header-desktop .main-nav .dropdown-menu li:hover>a,
.header-v1 .sub-menu a:hover,
.header-v2 .sub-menu a:hover,
.header-v3 .sub-menu a:hover,
.header-v4 .sub-menu a:hover {
    color: #651223 !important;
}

/* ── Header phone number colour ──────────────────────────────────────────── */
.btn-phone-number a,
.btn-phone-number a *,
.btn-phone-number .fal,
.btn-phone-number .fas,
.btn-phone-number .far,
.btn-phone-number svg {
    color: #651223 !important;
    fill: #651223 !important;
}

/* ── Footer background ───────────────────────────────────────────────────── */
.footer-top-wrap {
    background-color: #651223 !important;
}

.footer-bottom-wrap {
    background-color: #555555 !important;
}

/* ── Metronest Property Card ─────────────────────────────────────────────── */

.mn-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: inherit;
}

/* ── Image ── */
.mn-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.mn-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Card image gallery (multiple facade images, hover arrows) ── */
.mn-card__gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.mn-card__gallery .mn-card__img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .25s ease;
}

.mn-card__gallery .mn-card__img.active {
    opacity: 1;
    position: relative;
}

.mn-card__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(101, 18, 35, 0.75);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, background-color .15s ease;
}

.mn-card__image-wrap:hover .mn-card__arrow {
    opacity: 1;
    visibility: visible;
}

.mn-card__arrow:hover {
    background: rgba(101, 18, 35, 0.95);
}

.mn-card__arrow--prev {
    left: 10px;
}

.mn-card__arrow--next {
    right: 10px;
}

/* ── Badges ── */
.mn-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    white-space: nowrap;
}

.mn-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(20, 20, 20, .82);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: .2px;
    backdrop-filter: blur(4px);
}

/* ── On offer badge ── */
.mn-badge--on-offer {
    background: #6f86fb;
    backdrop-filter: none;
}

/* ── Category label ── */
.mn-card__label {
    position: absolute;
    bottom: 12px;
    right: 0;
    background: #cce8f4;
    color: #1a4a6b;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px 0 0 4px;
    letter-spacing: .3px;
}

/* ── Body ── */
.mn-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Title row ── */
.mn-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.mn-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.mn-card__title a {
    color: #1a1a1a;
    text-decoration: none;
}

.mn-card__title a:hover {
    color: #0f5a8a;
}

.mn-card__compare {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 10px;
    padding: 2px 4px;
    flex-shrink: 0;
}

.mn-card__compare:hover {
    color: #0f5a8a;
}

/* ── Size selector ── */
.mn-card__sizes {
    margin-bottom: 12px;
}

.mn-card__sizes-label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 6px;
}

.mn-card__size-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mn-size-btn {
    background: #fff;
    border: 1.5px solid #c0cad4;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.mn-size-btn.active,
.mn-size-btn:hover {
    background: #651223;
    border-color: #651223;
    color: #fff;
}

/* ── Features ── */
.mn-card__features {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
    margin-bottom: 14px;
}

.mn-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 28px;
}

.mn-feature__icon {
    color: #555555;
    line-height: 1;
    display: flex;
}

.mn-feature__value {
    font-size: 12px;
    font-weight: 700;
    color: #555555;
    line-height: 1;
}

/* ── CTA ── */
.mn-card__cta {
    display: block;
    background: #651223;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: background .15s;
}

.mn-card__cta:hover {
    background: #21242E;
    color: #fff;
}


.reset-search-btn {
    background-color: #651223 !important;
    color: #ffffff !important;
    border-color: #651223 !important;
}

.reset-search-btn:hover {
    background-color: #555555 !important;
    border-color: #555555 !important;
}

.advanced-search-half-map .save-search-form-wrap {
    display: none !important;
}

.advanced-search-half-map .half-map-search-js-btn {
    background-color: #651223 !important;
    border-color: #651223 !important;
    color: #ffffff !important;
}

.advanced-search-half-map .half-map-search-js-btn:hover {
    background-color: #555555 !important;
    border-color: #555555 !important;
}

.page-template-template-property-listings-map .advanced-search-nav .save-search-form-wrap {
    display: none !important;
}

.page-template-template-property-listings-map .advanced-search-nav .btn-search {
    background-color: #651223 !important;
    border-color: #651223 !important;
    color: #ffffff !important;
}

.page-template-template-property-listings-map .advanced-search-nav .btn-search:hover {
    background-color: #555555 !important;
    border-color: #555555 !important;
}

.advanced-search-btn {
    background-color: #651223 !important;
    color: #ffffff !important;
    border-color: #651223 !important;
}

.advanced-search-btn:hover {
    background-color: #555555 !important;
    border-color: #555555 !important;
}

/* ── Advanced panel: all 6 fields on one line ────────────────────────────── */
#advanced-search-filters .advanced-search-filters .row {
    flex-wrap: nowrap !important;
}

#advanced-search-filters .advanced-search-filters .col {
    min-width: 0 !important;
    flex: 1 1 0 !important;
}

/* ── Half-map card: hide the "$/sq ft" price-per-area badge ──────────────── */
.item-sub-price {
    display: none !important;
}

/* ── Half-map card: custom SVG amenity icons (match grid card style) ────── */
.mn-amenity-icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

/* ── Property card amenity icons + text colour ───────────────────────────── */
.item-amenities .houzez-icon,
.item-amenities-with-icons .houzez-icon,
.item-amenities li,
.item-amenities li *,
.item-amenities .hz-figure,
.item-amenities .item-amenities-text {
    color: #000000 !important;
}

/* ── Pagination active page colour ──────────────────────────────────────────*/
.page-item.active .page-link,
.page-item.active .page-link:hover,
.page-item.active .page-link:focus {
    background-color: #651223 !important;
    border-color: #651223 !important;
    color: #ffffff !important;
}

/* ── Pagination inactive links colour ───────────────────────────────────────*/
.page-item:not(.active) .page-link,
.page-item:not(.active) .page-link:hover,
.page-item:not(.active) .page-link:focus {
    color: #555555 !important;
}

/* ── Filter (more-options) button hover ──────────────────────────────────── */
.btn-light-grey-outlined:hover {
    background-color: #555555 !important;
    border-color: #555555 !important;
    color: #ffffff !important;
}

/* ── Back to top button colour ───────────────────────────────────────────── */
#scroll-top,
#scroll-top:hover,
#scroll-top:focus {
    background-color: #651223 !important;
    border-color: #651223 !important;
    color: #ffffff !important;
}

/* ── Breadcrumb link colour ──────────────────────────────────────────────── */
.houzez-breadcrumb a,
.houzez-breadcrumb a:hover,
.breadcrumb-item a,
.breadcrumb-item a:hover,
.breadcrumb a,
.breadcrumb a:hover {
    color: #651223 !important;
}

/* ── Other Features checked checkbox colour ──────────────────────────────── */
.features-list-wrap .control input:checked~.control__indicator {
    background-color: #651223 !important;
    border-color: #651223 !important;
}

/* ── Other Features text colour ──────────────────────────────────────────── */
.features-list-wrap .btn-features-list,
.features-list-wrap .btn-features-list span,
.features-list-wrap .control--checkbox {
    color: #555555 !important;
}

/* ── Search bar text colour (#555555, excludes action buttons) ───────────── */
#desktop-header-search .advanced-search-v3 input,
#desktop-header-search .advanced-search-v3 input::placeholder,
#desktop-header-search .advanced-search-v3 .form-control,
#desktop-header-search .advanced-search-v3 .bootstrap-select>.dropdown-toggle,
#desktop-header-search .advanced-search-v3 .bootstrap-select>.dropdown-toggle .filter-option-inner-inner,
#desktop-header-search .advanced-search-v3 select {
    color: #555555 !important;
}

/* ── Property card grid gap ──────────────────────────────────────────────── */
.listing-wrap .grid-view.row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
}

/* ── Gallery lightSlider arrow colour ───────────────────────────────────── */
#mn-facade-section .slick-arrow,
.property-banner .slick-arrow {
    background-color: #651223 !important;
}
#mn-facade-section .slick-arrow:hover,
.property-banner .slick-arrow:hover {
    background-color: rgba(101, 18, 35, 0.65) !important;
}

/* ── Floor Plans: Download brochure button ───────────────────────────────── */
.mn-fp-brochure-btn {
    margin-left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background-color: #651223;
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s;
}
.mn-fp-brochure-btn:hover {
    background-color: #4a0d1a;
}
.mn-fp-brochure-btn.mn-hidden {
    display: none !important;
}

/* ── Property detail: hide printer icon ─────────────────────────────────── */
li.houzez-print {
    display: none !important;
}

/* ── Property banner: hide Gallery/Map media tab switcher icons ─────────── */
#pills-tab {
    display: none !important;
}

/* ── Sticky nav: hidden until JS removes this class ─────────────────────── */
.property-navigation-wrap.mn-nav-gate-hidden {
    display: none !important;
}

/* ── Floor Plans Extended (Metricon-style) ───────────────────────────────── */

/* Heading + tabs on one row */
.mn-fp-title-row {
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid #eef0f2;
    padding-bottom: 16px;
    margin-bottom: 0;
}

.mn-fp-heading {
    margin: 0;
    white-space: nowrap;
}

.mn-fp-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Plan panels: hidden by default */
.mn-fp-panel {
    display: none;
}
.mn-fp-panel.active {
    display: block;
}

/* Stats bar */
.mn-fp-stats {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
    margin-bottom: 24px;
    padding: 4px 0;
}

.mn-fp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 80px;
    padding: 10px 12px;
    border-right: 1px solid #eef0f2;
    text-align: center;
}

.mn-fp-stat:last-child {
    border-right: none;
}

.mn-fp-stat__label {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    white-space: nowrap;
}

.mn-fp-stat__value {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Body: two-column grid */
.mn-fp-body {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 767px) {
    .mn-fp-body {
        grid-template-columns: 1fr;
    }
    .mn-fp-stats {
        flex-wrap: wrap;
    }
    .mn-fp-stat {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid #eef0f2;
    }
}

/* Left panel */
.mn-fp-plan-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a;
}

.mn-fp-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.mn-fp-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #555;
}

.mn-fp-icon i {
    font-size: 18px;
    color: #555;
}

.mn-fp-features__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: inherit;
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.mn-fp-features__list {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 18px;
}

.mn-fp-features__list li {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.mn-fp-features__content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 18px;
}
.mn-fp-features__content ul,
.mn-fp-features__content ol {
    list-style: disc;
    padding-left: 18px;
    margin: 4px 0;
}
.mn-fp-features__content li { margin-bottom: 4px; }
.mn-fp-features__content p { margin: 4px 0; }
.mn-fp-features__content a { color: inherit; text-decoration: none; }

.mn-fp-brochure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #651223;
    color: #fff;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}

.mn-fp-brochure:hover {
    background: #555;
    color: #fff;
}

/* Right panel */
.mn-fp-right {
    display: flex;
    flex-direction: column;
}

.mn-fp-floor-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.mn-fp-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.mn-fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1.5px solid #c0cad4;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    line-height: 1;
}

.mn-fp-btn:hover,
.mn-fp-btn.active {
    background: #651223;
    border-color: #651223;
    color: #fff;
}

.mn-fp-btn svg {
    flex-shrink: 0;
}

.mn-fp-btn:hover svg,
.mn-fp-btn.active svg {
    stroke: #fff;
}

/* SVG floor plan — side-by-side canvases */
.mn-fp-svg-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.mn-fp-svg-panel {
    flex: 1 1 0;
    min-width: 200px;
    text-align: center;
}

.mn-fp-floor-label {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
}

/* SVG canvas — stacks base + overlays */
.mn-fp-canvas {
    position: relative;
    display: block;
    line-height: 0;
}

.mn-fp-canvas.mn-fp-flipped {
    transform: scaleX(-1);
}

.mn-fp-base-img {
    display: block;
    width: 100%;
    height: auto;
}

.mn-fp-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Design Options — checkbox list */
.mn-fp-do {
    margin-top: 20px;
}

.mn-fp-do__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    border-bottom: 1px solid #eef0f2;
    line-height: 1.4;
}

.mn-fp-do__item:last-child {
    border-bottom: none;
}

.mn-fp-do-check {
    accent-color: #651223;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.mn-fp-do__floor-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #888;
    margin: 12px 0 4px;
    text-transform: uppercase;
}

/* Lightbox */
.mn-fp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mn-fp-lightbox[aria-hidden="true"] {
    display: none;
}

.mn-fp-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .88);
}

.mn-fp-lightbox__inner {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 90vh;
    overflow: auto;
}

.mn-fp-lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.mn-fp-lightbox__content {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mn-fp-lightbox__content .mn-fp-svg-panel {
    flex: 1 1 300px;
}

.mn-fp-lightbox__content .mn-fp-floor-label {
    color: #ccc;
}

/* ── Location switcher bar ─────────────────────────────────────────────────── */
.mn-location-bar {
    display: flex;
    justify-content: flex-end;
    padding: 6px 0 2px;
    position: relative;
}
#mn-location-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
    white-space: nowrap;
}
#mn-location-btn strong {
    font-weight: 600;
}
#mn-location-btn .mn-location-change {
    color: #888;
    margin-left: 2px;
}
#mn-location-dropdown.mn-hidden {
    display: none;
}
#mn-location-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 9999;
    padding: 6px 0;
}
.mn-location-option {
    display: block;
    padding: 9px 16px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}
.mn-location-option:hover {
    background: #f5f5f5;
    color: #651223;
}
.mn-location-option.mn-location-active {
    font-weight: 600;
    color: #651223;
}
.mn-location-highlight {
    color: #651223;
    font-weight: 700;
}
/* ── First-visit location modal ───────────────────────────────────────────── */
.mn-location-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mn-location-modal-overlay.mn-visible {
    display: flex;
}
.mn-location-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.mn-location-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #888;
    cursor: pointer;
}
.mn-location-modal-close:hover {
    color: #333;
}
.mn-location-modal h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #222;
}
.mn-location-modal-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
    text-align: center;
}
.mn-location-modal-list {
    display: flex;
    flex-direction: column;
}
.mn-location-modal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid #eee;
}
.mn-location-modal-row:last-child {
    border-bottom: none;
}
.mn-location-modal-name {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}
.mn-location-modal-btn {
    background: #651223;
    color: #fff;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.mn-location-modal-btn:hover {
    background: #4a0d19;
    color: #fff;
}
/* ── Gallery & Facade: override aspect ratio to 16/9 ────────────────────── */
.property-detail-v3 .top-gallery-section,
.property-detail-v4 .top-gallery-section {
    aspect-ratio: 16 / 9 !important;
}
.property-detail-v3 .top-gallery-section.slider-loaded,
.property-detail-v4 .top-gallery-section.slider-loaded {
    aspect-ratio: auto !important;
}
.property-detail-v3 .top-gallery-section .lslide,
.property-detail-v4 .top-gallery-section .lslide {
    aspect-ratio: 16 / 9 !important;
}
.property-banner .tab-pane {
    aspect-ratio: auto !important;
    height: auto !important;
}

/* ── Floating search bar: sit below the floating header, not behind it ──── */
.desktop-search-nav.sticky-search-area,
.desktop-search-nav.houzez-in-view {
    top: var(--mn-sticky-header-h, 0px) !important;
    z-index: 999 !important;
}

/* ── Floating header: stack above the floating search bar ─────────────────
   #header-section itself has no explicit z-index, but that turned out not
   to matter: its ANCESTOR <header class="header-main-wrap"> already creates
   its own stacking context (position:relative + z-index:4, from Houzez's
   own main.css). Since .desktop-search-nav is a sibling of that <header> --
   not a descendant of it -- the comparison that actually decides who's on
   top is header-main-wrap's z-index:4 vs the search bar's z-index:999, and
   4 loses. No z-index given to #header-section (nested inside that losing
   context) could ever have fixed this; header-main-wrap itself needs to
   out-rank the search bar. */
.header-main-wrap {
    z-index: 1001 !important;
}
#header-section.sticky-nav-area,
#header-section.houzez-in-view {
    z-index: 1000 !important;
}

/* ── Dropdown submenu: fully opaque background ─────────────────────────────
   Houzez's default submenu background is rgba(255,255,255,0.95) -- 5%
   transparent. That's invisible on its own, but once the submenu floats
   above the search bar/property cards (see z-index rule above), that sliver
   of transparency is just enough to let bold text/badges underneath ghost
   through, reading as if the dropdown were still behind everything. */
.houzez-nav-menu-main-desktop-wrap .houzez-nav-menu-main .dropdown-menu,
.main-nav .dropdown-menu {
    background-color: #ffffff !important;
}

/* ── Floating header: snap in instantly instead of animating ─────────────
   Houzez plays a .4s fade/scale/translate transition when #header-section
   becomes fixed. If the mega-menu dropdown is hovered while that animation
   is mid-flight, it can render against a stale mid-transform frame and
   appear detached at the wrong position. Removing the transition for the
   sticky states makes the position change instant/deterministic. */
#header-section.sticky-nav-area,
#header-section.houzez-in-view {
    transition: none !important;
    animation: none !important;
}

/* ── Top-level nav dropdowns: force position under their own menu item ────
   The theme wires Bootstrap's dropdown JS (data-bs-toggle="dropdown", which
   uses Popper.js) AND a separate pure-CSS :hover mechanism onto the same
   markup. Popper only positions the dropdown it most recently controlled
   (via an inline transform/inset style); every other item's dropdown falls
   back to a stray "left: 0 relative to the fixed header" position, which is
   what shows up as a phantom dropdown pinned to the left edge. Force the
   position with !important so it always overrides whatever inline style
   Popper has (or hasn't) applied. */
.on-hover-menu > .navbar-nav > .nav-item.dropdown > .dropdown-menu {
    position: absolute !important;
    inset: auto !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
}

/* ── "Explore Cities" grid cards: match "More Details" to the hero's
   "Discover More" button style (transparent bg, 1px white border, uppercase,
   arrow on the right, subtle white fill on hover). ─────────────────────── */
.grid-item-v3 .grid-item-text-wrap > .d-flex.align-items-center.justify-content-between {
    /* This row is a flex item of .grid-item-text-wrap (display:flex), so its
       own display is always blockified to "flex" (inline-flex is not
       reachable here — that's normal CSS behavior, not a bug). align-self
       is what stops it from stretching to the parent's full width. */
    align-self: flex-start !important;
    width: auto;
    align-items: center;
    gap: 10px;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0);
    padding: 14px 18px;
    transition: background-color .3s ease;
}
.grid-item-v3:hover .grid-item-text-wrap > .d-flex.align-items-center.justify-content-between {
    background-color: rgba(255, 255, 255, 0.1);
}
.grid-item-v3 .grid-item-text-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.grid-item-v3 .grid-item-icon {
    display: flex;
    align-items: center;
}

/* ── Main menu hover: match the "Find More" button's hover colors ────────
   Background #21242E, white text, on both top-level nav links and dropdown
   submenu items (e.g. Single Storey / Double Storey / Rooming Homes). ──── */
.main-nav .navbar-nav > .nav-item > .nav-link:hover,
.main-nav .navbar-nav > .nav-item > .nav-link:focus {
    background-color: #21242E;
    color: #fff !important;
    border-radius: 4px;
}
.main-nav .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover,
.main-nav .navbar-nav .nav-item .dropdown-menu .dropdown-item:focus {
    background-color: #21242E !important;
    color: #fff !important;
}
