/* Miftah Baghdad — local design foundation. The source logo is displayed unchanged. */
:root{--paper:#f7f5f0;--paper-deep:#efeee9;--navy:#101d2b;--gold:#b49a6a;--slate:#66717d;--edge:#dadbd7}
body,body:before{background:var(--paper)!important;color:var(--navy)!important}
.site-header{background:#fff!important;border-color:#e8e7e2!important;backdrop-filter:none;box-shadow:0 2px 18px #101d2b0a}
.header-inner{height:82px}.site-header .brand .brand-frame{display:block;width:146px;height:68px;overflow:hidden;position:relative;background:#fff;flex:none}.brand-frame img{position:absolute!important;width:180px!important;height:180px!important;max-width:none;object-fit:cover!important;left:-17px;top:-50px;border:0!important;border-radius:0!important;background:#fff!important}
.site-header .header-inner>nav.desktop-nav{display:flex}
.desktop-nav{display:flex;gap:clamp(12px,2vw,32px);align-items:center;font-size:14px;font-weight:600;color:var(--navy)}.desktop-nav a:hover{color:#927746}.header-tools{display:flex;gap:10px;align-items:center}.header-action{border:1px solid var(--edge);padding:10px 17px;color:var(--navy);border-radius:2px}.language-control select,.menu-button{border-color:var(--edge)!important;background:#fff!important;color:var(--navy)!important}.menu-button{border-radius:3px!important}
.hero{background:#101d2b!important;color:#fff}.hero:after{opacity:.56!important;background-position:center 40%}.hero:before{background:linear-gradient(90deg,#101d2bf2 0%,#101d2bc6 52%,#101d2b56 100%)!important}.hero-inner{min-height:560px;padding-block:78px 72px}.hero-copy{max-width:840px}.hero h1{color:#fff;letter-spacing:0;font-size:clamp(43px,5.8vw,72px);font-weight:600;line-height:1.22}.hero h1 em{color:#dbc595}.hero .eyebrow{color:#e0cfa7}.hero p{max-width:590px;font-size:16px}.hero-search{border-radius:3px;background:#fff;box-shadow:0 15px 42px #101d2b52}.hero-search button{background:#101d2b;border-radius:2px}.hero-links a{border-color:#dbc59580;color:#f6f2e8}
.section{padding-block:64px}.section-heading h2{font-weight:600;letter-spacing:0}.section-heading p{color:var(--slate)}.eyebrow{color:#927746;letter-spacing:.12em}
#offers,#primary{color:var(--navy)}#offers:before,#primary:before{background:var(--paper)}
.browser{background:#fff!important;border:1px solid var(--edge)!important;border-radius:5px!important;box-shadow:0 12px 32px #101d2b0a!important}
.segmented{background:#f3f3f0!important;border-color:var(--edge)!important;border-radius:3px!important}.segmented button{color:#4e5964!important;border-radius:2px!important}.segmented button[aria-pressed=true]{background:var(--navy)!important;color:#fff!important}.segment-link{color:var(--navy)!important}
.filter-toggle,.reset-btn{color:var(--navy)!important;border-color:var(--edge)!important;border-radius:3px!important}.filter-form label{color:#354453!important}.filter-form input,.filter-form select{background:#fff!important;border:1px solid #cbd0d2!important;color:var(--navy)!important;border-radius:3px!important}.filter-form input::placeholder{color:#75808a}.filter-form input:focus,.filter-form select:focus{border-color:#9b8052!important}.advanced{border-color:var(--edge)!important}
.active-filters button{background:#efeee9;color:var(--navy);border-color:var(--edge)}.offer-card{background:#fff!important;color:var(--navy)!important;border:1px solid #d8d9d5!important;border-radius:4px!important;box-shadow:0 8px 22px #101d2b0b}.offer-image{background:#e8e8e4;height:235px}.offer-image>span:first-child{color:#596876!important;font-size:14px!important}.offer-info .offer-price{color:var(--navy)}.offer-info h3{font-size:18px}.offer-compound{color:#5b6772!important}.offer-facts span{color:#354453!important}.card-bottom{border-top:1px solid #e9e9e4;padding-top:12px;margin-top:17px}.card-bottom button{color:#244a61!important}.save-heart{border-radius:50%!important}
#featured{background:var(--paper-deep)!important;color:var(--navy)}#featured .section-heading p{color:var(--slate)}#saved{color:var(--navy)}.directory-entry{background:#fff!important;border:1px solid var(--edge)!important;color:var(--navy)!important;border-radius:4px!important}.directory-entry small{color:var(--slate)!important}
.map-section{background:#eeefec!important;color:var(--navy)}.map-section .section-heading p{color:var(--slate)}.map-info,.map-picker,.map-search-results{background:#fff!important;color:var(--navy)!important;border-color:var(--edge)!important}.map-info p,.map-info small{color:#596773!important}.map-canvas{border-color:var(--edge)!important}.primary-card{border-radius:4px!important;background:#162c3d!important}.primary-booking{border-radius:4px!important}.request-section{color:var(--navy)}.request-intro p{color:var(--slate)}.request-form{background:#fff!important;border:1px solid var(--edge)!important;border-radius:4px!important;box-shadow:none!important}.request-form label{color:#354453!important}.request-form input,.request-form select,.request-form textarea{background:#fff!important;border-color:#cbd0d2!important;color:var(--navy)!important}.request-form input::placeholder,.request-form textarea::placeholder{color:#7d8791}.form-privacy{color:#596773!important}.request-feedback{color:var(--navy)!important}
.primary-btn{background:var(--gold)!important;border-color:var(--gold)!important;color:var(--navy)!important;border-radius:3px!important}.primary-btn:hover{background:#c3ad80!important}.contact-strip{background:var(--navy)!important;color:#fff;margin-block:56px}.contact-strip .eyebrow{color:#d8c392}.contact-strip p{color:#d4dade}footer{background:#101d2b;color:#d8dedf}.footer-inner{align-items:flex-start;padding-block:42px}.footer-inner strong{color:#fff}.footer-inner small{color:#bac6ce}.footer-inner .footer-contact{display:flex;flex-wrap:wrap;gap:8px 22px;max-width:500px}.footer-contact a{color:#e8ebea}.footer-contact a:hover{color:#dbc595}
.main-menu{background:#101d2b!important}.detail-dialog{border-radius:4px!important}.detail-dialog .dialog-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}.mobile-dock{display:none}
.mobile-dock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.mobile-dock .dock-request svg{width:26px;height:26px;border:1px solid #b49a6a;border-radius:50%;padding:3px}
.compound-cluster{display:grid!important;place-items:center;background:#101d2b;border:2px solid #fff;box-shadow:0 2px 12px #101d2b55;border-radius:50%;color:#fff;font:600 14px Inter,Arial,sans-serif}.compound-cluster span{line-height:1}.cluster-list{display:grid;max-height:200px;overflow:auto}.cluster-list button{border:0;border-bottom:1px solid #ddd;background:#fff;padding:9px;color:#101d2b;text-align:start;cursor:pointer}
@media(max-width:1050px){.desktop-nav{gap:12px;font-size:12px}}
@media(max-width:850px){.site-header .header-inner>nav.desktop-nav{display:none}}
@media(max-width:700px){body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}.header-inner{height:72px}.site-header .brand .brand-frame{width:125px;height:62px}.brand-frame img{width:160px!important;height:160px!important;left:-18px;top:-45px}.header-action{display:none}.hero-inner{min-height:0;padding-block:62px 50px}.hero h1{font-size:clamp(38px,9.5vw,54px)}.hero p{font-size:15px}.section{padding-block:48px}.browser{padding:15px!important}.offer-image{height:240px}.mobile-dock{position:fixed;z-index:27;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;min-height:calc(64px + env(safe-area-inset-bottom));padding:5px 3px env(safe-area-inset-bottom);background:#fff;border-top:1px solid #deded8;box-shadow:0 -8px 26px #101d2b13}.mobile-dock a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:52px;color:#465462;font-size:10px;font-weight:600;white-space:nowrap}.mobile-dock a span{font-family:Arial,sans-serif;font-size:23px;line-height:1.1}.mobile-dock a:focus-visible{outline-offset:-2px}.mobile-dock .dock-request{color:#8c7247}.mobile-dock .dock-request span{font-size:29px}.footer-inner{padding-bottom:30px}.detail-dialog .dialog-actions{bottom:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}a,button,.offer-image img{transition:none!important}}

/* Service forms remain available on demand while discovery stays concise. */
.service-disclosure{border:1px solid var(--edge);border-radius:4px;background:#fff;color:var(--navy);padding:0!important;display:block!important;box-shadow:none!important}
.service-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;padding:18px 22px;min-height:52px;font-weight:600;color:var(--navy)}
.service-disclosure summary::-webkit-details-marker{display:none}
.service-disclosure summary span{color:var(--gold)}
.service-disclosure[open] summary{border-bottom:1px solid var(--edge)}
.service-disclosure > div,.service-disclosure > form{margin:18px 22px 22px}
.service-disclosure .request-form{width:auto}
.retry-results{display:block;margin:14px auto;padding:10px 24px;min-height:44px;border:1px solid var(--gold);background:var(--navy);color:#fff;border-radius:3px}
@media(max-width:600px){.service-disclosure > div,.service-disclosure > form{margin:12px 14px 16px}.service-disclosure summary{padding:14px 16px}}

/* Map explorer: restrained controls, clear selected results, and safe-area-aware mobile panel. */
.map-section{--map-line:#cdd4d4;background:#f7f5f0!important}
.map-section .section-heading{align-items:end}
.map-count{font-size:14px;color:#435260;white-space:nowrap}
.map-toolbar{border:1px solid var(--map-line);background:#fff;padding:15px;display:grid;gap:12px;margin-bottom:12px;border-radius:6px}
.map-modes,.map-categories{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.map-modes button,.map-categories button,.map-search-row button,.map-floating-actions button,.map-foot button{min-height:44px;padding:9px 16px;border:1px solid var(--map-line);background:#fff;color:#101d2b;border-radius:4px;font-weight:600}
.map-modes button[aria-pressed=true],.map-categories button[aria-pressed=true]{background:#101d2b;color:#fff;border-color:#101d2b}
.map-categories a{color:#5a492d;text-decoration:underline;text-underline-offset:4px;margin-inline-start:auto}
.map-search-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,270px) auto;gap:9px}
.map-search-row input,.map-search-row select{height:46px;min-width:0;width:100%;border:1px solid var(--map-line);background:#fff;color:#101d2b;border-radius:4px;padding:0 12px;font:inherit}
.map-section[data-mode=properties] #map-compound,.map-section[data-mode=projects] #map-compound{display:none}
.map-section[data-mode=properties] .map-search-row,.map-section[data-mode=projects] .map-search-row{grid-template-columns:minmax(0,1fr) auto}
.map-status{min-height:24px;font-size:13px;color:#455765;display:flex;align-items:center;gap:12px}
.map-status:empty{min-height:0}.map-retry{border:1px solid #b49a6a;background:#fff;color:#101d2b;padding:6px 12px;border-radius:3px;min-height:38px}
.map-section .map-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);gap:14px;align-items:stretch}
.map-stage{position:relative;min-width:0}.map-section .map-canvas{height:570px;min-height:400px;border:1px solid var(--map-line);border-radius:5px;overflow:hidden;background:#e8ece8}
.map-floating-actions{position:absolute;z-index:400;top:12px;left:12px;display:flex;gap:7px;align-items:flex-start;flex-wrap:wrap;max-width:calc(100% - 24px)}
.map-floating-actions button{box-shadow:0 2px 8px #101d2b26}.map-floating-actions button[hidden]{display:none}
.map-section .map-side{order:0;max-height:570px;overflow:auto;background:#fff;border:1px solid var(--map-line);border-radius:5px;display:flex;flex-direction:column;gap:0}
.map-section .map-info{border:0;border-bottom:1px solid var(--map-line);border-radius:0;padding:18px;flex:none;box-shadow:none}
.map-info h3{margin:5px 0;font-size:21px}.map-info .eyebrow{color:#79643c}.map-info p{font-size:14px;line-height:1.65;margin:8px 0}.map-info .map-precision{display:block;color:#536371;line-height:1.55;margin-top:10px}
.map-selected-photo{width:100%;height:145px;object-fit:cover;border-radius:3px;margin-bottom:14px}
.map-card-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.map-card-actions a{color:#54462c;font-weight:700;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.map-results{overflow:auto;min-height:0;flex:1}.map-result-card{border-bottom:1px solid #e4e6e3}.map-result-card.selected{background:#f5f2e9;border-inline-start:3px solid #b49a6a}
.map-result-button{width:100%;display:flex;align-items:center;gap:12px;padding:13px 16px;background:transparent;border:0;color:#101d2b;text-align:start;min-height:66px}.map-result-button:hover,.map-result-button:focus-visible{background:#f5f3ef}
.map-result-button img{width:65px;height:55px;object-fit:cover;border-radius:3px}.map-result-copy{display:grid;gap:4px;min-width:0}.map-result-copy strong{font-size:14px}.map-result-copy small{font-size:12px;color:#536371;line-height:1.4}.map-result-copy .map-unpinned{color:#746448}
.map-empty{margin:0;padding:18px;color:#566672;font-size:14px;line-height:1.6}.map-foot{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:12px}.map-foot a{color:#54462c;text-decoration:underline;text-underline-offset:4px}.map-foot a[hidden]{display:none}.map-foot button{display:none}
.map-pin{border:0;background:transparent}.map-pin span{display:grid;place-items:center;width:36px;height:36px;background:#101d2b;color:#fff;border:2px solid #fff;box-shadow:0 2px 6px #101d2b70;border-radius:50%;font-size:19px}.map-pin-project span{border-radius:8px;background:#435568}.map-pin-property span{background:#365169}.compound-cluster{border:0!important;background:transparent!important}.compound-cluster span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#101d2b;color:#fff;border:2px solid #b49a6a;font-weight:700;box-shadow:0 2px 8px #101d2b70}
.map-section :is(button,a,input,select):focus-visible{outline:2px solid #7d6337;outline-offset:2px}
@media(max-width:760px){.map-section .section-heading{display:block}.map-count{display:block;margin-top:10px}.map-toolbar{padding:12px}.map-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.map-modes button{font-size:12px;padding:8px 5px;min-width:0}.map-search-row{grid-template-columns:1fr 1fr}.map-search-row input{grid-column:1/-1}.map-search-row select{min-width:0}.map-section[data-mode=properties] .map-search-row,.map-section[data-mode=projects] .map-search-row{grid-template-columns:minmax(0,1fr) auto}.map-section[data-mode=properties] .map-search-row input,.map-section[data-mode=projects] .map-search-row input{grid-column:auto}.map-section .map-layout{display:flex;flex-direction:column;gap:0}.map-section .map-canvas{height:52vh;min-height:350px;max-height:520px}.map-section .map-side{order:0;max-height:38vh;min-height:190px;border-radius:0 0 5px 5px;border-top:0;overscroll-behavior:contain}.map-section .map-info{padding:14px}.map-foot button{display:inline-flex;align-items:center}.map-section.map-list-open .map-stage{display:none}.map-section.map-list-open .map-side{max-height:none;min-height:440px}.map-floating-actions{top:10px;left:10px}.map-floating-actions button{font-size:12px;padding:8px 10px}.map-foot{padding-bottom:env(safe-area-inset-bottom)}}
.map-categories[hidden]{display:none!important}

.home-review-note{padding:12px 15px;font-size:13px;color:#6c5937;background:#fff8e9;border:1px solid #d8c7a7;border-inline-start:3px solid #b49a6a;line-height:1.8}
.offer-image{display:block;position:relative;isolation:isolate}.offer-image>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;min-height:0;object-fit:cover;object-position:center}.offer-image>.card-badges,.offer-image>.save-heart{z-index:2}.offer-image>span:first-child{position:absolute;inset:0;display:grid;place-items:center}

/* The home view previews six real records; full filtering lives on the dedicated results pages. */
#offers .quick-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
#offers .quick-filters>label:not(.search-field),#offers .quick-presets,#offers .price-range,#offers #advanced{display:none!important}
#offers .quick-filters .search-submit{min-height:48px}
#offers .all-home-offers{display:flex;align-items:center;justify-content:center;width:fit-content;min-height:46px;margin:22px auto 0;padding:10px 23px;background:#101d2b;color:#fff;border:1px solid #101d2b;border-radius:3px;font-weight:600}
#offers .all-home-offers:focus-visible{outline:2px solid #101d2b;outline-offset:3px}
@media(max-width:700px){#offers .quick-filters{grid-template-columns:1fr}#offers .quick-filters .search-submit{width:100%}#offers .all-home-offers{width:100%;box-sizing:border-box}}
/* The catalog may contain seller-authored Arabic text until approved translations exist. */
.original-language-note{display:block;margin:.35rem 0;color:#66717d;font-size:.76rem;line-height:1.5}
.source-language{margin:.65rem 0;border-inline-start:2px solid #b49a6a;padding-inline-start:.75rem;color:#66717d}
.source-language summary{cursor:pointer;font-size:.88rem;font-weight:600;color:#344454}
.source-language p{margin:.65rem 0;line-height:1.8;color:#283746}
