#sdbt-quote-popup{box-sizing:border-box;width: min(860px,calc(100% - 40px));max-width:none;max-height:90vh;max-height:90dvh;padding:0;border:0;border-radius:12px;background:#fff;color:#252525;box-shadow:0 16px 70px #0005;overflow:auto;overscroll-behavior:contain;}
#sdbt-quote-popup::backdrop{background:rgba(0,0,0,.65);}
#sdbt-quote-popup .sdbt-popup-head{position:sticky;top:0;z-index:5;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 28px;border-bottom:1px solid #e6e6e6;}
#sdbt-quote-popup h2{font-size:24px;line-height:1.25;margin:0;}
#sdbt-quote-popup .sdbt-popup-close{flex:0 0 44px;width:44px;height:44px;border:1px solid #ccc;border-radius:6px;background:#fff;color:#252525;font:30px/1 Arial;cursor:pointer;}
#sdbt-quote-popup .sdbt-popup-body{padding:24px 28px;}
#sdbt-quote-popup .fusion-form-form-wrapper{width:100%;}
#sdbt-quote-popup :focus-visible{outline:2px solid #333;outline-offset:3px;}
@media(max-width:600px){#sdbt-quote-popup{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:8px;}#sdbt-quote-popup .sdbt-popup-head{padding:12px 16px;}#sdbt-quote-popup h2{font-size:20px;}#sdbt-quote-popup .sdbt-popup-body{padding:20px 16px;}#sdbt-quote-popup input,#sdbt-quote-popup select,#sdbt-quote-popup textarea{font-size:16px;}}

/* Popup field colors */
#sdbt-quote-popup .fusion-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),#sdbt-quote-popup .fusion-form select,#sdbt-quote-popup .fusion-form textarea{background-color:#f7f7f7!important;border-color:#888!important;color:#252525!important;}
#sdbt-quote-popup .fusion-form input:focus,#sdbt-quote-popup .fusion-form select:focus,#sdbt-quote-popup .fusion-form textarea:focus{border-color:#252525!important;background-color:#fff!important;}
#sdbt-quote-popup .fusion-form input::placeholder,#sdbt-quote-popup .fusion-form textarea::placeholder{color:#6b6b6b!important;opacity:1;}
#sdbt-quote-popup .fusion-form .error input,#sdbt-quote-popup .fusion-form .error select,#sdbt-quote-popup .fusion-form .error textarea{border-color:#b42318!important;}

/* Keep the close control outside the scrolling form. */
#sdbt-quote-popup{overflow:hidden;}
#sdbt-quote-popup[open]{display:flex;flex-direction:column;}
#sdbt-quote-popup .sdbt-popup-head{position:relative;top:auto;flex-shrink:0;z-index:2;}
#sdbt-quote-popup .sdbt-popup-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;position:relative;isolation:isolate;}
#sdbt-quote-popup .sdbt-popup-close{position:relative;z-index:1;pointer-events:auto;}

/* SDBT sitewide mobile/tablet contact bar */
#sdbt-mobile-actions{display:none;}
@media(max-width:1024px){
body:has(#sdbt-mobile-actions){padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));}
#sdbt-mobile-actions{display:grid;grid-template-columns:2fr 1fr 1fr;gap:6px;position:fixed;z-index:9998;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:620px;box-sizing:border-box;padding:8px 10px calc(2px + env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -3px 16px #0002;border-top:1px solid #ddd;}
#sdbt-mobile-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 8px;border:1px solid #000;border-radius:7px;background:#252525;color:#fff;font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;}
#sdbt-mobile-actions a:focus-visible{outline:2px solid #252525;outline-offset:2px;}
body:has(#sdbt-quote-popup[open]) #sdbt-mobile-actions{display:none;}
body:has(#sdbt-mobile-actions) #awb-oc-5015{display:none!important;}
body:has(#sdbt-mobile-actions) main div:has(>a.fusion-button[href$="#quote"]){display:none!important;}
body:has(#sdbt-mobile-actions) #toTop{bottom:calc(84px + env(safe-area-inset-bottom,0px));}
}
