/* Map tools share one horizontal row at every viewport width. */
@font-face{font-family:Cairo;src:url('../fonts/Cairo-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Cairo;src:url('../fonts/Cairo-Bold.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:Cairo;src:url('../fonts/Cairo-Black.ttf') format('truetype');font-weight:900;font-display:swap}
html,body,button,input,select,textarea,option,.map-toolbar,.map-filter-sheet,.aqary-select-dialog,.aqary-map-popup,#status{font-family:Cairo,Tahoma,Arial,sans-serif!important}
.map-location-message{margin:0;padding:0}
.map-location-message:empty{display:none}
body .map-toolbar .map-location-message:not(:empty){position:absolute;top:calc(100% + 12px);inset-inline-end:0;box-sizing:border-box;width:240px;max-width:calc(100vw - 32px);margin:0}
body .map-toolbar{display:flex;width:max-content;align-items:center;gap:10px;flex-wrap:nowrap}
body .map-toolbar .map-back-container{flex:0 0 auto}
body .map-toolbar .map-search{flex:1 1 0;width:auto;min-width:0}
body .map-toolbar .map-location-container{flex:0 0 auto}
body .map-toolbar .map-search-row{align-items:center;gap:8px}
body .map-toolbar .map-back-link,body .map-toolbar .map-location-button,body .map-toolbar .map-search-row>input,body .map-toolbar .map-search-row>button{height:44px;min-height:44px;box-sizing:border-box;border-radius:10px}
body .map-toolbar .map-back-link,body .map-toolbar .map-location-button{justify-content:center}
body .map-toolbar .map-back-link span{font-size:0}
body .map-toolbar .map-back-link span:after{content:'رجوع';font-size:13px}
.map-filter-sheet .filter-sheet-handle{background:#d3ab65;width:44px}
.map-filter-sheet .filter-sheet-header{padding:18px 24px;background:linear-gradient(120deg,#f4f8fa,#fff9ee);border-color:#e5ebef}
.map-filter-sheet .filter-sheet-header h2{font-size:18px;color:#14374b}
.map-filter-sheet .filter-sheet-header button{background:#fff;border:1px solid #dfe7ed}
.map-filter-sheet .map-filter-panel{padding:22px 24px 0;background:#f7f9fb}
.map-filter-intro{margin-bottom:20px}
.map-filter-intro>span{font-size:12px;font-weight:700;color:#a57527}
.map-filter-intro p{font-size:13px;line-height:1.8;color:#6b8191;margin:7px 0 0}
.map-filter-sheet .map-search-fields{gap:14px}
.map-filter-sheet .map-search-fields label{background:#fff;border:1px solid #e4ebf0;border-radius:13px;padding:13px;gap:10px;color:#29495c;font-weight:700;font-size:12px}
.map-filter-sheet .map-search-fields label:first-child{grid-column:1/-1}
.map-filter-sheet .map-search-fields input,.map-filter-sheet .map-search-fields select{background:#f8fafc;border-color:#e1e8ef;min-height:46px;font-size:14px;font-weight:400;color:#14374b}
.map-filter-sheet .map-search-fields input:focus,.map-filter-sheet .map-search-fields select:focus{outline:2px solid #c58b31;outline-offset:2px}
.map-filter-sheet .aqary-select-trigger{--aqary-select-control-min-height:46px;--aqary-select-control-radius:10px;--aqary-select-control-font-size:14px;background:#f8fafc;color:#14374b;border-color:#e1e8ef;font-weight:400}
.map-filter-actions{position:sticky;bottom:0;display:flex;align-items:center;gap:12px;margin:22px -24px 0;padding:16px 24px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid #e2e9ee;background:#fff}
.map-filter-sheet .map-filter-actions .map-search-reset{display:flex;align-items:center;justify-content:center;margin:0;min-height:46px;padding:0 15px;border:1px solid #dfe7ed;border-radius:10px;color:#5f7484;text-decoration:none;font-size:12px;white-space:nowrap}
.map-filter-actions button{display:flex;align-items:center;justify-content:center;gap:14px;flex:1;min-height:46px;border:0;border-radius:10px;background:linear-gradient(110deg,#ba812b,#d6a449);color:#fff;font:700 13px Arial;cursor:pointer}
@media(max-width:600px){
body .map-toolbar{gap:6px;padding:8px;inset-inline:8px}
body .map-toolbar .map-search-row{gap:5px}
body .map-toolbar .map-back-link,body .map-toolbar .map-location-button{width:40px;height:42px;min-height:42px;padding:0}
body .map-toolbar .map-back-link span,body .map-toolbar .map-location-button span{display:none}
body .map-toolbar .map-search-row>button{width:38px;height:42px;min-height:42px}
body .map-toolbar .map-search-row>input{height:42px;min-height:42px;padding-inline:8px}
body .map-toolbar .map-search-row>input::placeholder{font-size:11px}
.map-filter-sheet .map-filter-panel{padding:16px 16px 0}
.map-filter-sheet .map-filter-panel .map-search-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.map-filter-sheet .map-search-fields label{padding:10px;font-size:11px}
.map-filter-actions{margin-inline:-16px;padding-inline:16px;gap:8px}
.map-filter-actions button{font-size:12px;gap:8px}
}
