/*
 * NhatDX Themes — CSS nền (mọi trang).
 * Màu lấy từ biến --nt-* (inc/skins.php in ra theo bộ giao diện). Không dùng !important trừ vài chỗ phải thắng CSS của plugin khác.
 * Mục lục: 1 font · 2 nền & chữ · 3 khung · 4 nút & ô nhập · 5 đầu trang máy tính + menu ngang · 6 đầu trang điện thoại
 *          7 tìm nhanh · 8 footer · 9 liên hệ nổi & thanh đáy · 10 ngăn giỏ · 11 thẻ sản phẩm · 12 slide · 13 tiêu đề khối
 *          14 đường dẫn, phân trang, nhãn · 15 cột bên & widget · 16 trợ năng & chuyển động
 */

/* ---------- 1. Font (tự lưu, chỉ tải bảng chữ cần) ---------- */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 2. Nền & chữ ---------- */
:root {
  --nt-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nx-font: var(--nt-font);   /* các phần của NhatDX System (cảm ơn, thanh toán, chọn địa chỉ…) dùng chung font của theme */
  --nx-serif: var(--nt-font); --nxe-sans: var(--nt-font);   /* nội dung cũ có CSS riêng gọi font chữ có chân → dùng font của web */
  --nt-w: 1400px; --nt-pad: 30px; --nt-r: 14px; --nt-r-lg: 20px;
  --nt-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  --nt-p-l: #FBEBD8;             /* nền nút giỏ trên thẻ */
  --nt-del: #A8988A;             /* giá gạch */
}
/* Màu của NhatDX Builder theo bộ giao diện (html:root thắng :root của plugin) */
html:root { --nb-accent: var(--nt-p); --nb-accent-ink: #fff; --nb-dark: var(--nt-ink); --nb-container: calc(var(--nt-w) - 2 * var(--nt-pad)); --nb-gutter: var(--nt-pad); --nb-radius: var(--nt-r-lg); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html { -webkit-tap-highlight-color: transparent; }   /* điện thoại: bỏ khung màu nháy lên khi chạm nút / liên kết */
body { margin: 0; font-family: var(--nt-font); font-size: 16px; line-height: 1.6; color: var(--nt-ink); background: var(--nt-bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.25; color: var(--nt-ink); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(26px, 3vw, 34px); }:where(html.nt-desk) h1{font-size: clamp(26px, max(3vw, 36px), 34px)} h2 { font-size: clamp(21px, 2.2vw, 26px); }:where(html.nt-desk) h2{font-size: clamp(21px, max(2.2vw, 26.4px), 26px)} h3 { font-size: 19px; letter-spacing: 0; } h4 { font-size: 17px; letter-spacing: 0; }
h1 em, h2 em, h1 i, h2 i { font-style: normal; color: var(--nt-p); }
p { margin: 0 0 1em; }
a { color: var(--nt-p-d); text-decoration: none; }
a:hover { color: var(--nt-p); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nt-skip:focus { position: fixed !important; z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--nt-ink); box-shadow: var(--nt-shadow); }
.nt-main { display: block; min-height: 40vh; }
.nt-nw { white-space: nowrap; }

/* ---------- 3. Khung ---------- */
.nt-wrap { width: 100%; max-width: var(--nt-w); margin: 0 auto; padding: 0 var(--nt-pad); }
@media (max-width: 849px) { :root:where(:not(.nt-desk)){ --nt-pad: 15px; } }

/* ---------- 4. Nút & ô nhập ---------- */
.nt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; text-align: center; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.nt-btn--p { background: var(--nt-p); color: #111; }
.nt-btn--p:hover { background: var(--nt-p-d); color: #111; }
.nt-btn--a { background: var(--nt-a); color: #fff; }
.nt-btn--a:hover { background: var(--nt-a-d); color: #fff; }
.nt-btn--dark { background: var(--nt-ink); color: #fff; }
.nt-btn--dark:hover { background: #000; color: #fff; }
.nt-btn--line { background: #fff; border-color: var(--nt-p); color: var(--nt-p-t); }
.nt-btn--line:hover { background: #FFF4E6; color: var(--nt-p-t); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], input[type=url], select, textarea {
  max-width: 100%; padding: 11px 14px; border: 1.5px solid var(--nt-line2); border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--nt-p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nt-p) 16%, transparent); }
:focus-visible { outline: 2px solid var(--nt-p); outline-offset: 2px; }
.nt-sform { display: flex; max-width: 520px; margin: 0 auto 18px; border: 1px solid var(--nt-line); border-radius: 999px; background: var(--nt-sand); padding: 3px; }
.nt-sform input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; padding: 0 16px; }
.nt-sform button { width: 46px; height: 44px; border-radius: 999px; border: 1px solid var(--nt-line2); background: #fff; display: grid; place-items: center; cursor: pointer; }

/* ---------- 5. Đầu trang máy tính ---------- */
.nt-hdr { position: relative; z-index: 50; }
.nt-top { background: var(--nt-top-bg, var(--nt-ink)); color: var(--nt-top-c, #F8F1E7); font-size: 13px; line-height: 1.6; }
.nt-top-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 36px; }
.nt-top-l, .nt-top-r { display: flex; align-items: center; gap: 7px 16px; flex-wrap: wrap; min-width: 0; }
.nt-top-r { justify-content: flex-end; margin-left: auto; }
.nt-top-l > svg, .nt-top-r > svg, .nt-top svg { color: #D9A066; vertical-align: -2px; }
.nt-top a { color: var(--nt-top-c, #F8F1E7); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nt-top a:hover { color: #F3D9B8; }
.nt-top p { margin: 0; }
.nt-top .nt-top-btn { padding: 2px 12px; border: 1px solid rgba(248,241,231,.35); border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.nt-top .nt-top-btn:hover { background: rgba(248,241,231,.1); border-color: rgba(248,241,231,.6); }
.nt-hd { background: var(--nt-hd-bg, var(--nt-paper)); border-bottom: 1px solid #EADDCB; }
.nt-hd-in { display: flex; align-items: center; gap: 26px; min-height: 115px; }
.nt-logo { flex: 0 0 auto; display: block; line-height: 0; }
.nt-logo-img { display: block; height: 110px; width: auto; max-width: 340px; object-fit: contain; }
.nt-logo-text { font-size: 24px; font-weight: 800; color: var(--nt-ink); line-height: 1.2; }
.nt-search { position: relative; flex: 1 1 auto; max-width: 640px; margin-left: 10px; display: flex; align-items: stretch; height: 52px; padding: 3px; background: var(--nt-sand); border: 1px solid var(--nt-line); border-radius: 999px; }
.nt-cats-btn { flex: 0 0 48px; display: flex; align-items: center; justify-content: center; border: 0; border-right: 1px solid var(--nt-line); border-radius: 999px 0 0 999px; background: transparent; color: var(--nt-p); cursor: pointer; }
.nt-cats-btn:hover, .nt-cats-btn[aria-expanded=true] { background: var(--nt-paper); }
.nt-burger, .nt-burger::before, .nt-burger::after { display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
.nt-burger { position: relative; }
.nt-burger::before, .nt-burger::after { content: ""; position: absolute; left: 0; }
.nt-burger::before { top: -6px; } .nt-burger::after { top: 6px; }
.nt-search .nt-search-in { flex: 1; min-width: 0; height: auto; padding: 0 16px; border: 0; background: transparent; font-size: 15.5px; color: var(--nt-ink); box-shadow: none; }
.nt-search .nt-search-in:focus { box-shadow: none; outline: none; }
.nt-search:focus-within { border-color: var(--nt-p); box-shadow: 0 0 0 3px rgba(201, 123, 50, .16); }
.nt-search-in::placeholder { color: #8C7B6B; }
.nt-search-go { flex: 0 0 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--nt-line2); border-radius: 999px; background: #fff; color: #2B211A; cursor: pointer; transition: background .2s, border-color .2s; }
.nt-search-go:hover { background: #FFF4E6; border-color: var(--nt-p); }
.nt-acts { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nt-hotline { display: flex; align-items: center; gap: 10px; height: 52px; padding: 7px 14px 7px 8px; border: 1px solid var(--nt-a-b); border-radius: 999px; background: var(--nt-a-l); color: #342A22; line-height: 1.25; transition: background .2s; }
.nt-hotline:hover { background: color-mix(in srgb, var(--nt-a-l) 70%, var(--nt-a-b)); color: #342A22; }
.nt-hotline-ic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--nt-a); color: #fff; }
.nt-hotline-ic::after { content: ""; position: absolute; top: 0; right: 0; width: 10px; height: 10px; border: 2px solid var(--nt-a-l); border-radius: 50%; background: #34D06B; }
.nt-hotline-tx { display: flex; flex-direction: column; gap: 2px; }
.nt-hotline-tx small { font-size: 11.5px; font-weight: 600; color: var(--nt-a-d); }
.nt-hotline-tx strong { font-size: 17px; font-weight: 700; color: var(--nt-a-d); letter-spacing: .01em; }
.nt-act { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 8px 16px; border: 1px solid var(--nt-line2); border-radius: 999px; background: #fff; color: #2B211A; font-size: 13.5px; font-weight: 600; line-height: 1.25; transition: background .2s, border-color .2s; }
.nt-act:hover { background: #FFF4E6; border-color: var(--nt-p); color: #2B211A; }
.nt-cart { gap: 12px; }
.nt-cart-ic { position: relative; display: flex; }
/* Số món trong giỏ (đầu trang máy tính, điện thoại, thanh đáy) */
.nt-cart-n { position: absolute; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid var(--nt-paper); border-radius: 999px; background: var(--nt-p); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 15px; text-align: center; transform: scale(0); transition: transform .2s; }
.nt-cart-n.is-on { transform: none; }
.nt-cart-ic .nt-cart-n { top: -8px; right: -10px; min-width: 18px; height: 18px; border: 0; background: #F3D9B8; color: var(--nt-ink); font-size: 11px; line-height: 18px; }
.nt-cart-tx { display: flex; flex-direction: column; }
.nt-cart-tx small { font-size: 12px; font-weight: 600; }
.nt-cart-t { font-size: 13.5px; font-weight: 700; }
.nt-account { color: #4E3F34; border-color: #EAE6E1; }

/* Thanh menu */
.nt-nav { background: var(--nt-hd-bg, var(--nt-paper)); border-bottom: 1px solid #EADDCB; }
.nt-nav-in { position: relative; }
.nt-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
.nt-menu > li { position: relative; }
.nt-menu > li > a { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; margin: 7px 0; padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--nt-ink); transition: color .2s; }
.nt-menu > li > a:hover, .nt-menu > li.current-menu-item > a, .nt-menu > li.current-menu-ancestor > a, .nt-menu > li.current-menu-parent > a, .nt-menu > li.current_page_parent > a { color: var(--nt-p); }
.nt-mi { color: var(--nt-p); opacity: .92; }
.nt-caret { margin-left: -3px; opacity: .7; transition: transform .2s; }
.nt-menu > li:hover > a .nt-caret { transform: rotate(180deg); }
.nt-menu .sub-menu { position: absolute; z-index: 60; top: calc(100% - 4px); left: 0; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--nt-line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(46, 33, 24, .25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nt-menu > li:hover > .sub-menu, .nt-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nt-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--nt-ink); font-size: 14.5px; font-weight: 500; }
.nt-menu .sub-menu a:hover { background: var(--nt-sand); color: var(--nt-p-d); }
.nt-menu .sub-menu .sub-menu { top: -9px; left: 100%; }
.nt-menu .sub-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nt-magic { position: absolute; bottom: 6px; left: 0; width: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #D18B45, #fff); box-shadow: 0 0 10px rgba(209, 139, 69, .7); opacity: 0; pointer-events: none; transition: left .35s cubic-bezier(.4, 0, .2, 1), width .35s cubic-bezier(.4, 0, .2, 1), opacity .25s; }
.nt-magic.no-anim { transition: none !important; }

/* Màn vừa (laptop nhỏ, máy tính bảng ngang): thu gọn để header không xuống dòng */
@media (min-width: 850px) and (max-width: 1279px) {
  .nt-hd-in { gap: 16px; min-height: 96px; }
  .nt-logo-img { height: 84px; max-width: 250px; }
  .nt-search { margin-left: 0; }
  .nt-hotline { padding: 7px; }
  .nt-hotline-tx, .nt-cart-tx, .nt-account span { display: none; }
  .nt-act { padding: 8px 14px; }
  .nt-menu > li > a { gap: 5px; padding: 8px 9px; font-size: 13.5px; letter-spacing: .02em; }
}@media (max-width:1279px){
  :where(html.nt-desk) .nt-hd-in{ gap: 16px; min-height: 96px; }
  :where(html.nt-desk) .nt-logo-img{ height: 84px; max-width: 250px; }
  :where(html.nt-desk) .nt-search{ margin-left: 0; }
  :where(html.nt-desk) .nt-hotline{ padding: 7px; }
  :where(html.nt-desk) .nt-hotline-tx,:where(html.nt-desk) .nt-cart-tx,:where(html.nt-desk) .nt-account span{ display: none; }
  :where(html.nt-desk) .nt-act{ padding: 8px 14px; }
  :where(html.nt-desk) .nt-menu > li > a{ gap: 5px; padding: 8px 9px; font-size: 13.5px; letter-spacing: .02em; }
}
@media (min-width: 850px) and (max-width: 1099px) {
  :where(html:not(.nt-desk)) .nt-mi{ display: none; }
  :where(html:not(.nt-desk)) .nt-menu > li > a{ padding: 8px 6px; font-size: 12.5px; letter-spacing: 0; }
}


/* Bảng danh mục (nút ☰) */
.nt-cats { position: absolute; z-index: 70; top: calc(100% + 8px); left: 0; width: min(330px, 100%); max-height: 70vh; overflow: auto; padding: 8px; background: #fff; border: 1px solid var(--nt-line); border-radius: 16px; box-shadow: 0 22px 44px -16px rgba(46, 33, 24, .3); }
.nt-cats-list, .nt-cats-list ul { margin: 0; padding: 0; list-style: none; }
.nt-cats-list > li > a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 700; color: var(--nt-ink); }
.nt-cats-list > li > a:hover { background: var(--nt-sand); }
.nt-cats-list .sub-menu { padding: 0 0 6px 12px; }
.nt-cats-list .sub-menu a { display: block; padding: 7px 12px; border-radius: 8px; font-size: 14.5px; color: var(--nt-body); }
.nt-cats-list .sub-menu a:hover { background: var(--nt-sand); color: var(--nt-p-d); }

/* ---------- 6. Đầu trang điện thoại ---------- */
.nt-mh { display: none; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-hdr{ display: none; }
  :where(html:not(.nt-desk)) body.nt{ padding-top: 54px; }   :where(html:not(.nt-desk)) /* body.nt: thắng "body{padding:0}:where(html:not(.nt-desk)) " của global-styles WordPress (trang có khối Gutenberg) — kẻo header điện thoại che đường dẫn */
  .nt-mh{ display: block; position: fixed; z-index: 9990; top: 0; left: 0; right: 0; padding: 8px 12px; background: var(--nt-mh-bg, var(--nt-p)); transition: box-shadow .2s; }
  :where(html:not(.nt-desk)) .admin-bar .nt-mh{ top: var(--wp-admin--admin-bar--height, 46px); }
  :where(html:not(.nt-desk)) .nt-mh.is-scrolled{ box-shadow: 0 2px 10px rgba(53, 39, 28, .25); }
  :where(html:not(.nt-desk)) .nt-mh-top{ display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  :where(html:not(.nt-desk)) .nt-mh-btn{ position: relative; flex: 0 0 38px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--nt-paper); color: var(--nt-p); box-shadow: 0 2px 8px rgba(50, 36, 26, .18); cursor: pointer; }
  :where(html:not(.nt-desk)) .nt-mh-btn .nt-burger{ width: 17px; }
  :where(html:not(.nt-desk)) .nt-mh-btn[aria-expanded=true] .nt-burger{ background: transparent; }
  :where(html:not(.nt-desk)) .nt-mh-btn[aria-expanded=true] .nt-burger::before{ top: 0; transform: rotate(45deg); }
  :where(html:not(.nt-desk)) .nt-mh-btn[aria-expanded=true] .nt-burger::after{ top: 0; transform: rotate(-45deg); }
  :where(html:not(.nt-desk)) .nt-burger::before,:where(html:not(.nt-desk)) .nt-burger::after{ transition: transform .2s, top .2s; }
  :where(html:not(.nt-desk)) .nt-mh-find .nt-i-x,:where(html:not(.nt-desk)) .nt-mh-find[aria-expanded=true] .nt-i-find{ display: none; }
  :where(html:not(.nt-desk)) .nt-mh-find[aria-expanded=true] .nt-i-x{ display: block; }
  :where(html:not(.nt-desk)) .nt-mh-logo{ flex: 1; display: flex; justify-content: center; min-width: 0; }
  :where(html:not(.nt-desk)) .nt-mh-logo-img{ display: block; height: 38px; width: auto; max-width: 100%; padding: 4px 14px; background: var(--nt-paper); border-radius: 12px; box-shadow: 0 2px 8px rgba(46, 33, 24, .14); object-fit: contain; }
  :where(html:not(.nt-desk)) .nt-mh-cart .nt-cart-n{ top: -3px; right: -3px; border: 0; background: var(--nt-ink); color: #FBF8F3; line-height: 19px; box-shadow: 0 0 0 2px var(--nt-paper); }
  :where(html:not(.nt-desk)) .nt-mh-cart svg{ transform: translateX(-1.25px); }   /* giỏ hàng lệch phải về mặt thị giác (thân giỏ to bên phải, quai nhỏ bên trái): bù để nhìn đúng giữa nút */
  :where(html:not(.nt-desk)) .nt-mh-sx{ position: absolute; left: 0; right: 0; top: 100%; padding: 8px 12px 10px; background: var(--nt-p); box-shadow: 0 10px 22px rgba(30, 20, 10, .16); }
  :where(html:not(.nt-desk)) .nt-mh-bar{ position: relative; display: flex; align-items: stretch; height: 44px; background: var(--nt-sand); border: 1px solid var(--nt-line); border-radius: 999px; }
  :where(html:not(.nt-desk)) .nt-mh-bar .nt-search-in,:where(html:not(.nt-desk)) .nt-mh-bar .nt-search-in:focus{ flex: 1; min-width: 0; height: auto; margin: 0; padding: 0 16px; border: 0 !important; border-radius: 999px; background: transparent !important; box-shadow: none !important; outline: none; font-size: 16px; color: var(--nt-ink); }
  :where(html:not(.nt-desk)) .nt-mh-bar:focus-within{ border-color: var(--nt-p-d); }
  :where(html:not(.nt-desk)) .nt-mh-go{ flex: 0 0 44px; border: 0; border-radius: 999px; background: var(--nt-p-d); color: #fff; display: grid; place-items: center; }
  :where(html:not(.nt-desk)) .nt-mh-panel{ position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 54px); overflow: auto; padding: 8px 10px 14px; background: #fff; border-radius: 0 0 18px 18px; box-shadow: 0 18px 30px rgba(30, 20, 10, .2); }
  :where(html:not(.nt-desk)) .nt-mh-menu,:where(html:not(.nt-desk)) .nt-mh-menu ul{ margin: 0; padding: 0; list-style: none; }
  :where(html:not(.nt-desk)) .nt-mh-menu > li > a{ display: block; padding: 12px 10px; font-weight: 700; color: var(--nt-ink); border-bottom: 1px solid #F3EDE4; }
  :where(html:not(.nt-desk)) .nt-mh-menu .sub-menu{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 0 10px; }
  :where(html:not(.nt-desk)) .nt-mh-menu .sub-menu a{ display: block; padding: 9px 10px; border-radius: 10px; background: #FAF5EF; color: var(--nt-body); font-size: 14px; line-height: 1.35; }
  :where(html:not(.nt-desk)) .nt-mh-links{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 0 0; margin-top: 4px; border-top: 1px solid var(--nt-sand); }
  :where(html:not(.nt-desk)) .nt-mh-link{ display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; border-radius: 12px; background: #FAF5EF; border: 1px solid #EADBC6; color: var(--nt-ink); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
  :where(html:not(.nt-desk)) .nt-mh-link-ic{ flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--nt-p); box-shadow: 0 1px 3px rgba(46, 33, 24, .1); }
}

/* ---------- 7. Tìm nhanh (gợi ý khi gõ) ---------- */
.nt-live { position: absolute; z-index: 80; top: calc(100% + 8px); left: 0; right: 0; max-height: 70vh; overflow: auto; padding: 6px; background: #fff; border: 1px solid var(--nt-line); border-radius: 16px; box-shadow: 0 22px 44px -16px rgba(46, 33, 24, .3); text-align: left; }
.nt-live-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--nt-ink); }
.nt-live-item:hover, .nt-live-item.is-on { background: var(--nt-sand); color: var(--nt-ink); }
.nt-live-item img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--nt-sand); }
.nt-live-name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.35; }
.nt-live-price { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; color: var(--nt-price); }
.nt-live-all { display: block; margin: 4px 0 0; padding: 10px; border-radius: 10px; text-align: center; font-weight: 700; color: var(--nt-p-d); background: #FBF6EE; }
.nt-live-empty { padding: 14px; color: var(--nt-muted); text-align: center; font-size: 14px; }

/* ---------- 8. Footer ---------- */
.nt-ft { margin-top: 56px; color: var(--nt-ft-c, #594636); }
.nt-ft-main { position: relative; overflow: hidden; padding: 48px 0 44px; background: linear-gradient(var(--nt-ft-bg0, #FFFDFA), var(--nt-ft-bg, #F8EFE2)); }
.nt-ft-leaf { position: absolute; width: 380px; height: 380px; color: #2E9E57; opacity: .07; pointer-events: none; }
.nt-ft-leaf.is-l { left: -90px; bottom: -60px; transform: rotate(-20deg); }
.nt-ft-leaf.is-r { right: -40px; top: 120px; transform: scaleX(-1) rotate(-10deg); }
.nt-ft-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(var(--cols, 2), minmax(0, 1fr)); gap: 40px; }
.nt-ft-grid.has-lead { grid-template-columns: minmax(0, 1.35fr) repeat(var(--cols, 2), minmax(0, 1fr)) minmax(0, 1.3fr); }
/* Chưa có cột menu: thương hiệu bên trái, form tư vấn bên phải (không để form tràn hết chiều ngang) */
.nt-ft-grid.no-cols { grid-template-columns: minmax(0, 1fr); }
.nt-ft-grid.no-cols.has-lead { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); justify-content: space-between; }
.nt-ft-logo { display: block; width: 260px; max-width: 100%; height: auto; margin: -6px 0 12px; }
.nt-ft-slogan { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin: 0; padding: 6px 13px; border-radius: 999px; background: #E9F6ED; color: var(--nt-a); font-size: 12.3px; font-weight: 500; line-height: 1.35; }
.nt-ft-about { max-width: 340px; margin: 14px 0 16px; font-size: 13.6px; line-height: 1.75; color: var(--nt-ft-c, #594636); }
.nt-ft-ct { margin: 0 0 14px; padding: 0; list-style: none; }
.nt-ft-ct li { display: flex; align-items: center; gap: 11px; margin: 0 0 11px; font-size: 14px; line-height: 1.3; }
.nt-ft-ct i { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border: 1px solid #EBDECB; border-radius: 10px; background: #fff; color: #A96423; }
.nt-ft-ct small { display: block; margin: 0 0 1px; font-size: 11.5px; color: var(--nt-ft-m, #796758); }
.nt-ft-ct a, .nt-ft-ct b { font-weight: 700; color: var(--nt-ft-h, #2F2219); }
.nt-ft-ct a:hover { color: var(--nt-p-d); }
.nt-ft-soc { display: flex; flex-wrap: wrap; gap: 10px; }
.nt-ft-soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--nt-p); color: #FAF4EB; transition: background .2s, transform .2s; }
.nt-ft-soc a:nth-child(n+2) { background: var(--nt-ink); }
.nt-ft-soc a:hover { background: var(--nt-p-d); color: #fff; transform: translateY(-2px); }
.nt-zl-sm { font-size: 10px; font-weight: 800; letter-spacing: -.02em; }
.nt-ft-h { margin: 4px 0 22px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nt-ft-h, #2F2219); }
.nt-ft-h button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; position: relative; }
.nt-ft-h.is-static { display: flex; align-items: center; gap: 8px; position: relative; }
.nt-ft-h svg { color: #2E9E57; }
.nt-ft-h span { position: relative; }
.nt-ft-h span::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 24px; height: 2px; border-radius: 2px; background: var(--nt-p); }
.nt-ft-pm { display: none; }
.nt-ft-links { margin: 0; padding: 0; list-style: none; }
.nt-ft-col .nt-ft-links { padding-left: 25px; }   /* thẳng chữ đầu của tiêu đề cột (sau biểu tượng lá 17px + khoảng 8px) */
.nt-ft-links li { margin: 0 0 12px; }
.nt-ft-links a { display: inline-flex; font-size: 13.6px; line-height: 1.45; letter-spacing: .01em; color: var(--nt-ft-c, #594636); text-transform: uppercase; transition: color .2s, transform .2s; }
.nt-ft-links a:hover { color: var(--nt-p-d); transform: translateX(3px); }
.nt-ft-card { background: #fff; border: 1px solid #EBDECB; border-radius: 18px; box-shadow: 0 18px 40px -24px rgba(92, 61, 31, .38); overflow: hidden; }
.nt-ft-card-h { position: relative; padding: 17px 76px 16px 20px; background: linear-gradient(135deg, var(--nt-p), var(--nt-p-d)); color: #fff; }
.nt-ft-card-h b { display: block; font-size: 16px; line-height: 1.35; }
.nt-ft-card-h span { display: block; margin: 2px 0 0; font-size: 12.6px; line-height: 1.45; opacity: .92; }
.nt-ft-card-h svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); opacity: .22; }
.nt-ft-card-b { padding: 18px 20px; }
.nt-ft-note { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-size: 12px; color: var(--nt-ft-m, #796758); }
.nt-ft-note svg { color: #2E9E57; }
.nt-ft-lead-btns { display: grid; gap: 10px; }
/* Form tư vấn của plugin NhatDX trong thẻ footer */
.nt-ft .nt-ft-card .nxlf-body { display: grid; gap: 10px; }
.nt-ft .nt-ft-card .nxlf-field { position: relative; margin: 0; }
.nt-ft .nt-ft-card .nxlf-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nt-ft .nt-ft-card .nxlf-field input, .nt-ft .nt-ft-card .nxlf-field textarea { width: 100%; height: 50px; padding: 14px; border: 1px solid #EBDECB; border-radius: 11px; background: #FFFDFA; font-size: 14px; color: #2F2219; }
.nt-ft .nt-ft-card .nxlf-field textarea { height: 78px; resize: vertical; }
.nt-ft .nt-ft-card .nxlf-field input::placeholder, .nt-ft .nt-ft-card .nxlf-field textarea::placeholder { color: #8C7B6B; opacity: 1; }
.nt-ft .nt-ft-card .nxlf-field input:focus, .nt-ft .nt-ft-card .nxlf-field textarea:focus { border-color: var(--nt-p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nt-p) 14%, transparent); }
.nt-ft .nt-ft-card .nxlf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nt-ft .nt-ft-card .nxlf-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin: 4px 0 0; padding: 0 20px; border: 0; border-radius: 999px; background: var(--nt-ink); color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 10px 20px -12px rgba(47, 34, 25, .6); cursor: pointer; transition: background .2s; }
.nt-ft .nt-ft-card .nxlf-submit::after { content: "→"; font-size: 17px; }
.nt-ft .nt-ft-card .nxlf-submit:hover { background: #000; }
.nt-ft .nt-ft-card .nxlf-msg { margin: 8px 0 0; font-size: 13px; color: #6B5A4C; }
.nt-ft .nt-ft-card .nxlf-msg:empty { display: none; }
.nt-ft .nt-ft-card .nxlf-head, .nt-ft .nt-ft-card .nxlf-title { display: none; }
.nt-ft .nt-ft-card .nxlf-field:has(.nxlf-note) { display: none; }   /* form gọn ở footer: tên + số điện thoại (như web cũ) */
.nt-ft .nt-ft-card .nxlf { max-width: none; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.nt-ft-bot { background: var(--nt-ftb-bg, #2F2219); color: var(--nt-ftb-c, #CBC0B3); font-size: 13px; }
.nt-ft-bot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 22px; padding-top: 14px; padding-bottom: 14px; }
.nt-ft-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-width: 0; }
.nt-ft-cell.is-c { justify-content: center; }
.nt-ft-cell.is-r { justify-content: flex-end; }
.nt-ft-cell a { color: inherit; }
.nt-ft-cell a:hover { color: #F3D9B8; }
.nt-ft-pol { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nt-ft-pol a { color: var(--nt-ftb-l, #EADBC8); }
.nt-ft-pol a:hover { color: #F3D9B8; }
.nt-ft-bdg { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-ft-bdg span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--nt-ftb-l, #F2E6D4); font-size: 12px; font-weight: 500; }
.nt-ft-bdg-wrap { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.nt-ft-bct { display: inline-flex; align-items: center; height: 40px; padding: 3px 8px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .5); transition: transform .15s; }
a.nt-ft-bct:hover { transform: translateY(-1px); }
.nt-ft-bct-img { display: block; width: auto; height: 34px; max-width: 140px; object-fit: contain; }
.nt-ft-bct-tx { display: inline-flex; align-items: center; gap: 6px; color: #1D4F8F; font-size: 10.5px; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.nt-ft-bct-tx svg { color: #C8102E; }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nt-ft-bdg-wrap{ justify-content: center; } }
@media (max-width: 1100px) and (min-width: 850px) {
  :where(html:not(.nt-desk)) .nt-ft-grid.has-lead{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-ft{ margin-top: 40px; }
  :where(html:not(.nt-desk)) .nt-ft-main{ padding-top: 32px; padding-bottom: 30px; }
  :where(html:not(.nt-desk)) .nt-ft-grid,:where(html:not(.nt-desk)) .nt-ft-grid.has-lead,:where(html:not(.nt-desk)) .nt-ft-grid.no-cols.has-lead{ grid-template-columns: 1fr; gap: 0; }
  :where(html:not(.nt-desk)) .nt-ft-brand{ padding-bottom: 20px; }
  :where(html:not(.nt-desk)) .nt-ft-logo{ width: 240px; }
  :where(html:not(.nt-desk)) .nt-ft-col{ border-top: 1px solid #EADCC9; }
  :where(html:not(.nt-desk)) .nt-ft-col .nt-ft-h{ margin: 0; }
  :where(html:not(.nt-desk)) .nt-ft-col .nt-ft-h button{ padding: 16px 0; cursor: pointer; }
  :where(html:not(.nt-desk)) .nt-ft-col .nt-ft-h span::after{ display: none; }
  :where(html:not(.nt-desk)) .nt-ft-pm{ display: block; margin-left: auto; width: 14px; height: 14px; position: relative; }
  :where(html:not(.nt-desk)) .nt-ft-pm::before,:where(html:not(.nt-desk)) .nt-ft-pm::after{ content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
  :where(html:not(.nt-desk)) .nt-ft-pm::after{ transform: rotate(90deg); }
  :where(html:not(.nt-desk)) .nt-ft-col.is-open .nt-ft-pm::after{ transform: rotate(0); }
  :where(html:not(.nt-desk)) .nt-ft-col .nt-ft-links{ display: none; padding: 0 0 12px 25px; }
  :where(html:not(.nt-desk)) .nt-ft-col.is-open .nt-ft-links{ display: block; }
  :where(html:not(.nt-desk)) .nt-ft-lead{ padding-top: 22px; border-top: 1px solid #EADCC9; }
  :where(html:not(.nt-desk)) .nt-ft-bot-in{ grid-template-columns: 1fr; text-align: center; padding-bottom: 76px; }
  :where(html:not(.nt-desk)) .nt-ft-cell,:where(html:not(.nt-desk)) .nt-ft-cell.is-r{ justify-content: center; }
  :where(html:not(.nt-desk)) .nt-ft-cell:empty{ display: none; }
  :where(html:not(.nt-desk)) .nt-ft-pol,:where(html:not(.nt-desk)) .nt-ft-bdg{ justify-content: center; }
}

/* ---------- 9. Liên hệ nổi & thanh đáy điện thoại ---------- */
.nt-fc { position: fixed; z-index: 9995; right: 18px; bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nt-fc-list { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nt-fc-item { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; color: #fff; box-shadow: 0 6px 18px rgba(47, 34, 24, .22); opacity: 0; transform: translateY(14px) scale(.7); pointer-events: none; transition: opacity .25s calc(var(--i, 0) * 40ms), transform .25s calc(var(--i, 0) * 40ms); }
.nt-fc.is-open .nt-fc-item { opacity: 1; transform: none; pointer-events: auto; }
.nt-fc-item:hover { color: #fff; transform: scale(1.06); }
.nt-fc-item.is-zalo { background: #0068FF; }
.nt-fc-item.is-mess { background: linear-gradient(45deg, #0A7CFF, #A033FF 60%, #FF5C87); }
.nt-fc-item.is-call { background: var(--nt-a); }
.nt-zl-w { font-size: 12px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.nt-fc-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); box-sizing: border-box; min-width: 108px; padding: 6px 12px; border-radius: 8px; background: #342A22; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center; white-space: nowrap; box-shadow: 0 4px 14px rgba(47, 34, 24, .2); }
.nt-fc-main { position: relative; width: 54px; height: 54px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--nt-p); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--nt-p) 38%, transparent); cursor: pointer; }
.nt-fc-main::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--nt-p); opacity: 0; animation: nt-ring 2.4s ease-out infinite; }
.nt-fc.is-open .nt-fc-main::before { animation: none; }
/* Biểu tượng nằm đúng tâm vòng tròn (SVG mặc định là "chữ trong dòng" → lệch lên vì chừa chỗ chân chữ) */
.nt-fc-ic, .nt-fc-open, .nt-fc-close { display: grid; place-items: center; line-height: 0; }
.nt-fc-ic svg, .nt-fc-open svg, .nt-fc-close svg { display: block; }
.nt-fc:not(.is-open) .nt-fc-close, .nt-fc.is-open .nt-fc-open { display: none; }
@keyframes nt-ring { 0% { opacity: .7; transform: scale(.85); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
/* Thanh đáy 5 mục: Trang chủ · Danh mục · Giỏ hàng · Tư vấn · Tài khoản; "Tư vấn" mở bảng Gọi / Zalo */
:root { --nt-bn-h: 66px; }
.nt-bn, .nt-cs { display: none; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-fc.has-bn{ display: none; }
  :where(html:not(.nt-desk)) .nt-fc{ right: 12px; bottom: 16px; }
  :where(html:not(.nt-desk)) .nt-bn{ display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; height: calc(var(--nt-bn-h) + env(safe-area-inset-bottom)); padding: 0 0 env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--nt-line); box-shadow: 0 -6px 20px rgba(46, 33, 24, .06); }
  :where(html:not(.nt-desk)) body:has(.nt-bn){ padding-bottom: calc(var(--nt-bn-h) + env(safe-area-inset-bottom)); }
  :where(html:not(.nt-desk)) .nt-kb .nt-bn{ display: none; }   /* đang gõ (bàn phím mở) */
  :where(html:not(.nt-desk)) .nt-bn-i{ position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; height: var(--nt-bn-h); padding: 0; border: 0; background: none; color: #806C5B; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.1; cursor: pointer; }
  :where(html:not(.nt-desk)) .nt-bn-i:hover,:where(html:not(.nt-desk)) .nt-bn-i:focus-visible,:where(html:not(.nt-desk)) .nt-bn-i.is-on{ color: var(--nt-p-d); }
  :where(html:not(.nt-desk)) .nt-bn-i.is-on::before{ content: ""; position: absolute; top: -1px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 0 0 3px 3px; background: var(--nt-p); }
  :where(html:not(.nt-desk)) .nt-bn-ic{ position: relative; display: block; height: 24px; line-height: 0; }
  :where(html:not(.nt-desk)) .nt-bn-ic svg{ display: block; }
  :where(html:not(.nt-desk)) .nt-bn-tx{ max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  :where(html:not(.nt-desk)) .nt-bn-ic .nt-cart-n{ top: -6px; left: 14px; min-width: 20px; height: 20px; border-color: #fff; background: var(--nt-price); line-height: 16px; }
  /* Bảng Tư vấn */
  :where(html:not(.nt-desk)) .nt-cs{ position: fixed; inset: 0; z-index: 10001; display: block; }
  :where(html:not(.nt-desk)) .nt-cs-bg{ position: absolute; inset: 0; background: rgba(36, 24, 15, .5); opacity: 0; transition: opacity .25s; }
  :where(html:not(.nt-desk)) .nt-cs-box{ position: absolute; left: 10px; right: 10px; bottom: calc(var(--nt-bn-h) + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; padding: 8px 16px; border-radius: 22px; background: var(--nt-paper); box-shadow: 0 -10px 40px rgba(46, 33, 24, .2); transform: translateY(24px); opacity: 0; transition: transform .3s cubic-bezier(.22, .8, .24, 1), opacity .2s; outline: 0; }
  :where(html:not(.nt-desk)) .nt-cs.is-open .nt-cs-bg,:where(html:not(.nt-desk)) .nt-cs.is-open .nt-cs-box{ opacity: 1; }
  :where(html:not(.nt-desk)) .nt-cs.is-open .nt-cs-box{ transform: none; }
  :where(html:not(.nt-desk)) .nt-cs-grab{ display: block; width: 44px; height: 5px; margin: 0 auto 10px; border-radius: 5px; background: var(--nt-line2); }
  :where(html:not(.nt-desk)) .nt-cs-h{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
  :where(html:not(.nt-desk)) .nt-cs-t{ margin: 0; color: var(--nt-ink); font-size: 19px; font-weight: 700; line-height: 1.3; }
  :where(html:not(.nt-desk)) .nt-cs-x{ flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--nt-sand); color: var(--nt-ink); cursor: pointer; }
  :where(html:not(.nt-desk)) .nt-cs-r{ display: flex; align-items: center; gap: 14px; min-height: 68px; margin-bottom: 10px; padding: 10px 14px; border: 1px solid var(--nt-line); border-radius: 16px; background: #fff; color: var(--nt-ink); text-decoration: none; }
  :where(html:not(.nt-desk)) .nt-cs-r:hover,:where(html:not(.nt-desk)) .nt-cs-r:focus-visible{ border-color: var(--nt-line2); color: var(--nt-ink); }
  :where(html:not(.nt-desk)) .nt-cs-ic{ flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
  :where(html:not(.nt-desk)) .nt-cs-r.is-call .nt-cs-ic{ background: var(--nt-a-l); color: var(--nt-a); }
  :where(html:not(.nt-desk)) .nt-cs-r.is-zalo .nt-cs-ic{ background: #E6F0FF; }
  :where(html:not(.nt-desk)) .nt-cs-zl{ color: #0068FF; font-size: 13px; font-weight: 800; }
  :where(html:not(.nt-desk)) .nt-cs-tx{ flex: 1; min-width: 0; line-height: 1.35; }
  :where(html:not(.nt-desk)) .nt-cs-tx b{ display: block; font-size: 16px; font-weight: 700; }
  :where(html:not(.nt-desk)) .nt-cs-tx small{ display: block; margin-top: 2px; color: var(--nt-muted); font-size: 14px; }
  :where(html:not(.nt-desk)) .nt-cs-go{ flex: none; color: #B9A793; line-height: 0; }
}

/* ---------- 10. Ngăn giỏ hàng (máy tính: bên phải · điện thoại: trượt từ dưới lên) ---------- */
.nt-dw { position: fixed; z-index: 10000; inset: 0; }
/* Đăng nhập quản trị (có thanh quản trị): khung giỏ / menu, hộp chọn phân loại bắt đầu dưới thanh, không bị che.
   Chỉ áp khi có lớp admin-bar (khách không có) — biến chiều cao do WordPress đặt (32px máy tính, 46px điện thoại). */
.admin-bar .nt-dw { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .nt-qa { padding-top: calc(16px + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) {
  :where(html:not(.nt-desk)) .admin-bar #wpadminbar{ position: fixed; }   /* WordPress để thanh trôi theo trang trên điện thoại → đầu trang cố định bị hở khoảng trống phía trên */
}
.nt-dw-bg { position: absolute; inset: 0; background: rgba(30, 22, 16, .45); opacity: 0; transition: opacity .3s; }
.nt-dw-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, 92vw); background: var(--nt-bg); box-shadow: -18px 0 48px rgba(46, 33, 24, .22); transform: translateX(100%); transition: transform .36s cubic-bezier(.22, .8, .24, 1); outline: 0; }:where(html.nt-desk) .nt-dw-panel{width: min(400px, max(92vw, 1104px))}
.nt-dw.is-open .nt-dw-bg { opacity: 1; }
.nt-dw.is-open .nt-dw-panel { transform: none; }
.nt-dw-body { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.nt-dw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--nt-line); }
.nt-dw-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 700; }
.nt-dw-title svg { color: var(--nt-p); }
.nt-dw-title span { color: var(--nt-muted); font-weight: 500; }
.nt-dw-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--nt-sand); display: grid; place-items: center; cursor: pointer; color: var(--nt-ink); }
.nt-dw-list { flex: 1; overflow: auto; margin: 0; padding: 12px; list-style: none; display: grid; align-content: start; gap: 10px; }
.nt-dw-list.is-busy { opacity: .5; pointer-events: none; }
.nt-dw-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--nt-line); border-radius: 14px; transition: opacity .2s; }
.nt-dw-item.is-busy { opacity: .5; pointer-events: none; }
.nt-dw-img img { display: block; width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--nt-sand); }
.nt-dw-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--nt-ink); }
.nt-dw-var { display: block; margin: 2px 0 0; font-size: 12.5px; color: var(--nt-muted); }
.nt-dw-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-top: 6px; }
.nt-dw-ctl { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }   /* số lượng + thùng rác cùng một hàng */
.nt-dw-price { font-weight: 700; color: var(--nt-price); font-size: 14.5px; }
.nt-dw-rm { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #A0968B; display: grid; place-items: center; cursor: pointer; }
.nt-dw-rm:hover { background: #FDECEC; color: #B91C1C; }
.nt-dw-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px 0; font-size: 13px; color: var(--nt-muted); }
.nt-dw-clear { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--nt-line); border-radius: 999px; background: #fff; color: var(--nt-body); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.nt-dw-clear:hover, .nt-dw-clear.is-ask { border-color: #F3C4C4; background: #FDECEC; color: #B91C1C; }
.nt-qty { display: inline-flex; align-items: center; border: 1px solid var(--nt-line2); border-radius: 999px; background: #fff; overflow: hidden; }
.nt-qty button { width: 30px; height: 30px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--nt-ink); }
.nt-qty button:hover { background: var(--nt-sand); }
.nt-qty input { width: 38px; height: 30px; padding: 0; border: 0; border-radius: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; box-shadow: none; }
.nt-qty input::-webkit-inner-spin-button, .nt-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nt-dw-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--nt-line); box-shadow: 0 -10px 24px -18px rgba(46, 33, 24, .3); }
.nt-dw-sum { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 12px; font-size: 15px; }
.nt-dw-sum strong { font-size: 19px; color: var(--nt-price); }
.nt-dw-go { width: 100%; min-height: 50px; text-transform: uppercase; letter-spacing: .03em; }
.nt-dw-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px; text-align: center; color: var(--nt-body); }
.nt-dw-empty-ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--nt-sand); color: var(--nt-p); }
.nt-dw-empty p { margin: 0; }
.nt-dwm-fs, .nt-dwu, .nt-dw-cod, .nt-dw-go-m { display: none; }   /* phần riêng của ngăn giỏ điện thoại */
/* Thanh miễn phí giao hàng (chân ngăn giỏ máy tính, trang sản phẩm) */
.nt-fs { font-size: 13.5px; }
.nt-fs-t { display: flex; align-items: center; gap: 6px; margin: 0 0 7px; color: var(--nt-body); }
.nt-fs-t b { color: var(--nt-a); }
.nt-fs.is-done .nt-fs-t { color: var(--nt-a); }
.nt-fs-bar { display: block; height: 6px; border-radius: 999px; background: var(--nt-a-l); overflow: hidden; }
.nt-fs-bar i { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34A862, var(--nt-a)); transition: width .4s; }
html.nt-lock { overflow: hidden; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-dw-panel{ top: auto; left: 0; bottom: 0; width: 100%; max-width: 600px; max-height: calc(100% - 56px); margin: 0 auto; border-radius: 22px 22px 0 0; background: var(--nt-paper); box-shadow: 0 -18px 48px rgba(46, 33, 24, .22); transform: translateY(100%); overflow: hidden; }
  :where(html:not(.nt-desk)) .nt-dw-panel::before{ content: ""; position: absolute; z-index: 3; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 5px; background: var(--nt-line2); }
  :where(html:not(.nt-desk)) .nt-dw-body{ flex: 0 1 auto; height: auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  :where(html:not(.nt-desk)) .nt-dw-head{ position: sticky; top: 0; z-index: 2; padding: 22px 16px 10px; background: var(--nt-paper); border: 0; }
  :where(html:not(.nt-desk)) .nt-dw-title{ font-size: 19px; color: var(--nt-ink); }
  :where(html:not(.nt-desk)) .nt-dw-title svg,:where(html:not(.nt-desk)) .nt-dw-tools,:where(html:not(.nt-desk)) .nt-dw-rm,:where(html:not(.nt-desk)) .nt-dw-foot .nt-fs,:where(html:not(.nt-desk)) .nt-dw-go-d{ display: none; }
  :where(html:not(.nt-desk)) .nt-dw-title span{ color: inherit; font-weight: inherit; }
  :where(html:not(.nt-desk)) .nt-dw-x{ width: 44px; height: 44px; }
  :where(html:not(.nt-desk)) .nt-dwm-fs{ display: block; margin: 0 16px; padding: 10px 12px; border-radius: 12px; background: var(--nt-a-l); color: var(--nt-a); font-size: 14px; font-weight: 600; }
  :where(html:not(.nt-desk)) .nt-dwm-fs p{ display: flex; align-items: center; gap: 8px; margin: 0; line-height: 1.4; }
  :where(html:not(.nt-desk)) .nt-dwm-fs p svg{ flex: none; }
  :where(html:not(.nt-desk)) .nt-dwm-fs b{ font-weight: 800; }
  :where(html:not(.nt-desk)) .nt-dwm-bar{ display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: var(--nt-a-b); overflow: hidden; }
  :where(html:not(.nt-desk)) .nt-dwm-bar i{ display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: var(--nt-a); transition: width .4s; }
  :where(html:not(.nt-desk)) .nt-dw-list{ flex: none; overflow: visible; gap: 0; padding: 2px 16px 0; }
  :where(html:not(.nt-desk)) .nt-dw-item{ grid-template-columns: 76px minmax(0, 1fr); padding: 12px 0; border: 0; border-bottom: 1px solid var(--nt-line); border-radius: 0; background: none; }
  :where(html:not(.nt-desk)) .nt-dw-img img{ width: 76px; height: 76px; border-radius: 12px; }
  :where(html:not(.nt-desk)) .nt-dw-name{ font-size: 15px; }
  :where(html:not(.nt-desk)) .nt-dw-var{ font-size: 13px; }
  :where(html:not(.nt-desk)) .nt-dw-row{ flex-wrap: nowrap; }
  :where(html:not(.nt-desk)) .nt-dw-price{ font-size: 15.5px; }
  :where(html:not(.nt-desk)) .nt-dw-item .nt-qty{ height: 40px; }
  :where(html:not(.nt-desk)) .nt-dw-item .nt-qty button{ width: 40px; height: 40px; color: var(--nt-muted); }
  :where(html:not(.nt-desk)) .nt-dw-item .nt-qty input{ width: 28px; height: 38px; font-size: 15px; background: transparent; }
  /* Thường được mua kèm */
  :where(html:not(.nt-desk)) .nt-dwu{ display: block; padding: 14px 16px 4px; }
  :where(html:not(.nt-desk)) .nt-dwu-t{ margin: 0 0 8px; color: var(--nt-ink); font-size: 14px; font-weight: 700; }
  :where(html:not(.nt-desk)) .nt-dwu-l{ display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
  :where(html:not(.nt-desk)) .nt-dwu-i{ display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--nt-line); border-radius: 12px; background: #fff; }
  :where(html:not(.nt-desk)) .nt-dwu-img img{ display: block; width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--nt-sand); }
  :where(html:not(.nt-desk)) .nt-dwu-tx{ min-width: 0; line-height: 1.3; }
  :where(html:not(.nt-desk)) .nt-dwu-n{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--nt-ink); font-size: 14px; font-weight: 600; }
  :where(html:not(.nt-desk)) .nt-dwu-p{ display: block; margin-top: 2px; color: var(--nt-price); font-size: 14px; font-weight: 700; }
  :where(html:not(.nt-desk)) .nt-dwu-add{ display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nt-p); color: #fff; line-height: 0; }
  :where(html:not(.nt-desk)) .nt-dwu-add:hover,:where(html:not(.nt-desk)) .nt-dwu-add:focus-visible{ background: var(--nt-p-d); color: #fff; }
  :where(html:not(.nt-desk)) .nt-dwu-add.loading{ opacity: .55; pointer-events: none; }
  :where(html:not(.nt-desk)) .nt-dwu-add + .added_to_cart{ display: none; }
  /* Chân ngăn: tạm tính + Đặt hàng */
  :where(html:not(.nt-desk)) .nt-dw-foot{ position: sticky; bottom: 0; z-index: 2; margin-top: 12px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--nt-paper); box-shadow: none; }
  :where(html:not(.nt-desk)) .nt-dw-sum{ margin: 0; }
  :where(html:not(.nt-desk)) .nt-dw-sum strong{ font-size: 22px; }
  :where(html:not(.nt-desk)) .nt-dw-go{ min-height: 52px; margin-top: 10px; border-radius: 14px; background: var(--nt-a); border-color: var(--nt-a); color: #fff; font-size: 16px; text-transform: none; letter-spacing: 0; }
  :where(html:not(.nt-desk)) .nt-dw-go-m{ display: inline; }
  :where(html:not(.nt-desk)) .nt-dw-cod{ display: block; margin: 8px 0 0; color: var(--nt-muted); font-size: 13px; line-height: 1.4; text-align: center; text-wrap: balance; }
  :where(html:not(.nt-desk)) .nt-dw-empty{ padding: 24px 16px 32px; }
}
@media (max-width: 849px) and (prefers-reduced-motion: reduce) {
  .nt-cs-box, .nt-cs-bg { transition: none; }
}

/* ---------- 11. Thẻ sản phẩm ---------- */
.nt-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px 18px; }
@media (max-width: 1100px) { :where(html:not(.nt-desk)) .nt-grid{ --cols: 3; } }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nt-grid{ --cols: 2 !important; gap: 12px 10px; } }
/* Giá dùng chung (thẻ, trang sản phẩm, giỏ, widget): "Chỉ từ", "Liên hệ" */
.nt-from { font-size: 11px; font-weight: 500; color: #ADA49B; }
.nt-price-contact { font-size: 13.5px; font-weight: 700; color: var(--nt-p-d); }
/* Khung thẻ: nền trắng, viền mảnh; rê chuột nổi nhẹ */
.nt-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 10px 10px 12px; background: #fff; border: 1px solid var(--nt-line); border-radius: 18px; text-align: left; color: var(--nt-ink); transition: box-shadow .3s, border-color .3s; }
/* Ảnh vuông bo góc */
.nt-card-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--nt-sand); }
.nt-card-img > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/*
 * Tải ảnh lười cho khung trượt ngang (trình dựng, khung trượt của theme, Hot Sale): từ thẻ thứ 3 trở đi, khung ảnh chỉ được
 * dựng — và ảnh chỉ được tải — khi thẻ sắp lọt vào màn hình (vuốt / bấm mũi tên tới). Trình duyệt tự lo (content-visibility),
 * không JS, không đổi HTML: ảnh vẫn nằm sẵn trong src cho Google và cho bộ nhớ đệm trang (LiteSpeed) — HTML lưu đệm y nguyên.
 * Khung ảnh giữ đúng kích thước (tỉ lệ cố định) nên không nhảy trang. Trình duyệt cũ không hiểu thì tải như bình thường.
 */
:is(.nb-slider__track, .nt-slider-track, .nxhs-trk) > :nth-child(n+3) :is(.nt-card-img, .nt-pcard-img) { content-visibility: auto; }
@media (hover: hover) and (pointer: fine) {
  .nt-card:hover { border-color: var(--nt-line2); box-shadow: 0 16px 32px -18px rgba(46, 33, 24, .35); }
}
.nt-badge { position: absolute; z-index: 2; top: 10px; left: 10px; display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--nt-a); font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: -.01em; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.nt-badge.is-order { top: auto; left: auto; right: 10px; bottom: 10px; background: var(--nt-ink); color: #fff; }
.nt-badge.is-sm { top: 4px; left: 4px; padding: 2px 5px; border-radius: 5px; background: var(--nt-a); color: #fff; font-size: 10px; line-height: 1.1; box-shadow: none; }   /* ảnh nhỏ ở widget */
/* Logo chèn góc ảnh (NhatDX System → Ảnh & video): khung tròn / vuông / không khung; cỡ & độ đậm theo biến --mk-* */
.nt-mark { --mk-s: 15%; --mk-l: 75%; --mk-fo: .9; --mk-lo: 1; position: absolute; z-index: 2; top: 6px; right: 6px; width: var(--mk-s); min-width: 24px; aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; }
.nt-mark::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #FFFDF9; box-shadow: 0 2px 8px rgba(46, 33, 24, .14); opacity: var(--mk-fo); }
.nt-mark.is-square::before { border-radius: 22%; }
.nt-mark.is-none::before { display: none; }
.nt-mark.is-tl, .nt-mark.is-bl { right: auto; left: 6px; }
.nt-mark.is-br, .nt-mark.is-bl { top: auto; bottom: 6px; }
.nt-mark-tl .nt-badge:not(.is-order) { left: auto; right: 10px; }
.nt-mark-br .nt-badge.is-order { right: auto; left: 10px; }
.nt-mark::after { content: ""; position: relative; display: block; width: var(--mk-l); height: var(--mk-l); background: var(--mk-img) center / contain no-repeat; opacity: var(--mk-lo); }
.nt-mark.is-none::after { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)) drop-shadow(0 0 1px rgba(255, 255, 255, .9)); }
.nt-card-oos { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px; background: rgba(46, 33, 24, .78); color: #fff; font-size: 13px; font-weight: 700; }
/* Tên + công dụng ngắn */
.nt-card-name { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; height: calc(1.4em * 2); margin: 12px 2px 8px; font-size: 15.5px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-align: center; color: var(--nt-ink); }
.nt-card-name a { color: inherit; }
.nt-card-name a:hover { color: var(--nt-p-d); }
.nt-card-use { display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; margin: 0 6px 12px; padding: 0 10px; border-radius: 8px; background: var(--nt-a-l); color: var(--nt-a); font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.nt-card-use::before { content: ""; flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--nt-leaf-i) center / contain no-repeat; mask: var(--nt-leaf-i) center / contain no-repeat;
  --nt-leaf-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E"); }
.nt-card-use span { overflow: hidden; text-overflow: ellipsis; }
/* Phần giá (máy tính): trái 2 hàng — giá (KM + gốc cùng hàng) / sao + lượt đánh giá … "Đã bán" sát vạch dọc;
   phải: vạch dọc + nút giỏ vuông bo góc cao vừa 2 hàng bên trái */
.nt-card-ft { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pr add" "mt add"; align-items: center; column-gap: 8px; margin: auto 2px 0; padding-top: 10px; border-top: 1px solid var(--nt-line); }
.nt-card-pr { grid-area: pr; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; line-height: 1.25; min-width: 0; }
.nt-card-pr ins, .nt-card-pr ins .amount, .nt-card-pr > .amount { order: -1; font-size: 15.5px; font-weight: 700; text-decoration: none; color: var(--nt-price); white-space: nowrap; }
.nt-card-pr .nt-from { order: -2; font-size: 11px; font-weight: 500; color: var(--nt-muted); }
.nt-card-pr del, .nt-card-pr del .amount { font-size: 11px; font-weight: 400; color: var(--nt-del); white-space: nowrap; }
.nt-card-pr .nt-price-contact { font-size: 14px; }
.nt-card-mt { grid-area: mt; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0 6px; min-width: 0; min-height: 17px; margin-top: 3px; overflow: hidden; font-size: 11.5px; line-height: 1.45; color: var(--nt-muted); white-space: nowrap; }
.nt-card-rt { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; }
.nt-card-rt b { color: var(--nt-ink); font-weight: 600; }
.nt-card-star { flex: none; width: 12px; height: 12px; background: var(--nt-star); -webkit-mask: var(--nt-star-i) center / contain no-repeat; mask: var(--nt-star-i) center / contain no-repeat;
  --nt-star-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E"); }
.nt-card-sd { order: -1; }   /* máy tính: "Đã bán" bên trái, sao đánh giá canh phải sát vạch dọc */
.nt-card-add { grid-area: add; display: grid; place-items: center; align-self: stretch; padding-left: 8px; border-left: 1px solid var(--nt-line); color: var(--nt-p-d); }
/* Đổi màu tức thì, không chuyển dần: chuyển dần thì giữa chừng nền và biểu tượng cùng sắc nâu nhạt → biểu tượng biến mất
   một nhịp (thấy rõ nhất lần rê đầu tiên, khi máy đang tải trước dữ liệu sản phẩm) */
.nt-card-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--nt-p-l); }
.nt-card-ic svg { width: 20px; height: 20px; }
.nt-card { container-type: inline-size; }
/* Thẻ hẹp (máy tính nhỏ, lưới 4–5 cột / có cột bên): nút giỏ giữ nguyên cỡ ở mọi thẻ; chỉ thu chữ giá gốc
   (và chữ sao / đã bán) để giá khuyến mãi + giá gốc, sao + đã bán vẫn mỗi thứ một hàng */
@container (max-width: 225px) {
  .nt-card-pr { gap: 0 4px; }
  .nt-card-pr del, .nt-card-pr del .amount { font-size: 10px; }
  .nt-card-mt { gap: 0 4px; font-size: 11px; }
  .nt-card-star { width: 11px; height: 11px; }
}
@container (max-width: 205px) {
  .nt-card-pr { gap: 0 3px; }
  .nt-card-pr ins, .nt-card-pr ins .amount, .nt-card-pr > .amount { font-size: 15px; letter-spacing: -.01em; }
  .nt-card-pr del, .nt-card-pr del .amount { font-size: 9px; letter-spacing: -.01em; }
  .nt-card-mt { gap: 0 3px; font-size: 10px; letter-spacing: -.01em; }
  .nt-card-star { width: 10px; height: 10px; }
}
.nt-card-bt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Nút giỏ chỉ đổi màu khi rê chuột đúng vào nút (không đổi khi lướt qua thẻ → hết chớp nháy khi rê ngang qua nhiều thẻ) */
.nt-card-add:hover .nt-card-ic, .nt-card-add:focus-visible .nt-card-ic { background: var(--nt-p); color: #fff; }
.nt-card-add.loading { opacity: .6; pointer-events: none; }
.nt-card .added_to_cart { display: none; }
/* Điện thoại / máy tính bảng nhỏ (nền chung; Hot Sale dùng nguyên phần này): giá trái | sao + đã bán phải; dưới cùng nút "Thêm vào giỏ" viền cam */
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-card{ padding: 7px 7px 9px; border-radius: 14px; }
  :where(html:not(.nt-desk)) .nt-card-img{ border-radius: 10px; }
  :where(html:not(.nt-desk)) .nt-badge{ top: 8px; left: 8px; }
  :where(html:not(.nt-desk)) .nt-card-name{ margin: 10px 1px 7px; font-size: 15px; }
  :where(html:not(.nt-desk)) .nt-card-use{ margin: 0 2px 10px; padding: 0 8px; font-size: 14px; }
  :where(html:not(.nt-desk)) .nt-card-use::before{ display: none; }
  :where(html:not(.nt-desk)) .nt-card-rc{ font-size: 12.5px; color: var(--nt-muted); }
  :where(html:not(.nt-desk)) .nt-card-ft{ grid-template-columns: auto auto; grid-template-areas: "pr mt" "add add"; justify-content: space-between; column-gap: 6px; margin: auto 1px 0; padding-top: 9px; }
  :where(html:not(.nt-desk)) .nt-card-pr{ flex-direction: column; align-items: flex-start; }
  :where(html:not(.nt-desk)) .nt-card-pr ins,:where(html:not(.nt-desk)) .nt-card-pr ins .amount,:where(html:not(.nt-desk)) .nt-card-pr > .amount{ font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
  :where(html:not(.nt-desk)) .nt-card-pr del,:where(html:not(.nt-desk)) .nt-card-pr del .amount{ font-size: 13px; line-height: 1.35; }
  :where(html:not(.nt-desk)) .nt-card-mt{ flex-direction: column; align-items: flex-end; gap: 0; margin: 0; text-align: right; font-size: 13.5px; line-height: 1.3; }
  :where(html:not(.nt-desk)) .nt-card-rt{ margin-left: 0; font-size: 14px; }
  :where(html:not(.nt-desk)) .nt-card-sd{ order: 0; font-size: 13px; letter-spacing: -.01em; }
  :where(html:not(.nt-desk)) .nt-card-add{ display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 44px; margin-top: 10px; padding: 0 8px; border: 1.5px solid var(--nt-p); border-radius: 12px; background: #fff; color: var(--nt-p-d); font-size: 14.5px; font-weight: 700; line-height: 1.2; }
  :where(html:not(.nt-desk)) .nt-card-ic,:where(html:not(.nt-desk)) .nt-card-add:hover .nt-card-ic,:where(html:not(.nt-desk)) .nt-card-add:focus-visible .nt-card-ic{ width: auto; height: auto; background: none; color: inherit; }
  :where(html:not(.nt-desk)) .nt-card-ic svg{ width: 19px; height: 19px; }
  :where(html:not(.nt-desk)) .nt-card-bt{ position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  /* Chạm giữ rồi kéo đi (không bấm): điện thoại vẫn giữ trạng thái "rê chuột" → không được đổi chữ sang trắng trên nền trắng */
  :where(html:not(.nt-desk)) .nt-card-add:hover{ color: var(--nt-p-d); }
  :where(html:not(.nt-desk)) .nt-card-add:active,:where(html:not(.nt-desk)) .nt-card-add:focus-visible,:where(html:not(.nt-desk)) .nt-card-add.added{ background: var(--nt-p); border-color: var(--nt-p); color: #fff; }
}
@media (max-width: 849px) and (hover: hover) {
  .nt-card-add:hover { background: var(--nt-p); border-color: var(--nt-p); color: #fff; }
}
@media (max-width: 360px) {
  :where(html:not(.nt-desk)) .nt-card-add{ font-size: 14px; gap: 5px; }
  :where(html:not(.nt-desk)) .nt-card-pr ins,:where(html:not(.nt-desk)) .nt-card-pr ins .amount,:where(html:not(.nt-desk)) .nt-card-pr > .amount{ font-size: 15.5px; }
}
/* Thẻ rất hẹp ở máy tính / iPad (cửa sổ ~1024px, lưới có cột bên): dùng đúng bố cục thẻ điện thoại —
   trái: một giá + sao; phải: vạch dọc + nút giỏ vuông; "Đã bán" dưới dòng công dụng. Khối điện thoại bên dưới ghi đè khi màn ≤ 849px. */
@container (max-width: 166px) {
  .nt-card:not(.nxhs-card) .nt-card-sd2 { display: block; margin: -4px 0 10px; font-size: 13px; line-height: 1.3; text-align: center; color: var(--nt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nt-card:not(.nxhs-card) .nt-card-ft { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pr add" "mt add"; align-items: center; column-gap: 6px; }
  .nt-card:not(.nxhs-card) .nt-card-pr { flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: baseline; text-align: left; }
  .nt-card:not(.nxhs-card) .nt-card-pr del, .nt-card:not(.nxhs-card) .nt-card-pr .nt-from { display: none; }
  .nt-card:not(.nxhs-card) .nt-card-pr ins, .nt-card:not(.nxhs-card) .nt-card-pr ins .amount, .nt-card:not(.nxhs-card) .nt-card-pr > .amount { font-size: 15.2px; }
  .nt-card:not(.nxhs-card) .nt-card-mt { flex-direction: row; justify-content: flex-start; align-items: center; gap: 0 3px; margin-top: 2px; text-align: left; }
  .nt-card:not(.nxhs-card) .nt-card-mt .nt-card-sd { display: none; }
  .nt-card:not(.nxhs-card) .nt-card-rt { margin-left: 0; }
  .nt-card:not(.nxhs-card) .nt-card-add { padding-left: 7px; }
}
/*
 * Thẻ điện thoại (trừ Hot Sale): bố cục như máy tính — trái 2 hàng: một giá (không giá gốc, không "Chỉ từ"; có phân loại
 * thì là giá phân loại thấp nhất còn hàng) / sao + lượt đánh giá; phải: vạch dọc + nút giỏ vuông (cả cột phải bấm được).
 * "Đã bán" lên dưới dòng công dụng (.nt-card-sd2).
 */
.nt-card-sd2 { display: none; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-sd2{ display: block; margin: -4px 0 10px; font-size: 13px; line-height: 1.3; text-align: center; color: var(--nt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-ft{ grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pr add" "mt add"; justify-content: normal; justify-items: stretch; align-items: center; column-gap: 6px; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-pr{ flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: baseline; text-align: left; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-pr del,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-pr .nt-from{ display: none; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-pr ins,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-pr ins .amount,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-pr > .amount{ font-size: 15.2px; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-mt{ flex-direction: row; justify-content: flex-start; align-items: center; gap: 0 3px; margin-top: 2px; text-align: left; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-mt .nt-card-sd{ display: none; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-rt{ font-size: 12.4px; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-rc{ font-size: 11.4px; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-star{ width: 11.4px; height: 11.4px; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add:hover,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add:active,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add:focus-visible,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add.added{ display: grid; place-items: center; align-self: stretch; width: auto; height: auto; margin: 0; padding: 0 0 0 7px; border: 0; border-left: 1px solid var(--nt-line); border-radius: 0; background: none; color: var(--nt-p-d); }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-ic{ width: 42px; height: 42px; border-radius: 12px; background: var(--nt-p-l); color: var(--nt-p-d); }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-ic svg{ width: 21px; height: 21px; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add:active .nt-card-ic,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add:focus-visible .nt-card-ic,:where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-add.added .nt-card-ic{ background: var(--nt-p); color: #fff; }
  :where(html:not(.nt-desk)) .nt-card:not(.nxhs-card) .nt-card-bt{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 849px) and (hover: hover) {
  .nt-card:not(.nxhs-card) .nt-card-add:hover .nt-card-ic { background: var(--nt-p); color: #fff; }
}
/* Máy rất hẹp (thẻ dưới 140px, vd. màn 344px): nút nhỏ lại một chút, giá thu nhẹ để luôn một hàng */
@container (max-width: 139px) {
  .nt-card:not(.nxhs-card) .nt-card-ic { width: 38px; height: 38px; border-radius: 11px; }
  .nt-card:not(.nxhs-card) .nt-card-add, .nt-card:not(.nxhs-card) .nt-card-add:hover, .nt-card:not(.nxhs-card) .nt-card-add:active { padding-left: 5px; }
  .nt-card:not(.nxhs-card) .nt-card-ft { column-gap: 4px; }
  .nt-card:not(.nxhs-card) .nt-card-pr ins, .nt-card:not(.nxhs-card) .nt-card-pr ins .amount, .nt-card:not(.nxhs-card) .nt-card-pr > .amount { font-size: 14px; letter-spacing: -.01em; }
  .nt-card:not(.nxhs-card) .nt-card-rt { font-size: 11.5px; }
  .nt-card:not(.nxhs-card) .nt-card-rc { font-size: 10.5px; }
  .nt-card-use { padding: 0 6px; font-size: 13px; }
}
/* "Đã bán" trên thẻ: tắt riêng máy tính / điện thoại (lớp trên <body>, NhatDX System → Kho & tìm kiếm) */
@media (min-width: 850px) {
  .nt-sd-pc-off .nt-card-sd { display: none; }
  .nt-sd-pc-off .nt-card .nt-card-sd2 { display: none !important; }
}
  :where(html.nt-desk) .nt-sd-pc-off .nt-card-sd{ display: none; }
  :where(html.nt-desk) .nt-sd-pc-off .nt-card .nt-card-sd2{ display: none !important; }

@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-sd-m-off .nt-card .nt-card-sd2,:where(html:not(.nt-desk)) .nt-sd-m-off .nxhs-card .nt-card-sd{ display: none !important; }
}
/* Hot Sale (điện thoại): thẻ rộng ~1,5 thẻ một màn để giá bên trái | sao + đã bán bên phải
   nằm cùng hàng, chữ nhỏ hơn ~10%. Lưới an toàn: thẻ dưới 140px mới xếp dọc. */
@container (max-width: 139px) {
  .nxhs-card .nt-card-ft { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pr" "mt" "add"; justify-items: center; }
  .nxhs-card .nt-card-pr { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 4px; }
  .nxhs-card .nt-card-mt { align-items: center; margin-top: 3px; }
}
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nxhs-card.nt-card{ padding: 6px 5px 8px; }
  :where(html:not(.nt-desk)) .nxhs-card .nt-card-ft{ column-gap: 3px; }
  :where(html:not(.nt-desk)) .nxhs-card .nt-card-pr ins,:where(html:not(.nt-desk)) .nxhs-card .nt-card-pr ins .amount,:where(html:not(.nt-desk)) .nxhs-card .nt-card-pr > .amount{ font-size: 14.4px; }
  :where(html:not(.nt-desk)) .nxhs-card .nt-card-pr del,:where(html:not(.nt-desk)) .nxhs-card .nt-card-pr del .amount{ font-size: 11.7px; }
  :where(html:not(.nt-desk)) .nxhs-card .nt-card-pr .nt-from{ font-size: 10px; }
  :where(html:not(.nt-desk)) .nxhs-card .nt-card-rt{ font-size: 12.6px; }
  :where(html:not(.nt-desk)) .nxhs-card .nt-card-rc{ font-size: 11.3px; }
  :where(html:not(.nt-desk)) .nxhs-card .nt-card-sd{ font-size: 11.7px; }
}
@media (prefers-reduced-motion: reduce) {
  .nt-card { transition: none; }
}
/* Sao */
.nt-stars { --s: 13px; display: inline-block; flex: none; width: calc(var(--s) * 5); height: var(--s); background: linear-gradient(90deg, var(--nt-star) var(--v, 100%), #E3DED6 0); -webkit-mask: var(--nt-star-i) 0 0 / var(--s) var(--s) repeat-x; mask: var(--nt-star-i) 0 0 / var(--s) var(--s) repeat-x; --nt-star-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5L2.6 9.4l6.5-.9z'/%3E%3C/svg%3E"); }

/* ---------- 12. Slide ---------- */
.nt-slider { position: relative; --gap: 14px; }
.nt-slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px -8px; }
.nt-slider-track::-webkit-scrollbar { display: none; }
.nt-slider-track > * { scroll-snap-align: start; }
.nt-slider-track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.nt-slider-track.is-drag * { pointer-events: none; }
.nt-slider-btn { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; margin-top: -21px; border: 1px solid var(--nt-p); border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--nt-p-t); box-shadow: 0 4px 12px rgba(46, 33, 24, .12); cursor: pointer; transition: opacity .2s, background .2s; }
.nt-slider-btn:hover { background: #FFF4E6; }
.nt-slider-btn.is-prev { left: -14px; } .nt-slider-btn.is-next { right: -14px; }
/* Kéo bằng chuột */
@media (hover: hover) and (pointer: fine) { .nt-slider-track { cursor: grab; } }
.nt-slider-track.is-settle { scroll-snap-type: none; }
.nt-slider-track.is-drag { user-select: none; }
/*
 * Kiểu nút điều hướng slide (NhatDX Themes → Cửa hàng → Slide): áp cho slide của theme và của NhatDX Builder.
 *   circle tròn viền (mặc định) · solid tròn đặc màu chủ đạo · glass kính mờ, hiện khi rê chuột
 *   square vuông bo góc nền tối · bar thanh tiến độ + 2 nút nhỏ dưới slide
 */
.nt :is(.nt-slider-btn, .nb-slider__arrow) { width: 42px; height: 42px; margin-top: -21px; border: 1px solid var(--nt-p); border-radius: 50%; background: #fff; color: var(--nt-p-t); box-shadow: 0 4px 12px rgba(46, 33, 24, .12); transition: opacity .25s, background .2s, color .2s, transform .2s, box-shadow .2s; }
.nt :is(.nt-slider-btn, .nb-slider__arrow):hover { background: #FFF4E6; color: var(--nt-p-t); transform: none; }
.nt :is(.nt-slider-btn, .nb-slider__arrow) svg { width: 20px; height: 20px; }
.nt :is(.nt-slider-btn.is-prev, .nb-slider__arrow--prev) { left: -14px; }
.nt :is(.nt-slider-btn.is-next, .nb-slider__arrow--next) { right: -14px; }
.nt :is(.nt-slider-btn, .nb-slider__arrow):disabled { opacity: .38; pointer-events: none; box-shadow: none; }   /* đầu / cuối slide: nút mờ đi thay vì biến mất */
.nt-snav-glass :is(.nt-slider-btn, .nb-slider__arrow):disabled { opacity: 0; }
.nt-snav-solid :is(.nt-slider-btn, .nb-slider__arrow) { width: 44px; height: 44px; margin-top: -22px; border: 0; background: var(--nt-p); color: #fff; box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--nt-p) 70%, transparent); }
.nt-snav-solid :is(.nt-slider-btn, .nb-slider__arrow):hover { background: var(--nt-p-d); color: #fff; transform: scale(1.06); }
.nt-snav-glass :is(.nt-slider-btn, .nb-slider__arrow) { width: 46px; height: 46px; margin-top: -23px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 253, 249, .72); color: var(--nt-ink); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); box-shadow: 0 10px 30px -10px rgba(46, 33, 24, .35); opacity: 0; }
.nt-snav-glass :is(.nt-slider-btn.is-prev, .nb-slider__arrow--prev) { left: 10px; }
.nt-snav-glass :is(.nt-slider-btn.is-next, .nb-slider__arrow--next) { right: 10px; }
.nt-snav-glass :is(.nt-slider, .nb-slider):hover :is(.nt-slider-btn, .nb-slider__arrow):not(:disabled), .nt-snav-glass :is(.nt-slider-btn, .nb-slider__arrow):focus-visible { opacity: 1; }
.nt-snav-glass :is(.nt-slider-btn, .nb-slider__arrow):hover { background: #fff; color: var(--nt-p-d); transform: scale(1.06); }
.nt-snav-square :is(.nt-slider-btn, .nb-slider__arrow) { width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 12px; background: var(--nt-ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(46, 33, 24, .5); }
.nt-snav-square :is(.nt-slider-btn, .nb-slider__arrow):hover { background: var(--nt-p); color: #fff; }
.nt-snav-square :is(.nt-slider-btn.is-prev, .nb-slider__arrow--prev) { left: -10px; }
.nt-snav-square :is(.nt-slider-btn.is-next, .nb-slider__arrow--next) { right: -10px; }
/* Thanh tiến độ: vạch dưới slide + 2 nút nhỏ bên phải */
.nt-snav-bar :is(.nt-slider, .nb-slider:not(.nb-slider--slides)) { padding-bottom: 54px; }
.nt-snav-bar :is(.nt-slider-btn, .nb-slider:not(.nb-slider--slides) .nb-slider__arrow) { top: auto; bottom: 0; width: 38px; height: 38px; margin-top: 0; border: 1px solid var(--nt-line2); background: var(--nt-card); color: var(--nt-ink); box-shadow: none; }
.nt-snav-bar :is(.nt-slider-btn, .nb-slider:not(.nb-slider--slides) .nb-slider__arrow):hover { border-color: var(--nt-p); background: var(--nt-p); color: #fff; }
.nt-snav-bar :is(.nt-slider-btn, .nb-slider__arrow):disabled { opacity: .35; pointer-events: none; }
.nt-snav-bar :is(.nt-slider-btn.is-prev, .nb-slider:not(.nb-slider--slides) .nb-slider__arrow--prev) { left: auto; right: 46px; }
.nt-snav-bar :is(.nt-slider-btn.is-next, .nb-slider:not(.nb-slider--slides) .nb-slider__arrow--next) { right: 0; }
.nt-sbar { position: absolute; left: 0; right: 104px; bottom: 17px; height: 4px; border-radius: 99px; background: var(--nt-line); overflow: hidden; }
.nt-sbar i { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--nt-p); transition: left .12s linear; }
.nt-sbar[hidden] { display: none; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-snav-bar :is(.nt-slider, .nb-slider:not(.nb-slider--slides)){ padding-bottom: 22px; }
  :where(html:not(.nt-desk)) .nt-sbar{ right: 0; bottom: 4px; height: 3px; }
}
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-slider{ --gap: 10px; }
  :where(html:not(.nt-desk)) .nt-slider-track{ grid-auto-columns: calc((100% - (var(--cols-sm, 2) - 1) * var(--gap)) / var(--cols-sm, 2)); }
  :where(html:not(.nt-desk)) .nt-slider-btn{ display: none; }
}
/* Thẻ bài viết */
.nt-pcard { position: relative; display: flex; flex-direction: column; border-radius: 12px; text-align: left; }
.nt-pcard-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--nt-sand); }
.nt-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nt-pcard:hover .nt-pcard-img img { transform: scale(1.04); }
.nt-pcard-b { position: relative; margin: -46px 10px 0; padding: 10px 12px 12px; background: #fff; border-radius: 10px; box-shadow: 0 8px 20px -10px rgba(46, 33, 24, .3); }
.nt-pcard-meta { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 12px; color: #6F6257; }
.nt-pcard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.nt-pcard-meta svg { color: var(--nt-a); }
.nt-pcard-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.nt-pcard-t a { color: var(--nt-ink); }
.nt-pcard-t a:hover { color: var(--nt-p-d); }

/* ---------- 13. Tiêu đề khối ---------- */
.nt-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; padding: 0 0 12px; border-bottom: 1px solid var(--nt-line); }
.nt-sec-t { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--nt-ink); }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nt-sec-t{ font-size: 17px; } }
.nt-sec-more { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid #EFD9C2; border-radius: 999px; background: #fff; color: var(--nt-p); font-size: 13px; font-weight: 700; white-space: nowrap; }
.nt-sec-more:hover { background: #FFF4E6; color: var(--nt-p-d); }

/* ---------- 14. Đường dẫn, phân trang, nhãn ---------- */
/* ===== Đường dẫn (breadcrumb): <nav.nt-crumbs.nt-bc--kiểu><ol><li>…</li></ol></nav> ===== */
.nt-crumbs { margin: 18px 0 16px; font-size: 13px; line-height: 1.4; color: #8C7B6B; min-width: 0; }
.nt-crumbs ol { display: flex; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.nt-crumbs li { display: flex; align-items: center; flex: none; min-width: 0; margin: 0; }
.nt-crumbs li.is-last { flex: 0 1 auto; }
.nt-crumbs li > a, .nt-crumbs li > .nt-cr-cur { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: inherit; }
.nt-crumbs li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-crumbs li > a:hover { color: var(--nt-p-d); }
.nt-crumbs svg { flex: none; }
/* 1. Mặc định: chữ in hoa nhỏ, Trang chủ trong ô tròn, ngăn bằng "/" */
.nt-bc--classic ol { flex-wrap: wrap; }
.nt-bc--classic li { text-transform: uppercase; letter-spacing: .04em; }
.nt-bc--classic li + li::before { content: "/"; margin-right: 10px; color: #C9B49A; font-size: 14px; }
.nt-bc--classic li:first-child > a { padding: 6px 14px 6px 12px; border: 1px solid var(--nt-line); border-radius: 999px; background: #fff; color: var(--nt-p); }
.nt-bc--classic li.is-last { color: var(--nt-p-d); font-weight: 700; }
.nt-bc--classic.is-post li.is-last { font-weight: 400; text-transform: none; letter-spacing: 0; color: #8C7B6B; }
/* 2. Thanh liền chia khúc mũi tên */
.nt-bc--segment ol { display: inline-flex; max-width: 100%; gap: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--nt-p) 30%, #fff), 0 10px 22px -14px rgba(110, 66, 30, .55); }
.nt-bc--segment li { position: relative; flex: 0 1 auto; }
/* Đậm dần về phía trang đang xem: cấp đầu nhạt nhất → các cấp giữa đậm hơn → trang đang xem tô đặc màu chủ đạo */
.nt-bc--segment li > a, .nt-bc--segment li > .nt-cr-cur { height: 38px; padding: 0 16px 0 26px; font-weight: 600; color: #5A3A1E; background: color-mix(in srgb, var(--nt-p) calc(var(--k, 45) * 1%), #fff); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); margin-right: -10px; }
.nt-bc--segment li:first-child { --k: 22; } .nt-bc--segment li:nth-child(2) { --k: 34; } .nt-bc--segment li:nth-child(n+3) { --k: 45; }
.nt-bc--segment li:first-child > a { padding-left: 14px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); color: var(--nt-p-d); }
.nt-bc--segment li:nth-child(2):nth-last-child(2) { --k: 45; }   /* 3 cấp: cấp giữa sát trang đang xem */
.nt-bc--segment li.is-last > a, .nt-bc--segment li.is-last > .nt-cr-cur { margin-right: 0; padding-right: 18px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); background: linear-gradient(120deg, var(--nt-p), var(--nt-p-d)); color: #fff; font-weight: 700; }
.nt-bc--segment li > a:hover { color: var(--nt-p-d); filter: brightness(.96); }
.nt-bc--segment li.is-last > a:hover { color: #fff; filter: brightness(1.08); }   /* mục cuối nền đậm: giữ chữ trắng khi rê chuột */
/* 3. Thanh kính trắng: các mục ngăn bằng mũi tên nhỏ, mục cuối là ô màu */
.nt-bc--glass ol { display: inline-flex; max-width: 100%; gap: 2px; padding: 4px; border: 1px solid color-mix(in srgb, var(--nt-line) 80%, #fff); border-radius: 999px; background: rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); box-shadow: 0 10px 24px -18px rgba(46, 33, 24, .55), inset 0 1px 0 #fff; }
.nt-bc--glass li + li::before { content: ""; flex: none; width: 14px; height: 14px; margin: 0 2px; background: #C9B49A; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%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' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.nt-bc--glass li > a, .nt-bc--glass li > .nt-cr-cur { height: 32px; padding: 0 12px; border-radius: 999px; font-weight: 600; color: var(--nt-body); transition: background .2s, color .2s; }
.nt-bc--glass li > a:hover { background: color-mix(in srgb, var(--nt-p) 10%, #fff); color: var(--nt-p-d); }
.nt-bc--glass li:first-child > a { color: var(--nt-p); }
.nt-bc--glass li.is-last > a, .nt-bc--glass li.is-last > .nt-cr-cur { background: linear-gradient(120deg, var(--nt-p-d), var(--nt-p)); color: #fff; box-shadow: 0 6px 14px -8px var(--nt-p-d); }
/* 4. Thanh tối, vạch sáng */
.nt-bc--neon ol { display: inline-flex; max-width: 100%; gap: 0; padding: 0 6px; border-radius: 14px; background: linear-gradient(120deg, #2A1E16, #3A2A1E); box-shadow: 0 12px 26px -16px rgba(30, 20, 12, .85), inset 0 1px 0 rgba(255, 255, 255, .06); }
.nt-bc--neon li > a, .nt-bc--neon li > .nt-cr-cur { position: relative; height: 40px; padding: 0 12px; color: rgba(251, 239, 223, .72); font-weight: 600; letter-spacing: .02em; }
.nt-bc--neon li + li::before { content: ""; flex: none; width: 1px; height: 16px; background: rgba(251, 239, 223, .18); transform: skewX(-18deg); }
.nt-bc--neon li > a:hover { color: #fff; }
.nt-bc--neon li:first-child > a { color: color-mix(in srgb, var(--nt-p) 70%, #fff); }
.nt-bc--neon li.is-last > a, .nt-bc--neon li.is-last > .nt-cr-cur { color: #fff; }
.nt-bc--neon li.is-last > a::after, .nt-bc--neon li.is-last > .nt-cr-cur::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--nt-p), #F3C27E); box-shadow: 0 0 10px var(--nt-p); }
/* 5. Các nút trên đường nối (dạng bước) */
.nt-bc--steps ol { gap: 0; }
.nt-bc--steps li + li::before { content: ""; flex: none; width: 26px; height: 2px; margin: 0 4px; border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--nt-p) 45%, #fff), color-mix(in srgb, var(--nt-p) 20%, #fff)); }
.nt-bc--steps li > a, .nt-bc--steps li > .nt-cr-cur { height: 34px; padding: 0 14px 0 6px; border: 1px solid var(--nt-line); border-radius: 999px; background: #fff; color: var(--nt-body); font-weight: 600; }
.nt-bc--steps li > a::before, .nt-bc--steps li > .nt-cr-cur::before { content: ""; flex: none; width: 10px; height: 10px; margin: 0 2px 0 4px; border-radius: 50%; background: color-mix(in srgb, var(--nt-p) 30%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nt-p) 10%, #fff); }
.nt-bc--steps li:first-child > a::before { display: none; }
.nt-bc--steps li:first-child > a { padding: 0 14px 0 12px; color: var(--nt-p); }
.nt-bc--steps li > a:hover { border-color: var(--nt-p); color: var(--nt-p-d); }
.nt-bc--steps li.is-last > a, .nt-bc--steps li.is-last > .nt-cr-cur { border-color: transparent; background: linear-gradient(120deg, var(--nt-p-d), var(--nt-p)); color: #fff; }
.nt-bc--steps li.is-last > a::before, .nt-bc--steps li.is-last > .nt-cr-cur::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
@media (min-width: 850px) { .nt-cr-back { display: none; } } :where(html.nt-desk) .nt-cr-back{ display: none; } 
@media (max-width: 849px) {
  /* Điện thoại: một hàng, kéo ngang được; Trang chủ chỉ còn biểu tượng */
  :where(html:not(.nt-desk)) .nt-crumbs{ overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-left: calc(var(--nt-pad) * -1); margin-right: calc(var(--nt-pad) * -1); padding: 4px var(--nt-pad); }
  :where(html:not(.nt-desk)) .nt-crumbs::-webkit-scrollbar{ display: none; }
  :where(html:not(.nt-desk)) .nt-crumbs ol{ flex-wrap: nowrap; width: max-content; max-width: none; }
  :where(html:not(.nt-desk)) .nt-crumbs .nt-cr-home{ display: none; }
  :where(html:not(.nt-desk)) .nt-bc--classic li:first-child > a{ padding: 6px 9px; }
  :where(html:not(.nt-desk)) .nt-crumbs li.is-last span{ max-width: 62vw; }:where(html:not(.nt-desk)) :where(html.nt-desk) .nt-crumbs li.is-last span{max-width: max(62vw, 744px)}
  /* Tuỳ chọn "Trên điện thoại": thu gọn còn một nút quay về mục cha, hoặc ẩn hẳn */
  :where(html:not(.nt-desk)) .nt-bc-m-hide{ display: none; }
  :where(html:not(.nt-desk)) .nt-bc-m-compact{ overflow: visible; margin-left: 0; margin-right: 0; padding: 0; }
  :where(html:not(.nt-desk)) .nt-bc-m-compact ol{ display: none; }
  :where(html:not(.nt-desk)) .nt-cr-back{ display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 36px; padding: 0 14px 0 9px; border: 1px solid var(--nt-line); border-radius: 999px; background: #fff; color: var(--nt-p-d); font-size: 13px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 4px 12px -8px rgba(46, 33, 24, .35); }
  :where(html:not(.nt-desk)) .nt-cr-back span{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  :where(html:not(.nt-desk)) .nt-cr-back:active{ background: #FFF6EC; }
}
.nt-pages { margin: 28px 0 8px; }
.nt-pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nt-pages a, .nt-pages span.page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--nt-line); border-radius: 10px; background: #fff; color: var(--nt-ink); font-weight: 700; font-size: 14.5px; }
.nt-pages a:hover { border-color: var(--nt-p); color: var(--nt-p-d); }
.nt-pages .current { background: var(--nt-p); border-color: var(--nt-p); color: #111; }
.nt-empty { max-width: 560px; margin: 40px auto; padding: 36px 24px; text-align: center; background: #fff; border: 1px solid var(--nt-line); border-radius: var(--nt-r-lg); }
.nt-empty-ic { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--nt-sand); color: var(--nt-p); }
.nt-empty h1, .nt-empty h2 { font-size: 22px; }
.nt-empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px 0 0; }
.nt-note-admin { padding: 10px 14px; border: 1px dashed #C9B79F; border-radius: 10px; color: var(--nt-muted); }
.nt-404 .nt-404-n { display: block; font-size: 84px; font-weight: 800; line-height: 1; color: var(--nt-p); letter-spacing: -.04em; margin-bottom: 8px; }

/* ---------- 15. Cột bên & widget ---------- */
.nt-side { min-width: 0; }
.nt-widget { margin: 0 0 24px; background: #fff; border: 1px solid #F0E9DF; border-radius: 14px; overflow: hidden; }
.nt-widget-title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; background: var(--nt-p); color: #111; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.nt-widget-title.is-dark { background: var(--nt-ink); color: #F8F1E7; }
.nt-widget-title.is-dark svg { color: #D9A066; }
.nt-wcat { margin: 0; padding: 0; list-style: none; }
.nt-wcat li { border-bottom: 1px solid #F7F5F2; }
.nt-wcat li:last-child { border-bottom: 0; }
.nt-wcat a { position: relative; display: block; padding: 11px 16px 9px 28px; font-size: 14px; font-weight: 700; color: var(--nt-ink); }
.nt-wcat a::before { content: ""; position: absolute; left: 16px; top: 50%; width: 2px; height: 12px; margin-top: -6px; border-radius: 2px; background: #E2D3C0; transition: background .2s, height .2s; }
.nt-wcat a:hover, .nt-wcat .current-menu-item > a, .nt-wcat .current-product_cat-ancestor > a { color: var(--nt-p-d); background: #FDF9F3; }
.nt-wcat a:hover::before, .nt-wcat .current-menu-item > a::before { background: var(--nt-p); height: 18px; margin-top: -9px; }
.nt-wcat .sub-menu { margin: 0; padding: 0 0 6px; list-style: none; }
.nt-wcat .sub-menu li { border: 0; }
.nt-wcat .sub-menu a { padding: 7px 16px 7px 40px; font-weight: 500; font-size: 13.5px; color: var(--nt-body); }
.nt-wcat .sub-menu a::before { left: 28px; height: 2px; width: 6px; margin-top: -1px; }
.nt-wpl { margin: 0; padding: 4px 12px; list-style: none; }
.nt-wpl li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid #F3EEE7; }
.nt-wpl li:last-child { border-bottom: 0; }
.nt-wpl-img { position: relative; display: block; width: 58px; height: 58px; border-radius: 8px; overflow: hidden; background: var(--nt-sand); }
.nt-wpl-img img { width: 100%; height: 100%; object-fit: cover; }
.nt-wpl-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--nt-ink); }
.nt-wpl-name:hover { color: var(--nt-p-d); }
.nt-wpl-rate { display: flex; align-items: center; gap: 5px; margin: 2px 0; font-size: 11.5px; color: #A0968B; }
.nt-wpl-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.nt-wpl-price ins, .nt-wpl-price .amount { font-size: 13.5px; font-weight: 700; color: var(--nt-price); text-decoration: none; }
.nt-wpl-price del, .nt-wpl-price del .amount { font-size: 11px; font-weight: 400; color: #ADA49B; }
.nt-wps { margin: 0; padding: 0; list-style: none; }
.nt-wps li { border-bottom: 1px solid #F7F5F2; }
.nt-wps li:last-child { border-bottom: 0; }
.nt-wps a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; color: #342A22; }
.nt-wps a:hover { background: #FDF9F3; }
.nt-wps-img { flex: 0 0 68px; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; background: var(--nt-sand); }
.nt-wps-img img { width: 100%; height: 100%; object-fit: cover; }
.nt-wps-b { min-width: 0; }
.nt-wps-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.42; }
.nt-wps-d { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12.2px; color: #A0968B; }
.nt-widget > ul:not([class]), .nt-widget .menu { margin: 0; padding: 6px 16px 10px; list-style: none; }
.nt-widget > ul:not([class]) a, .nt-widget .menu a { display: block; padding: 8px 0; color: var(--nt-ink); border-bottom: 1px solid #F7F5F2; }
@media (min-width: 850px) { .nt-side.is-sticky { position: sticky; top: var(--nt-side-top, 20px); align-self: start; } } :where(html.nt-desk) .nt-side.is-sticky{ position: sticky; top: var(--nt-side-top, 20px); align-self: start; } 
.nt-wlist { margin: 0; padding: 4px 16px 10px; list-style: none; }
.nt-wlist li { border-bottom: 1px solid #F7F5F2; }
.nt-wlist li:last-child { border-bottom: 0; }
.nt-wlist a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; font-size: 14px; color: var(--nt-ink); }
.nt-wlist a:hover { color: var(--nt-p-d); }
.nt-wlist .children { margin: 0; padding: 0 0 0 14px; list-style: none; }
.nt-wcount { flex: 0 0 auto; min-width: 24px; padding: 0 7px; border-radius: 999px; background: var(--nt-sand); font-size: 12px; line-height: 20px; text-align: center; color: var(--nt-muted); }
.nt-wsearch { display: flex; margin: 12px; border: 1px solid var(--nt-line); border-radius: 999px; overflow: hidden; background: #fff; }
.nt-wsearch input { flex: 1 1 auto; min-width: 0; padding: 9px 14px; border: 0; background: none; font-size: 14px; }
.nt-wsearch button { flex: 0 0 42px; border: 0; background: var(--nt-p); color: #111; cursor: pointer; }
.nt-whtml { padding: 12px 16px; font-size: 14px; }
.nt-widget.is-bare { background: none; border: 0; }
/* Mục lục */
.nt-wtoc ol { margin: 0; padding: 8px 10px 12px; list-style: none; counter-reset: toc; max-height: 60vh; overflow: auto; scrollbar-width: thin; }
.nt-wtoc li { counter-increment: toc; }
.nt-wtoc li.is-sub { counter-increment: none; }
.nt-wtoc a { position: relative; display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.8px; line-height: 1.45; color: var(--nt-body); transition: background .2s, color .2s; }
.nt-wtoc a::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 22px; font-size: 12px; font-weight: 700; line-height: 1.7; color: var(--nt-p); }
.nt-wtoc li.is-sub a { padding-left: 42px; font-size: 13.2px; }
.nt-wtoc li.is-sub a::before { content: none; }
.nt-wtoc a:hover { background: var(--nt-sand); color: var(--nt-ink); }
.nt-wtoc a.is-on { background: var(--nt-a-l); color: var(--nt-a-d); font-weight: 600; }
.nt-wtoc a.is-on::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--nt-a); }
/* Liên hệ nhanh */
.nt-wct { display: grid; gap: 10px; padding: 14px 16px 16px; }
.nt-wct p { margin: 0; font-size: 13.8px; line-height: 1.55; color: var(--nt-body); }
.nt-wct-call { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--nt-a); color: #fff; }
.nt-wct-call:hover { background: var(--nt-a-d); color: #fff; }
.nt-wct-call span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.nt-wct-call b { font-size: 18px; letter-spacing: .01em; }
.nt-wct-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.nt-wct-row a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 1px solid var(--nt-line2); border-radius: 999px; background: #fff; color: var(--nt-ink); font-size: 13px; font-weight: 700; }
.nt-wct-row a:hover { border-color: var(--nt-p); color: var(--nt-p-d); }
.nt-wct-zl b { padding: 2px 6px; border-radius: 999px; background: #0068FF; color: #fff; font-size: 10px; }
.nt-wct-ms svg { color: #A033FF; }
.nt-wct-h { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--nt-muted); }
/* Ảnh quảng cáo */
.nt-wbanner { display: block; overflow: hidden; border-radius: 14px; }
.nt-wbanner-img { display: block; width: 100%; height: auto; transition: transform .4s; }
a.nt-wbanner:hover .nt-wbanner-img { transform: scale(1.03); }
/* Cam kết */
.nt-wtr { margin: 0; padding: 8px 16px 12px; list-style: none; }
.nt-wtr li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--nt-line); }
.nt-wtr li:last-child { border-bottom: 0; }
.nt-wtr-ic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--nt-a-l); color: var(--nt-a); }
.nt-wtr b { display: block; font-size: 13.8px; line-height: 1.4; color: var(--nt-ink); }
.nt-wtr small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--nt-muted); }
/* Mã giảm giá */
.nt-wcp { display: grid; gap: 8px; padding: 14px 16px 16px; text-align: center; }
.nt-wcp-code { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px; border: 2px dashed var(--nt-p); border-radius: 12px; background: #FFF8EF; color: var(--nt-p-t); cursor: pointer; font: inherit; }
.nt-wcp-code span { font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.nt-wcp-code em { padding: 5px 10px; border-radius: 999px; background: var(--nt-p); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.nt-wcp-code.is-done em { background: var(--nt-a); }
.nt-wcp small { font-size: 12.5px; color: var(--nt-muted); }
/* Đánh giá mới */
.nt-wrv { margin: 0; padding: 6px 16px 10px; list-style: none; }
.nt-wrv li { padding: 12px 0; border-bottom: 1px dashed var(--nt-line); }
.nt-wrv li:last-child { border-bottom: 0; }
.nt-wrv-h { display: flex; align-items: center; gap: 8px; }
.nt-wrv-h b { flex: 1; min-width: 0; font-size: 13.5px; color: var(--nt-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-wrv-av { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--nt-sand); color: var(--nt-p-d); font-size: 13px; font-weight: 700; }
.nt-wrv p { margin: 6px 0 4px; font-size: 13.3px; line-height: 1.55; color: var(--nt-body); }
.nt-wrv a { font-size: 12.3px; font-weight: 600; color: var(--nt-p-d); }
/* Thẻ */
.nt-wtags { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 16px; }
.nt-wtags a { padding: 6px 12px; border: 1px solid var(--nt-line2); border-radius: 999px; background: #fff; font-size: 12.8px; color: var(--nt-body); }
.nt-wtags a:hover { border-color: var(--nt-p); background: #FFF4E6; color: var(--nt-p-d); }
/* Form tư vấn: khung form của NhatDX System, bo góc theo các khối khác */
.nt-wlead .nxlf { margin: 0 !important; border-radius: 14px !important; }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nt-side{ display: none; } }

/* ---------- 16. Trợ năng & chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .nt-hdr, .nt-mh, .nt-ft, .nt-fc, .nt-bn, .nt-dw, .nt-side { display: none !important; }
  body { padding: 0 !important; background: #fff; }
}

/* Form "Nhận tư vấn" ở footer: CSS của plugin dùng !important nên phần màu / bo góc phải đè lại cùng mức */
.nt-ft .nt-ft-card .nxlf-body { padding: 0 !important; }
.nt-ft .nt-ft-card .nxlf-submit { background: var(--nt-ink) !important; border-radius: 999px !important; font-size: 14.5px !important; letter-spacing: .03em !important; text-transform: uppercase !important; }
.nt-ft .nt-ft-card .nxlf-submit:hover:not(:disabled) { background: #000 !important; filter: none; }
.nt-ft .nt-ft-card .nxlf-field input, .nt-ft .nt-ft-card .nxlf-field textarea { border-radius: 11px !important; border: 1px solid #EBDECB !important; background: #FFFDFA !important; }

/* ===== Phần tử NhatDX Builder "theo giao diện web" — theme quyết định kiểu, trang dựng / chuyển từ Flatsome nhìn y trang cũ ===== */
/* Tiêu đề (khuôn tiêu đề Flatsome mà Builder in ra) = tiêu đề khu vực của theme: chữ bên trái, nút "Xem thêm" bên phải */
.section-title-container { margin: 0 0 18px; padding: 0 0 12px; border-bottom: 1px solid var(--nt-line); }
.section-title-container .section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--nt-ink); text-align: left; text-transform: none; letter-spacing: 0; }
.section-title-container .section-title > b { display: none; }
.section-title-container .section-title-main { min-width: 0; }
.section-title-container .section-title > a { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 8px 16px; border: 1px solid #EFD9C2; border-radius: 999px; background: #fff; color: var(--nt-p); font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.section-title-container .section-title > a:hover { background: #FFF4E6; color: var(--nt-p-d); }
.section-title-container .section-title > a > i { display: none; }
.section-title-container .section-title > a::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%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' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .section-title-container .section-title{ font-size: 17px; } :where(html:not(.nt-desk)) .section-title-container .section-title > a{ padding: 7px 12px; } }
/* Slide ảnh / banner của Builder: nút nằm trong khung ảnh */
body.nt .nb-slider--slides .nb-slider__arrow--prev { left: 14px; } body.nt .nb-slider--slides .nb-slider__arrow--next { right: 14px; }
/* Thẻ bài viết của theme trong danh sách bài viết của Builder ("Theo giao diện web") */
.nb-posts--site .nb-slider__cell > .nt-pcard, .nb-posts--site > .nt-pcard { height: 100%; }

/* ---------- Thêm nhanh sản phẩm có phân loại (hộp chọn) ---------- */
.nt-qa { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 16px; }
.nt-qa[hidden] { display: none; }
.nt-qa-bg { position: absolute; inset: 0; background: rgba(30, 21, 14, .5); opacity: 0; transition: opacity .22s; }
.nt-qa-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px 24px 20px; border-radius: 20px; background: var(--nt-card); box-shadow: 0 30px 70px -20px rgba(30, 21, 14, .45); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .22s, transform .26s cubic-bezier(.2, .7, .2, 1); }
.nt-qa.is-open .nt-qa-bg { opacity: 1; }
.nt-qa.is-open .nt-qa-box { opacity: 1; transform: none; }
.nt-qa-box.is-grow { overflow: hidden; transition: opacity .22s, transform .26s cubic-bezier(.2, .7, .2, 1), height .26s cubic-bezier(.2, .7, .2, 1); }
html.nt-qa-on { overflow: hidden; }
.nt-qa-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--nt-sand); color: var(--nt-muted); font-size: 20px; line-height: 0; cursor: pointer; transition: background .2s, color .2s; }
.nt-qa-x:hover { background: var(--nt-line); color: var(--nt-ink); }
.nt-qa-wait { display: grid; place-items: center; min-height: 220px; }
.nt-qa-wait i { width: 40px; height: 40px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--nt-p) 16%, #fff); border-top-color: var(--nt-p); animation: nt-spin .7s linear infinite; }
@keyframes nt-spin { to { transform: rotate(360deg); } }
/* Ảnh · tên · giá · tình trạng */
.nt-qa-top { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; }
.nt-qa-tx { min-width: 0; }
.nt-qa-img { display: block; width: 92px; height: 92px; overflow: hidden; border-radius: 14px; background: var(--nt-sand); box-shadow: inset 0 0 0 1px rgba(46, 33, 24, .06); }
.nt-qa-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nt-qa-n { margin-right: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--nt-ink); }
.nt-qa-n:hover { color: var(--nt-p-d); }
.nt-qa-p { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; margin-top: 6px; color: var(--nt-price); font-size: 18px; font-weight: 700; line-height: 1.3; }
.nt-qa-p del, .nt-qa-p del .amount { font-size: 13px; font-weight: 400; color: var(--nt-del); }
.nt-qa-p ins { text-decoration: none; }
.nt-qa-off { padding: 1px 7px; border-radius: 6px; background: var(--nt-a-l); color: var(--nt-a); font-size: 12px; font-style: normal; font-weight: 700; line-height: 1.6; }
.nt-qa-s { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; min-height: 18px; font-size: 13px; font-weight: 600; }
.nt-qa-s:not(:empty)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nt-qa-s.is-in { color: var(--nt-a); } .nt-qa-s.is-out { color: #B91C1C; }
/* Phân loại */
.nt-qa-row { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--nt-line); }
.nt-qa-l { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--nt-ink); }
.nt-qa-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-qa-o { min-width: 76px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--nt-line2); border-radius: 12px; background: #fff; color: var(--nt-ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
/* Rê chuột: chỉ máy có chuột, viền nhạt hơn hẳn viền "đang chọn" (tránh nhầm là đã chọn; điện thoại không bị "dính" rê chuột sau khi chạm) */
@media (hover: hover) { .nt-qa-o:hover:not(:disabled):not(.is-on) { border-color: #DCC1A3; background: #FFFCF8; } }
.nt-qa-o:focus { outline: none; }
.nt-qa-o:focus-visible { outline: 2px dashed var(--nt-p); outline-offset: 2px; }
.nt-qa-o.is-on { border-color: var(--nt-p-d); background: #FFF4E6; color: var(--nt-p-d); box-shadow: inset 0 0 0 1px var(--nt-p-d); }
.nt-qa-o { position: relative; }
.nt-qa-o.is-on::after { content: ""; position: absolute; top: -9px; right: -9px; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; background: #B0662A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 2px 6px rgba(110, 66, 30, .3); }
.nt-qa-o:disabled { opacity: .4; border-style: dashed; cursor: not-allowed; text-decoration: line-through; }
/* Số lượng + nút thêm (vuông bo góc như nút giỏ của thẻ) */
.nt-qa-foot { display: flex; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--nt-line); }
.nt-qa-qty { flex: none; display: flex; align-items: center; height: 52px; border: 1.5px solid var(--nt-line2); border-radius: 14px; overflow: hidden; background: #fff; }
.nt-qa-qty button { width: 42px; height: 100%; border: 0; background: none; color: var(--nt-ink); font-size: 20px; line-height: 0; cursor: pointer; }
.nt-qa-qty button:hover { background: var(--nt-sand); }
.nt-qa-qn { min-width: 30px; text-align: center; font-size: 16px; font-weight: 700; }
.nt-qa-add { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 0; border-radius: 14px; background: var(--nt-p-d); color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--nt-p-d) 80%, transparent); transition: background .2s, opacity .2s; }
.nt-qa-add:hover:not(:disabled) { background: color-mix(in srgb, var(--nt-p-d) 86%, #000); }
.nt-qa-add:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.nt-qa-add.is-busy { opacity: .7; }
.nt-qa-more { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--nt-muted); }
.nt-qa-more:hover { color: var(--nt-p-d); }
/* Điện thoại: trượt từ đáy lên */
@media (max-width: 600px) {
  :where(html:not(.nt-desk)) .nt-qa{ place-items: end stretch; padding: 0; }
  :where(html:not(.nt-desk)) .nt-qa-box{ max-width: none; max-height: 86vh; border-radius: 20px 20px 0 0; padding: 20px 16px calc(14px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  :where(html:not(.nt-desk)) .nt-qa-top{ grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  :where(html:not(.nt-desk)) .nt-qa-p{ font-size: 17px; gap: 2px 6px; }
  :where(html:not(.nt-desk)) .nt-qa-img{ width: 80px; height: 80px; }
}
/* Điện thoại nhỏ (≤ 359px): ảnh nhỏ lại để giá + % giảm vẫn nằm một hàng */
@media (max-width: 359px) {
  :where(html:not(.nt-desk)) .nt-qa-top{ grid-template-columns: 66px minmax(0, 1fr); gap: 10px; }
  :where(html:not(.nt-desk)) .nt-qa-img{ width: 66px; height: 66px; }
  :where(html:not(.nt-desk)) .nt-qa-p{ font-size: 16px; }
}
/* Footer điện thoại: cụm thương hiệu canh giữa, cụm liên hệ canh giữa theo khối, link menu thẳng chữ tiêu đề */
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-ft-brand{ display: flex; flex-direction: column; align-items: center; text-align: center; }
  :where(html:not(.nt-desk)) .nt-ft-logo{ margin-left: auto; margin-right: auto; }
  :where(html:not(.nt-desk)) .nt-ft-slogan{ justify-content: center; }
  :where(html:not(.nt-desk)) .nt-ft-about{ max-width: 420px; margin-left: auto; margin-right: auto; }
  :where(html:not(.nt-desk)) .nt-ft-ct{ width: fit-content; max-width: 100%; margin: 2px auto 16px; text-align: left; }
  :where(html:not(.nt-desk)) .nt-ft-soc{ justify-content: center; }
}

/* ---------- Dải logo đối tác (đầu chân trang) ---------- */
.nt-ft-partners { position: relative; background: linear-gradient(180deg, #F3E7D6, #FAF6F0); padding: 14px 0; }
.nt-ftp-trk { max-width: var(--nt-w); margin: 0 auto; padding: 0 var(--nt-pad); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.nt-ftp-l { display: flex; align-items: center; justify-content: center; width: max-content; min-width: 100%; margin: 0; padding: 0; list-style: none; }
.nt-ftp-l li { flex: none; display: flex; align-items: center; padding: 0 27px; }   /* khoảng cách bằng padding (không dùng gap) → nhân đôi danh sách chạy vòng khớp đúng nửa */
.nt-ftp-l a { display: flex; }
.nt-ftp-img { display: block; width: auto; height: var(--ph, 38px); max-width: 200px; object-fit: contain; opacity: .85; mix-blend-mode: multiply; transition: opacity .25s, filter .25s; }
.nt-ftp-l a:hover .nt-ftp-img { opacity: 1; }
.nt-ft-partners.is-gray .nt-ftp-img { filter: grayscale(1); opacity: .6; }
.nt-ft-partners.is-gray li:hover .nt-ftp-img { filter: none; opacity: 1; }
.nt-ft-partners.is-run .nt-ftp-l { justify-content: flex-start; animation: nt-ftp var(--pd, 40s) linear infinite; }
.nt-ft-partners.is-run:hover .nt-ftp-l, .nt-ft-partners.is-run:focus-within .nt-ftp-l { animation-play-state: paused; }
.nt-ft-partners.is-drag .nt-ftp-trk { overflow-x: auto; scrollbar-width: none; }
.nt-ft-partners.is-drag .nt-ftp-trk::-webkit-scrollbar { display: none; }
.nt-ft-partners.is-drag .nt-ftp-l { justify-content: flex-start; }
@keyframes nt-ftp { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nt-ft-partners.is-run .nt-ftp-l { animation: none; } }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-ft-partners{ padding: 11px 0; }
  :where(html:not(.nt-desk)) .nt-ftp-l li{ padding: 0 17px; }
  :where(html:not(.nt-desk)) .nt-ftp-img{ height: calc(var(--ph, 38px) * .8); max-width: 150px; }
}

html.nt-desk{overflow-x:auto}html.nt-desk body{min-width:1200px}