.property-search-shell {
    min-height: 100vh;
    color: var(--home-text);
    overflow-x: hidden;
}

.property-search-shell .home-navbar {
    min-height: 70px;
    max-height: 70px;
    gap: 10px;
    overflow: visible;
}

.property-search-shell .home-logo strong,
.property-search-shell .home-nav-links a,
.property-search-shell .home-user-chip,
.property-search-shell .home-language,
.property-search-shell .home-theme-toggle {
    white-space: nowrap;
}

.property-search-shell .home-user-chip {
    max-width: clamp(84px, 11vw, 164px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-search-main {
    width: min(1500px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0 44px;
}

.property-search-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 9px 12px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface) 82%, transparent);
    box-shadow: var(--home-shadow);
}

.property-search-topbar > strong {
    color: var(--home-text);
    font-size: 0.95rem;
    font-weight: 900;
}

.property-search-primary-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface) 88%, transparent);
    box-shadow: var(--home-shadow);
}

.property-search-primary-search label {
    display: grid;
    gap: 5px;
    margin: 0;
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.property-search-primary-search input {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-bg) 70%, white 8%);
    color: var(--home-text);
    font: inherit;
    font-weight: 750;
}

.property-search-primary-search .btn {
    min-height: 44px;
    min-width: 118px;
    font-weight: 900;
}

.property-search-topbar h1,
.property-search-results-head h2,
.property-search-panel h2,
.property-search-card h3 {
    margin: 0;
    letter-spacing: 0;
}

.property-search-topbar h1 {
    font-size: clamp(1.28rem, 2vw, 1.85rem);
}

.property-search-counters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.property-search-counters span,
.property-search-results-head > span,
.property-search-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--home-surface-soft) 58%, transparent);
    color: var(--home-muted);
    font-size: .78rem;
    font-weight: 800;
}

.property-search-workspace {
    display: grid;
    grid-template-columns: minmax(0, 70%) minmax(320px, 30%);
    align-items: start;
    margin-top: 12px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    overflow: hidden;
    background: color-mix(in srgb, var(--home-surface) 82%, transparent);
    box-shadow: var(--home-shadow);
}

.property-search-map-column {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: 650px auto auto;
    border-inline-end: 1px solid var(--home-border);
}

.property-search-map {
    min-height: 0;
    height: 100%;
    background: #dbe4ea;
}

.property-search-map .leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.property-search-map .is-search-active-marker {
    filter: drop-shadow(0 0 8px rgba(215, 165, 31, .95)) saturate(1.2);
    z-index: 900 !important;
}

.property-search-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--home-border);
    background: color-mix(in srgb, var(--home-surface-soft) 58%, transparent);
}

.property-search-toolbar [hidden],
.property-search-tool-output[hidden] {
    display: none !important;
}

.property-search-tool-output {
    max-height: 132px;
    overflow: auto;
    padding: 10px 12px;
    border-top: 1px solid var(--home-border);
    background: color-mix(in srgb, var(--home-surface) 94%, transparent);
    font-size: .9rem;
}

.property-search-tool-output p,
.property-search-tool-output ul {
    margin: 0;
}

.property-search-tool-output ul {
    padding-inline-start: 18px;
}

.property-search-tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.property-search-filter-column {
    min-width: 0;
    min-height: 0;
    height: 650px;
    overflow-y: auto;
    padding: 12px;
    background: color-mix(in srgb, var(--home-surface-soft) 42%, transparent);
}

.property-search-panel {
    display: grid;
    gap: 8px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface) 88%, transparent);
}

.property-search-panel h2 {
    font-size: 1rem;
}

.property-search-panel label {
    display: grid;
    gap: 5px;
    color: var(--home-muted);
    font-size: .82rem;
    font-weight: 900;
}

.property-search-panel input,
.property-search-panel select {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-bg) 70%, white 8%);
    color: var(--home-text);
    font: inherit;
}

[data-bs-theme="light"] .property-search-panel input,
[data-bs-theme="light"] .property-search-panel select {
    background: #fff;
}

