.property-results-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 40px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff3;
}

.property-results-filter .Show-item {
    float: none;
}

.property-results-filter .Show-item span {
    margin-right: 0;
    color: #66758a;
    font-size: 12px;
    line-height: 18px;
}

.property-results-controls-wrap {
    color: inherit;
}

.property-results-controls {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.property-results-control label {
    display: block;
    margin-bottom: 4px;
    color: #7a8697;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.property-results-control .form-control {
    min-width: 150px;
    height: 34px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.page-sidebar .inner-box {
    border-color: #e9edf2;
    box-shadow: none;
}

.page-sidebar .widget-title {
    margin-bottom: 22px;
}

.property-filter-summary {
    margin: 6px 0 0;
    color: #7b8794;
    font-size: 12px;
    line-height: 18px;
}

.property-filter-section + .property-filter-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #eef1f4;
}

.property-filter-section h5 {
    margin: 0 0 14px;
    color: #2e3b4e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.property-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.property-filter-grid .form-group:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.property-filter-help {
    margin: 6px 0 0;
    color: #8a95a3;
    font-size: 12px;
    line-height: 18px;
}

.property-filter-actions {
    margin-top: 24px;
}

.property-filter-actions .btn + .btn {
    margin-top: 10px;
}

.adds-wrapper .item-list {
    border-color: #e9edf2;
    box-shadow: none;
    border-radius: 4px;
    padding: 14px;
}

.adds-wrapper .item-list:hover {
    background: #fafbfc;
}

.property-card-image-wrap {
    height: 210px;
    border: 1px solid #eef1f4;
    background: #fbfcfd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-card-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.property-card-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.adds-wrapper .add-title {
    padding-bottom: 6px;
    margin-bottom: 0;
}

.adds-wrapper .add-title a {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
    color: #2d2d2d;
}

.adds-wrapper .info {
    font-size: 13px;
    margin-bottom: 8px;
}

.adds-wrapper .add-details p {
    margin-bottom: 12px;
    color: #6b6b6b;
    line-height: 1.7;
}

.adds-wrapper .price-box .item-price {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    padding-bottom: 10px;
}

.item_desc span {
    display: inline-block;
    margin-right: 14px;
    color: #666;
}

.property-pagination-bar {
    margin-top: 24px;
    padding-bottom: 10px;
}

.property-pagination-bar .pagination > li > a,
.property-pagination-bar .pagination > li > span {
    border-radius: 4px;
    color: #666;
    margin-right: 4px;
}

.property-pagination-bar .pagination > .disabled > span {
    color: #aaa;
}

.property-detail-backbar {
    margin: 0 0 18px;
}

.property-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #566578;
    font-size: 13px;
    font-weight: 600;
}

.property-detail-hero-box,
.property-detail-section-box,
.property-sidebar-box {
    border: 1px solid #eceff3;
    box-shadow: none;
}

.ads-details-wrapper h2 {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 8px;
}

.property-detail-intro {
    color: #7d8794;
    font-size: 12px;
}

.property-detail-gallery-row > [class*='col-'] {
    margin-bottom: 15px;
}

.property-detail-media-frame {
    min-height: 240px;
    padding: 12px;
    border: 1px solid #eef1f4;
    background: #fafbfd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-detail-media-frame-main {
    min-height: 360px;
}

.property-detail-floorplan-frame {
    min-height: 260px;
}

.property-detail-media-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.property-detail-section-box .title-2 {
    margin-bottom: 18px;
}

.property-detail-section-box .title-2 strong {
    font-size: 20px;
    font-weight: 600;
}

.ads-details-info p,
.ads-details-info li,
.panel-details p,
.property-sidebar-box p,
.list-border li a {
    font-size: 13px;
    line-height: 1.75;
}

.property-side-panel ul li,
.property-sidebar-box p,
.list-border li,
.property-feature-list li {
    border-bottom: 1px solid #eef1f4;
}

.property-side-panel ul li:last-child,
.property-sidebar-box p:last-child,
.list-border li:last-child,
.property-feature-list li:last-child {
    border-bottom: none;
}

