/* =========================================================
   Property - Enquiry
   ========================================================= */

.app-property-enquiry {
    padding: 35px 0 60px;
}

.app-property-enquiry-card {
    width: min(100%, 900px);
}

.app-property-enquiry-back-link {
    width: fit-content;
}

.app-property-enquiry-card {
    margin-right: auto;
}

.app-property-enquiry-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 15px;
    margin-bottom: 18px;
    border: 1px solid var(--app-border, #E1E7E2);
    border-radius: 9px;
    background: #ffffff;
    color: var(--app-primary, #537A67);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.app-property-enquiry-back-link:hover {
    background: var(--app-primary, #537A67);
    border-color: var(--app-primary, #537A67);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}

.app-property-enquiry-back-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.12);
}

.app-property-enquiry-back-link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 2px;
}

.app-property-enquiry-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.app-property-enquiry-card h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.app-property-enquiry-subtitle {
    color: #64748b;
    margin-bottom: 25px;
}

.app-property-enquiry-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 25px;
}

.app-property-enquiry-summary strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.app-property-enquiry-summary span {
    color: #64748b;
}

.app-property-enquiry-form-group {
    margin-bottom: 20px;
}

.app-property-enquiry-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.app-property-enquiry-form-group input,
.app-property-enquiry-form-group textarea,
.app-property-enquiry-form-group select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.app-property-enquiry-form-group input:focus,
.app-property-enquiry-form-group textarea:focus,
.app-property-enquiry-form-group select:focus {
    outline: none;
    border-color: var(--app-primary, #537A67);
}

.app-property-enquiry-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.app-property-enquiry-required {
    color: #dc2626;
}

.app-property-enquiry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.app-property-enquiry-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

.app-property-enquiry-button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 7px;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}

.app-property-enquiry-button-secondary {
    background: #ffffff;
    color: #334155;
}