.property-search-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.property-search-button-row,
.property-search-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-search-button-row > .btn {
    flex: 1 1 140px;
}

.property-search-radius-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.property-search-radius-chip {
    min-height: 36px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface-soft) 62%, transparent);
    color: var(--home-text);
    font: inherit;
    font-size: .84rem;
    font-weight: 900;
    cursor: pointer;
}

.property-search-radius-chip.is-active,
.property-search-radius-chip:focus-visible {
    border-color: var(--app-accent);
    background: color-mix(in srgb, var(--app-accent) 22%, var(--home-surface));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-accent) 18%, transparent);
    outline: 0;
}

.property-search-status[data-tone="success"] {
    border-color: color-mix(in srgb, #14b8a6 58%, var(--home-border));
    color: #0f766e;
}

.property-search-status[data-tone="warning"] {
    border-color: color-mix(in srgb, #f59e0b 64%, var(--home-border));
    color: #b45309;
}

.property-search-checks label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface-soft) 58%, transparent);
    color: var(--home-text);
}

.property-search-checks input {
    width: auto;
    min-height: 0;
}

.property-search-reset {
    display: block;
    padding: 10px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    color: var(--home-text);
    text-align: center;
    text-decoration: none;
    font-weight: 900;
}

.property-search-message {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface) 84%, transparent);
    color: var(--home-muted);
}

.property-search-results {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface) 82%, transparent);
    box-shadow: var(--home-shadow);
}

.property-search-results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.property-search-results-head h2 {
    font-size: 1.25rem;
}

.property-search-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.property-search-card {
    display: grid;
    grid-template-rows: 132px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface-soft) 48%, transparent);
}

.property-search-card.is-selected {
    border-color: color-mix(in srgb, var(--app-accent) 75%, var(--home-border));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-accent) 22%, transparent);
}

.property-search-card:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-accent) 42%, transparent);
    outline-offset: 2px;
}

.property-search-card-image {
    position: relative;
    display: block;
    min-width: 0;
    background: color-mix(in srgb, var(--home-surface) 80%, transparent);
}

.property-search-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.property-search-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.favorite-button {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid color-mix(in srgb, #ffffff 72%, transparent);
    border-radius: 999px;
    background: rgba(7, 27, 51, .72);
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(7, 27, 51, .22);
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
    z-index: 2;
}

.favorite-button:hover,
.favorite-button:focus-visible {
    transform: translateY(-1px);
    outline: 0;
    border-color: #fff;
    background: rgba(7, 27, 51, .9);
}

.favorite-button.is-active {
    border-color: color-mix(in srgb, #ef4444 72%, #fff);
    background: #fff;
    color: #ef4444;
}

.favorite-button.is-error {
    animation: favoriteShake .22s linear 2;
}

.favorite-button:disabled {
    opacity: .65;
    cursor: wait;
}

@keyframes favoriteShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.property-search-card-body {
    display: grid;
    gap: 7px;
    padding: 10px;
}

.property-search-card-top,
.property-search-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.property-search-card-top strong {
    color: var(--app-accent);
}

.property-search-card-top span {
    color: var(--home-muted);
    font-size: .84rem;
    font-weight: 800;
}

.property-search-card h3 {
    font-size: 1rem;
    line-height: 1.25;
}

.property-search-card h3 a {
    color: var(--home-text);
    text-decoration: none;
}

.property-search-card p {
    min-height: 34px;
    margin: 0;
    color: var(--home-muted);
    font-size: .9rem;
}

.property-search-property-marker {
    position: relative;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--marker-color, #071B33);
    box-shadow: 0 8px 18px rgba(7, 27, 51, 0.24);
    transform: rotate(-45deg);
}

.property-search-property-marker::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #fff;
    transform: rotate(45deg);
}

.property-search-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.property-search-card-meta span {
    padding: 4px 7px;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    color: var(--home-muted);
    font-size: .78rem;
    font-weight: 800;
}

.property-search-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    color: var(--home-muted);
    text-align: center;
}

