/* Thành Phát Auto 2026 — compact white + orange visual shell.
 * Original PHP navigation, WooCommerce search/cart, mobile drawer and footer remain operational.
 */
:root{--dxh-red:#f36b21;--dxh-red-dark:#d74c0c;--dxh-soft:#f6f7f8;--tpa26-shell-orange:#f36b21}
body.tpa-site{background:#fff;color:#1b242c}
.tpa-container{width:min(1260px,calc(100% - 64px));margin-inline:auto}
.dxh-site-header{position:relative;z-index:80;background:#fff;border-bottom:1px solid #edf0f2;box-shadow:0 3px 18px rgba(10,19,29,.035)}
.dxh-topbar{background:#15212b;color:#e8edf2}
.dxh-topbar-inner{min-height:31px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.dxh-topbar-left{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:.08em;font-weight:700;white-space:nowrap}
.dxh-topbar-emblem{font-size:15px;color:var(--dxh-red)}
.dxh-topbar-center{display:flex;justify-content:center;align-items:center;gap:14px;font-size:10px}
.dxh-topbar-center>span{color:#bec9d3}
.dxh-topbar-center>a{display:inline-flex;align-items:center;padding:4px 12px;border-radius:99px;background:#fff;color:#202c36!important;font-size:9px;font-weight:700!important;white-space:nowrap}
.dxh-topbar-right{display:flex;justify-content:flex-end;align-items:center;gap:16px}
.dxh-topbar-right a{font-size:10px;color:#e8edf2!important}
.dxh-header-main{background:#fff}
.dxh-header-main-inner{display:grid;grid-template-columns:175px minmax(0,1fr) 175px 43px 118px;gap:10px;align-items:center;min-height:77px}
.dxh-brand{min-width:0}
.dxh-site-logo{display:block;width:166px;max-height:64px;height:auto;object-fit:contain;object-position:left center}
.dxh-navbar{display:block;min-width:0;overflow:visible;background:transparent;color:#25303a;height:auto}
.dxh-nav-inner{height:auto;display:block;min-width:0;width:100%}
.dxh-site-header .tpa-primary-nav{width:100%;min-width:0}
.dxh-site-header .tpa-primary-nav>ul{height:77px;display:flex;align-items:center;justify-content:center;gap:0;padding:0;margin:0;list-style:none}
.dxh-site-header .tpa-nav-item{height:77px;display:flex;align-items:center}
.dxh-site-header .tpa-nav-control{height:77px;align-items:center}
.dxh-site-header .tpa-nav-control>a{height:77px;min-height:77px;padding:0 7px;color:#29333c!important;background:transparent!important;font-size:11px;font-weight:600!important;white-space:nowrap;position:relative;display:inline-flex;align-items:center}
.dxh-site-header .tpa-nav-item.is-current>.tpa-nav-control>a:after{content:"";position:absolute;left:7px;right:7px;bottom:16px;height:2px;border-radius:9px;background:var(--dxh-red)}
.dxh-site-header .tpa-nav-control>a:hover,.dxh-site-header .tpa-nav-item.is-current>.tpa-nav-control>a{color:var(--dxh-red)!important;background:transparent!important}
.dxh-site-header .tpa-nav-primary-icon{display:none}
.dxh-site-header .tpa-submenu-toggle{height:36px;width:14px;margin-left:-6px;border-radius:3px;color:#6d7680}
.dxh-site-header .tpa-submenu-toggle:hover{background:#fff0e7;color:var(--dxh-red)}
.dxh-site-header .tpa-nav-panel{top:calc(100% - 3px);border-color:#e8ebee;box-shadow:0 18px 48px rgba(11,25,38,.14)}
.dxh-site-header .tpa-nav-panel-all{color:var(--dxh-red)}
.dxh-search{width:100%;height:36px;grid-template-columns:minmax(0,1fr) 35px;border:1px solid #edf0f2;border-radius:30px;background:#f5f6f8;overflow:hidden}
.dxh-search input{height:36px;padding:0 12px!important;color:#34404a!important;background:transparent!important;font-size:10px!important}
.dxh-search input::placeholder{color:#9ca4ac}
.dxh-search button{width:35px;border:none!important;border-radius:30px;background:transparent;color:#34414c;display:grid;place-items:center}
.dxh-search button:hover{background:#ffe9dd;color:var(--dxh-red)}
.dxh-search:focus-within{border-color:#ffa36e;box-shadow:0 0 0 3px rgba(243,107,33,.08)}
.dxh-search .tpa-icon{width:16px;height:16px}
.dxh-header-actions{gap:0;justify-content:center}
.dxh-header-action{min-width:40px;gap:0;color:#2f3a44}
.dxh-header-action>span{height:24px}
.dxh-header-action .tpa-icon{width:21px;height:21px}
.dxh-header-action small{display:none}
.dxh-header-actions .dxh-account-action,.dxh-header-actions .dxh-favorite-action{display:none}
.dxh-cart-action b{background:var(--dxh-red)}
.dxh-header-quote{display:flex;align-items:center;justify-content:center;gap:8px;height:36px;border-radius:30px;background:var(--dxh-red);color:#fff!important;font-size:10px;font-weight:700!important;white-space:nowrap;box-shadow:0 6px 18px rgba(242,103,30,.2);transition:background .2s}
.dxh-header-quote:hover{background:var(--dxh-red-dark);color:#fff!important}
.dxh-header-quote span{font-size:14px}
.dxh-mobile-menu{display:none}
.tpa-mobile-drawer-panel{background:#fff!important}
.tpa-mobile-drawer-intro span,.tpa-mobile-nav-icon{color:var(--dxh-red)!important}
.dxh-mobile-utility-links{display:flex;justify-content:space-between;gap:8px;padding:15px 16px 0}
.dxh-mobile-utility-links a{display:inline-flex;flex:1;justify-content:center;align-items:center;padding:10px;border:1px solid #eee;border-radius:8px;color:#273440;font-size:12px}
.dxh-mobile-call{background:var(--dxh-red);border-radius:8px}
/* light, wide multi-column footer, following reference */
.dxh-footer{background:#fff;color:#48535d;border-top:1px solid #e5e8eb}
.dxh-footer-grid{grid-template-columns:1.3fr .8fr .9fr 1.08fr;gap:38px;padding-top:39px;padding-bottom:30px}
.dxh-footer .dxh-brand{color:#17212b}
.dxh-footer .dxh-site-logo{width:173px;max-height:82px}
.dxh-footer-brand>p{margin:12px 0 16px;color:#66717c;font-size:12px;line-height:1.7}
.dxh-footer-contact a,.dxh-footer-contact>span{color:#49545f;font-size:12px}
.dxh-footer-contact .tpa-icon{color:var(--dxh-red)}
.dxh-footer-column h2{color:#1b2630;font-size:13px;margin-bottom:13px}
.dxh-footer-column ul{gap:9px}
.dxh-footer-column a{color:#69747e;font-size:11px;line-height:1.45}
.dxh-footer-column a:hover{color:var(--dxh-red)}
.dxh-branch-item{border-bottom-color:#ebedf0;padding-bottom:10px;margin-bottom:10px}
.dxh-branch-item strong{color:#202a34;font-size:11px}
.dxh-branch-item span,.dxh-footer-branches>p{color:#747e88;font-size:10px}
.dxh-footer-button{background:var(--dxh-red);border-radius:6px;font-size:11px!important}
.dxh-footer-bottom{border-top:1px solid #eff0f2}
.dxh-footer-bottom .tpa-container{min-height:50px;color:#9ca5ad}
.dxh-footer-bottom a{color:#929ba5}
@media(max-width:1300px){
 .dxh-header-main-inner{grid-template-columns:148px minmax(0,1fr) 142px 35px 108px;gap:5px}
 .dxh-site-logo{width:145px}
 .dxh-site-header .tpa-nav-control>a{padding-inline:5px;font-size:10px}
 .dxh-site-header .tpa-nav-item.is-current>.tpa-nav-control>a:after{left:5px;right:5px}
 .dxh-site-header .tpa-submenu-toggle{width:11px;margin-left:-5px}
 .dxh-header-quote{font-size:9px}
}
@media(max-width:1110px){
 .tpa-container{width:calc(100% - 40px)}
 .dxh-header-main-inner{grid-template-columns:177px minmax(0,1fr) 43px 120px;gap:15px;min-height:76px}
 .dxh-site-logo{width:165px}
 .dxh-site-header .dxh-navbar{display:none}
 .dxh-header-actions .dxh-cart-action{display:flex}
 .dxh-mobile-menu{display:grid;width:37px;height:37px;background:var(--dxh-red)}
 .dxh-header-actions{gap:7px}
 .dxh-topbar-center{display:none}
 .dxh-topbar-inner{display:flex;justify-content:space-between}
}
@media(max-width:760px){
 .dxh-header-main-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:9px;min-height:68px}
 .dxh-header-main .dxh-search{grid-column:1/-1;grid-row:2;margin-bottom:11px;height:38px}
 .dxh-header-main .dxh-search input{height:38px;font-size:12px!important}
 .dxh-header-actions{grid-column:3;grid-row:1}
 .dxh-header-quote{grid-column:2;grid-row:1;height:34px;padding:0 14px}
 .dxh-header-actions .dxh-cart-action{display:none}
 .dxh-topbar-left{font-size:8px}
 .dxh-topbar-right a:last-child{display:none}
 .dxh-topbar-right{gap:5px}
 .dxh-site-logo{width:159px;max-height:58px}
 .dxh-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;padding-top:32px}
 .dxh-footer-brand{grid-column:1/-1}
 .dxh-footer-branches{grid-column:auto}
}
@media(max-width:500px){
 .tpa-container{width:calc(100% - 28px)}
 .dxh-topbar-left{letter-spacing:0;font-size:7px}
 .dxh-topbar-right{font-size:9px}
 .dxh-topbar-right a{font-size:9px}
 .dxh-header-main-inner{min-height:61px;gap:6px}
 .dxh-site-logo{width:min(153px,100%);max-height:55px}
 .dxh-header-quote{font-size:9px;padding-inline:9px;gap:4px;min-width:100px}
 .dxh-mobile-menu{width:34px;height:34px}
 .dxh-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}
 .dxh-footer-brand{grid-column:1/-1}
 .dxh-footer-branches{grid-column:1/-1}
 .dxh-footer-bottom .tpa-container{padding:15px 0;align-items:flex-start;flex-direction:column}
}
