/* v167 · Mẫu Nano: menu đổ xuống (Chỉnh mẫu › Menu của mẫu › Kiểu menu con) — dùng chung giao diện mm-* với mẫu TMT. */
.mm-drop>.mm-panel{position:absolute;top:100%;left:0;right:0;z-index:40;background:#fff;box-shadow:0 14px 24px #0000001f;border-top:2px solid var(--sf-accent);padding:28px max(40px,calc((100vw - 1340px)/2));text-align:left;cursor:default;color:#101828;font-weight:400}
.mm-drop:not([open])>.mm-panel{display:none}
.mm-list{position:relative}
.mm-k-list>.mm-panel{left:50%;right:auto;transform:translateX(-50%);padding:10px 0;min-width:240px;max-width:380px;border-radius:0 0 12px 12px}
.mm-list-panel{display:flex;flex-direction:column;max-height:70vh;overflow:auto}
.mm-list-panel a{padding:9px 22px;font-size:14px;font-weight:600;color:#1d2939;white-space:nowrap}
.mm-list-panel a:hover{background:#f2f4f7;color:var(--sf-accent)}
.mm-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.mm-head strong,.mm-lines-nav strong{font-size:16px;font-weight:700;color:#101828}
.mm-all{font-size:13px;font-weight:600;color:var(--sf-accent)}
.mm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.mm-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;color:#101828}
.mm-card img{width:100%;height:140px;object-fit:contain}
.mm-card-name{font-size:14px;font-weight:600}
.mm-card-price{font-size:13px;color:#475467}
.mm-card-price b{color:var(--sf-accent);font-size:15px}
.mm-card:hover .mm-card-name{color:var(--sf-accent)}
.mm-panel[data-mm-lines]{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px}
.mm-lines-nav{display:flex;flex-direction:column;gap:2px;padding-right:16px}
.mm-lines-nav strong{padding:0 12px 10px}
.mm-lines-nav>a[data-mm-line]{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;font-size:14px;font-weight:600;color:#1d2939}
.mm-lines-nav>a[data-mm-line] i{margin-left:auto;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);flex:none}
.mm-lines-nav>a.is-active{background:var(--sf-accent);color:#fff}
.mm-lines-nav img{width:56px;height:36px;object-fit:contain;background:#fff;border-radius:4px;flex:none}
.mm-lines-nav small{font-weight:500;opacity:.85}
.mm-lines-nav .mm-all{margin-top:10px;padding:0 12px}
.mm-line{display:none}
.mm-line.is-active{display:block}
.mm-line h4{display:none}
.mm-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:center}
.mm-detail h3 a{color:#101828}
.mm-detail-price{font-size:20px;font-weight:700;color:var(--sf-accent);margin:0 0 10px}
.mm-promo{margin:0 0 10px;padding:0;list-style:none;color:#d92d20;font-style:italic;font-size:14px;line-height:1.6}
.mm-promo li::before{content:'– '}
.mm-specs{margin:0 0 16px;padding:0;list-style:none;font-size:14px;line-height:1.7;color:#344054}
.mm-specs li::before{content:'• '}
.mm-button{display:inline-block;padding:11px 26px;border-radius:8px;background:var(--sf-accent);color:#fff!important;font-weight:700}
.mm-detail-image img{width:100%;max-height:260px;object-fit:contain}
.mm-others{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mm-others a{display:flex;flex-direction:column;align-items:center;text-align:center;font-size:13px;gap:4px;color:#101828}
.mm-others img{height:80px;width:100%;object-fit:contain}
.mm-others b{color:var(--sf-accent)}
.mm-divider>.mm-lines-nav{border-right:1px solid #eaecf0}
.mm-panel .mm-lines-nav>strong{color:var(--sf-accent);text-transform:uppercase;letter-spacing:.3px}
.mm-lines-nav>a[data-mm-line]{transition:background-color .15s,color .15s}
.mm-lines-nav>a[data-mm-line]:not(.is-active):hover{background:#f2f4f7}
.mm-active-fill>.mm-lines-nav>a.is-active{background:var(--sf-accent);color:#fff;box-shadow:0 6px 14px color-mix(in srgb,var(--sf-accent) 28%,transparent)}
.mm-active-underline>.mm-lines-nav>a.is-active{background:none;color:var(--sf-accent);border-radius:0;box-shadow:inset 0 -2px 0 var(--sf-accent)}
.mm-active-text>.mm-lines-nav>a.is-active{background:none;color:var(--sf-accent)}
.mm-active-underline>.mm-lines-nav>a.is-active i,.mm-active-text>.mm-lines-nav>a.is-active i{opacity:.8}
.mm-panel.mm-wide .mm-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.mm-see-all{display:flex;width:max-content;margin:22px auto 0;color:var(--sf-accent);font-weight:600;border-radius:999px;transition:background-color .15s,color .15s}
.mm-see-all:hover{background:var(--sf-accent);color:#fff}
.mm-card{background:#f7f8fa;border-radius:12px;transition:background-color .15s,box-shadow .2s,transform .2s,border-color .15s}
.mm-card:hover{background:#fff;box-shadow:0 12px 26px #1018281f;transform:translateY(-3px)}
.mm-card img{mix-blend-mode:multiply;border-radius:8px}
.mm-grid{gap:20px}
.mm-head{padding-bottom:14px;margin-bottom:22px;border-bottom:1px solid #eaecf0}
.mm-panel .mm-head>strong{color:var(--sf-accent);text-transform:uppercase;letter-spacing:.3px}
/* Đầu trang Nano: bảng đổ xuống tràn ngang dưới đầu trang; tiêu đề mục giống các liên kết menu bên cạnh. */
body.nano-landing-page #header{--sf-accent:var(--c-accent,#1f3c88)}
body.nano-landing-page #header .vf-design-nav__links>.mm-drop{position:static;flex-shrink:0}
body.nano-landing-page #header .mm-drop>summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:var(--mm-link-size,12px);font-weight:var(--mm-link-weight,600);font-family:var(--mm-link-font,inherit);letter-spacing:var(--mm-link-spacing,normal);text-transform:var(--mm-link-case,none);padding:var(--mm-link-pad,22px 0);color:var(--mm-link-color,#19202c);white-space:nowrap}
body.nano-landing-page #header .mm-panel a{white-space:normal}
body.nano-landing-page #header .mm-card-name{overflow-wrap:anywhere}
body.nano-landing-page #header .mm-drop>summary::-webkit-details-marker{display:none}
body.nano-landing-page #header .mm-drop>summary i{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
body.nano-landing-page #header .mm-drop[open]>summary i{transform:rotate(-135deg) translateY(-1px)}
body.nano-landing-page #header .mm-drop[open]>summary,body.nano-landing-page #header .mm-drop>summary:hover{color:var(--c-accent,#1f3c88)}
body.nano-landing-page #header .mm-drop>.mm-panel{padding:28px max(24px,calc((100vw - 1200px)/2));z-index:120}
body.nano-landing-page #header .mm-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
body.nano-landing-page #header .mm-card{padding:14px;border-radius:12px;transition:background .15s}
body.nano-landing-page #header .mm-card:hover{background:#f4f6fa}
body.nano-landing-page #header .mm-card img{height:150px}
@media(max-width:860px){
 body.nano-landing-page #header #node-main-nav{justify-content:flex-start}
 body.nano-landing-page #header #node-main-nav>*{flex-shrink:0}
 body.nano-landing-page #header .vf-design-nav__links>.mm-drop{width:100%}
 body.nano-landing-page #header .mm-drop>summary{justify-content:space-between}
 body.nano-landing-page #header .mm-drop>.mm-panel{position:static;box-shadow:none;border-top:0;padding:4px 0 12px;transform:none;min-width:0;max-width:none}
 body.nano-landing-page #header .mm-panel[data-mm-lines]{display:block}
 body.nano-landing-page #header .mm-head{margin-bottom:10px}
 body.nano-landing-page #header .mm-head strong{display:none}
 body.nano-landing-page #header .mm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.nano-landing-page #header .mm-card{padding:8px;background:#f4f6fa}
 body.nano-landing-page #header .mm-card img{height:72px}
 body.nano-landing-page #header .mm-card-name{font-size:13px}
 body.nano-landing-page #header .mm-card-price{font-size:12px}
}

/* v175 · Cầu nối vô hình phủ hết bề ngang bảng, từ mép trên bảng lên tới chữ mục menu (chỉ khi bảng đang mở, trên máy tính) */
@media(min-width:861px){
 body.nano-landing-page #header .mm-drop[open]>.mm-panel::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:var(--mm-bridge,0px)}
}