.property-side-panel ul li,
.property-sidebar-box p {
    padding: 10px 0;
    margin: 0;
}

.property-feature-list {
    column-count: 2;
    column-gap: 26px;
    list-style: none;
    padding-left: 0;
    margin-top: 22px;
}

.property-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    break-inside: avoid;
    padding: 9px 0;
}

.property-feature-list li i {
    margin-top: 3px;
    color: #f58634;
}

.property-contact-box {
    margin-top: 16px;
}
.property-enquiry-form .form-group {
    margin-bottom: 12px;
}

.property-enquiry-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.property-enquiry-form .form-control {
    border: 1px solid #d7dee8;
    border-radius: 4px;
    min-height: 40px;
}

.property-enquiry-form textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.property-enquiry-recaptcha-wrap {
    margin-top: 4px;
}

.property-enquiry-message {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
}

.property-enquiry-message.is-error {
    color: #b91c1c;
}

.property-enquiry-success {
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    background: #f0fdf4;
    color: #14532d;
    font-size: 13px;
    line-height: 1.5;
}

.property-enquiry-form .js-enquiry-submit[disabled] {
    cursor: not-allowed;
    opacity: 0.75;
}

.property-enquiry-form .js-enquiry-loader i {
    margin-right: 6px;
}

@media (max-width: 991px) {
    .property-results-filter {
        display: block;
        padding-bottom: 10px;
    }

    .property-results-controls {
        margin-top: 12px;
        flex-wrap: wrap;
    }

    .property-results-control .form-control {
        min-width: 0;
        width: 100%;
    }

    .property-card-image-wrap {
        height: 180px;
        margin-bottom: 12px;
    }

    .property-detail-media-frame-main {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .property-filter-grid {
        grid-template-columns: 1fr;
    }

    .property-results-filter .Show-item {
        display: block !important;
        float: none;
        margin-bottom: 10px;
    }

    .property-results-controls {
        display: block;
    }

    .property-results-control {
        margin-bottom: 10px;
    }

    .property-feature-list {
        column-count: 1;
    }

    .property-card-image-wrap {
        height: 220px;
    }

    .ads-details-wrapper h2 {
        font-size: 20px;
    }

    .property-enquiry-recaptcha-wrap .g-recaptcha {
        transform: scale(0.92);
        transform-origin: left top;
    }
}

/* ========================================================================
   Global UI Consistency
   ======================================================================== */
.main-navigation .navbar-brand.logo img {
    max-height: 48px;
}

.main-navigation .navbar-nav > li > a {
    font-weight: 600;
    letter-spacing: 0.02em;
}

footer .footer-Content {
    background: #1f2733;
    padding: 24px 0;
}

footer .footer-Content p {
    margin: 0;
    color: #d3dbe6;
    font-size: 13px;
}

footer .footer-Content .footer-copy {
    text-align: center;
}

footer .footer-Content .footer-links {
    text-align: center;
    margin-top: 10px;
}

footer .footer-Content .footer-links a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    padding: 2px 0;
}

footer .footer-Content .footer-links a:visited {
    color: #ffffff;
}

footer .footer-Content .footer-links a:hover,
footer .footer-Content .footer-links a:focus {
    color: #ffffff;
    text-decoration: underline;
}

footer .footer-Content .footer-links a + a:before {
    content: "|";
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 16px;
    text-decoration: none;
}

@media (min-width: 768px) {
    footer .footer-Content .footer-copy {
        text-align: left;
    }

    footer .footer-Content .footer-links {
        text-align: right;
        margin-top: 0;
    }
}

.btn.btn-common,
.btn.btn-default {
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.form-control {
    border-radius: 4px;
}

.page-sidebar .inner-box,
.property-detail-hero-box,
.property-detail-section-box,
.property-sidebar-box,
.adds-wrapper .item-list {
    border-radius: 8px;
}

/* ========================================================================
   Homepage Hero + Two-Row Filter Overlay
   ======================================================================== */
.b4sale-hero {
    position: relative;
    margin-bottom: 0;
}

.b4sale-hero #carousel-slider .item {
    height: 620px;
}

