/* Refined four-stage contact-first quote experience matching World Class colors. */
:root{--wco-steps-navy:#0b3152;--wco-steps-blue:#126db4;--wco-steps-green:#12a87a;--wco-steps-muted:#577087}
.wco-step-four{width:100%;min-width:0;margin-top:18px}
.wco-step-four .wco-step-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;list-style:none;margin:0 0 26px!important;padding:0!important;counter-reset:none}
.wco-step-four .wco-step-progress li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0!important;padding:0 2px!important;background:transparent!important;color:var(--wco-steps-muted)!important;font-weight:700;font-size:12px;text-align:center;z-index:0}
.wco-step-four .wco-step-progress li:not(:last-child):after{content:"";position:absolute;top:19px;left:calc(50% + 25px);width:calc(100% - 50px);height:5px;background:#dce5eb;border-radius:9px;z-index:-1}
.wco-step-four .wco-step-progress li.is-complete:after{background:linear-gradient(90deg,var(--wco-steps-green),var(--wco-steps-blue))}
.wco-step-four .wco-step-number{display:grid;place-items:center;width:42px;height:42px;border:2px solid #c8d6df;border-radius:9px;background:#edf4f7;color:#47617a;font-size:18px;line-height:1}
.wco-step-four .wco-step-progress li.is-current .wco-step-number{border-color:var(--wco-steps-blue);background:linear-gradient(135deg,var(--wco-steps-green),var(--wco-steps-blue));color:#fff;box-shadow:0 5px 14px #126db42e}
.wco-step-four .wco-step-progress li.is-complete .wco-step-number{border-color:var(--wco-steps-green);background:#e5f8f1;color:#087c60}
.wco-step-four .wco-step-panel h4{margin:0 0 18px!important;font-size:17px;line-height:1.4;text-align:center;color:var(--wco-steps-navy)!important}
.wco-step-four .wco-step-panel[hidden]{display:none!important}
.wco-step-four .fields,.wco-step-four .wco-footer-fields{display:grid!important;grid-template-columns:1fr!important;gap:13px!important;width:100%}
.wco-step-four .fields>*,.wco-step-four .wco-footer-fields>*{grid-column:1/-1!important;width:100%;margin:0!important}
.wco-step-four label:not(.wco-footer-consent){display:block;font-size:13px;font-weight:700;color:var(--wco-steps-navy);margin-bottom:7px}
.wco-step-four input:not([type=checkbox]):not([type=hidden]),.wco-step-four select,.wco-step-four textarea{box-sizing:border-box;width:100%!important;min-height:55px!important;padding:13px 16px!important;background:#eff5f8!important;border:1px solid #d0dfe7!important;border-radius:9px!important;color:#193c58!important;font-size:16px!important;box-shadow:none!important}
.wco-step-four input:focus-visible,.wco-step-four select:focus-visible,.wco-step-four textarea:focus-visible{outline:3px solid #15a98255!important;outline-offset:1px}
.wco-step-four .wco-step-actions{display:flex;gap:10px;margin-top:18px}
.wco-step-four .wco-step-next,.wco-step-four .wco-step-actions button[type=submit]{flex:1;min-height:57px;max-width:none!important;margin:0!important;border:0!important;border-radius:9px!important;padding:13px 18px!important;background:linear-gradient(110deg,var(--wco-steps-green),var(--wco-steps-blue))!important;color:#fff!important;font-size:16px!important;font-weight:800!important;letter-spacing:.02em;text-align:center;cursor:pointer}
.wco-step-four .wco-step-back{min-height:57px;border:1px solid #cddde6;border-radius:9px;padding:12px 18px;background:#edf4f8;color:#21445e;font-weight:700;cursor:pointer}
.wco-step-four .wco-step-summary{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px;padding:17px;background:#f1f7fa;border:1px solid #deebf1;border-radius:11px}
.wco-step-four .wco-step-estimate-note{text-align:center;color:var(--wco-steps-muted);font-size:13px;line-height:1.5;margin:12px 0}
.wco-step-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Dedicated quote page is an elegant dialog-like surface, not a forced popup. */
body .wco-step-quote-page{background:linear-gradient(125deg,#e6f5f1 0%,#eef6fc 62%,#f8fbfd 100%);min-height:75vh}
body .wco-step-quote-page .wco-step-page-wrap{max-width:760px;padding:34px 16px 75px}
body .wco-step-quote-page .wco-step-breadcrumb{margin-bottom:18px}
body .wco-step-quote-page .wco-step-page-heading{max-width:650px;text-align:center;margin:0 auto 23px}
body .wco-step-quote-page .wco-step-page-heading h1{font-size:clamp(28px,4vw,39px);color:var(--wco-steps-navy);margin:8px 0 10px}
body .wco-step-quote-page .wco-step-page-heading p{font-size:15px;line-height:1.55}
body .wco-step-quote-page .wco-step-page-layout{display:block}
body .wco-step-quote-page .wco-step-primary{max-width:610px;margin:0 auto}
body .wco-step-quote-page .wco-footer-quote-card{max-width:none!important;margin:0!important;padding:clamp(20px,4vw,32px)!important;background:#fff!important;border:1px solid #dbe9ec!important;border-radius:18px!important;box-shadow:0 22px 55px #083c5620!important}
body .wco-step-quote-page .wco-footer-form-heading{text-align:center}
body .wco-step-quote-page .wco-footer-form-heading h3{color:var(--wco-steps-navy)!important;font-size:21px!important}
body .wco-step-quote-page .wco-footer-form-heading p{font-size:14px!important}
body .wco-step-quote-page .wco-step-side{display:none}
body .wco-step-quote-page .wco-footer-privacy{border-top:1px solid #dce6ea;padding-top:16px!important;text-align:center}
@media(max-width:520px){.wco-step-four .wco-step-number{width:36px;height:36px;font-size:15px}.wco-step-four .wco-step-progress li:not(:last-child):after{top:16px;left:calc(50% + 20px);width:calc(100% - 40px);height:4px}.wco-step-four .wco-step-label{font-size:11px}.wco-step-four .wco-step-back{padding:10px 13px}.wco-step-four .wco-step-summary{grid-template-columns:1fr 1fr}.wco-step-quote-page .wco-step-page-wrap{padding-inline:12px!important}}

/* 2026 compact quote wizard: retain the original inputs and native submit handler. */
.wco-step-four{margin-top:10px}
.wco-step-four .wco-step-progress{margin-bottom:14px!important}
.wco-step-four .wco-step-progress li{gap:5px;font-size:11px}
.wco-step-four .wco-step-progress li:not(:last-child):after{top:15px;left:calc(50% + 20px);width:calc(100% - 40px);height:3px}
.wco-step-four .wco-step-number{width:33px;height:33px;border-radius:8px;font-size:14px}
.wco-step-four .wco-step-panel h4{font-size:15px;margin:0 0 11px!important;line-height:1.3}
.wco-step-four .fields,.wco-step-four .wco-footer-fields{gap:9px!important}
.wco-step-four label:not(.wco-footer-consent){font-size:12px;line-height:1.3;margin-bottom:4px}
.wco-step-four input:not([type=checkbox]):not([type=hidden]),.wco-step-four select,.wco-step-four textarea{min-height:43px!important;padding:9px 12px!important;font-size:15px!important;border-radius:7px!important}
.wco-step-four textarea{min-height:68px!important}
.wco-step-four .wco-step-actions{margin-top:12px;gap:8px}
.wco-step-four .wco-step-next,.wco-step-four .wco-step-actions button[type=submit],.wco-step-four .wco-step-back{min-height:44px;padding:9px 13px!important;font-size:14px!important;border-radius:7px!important}
.wco-step-four .wco-step-back{flex:0 0 auto}
.wco-step-four .wco-step-summary{padding:11px;gap:7px;margin:8px 0 12px;font-size:12px}
.wco-step-four .wco-step-estimate-note{font-size:12px;margin:8px 0}
body .wco-step-quote-page .wco-step-page-wrap{max-width:680px;padding:22px 12px 48px}
body .wco-step-quote-page .wco-step-breadcrumb{margin-bottom:10px}
body .wco-step-quote-page .wco-step-page-heading{margin-bottom:14px}
body .wco-step-quote-page .wco-step-page-heading h1{font-size:clamp(24px,3.4vw,32px);line-height:1.18;margin:5px 0 6px}
body .wco-step-quote-page .wco-step-page-heading p{font-size:13px;line-height:1.45;margin:5px 0}
body .wco-step-quote-page .wco-step-primary{max-width:480px}
body .wco-step-quote-page .wco-footer-quote-card{padding:20px 22px!important;border-radius:14px!important;box-shadow:0 12px 32px #083c561a!important}
body .wco-step-quote-page .wco-footer-form-heading h3{font-size:18px!important;margin-bottom:4px!important}
body .wco-step-quote-page .wco-footer-form-heading p{font-size:12px!important;line-height:1.4;margin-bottom:8px!important}
body .wco-step-quote-page .wco-footer-privacy{padding-top:10px!important;margin-top:12px!important;font-size:11px!important}
@media(max-width:520px){
 .wco-step-four .wco-step-progress li:not(:last-child):after{top:14px;left:calc(50% + 19px);width:calc(100% - 38px);height:3px}
 .wco-step-four .wco-step-number{width:31px;height:31px;font-size:13px}
 .wco-step-four .wco-step-label{font-size:10px;white-space:nowrap}
 body .wco-step-quote-page .wco-step-page-wrap{padding:15px 10px 36px!important}
 body .wco-step-quote-page .wco-footer-quote-card{padding:15px 14px!important;border-radius:12px!important}
 body .wco-step-quote-page .wco-step-page-heading h1{font-size:24px}
 .wco-step-four .wco-step-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* 2026-11-21: narrower quote form cards (width only; preserve steps and fields). */
body .wco-footer-quote-card:has(.wco-step-four){box-sizing:border-box;width:100%!important;max-width:400px!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important}
body.wco-layout-index .wco-footer-quote-card:has(.wco-step-four){justify-self:center!important}
body .wco-step-quote-page .wco-step-primary{width:100%;max-width:400px!important;margin-left:auto;margin-right:auto}
body .wco-step-quote-page .wco-step-page-wrap{max-width:600px}
@media(max-width:440px){body .wco-footer-quote-card:has(.wco-step-four){max-width:100%!important}body .wco-step-quote-page .wco-step-primary{max-width:100%!important}}
