/* Mega Menu sản phẩm: 16 nhóm ABC, nội dung hiển thị theo nhóm. */
.dxh-site-header .tpa-nav-panel-product-taxonomy{width:min(800px,calc(100vw - 28px));max-height:min(78vh,560px);overflow:hidden;padding:13px;border-radius:15px;background:#fff}
.tpa37-mega-panel{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;min-height:280px;max-height:min(70vh,460px);font-family:inherit}
.tpa37-mega-roots{display:flex;flex-direction:column;gap:2px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0;border-radius:11px;padding:5px;background:#f6f7f9}
.tpa37-mega-root{width:100%;display:flex;align-items:center;justify-content:space-between;gap:7px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#283440;font-size:12px;font-weight:650;line-height:1.35;text-align:left;cursor:pointer;flex:0 0 auto}
.tpa37-mega-root span{font-size:18px;line-height:1;color:#9ba6b0}
.tpa37-mega-root:hover,.tpa37-mega-root:focus-visible{background:#fff1e7;color:#d95114}
.tpa37-mega-root.is-active{background:#fff;border-left:3px solid #f46921;padding-left:7px;box-shadow:0 2px 8px #1522310b;color:#e75c1b}
.tpa37-mega-details{min-width:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;padding:7px 8px 9px 1px}
.tpa37-mega-detail[hidden]{display:none!important}
.tpa37-mega-detail h3{margin:1px 0 15px;color:#14212c;font-size:18px;line-height:1.3;font-weight:800}
.tpa37-mega-subgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}
.tpa37-mega-subgroup{display:grid;align-content:start;gap:6px;min-width:0}
.tpa37-mega-subtitle{display:block;color:#1e2c39!important;font-size:12px;font-weight:800;line-height:1.45;text-decoration:none}
.tpa37-mega-subtitle:hover{color:#f46921!important}
.tpa37-mega-sublist{display:grid;gap:5px;padding-left:9px;border-left:1px solid #ebedf0}
.tpa37-mega-sublist a{font-size:11px;color:#617080!important;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.tpa37-mega-sublist a:hover{color:#f46921!important}
.tpa37-mega-sublist .is-deep{padding-left:9px;font-size:10px}
.tpa37-mega-empty{color:#788592;font-size:12px;line-height:1.6;margin:0 0 20px}
.tpa37-mega-showall{display:inline-flex;margin-top:19px;padding:11px 13px;color:#f46921!important;border:1px solid #f5d6c1;border-radius:8px;background:#fff8f3;font-size:12px;font-weight:800;text-decoration:none}
.tpa37-mega-showall:hover{background:#ffeede}
.tpa37-mobile-product-group,.tpa37-mobile-product-sub{border-bottom:1px solid #e9ebee}
.tpa37-mobile-product-group summary,.tpa37-mobile-product-sub summary{position:relative;padding:13px 25px 13px 12px;cursor:pointer;list-style:none;font-size:13px;font-weight:750;color:#263340}
.tpa37-mobile-product-group summary::-webkit-details-marker,.tpa37-mobile-product-sub summary::-webkit-details-marker{display:none}
.tpa37-mobile-product-group summary::after,.tpa37-mobile-product-sub summary::after{content:'+';position:absolute;right:12px;top:10px;font-size:18px;color:#f46921}
.tpa37-mobile-product-group[open]>summary::after,.tpa37-mobile-product-sub[open]>summary::after{content:'−'}
.tpa37-mobile-product-group>a,.tpa37-mobile-product-sub>a{display:block!important;padding:9px 14px!important;color:#5f6d78!important;font-size:12px!important}
.tpa37-mobile-product-group .tpa37-mobile-product-all{color:#e95c1c!important;font-weight:800!important}
.tpa37-mobile-product-sub{margin-left:12px}.tpa37-mobile-product-sub summary{font-size:12px;padding-block:10px}
.tpa37-mobile-product-sub .is-deep{padding-left:27px!important}
@media(max-width:1199px){.dxh-site-header .tpa-nav-panel-product-taxonomy{display:none!important}}
@media(max-width:650px){.tpa37-mega-panel{grid-template-columns:1fr}}
/* General page structure: no unused blank canvas underneath the footer. */
html{min-height:100%;}
body.tpa-site{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;margin:0}
body.tpa-site>main{flex:1 0 auto;min-height:0}
body.tpa-site>.dxh-footer{flex:0 0 auto;margin-top:auto}
