.elementor-1186 .elementor-element.elementor-element-4530911{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}#elementor-popup-modal-1186{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-1186 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-1186 .dialog-close-button{display:flex;}#elementor-popup-modal-1186 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(max-width:767px){.elementor-1186 .elementor-element.elementor-element-4530911{--content-width:550px;}}@media(min-width:768px){.elementor-1186 .elementor-element.elementor-element-4530911{--content-width:520px;}}/* Start custom CSS for shortcode, class: .elementor-element-7ef327a *//* ===== Kill theme margins that cause big label→input gaps ===== */
.bb-form p,
.bb-form .wpcf7-form p,
.bb-field .wpcf7-form-control,
.bb-field .wpcf7-form-control-wrap,
.bb-field input,
.bb-field label {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Make each field a compact vertical stack */
.bb-field{
  display: grid !important;
  grid-auto-flow: row;
  row-gap: 3px !important;   /* label → input gap */
}

/* Inputs: shorter height */
.bb-field input[type="text"],
.bb-field input[type="email"],
.bb-field input[type="tel"],
.bb-field input[type="date"]{
  padding: 8px 11px !important;     /* was 12–14px */
  line-height: 1.1 !important;
  min-height: 36px !important;
}

/* Grid spacing (desktop) */
.bb-grid{
  column-gap: 14px !important;
  row-gap: 8px !important;          /* space between rows */
}

/* Consent row tighter */
.bb-accept{ gap: 8px !important; font-size: 12px !important; }

/* Button: keep compact */
.bb-actions{ margin-top: 10px !important; }
.bb-actions .wpcf7-submit{ padding: 11px 14px !important; }

/* ===== Make mobile shorter and avoid full-screen scrolling ===== */
@media (max-width: 768px){
  /* collapse to one column, very tight rows */
  .bb-grid{ grid-template-columns: 1fr !important; row-gap: 6px !important; }
  .bb-field input{ padding: 8px 10px !important; min-height: 34px !important; }
  .bb-form{ padding: 14px 16px !important; max-width: 92vw !important; }

  /* cap popup height; scroll inside if needed (prevents body scroll) */
  .elementor-popup-modal .dialog-widget-content{
    max-height: 90vh !important;
    overflow: auto !important;
    border-radius: 14px !important;
  }
}

/* ===== (optional) tighten heading spacing ===== */
.bb-form__title{ margin: 0 0 8px !important; }/* End custom CSS */