/* Hawadeth Misr mobile-only request UI. All selectors are scoped to hmcr. */
#hmcr-request-cta, #hmcr-request-overlay, #hmcr-request-overlay * {box-sizing:border-box}
#hmcr-request-cta {display:none!important}
@media (max-width:760px) {
#hmcr-request-cta {display:flex!important;direction:rtl;align-items:center;flex-wrap:wrap;gap:12px;position:relative;isolation:isolate;width:calc(100% - 24px);max-width:660px;margin:20px auto 18px;padding:16px 14px;border:1px solid #ffdfc4;border-radius:17px;background:linear-gradient(120deg,#fff7ee,#fff);box-shadow:0 5px 22px rgba(16,35,66,.07);font-family:Cairo,Tahoma,Arial,sans-serif;color:#102342;text-align:right}
#hmcr-request-cta .hmcr-request-cta__icon {display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:#ffead8;font-size:24px}
#hmcr-request-cta .hmcr-request-cta__copy {flex:1;min-width:180px}
#hmcr-request-cta .hmcr-request-cta__copy strong {display:block;font-size:15px;line-height:1.5;font-weight:900}
#hmcr-request-cta .hmcr-request-cta__copy p {margin:4px 0 0;font-size:12px;line-height:1.7;color:#596579}
#hmcr-request-cta .hmcr-request-cta__button {display:block;flex:1 0 100%;height:45px;min-height:45px;width:100%;border:0;border-radius:11px;background:#f47a20!important;color:#102342!important;font:900 14px/1.4 Cairo,Tahoma,Arial,sans-serif;cursor:pointer}
}
#hmcr-request-overlay[hidden] {display:none!important}
#hmcr-request-overlay {position:fixed;inset:0;z-index:2147483646;display:flex;align-items:flex-end;justify-content:center;padding:0;background:rgba(11,25,42,.62);font-family:Cairo,Tahoma,Arial,sans-serif}
body.hmcr-request-open {overflow:hidden!important}
#hmcr-request-dialog {width:min(100%,620px);max-height:min(92dvh,900px);overflow-y:auto;overscroll-behavior:contain;background:white;border-radius:20px 20px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom));color:#102342;box-shadow:0 -6px 40px #0002;outline:none}
#hmcr-request-dialog .hmcr-request-dialog__head {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}
#hmcr-request-dialog .hmcr-request-dialog__head strong {font-size:18px;font-weight:900}
#hmcr-request-dialog .hmcr-request-dialog__head p {margin:5px 0;color:#62728a;font-size:12px;line-height:1.65}
#hmcr-request-dialog .hmcr-request-close {width:34px;height:34px;flex:0 0 34px;border:1px solid #d9e0e8;border-radius:8px;background:#f8fafc;font:26px/1 Arial,sans-serif;color:#263957;cursor:pointer}
#hmcr-request-form {display:grid;gap:12px}
#hmcr-request-form .hmcr-request-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
#hmcr-request-form label {display:grid;gap:5px;font-size:12px;font-weight:800;color:#283d59}
#hmcr-request-form label em {font-style:normal;color:#d14a25}
#hmcr-request-form :is(input,select,textarea) {display:block;width:100%;height:44px;min-height:44px;max-width:100%;background:#fff;color:#102342;border:1px solid #d9e0e9;border-radius:9px;padding:8px 10px;font:600 13px/1.6 Cairo,Tahoma,Arial,sans-serif;outline:none}
#hmcr-request-form textarea {height:auto;min-height:80px;resize:vertical}
#hmcr-request-form :is(input,select,textarea):focus-visible {border-color:#f47a20;box-shadow:0 0 0 3px rgba(244,122,32,.15)}
#hmcr-request-form select:disabled {opacity:.5}
#hmcr-request-form .hmcr-request-field-hidden {display:none!important}
#hmcr-request-form .hmcr-request-honeypot {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;left:-9999px!important}
#hmcr-request-form .hmcr-request-notice {font-size:11px;font-weight:400;line-height:1.7;color:#62728a;margin:0}
#hmcr-request-form .hmcr-request-message {font-size:12px;line-height:1.7;color:#168547}
#hmcr-request-form .hmcr-request-message--error {color:#b42318}
#hmcr-request-form .hmcr-request-submit {display:block;width:100%;height:48px;min-height:48px;border:0;border-radius:11px;background:#168547!important;color:#fff!important;font:900 14px/1.5 Cairo,Tahoma,Arial,sans-serif;cursor:pointer}
#hmcr-request-form .hmcr-request-submit:disabled {opacity:.65;cursor:wait}
#hmcr-request-form .hmcr-request-fallback {display:inline;color:#168547;text-decoration:underline;font-weight:bold}
@media(max-width:359px){#hmcr-request-form .hmcr-request-grid {grid-template-columns:minmax(0,1fr)}#hmcr-request-dialog {padding-right:12px;padding-left:12px}}
@media(min-width:761px){#hmcr-request-overlay {align-items:center}#hmcr-request-dialog{border-radius:18px;padding:24px}}


/* صندوق طلب السيارة يظهر فقط في الرئيسية ولوحة البائع وصفحات السيارات */
body:not(.home):not(.page-id-19):not(.single-hm_car):not(.post-type-archive-hm_car) #hmcr-request-cta,
body:not(.home):not(.page-id-19):not(.single-hm_car):not(.post-type-archive-hm_car) #hmcr-request-dialog { display:none !important; }


/* أولوية الصفحات المسموح بها فوق أي إخفاء قديم */
html body.home section#hmcr-request-cta,
html body.page-id-19 section#hmcr-request-cta,
html body.single-hm_car section#hmcr-request-cta,
html body.post-type-archive-hm_car section#hmcr-request-cta { display:flex !important; }
html body.home #hmcr-request-dialog,
html body.page-id-19 #hmcr-request-dialog,
html body.single-hm_car #hmcr-request-dialog,
html body.post-type-archive-hm_car #hmcr-request-dialog { display:block !important; }
