/* Thanh Phat EV v0.0.21 — desktop header and vehicle-page alignment.
   Fix the legacy flex stretch that pinned the Hãng xe dropdown arrow to the top.
   Keep the existing mobile menu, Header functionality, and all page sections intact. */
@media (min-width:1200px) {
  body .tpa-ev-header-v017 .dxh-header-main-inner,
  body .tpa-ev-header-v017 .tpa-v012-topbar-inner {
    width:min(1300px,calc(100% - 44px))!important;
    max-width:1300px!important;
    margin-inline:auto!important;
  }
  /* Same horizontal guides as the shared model-hero grid. */
  body .tpa-breadcrumb > .tpa-container {
    width:min(1300px,calc(100% - 56px))!important;
    max-width:1300px!important;
    margin-inline:auto!important;
  }
  /* Caret is a flex sibling of the text link — never a second row. */
  body .tpa-ev-header-v017 .tpa-v017-inline-nav .tpa-nav-control {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    min-width:0!important;
    height:74px!important;
  }
  body .tpa-ev-header-v017 .tpa-v017-inline-nav .tpa-nav-control > a {
    display:inline-flex!important;
    align-items:center!important;
    height:74px!important;
    white-space:nowrap!important;
  }
  body .tpa-ev-header-v017 .tpa-v017-inline-nav .tpa-nav-control > button.tpa-submenu-toggle {
    position:static!important;
    inset:auto!important;
    align-self:center!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:17px!important;
    min-width:17px!important;
    height:30px!important;
    flex:0 0 17px!important;
    margin:0 2px 0 -3px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:5px!important;
    color:#1e5b80!important;
    transform:none!important;
    vertical-align:middle!important;
  }
  body .tpa-ev-header-v017 .tpa-v017-inline-nav .tpa-nav-control > button.tpa-submenu-toggle:hover,
  body .tpa-ev-header-v017 .tpa-v017-inline-nav .tpa-nav-control > button.tpa-submenu-toggle:focus-visible {
    background:#e9f7fc!important;
  }
  body .tpa-ev-header-v017 .tpa-v017-inline-nav .tpa-submenu-toggle .tpa-icon {
    width:13px!important;
    height:13px!important;
    display:block!important;
  }
}
