/* ── Mandako Quote Form v2.1.0 ──────────────────────────────── */
#mqf-wrap {
  max-width: 860px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
}
.mqf-section {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-left: 4px solid #ECCC23;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 20px;
}
.mqf-section-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #18191A;
  border-bottom: 2px solid #ECCC23;
  padding-bottom: 10px; margin: 0 0 20px;
}
.mqf-hint { font-size: 13px; color: #666; margin: -12px 0 18px; }
.mqf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.mqf-col-2 { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .mqf-grid-2 { grid-template-columns: 1fr; }
  .mqf-section { padding: 20px 16px; }
}
.mqf-field { display: flex; flex-direction: column; gap: 6px; }
.mqf-field label { font-size: 13px; font-weight: 600; color: #333; }
.mqf-field input[type="text"],
.mqf-field input[type="email"],
.mqf-field input[type="tel"],
.mqf-field input[type="number"],
.mqf-field select,
.mqf-field textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #ccd1d9;
  border-radius: 5px; font-size: 14px; color: #1a1a1a;
  background: #fafafa; transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.mqf-field input:focus,
.mqf-field select:focus,
.mqf-field textarea:focus {
  outline: none; border-color: #ECCC23;
  box-shadow: 0 0 0 3px rgba(236,204,35,.18); background: #fff;
}
.mqf-field input:disabled,
.mqf-field select:disabled { background: #f0f0f0; color: #999; cursor: not-allowed; }
.req { color: #c0392b; margin-left: 2px; }
.mqf-checkbox-inline {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 400 !important; color: #555 !important;
  cursor: pointer; margin-top: 4px;
}
.mqf-radio-group { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.mqf-radio {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; border: 2px solid #dde1e7; border-radius: 6px;
  cursor: pointer; font-size: 14px; font-weight: 600;
  transition: border-color .15s, background .15s; user-select: none;
}
.mqf-radio input[type="radio"] { display: none; }
.mqf-radio:has(input:checked) { border-color: #ECCC23; background: #fffbe6; color: #18191A; }
.colour-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex-shrink: 0; }
.colour-dot.green { background: #2c5f2e; }
.colour-dot.black { background: #1a1a1a; }
.mqf-line-item { border: 1px solid #dde1e7; border-radius: 7px; margin-bottom: 16px; overflow: hidden; }
.mqf-line-header { background: #fffbe6; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.mqf-line-num { font-size: 13px; font-weight: 700; color: #18191A; text-transform: uppercase; letter-spacing: .05em; }
.mqf-remove-line { background: none; border: none; color: #c0392b; font-size: 12px; cursor: pointer; padding: 4px 8px; border-radius: 4px; font-weight: 600; transition: background .15s; }
.mqf-remove-line:hover { background: #fdecea; }
.mqf-line-body { padding: 16px; }
.mqf-line-row { display: grid; grid-template-columns: 1fr 1fr 90px; gap: 12px 16px; align-items: end; }
@media (max-width: 600px) { .mqf-line-row { grid-template-columns: 1fr; } }
.mqf-field--qty input { text-align: center; }
.mqf-options-inner { margin-top: 14px; border-top: 1px dashed #dde1e7; padding-top: 14px; display: flex; flex-direction: column; gap: 16px; }
.mqf-option-group-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #555; margin-bottom: 8px; }
.mqf-option-group-label em { font-weight: 400; text-transform: none; color: #888; font-style: normal; }
.mqf-option-list { display: flex; flex-direction: column; gap: 6px; }
.mqf-opt-radio, .mqf-opt-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #333; cursor: pointer; line-height: 1.4; }
.mqf-opt-radio input[type="radio"],
.mqf-opt-check input[type="checkbox"] {
  display: inline-block !important; visibility: visible !important; opacity: 1 !important;
  position: relative !important; width: 16px !important; height: 16px !important;
  min-width: 16px !important; min-height: 16px !important; margin: 2px 0 0 0 !important;
  padding: 0 !important; flex-shrink: 0 !important; appearance: auto !important;
  -webkit-appearance: auto !important; accent-color: #ECCC23; cursor: pointer !important;
  border: none !important; background: transparent !important; clip: auto !important;
  clip-path: none !important; transform: none !important; pointer-events: auto !important;
}
.mqf-opt-radio:has(input:checked) { color: #18191A; font-weight: 600; }
.mqf-no-options { font-size: 13px; color: #888; margin-top: 10px; font-style: italic; }
#mqf-add-line { margin-top: 4px; }
.mqf-btn-primary, .mqf-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 28px; border-radius: 6px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: 2px solid transparent; transition: background .15s, transform .1s;
}
.mqf-btn-primary { background: #ECCC23; color: #18191A; border-color: #ECCC23; }
.mqf-btn-primary:hover { background: #d4b800; border-color: #d4b800; }
.mqf-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.mqf-btn-secondary { background: #fff; color: #18191A; border-color: #ECCC23; font-size: 14px; padding: 9px 20px; }
.mqf-btn-secondary:hover { background: #fffbe6; }
.mqf-submit-row { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 8px; }
.mqf-error-banner { width: 100%; background: #fdecea; border: 1px solid #f5c6cb; color: #c0392b; padding: 12px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; }
#mqf-success { text-align: center; padding: 60px 20px; }
.mqf-success-icon { width: 64px; height: 64px; background: #ECCC23; color: #18191A; border-radius: 50%; font-size: 32px; line-height: 64px; margin: 0 auto 20px; }
#mqf-success h3 { font-size: 22px; color: #18191A; margin: 0 0 10px; }
#mqf-success p { font-size: 15px; color: #555; margin: 0 0 24px; }
.mqf-autocomplete { position: relative; }
.mqf-autocomplete input[type="text"] { width: 100%; box-sizing: border-box; }
.mqf-ac-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border: 1px solid #ECCC23; border-top: none;
  border-radius: 0 0 5px 5px; max-height: 220px; overflow-y: auto;
  z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.mqf-ac-item { padding: 10px 14px; font-size: 13px; cursor: pointer; color: #1a1a1a; border-bottom: 1px solid #f0f0f0; transition: background .1s; }
.mqf-ac-item:last-child { border-bottom: none; }
.mqf-ac-item:hover { background: #fffbe6; color: #18191A; font-weight: 600; }