.property-search-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.property-search-pagination a {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    color: var(--home-text);
    text-decoration: none;
    font-weight: 900;
}

.property-search-pagination a.active {
    border-color: var(--app-accent);
    color: #101827;
    background: var(--app-accent);
}

.property-search-panel[hidden] {
    display: none !important;
}

.property-search-filter-column [data-search-panel="property"],
.property-search-filter-column [data-search-panel="price"],
.property-search-filter-column [data-search-panel="advanced"] {
    display: none;
}

.property-search-type-grid {
    margin-top: 2px;
}

.property-search-sort {
    margin-inline-start: auto;
}

.property-search-sort label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--home-secondary, #5d6879);
    font-size: .82rem;
    font-weight: 800;
}

.property-search-sort select {
    min-width: 154px;
    height: 36px;
    border: 1px solid var(--home-border, #d8dee9);
    border-radius: 8px;
    background: var(--home-card, #fff);
    color: var(--home-navy, #071b33);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .property-search-workspace {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .property-search-map-column {
        grid-template-rows: 520px auto auto;
        border-inline-end: 0;
    }

    .property-search-map {
        height: 100%;
    }

    .property-search-filter-column {
        order: -1;
        height: auto;
        max-height: none;
        overflow: visible;
        border-bottom: 1px solid var(--home-border);
    }
}

@media (max-width: 720px) {
    .property-search-main {
        width: min(100% - 20px, 1500px);
        padding-top: 10px;
    }

    .property-search-topbar,
    .property-search-primary-search,
    .property-search-results-head {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .property-search-counters {
        justify-content: flex-start;
    }

    .property-search-map {
        height: 100%;
    }

    .property-search-map-column {
        grid-template-rows: 420px auto auto;
    }

    .property-search-toolbar,
    .property-search-button-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .property-search-radius-chips {
        grid-template-columns: repeat(2, minmax(72px, 1fr));
    }

    .property-search-panel {
        padding: 10px;
    }

    .property-search-field-grid {
        grid-template-columns: 1fr;
    }

    .property-search-card {
        grid-template-rows: 128px minmax(0, 1fr);
    }
}

.property-search-map .leaflet-popup-content,
.favorites-map .leaflet-popup-content {
    margin: 0;
    width: 100% !important;
}

.property-search-popup {
    display: grid;
    gap: 0;
    width: min(300px, 76vw);
    overflow: hidden;
    border-radius: 8px;
    background: var(--home-surface, #fff);
    color: var(--home-text, #071b33);
}

.property-search-popup-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #dbe4ea;
}

.property-search-popup-body {
    display: grid;
    gap: 7px;
    padding: 10px;
}

.property-search-popup-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.property-search-popup-topline > span {
    padding: 3px 8px;
    border: 1px solid var(--home-border, #d8dee9);
    border-radius: 999px;
    color: var(--home-muted, #5d6879);
    font-size: .74rem;
    font-weight: 900;
    text-transform: capitalize;
}

.property-search-popup strong {
    color: var(--home-text, #071b33);
    font-size: .98rem;
    line-height: 1.22;
}

.property-search-popup b {
    color: var(--app-accent, #d7a51f);
    font-size: .95rem;
}

.property-search-popup dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0;
}

.property-search-popup dl div {
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--home-border, #d8dee9);
    border-radius: 8px;
    background: color-mix(in srgb, var(--home-surface-soft, #f6f8fb) 78%, transparent);
}

.property-search-popup dt {
    color: var(--home-muted, #5d6879);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-search-popup dd {
    margin: 0;
    color: var(--home-text, #071b33);
    font-size: .8rem;
    font-weight: 850;
}

.property-search-popup p {
    min-height: 0;
    margin: 0;
    color: var(--home-muted, #5d6879);
    font-size: .82rem;
}

.property-search-popup-favorite {
    position: static;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}

.amlakk-toast {
    position: fixed;
    inset-inline-end: 18px;
    inset-block-end: 18px;
    z-index: 5000;
    max-width: min(320px, calc(100vw - 32px));
    padding: 10px 12px;
    border: 1px solid var(--home-border, #d8dee9);
    border-radius: 8px;
    background: var(--home-surface, #fff);
    color: var(--home-text, #071b33);
    box-shadow: 0 16px 38px rgba(7, 27, 51, .18);
    font-size: .88rem;
    font-weight: 850;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.amlakk-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.amlakk-toast[data-state="error"] {
    border-color: color-mix(in srgb, #ef4444 55%, var(--home-border, #d8dee9));
    color: #991b1b;
}

@media (max-width: 520px) {
    .property-search-popup {
        width: min(270px, 78vw);
    }

    .property-search-popup dl {
        grid-template-columns: 1fr;
    }
}

.property-search-pagination .pagination-direction,
.property-search-pagination .disabled {
    min-width: 92px; min-height: 38px; display: inline-grid; place-items: center;
    padding-inline: 14px; border: 1px solid var(--home-border); border-radius: 8px; font-weight: 900;
}
.property-search-pagination .disabled { color: var(--home-muted); cursor: not-allowed; opacity: .55; }
.search-pagination-notice {
    margin-top: 16px; padding: 12px 14px; border: 1px solid var(--home-border); border-radius: 8px;
    background: color-mix(in srgb, var(--app-accent) 10%, transparent); color: var(--home-text);
    font-weight: 800; text-align: center;
}
@media (max-width: 575.98px) {
    .property-search-pagination { gap: 6px; }
    .property-search-pagination a, .property-search-pagination .pagination-direction, .property-search-pagination .disabled {
        min-width: 36px; min-height: 36px; padding-inline: 9px; font-size: .82rem;
    }
    .property-search-pagination .pagination-direction, .property-search-pagination .disabled { flex: 1 1 42%; }
}


/* Phase 1 Release 02.1: Search-only Arabic and favorite-state stabilization. */
.property-search-shell[dir="rtl"] {
    direction: rtl;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    text-align: right;
}

.property-search-shell[dir="rtl"] :where(input, select, button, textarea) {
    font-family: inherit;
}

.favorite-button .favorite-button-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    transition: fill .16s ease, transform .16s ease;
}

.favorite-button.is-active {
    border-color: color-mix(in srgb, #dc2626 72%, #fff);
    background: #fff;
    color: #dc2626;
}

.favorite-button.is-active .favorite-button-icon {
    fill: currentColor;
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .favorite-button,
    .favorite-button .favorite-button-icon {
        transition: none;
    }
}

/* Release 03 Search Experience */
.search-search{--s3-ink:#10233f;--s3-muted:#64748b;--s3-border:#dce3ec;--s3-surface:#fff;--s3-soft:#f5f7fa;--s3-gold:#c98b2e;--s3-gold-soft:#fff7e8;background:#f4f6f9;color:var(--s3-ink)}
.search-search-main{max-width:1480px;margin:auto;padding:28px clamp(16px,3vw,42px) 64px}
.search-search-hero{padding:clamp(28px,4vw,52px);border:1px solid #d9e0e9;border-radius:28px;background:radial-gradient(circle at 84% 0%,rgba(211,151,55,.22),transparent 32%),linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 18px 50px rgba(15,35,64,.08)}
.search-search-heading{max-width:780px}.search-search-heading h1{margin:7px 0 10px;font-size:clamp(30px,4vw,54px);line-height:1.08;letter-spacing:-.035em}.search-search-heading p{margin:0;color:var(--s3-muted);font-size:clamp(15px,1.5vw,18px)}
.search-primary-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:28px;max-width:1050px}.search-search-input-wrap{position:relative;min-width:0}.search-search-input-wrap>.ui-icon{position:absolute;inset-inline-start:20px;top:50%;transform:translateY(-50%);width:22px;height:22px;color:#475569;z-index:2}
.search-search-input-wrap input{width:100%;height:62px;padding:0 56px;border:1px solid #c9d3df;border-radius:15px;background:#fff;color:var(--s3-ink);font-size:17px;box-shadow:0 8px 24px rgba(15,35,64,.08)}.search-search-input-wrap input:focus{outline:3px solid rgba(37,99,235,.18);border-color:#2563eb}.search-search-clear{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:#edf1f5;display:grid;place-items:center;z-index:3}.search-search-clear[hidden]{display:none}.search-search-submit{min-width:138px;height:62px;border-radius:15px;font-size:16px;display:flex;align-items:center;justify-content:center;gap:9px}
.search-search-suggestions{position:absolute;inset-inline:0;top:calc(100% + 7px);z-index:1100;padding:7px;border:1px solid var(--s3-border);border-radius:14px;background:var(--s3-surface);box-shadow:0 18px 45px rgba(15,23,42,.16)}.search-search-suggestions[hidden]{display:none}.search-search-suggestions button{width:100%;padding:11px 13px;border:0;border-radius:9px;background:transparent;color:var(--s3-ink);text-align:start;display:flex;justify-content:space-between}.search-search-suggestions button:hover,.search-search-suggestions button[aria-selected=true]{background:var(--s3-gold-soft)}.search-search-suggestions small{color:var(--s3-muted)}
.search-search-support{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:17px}.search-quick-searches,.search-search-utilities{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.search-quick-searches>span{color:var(--s3-muted);font-size:13px;font-weight:700}.search-quick-searches button,.search-utility-button{min-height:38px;padding:7px 12px;border:1px solid var(--s3-border);border-radius:999px;background:rgba(255,255,255,.75);color:#334155;font-size:13px}.search-quick-searches button:hover,.search-utility-button:not(:disabled):hover{border-color:var(--s3-gold);background:var(--s3-gold-soft)}.search-utility-button{display:flex;align-items:center;gap:7px}.search-utility-button small{padding:2px 6px;border-radius:999px;background:#e9edf2;font-size:10px}.search-utility-button:disabled{opacity:.65}.search-history-panel{margin-top:14px;padding:15px;border:1px solid var(--s3-border);border-radius:14px;background:var(--s3-surface)}.search-history-panel[hidden]{display:none}.search-history-panel>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.search-history-panel span,.search-history-empty{color:var(--s3-muted);font-size:13px}.search-history-list{display:flex;gap:8px;flex-wrap:wrap}.search-history-list a{padding:7px 10px;border-radius:9px;background:var(--s3-soft);color:var(--s3-ink);text-decoration:none;font-size:13px}
.search-filter-zone{position:relative;z-index:20;margin:18px 0 22px}.search-filter-disclosure{border:1px solid var(--s3-border);border-radius:18px;background:var(--s3-surface);box-shadow:0 10px 28px rgba(15,35,64,.05)}.search-filter-disclosure>summary{min-height:68px;padding:14px 18px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;cursor:pointer;list-style:none}.search-filter-disclosure>summary::-webkit-details-marker{display:none}.search-filter-disclosure>summary>span{display:flex;align-items:center;gap:9px}.search-filter-disclosure>summary>span .ui-icon{color:var(--s3-gold)}.search-filter-disclosure>summary b{min-width:24px;padding:2px 7px;border-radius:999px;background:var(--s3-gold);color:#17110a;text-align:center;font-size:12px}.search-filter-disclosure>summary small{color:var(--s3-muted)}.search-filter-chevron{transition:transform .2s}.search-filter-disclosure[open] .search-filter-chevron{transform:rotate(180deg)}.search-filter-panel{border-top:1px solid var(--s3-border)}.search-admin-filter-form{padding:20px}.search-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.search-filter-group{min-width:0;margin:0;padding:15px;border:1px solid var(--s3-border);border-radius:14px;background:var(--s3-soft)}.search-filter-group legend{padding:0 7px;color:var(--s3-ink);font-weight:800;display:flex;align-items:center;gap:7px}.search-filter-group legend .ui-icon{width:17px;height:17px;color:var(--s3-gold)}.search-filter-group>label,.search-filter-pair label{display:grid;gap:5px;margin-top:10px;color:#475569;font-size:12px;font-weight:700}.search-filter-group input,.search-filter-group select,.search-location-fields input,.search-location-fields select,.search-sort select{width:100%;min-height:43px;padding:7px 10px;border:1px solid #cad4e0;border-radius:9px;background:var(--s3-surface);color:var(--s3-ink)}.search-filter-group input:focus,.search-filter-group select:focus,.search-location-fields input:focus,.search-location-fields select:focus,.search-sort select:focus{outline:3px solid rgba(37,99,235,.15);border-color:#2563eb}
.search-filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px}.search-field-caption{display:block;margin-top:6px;color:var(--s3-muted);font-size:11px}.search-checks{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.search-checks label{margin:0;padding:7px 9px;border:1px solid var(--s3-border);border-radius:8px;background:var(--s3-surface);color:#475569;font-size:12px}.search-checks input{width:auto;min-height:0}.search-planned-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.search-planned-fields span{padding:9px;border:1px dashed #cbd5e1;border-radius:9px;display:flex;justify-content:space-between;color:var(--s3-muted);font-size:11px}.search-future-group{background:linear-gradient(145deg,var(--s3-soft),var(--s3-surface))}.search-future-item{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:start;padding:10px 0}.search-future-item+.search-future-item{border-top:1px solid var(--s3-border)}.search-future-item>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--s3-gold-soft);color:var(--s3-gold)}.search-future-item p{margin:2px 0 0;color:var(--s3-muted);font-size:11px}.search-future-item>small{padding:3px 6px;border-radius:999px;background:#e7ebf0;color:#64748b;font-size:9px}.search-filter-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.search-filter-actions .btn{min-height:44px;min-width:130px}
.search-location-form{padding:17px 20px;border-top:1px solid var(--s3-border);background:linear-gradient(90deg,rgba(15,118,110,.05),transparent)}.search-location-copy{display:flex;gap:10px;align-items:center}.search-location-copy>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e7f6f3;color:#0f766e}.search-location-copy p{margin:2px 0 0;color:var(--s3-muted);font-size:12px}.search-location-fields{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr)) auto auto;gap:9px;align-items:end;margin-top:13px}.search-location-fields label{display:grid;gap:5px;color:#475569;font-size:11px;font-weight:700}.search-location-fields .btn{min-height:43px;white-space:nowrap}.search-active-filters{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.search-active-filters:empty{display:none}.search-filter-chip{min-height:34px;padding:6px 9px;border:1px solid #d5dde7;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-size:12px;display:flex;align-items:center}
.search-results-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 15px}.search-results-head h2{margin:3px 0 2px;font-size:clamp(22px,2.4vw,32px)}.search-results-head p{margin:0;color:var(--s3-muted);font-size:13px}.search-results-controls{display:flex;align-items:end;gap:10px}.search-view-toggle{display:none;padding:3px;border:1px solid var(--s3-border);border-radius:10px;background:var(--s3-surface)}.search-view-toggle button{min-height:38px;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:var(--s3-muted)}.search-view-toggle button[aria-pressed=true]{background:var(--s3-ink);color:#fff}.search-sort{display:grid;gap:5px;color:var(--s3-muted);font-size:11px;font-weight:700}.search-sort select{min-width:170px}.search-results-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.85fr);gap:18px;align-items:start}.search-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.search-property-card{min-width:0;overflow:hidden;border:1px solid var(--s3-border);border-radius:18px;background:var(--s3-surface);box-shadow:0 8px 25px rgba(15,35,64,.06);transition:.2s}.search-property-card:hover,.search-property-card.is-selected,.search-property-card:focus-visible{transform:translateY(-2px);border-color:#d19a45;box-shadow:0 15px 34px rgba(15,35,64,.13);outline:none}.search-card-image{position:relative;aspect-ratio:16/9;overflow:hidden;background:#dfe5ec}.search-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.search-property-card:hover .search-card-image img{transform:scale(1.035)}.search-listing-badge{position:absolute;inset-inline-start:12px;top:12px;padding:5px 9px;border-radius:999px;background:rgba(7,27,51,.88);color:#fff;font-size:11px;font-weight:800}.search-card-image .favorite-button{position:absolute;inset-inline-end:12px;top:12px}.search-card-body{padding:15px}.search-price-row{display:flex;justify-content:space-between;gap:10px}.search-price-row>div{display:grid}.search-price-row strong{font-size:20px;color:#8b5b16}.search-price-row span,.search-price-row small{color:var(--s3-muted);font-size:11px}.search-card-body h3{margin:10px 0 6px;font-size:17px}.search-card-body h3 a{color:var(--s3-ink);text-decoration:none}.search-card-location{min-height:36px;margin:0;color:var(--s3-muted);font-size:12px;display:flex;gap:6px}.search-card-location .ui-icon{flex:none;width:15px;height:15px;color:var(--s3-gold)}
.search-card-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.search-card-facts span{min-width:0;padding:8px;border-radius:9px;background:var(--s3-soft);display:grid;text-align:center}.search-card-facts b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.search-card-facts small{color:var(--s3-muted);font-size:9px}.search-card-insights{display:grid;grid-template-columns:1fr 1fr;gap:7px}.search-card-insights>span{display:grid;grid-template-columns:auto 1fr;column-gap:6px;align-items:center;padding:8px;border:1px solid var(--s3-border);border-radius:9px}.search-card-insights .ui-icon{grid-row:1/3;width:17px;height:17px;color:var(--s3-gold)}.search-card-insights small{color:var(--s3-muted);font-size:9px}.search-card-insights b{font-size:11px}.search-card-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;margin-top:13px}.search-card-actions .btn{min-width:0;min-height:38px;padding:7px 8px;white-space:nowrap}
.search-map-pane{position:sticky;top:86px;padding:14px;border:1px solid var(--s3-border);border-radius:18px;background:var(--s3-surface);box-shadow:0 10px 30px rgba(15,35,64,.08)}.search-map-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.search-map-head h2{margin:2px 0 0;font-size:18px}.search-map-head>span{padding:6px 9px;border-radius:999px;background:var(--s3-soft);color:var(--s3-muted);font-size:11px}.search-map{height:min(62vh,620px);min-height:430px;border-radius:13px;overflow:hidden}.search-map-toolbar{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}.search-map-hint{margin:9px 2px 0;color:var(--s3-muted);font-size:11px}
.search-empty-state{grid-column:1/-1;padding:clamp(32px,6vw,70px);border:1px dashed #c8d3df;border-radius:20px;background:var(--s3-surface);text-align:center}.search-empty-icon{width:64px;height:64px;margin:0 auto 14px;border-radius:20px;display:grid;place-items:center;background:var(--s3-gold-soft);color:var(--s3-gold)}.search-empty-state p{color:var(--s3-muted)}.search-empty-state ul{max-width:530px;margin:16px auto;text-align:start;color:#475569;font-size:13px}.search-empty-state>div{display:flex;justify-content:center;gap:8px}
.search-skeleton-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.search-skeleton-card{overflow:hidden;border-radius:18px;background:var(--s3-surface);border:1px solid var(--s3-border)}.search-skeleton-card>span{display:block;aspect-ratio:16/9;background:#e5eaf0}.search-skeleton-card>div{padding:15px;display:grid;gap:9px}.search-skeleton-card i{display:block;height:13px;border-radius:999px;background:linear-gradient(90deg,#e5eaf0 25%,#f5f7fa 45%,#e5eaf0 65%);background-size:300%;animation:s3-shimmer 1.35s infinite}@keyframes s3-shimmer{to{background-position:-150%}}
.search-pagination{display:flex;justify-content:center;gap:7px;align-items:center;margin-top:22px;flex-wrap:wrap}.search-pagination a,.search-pagination>span{min-width:44px;height:44px;padding:8px;border:1px solid var(--s3-border);border-radius:10px;background:var(--s3-surface);color:var(--s3-ink);display:flex;align-items:center;justify-content:center;text-decoration:none}.search-pagination a:hover{border-color:var(--s3-gold);background:var(--s3-gold-soft)}.search-pagination a.active{border-color:var(--s3-ink);background:var(--s3-ink);color:#fff}.search-pagination .pagination-direction{min-width:105px;gap:6px}.search-pagination .disabled{opacity:.48}
[data-theme=dark] .search-search{--s3-ink:#eef4fb;--s3-muted:#aab8ca;--s3-border:#33445a;--s3-surface:#14243a;--s3-soft:#1b2d45;--s3-gold:#efb85c;--s3-gold-soft:#3b2e1b;background:#0b1728}[data-theme=dark] .search-search-hero{border-color:#35465d;background:radial-gradient(circle at 84% 0%,rgba(211,151,55,.18),transparent 34%),linear-gradient(135deg,#15273d,#0f1f33)}[data-theme=dark] .search-search-input-wrap input,[data-theme=dark] .search-quick-searches button,[data-theme=dark] .search-utility-button,[data-theme=dark] .search-filter-chip{background:#102238;color:#edf4fc;border-color:#41536a}[data-theme=dark] .search-filter-group>label,[data-theme=dark] .search-filter-pair label,[data-theme=dark] .search-location-fields label,[data-theme=dark] .search-checks label,[data-theme=dark] .search-empty-state ul{color:#c7d2e0}[data-theme=dark] .search-price-row strong{color:#f6c875}
[dir=rtl] .search-search-heading h1{letter-spacing:0}[dir=rtl] .search-search-input-wrap input{text-align:right}
@media(max-width:1180px){.search-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-results-layout{grid-template-columns:minmax(0,1fr) 380px}.search-card-grid{grid-template-columns:1fr}}
@media(max-width:900px){.search-search-main{padding-inline:16px}.search-results-layout{grid-template-columns:1fr}.search-view-toggle{display:flex}.search-map-pane{display:none;position:relative;top:auto}.search-search.is-map-view .search-list-pane{display:none}.search-search.is-map-view .search-map-pane{display:block}.search-map{height:62vh;min-height:440px}.search-location-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.search-search-main{padding-top:14px}.search-search-hero{padding:22px 16px;border-radius:20px}.search-primary-search{grid-template-columns:1fr;margin-top:20px}.search-search-input-wrap input,.search-search-submit{height:56px}.search-search-submit{width:100%}.search-search-support,.search-results-head{align-items:stretch;flex-direction:column}.search-search-utilities{width:100%}.search-utility-button{flex:1;justify-content:center}.search-filter-disclosure>summary{grid-template-columns:1fr auto}.search-filter-disclosure>summary>small{display:none}.search-filter-grid{grid-template-columns:1fr}.search-admin-filter-form,.search-location-form{padding:14px}.search-location-fields{grid-template-columns:1fr 1fr}.search-results-controls{justify-content:space-between;align-items:end}.search-sort{flex:1}.search-sort select{min-width:0}.search-card-grid,.search-skeleton-grid{grid-template-columns:1fr}.search-card-actions{grid-template-columns:1fr 1fr}.search-card-actions button{grid-column:1/-1}.search-empty-state>div{flex-direction:column}.search-pagination .pagination-direction{min-width:44px}.search-pagination .pagination-direction span{display:none}}
@media(max-width:420px){.search-search-heading h1{font-size:31px}.search-filter-pair,.search-planned-fields,.search-location-fields{grid-template-columns:1fr}.search-results-controls{flex-direction:column;align-items:stretch}.search-view-toggle button{flex:1}}
@media(prefers-reduced-motion:reduce){.search-property-card,.search-card-image img,.search-filter-chevron{transition:none}.search-skeleton-card i{animation:none}}
