/* TMT · Xe máy điện — lớp giao diện kiểu YADEA trên nền showroom-template.css */
body.sf-site.tmt-site{--sf-accent:#00a651;--tmt-dark:var(--c-dark,#101418);--tmt-soft:var(--c-soft,#eef7f1);background:#fff}
body.sf-site.tmt-site #homepage-layout{background:#fff}
body.tmt-site #header{background:#fff;box-shadow:0 1px 0 rgba(16,20,24,.08)}
.tmt-topbar{background:var(--tmt-dark)}
.tmt-topbar>.sf-container{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.tmt-topbar nav{display:flex;align-items:center;gap:28px;height:100%}
.tmt-top-hotline{display:flex;align-items:center;gap:8px;font-size:12px;color:#cfd6dc}
.tmt-top-hotline b{color:#fff;font-weight:700;letter-spacing:.3px}
.tmt-top-hotline svg{width:16px;height:16px;color:var(--sf-accent)}
.tmt-header .sf-mainbar{height:76px}
.tmt-header .sf-primary-menu>a,.tmt-header .sf-mega>summary{font-weight:700;letter-spacing:.2px}
.tmt-header .sf-primary-menu>a:hover,.tmt-header .sf-mega>summary:hover{color:var(--sf-accent)}
.tmt-header .sf-header-actions{display:flex;align-items:center;gap:14px}
.tmt-shops{display:flex;gap:8px}
.tmt-shop{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border:1px solid #d9dde1;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;transition:border-color .2s,color .2s}
.tmt-shop svg{width:16px!important;height:16px!important}
.tmt-shop:hover{border-color:var(--sf-accent);color:var(--sf-accent)}
.tmt-nav-shops{display:none}
.tmt-header .sf-header-actions .tmt-drive{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 16px;border:0;border-radius:999px;background:var(--sf-accent);color:#fff;font-size:12px;font-weight:700;letter-spacing:.4px;white-space:nowrap;transition:filter .2s}
.tmt-header .sf-header-actions .tmt-drive svg{width:16px!important;height:16px!important}
.tmt-header .sf-header-actions .tmt-drive:hover{filter:brightness(1.08)}
.tmt-site .sf-testdrive{background:var(--sf-accent)}

/* Khối tiêu đề + tab dòng xe */
.tmt-site .sf-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}
.tmt-site .sf-section h2{position:relative}
.tmt-site .sf-section-heading h2::after,.tmt-site .sf-news>h2::after,.tmt-site .sf-featured>h2::after{content:"";display:block;width:56px;height:4px;margin-top:12px;background:var(--sf-accent);border-radius:2px}
.tmt-site .sf-news>h2::after,.tmt-site .sf-featured>h2::after{margin-left:auto;margin-right:auto}
.tmt-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:4px;background:#f1f3f4;border-radius:999px}
.tmt-tabs button{border:0;background:transparent;border-radius:999px;padding:8px 18px;font-size:13px;font-weight:600;color:#4a525a}
.tmt-tabs button[aria-pressed=true]{background:#fff;color:var(--sf-accent);box-shadow:0 1px 4px rgba(0,0,0,.08)}

/* Thẻ sản phẩm */
.tmt-site .sf-product{background:#f6f7f8;border-radius:16px;padding:18px 20px 22px;transition:box-shadow .25s,transform .25s}
.tmt-site .sf-product:hover{box-shadow:0 14px 34px rgba(16,20,24,.1);transform:translateY(-3px)}
.tmt-site .sf-product-picture{position:relative}
.tmt-badge{position:absolute;top:8px;right:8px;z-index:2;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.5px;color:#fff;background:var(--sf-accent)}
.tmt-badge-hot{background:#e53935}
.tmt-badge-sale{background:#f59e0b;color:#1b1300}
.tmt-site .sf-product-price{color:var(--sf-accent);font-weight:700}
.tmt-site .sf-buy{border-color:var(--sf-accent);color:var(--sf-accent);border-radius:999px}
.tmt-site .sf-buy:hover{background:var(--sf-accent);color:#fff}
.tmt-site .sf-product[data-tmt-hidden]{display:none}

/* Ô sản phẩm mới */
.tmt-site .sf-featured-card{border-radius:18px;overflow:hidden}

/* Số liệu nổi bật: dải tối như "hành trình xanh" */
.tmt-site .sf-impact{background:linear-gradient(120deg,var(--c-dark,color-mix(in srgb,var(--sf-accent) 35%,#000)),color-mix(in srgb,var(--sf-accent) 55%,var(--c-dark,#000)) 55%,var(--sf-accent));color:#fff}
.tmt-site .sf-impact strong{color:#fff}
.tmt-site .sf-impact span{color:color-mix(in srgb,var(--sf-accent) 20%,#fff)}

/* Cửa hàng & hỗ trợ */
.tmt-site .sf-support article{background:var(--tmt-soft);border-radius:20px;padding:44px 32px}
.tmt-site .sf-support svg{color:var(--sf-accent)}
.tmt-site .sf-news-card img{border-radius:14px}

/* Chân trang */
.tmt-footer{background:var(--tmt-dark)}
.tmt-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.tmt-socials a{padding:6px 12px;border:1px solid #2c343b;border-radius:999px;font-size:11px;font-weight:600;color:#dfe5ea}
.tmt-socials a:hover{border-color:var(--sf-accent)}

@media(max-width:1360px){.tmt-shop span{display:none}.tmt-shop{width:34px;padding:0;justify-content:center}}
@media(max-width:1200px){.tmt-shops{display:none}.tmt-nav-shops{display:flex}}
@media(min-width:901px){.tmt-nav-shops{display:none}}
@media(max-width:900px){
 .tmt-header .sf-mainbar{height:68px}
 .tmt-header .sf-header-actions .tmt-drive span{display:none}.tmt-header .sf-header-actions .tmt-drive{width:38px;padding:0;justify-content:center}
 .tmt-header.sf-menu-open .tmt-nav-shops{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}
 .tmt-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.tmt-tabs button{white-space:nowrap}
}
@media(max-width:600px){.tmt-site .sf-product{padding:14px 14px 18px}.tmt-site .sf-support article{padding:32px 22px}}
@media(prefers-reduced-motion:reduce){.tmt-site .sf-product{transition:none}.tmt-site .sf-product:hover{transform:none}}
.tmt-nav-shops .tmt-shop{width:auto;padding:0 12px}.tmt-nav-shops .tmt-shop span{display:inline}

/* v104: trang danh mục, chi tiết, liên kết "xem tất cả" */
.tmt-more{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--sf-accent)}
.tmt-more svg{width:18px!important;height:18px!important}
.tmt-site .sf-news>.tmt-more-center{display:flex;justify-content:center;margin:-18px 0 26px}
.tmt-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:#69737c;padding:22px 0 6px}
.tmt-crumbs a:hover{color:var(--sf-accent)}
.tmt-crumbs span:last-child{color:#101418;font-weight:600}
.pd-crumbs{padding-bottom:16px}
.tmt-catalog{padding-top:0}
.tmt-catalog h1{font-size:clamp(28px,3.2vw,44px);line-height:1.15;margin:8px 0 0;text-transform:uppercase}
.tmt-catalog .sf-section-heading h1::after{content:"";display:block;width:56px;height:4px;margin-top:12px;background:var(--sf-accent);border-radius:2px}
.tmt-catalog-count{color:#69737c;font-size:14px;margin:14px 0 22px}
.tmt-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tmt-catalog-grid .sf-product{flex:none;width:auto}
@media(max-width:1000px){.tmt-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tmt-catalog-grid{grid-template-columns:1fr}.tmt-site .sf-news>.tmt-more-center{margin:-10px 0 18px}}

/* v105: khối nội dung & độ rộng trong bố cục TMT */
.tmt-site #homepage-layout>.nano-row{margin-top:clamp(40px,5vw,64px);margin-bottom:clamp(40px,5vw,64px);align-items:start}
.tmt-site .nano-row>.tmt-col>*{width:100%}
.tmt-site .nano-row .sf-container{width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
.tmt-site .nano-row .sf-section{margin:0;padding:0}
.tmt-site .nano-row .sf-support{display:grid;grid-template-columns:1fr;gap:18px}
.tmt-site .nano-row .sf-featured-grid{grid-template-columns:1fr}
.tmt-site .nano-row .sf-product{flex-basis:min(300px,85%)}
.tmt-free-block .rich-content img{max-width:100%;height:auto;border-radius:14px}
@media(max-width:860px){.tmt-site #homepage-layout>.nano-row{margin:28px 0}.tmt-site #homepage-layout>.nano-row>.tmt-col+.tmt-col{margin-top:28px}.tmt-site .nano-row .sf-container{width:calc(100% - 32px);margin:0 auto}}

/* v107 · News layouts in the TMT look: underline under the heading like other TMT sections. */
.tmt-site .sfn .sfn-head{align-items:flex-end}
.tmt-site .sfn .sfn-head h2{border-left:0;padding-left:0}
.tmt-site .sfn .sfn-head h2::after{content:"";display:block;width:56px;height:4px;margin-top:12px;background:var(--sf-accent);border-radius:2px}
.tmt-site .sfn-card>a{border-radius:14px}

/* v136 · bộ lọc dòng xe */
.tmt-filter-bar{display:flex;align-items:center;gap:16px;margin:22px 0 30px;padding:0 0 20px;border-bottom:1px solid #e4e7ec}
.tmt-filter-label{display:inline-flex;align-items:center;gap:8px;flex:none;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#667085}
.tmt-filter-label::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E") center/contain no-repeat}
.tmt-filter-bar .tmt-tabs{gap:10px;padding:0;background:none;border-radius:0}
.tmt-filter-bar .tmt-tabs button{padding:9px 20px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#344054;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;box-shadow:none;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s}
.tmt-filter-bar .tmt-tabs button:hover{border-color:var(--sf-accent);color:var(--sf-accent)}
.tmt-filter-bar .tmt-tabs button[aria-pressed=true]{background:var(--sf-accent);border-color:var(--sf-accent);color:#fff;box-shadow:0 6px 14px color-mix(in srgb,var(--sf-accent) 30%,transparent)}
.tmt-filter-bar .tmt-tabs button:focus-visible{outline:2px solid var(--sf-accent);outline-offset:2px}
.tmt-catalog .tmt-filter-bar{margin-top:18px}
.tmt-site .sf-section-heading:has(>.tmt-more){flex-wrap:nowrap;align-items:center;margin-bottom:40px}
.tmt-site .sf-section-heading:has(>.tmt-more)>h2{margin-bottom:0}
.tmt-site .sf-section-heading:has(>.tmt-more)+.tmt-filter-bar{margin-top:26px}
.tmt-site .sf-section-heading:has(>.tmt-more):has(+.tmt-filter-bar){margin-bottom:0}
.tmt-site .sf-section-heading>.tmt-more{flex:none;white-space:nowrap}
@media(max-width:600px){.tmt-site .sf-section-heading:has(>.tmt-more){flex-wrap:wrap;align-items:flex-end;gap:12px}}
@media(max-width:760px){.tmt-filter-bar{margin:16px 0 20px;padding-bottom:14px;gap:10px}.tmt-filter-label{display:none}.tmt-filter-bar .tmt-tabs{gap:8px}.tmt-filter-bar .tmt-tabs button{padding:8px 16px;font-size:13px}}

/* v140 · chân trang: biểu tượng trước từng dòng, đoạn giới thiệu */
.tmt-footer .sf-footer-top :is(a,button,p,strong):has(>.tmt-fi){display:flex;align-items:center;gap:10px}
.tmt-footer .sf-footer-top p:has(>.tmt-fi){align-items:flex-start}
.tmt-footer .tmt-fi{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--sf-accent) 16%,transparent);color:var(--sf-accent)}
.tmt-footer .tmt-fi svg{width:16px;height:16px}
.tmt-footer .sf-footer-top p:has(>.tmt-fi)>span:last-child{padding-top:4px}
.tmt-footer .tmt-fi.tmt-fi-plain{width:14px;height:14px;border-radius:0;background:none}
.tmt-footer .tmt-fi.tmt-fi-plain svg{width:14px;height:14px}
.tmt-footer .sf-footer-top :is(a,button):has(>.tmt-fi){transition:color .15s,transform .15s}
.tmt-footer .sf-footer-top :is(a,button):has(>.tmt-fi-plain):hover{transform:translateX(3px)}
.tmt-footer .sf-footer-top :is(a,button):hover>.tmt-fi:not(.tmt-fi-plain){background:var(--sf-accent);color:#fff}
.tmt-footer .tmt-footer-about{margin:-4px 0 6px;line-height:1.65;color:inherit;opacity:.9;max-width:340px}
.tmt-footer .tmt-socials:has(.tmt-fi){display:flex;flex-direction:column;gap:10px}

/* v153 · Dải liên hệ đầu chân trang */
.tmt-footer .tmt-footer-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;border-bottom:1px solid rgba(255,255,255,.12)}
/* dải nằm sát mép trên chân trang; các cột cách đường kẻ một khoảng như mẫu */
.tmt-footer:has(>.tmt-footer-bar){padding-top:8px}
.tmt-footer .tmt-footer-bar{margin-bottom:46px}
@media(max-width:900px){.tmt-footer .tmt-footer-bar{margin-bottom:34px}}
.tmt-footer .tmt-fbar-contact{display:flex;align-items:center;flex-wrap:wrap;row-gap:12px}
.tmt-footer .tmt-fbar-contact a{display:flex;align-items:center;gap:10px;color:#fff;font-size:17px;font-weight:600;text-decoration:none;line-height:1.3}
.tmt-footer .tmt-fbar-contact a+a{margin-left:28px;padding-left:28px;border-left:1px solid rgba(255,255,255,.22)}
.tmt-footer .tmt-fbar-contact a:hover span{text-decoration:underline;text-underline-offset:4px}
.tmt-footer .tmt-fbar-contact svg{width:20px;height:20px;flex:none;color:var(--sf-accent)}
.tmt-footer .tmt-fbar-social{display:flex;gap:12px;flex:none}
.tmt-footer .tmt-fbar-social a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;transition:background .2s,color .2s}
.tmt-footer .tmt-fbar-social a:hover{background:var(--sf-accent);color:#fff}
.tmt-footer .tmt-fbar-social svg{width:20px;height:20px}
@media(max-width:900px){.tmt-footer .tmt-footer-bar{flex-direction:column;align-items:flex-start;gap:18px}.tmt-footer .tmt-fbar-contact{flex-direction:column;align-items:flex-start}.tmt-footer .tmt-fbar-contact a+a{margin-left:0;padding-left:0;border-left:0}.tmt-footer .tmt-fbar-contact a{font-size:16px;word-break:break-word}}
