/* Thành Phát EV v0.0.16 — one action per place: no duplicate header CTAs.
   Brand + search + cart in header; user selects vehicle from menu or Home hero. */
body .tpa-ev-header-v016{position:relative;z-index:80;background:#fff}
body .tpa-ev-header-v016 .tpa-v012-topbar{background:#062746!important;border-bottom:0}
body .tpa-ev-header-v016 .tpa-v012-topbar-inner{min-height:34px}
body .tpa-ev-header-v016 .dxh-header-main{background:#fff!important;border-bottom:0}
body .tpa-ev-header-v016 .dxh-header-main-inner{
  box-sizing:border-box;min-height:86px;display:grid!important;
  grid-template-columns:minmax(240px,320px) minmax(210px,560px) auto!important;
  align-items:center;gap:clamp(18px,3vw,48px);justify-content:space-between;
}
body .tpa-ev-header-v016 .dxh-header-main-inner>.dxh-brand{width:max-content;max-width:100%;min-width:0}
body .tpa-ev-header-v016 .dxh-header-main .dxh-search{width:100%;max-width:560px;margin-inline:auto;min-width:0}
body .tpa-ev-header-v016 .dxh-header-actions{margin-inline-start:auto;gap:18px}
body .tpa-ev-header-v016 .dxh-header-actions .dxh-cart-action{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px}
body .tpa-ev-header-v016 .dxh-navbar{background:#fff!important;border-top:1px solid #e7eef5;border-bottom:1px solid #dce9f3}
body .tpa-ev-header-v016 .dxh-navbar .dxh-nav-inner{justify-content:center}
body .tpa-ev-header-v016 .dxh-navbar .tpa-primary-nav>ul{justify-content:center}
/* No duplicated actions in header on any viewport (removed from PHP; defensive for old caches). */
body .tpa-ev-header-v016 .dxh-header-actions>.tpa-v012-btn,
body .tpa-ev-header-v016 .tpa-v012-mobile-navigation{display:none!important}
@media(max-width:1120px){
 body .tpa-ev-header-v016 .dxh-header-main-inner{
   min-height:74px;grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-rows:auto auto!important;column-gap:8px;row-gap:0;
 }
 body .tpa-ev-header-v016 .dxh-header-main-inner>.dxh-brand{max-width:calc(100vw - 126px)}
 body .tpa-ev-header-v016 .dxh-header-main .dxh-search{
   grid-column:1/-1;grid-row:2;width:100%!important;max-width:none!important;
   height:44px!important;margin:2px 0 13px!important;
 }
 body .tpa-ev-header-v016 .dxh-navbar{display:none!important}
 body .tpa-ev-header-v016 .dxh-header-actions{gap:8px}
 body .tpa-ev-header-v016 .dxh-header-actions .dxh-cart-action{display:inline-flex!important}
 body .tpa-ev-header-v016 .dxh-header-actions .dxh-cart-action small{display:none!important}
 body .tpa-ev-header-v016 .dxh-mobile-menu{display:grid!important;place-items:center}
}
@media(max-width:600px){
 body .tpa-ev-header-v016 .tpa-v012-topbar-inner{min-height:31px}
 body .tpa-ev-header-v016 .dxh-header-main-inner{
   width:calc(100% - 30px)!important;max-width:calc(100% - 30px)!important;
   min-height:65px;grid-template-rows:minmax(58px,auto) auto!important;padding-top:0!important;
 }
 body .tpa-ev-header-v016 .dxh-header-actions{gap:8px!important}
 body .tpa-ev-header-v016 .dxh-header-main .dxh-search{margin:1px 0 11px!important}
 body .tpa-ev-header-v016 .dxh-header-main-inner>.dxh-brand{max-width:calc(100vw - 118px)}
 body .tpa-ev-header-v016 .dxh-header-main-inner .tpa-ev-wordmark-name strong{
   font-size:clamp(12px,3.7vw,15px)!important;line-height:1.28!important;
 }
 body .tpa-ev-header-v016 .dxh-header-main-inner .tpa-ev-wordmark-name small{
   font-size:clamp(8.5px,2.35vw,10px)!important;line-height:1.3!important;
 }
}
