/*
 * 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 header máy tính · 6 header đ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(../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; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-500-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: 600; font-display: swap; src: url(../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(../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(../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; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-500-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: 600; font-display: swap; src: url(../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(../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-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-hd-h: 0px;
}
/* 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; }
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); } h2 { font-size: clamp(21px, 2.2vw, 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 { --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. Header máy tính ---------- */
.nt-hdr { position: relative; z-index: 50; }
.nt-top { background: var(--nt-ink); color: #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-note { display: flex; align-items: center; gap: 7px; }
.nt-top-note svg { color: #D9A066; }
.nt-top-mail { color: #F8F1E7; }
.nt-top-mail:hover { color: #F3D9B8; }
.nt-hd { background: 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: var(--nt-logo-h); 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-line2); border-radius: 999px; background: #fff; color: #342A22; line-height: 1.25; transition: background .2s; }
.nt-hotline:hover { background: var(--nt-sand); color: #342A22; }
.nt-hotline-ic { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--nt-line2); display: grid; place-items: center; color: var(--nt-p); }
.nt-hotline-tx { display: flex; flex-direction: column; gap: 2px; }
.nt-hotline-tx small { font-size: 11.5px; color: var(--nt-muted); }
.nt-hotline-tx strong { font-size: 17px; font-weight: 700; color: var(--nt-ink); 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; }
.nt-cart-n { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #F3D9B8; color: var(--nt-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; transform: scale(0); transition: transform .2s; }
.nt-cart-n.is-on { transform: scale(1); }
.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-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; }

/* 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: min(var(--nt-logo-h), 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 (min-width: 850px) and (max-width: 1099px) {
  .nt-mi { display: none; }
  .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. Header điện thoại ---------- */
.nt-mh { display: none; }
@media (max-width: 849px) {
  .nt-hdr { display: none; }
  :root { --nt-hd-h: 54px; }
  body { padding-top: 54px; }
  .nt-mh { display: block; position: fixed; z-index: 9990; top: 0; left: 0; right: 0; padding: 8px 12px; background: var(--nt-p); transition: box-shadow .2s; }
  .admin-bar .nt-mh { top: 46px; }
  .nt-mh.is-scrolled { box-shadow: 0 2px 10px rgba(53, 39, 28, .25); }
  .nt-mh-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .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; }
  .nt-mh-btn .nt-burger { width: 17px; }
  .nt-mh-btn[aria-expanded=true] .nt-burger { background: transparent; }
  .nt-mh-btn[aria-expanded=true] .nt-burger::before { top: 0; transform: rotate(45deg); }
  .nt-mh-btn[aria-expanded=true] .nt-burger::after { top: 0; transform: rotate(-45deg); }
  .nt-burger::before, .nt-burger::after { transition: transform .2s, top .2s; }
  .nt-mh-find .nt-i-x, .nt-mh-find[aria-expanded=true] .nt-i-find { display: none; }
  .nt-mh-find[aria-expanded=true] .nt-i-x { display: block; }
  .nt-mh-logo { flex: 1; display: flex; justify-content: center; min-width: 0; }
  .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; }
  .nt-mh-cart .nt-cart-n { top: -3px; right: -3px; background: var(--nt-ink); color: #FBF8F3; box-shadow: 0 0 0 2px var(--nt-paper); }
  .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); }
  .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; }
  .nt-mh-bar .nt-search-in { padding: 0 16px; font-size: 16px; }
  .nt-mh-go { flex: 0 0 44px; border: 0; border-radius: 999px; background: var(--nt-p-d); color: #fff; display: grid; place-items: center; }
  .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); }
  .nt-mh-menu, .nt-mh-menu ul { margin: 0; padding: 0; list-style: none; }
  .nt-mh-menu > li > a { display: block; padding: 12px 10px; font-weight: 700; color: var(--nt-ink); border-bottom: 1px solid #F3EDE4; }
  .nt-mh-menu .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 0 10px; }
  .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; }
  .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); }
  .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; }
  .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: #594636; }
