/* Overrides inline style on the <table> */
.sales-form__fam.radio table.sales-form__fam,
.prof-form__car.radio table.prof-form__car,
.sales-form__bath.radio table.sales-form__bath,
.sales-form__bed.radio table.sales-form__bed,
.sales-form__buy.radio table.sales-form__buy,
.progressive-profiling_1.radio table.progressive-profiling_1 {
    display: flex !important;
    justify-content: center !important;
}

/* Override ONLY for select dropdowns inside progressive-profiling */
@media (min-width: 769px) {
    /* Apply 50% width ONLY when the field is a dropdown wrapper */
    .form-assembly-wrapper .form form > div.input-wrapper.input-wrapper--select {
        width: calc(50% - 15px) !important;
    }
}


/* Center mega menu items */
.nav-row .megamenu__list > .megamenu__item {
  /* text-align: center !important; */
}


  /* Hide both by default */
  .control-label.radio.progressive-profiling_2,
  label.control-label:has(+ .progressive-profiling_2) {
    display: none !important;
  }

  /* Show label + section when "Owner Occupier" (id ends in 3403) is checked */
  .progressive-profiling_1:has(#tfa_3590416183403:checked)
  ~ label.control-label:has(+ .progressive-profiling_2),
  .progressive-profiling_1:has(#tfa_3590416183403:checked)
  ~ .progressive-profiling_2 {
    display: block !important;
  }

  /* Hide both again when "Investor" (id ends in 3404) is checked */
  .progressive-profiling_1:has(#tfa_3590416183404:checked)
  ~ label.control-label:has(+ .progressive-profiling_2),
  .progressive-profiling_1:has(#tfa_3590416183404:checked)
  ~ .progressive-profiling_2 {
    display: none !important;
  }