.b4sale-hero .carousel-caption {
    top: 34%;
    left: 8%;
    right: 8%;
    text-shadow: none;
}

.b4sale-hero .carousel-caption h2 {
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.b4sale-hero .carousel-caption h3 {
    font-size: 17px;
    line-height: 1.7;
    max-width: 860px;
    margin: 12px auto 0;
}

.b4sale-hero-search-wrap {
    top: 26px;
}

.b4sale-hero-search-bar {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 18px 16px 14px;
}

.home-hero-search .home-filter-row + .home-filter-row {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-hero-search .search-col {
    margin-bottom: 8px;
}

.home-hero-search .keyword,
.home-hero-search .btn-search,
.home-hero-search .styled-select select,
.home-hero-search .btn-select {
    height: 44px;
}

.home-filter-note-wrap {
    display: flex;
    align-items: center;
}

.home-filter-note {
    margin: 0;
    color: #d7e2f2;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}

.home-hero-search .search-col .btn-search {
    margin-top: 0;
}

/* ========================================================================
   Listing + Detail Small Visual Harmonization
   ======================================================================== */
.property-filter-section h5,
.property-results-control label,
.widget-title h4 {
    letter-spacing: 0.04em;
}

.property-detail-back-link,
.list-border li a {
    font-weight: 600;
}

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 991px) {
    .b4sale-hero #carousel-slider .item {
        height: 590px;
    }

    .b4sale-hero .carousel-caption {
        top: 40%;
    }

    .b4sale-hero .carousel-caption h2 {
        font-size: 34px;
    }

    .b4sale-hero .carousel-caption h3 {
        font-size: 15px;
    }

    .home-filter-note {
        padding-top: 5px;
    }
}

@media (max-width: 767px) {
    .b4sale-hero-search-wrap {
        top: 14px;
    }

    .b4sale-hero-search-bar {
        padding: 14px 12px 10px;
    }

    .b4sale-hero #carousel-slider .item {
        height: 640px;
    }

    .b4sale-hero .carousel-caption {
        top: auto;
        bottom: 24px;
    }

    .b4sale-hero .carousel-caption h2 {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .b4sale-hero .carousel-caption h3 {
        font-size: 14px;
        line-height: 1.55;
    }

    .home-filter-note-wrap {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .b4sale-hero #carousel-slider .item {
        height: 680px;
    }

    .home-hero-search .search-col {
        margin-bottom: 10px;
    }

    .home-filter-note {
        font-size: 12px;
    }
}
/* ========================================================================
   Homepage Filter UI Hotfixes
   ======================================================================== */
#carousel-area.b4sale-hero {
    overflow: visible;
}

.b4sale-hero-search-wrap,
.b4sale-hero-search-wrap .container,
.b4sale-hero-search-wrap .search-inner,
.b4sale-hero-search-bar,
.home-hero-search {
    overflow: visible;
}

.home-hero-search .home-filter-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

.home-hero-search .home-filter-row .search-col {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 12px;
}

