/* v2.0.3: Contact form mobile clipping fix; scoped to contact forms only. */
.theme-contact-form,
.theme-contact-form form,
.bpc-contact-form,
.bpc-contact-form form { min-width:0; max-width:100%; box-sizing:border-box; }
.theme-contact-form *,
.bpc-contact-form * { box-sizing:border-box; }
/* Old global selector applies width:100% to all non-submit inputs, including checkboxes.
   Explicitly restore native checkbox dimensions and keep its label adjacent. */
.theme-contact-form input[type="checkbox"],
.bpc-contact-form input[type="checkbox"],
.bk-contact-page .bk-form-body input[type="checkbox"],
.bk-home-contact-form input[type="checkbox"] {
  display:inline-block !important;
  width:18px !important;
  min-width:18px !important;
  max-width:18px !important;
  height:18px !important;
  min-height:18px !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  flex:0 0 18px !important;
  vertical-align:top;
  accent-color:var(--accent,#fa8561);
}
.bpc-contact-form .bpc-consent,
.theme-contact-form .bpc-consent { width:100%; max-width:100%; min-width:0; }
.bpc-contact-form .bpc-consent label,
.theme-contact-form .bpc-consent label {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  justify-content:flex-start !important;
  align-items:flex-start !important;
  gap:10px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 0 16px !important;
  text-align:left;
  white-space:normal !important;
  overflow-wrap:break-word;
}
.bpc-contact-form .bpc-consent label > span,
.theme-contact-form .bpc-consent label > span { flex:1 1 auto; min-width:0; }
@media(max-width:767px) {
  .bk-contact-form-panel,
  .bk-contact-page .bk-contact-layout,
  .bk-home-contact-form {min-width:0;max-width:100%;}
  .bk-contact-form-panel {padding:22px 17px;}
  .bpc-contact-form .bpc-form-grid {grid-template-columns:minmax(0,1fr);gap:0;}
  .theme-contact-form input:not([type="checkbox"]),
  .theme-contact-form select,
  .theme-contact-form textarea {max-width:100%;}
  .bpc-contact-form .bpc-consent label {font-size:12px;line-height:1.6;}
}
