/* Contact Form 7 uses the same field grid and project chips as the estimate design. */
#estimate .wpcf7 { min-width: 0; }
#estimate .wpcf7-form-control-wrap { display: block; min-width: 0; }
#estimate .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: var(--scarlet-deep);
  font-size: .875rem;
  font-weight: 600;
}
#estimate .wpcf7-not-valid { border-color: var(--scarlet); }
#estimate .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 2px;
  font-size: .9375rem;
  line-height: 1.5;
}
#estimate .wpcf7-form .wpcf7-response-output { border-color: var(--scarlet); }
#estimate .wpcf7-form.sent .wpcf7-response-output { display: none; }
#estimate .wpcf7-list-item { margin: 0; }
#estimate .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#estimate .wpcf7-list-item label { position: relative; display: block; }
#estimate .wpcf7-list-item input { position: absolute; opacity: 0; }
#estimate .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px 0 12px;
  border: 1.5px solid #bcc4bf;
  border-radius: 2px;
  background: #fff;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
}
#estimate .wpcf7-list-item-label::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--enamel-seam);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12);
}
#estimate .wpcf7-list-item-label::after { content: none; }
#estimate .wpcf7-list-item input:checked + .wpcf7-list-item-label { border-color: var(--ink); }
#estimate .wpcf7-list-item input:checked + .wpcf7-list-item-label::before { background: var(--scarlet); }
#estimate .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label {
  outline: 2px solid var(--royal);
  outline-offset: 2px;
}
#estimate .wpcf7-list-item-label:hover { border-color: var(--ink); }
#estimate .wpcf7-spinner { margin: 0; }
#estimate .wpcf7-form.submitting [type=submit] { opacity: .65; pointer-events: none; }
#estimate .wpcf7-form .form-foot { position: relative; }
#estimate .wpcf7-form[hidden] { display: none; }
#estimate .wpcf7-form > .wpcf7-response-output:empty { display: none; }
