.erbb-lead-form-wrap {
  --erbb-form-accent: #b5121b;
  --erbb-form-bg: #ffffff;
  --erbb-form-section-bg: #faf9f6;
  --erbb-form-border: #ded9d1;
  --erbb-form-text: #171717;
  --erbb-form-muted: #667085;
  --erbb-form-radius: 14px;
  --erbb-form-max: 900px;
  container: erbb-lead-form / inline-size;
  width: min(100%, var(--erbb-form-max));
  min-width: 0;
  margin: 0 auto;
  padding: clamp(14px, 4cqi, 40px);
  border: 1px solid var(--erbb-form-border);
  border-radius: var(--erbb-form-radius);
  color: var(--erbb-form-text);
  background: var(--erbb-form-bg);
  box-shadow: 0 10px 34px rgba(17, 17, 17, 0.08);
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.erbb-lead-form-wrap.erbb-form-width-full { width: 100%; max-width: none; margin-inline: 0; }
.erbb-lead-form-wrap.erbb-form-width-custom { width: min(100%, var(--erbb-form-max)); }
.erbb-lead-form-wrap *,
.erbb-lead-form-wrap *::before,
.erbb-lead-form-wrap *::after { box-sizing: border-box; }
.erbb-form-header { max-width: 700px; margin: 0 auto clamp(22px, 4cqi, 34px); text-align: center; }
.erbb-trade-appraisal-wrap .erbb-form-header { max-width: none; margin: 0 0 clamp(24px, 4cqi, 38px); padding-bottom: clamp(18px, 3cqi, 26px); border-bottom: 1px solid #d8d2c9; text-align: left; }
.erbb-form-badge { display: inline-flex; align-items: center; min-height: 28px; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; color: #ffffff; background: var(--erbb-form-accent); font-size: 11px; font-weight: 800; letter-spacing: 0.07em; line-height: 1.2; text-transform: uppercase; }
.erbb-form-badge-dark { background: #171717; }
.erbb-form-header h2 { margin: 0 0 9px; color: var(--erbb-form-text); font-size: clamp(24px, 4cqi, 34px); font-weight: 850; line-height: 1.14; }
.erbb-form-header p { margin: 0; color: var(--erbb-form-muted); font-size: 14px; line-height: 1.6; }
.erbb-multi-section-form { display: grid; gap: 20px; min-width: 0; max-width: 100%; margin: 0; }
.erbb-form-section { min-width: 0; max-width: 100%; margin: 0; padding: clamp(17px, 3cqi, 26px); border: 1px solid #e8e3dc; border-radius: calc(var(--erbb-form-radius) * 0.72); background: var(--erbb-form-section-bg); box-shadow: inset 4px 0 0 color-mix(in srgb, var(--erbb-form-accent) 80%, transparent); }
.erbb-trade-appraisal-wrap .erbb-form-section { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.erbb-section-heading { margin: 0 0 18px; padding: 0 0 11px; border-bottom: 1px solid #e3ded7; color: var(--erbb-form-text); font-size: 14px; font-weight: 850; letter-spacing: 0.045em; line-height: 1.3; text-transform: uppercase; }
.erbb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.erbb-form-desktop-vertical .erbb-form-grid { grid-template-columns: 1fr; }
.erbb-form-desktop-vertical .erbb-field-full { grid-column: auto; }
.erbb-trade-appraisal-wrap.erbb-form-desktop-horizontal .erbb-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.erbb-field-item { min-width: 0; }
.erbb-field-full { grid-column: 1 / -1; }
.erbb-field-item label { display: block; margin: 0 0 6px; color: #344054; font-size: 12px; font-weight: 750; line-height: 1.35; }
.erbb-field-item input:not([type="file"]),
.erbb-field-item select,
.erbb-field-item textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #cfc9c0;
  border-radius: 7px;
  color: var(--erbb-form-text);
  background: #fffefa;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  outline: 0;
}
.erbb-field-item textarea { min-height: 112px; resize: vertical; }
.erbb-field-item input:focus,
.erbb-field-item select:focus,
.erbb-field-item textarea:focus { border-color: var(--erbb-form-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--erbb-form-accent) 16%, transparent); }
.erbb-field-item input:user-invalid,
.erbb-field-item select:user-invalid,
.erbb-form-consent input:user-invalid { border-color: #d92d20; }
.erbb-field-item small { display: block; margin-top: 7px; color: var(--erbb-form-muted); font-size: 11px; line-height: 1.5; }
.erbb-optional-label { margin-left: 5px; color: var(--erbb-form-muted); font-size: 0.9em; font-weight: 600; }
.erbb-upload-field { position: relative; }
.erbb-file-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.erbb-upload-dropzone { display: flex !important; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 158px; margin: 0 !important; padding: clamp(18px, 4cqi, 30px); border: 2px dashed #b8b1a7; border-radius: 11px; color: #475467 !important; background: #fffefa; text-align: center; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.erbb-upload-dropzone:hover,
.erbb-upload-dropzone:focus-visible,
.erbb-upload-dropzone.is-dragging { border-color: var(--erbb-form-accent); color: var(--erbb-form-text) !important; background: color-mix(in srgb, var(--erbb-form-accent) 5%, #ffffff); outline: 0; transform: translateY(-1px); }
.erbb-upload-dropzone.has-files { border-style: solid; border-color: color-mix(in srgb, var(--erbb-form-accent) 50%, #b8b1a7); }
.erbb-upload-dropzone strong { margin: 8px 0 4px; color: var(--erbb-form-text); font-size: 14px; font-weight: 850; line-height: 1.3; }
.erbb-upload-dropzone > span:last-child { color: var(--erbb-form-muted); font-size: 12px; font-weight: 600; }
.erbb-upload-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: #ffffff; background: var(--erbb-form-accent); font-size: 22px; font-weight: 850; line-height: 1; }
.erbb-file-input:focus + .erbb-upload-dropzone { border-color: var(--erbb-form-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--erbb-form-accent) 16%, transparent); }
.erbb-upload-list { display: grid; gap: 7px; margin: 10px 0 0 !important; padding: 0 !important; list-style: none !important; }
.erbb-upload-list:empty { display: none; }
.erbb-upload-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; margin: 0 !important; padding: 8px 10px; border: 1px solid #e2ddd5; border-radius: 7px; background: #ffffff; font-size: 11px; line-height: 1.35; }
.erbb-upload-file-name { min-width: 0; overflow: hidden; color: #344054; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.erbb-upload-file-size { flex: 0 0 auto; color: var(--erbb-form-muted); }
.erbb-conditional-field[hidden] { display: none !important; }
.erbb-conditional-field.is-visible { animation: erbb-form-reveal 180ms ease-out; }
@keyframes erbb-form-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.erbb-appraisal-route-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; min-width: 0; }
.erbb-appraisal-route-options label { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 58px; margin: 0; border: 1px solid #cfc9c0; border-radius: 9px; padding: 12px 14px; color: var(--erbb-form-text); background: #fffefa; font-size: 13px; font-weight: 850; line-height: 1.25; text-align: center; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.erbb-appraisal-route-options label:has(input:checked) { border-color: #171717; color: #fff; background: #171717; }
.erbb-appraisal-route-options input { flex: 0 0 auto; width: 19px; height: 19px; margin: 0; accent-color: var(--erbb-form-accent); }
.erbb-appraisal-route-options span { min-width: 0; overflow-wrap: anywhere; }
.erbb-trade-stock-picker { position: relative; z-index: 6; min-width: 0; max-width: 100%; border: 1px solid #ded9d1; border-radius: 11px; padding: clamp(14px, 3cqi, 20px); background: var(--erbb-form-section-bg); }
.erbb-trade-stock-picker > label { display: block; margin: 0 0 5px; color: #344054; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.erbb-trade-stock-picker > p { margin: 0 0 12px; color: var(--erbb-form-muted); font-size: 12px; line-height: 1.5; }
.erbb-trade-vehicle-search { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; width: 100%; min-width: 0; min-height: 50px; overflow: hidden; border: 1px solid #cfc9c0; border-radius: 8px; background: #fff; }
.erbb-trade-vehicle-search:focus-within { border-color: var(--erbb-form-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--erbb-form-accent) 15%, transparent); }
.erbb-trade-vehicle-search > span { display: grid; place-items: center; color: var(--erbb-form-muted); font-size: 22px; }
.erbb-trade-vehicle-search input { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; border: 0 !important; outline: 0 !important; padding: 9px 8px; color: var(--erbb-form-text); background: transparent !important; box-shadow: none !important; font: inherit; }
.erbb-trade-vehicle-search button { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border: 0; border-radius: 7px; color: var(--erbb-form-muted); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.erbb-trade-vehicle-search button:hover { color: #fff; background: var(--erbb-form-accent); }
.erbb-trade-vehicle-status { min-height: 18px; margin: 7px 2px 0; color: var(--erbb-form-muted); font-size: 11px; line-height: 1.4; }
.erbb-trade-vehicle-status.is-error { color: #b42318; }
.erbb-trade-vehicle-results { width: 100%; min-width: 0; max-width: 100%; max-height: min(340px, 55vh); margin-top: 7px; overflow-x: hidden; overflow-y: auto; border: 1px solid #ded9d1; border-radius: 9px; padding: 6px; background: #fff; box-shadow: 0 12px 28px rgba(17,17,17,.12); }
.erbb-trade-vehicle-results[hidden] { display: none !important; }
.erbb-trade-appraisal-wrap .erbb-trade-vehicle-option { display: flex !important; flex-flow: row nowrap !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important; float: none !important; width: 100% !important; min-width: 0 !important; max-width: none !important; min-height: 68px; margin: 0 !important; border: 0; border-radius: 7px; padding: 8px !important; color: var(--erbb-form-text) !important; background: #fff !important; text-align: left !important; white-space: normal !important; writing-mode: horizontal-tb !important; cursor: pointer; }
.erbb-trade-appraisal-wrap .erbb-trade-vehicle-option + .erbb-trade-vehicle-option { border-top: 1px solid #eee9e2; border-radius: 0; }
.erbb-trade-appraisal-wrap .erbb-trade-vehicle-option:hover,
.erbb-trade-appraisal-wrap .erbb-trade-vehicle-option:focus-visible { background: color-mix(in srgb, var(--erbb-form-accent) 7%, #fff) !important; outline: 2px solid var(--erbb-form-accent); outline-offset: -2px; }
.erbb-trade-appraisal-wrap .erbb-trade-vehicle-option img { display: block !important; flex: 0 0 68px !important; width: 68px !important; min-width: 68px !important; max-width: 68px !important; height: 52px !important; margin: 0 !important; border-radius: 7px; object-fit: cover; }
.erbb-trade-vehicle-option-copy { display: block !important; flex: 1 1 0 !important; min-width: 0 !important; white-space: normal !important; writing-mode: horizontal-tb !important; }
.erbb-trade-vehicle-option-copy strong,
.erbb-trade-vehicle-option-copy small { display: block !important; width: 100% !important; min-width: 0 !important; overflow-wrap: anywhere; white-space: normal !important; writing-mode: horizontal-tb !important; }
.erbb-trade-vehicle-option-copy strong { color: var(--erbb-form-text); font-size: 13px; }
.erbb-trade-vehicle-option-copy small { margin-top: 3px; color: var(--erbb-form-muted); font-size: 11px; }
.erbb-trade-vehicle-empty { margin: 0; padding: 18px; color: var(--erbb-form-muted); font-size: 12px; text-align: center; }
.erbb-trade-selected-vehicle { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; margin-top: 10px; border: 1px solid color-mix(in srgb, #079455 40%, #ded9d1); border-radius: 9px; padding: 10px; background: color-mix(in srgb, #079455 5%, #fff); }
.erbb-trade-selected-vehicle[hidden] { display: none !important; }
.erbb-trade-selected-vehicle img { width: 72px; height: 56px; border-radius: 7px; object-fit: cover; }
.erbb-trade-selected-vehicle > div { min-width: 0; }
.erbb-trade-selected-vehicle span,
.erbb-trade-selected-vehicle strong,
.erbb-trade-selected-vehicle small { display: block; overflow-wrap: anywhere; }
.erbb-trade-selected-vehicle span { color: #067647; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.erbb-trade-selected-vehicle strong { margin-top: 2px; font-size: 14px; }
.erbb-trade-selected-vehicle small { margin-top: 3px; color: var(--erbb-form-muted); font-size: 11px; }
.erbb-trade-selected-vehicle button { min-height: 38px; border: 1px solid #171717; border-radius: 7px; padding: 8px 12px; color: #171717; background: #fff; font-size: 11px; font-weight: 850; cursor: pointer; }
.erbb-docs-notice { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #f3cf74; border-radius: 8px; color: #7a2e0e; background: #fffaeb; font-size: 12px; line-height: 1.5; }
.erbb-docs-notice strong { font-weight: 850; }
.erbb-form-consent { display: flex; align-items: flex-start; gap: 10px; color: #475467; font-size: 12px; line-height: 1.5; }
.erbb-trade-appraisal-wrap .erbb-form-consent { width: 100%; margin: 0; padding: 13px 15px; border: 1px solid #ded9d1; border-radius: 7px; background: var(--erbb-form-section-bg); }
.erbb-form-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--erbb-form-accent); }
.erbb-form-consent a { color: var(--erbb-form-accent); font-weight: 750; }
.erbb-form-disclaimer { margin: -3px 0 0; padding: 12px 14px; border-left: 3px solid var(--erbb-form-accent); color: var(--erbb-form-muted); background: color-mix(in srgb, var(--erbb-form-accent) 4%, #ffffff); font-size: 11px; line-height: 1.55; }
.erbb-primary-submit-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 10px 18px; border: 1px solid var(--erbb-form-accent); border-radius: 8px; color: #ffffff; background: var(--erbb-form-accent); font-size: 13px; font-weight: 850; letter-spacing: 0.045em; line-height: 1.25; text-align: center; text-transform: uppercase; cursor: pointer; transition: filter 160ms ease, transform 160ms ease; }
.erbb-primary-submit-btn:hover { filter: brightness(0.88); transform: translateY(-1px); }
.erbb-primary-submit-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--erbb-form-accent) 24%, transparent); outline-offset: 3px; }
.erbb-primary-submit-btn:disabled { cursor: wait; filter: grayscale(0.2); opacity: 0.72; transform: none; }
.erbb-form-status { min-height: 20px; color: var(--erbb-form-muted); font-size: 12px; font-weight: 650; line-height: 1.5; text-align: center; }
.erbb-form-status.is-error { color: #b42318; }
.erbb-form-status.is-success { color: #067647; }
.erbb-form-success { max-width: 620px; margin: 0 auto; padding: clamp(24px, 7cqi, 54px) 0; text-align: center; animation: erbb-success-enter 320ms ease-out both; }
.erbb-form-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; color: #ffffff; background: #079455; font-size: 27px; font-weight: 850; }
@keyframes erbb-success-enter { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.erbb-form-success h2 { margin: 0 0 10px; color: var(--erbb-form-text, #171717); font-size: clamp(24px, 4cqi, 32px); line-height: 1.2; }
.erbb-form-success p { margin: 0; color: var(--erbb-form-muted, #667085); font-size: 14px; line-height: 1.6; }
.erbb-form-success .erbb-success-email { margin-top: 10px; font-size: 12px; }
.erbb-form-success .erbb-success-warning { margin-top: 14px; padding: 10px 12px; border: 1px solid #f3cf74; border-radius: 7px; color: #7a2e0e; background: #fffaeb; font-size: 12px; }
.erbb-success-summary { display: grid; gap: 0; max-width: 520px; margin: 22px auto 0; overflow: hidden; border: 1px solid #e2ddd5; border-radius: 10px; background: var(--erbb-form-section-bg, #faf9f6); text-align: left; }
.erbb-success-summary-row { display: grid; grid-template-columns: minmax(105px, 0.42fr) minmax(0, 1fr); gap: 12px; padding: 11px 14px; border-bottom: 1px solid #e2ddd5; }
.erbb-success-summary-row:last-child { border-bottom: 0; }
.erbb-success-summary dt { color: var(--erbb-form-muted, #667085); font-size: 11px; font-weight: 750; }
.erbb-success-summary dd { min-width: 0; margin: 0; color: var(--erbb-form-text, #171717); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.erbb-form-success-whatsapp { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 22px; padding: 9px 18px; border-radius: 7px; color: #ffffff !important; background: #128c4a; font-size: 13px; font-weight: 800; text-decoration: none !important; }
.erbb-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@container erbb-lead-form (max-width: 900px) {
  .erbb-form-tablet-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erbb-form-tablet-horizontal .erbb-field-full { grid-column: 1 / -1; }
  .erbb-form-tablet-vertical .erbb-form-grid { grid-template-columns: 1fr; }
  .erbb-form-tablet-vertical .erbb-field-full { grid-column: auto; }
  .erbb-trade-appraisal-wrap.erbb-form-tablet-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erbb-trade-appraisal-wrap.erbb-form-tablet-vertical .erbb-form-grid { grid-template-columns: 1fr; }
}
@container erbb-lead-form (max-width: 560px) {
  .erbb-form-phone-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .erbb-form-phone-horizontal .erbb-field-full { grid-column: 1 / -1; }
  .erbb-form-phone-vertical .erbb-form-grid { grid-template-columns: 1fr; }
  .erbb-form-phone-vertical .erbb-field-full { grid-column: auto; }
  .erbb-trade-appraisal-wrap.erbb-form-phone-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erbb-trade-appraisal-wrap.erbb-form-phone-vertical .erbb-form-grid { grid-template-columns: 1fr; }
  .erbb-form-header { margin-bottom: 18px; }
  .erbb-form-header h2 { font-size: 23px; }
  .erbb-multi-section-form { gap: 14px; }
  .erbb-form-section { padding: 14px; }
  .erbb-form-grid { gap: 14px; }
  .erbb-form-consent { gap: 8px; }
  .erbb-upload-dropzone { min-height: 142px; padding: 18px 13px; }
  .erbb-success-summary-row { grid-template-columns: 1fr; gap: 3px; }
  .erbb-appraisal-route-options { grid-template-columns: 1fr; }
  .erbb-appraisal-route-options label { justify-content: flex-start; text-align: left; }
  .erbb-trade-stock-picker { padding: 12px; }
  .erbb-trade-appraisal-wrap .erbb-trade-vehicle-option { gap: 10px !important; min-height: 62px; padding: 7px !important; }
  .erbb-trade-appraisal-wrap .erbb-trade-vehicle-option img { flex-basis: 56px !important; width: 56px !important; min-width: 56px !important; max-width: 56px !important; height: 46px !important; }
  .erbb-trade-selected-vehicle { grid-template-columns: 58px minmax(0, 1fr); }
  .erbb-trade-selected-vehicle img { width: 58px; height: 50px; }
  .erbb-trade-selected-vehicle > button { grid-column: 1 / -1; width: 100%; }
}
@media only screen and (max-width: 980px) {
  .erbb-lead-form-wrap { width: min(100%, var(--erbb-form-max-tablet, var(--erbb-form-max))); }
  .erbb-lead-form-wrap.erbb-form-width-custom { width: min(100%, var(--erbb-form-max-tablet, var(--erbb-form-max))); }
}
@media only screen and (max-width: 767px) {
  .erbb-lead-form-wrap { padding: 18px; }
  .erbb-form-tablet-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erbb-form-tablet-horizontal .erbb-field-full { grid-column: 1 / -1; }
  .erbb-form-tablet-vertical .erbb-form-grid { grid-template-columns: 1fr; }
  .erbb-form-tablet-vertical .erbb-field-full { grid-column: auto; }
  .erbb-trade-appraisal-wrap.erbb-form-tablet-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erbb-trade-appraisal-wrap.erbb-form-tablet-vertical .erbb-form-grid { grid-template-columns: 1fr; }
  .erbb-form-section { padding: 16px; }
}
@media only screen and (max-width: 479px) {
  .erbb-lead-form-wrap { width: min(100%, var(--erbb-form-max-phone, var(--erbb-form-max-tablet, var(--erbb-form-max)))); padding: 14px; border-radius: 10px; }
  .erbb-lead-form-wrap.erbb-form-width-custom { width: min(100%, var(--erbb-form-max-phone, var(--erbb-form-max-tablet, var(--erbb-form-max)))); }
  .erbb-form-phone-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .erbb-form-phone-horizontal .erbb-field-full { grid-column: 1 / -1; }
  .erbb-form-phone-vertical .erbb-form-grid { grid-template-columns: 1fr; }
  .erbb-form-phone-vertical .erbb-field-full { grid-column: auto; }
  .erbb-trade-appraisal-wrap.erbb-form-phone-horizontal .erbb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erbb-trade-appraisal-wrap.erbb-form-phone-vertical .erbb-form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .erbb-primary-submit-btn,
  .erbb-upload-dropzone { transition: none; }
  .erbb-conditional-field.is-visible,
  .erbb-form-success { animation: none; }
}

/* Contact and finance application layouts follow the actual Divi row width. */
.erbb-contact-wrap { container-name: erbb-contact; padding: clamp(18px,4cqi,34px); border-radius: 0; }
.erbb-contact-header { margin-bottom: 20px; padding-bottom: 13px; border-bottom: 1px solid #d8d2ca; }
.erbb-contact-header h2 { margin: 0; font-size: clamp(23px,4cqi,31px); line-height: 1.2; text-transform: uppercase; }
.erbb-contact-header p { margin: 8px 0 0; color: var(--erbb-form-muted); font-size: 13px; line-height: 1.55; }
.erbb-contact-fields { display: grid; grid-template-columns: 1fr; gap: 14px; }
.erbb-contact-layout-horizontal .erbb-contact-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
.erbb-contact-form { gap: 15px; }
.erbb-contact-form .erbb-field-item textarea { min-height: 104px; }
@container erbb-contact (max-width: 900px) { .erbb-contact-tablet-vertical .erbb-contact-fields { grid-template-columns: 1fr; }.erbb-contact-tablet-horizontal .erbb-contact-fields { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@container erbb-contact (max-width: 560px) { .erbb-contact-phone-vertical .erbb-contact-fields { grid-template-columns: 1fr; }.erbb-contact-phone-horizontal .erbb-contact-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } }
@container erbb-contact (max-width: 420px) { .erbb-contact-wrap .erbb-contact-fields { grid-template-columns: 1fr; } }

@container erbb-lead-form (max-width: 620px) {
  .erbb-lead-form-wrap .erbb-form-grid,
  .erbb-form-tablet-horizontal .erbb-form-grid,
  .erbb-form-phone-horizontal .erbb-form-grid,
  .erbb-trade-appraisal-wrap.erbb-form-tablet-horizontal .erbb-form-grid,
  .erbb-trade-appraisal-wrap.erbb-form-phone-horizontal .erbb-form-grid { grid-template-columns: minmax(0,1fr); }
  .erbb-lead-form-wrap .erbb-field-full { grid-column: auto; }
  .erbb-field-item input:not([type="file"]),
  .erbb-field-item select,
  .erbb-field-item textarea { min-height: 46px; font-size: 16px; }
  .erbb-form-consent input { width: 20px; height: 20px; }
}
