.gsr-form{box-sizing:border-box}
.gsr-form *{box-sizing:border-box}
.gsr-form .gsr-sale{display:none!important}
.gsr-form .gsr-next,.gsr-form .gsr-back{display:none}
.gsr-form.gsr-enhanced .gsr-next,.gsr-form.gsr-enhanced .gsr-back{display:flex}
.gsr-form.gsr-enhanced .gsr-hidden{display:none!important}
.gsr-form.gsr-sale-mode .gsr-sale{display:flex!important}
.gsr-form .gsr-chip:has(input:checked){background:#ffcd00;color:#002042;border-color:#ffcd00}
.gsr-form .gsr-chip:focus-within{outline:2px solid #ffcd00;outline-offset:3px}
.gsr-form .gsr-chip input{clip-path:none!important;appearance:auto!important}
.gsr-form .gsr-chip label{pointer-events:none}
.gsr-form .gsr-progress-item.gsr-current>p:first-child,.gsr-form .gsr-progress-item.gsr-done>p:first-child{background:#ffcd00;color:#002042}
.gsr-form input[type=checkbox]{appearance:auto!important;clip-path:none!important;accent-color:#ffcd00;position:static!important}
.gsr-form input[type=date]{color-scheme:dark;min-width:0}
.gsr-form input::placeholder,.gsr-form textarea::placeholder{color:rgba(255,255,255,.5)}
.gsr-form input,.gsr-form textarea{font-size:16px}
.gsr-form .gsr-field-error{outline:2px solid #ffcd00;outline-offset:2px}
.gsr-dialog{border:0;background:transparent;padding:20px;width:min(760px,100%);max-width:100vw;max-height:94dvh;color:#fff;overflow:auto}
.gsr-dialog::backdrop{background:rgba(0,10,25,.78);backdrop-filter:blur(8px)}
.gsr-dialog .gsr-form{margin:0;width:100%}
.gsr-dialog-close{position:sticky;top:0;margin-left:auto;margin-bottom:10px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:#002042;color:#fff;font:28px/1 sans-serif;cursor:pointer;z-index:2}
.gsr-modal-open{overflow:hidden}
@media(hover:hover) and (pointer:fine){.gsr-dialog-close:hover{transform:scale(1.06)}}
@media(max-width:600px){.gsr-dialog{padding:10px;max-height:96dvh}.gsr-form .gsr-step-buttons>p{flex-basis:100%;order:3}.gsr-form .gsr-step-buttons>button{flex:1}}
@media(prefers-reduced-motion:reduce){.gsr-form *,.gsr-dialog-close{transition:none!important;scroll-behavior:auto!important}}

.gsr-dialog .gsr-dialog-close{margin:0 0 10px auto!important;background:#002042!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;padding:0!important;filter:none!important}

.gsr-dialog .gsr-dialog-close{display:flex!important;width:44px!important;min-width:44px!important;height:44px!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;font:28px/1 sans-serif!important;cursor:pointer!important}

.gsr-form .gsr-chip label{overflow-wrap:anywhere;min-width:0;width:100%}
@media(max-width:640px){.gsr-form .gsr-progress-item>p:last-child{display:none}.gsr-form .gsr-chip{padding:10px 12px!important}.gsr-form .gsr-chip label{font-size:13px!important}}
.gsr-filter-count{font-size:11px;line-height:1;padding:3px 6px;border-radius:20px;background:rgba(255,255,255,.13);color:inherit}
[data-id="4eb5fd3e"] [role=tab]{display:flex;flex-direction:row;align-items:center;gap:8px;transition:transform .2s}
[data-id="4eb5fd3e"] [role=tab]:hover{transform:scale(1.025)}
@media(max-width:480px){[data-id="4eb5fd3e"]{gap:2px!important;width:100%!important}[data-id="4eb5fd3e"] [role=tab]{gap:4px!important;padding:12px 8px!important;font-size:13px!important}}

.gsr-vehicle-thumbnails{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:0!important}
.gsr-vehicle-thumbnails a{display:block;min-width:0;border-radius:12px;outline-offset:3px}
.gsr-vehicle-thumbnails img{display:block;width:100%;height:80px;object-fit:cover;border-radius:12px;transition:transform .2s}
.gsr-vehicle-thumbnails a:hover img{transform:scale(1.025)}
.gsr-vehicle-thumbnails a[aria-current=true]{outline:2px solid #FFCD00}
@media(max-width:640px){.gsr-vehicle-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr))!important}.gsr-vehicle-thumbnails img{height:66px}}

/* Keep the editor toolbar clear of the site header. */
body.admin-bar [data-id="16704aa1"]{inset-block-start:48px!important}
@media(max-width:782px){body.admin-bar [data-id="16704aa1"]{inset-block-start:62px!important}}

/* Contact band occurs only on these reference pages and vehicle details. */
body:not(:is(.page-id-87,.page-id-89,.page-id-1714,.page-id-91,.single-post)) [data-id="58ab2da3"]{display:none!important}


/* Keep the variable step count and dialog usable on narrow screens. */
.gsr-form .gsr-field,.gsr-form .gsr-step{min-width:0;max-width:100%}
.gsr-form input:not([type=radio]):not([type=checkbox]),.gsr-form textarea,.gsr-form select{min-width:0;max-width:100%;box-sizing:border-box}
.gsr-form .gsr-next,.gsr-form .gsr-back,.gsr-form .gsr-submit{min-height:44px;white-space:normal}
.gsr-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 20px));max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overscroll-behavior:contain}
[data-id="a2290fea"],[data-id="c1a551c0"]{width:100%;min-width:0}
[data-id="410649df"] a,[data-id="20a6d68d"] a{min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){
 .gsr-form .gsr-progress{display:grid!important;grid-template-columns:repeat(var(--gsr-step-count,4),minmax(0,1fr));gap:6px!important}
 .gsr-form .gsr-progress-item{min-width:0;flex-direction:column!important;align-items:center!important;gap:5px!important}
 .gsr-form .gsr-progress-item>p:last-child{display:block;font-size:11px!important;line-height:1.3;text-align:center;overflow-wrap:anywhere}
 .gsr-form .gsr-chip{min-height:44px}
 .gsr-form .gsr-field input:not([type=checkbox]):not([type=radio]){min-height:44px}
}
@media(max-width:380px){.gsr-form{padding:16px!important}.gsr-dialog{padding:8px}.gsr-form .gsr-step-buttons{gap:8px!important}}

/* Live responsive audit: long titles, legal links and Carbon body text. */
.page-id-87 main h3{min-width:0;overflow-wrap:anywhere}
.page-id-3 main a,.page-id-709 main a{overflow-wrap:anywhere;word-break:normal}
.page-id-1967 [data-id="59d885d0"]{font-family:"Open Sans",sans-serif!important;font-size:clamp(30px,4vw,52px)!important;font-weight:800!important;line-height:1.15!important;color:#fff!important;margin-bottom:24px}
.page-id-1967 [data-id="54dbb29f"]{font-family:"Open Sans",sans-serif!important;font-size:clamp(23px,3vw,32px)!important;font-weight:700!important;line-height:1.3!important;margin-bottom:20px}
.page-id-1967 [data-id="40aa8eb4"]{font-family:"Open Sans",sans-serif!important;font-size:18px!important;font-weight:400!important;line-height:1.65!important;color:rgba(255,255,255,.8)!important;margin-bottom:28px}

/* Keep the form heading below the sticky site header after step changes. */
.gsr-form{scroll-margin-top:145px}
.gsr-dialog .gsr-form{scroll-margin-top:16px}

/* Size controls to the form itself, including narrow desktop columns. */
.gsr-form{container-type:inline-size;min-width:0;max-width:100%}
.gsr-form .gsr-service{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;gap:8px!important}
.gsr-form .gsr-chip{min-width:0;max-width:100%;min-height:48px;white-space:normal}
.gsr-form .gsr-chip label{word-break:normal;overflow-wrap:normal!important;hyphens:auto;line-height:1.4!important}
.gsr-form .gsr-step>div:has(>.gsr-field):not(.gsr-sale){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;gap:16px!important}
.gsr-form .gsr-step>div:has(>.gsr-chip):not(.gsr-service),.gsr-form .gsr-sale>div:has(>.gsr-chip){display:flex!important;flex-wrap:wrap!important;gap:8px!important}
.gsr-form .gsr-field:has(>input[type=checkbox]){display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important}
.gsr-form input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin-top:3px}
.gsr-form .gsr-step-buttons{display:flex!important;flex-wrap:wrap!important;gap:12px!important}
.gsr-form .gsr-step-buttons>p{flex-basis:100%!important;order:3;text-align:center}
.gsr-form .gsr-step-buttons>button{flex:1 1 120px!important;min-width:0!important;min-height:48px!important;padding:14px 12px!important}
.gsr-form .gsr-step>p:first-child{scroll-margin-top:150px}
.gsr-dialog .gsr-step>p:first-child{scroll-margin-top:70px}
@container (max-width:500px){
 .gsr-progress{display:grid!important;grid-template-columns:repeat(var(--gsr-step-count,4),minmax(0,1fr))!important;gap:6px!important}
 .gsr-progress-item{min-width:0;flex-direction:column!important;align-items:center!important;gap:5px!important}
 .gsr-progress-item>p:last-child{display:block!important;font-size:11px!important;line-height:1.3!important;text-align:center}
 .gsr-chip label{font-size:14px!important}
}
@media(max-width:767px){
 .gsr-form{padding:20px!important;border-radius:20px!important}
 .gsr-form input:not([type=radio]):not([type=checkbox]),.gsr-form textarea,.gsr-form select{width:100%!important;font-size:16px!important}
 body.gsr-form-visible [data-id="76a26373"]{display:none!important}
 .gsr-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;margin:auto!important;padding:0!important;padding-bottom:env(safe-area-inset-bottom)!important}
 .gsr-dialog-close{top:0!important}
}
@media(max-width:360px){.gsr-form{padding:16px!important}}

/* Service choices retain the full existing clickable chip surface. */
.gsr-form .gsr-service .gsr-chip input[type=checkbox]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;opacity:0!important;cursor:pointer}
.gsr-whatsapp-note{display:block;font:400 12px/1.5 'Open Sans',sans-serif;color:rgba(255,255,255,.7);letter-spacing:normal;text-transform:none;margin:6px 0 0;max-width:100%}

.gsr-whatsapp-wrap{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:0}
.gsr-whatsapp-wrap .gsr-whatsapp-note{max-width:260px}
.page-id-91 :is([data-id="9c6d510"],[data-id="4bb22a8"],[data-id="106eb42"],[data-id="d7171ca"],[data-id="c624f3e"]){height:200px!important;min-height:200px!important;max-height:200px!important;background-size:cover!important;background-repeat:no-repeat!important;background-position:50% 25%!important}
.page-id-91 [data-id="9c6d510"]{background-position:50% 35%!important}
.page-id-91 [data-id="c624f3e"]{background-position:50% 45%!important}
@media(max-width:767px){.page-id-91 :is([data-id="106eb42"],[data-id="d7171ca"],[data-id="4bb22a8"]){background-position:50% 0%!important}}

/* Keep WhatsApp hints from expanding Elementor's flex rows. */
.elementor .gsr-whatsapp-wrap{display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex:0 1 auto!important;width:fit-content!important;max-width:100%!important;min-width:0!important;padding:0!important;gap:6px!important}
.elementor .gsr-whatsapp-wrap .gsr-whatsapp-note{font-size:12px!important;line-height:1.5!important;margin:0!important}
.elementor [data-id="5db962d"]{align-items:flex-start!important}
.elementor [data-id="5a01fa26"]{max-width:190px!important}
.elementor [data-id="32398a2"]{width:auto!important;max-width:100%!important;flex:0 0 auto!important}

/* Keep service choices independent of the selected-services summary length. */
.elementor .gsr-form .gsr-step,
.elementor .gsr-form .gsr-service{width:100%!important;min-width:0!important;max-width:100%!important;align-self:stretch!important}
.elementor .gsr-form .gsr-details{min-width:0;max-width:100%;overflow-wrap:anywhere}
/* A growing summary or sale fields must not recenter the open dialog. */
dialog.gsr-dialog[open]{inset-block-start:10px!important;inset-block-end:auto!important;margin-block-start:0!important;margin-block-end:0!important}
@media(max-width:767px){dialog.gsr-dialog[open]{inset-block-start:8px!important;margin-block-start:0!important;margin-block-end:0!important}}

/* After a confirmed submission, keep the confirmation in view instead of resetting the visible wizard. */
.gsr-form.form-state-success .gsr-step,.gsr-form.form-state-success .gsr-progress,.gsr-form.form-state-success .gsr-step-buttons{display:none!important}
.gsr-form.form-state-success [data-e-type="e-form-success-message"]{display:block;scroll-margin-top:140px}
