/* Palma Interest Form — keep labels enabled for Zoho Flow, hide only bold field labels visually */

/* Hide only these bold field labels */
body .b1-bit-form .b1-2-lbl-wrp,
body .b1-bit-form .b1-3-lbl-wrp,
body .b1-bit-form .b1-4-lbl-wrp,
body .b1-bit-form .b1-9-lbl-wrp,
body .b1-bit-form .b1-5-lbl-wrp {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Reset Bit Form grid after labels are hidden */
body .b1-bit-form form._frm-b1.bf-form {
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: repeat(525, 1px) !important;
  padding-bottom: 0 !important;
}

/* First Name + Last Name */
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-2,
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-3 {
  grid-row: 1 / 46 !important;
  min-height: 59px !important;
  height: 59px !important;
}

/* Email */
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-4 {
  grid-row: 56 / 101 !important;
  min-height: 59px !important;
  height: 59px !important;
}

/* Phone Number */
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-9 {
  grid-row: 111 / 156 !important;
  min-height: 60px !important;
  height: 60px !important;
}

/* Property Type */
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-7 {
  grid-row: 166 / 306 !important;
}

/* Message */
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-5 {
  grid-row: 316 / 409 !important;
  min-height: 107px !important;
  height: 107px !important;
}

/* Terms checkbox */
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
  grid-row: 430 / 455 !important;
}

/* Submit button */
body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
  grid-row: 475 / 519 !important;
}

/* Arabic desktop */
html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form {
  grid-template-rows: repeat(595, 1px) !important;
}

html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-7 {
  grid-row: 165 / 336 !important;
}

html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-5 {
  grid-row: 356 / 449 !important;
}

html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
  grid-row: 465 / 520 !important;
  min-height: 55px !important;
  height: auto !important;
  overflow: visible !important;
}

html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
  grid-row: 508 / 552 !important;
}

/* Small laptops */
@media (min-width: 961px) and (max-width: 1200px) {
  body .b1-bit-form form._frm-b1.bf-form {
    grid-template-rows: repeat(540, 1px) !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
    grid-row: 430 / 470 !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
    grid-row: 485 / 529 !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form {
    grid-template-rows: repeat(630, 1px) !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
    grid-row: 475 / 560 !important;
    min-height: 85px !important;
    height: auto !important;
    overflow: visible !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
    grid-row: 528 / 572 !important;
  }
}

/* Tablet and mobile */
@media (min-width: 571px) and (max-width: 960px) {
  body .b1-bit-form form._frm-b1.bf-form {
    grid-template-rows: repeat(520, 1px) !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-9 {
    grid-row: 56 / 101 !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-7 {
    grid-row: 116 / 256 !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-5 {
    grid-row: 266 / 359 !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
    grid-row: 380 / 430 !important;
    min-height: 50px !important;
    height: auto !important;
    overflow: visible !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
    grid-row: 445 / 503 !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form {
    grid-template-rows: repeat(601, 1px) !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-9 {
    grid-row: 56 / 101 !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-7 {
    grid-row: 116 / 287 !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-5 {
    grid-row: 307 / 400 !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
    grid-row: 421 / 516 !important;
    min-height: 95px !important;
    height: auto !important;
    overflow: visible !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
    grid-row: 484 / 542 !important;
  }
}

/* Narrow phones */
@media (max-width: 570px) {
  body .b1-bit-form form._frm-b1.bf-form {
    grid-template-rows: repeat(565, 1px) !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
    grid-row: 430 / 485 !important;
    min-height: 55px !important;
  }

  body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
    grid-row: 500 / 558 !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form {
    grid-template-rows: repeat(645, 1px) !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-8 {
    grid-row: 470 / 555 !important;
    min-height: 85px !important;
  }

  html[lang="ar"] body .b1-bit-form form._frm-b1.bf-form > .btcd-fld-itm.b1-1 {
    grid-row: 563 / 621 !important;
  }
}
