/* XGG-P59 | XeGhepQuangNgai homepage booking form, MOBILE ONLY.
   Goal: ~10% less height, exposing more of the existing banner below.
   No JS/HTML/booking functionality changed; 44px inputs & submit remain easy to tap.
   #form_datxe and #qn23cBookingForm restrict overrides to the HOME hero form.
   CSS specificity intentionally outranks legacy !important bundles. */
@media screen and (max-width:767px) {
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #form_datxe {
    height:auto!important;
    min-height:0!important;
    flex:0 1 auto!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #form_datxe .vinfast-lead-tabs.xgg-p52-three-tabs,
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #form_datxe .vinfast-lead-tabs.xgg-p52-three-tabs>.vinfast-lead-tab {
    height:41px!important;
    min-height:41px!important;
    max-height:41px!important;
    flex-basis:41px!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm.vinfast-lead-form-body.trm-planner {
    height:auto!important;
    min-height:0!important;
    flex:0 1 auto!important;
    padding:11px 13px 9px!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-heading {
    margin:0 0 8px!important;
    gap:2px!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-heading h1 {
    line-height:1.2!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-grid {
    row-gap:8px!important;
    column-gap:10px!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-grid>.vinfast-lead-field {
    gap:3px!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-field>label {
    margin:0!important;
    line-height:1.25!important;
  }
  /* Do not shrink text inputs below a 44px touch target. */
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-field>input,
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-field>select {
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-field>textarea {
    height:76px!important;
    min-height:76px!important;
    max-height:none!important;
    padding:8px 10px!important;
    resize:vertical!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .xg-p04-consent {
    margin:6px 0 4px!important;
    gap:7px!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .xg-p04-consent span {
    line-height:1.3!important;
  }
  body.transport-native.xg-home-p06 .trm-home .qn23c-section #qn23cBookingForm .vinfast-lead-submit {
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    flex:0 0 44px!important;
    margin-top:0!important;
  }
}