.app-property-enquiry-button-primary {
    background: var(--app-primary, #537A67);
    color: #ffffff;
    border-color: var(--app-primary, #537A67);
}

.app-property-enquiry-button-primary:hover {
    background: var(--app-primary-dark, #3F6251);
}

.app-property-enquiry-help-text {
    margin-top: 5px;
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 700px) {
    .app-property-enquiry {
        padding: 25px 0 40px;
    }

    .app-property-enquiry-card {
        width: 100%;
    }

    .app-property-enquiry-back-link {
        width: fit-content;
    }

    .app-property-enquiry-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .app-property-enquiry-card {
        padding: 20px;
    }

    .app-property-enquiry-actions {
        flex-direction: column-reverse;
    }

    .app-property-enquiry-button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
/* =========================================================
   PROPERTY SEARCH
   ========================================================= */

.app-property-search-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 15px;
    margin-bottom: 18px;
    border: 1px solid var(--app-border, #E1E7E2);
    border-radius: 9px;
    background: #ffffff;
    color: var(--app-primary, #537A67);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.app-property-search-back-link:hover {
    background: var(--app-primary, #537A67);
    border-color: var(--app-primary, #537A67);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}

.app-property-search-back-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
}

.app-property-search-back-link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 2px;
}

.app-property-search-page-header {
    margin-bottom: 25px;
}

.app-property-search-page-header h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.app-property-search-page-header p {
    margin: 0;
    color: #64748b;
}

.app-property-search-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
    margin-bottom: 25px;
}

.app-property-search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.app-property-search-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.app-property-search-field.full {
    grid-column: 1 / -1;
}

.app-property-search-field label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.app-property-search-field input,
.app-property-search-field select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #14213d;
    font-size: 14px;
}

.app-property-search-field input:focus,
.app-property-search-field select:focus {
    outline: none;
    border-color: var(--app-primary, #537A67);
}

.app-property-search-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.app-property-search-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-property-search-button {
    display: inline-block;
    border: 1px solid var(--app-primary, #537A67);
    border-radius: 7px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.app-property-search-primary {
    background: var(--app-primary, #537A67);
    color: #ffffff;
}

.app-property-search-primary:hover {
    background: var(--app-primary-dark, #3F6251);
    text-decoration: none;
}

.app-property-search-secondary {
    background: #ffffff;
    color: var(--app-primary, #537A67);
}

.app-property-search-save-box {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.app-property-search-save-box h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.app-property-search-save-box p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
}

.app-property-search-save-form {
    display: flex;
    gap: 10px;
    align-items: end;
}

.app-property-search-save-form .app-property-search-field {
    flex: 1;
}

.app-property-search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.app-property-search-results-header h2 {
    margin: 0;
    font-size: 22px;
}

.app-property-search-result-count {
    color: #64748b;
    font-size: 14px;
}

.app-property-search-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.app-property-search-property-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}

.app-property-search-property-body {
    padding: 20px;
}

.app-property-search-property-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 7px;
}

.app-property-search-property-title a {
    color: #14213d;
}

.app-property-search-property-title a:hover {
    color: var(--app-primary, #537A67);
}

.app-property-search-property-location {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.app-property-search-property-price {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
}

.app-property-search-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.app-property-search-meta {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 6px 9px;
    font-size: 13px;
}

.app-property-search-view-button {
    display: block;
    text-align: center;
    background: var(--app-primary, #537A67);
    color: #ffffff;
    border-radius: 7px;
    padding: 10px;
    font-weight: 600;
}

.app-property-search-view-button:hover,
.app-property-search-view-button:focus,
.app-property-search-view-button:active,
.app-property-search-view-button:visited {
    background: var(--app-primary-dark, #3F6251);
    color: #ffffff;
    text-decoration: none;
}

.app-property-search-empty {
    grid-column: 1 / -1;
    background: #ffffff;
    border-radius: 12px;
    padding: 55px 20px;
    text-align: center;
    color: #64748b;
}

.app-property-search-empty h3 {
    color: #14213d;
    margin: 0 0 8px;
}

.app-property-search-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

@media (max-width: 950px) {
    .app-property-search-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-property-search-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .app-property-search-page-header h1 {
        font-size: 26px;
    }

    .app-property-search-grid {
        grid-template-columns: 1fr;
    }

    .app-property-search-results {
        grid-template-columns: 1fr;
    }

    .app-property-search-save-form {
        flex-direction: column;
        align-items: stretch;
    }
}

 /* =========================================================
    PROPERTY SHOW / DETAILS PAGE
    ========================================================= */

.page {
            max-width: 1180px;

            margin: 0 auto;

            padding:
                28px 22px 60px;
        }

        .app-property-show-back-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-height: 40px;
            padding: 9px 15px;
            margin-bottom: 18px;
            border: 1px solid var(--app-border, #E1E7E2);
            border-radius: 9px;
            background: #ffffff;
            color: var(--app-primary, #537A67);
            font-size: 14px;
            font-weight: 600;
            line-height: 1.2;
            text-decoration: none;
            box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
            transition:
                background-color 0.15s ease,
                color 0.15s ease,
                border-color 0.15s ease,
                box-shadow 0.15s ease,
                transform 0.15s ease;
        }

        .app-property-show-back-link:hover {
            background: var(--app-primary, #537A67);
            border-color: var(--app-primary, #537A67);
            color: #ffffff;
            text-decoration: none;
            box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
            transform: translateY(-1px);
        }

        .app-property-show-back-link:active {
            transform: translateY(0);
            box-shadow: 0 2px 5px rgba(37, 99, 235, 0.12);
        }

        .app-property-show-back-link:focus-visible {
            outline: 3px solid rgba(37, 99, 235, 0.22);
            outline-offset: 2px;
        }

        .app-property-show-back-link:hover {
            text-decoration: underline;
        }

        .app-property-show-property-heading {
            display: flex;

            justify-content: space-between;

            align-items: flex-start;

            gap: 25px;

            margin-bottom: 20px;
        }

        .app-property-show-heading-main {
            min-width: 0;
        }


            color: #10213b;
        }

        .app-property-show-location-line {
            color: #64748b;

            font-size: 15px;
        }

        .app-property-show-status-badge {
            flex-shrink: 0;

            background: #dcfce7;

            color: #166534;

            border-radius: 20px;

            padding:
                8px 15px;

            font-size: 13px;

            font-weight: 600;
        }

        .app-property-show-gallery {
            display: grid;

            grid-template-columns:
                minmax(0, 2.2fr)
                minmax(220px, 1fr);

            gap: 12px;

            margin-bottom: 25px;
        }

        .app-property-show-main-image {
            position: relative;

            background: #e5e7eb;

            border-radius: 12px;

            overflow: hidden;

            min-height: 430px;
        }

        .app-property-show-main-image img {
            width: 100%;

            height: 100%;

            min-height: 430px;

            display: block;

            object-fit: cover;
        }

        .app-property-show-image-placeholder {
            min-height: 430px;

            display: flex;

            align-items: center;

            justify-content: center;

            color: #64748b;

            font-size: 16px;
        }

        .app-property-show-image-counter {
            position: absolute;

            left: 16px;

            bottom: 16px;

            background:
                rgba(0, 0, 0, 0.68);

            color: #ffffff;

            padding:
                7px 11px;

            border-radius: 6px;

            font-size: 13px;
        }

        .app-property-show-thumbnail-list {
            display: grid;

            grid-template-columns:
                repeat(2, minmax(0, 1fr));

            gap: 12px;

            max-height: 430px;

            overflow: hidden;
        }

        .app-property-show-thumbnail {
            position: relative;

            padding: 0;

            border: 2px solid transparent;

            border-radius: 9px;

            overflow: hidden;

            cursor: pointer;

            background: #e5e7eb;

            min-height: 130px;
        }

        .app-property-show-thumbnail.active {
            border-color: var(--app-primary, #537A67);
        }

        .app-property-show-thumbnail img {
            width: 100%;

            height: 100%;

            min-height: 130px;

            object-fit: cover;

            display: block;
        }

        .app-property-show-thumbnail-more {
            position: absolute;

            inset: 0;

            display: flex;

            align-items: center;

            justify-content: center;

            background:
                rgba(0, 0, 0, 0.58);

            color: #ffffff;

            font-size: 15px;

            font-weight: 600;
        }

        .app-property-show-content-grid {
            display: grid;

            grid-template-columns:
                minmax(0, 2fr)
                minmax(280px, 1fr);

            gap: 22px;

            align-items: start;
        }

        .app-property-show-card {
            background: #ffffff;

            border-radius: 12px;

            border:
                1px solid #e5e7eb;

            box-shadow:
                0 2px 8px
                rgba(15, 23, 42, 0.04);

            padding: 25px;
        }

        .app-property-show-price-card {
            margin-bottom: 20px;
        }

        .app-property-show-price-row {
            display: flex;

            justify-content: space-between;

            align-items: flex-start;

            gap: 20px;
        }

        .app-property-show-price {
            font-size: 32px;

            font-weight: 700;

            color: #10213b;

            line-height: 1.1;
        }

        .app-property-show-listing-type {
            margin-top: 7px;

            color: #64748b;

            font-size: 14px;
        }

        .app-property-show-property-type {
            color: #64748b;

            font-size: 14px;

            text-align: right;
        }

        .app-property-show-spec-grid {
            display: grid;

            grid-template-columns:
                repeat(4, minmax(0, 1fr));

            border-top:
                1px solid #e5e7eb;

            margin-top: 23px;

            padding-top: 20px;

            gap: 15px;
        }

        .app-property-show-spec {
            padding-right: 10px;

            border-right:
                1px solid #e5e7eb;
        }

        .app-property-show-spec:last-child {
            border-right: 0;
        }

        .app-property-show-spec-label {
            display: block;

            color: #64748b;

            font-size: 13px;

            margin-bottom: 6px;
        }

        .app-property-show-spec-value {
            font-size: 16px;

            font-weight: 700;

            color: #172033;
        }

        .app-property-show-section {
            margin-bottom: 20px;
        }

        .app-property-show-section h2 {
            margin:
                0 0 16px;

            font-size: 21px;

            color: #10213b;

            padding-bottom: 12px;

            border-bottom:
                1px solid #e5e7eb;
        }

        .app-property-show-description {
            color: #475569;

            line-height: 1.75;

            font-size: 15px;

            white-space: normal;
        }

        .app-property-show-details-grid {
            display: grid;

            grid-template-columns:
                repeat(2, minmax(0, 1fr));

            gap: 0;
        }

        .app-property-show-detail-row {
            display: flex;

            justify-content: space-between;

            gap: 15px;

            padding:
                12px 0;

            border-bottom:
                1px solid #eef0f3;
        }

        .app-property-show-detail-label {
            color: #64748b;

            font-size: 14px;
        }

        .app-property-show-detail-value {
            color: #172033;

            font-size: 14px;

            font-weight: 600;

            text-align: right;
        }

        .app-property-show-amenities-grid {
            display: grid;

            grid-template-columns:
                repeat(3, minmax(0, 1fr));

            gap: 12px;
        }

        .app-property-show-amenity {
            border:
                1px solid #e2e8f0;

            border-radius: 9px;

            padding:
                13px 14px;

            background: #fafbfc;

            display: flex;

            align-items: center;

            gap: 10px;
        }

        .app-property-show-amenity-icon {
            width: 9px;

            height: 9px;

            background: var(--app-primary, #537A67);

            border-radius: 50%;

            flex-shrink: 0;
        }

        .app-property-show-amenity-name {
            font-size: 14px;

            font-weight: 600;

            color: #334155;
        }

        .app-property-show-address-card {
            color: #475569;

            line-height: 1.7;

            font-size: 15px;
        }

        .app-property-show-address-title {
            font-size: 16px;

            font-weight: 700;

            color: #172033;

            margin-bottom: 6px;
        }

        .app-property-show-sidebar {
            position: sticky;

            top: 95px;
        }

        .app-property-show-action-card {
            margin-bottom: 20px;
        }

        .app-property-show-action-card h2 {
            margin:
                0 0 7px;

            font-size: 20px;

            color: #10213b;
        }

        .app-property-show-action-card p {
            margin:
                0 0 18px;

            color: #64748b;

            font-size: 14px;

            line-height: 1.5;
        }

        .app-property-show-action-button {
            width: 100%;

            display: block;

            border-radius: 8px;

            padding:
                12px 16px;

            font-size: 15px;

            font-weight: 600;

            text-align: center;

            text-decoration: none;

            cursor: pointer;

            margin-top: 10px;

            border: 1px solid var(--app-primary, #537A67);
        }
        .app-property-show-action-card form {
    margin: 0;
}

.app-property-show-action-button {
    font-family: inherit;
}
        .app-property-show-primary-button {
            background: var(--app-primary, #537A67);

            color: #ffffff;
        }

        .app-property-show-primary-button:hover {
            background: var(--app-primary-dark, #3F6251);
        }

        .app-property-show-secondary-button {
            background: #ffffff;

            color: var(--app-primary, #537A67);
        }

        .app-property-show-secondary-button:hover {
            background: #eff6ff;
        }

        .app-property-show-favourite-button {
            background: #ffffff;

            color: #dc2626;

            border-color: #fecaca;
        }

        .app-property-show-favourite-button:hover {
            background: #fef2f2;
        }

        .app-property-show-favourite-button.is-favourite {
            background: #fef2f2;

            border-color: #fca5a5;
        }

        .app-property-show-owner-card {
            margin-bottom: 20px;
        }

        .app-property-show-owner-card h2 {
            margin:
                0 0 18px;

            font-size: 20px;

            color: #10213b;
        }

        .app-property-show-owner-profile {
            display: flex;

            align-items: center;

            gap: 13px;

            margin-bottom: 18px;
        }

        .app-property-show-owner-avatar {
            width: 50px;

            height: 50px;

            border-radius: 50%;

            background: #eff6ff;

            color: var(--app-primary, #537A67);

            display: flex;

            align-items: center;

            justify-content: center;

            font-weight: 700;

            font-size: 16px;

            flex-shrink: 0;

            overflow: hidden;
        }

        .app-property-show-owner-avatar img {
            width: 100%;

            height: 100%;

            object-fit: cover;
        }

        .app-property-show-owner-name {
            font-weight: 700;

            color: #172033;

            margin-bottom: 4px;
        }

        .app-property-show-owner-role {
            color: #64748b;

            font-size: 13px;

            text-transform: capitalize;
        }

        .app-property-show-owner-note {
            color: #64748b;

            font-size: 13px;

            line-height: 1.5;
        }

        .app-property-show-meta-list {
            margin-top: 20px;

            padding-top: 17px;

            border-top:
                1px solid #e5e7eb;
        }

        .app-property-show-meta-item {
            display: flex;

            justify-content: space-between;

            gap: 15px;

            margin-bottom: 10px;

            font-size: 13px;
        }

        .app-property-show-meta-item span:first-child {
            color: #64748b;
        }

        .app-property-show-meta-item span:last-child {
            color: #334155;

            font-weight: 600;

            text-align: right;
        }

        .app-property-show-login-note {
            margin-top: 14px;

            color: #64748b;

            font-size: 12px;

            line-height: 1.5;

            text-align: center;
        }

        .app-property-show-empty-section {
            color: #64748b;

            font-size: 14px;
        }

        @media (max-width: 900px) {

            .app-property-show-content-grid {
                grid-template-columns: 1fr;
            }

            .app-property-show-sidebar {
                position: static;
            }

            .app-property-show-gallery {
                grid-template-columns: 1fr;
            }

            .app-property-show-thumbnail-list {
                max-height: none;
            }

            .app-property-show-thumbnail {
                min-height: 110px;
            }

            .app-property-show-thumbnail img {
                min-height: 110px;
            }

            .app-property-show-property-heading {
                flex-direction: column;
            }

            .app-property-show-status-badge {
                align-self: flex-start;
            }

        }

        @media (max-width: 650px) {


            .app-property-show-main-image,
            .app-property-show-main-image img,
            .app-property-show-image-placeholder {
                min-height: 280px;
            }

            .app-property-show-thumbnail-list {
                grid-template-columns:
                    repeat(3, minmax(0, 1fr));
            }

            .app-property-show-thumbnail {
                min-height: 85px;
            }

            .app-property-show-thumbnail img {
                min-height: 85px;
            }

            .app-property-show-card {
                padding: 19px;
            }

            .app-property-show-price {
                font-size: 27px;
            }

            .app-property-show-spec-grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }

            .app-property-show-spec:nth-child(2) {
                border-right: 0;
            }

            .app-property-show-spec:nth-child(1),
            .app-property-show-spec:nth-child(2) {
                border-bottom:
                    1px solid #e5e7eb;

                padding-bottom: 12px;
            }

            .app-property-show-spec:nth-child(3),
            .app-property-show-spec:nth-child(4) {
                padding-top: 5px;
            }

            .app-property-show-details-grid {
                grid-template-columns: 1fr;
            }

            .app-property-show-amenities-grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }



            .app-property-show-flash-message {
    background: #eff6ff;
    border: 1px solid var(--app-border, #E1E7E2);
    color: #1e40af;
}

.app-property-show-flash-message.info {
    background: #eff6ff;
    border: 1px solid var(--app-border, #E1E7E2);
    color: #1e40af;
}

        }

        @media (max-width: 430px) {

            .app-property-show-amenities-grid {
                grid-template-columns: 1fr;
            }

            .app-property-show-thumbnail-list {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }

        }

.app-property-enquiry-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 7px;
    margin-bottom: 20px;
}

/* Property search: remove link underlines and style new-tab icon */
.app-property-search-property-title a,
.app-property-search-property-title a:visited,
.app-property-search-property-title a:hover,
.app-property-search-property-title a:focus,
.app-property-search-property-title a:active {
    text-decoration: none;
}

.app-property-search-property-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.app-property-search-open-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 5px;
    color: var(--app-muted, #66736c);
    text-decoration: none;
}

.app-property-search-open-new:hover,
.app-property-search-open-new:focus-visible {
    color: var(--app-primary, #537a67);
    background: var(--app-info-bg, #eef4f0);
    text-decoration: none;
}

.app-property-search-view-button,
.app-property-search-view-button:visited,
.app-property-search-view-button:hover,
.app-property-search-view-button:focus,
.app-property-search-view-button:active {
    text-decoration: none;
}

/* Keep secondary search actions such as Clear free of underlines */
.app-property-search-secondary,
.app-property-search-secondary:visited,
.app-property-search-secondary:hover,
.app-property-search-secondary:focus,
.app-property-search-secondary:active {
    text-decoration: none;
}

/* PROPERTYHUB FINAL PROPERTY CARD ALIGNMENT */

/* Remove underlines from property titles in every link state */
.app-property-search-property-title a,
.app-property-search-property-title a:link,
.app-property-search-property-title a:visited,
.app-property-search-property-title a:hover,
.app-property-search-property-title a:focus,
.app-property-search-property-title a:active,
.app-property-search-view-button,
.app-property-search-view-button:link,
.app-property-search-view-button:visited,
.app-property-search-view-button:hover,
.app-property-search-view-button:focus,
.app-property-search-view-button:active,
.app-property-search-secondary,
.app-property-search-secondary:link,
.app-property-search-secondary:visited,
.app-property-search-secondary:hover,
.app-property-search-secondary:focus,
.app-property-search-secondary:active {
    text-decoration: none !important;
}

/* Keep title and external-link icon on one line */
.app-property-search-property-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.app-property-search-property-title > a:first-of-type {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none !important;
}

.app-property-search-property-title .app-property-search-open-new {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    text-decoration: none !important;
}

/* Make every property card use the same vertical layout */
.app-property-search-property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.app-property-search-property-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.app-property-search-view-button {
    margin-top: auto;
    flex-shrink: 0;
}

/* PROPERTYHUB TITLE CASE AND LINK RESET */

/* Explicitly remove underlines from all property search links */
body .app-property-search-page a,
body .app-property-search-page a:link,
body .app-property-search-page a:visited,
body .app-property-search-page a:hover,
body .app-property-search-page a:focus,
body .app-property-search-page a:active {
    text-decoration: none !important;
}

/* One-line title plus icon */
.app-property-search-property-title {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 6px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.app-property-search-property-title > a:first-of-type {
    flex: 1 1 auto !important;
    display: block !important;
    min-width: 0 !important;
    width: 0;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    text-transform: capitalize;
    text-decoration: none !important;
}

.app-property-search-property-title > a.app-property-search-open-new {
    flex: 0 0 26px !important;
    display: inline-flex !important;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none !important;
}

/* Uniform card height and button alignment */
.app-property-search-results {
    align-items: stretch;
}

.app-property-search-property-card {
    height: 100%;
    min-width: 0;
}

.app-property-search-property-body {
    height: 100%;
    min-width: 0;
}

.app-property-search-view-button {
    margin-top: auto;
    text-decoration: none !important;
}

/* PROPERTYHUB GREEN THEME AND MOBILE FIX */

/* Inherit the site's shared typography */
.app-property-search-page,
.app-property-search-page button,
.app-property-search-page input,
.app-property-search-page select,
.app-property-search-page textarea {
    font-family: inherit;
}

.app-property-search-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.app-property-search-page *,
.app-property-search-page *::before,
.app-property-search-page *::after {
    box-sizing: border-box;
}

.app-property-search-page button,
.app-property-search-page .app-property-search-button,
.app-property-search-page .app-property-search-view-button {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
}

.app-property-search-page .app-property-search-primary,
.app-property-search-page .app-property-search-view-button {
    background: var(--app-primary, #537A67);
    border-color: var(--app-primary, #537A67);
    color: #ffffff;
}

.app-property-search-page .app-property-search-primary:hover,
.app-property-search-page .app-property-search-view-button:hover {
    background: var(--app-primary-dark, #3F6251);
    border-color: var(--app-primary-dark, #3F6251);
    color: #ffffff;
}

.app-property-search-page .app-property-search-secondary {
    background: #ffffff;
    border-color: var(--app-border, #E1E7E2);
    color: var(--app-primary-dark, #3F6251);
}

.app-property-search-page .app-property-search-secondary:hover {
    background: var(--app-info-bg, #EEF4F0);
    color: var(--app-primary-dark, #3F6251);
}

/* Prevent grid children from forcing the page wider */
.app-property-search-grid,
.app-property-search-results {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.app-property-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-property-search-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-property-search-property-card,
.app-property-search-property-body {
    min-width: 0;
    max-width: 100%;
}

.app-property-search-property-title {
    min-width: 0;
    max-width: 100%;
    flex-wrap: nowrap !important;
}

.app-property-search-property-title > a:first-of-type {
    min-width: 0 !important;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.app-property-search-property-title > a.app-property-search-open-new {
    flex-shrink: 0;
}

/* Tablet */
@media (max-width: 950px) {
    .app-property-search-grid,
    .app-property-search-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 650px) {
    .app-property-search-page {
        padding-left: 0;
        padding-right: 0;
    }

    .app-property-search-card {
        width: 100%;
        max-width: 100%;
        padding: 16px;
    }

    .app-property-search-grid,
    .app-property-search-results {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .app-property-search-field,
    .app-property-search-field.full {
        grid-column: 1 / -1;
        min-width: 0;
        max-width: 100%;
    }

    .app-property-search-field input,
    .app-property-search-field select,
    .app-property-search-field textarea {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .app-property-search-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .app-property-search-actions > * {
        max-width: 100%;
    }

    .app-property-search-property-card {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .app-property-search-card {
        padding: 12px;
    }

    .app-property-search-page-header h1 {
        font-size: 24px;
    }

    .app-property-search-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .app-property-search-actions > * {
        width: 100%;
    }
}

/* APNAKHASRA SEARCH REFRESH 20261027 */
body.app-property-search-page {
    background: #F7F8F6;
    color: #192721;
}

body.app-property-search-page .app-container {
    max-width: 1240px;
}

body.app-property-search-page .app-property-search-page-header {
    margin-top: 28px;
    margin-bottom: 22px;
}

body.app-property-search-page .app-property-search-page-header h1 {
    color: #192721;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 750;
    letter-spacing: -0.8px;
}

body.app-property-search-page .app-property-search-page-header p {
    color: #66736C;
    line-height: 1.6;
}

body.app-property-search-page .app-property-search-card {
    border: 1px solid #E1E7E2;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(25, 39, 33, 0.055);
    padding: clamp(18px, 3vw, 28px);
}

body.app-property-search-page .app-property-search-field label {
    color: #34463B;
    margin-bottom: 7px;
}

body.app-property-search-page .app-property-search-field input,
body.app-property-search-page .app-property-search-field select {
    min-height: 44px;
    border: 1px solid #D7E0D9;
    border-radius: 10px;
    background: #FFFFFF;
    color: #192721;
}

body.app-property-search-page .app-property-search-field input:focus,
body.app-property-search-page .app-property-search-field select:focus {
    border-color: #537A67;
    box-shadow: 0 0 0 3px rgba(83, 122, 103, 0.14);
}

body.app-property-search-page .app-property-search-primary {
    background: #537A67;
    border-color: #537A67;
    color: #FFFFFF;
    border-radius: 10px;
    font-weight: 650;
}

body.app-property-search-page .app-property-search-primary:hover,
body.app-property-search-page .app-property-search-primary:focus-visible {
    background: #3F6251;
    border-color: #3F6251;
    color: #FFFFFF;
}

body.app-property-search-page .app-property-search-results-header {
    margin: 30px 0 16px;
    align-items: center;
    gap: 12px;
}

body.app-property-search-page .app-property-search-results-header h2 {
    color: #192721;
    font-weight: 750;
}

body.app-property-search-page .app-property-search-result-count {
    background: #EAF0EB;
    color: #3F6251;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
}

body.app-property-search-page .app-property-search-property-card {
    overflow: hidden;
    border: 1px solid #E1E7E2;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(25, 39, 33, 0.045);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

body.app-property-search-page .app-property-search-property-card:hover {
    box-shadow: 0 12px 28px rgba(25, 39, 33, 0.09);
    transform: translateY(-2px);
}

body.app-property-search-page .app-property-search-property-title a {
    color: #192721;
}

body.app-property-search-page .app-property-search-property-location {
    color: #66736C;
    line-height: 1.5;
}

body.app-property-search-page .app-property-search-property-price {
    color: #3F6251;
    font-size: 23px;
    font-weight: 750;
}

body.app-property-search-page .app-property-search-meta {
    background: #F3F6F3;
    border-color: #E1E7E2;
    color: #45564B;
    border-radius: 8px;
}

body.app-property-search-page .app-property-search-view-button,
body.app-property-search-page .app-property-search-view-button:visited {
    background: #537A67;
    border: 1px solid #537A67;
    border-radius: 10px;
    color: #FFFFFF;
    font-weight: 650;
}

body.app-property-search-page .app-property-search-view-button:hover,
body.app-property-search-page .app-property-search-view-button:focus-visible {
    background: #3F6251;
    border-color: #3F6251;
    color: #FFFFFF;
}

body.app-property-search-page .app-property-search-empty {
    border: 1px solid #E1E7E2;
    border-radius: 16px;
    padding: 32px 22px;
}

@media (prefers-reduced-motion: reduce) {
    body.app-property-search-page .app-property-search-property-card {
        transition: none;
    }

    body.app-property-search-page .app-property-search-property-card:hover {
        transform: none;
    }
}


/* AK SEARCH TYPOGRAPHY V1
   Align Search Properties typography with the authentication pages.
   Scope: Search Properties page only.
*/
body.app-property-search-page {
    font-family: "DM Sans", "Segoe UI", sans-serif;
}

body.app-property-search-page button,
body.app-property-search-page input,
body.app-property-search-page select,
body.app-property-search-page textarea {
    font-family: "DM Sans", "Segoe UI", sans-serif;
}

body.app-property-search-page h1,
body.app-property-search-page h2,
body.app-property-search-page h3,
body.app-property-search-page .app-property-search-page-header h1,
body.app-property-search-page .app-property-search-results-header h2,
body.app-property-search-page .app-property-search-property-title {
    font-family: "Manrope", "DM Sans", "Segoe UI", sans-serif;
}