.nt-ft-promo { position: relative; z-index: 3; margin: 0 auto -38px; max-width: var(--nt-w); padding: 0 var(--nt-pad); }
.nt-ft-promo-in { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); background: #fff; border: 1px solid #EBDECB; border-radius: 18px; box-shadow: 0 14px 34px -18px rgba(92, 61, 31, .3); }
.nt-ft-pi { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.nt-ft-pi + .nt-ft-pi { border-left: 1px dashed #EBDECB; }
.nt-ft-pic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #A96423; background: linear-gradient(145deg, #FBECDA, #F3DBBE); box-shadow: inset 0 0 0 1px rgba(201, 122, 49, .18); }
.nt-ft-pi b { display: block; margin: 0 0 2px; font-size: 14.5px; line-height: 1.35; color: #2F2219; }
.nt-ft-pi em { display: block; font-style: normal; font-size: 13px; line-height: 1.4; color: #796758; }
.nt-ft-main { position: relative; overflow: hidden; padding: 84px 0 44px; background: linear-gradient(#FFFDFA, #F8EFE2); }
.nt-ft:not(.has-promo) .nt-ft-main { padding-top: 48px; }
.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); }
.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: #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: #796758; }
.nt-ft-ct a, .nt-ft-ct b { font-weight: 700; color: #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: #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-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: #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: #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: #2F2219; color: #CBC0B3; font-size: 13px; }
.nt-ft-bot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; padding-top: 14px; padding-bottom: 14px; }
.nt-ft-pol { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nt-ft-pol a { color: #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: #F2E6D4; font-size: 12px; font-weight: 500; }
@media (max-width: 1100px) and (min-width: 850px) {
  .nt-ft-grid.has-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 849px) {
  .nt-ft { margin-top: 40px; }
  .nt-ft-promo-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-ft-pi { padding: 14px 12px; gap: 10px; flex-direction: column; text-align: center; }
  .nt-ft-pi:nth-child(3) { border-left: 0; }
  .nt-ft-pi:nth-child(n+3) { border-top: 1px dashed #EBDECB; }
  .nt-ft-pic { flex-basis: 42px; width: 42px; height: 42px; }
  .nt-ft-pi b { font-size: 13.5px; } .nt-ft-pi em { font-size: 12px; }
  .nt-ft-main { padding: 70px 0 30px; }
  .nt-ft-grid, .nt-ft-grid.has-lead { grid-template-columns: 1fr; gap: 0; }
  .nt-ft-brand { padding-bottom: 20px; }
  .nt-ft-logo { width: 240px; }
  .nt-ft-col { border-top: 1px solid #EADCC9; }
  .nt-ft-col .nt-ft-h { margin: 0; }
  .nt-ft-col .nt-ft-h button { padding: 16px 0; cursor: pointer; }
  .nt-ft-col .nt-ft-h span::after { display: none; }
  .nt-ft-pm { display: block; margin-left: auto; width: 14px; height: 14px; position: relative; }
  .nt-ft-pm::before, .nt-ft-pm::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
  .nt-ft-pm::after { transform: rotate(90deg); }
  .nt-ft-col.is-open .nt-ft-pm::after { transform: rotate(0); }
  .nt-ft-col .nt-ft-links { display: none; padding: 0 0 12px; }
  .nt-ft-col.is-open .nt-ft-links { display: block; }
  .nt-ft-lead { padding-top: 22px; border-top: 1px solid #EADCC9; }
  .nt-ft-bot-in { flex-direction: column; text-align: center; padding-bottom: 76px; }
  .nt-ft-pol, .nt-ft-bdg { justify-content: center; }
}

/* ---------- 9. Liên hệ nổi & thanh đáy ---------- */
.nt-fc { position: fixed; z-index: 9995; right: 18px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.nt-fc-list { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.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; }
.nt-fc-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 7px 12px; border-radius: 8px; background: #342A22; color: #fff; font-size: 13px; font-weight: 600; line-height: 1; 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; }
.nt-fc-close, .nt-fc.is-open .nt-fc-open { display: none; }
.nt-fc.is-open .nt-fc-close { display: block; }
@keyframes nt-ring { 0% { opacity: .7; transform: scale(.85); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
.nt-bn { display: none; }
@media (max-width: 849px) {
  .nt-fc.has-bn { display: none; }
  .nt-fc { right: 12px; bottom: 16px; }
  .nt-bn { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; padding: 2px 4px calc(2px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(46, 33, 24, .06); }
  body:has(.nt-bn) { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
  .nt-bn-i { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 50px; color: #804324; font-size: 10.5px; font-weight: 700; letter-spacing: .01em; }
  .nt-bn-i.is-on, .nt-bn-i:hover { color: var(--nt-p-d); }
  .nt-bn-ic { display: flex; align-items: center; justify-content: center; height: 24px; }
  .nt-bn-tx { line-height: 1.1; white-space: nowrap; }
  .nt-bn-i.is-call .nt-bn-ic { width: 34px; height: 26px; border-radius: 999px; background: var(--nt-p); color: #fff; }
  .nt-bn-zl { display: flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: #F9F4EE; box-shadow: inset 0 0 0 1px #F0E5D6; color: #0068FF; font-size: 11px; font-weight: 800; }
}

/* ---------- 10. Ngăn giỏ hàng ---------- */
.nt-dw { position: fixed; z-index: 10000; inset: 0; }
.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; }
.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-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 10px 36px 10px 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; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.nt-dw-price { font-weight: 700; color: var(--nt-price); font-size: 14.5px; }
.nt-dw-rm { position: absolute; top: 8px; right: 6px; width: 28px; height: 28px; 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-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; }
/* Thanh miễn phí giao hàng (ngăn giỏ) */
.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; }

/* ---------- 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) { .nt-grid { --cols: 3; } }
@media (max-width: 849px) { .nt-grid { --cols: 2 !important; gap: 12px 10px; } }
.nt-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 12px; background: var(--nt-card); border-radius: 12px; box-shadow: var(--nt-shadow); text-align: center; color: #342A22; transition: box-shadow .25s, transform .25s; }
.nt-card:hover { box-shadow: 0 10px 26px rgba(46, 33, 24, .14); transform: translateY(-2px); }
.nt-card-img { position: relative; display: block; margin: 0 0 10px; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: rgba(0, 0, 0, .03); }
.nt-card-img > img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.nt-card:hover .nt-card-img > img { transform: scale(1.04); }
.nt-badge { position: absolute; z-index: 2; top: 6px; left: 6px; display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 8px; background: var(--nt-a); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.nt-badge.is-order { left: auto; right: 6px; top: auto; bottom: 6px; background: var(--nt-ink); }
.nt-badge.is-sm { top: 4px; left: 4px; padding: 2px 5px; border-radius: 5px; font-size: 10px; }
.nt-mark { position: absolute; z-index: 2; top: 6px; right: 6px; width: 15%; min-width: 30px; aspect-ratio: 1; padding: 15%; padding: 2.2%; border-radius: 50%; background: rgba(255, 253, 249, .9); box-shadow: 0 2px 8px rgba(46, 33, 24, .12); display: grid; place-items: center; }
.nt-mark img { width: 100%; height: 100%; object-fit: contain; }
.nt-card-oos { position: absolute; 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; }
.nt-card-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.45em * 3); margin: 0 0 6px; font-size: 13px; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: #000; }
.nt-card-name a { color: inherit; }
.nt-card-name a:hover { color: var(--nt-p-d); }
.nt-card-price { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 5px; min-height: 26px; margin: 0 0 4px; color: var(--nt-price); }
.nt-card-price ins, .nt-card-price .amount { font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--nt-price); }
.nt-card-price del, .nt-card-price del .amount { font-size: 11px; font-weight: 400; color: #ADA49B; }
.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); }
.nt-card-sold { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 18px; margin: 0 0 4px; font-size: 12px; font-weight: 500; color: #6F6257; white-space: nowrap; overflow: hidden; }
.nt-card-sold svg { color: #2E9E57; }
.nt-card-sold b { color: #111; font-weight: 700; }
.nt-card-rate { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 22px; font-size: 12.5px; color: #ADA49B; }
.nt-card-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin: auto 0 2px; padding: 9px 16px; border: 1px solid var(--nt-p); border-radius: 20px; background: #fff; color: var(--nt-p-t); font-size: 13.5px; font-weight: 700; line-height: 1.2; transition: background .2s, border-color .2s; }
.nt-card-rate + .nt-card-btn, .nt-card-sold + .nt-card-btn, .nt-card-price + .nt-card-btn { margin-top: 10px; }
.nt-card-btn:hover { background: #FFF4E6; border-color: var(--nt-p-d); color: var(--nt-p-t); }
.nt-card-btn.loading { opacity: .6; pointer-events: none; }
.nt-card-btn.added::after { content: "✓"; }
.nt-card .added_to_cart { display: none; }
@media (max-width: 849px) {
  .nt-card { padding: 8px; }
  .nt-card-name { font-size: 12.5px; }
  .nt-card-btn { min-height: 36px; padding: 7px 10px; font-size: 12.5px; }
  .nt-card-btn svg { display: none; }
}
/* Sao */
.nt-stars { position: relative; display: inline-flex; line-height: 0; color: var(--nt-star); }
.nt-stars-bg { display: inline-flex; color: #E3DED6; }
.nt-stars-fg { position: absolute; inset: 0 auto 0 0; display: inline-flex; width: var(--v, 100%); overflow: hidden; color: var(--nt-star); }
.nt-stars svg { flex: 0 0 auto; }

/* ---------- 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; }
.nt-slider-btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 849px) {
  .nt-slider { --gap: 10px; }
  .nt-slider-track { grid-auto-columns: calc((100% - (var(--cols-sm, 2) - 1) * var(--gap)) / var(--cols-sm, 2)); }
  .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) { .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 ---------- */
.nt-crumbs { margin: 18px 0 16px; font-size: 13.5px; line-height: 1.4; color: #8C7B6B; }
.nt-crumbs p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.nt-crumbs a { display: inline-flex; align-items: center; gap: 7px; color: #8C7B6B; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.nt-crumbs a:first-child { padding: 6px 14px 6px 12px; border: 1px solid var(--nt-line); border-radius: 999px; background: #fff; color: var(--nt-p); }
.nt-crumbs a:hover { color: var(--nt-p-d); }
.nt-crumbs .separator { font-size: 0; color: #C9B49A; }
.nt-crumbs .separator::after { content: "/"; font-size: 14px; }
.nt-crumbs .last { color: var(--nt-p-d); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.nt-crumbs p.is-post { flex-wrap: nowrap; min-width: 0; }
.nt-crumbs p.is-post a { flex: 0 0 auto; }
.nt-crumbs .separator.is-chev::after { content: "›"; font-size: 16px; }
.nt-crumbs .last.is-title { flex: 1 1 auto; min-width: 0; font-weight: 400; text-transform: none; letter-spacing: 0; color: #8C7B6B; font-size: 13.5px; }
@media (max-width: 849px) {
  .nt-crumbs p { flex-wrap: nowrap; min-width: 0; gap: 4px 8px; }
  .nt-crumbs p > a, .nt-crumbs p > .separator { flex: 0 0 auto; }
  .nt-crumbs p > a:not(:first-child):not(.last) { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
  .nt-crumbs .last { flex: 0 1 auto; min-width: 0; }
  .nt-crumbs a.last { display: block; }
  .nt-crumbs .nt-cr-home { display: none; }
  .nt-crumbs a:first-child { padding: 6px 9px; }
}
.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-chip { display: inline-flex; align-items: center; padding: 3px 10px; border: 1px solid var(--nt-line); border-radius: 8px; background: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.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); text-transform: uppercase; }
.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; } }
.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; }
@media (max-width: 849px) { .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; }
