/* AlRashed v62: isolated quotation button and modal; existing site styles retained. */
#alrQuoteLaunch {
  position:fixed;inset-inline-end:var(--contact-edge,24px);
  bottom:calc(var(--contact-edge,24px) + 3 * (var(--contact-size,56px) + var(--contact-gap,12px)) + env(safe-area-inset-bottom,0px));
  z-index:74;display:inline-flex;align-items:center;gap:11px;padding:6px 16px 6px 6px;
  max-width:calc(100vw - 32px);min-height:62px;box-sizing:border-box;
  border:1px solid rgba(244,163,0,.65);border-radius:36px;background:#31436f;color:#fff;
  box-shadow:0 8px 28px rgba(23,40,76,.23);text-decoration:none;cursor:pointer;
  font-family:Arial,Helvetica,sans-serif;line-height:1.25;text-align:start;
  transition:background .18s,box-shadow .18s;touch-action:manipulation;
}
#alrQuoteLaunch .alr-quote-launch-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#25365e;color:#fff}
#alrQuoteLaunch .alr-quote-robot{width:35px;height:35px;display:block}
#alrQuoteLaunch .alr-quote-launch-copy{display:grid;gap:3px;min-width:0}
#alrQuoteLaunch .alr-quote-launch-label{font-size:calc(15px * var(--a11y-scale,1));font-weight:700;letter-spacing:.01em;color:#fff}
#alrQuoteLaunch .alr-quote-launch-detail{font-size:calc(10px * var(--a11y-scale,1));font-weight:400;color:#e4e9f3;letter-spacing:.035em}
#alrQuoteLaunch .alr-quote-launch-arrow{width:17px;height:17px;flex:0 0 17px;color:#f4a300}
#alrQuoteLaunch:hover{background:#26375f;box-shadow:0 10px 30px rgba(23,40,76,.3)}
#alrQuoteLaunch:focus-visible{outline:3px solid #f4a300;outline-offset:4px}
html[dir="rtl"] #alrQuoteLaunch{padding:6px 6px 6px 16px}
html[dir="rtl"] #alrQuoteLaunch .alr-quote-launch-arrow{transform:scaleX(-1)}
html[lang="ar"] #alrQuoteLaunch,html[lang="ar"] #alrQuoteDialog{font-family:"Tajawal",Tahoma,Arial,sans-serif}
html[lang="ar"] #alrQuoteLaunch .alr-quote-launch-label{letter-spacing:0}
html[lang="ar"] #alrQuoteLaunch .alr-quote-launch-detail{letter-spacing:0;font-size:calc(11px * var(--a11y-scale,1))}
body.menu-open #alrQuoteLaunch,body.alr-quote-open #alrQuoteLaunch,body:has(dialog[open]) #alrQuoteLaunch,body:has(.company-film-inline.is-open) #alrQuoteLaunch{visibility:hidden;pointer-events:none}
body.alr-quote-open{overflow:hidden!important;overscroll-behavior:none}
#alrQuoteDialog:not([open]){display:none}
#alrQuoteDialog {
  position:fixed;inset:0;box-sizing:border-box;width:min(1040px,calc(100% - 40px));
  height:min(800px,calc(100vh - 48px));height:min(800px,calc(var(--alr-quote-vh,100dvh) - 48px));
  max-width:calc(100% - 40px);max-height:calc(var(--alr-quote-vh,100dvh) - 48px);
  margin:auto;padding:0;border:1px solid rgba(49,67,111,.18);border-radius:20px;
  background:#fff;color:#263653;box-shadow:0 24px 100px rgba(14,27,53,.32);
  overflow:hidden;font:400 14px/1.5 Arial,Helvetica,sans-serif;text-align:start;
}
#alrQuoteDialog::backdrop{background:rgba(13,26,48,.6);backdrop-filter:blur(3px)}
#alrQuoteDialog .alr-quote-shell{display:flex;flex-direction:column;height:100%;min-width:0;min-height:0;overflow:hidden}
#alrQuoteDialog .alr-quote-header{display:flex;align-items:center;gap:14px;padding:17px 20px;border-top:3px solid #f4a300;border-bottom:1px solid #e3e8f0;background:#f7f9fc;flex:0 0 auto}
#alrQuoteDialog .alr-quote-header-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:#31436f;color:#fff}
#alrQuoteDialog .alr-quote-header-icon svg{width:32px;height:32px}
#alrQuoteDialog .alr-quote-heading{flex:1;min-width:0}
#alrQuoteDialog h2{margin:0 0 3px;font-family:inherit;font-size:calc(20px * var(--a11y-scale,1));line-height:1.3;font-weight:700;letter-spacing:-.015em;text-transform:none;color:#31436f}
#alrQuoteDialog #alrQuoteIntro{margin:0;font-size:calc(13px * var(--a11y-scale,1));line-height:1.5;color:#62718a}
#alrQuoteDialog .alr-quote-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid #d9e1ec;border-radius:12px;background:#fff;color:#31436f;cursor:pointer;touch-action:manipulation}
#alrQuoteDialog .alr-quote-close svg{display:block;width:23px;height:23px}
#alrQuoteDialog .alr-quote-close:hover{background:#e9eef7}
#alrQuoteDialog .alr-quote-body{position:relative;flex:1 1 auto;min-height:0;min-width:0;background:#fff}
#alrQuoteDialog .alr-quote-frame{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;background:#fff}
#alrQuoteDialog .alr-quote-loading{display:flex;position:absolute;inset:0;z-index:1;align-items:center;justify-content:center;flex-direction:column;gap:16px;background:#fff;color:#62718a;text-align:center;padding:24px;pointer-events:none}
#alrQuoteDialog .alr-quote-loading[hidden]{display:none}
#alrQuoteDialog .alr-quote-loading-icon{display:grid;place-items:center;width:60px;height:60px;background:#31436f;border-radius:20px;color:#fff}
#alrQuoteDialog .alr-quote-loading-icon svg{width:38px;height:38px}
#alrQuoteDialog .alr-quote-footer{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:12px;padding:10px 20px;background:#f7f9fc;border-top:1px solid #e3e8f0;min-height:56px}
#alrQuoteDialog .alr-quote-status{margin:0;min-width:0;font-size:12px;line-height:1.5;color:#62718a}
#alrQuoteDialog .alr-quote-fullpage{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:5px 0;color:#31436f;font-size:13px;line-height:1.5;font-family:inherit;font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
#alrQuoteDialog .alr-quote-fullpage svg{width:16px;height:16px;flex:0 0 16px}
#alrQuoteDialog :is(a,button):focus-visible{outline:3px solid #f4a300;outline-offset:2px}
html[data-a11y-theme] #alrQuoteDialog{background:var(--a11y-bg);color:var(--a11y-fg)}
html[data-a11y-theme] #alrQuoteDialog :is(.alr-quote-header,.alr-quote-footer,.alr-quote-close){background:var(--a11y-bg);color:var(--a11y-fg);border-color:var(--a11y-border)}
html[data-a11y-theme] #alrQuoteDialog :is(h2,#alrQuoteIntro,.alr-quote-status,.alr-quote-fullpage){color:var(--a11y-fg)}
@media(max-width:700px){
  #alrQuoteLaunch,html[dir="rtl"] #alrQuoteLaunch{inset-inline-start:var(--contact-edge,16px);inset-inline-end:auto;bottom:calc(var(--contact-edge,16px) + 66px + env(safe-area-inset-bottom,0px));width:56px;height:56px;min-height:56px;padding:0;justify-content:center;border-radius:50%;gap:0}
  #alrQuoteLaunch .alr-quote-launch-icon{width:50px;height:50px;flex-basis:50px;background:transparent}
  #alrQuoteLaunch .alr-quote-robot{width:35px;height:35px}
  #alrQuoteLaunch .alr-quote-launch-copy,#alrQuoteLaunch .alr-quote-launch-arrow{display:none}
  #alrQuoteDialog{width:calc(100% - 16px);max-width:calc(100% - 16px);height:calc(100vh - 20px);height:calc(var(--alr-quote-vh,100dvh) - 20px);max-height:calc(var(--alr-quote-vh,100dvh) - 20px);border-radius:16px}
  #alrQuoteDialog .alr-quote-header{padding:12px 10px;gap:8px}
  #alrQuoteDialog .alr-quote-header-icon{width:34px;height:38px;flex-basis:34px;border-radius:11px}
  #alrQuoteDialog .alr-quote-header-icon svg{width:29px;height:29px}
  #alrQuoteDialog h2{font-size:calc(16px * var(--a11y-scale,1));line-height:1.35;letter-spacing:0}
  #alrQuoteDialog #alrQuoteIntro{font-size:calc(11px * var(--a11y-scale,1));line-height:1.45}
  #alrQuoteDialog .alr-quote-close{align-self:flex-start;width:44px;height:44px;flex-basis:44px}
  #alrQuoteDialog .alr-quote-footer{padding:6px 12px;gap:5px 12px;flex-wrap:wrap;min-height:56px}
  #alrQuoteDialog .alr-quote-fullpage{min-height:44px;font-size:12px}
  #alrQuoteDialog .alr-quote-status{font-size:11px;flex:1;min-width:90px}
}
@media(max-height:480px){
  #alrQuoteDialog{height:calc(var(--alr-quote-vh,100dvh) - 12px);max-height:calc(var(--alr-quote-vh,100dvh) - 12px)}
  #alrQuoteDialog .alr-quote-header{padding:5px 10px;gap:8px}
  #alrQuoteDialog .alr-quote-header-icon{display:none}
  #alrQuoteDialog #alrQuoteIntro{font-size:11px}
  #alrQuoteDialog h2{font-size:16px;margin-bottom:0}
  #alrQuoteDialog .alr-quote-footer{padding:0 12px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){#alrQuoteLaunch{transition:none}}
@media print{#alrQuoteLaunch,#alrQuoteDialog{display:none!important}}

/* Catalogue routes hide other body children: keep this native modal visible. */
body.catalog-route-open > #alrQuoteDialog[open],
body:has(.catalog-route:target) > #alrQuoteDialog[open]{display:block!important}
html:has(#alrQuoteDialog[open]),body.alr-quote-open{overflow:hidden!important}
