.mobile-consult-heading { display: none; }
@media (max-width: 767px) {
  .footerSMS { display: none !important; }
  body.mobile-consult-open { overflow: hidden; }
  .footerSMS.mobile-consult-open { display: block !important; position: fixed; inset: 0; transform: none; width: 100%; min-width: 0; max-width: none; margin: 0; padding: 24px 16px; box-sizing: border-box; overflow: auto; overscroll-behavior: contain; background: rgba(0,0,0,.5); z-index: 100000; }
  .footerSMS.mobile-consult-open > .xe-widget-wrapper { width: 100%; max-width: 440px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 20px; box-sizing: border-box; }
  .mobile-consult-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .mobile-consult-heading h2 { font-size: 22px; margin: 0; }
  .mobile-consult-heading button { background: none; border: 0; padding: 8px; font-size: 28px; line-height: 1; cursor: pointer; }
  .footerSMS fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
  .footerSMS table, .footerSMS tbody, .footerSMS tr, .footerSMS td { display: block; width: 100% !important; box-sizing: border-box; padding: 0 !important; white-space: normal !important; }
  .footerSMS fieldset > table > tbody > tr > td { margin-bottom: 16px; }
  .footerSMS fieldset > table > tbody > tr > td:first-child { display: none; }
  .footerSMS h4 { margin: 0 0 6px; font-size: 14px; }
  .footerSMS input[type=text], .footerSMS input[type=tel], .footerSMS select { width: 100% !important; height: 44px; box-sizing: border-box; font-size: 16px; border: 1px solid #ccc; border-radius: 6px; padding: 8px; }
  .footerSMS .ap_item[rel=tel] { display: flex; gap: 8px; }
  .footerSMS .ap_item[rel=tel] input { min-width: 0; flex: 1; }
  .footerSMS input[type=submit] { width: 100%; min-height: 48px; font-size: 17px; border-radius: 6px; }
  .footerSMS .rx_ev_checkbox { margin: 0; padding: 0; list-style: none; }
  .footerSMS input[type=checkbox] { width: 20px; height: 20px; vertical-align: middle; }
}
@media (max-width: 767px) {
  body.mobile-consult-open .cameron_plugin { display: none !important; }
  body .footerSMS.mobile-consult-open .ap_item { width: 100% !important; max-width: none !important; }
  body .footerSMS.mobile-consult-open input[type=text],
  body .footerSMS.mobile-consult-open input[type=tel],
  body .footerSMS.mobile-consult-open input[type=submit] { width: 100% !important; max-width: none !important; }
}