.home-hero-search .home-filter-row + .home-filter-row {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-hero-search .bootstrap-select {
    width: 100% !important;
}

.home-hero-search .keyword,
.home-hero-search .btn-search,
.home-hero-search .bootstrap-select > .dropdown-toggle,
.home-hero-search .btn-select {
    height: 48px !important;
    border-radius: 8px !important;
    font-size: 14px;
}

.home-hero-search .keyword {
    background: #ffffff;
    color: #000000;
    border: 1px solid #d7dde7;
    padding: 0 44px 0 14px;
}

.home-hero-search .keyword::placeholder {
    color: #6a7482;
}

.home-hero-search .keyword:focus {
    border-color: #9eb7dd;
    box-shadow: 0 0 0 2px rgba(245, 134, 52, 0.16);
}

.home-hero-search .search-col i {
    color: #4f5a69;
    z-index: 3;
}

.home-hero-search .btn-search {
    margin-top: 0;
    line-height: 46px;
    border: 0;
}

.home-hero-search .bootstrap-select > .dropdown-toggle,
.home-hero-search .btn-select {
    background: #ffffff !important;
    border: 1px solid #d7dde7 !important;
    color: #000000 !important;
    line-height: 46px !important;
    padding: 0 38px 0 14px !important;
    text-transform: none;
}

.home-hero-search .bootstrap-select > .dropdown-toggle .filter-option {
    color: #000000 !important;
}

.home-hero-search .bootstrap-select > .dropdown-toggle .caret {
    color: #000000;
    right: 12px;
}

.home-hero-search .bootstrap-select > .dropdown-toggle:hover,
.home-hero-search .bootstrap-select > .dropdown-toggle:focus,
.home-hero-search .bootstrap-select.open > .dropdown-toggle {
    background: #f5f5f5 !important;
    color: #000000 !important;
    border-color: #ccd4e0 !important;
}

.home-hero-search .bootstrap-select.open {
    z-index: 9999;
}

.home-hero-search .bootstrap-select .dropdown-menu {
    z-index: 10000 !important;
    margin-top: 4px;
    border: 1px solid #d7dde7;
    border-radius: 8px;
    max-height: 200px !important;
    overflow: hidden !important;
    background: #ffffff;
}

.home-hero-search .bootstrap-select .dropdown-menu.inner {
    max-height: 200px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.home-hero-search .bootstrap-select .dropdown-menu > li > a {
    color: #000000 !important;
    background: #ffffff !important;
    padding: 10px 14px;
}

.home-hero-search .bootstrap-select .dropdown-menu > li > a:hover,
.home-hero-search .bootstrap-select .dropdown-menu > li > a:focus,
.home-hero-search .bootstrap-select .dropdown-menu > li > a:active {
    color: #000000 !important;
    background: #f5f5f5 !important;
}

.home-hero-search .bootstrap-select .dropdown-menu > .selected > a,
.home-hero-search .bootstrap-select .dropdown-menu > .selected > a:hover,
.home-hero-search .bootstrap-select .dropdown-menu > .selected > a:focus {
    color: #000000 !important;
    background: #f0f0f0 !important;
}

@media (max-width: 991px) {
    .home-hero-search .home-filter-row {
        margin-left: -6px;
        margin-right: -6px;
    }

    .home-hero-search .home-filter-row .search-col {
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (max-width: 767px) {
    .home-hero-search .home-filter-row {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .home-hero-search .home-filter-row .search-col {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .home-hero-search .btn-search {
        width: 100%;
    }
}

/* Native row-2 dropdown stabilization (category + suburb) */
.home-hero-search .js-dynamic-category,
.home-hero-search .js-dynamic-suburb {
    width: 100%;
    height: 48px;
    border: 1px solid #d7dde7;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    padding: 0 38px 0 14px;
    line-height: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.home-hero-search .js-dynamic-category:focus,
.home-hero-search .js-dynamic-suburb:focus,
.home-hero-search .js-dynamic-category:hover,
.home-hero-search .js-dynamic-suburb:hover {
    color: #000000;
    background-color: #f5f5f5;
    border-color: #ccd4e0;
    outline: none;
}

.home-hero-search .js-dynamic-category option,
.home-hero-search .js-dynamic-suburb option {
    color: #000000;
    background-color: #ffffff;
}
/* Ensure home/listing top filter dropdown menus stay hidden unless actively opened */
.home-hero-search .bootstrap-select > .dropdown-menu,
.home-hero-search .bootstrap-select > .dropdown-menu > ul.dropdown-menu.inner {
    display: none !important;
    visibility: hidden !important;
}

.home-hero-search .bootstrap-select.open > .dropdown-toggle[aria-expanded="true"] + .dropdown-menu,
.home-hero-search .bootstrap-select.open > .dropdown-toggle[aria-expanded="true"] + .dropdown-menu > ul.dropdown-menu.inner {
    display: block !important;
    visibility: visible !important;
}

