/* THÀNH PHÁT EV — Header V0.0.12. Header-only design, shared on all routes. */
.tpa-ev-header-v012{--ev-head-navy:#071e36;--ev-head-blue:#0068cb;--ev-head-teal:#02b9c1;--ev-head-ink:#102e4d;--ev-head-line:#d6e7f1;background:#fff}
.tpa-ev-header-v012 .tpa-v012-topbar{background:#072a50;color:#edfaff;border-bottom:1px solid #ffffff25}
.tpa-ev-header-v012 .tpa-v012-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.tpa-ev-header-v012 .tpa-v012-topbar-link{display:inline-flex;align-items:center;gap:8px;color:#e9f8ff!important;text-decoration:none;font-weight:600;font-size:12px;line-height:1.35;white-space:nowrap}
.tpa-ev-header-v012 .tpa-v012-topbar-link:hover{color:#71f3f0!important}
.tpa-ev-header-v012 .tpa-v012-topbar-link .tpa-icon{width:15px;height:15px;flex:none}
.tpa-ev-header-v012 .tpa-v012-topbar-link .tpa-icon:last-child:not(:first-child){width:12px;height:12px}
.tpa-ev-header-v012 .dxh-header-main{background:#fff}
.tpa-ev-header-v012 .dxh-header-main-inner{box-sizing:border-box;min-height:88px;display:grid;grid-template-columns:minmax(245px,270px) minmax(190px,1fr) auto!important;gap:clamp(15px,2vw,32px);align-items:center}
.tpa-ev-header-v012 .tpa-ev-wordmark-symbol{width:54px;height:54px;flex:none}
.tpa-ev-header-v012 .tpa-ev-wordmark-name strong{font-size:18px;white-space:nowrap}
.tpa-ev-header-v012 .tpa-ev-wordmark-name small{font-size:10px;line-height:1.45;white-space:nowrap}
.tpa-ev-header-v012 .dxh-header-main .dxh-search{height:50px;width:100%;max-width:none;border-radius:28px;border:1px solid #c8deee;background:#f7fbfe;min-width:0;margin:0}
.tpa-ev-header-v012 .dxh-header-main .dxh-search:focus-within{border-color:#007fc9;box-shadow:0 0 0 3px #008bd11c}
.tpa-ev-header-v012 .dxh-header-main .dxh-search input{font-size:13px;padding-inline:18px;min-width:0;color:var(--ev-head-ink)}
.tpa-ev-header-v012 .dxh-header-main .dxh-search button{background:transparent!important;color:#17496d!important;border-radius:50%}
.tpa-ev-header-v012 .dxh-header-main .dxh-search button:hover{color:#007bb5!important;background:#e6f5fb!important}
.tpa-ev-header-v012 .dxh-header-actions{gap:10px;display:flex;align-items:center;min-width:0}
.tpa-ev-header-v012 .tpa-v012-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 15px;text-decoration:none!important;white-space:nowrap;border-radius:14px;font-size:12px!important;font-weight:700;line-height:1.3;transition:transform .15s,box-shadow .15s,background .15s;flex:none}
.tpa-ev-header-v012 .tpa-v012-btn>.tpa-icon{width:17px;height:17px;flex:none}
.tpa-ev-header-v012 .tpa-v012-btn>.tpa-icon:last-child{width:15px;height:15px}
.tpa-ev-header-v012 .tpa-v012-btn:hover{transform:translateY(-1px)}
.tpa-ev-header-v012 .tpa-v012-btn-advice{color:#fff!important;background:linear-gradient(110deg,#0064d7,#03bcc4);box-shadow:0 8px 20px #007eac29;border:1px solid transparent}
.tpa-ev-header-v012 .tpa-v012-btn-advice:hover{color:#fff!important;box-shadow:0 11px 25px #007eac3d}
.tpa-ev-header-v012 .tpa-v012-btn-vehicle{color:#0758ac!important;background:#fff;border:1.5px solid #127cf2;box-shadow:0 4px 12px #004d9f0d}
.tpa-ev-header-v012 .tpa-v012-btn-vehicle:hover{color:#004990!important;background:#f0f8ff}
.tpa-ev-header-v012 .dxh-cart-action{min-width:44px;min-height:46px;display:inline-flex!important;align-items:center;justify-content:center;color:#10385b!important}
.tpa-ev-header-v012 .dxh-cart-action>span{position:relative}
.tpa-ev-header-v012 .dxh-cart-action .tpa-icon{width:25px;height:25px}
.tpa-ev-header-v012 .dxh-cart-action b{background:#087ad7;color:#fff}
.tpa-ev-header-v012 .dxh-cart-action small{font-size:10px;line-height:1.2}
.tpa-ev-header-v012 .dxh-navbar{background:#fff;border-top:1px solid #eaf0f5;border-bottom:1px solid #e6eff5}
.tpa-ev-header-v012 .dxh-navbar .dxh-nav-inner{height:58px;justify-content:flex-start}
.tpa-ev-header-v012 .dxh-navbar .tpa-primary-nav>ul{height:58px;gap:8px}
.tpa-ev-header-v012 .dxh-navbar .tpa-nav-item,.tpa-ev-header-v012 .dxh-navbar .tpa-nav-control{height:58px}
.tpa-ev-header-v012 .dxh-navbar .tpa-nav-control>a{min-height:58px;padding-inline:13px;font-size:13px!important;color:#123b5d!important}
.tpa-ev-header-v012 .dxh-navbar .tpa-nav-control>a:hover,.tpa-ev-header-v012 .dxh-navbar .tpa-nav-item.is-current .tpa-nav-control>a{background:#eaf8ff!important;color:#006cae!important}
.tpa-ev-header-v012 .dxh-navbar .tpa-submenu-toggle{height:58px}
.tpa-ev-header-v012 .tpa-v012-mobile-navigation{display:none}
.tpa-ev-header-v012 :is(.tpa-v012-btn,.dxh-header-action,.dxh-mobile-menu,.tpa-v012-quicknav a):focus-visible{outline:3px solid #1baff9;outline-offset:3px}
@media(max-width:1120px){
 .tpa-ev-header-v012 .dxh-header-main-inner{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;column-gap:8px;row-gap:0;min-height:67px}
 .tpa-ev-header-v012 .dxh-header-main .dxh-search{grid-column:1/-1;grid-row:2;display:grid!important;max-width:100%!important;width:100%!important;margin:2px 0 12px;height:43px}
 .tpa-ev-header-v012 .dxh-header-actions>.tpa-v012-btn{display:none!important}
 .tpa-ev-header-v012 .dxh-navbar{display:none!important}
 .tpa-ev-header-v012 .dxh-mobile-menu{display:grid!important;place-items:center;width:41px;min-width:41px;height:43px;border-radius:10px;background:#0b3050;color:#fff;border:0}
 .tpa-ev-header-v012 .tpa-v012-mobile-navigation{display:block;background:#fff;border-top:1px solid #edf3f8}
 .tpa-ev-header-v012 .tpa-v012-quicknav{width:min(1240px,calc(100% - 26px));margin-inline:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:10px 0 7px}
 .tpa-ev-header-v012 .tpa-v012-quicknav>a{display:flex;align-items:center;flex-direction:column;justify-content:flex-start;min-width:0;padding:5px 2px;gap:6px;text-align:center;text-decoration:none;color:#255272!important;font-size:11px;font-weight:600;line-height:1.2}
 .tpa-ev-header-v012 .tpa-v012-quicknav>a .tpa-icon{box-sizing:content-box;width:20px;height:20px;padding:10px;border-radius:50%;background:#eef7fc;color:#174c7f}
 .tpa-ev-header-v012 .tpa-v012-quicknav>a[aria-current] {color:#0068c2!important}
 .tpa-ev-header-v012 .tpa-v012-quicknav>a[aria-current] .tpa-icon{background:#dff1ff;color:#0068c2}
 .tpa-ev-header-v012 .tpa-v012-quicknav>a span{max-width:100%;overflow-wrap:normal;word-break:normal;hyphens:none}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas{width:min(1240px,calc(100% - 28px));margin:0 auto;padding:5px 0 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas>.tpa-v012-btn{display:flex;min-width:0;min-height:46px;padding:8px 7px;gap:5px;font-size:12px!important;border-radius:14px}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas>.tpa-v012-btn span{min-width:0;white-space:normal;text-align:center}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas>.tpa-v012-btn .tpa-icon{width:15px;height:15px}
 .tpa-ev-header-v012 .dxh-header-actions .dxh-cart-action{display:inline-flex!important}
 .tpa-ev-header-v012 .dxh-header-actions .dxh-cart-action small{display:none!important}
 .tpa-ev-header-v012 .tpa-ev-wordmark-symbol{width:42px;height:42px}
 .tpa-ev-header-v012 .dxh-header-main-inner .dxh-brand{min-width:0;max-width:100%}
}
@media(max-width:600px){
 .tpa-ev-header-v012 .tpa-v012-topbar-inner{width:calc(100% - 25px);gap:8px;min-height:32px}
 .tpa-ev-header-v012 .tpa-v012-topbar-link{font-size:11px;gap:4px}
 .tpa-ev-header-v012 .tpa-v012-topbar-link .tpa-icon{width:13px;height:13px}
 .tpa-ev-header-v012 .tpa-v012-desktop-word{display:none}
 .tpa-ev-header-v012 .dxh-header-main-inner{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;gap:4px!important}
 .tpa-ev-header-v012 .tpa-ev-wordmark-symbol{width:36px;height:36px}
 .tpa-ev-header-v012 .dxh-header-actions{gap:4px!important}
 .tpa-ev-header-v012 .dxh-header-actions .dxh-cart-action{min-width:36px;width:36px;height:40px;padding:0!important}
 .tpa-ev-header-v012 .dxh-header-actions .dxh-cart-action b{right:0;top:-2px}
 .tpa-ev-header-v012 .dxh-mobile-menu{min-width:38px;width:38px;height:40px}
 .tpa-ev-header-v012 .dxh-header-main .dxh-search{margin:3px 0 10px;height:42px}
 .tpa-ev-header-v012 .tpa-v012-quicknav{width:calc(100% - 20px);gap:1px;padding-top:8px}
 .tpa-ev-header-v012 .tpa-v012-quicknav>a{font-size:10px;gap:5px;padding:5px 1px}
 .tpa-ev-header-v012 .tpa-v012-quicknav>a .tpa-icon{width:17px;height:17px;padding:9px}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas{width:calc(100% - 22px);gap:7px;padding-bottom:12px}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas>.tpa-v012-btn{font-size:11px!important;padding:7px 4px;gap:4px}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas>.tpa-v012-btn .tpa-icon{width:14px;height:14px}
}
@media(max-width:355px){
 .tpa-ev-header-v012 .tpa-ev-wordmark-name strong{font-size:12px}
 .tpa-ev-header-v012 .tpa-ev-wordmark-name small{font-size:8px}
 .tpa-ev-header-v012 .tpa-v012-mobile-ctas>.tpa-v012-btn .tpa-icon:last-child{display:none}
 .tpa-ev-header-v012 .tpa-v012-topbar-link{font-size:10.5px}
}
@media(prefers-reduced-motion:reduce){.tpa-ev-header-v012 .tpa-v012-btn{transition:none}}
/* Keep small utility/nav text contrast consistent despite inherited legacy link styles. */
body .tpa-ev-header-v012 .tpa-v012-topbar .tpa-v012-topbar-link,
body .tpa-ev-header-v012 .tpa-v012-topbar .tpa-v012-topbar-link :is(span,.tpa-icon){color:#e9f8ff!important;-webkit-text-fill-color:#e9f8ff!important}
body .tpa-ev-header-v012 .dxh-navbar .tpa-nav-control>a,
body .tpa-ev-header-v012 .dxh-navbar .tpa-nav-control>a span{color:#103958!important;-webkit-text-fill-color:#103958!important}
body .tpa-ev-header-v012 .dxh-navbar .tpa-nav-item.is-current .tpa-nav-control>a,
body .tpa-ev-header-v012 .dxh-navbar .tpa-nav-item.is-current .tpa-nav-control>a span{color:#0074b8!important;-webkit-text-fill-color:#0074b8!important}
/* Prevent any inherited red legacy commerce skin from colouring the search control. */
.tpa-ev-header-v012{--dxh-red:#e9f6fc;--dxh-red-dark:#d9eff9}
body .tpa-ev-header-v012 .dxh-header-main form.dxh-search button[type="submit"]{background:#f7fbfe!important;background-image:none!important;color:#17496d!important;border:0!important;box-shadow:none!important}
body .tpa-ev-header-v012 .dxh-header-main form.dxh-search button[type="submit"]:hover{background:#e9f6fc!important;color:#006fae!important}
