/*
 * NhatDX Themes — nội dung: trang chủ, trang và các khối nội dung
 * ([nhatdx_earth_*], [nx_cta], văn bản chính sách .nxd…). Chữ trong bài + .nx-art nằm ở prose.css (nạp kèm).
 */

/* ---------- Trang thường (cột bên trang: .nt-blog.has-side) ---------- */
.nt-page-head { padding-top: 4px; }
.nt-page-t { margin: 0 0 20px; font-size: clamp(26px, 3vw, 34px); }:where(html.nt-desk) .nt-page-t{font-size: clamp(26px, max(3vw, 36px), 34px)}
.nt-page-c { padding-bottom: 20px; }
.nt-page.is-full .nt-page-c { padding: 0; }
.nt-page.has-own-head .nt-page-c > :first-child { margin-top: 0; }
.nt-blog { display: block; padding-bottom: 20px; }
.nt-blog.has-side { display: grid; grid-template-columns: minmax(0, 312px) minmax(0, 1fr); gap: 30px; align-items: start; }
.nt-blog .nt-side { padding-top: 30px; }
.nt-blog-main { min-width: 0; padding-top: 4px; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nt-blog.has-side{ grid-template-columns: 1fr; }
  :where(html:not(.nt-desk)) .nt-pcard-b{ margin: -36px 6px 0; padding: 8px 10px 10px; }
  :where(html:not(.nt-desk)) .nt-pcard-t{ font-size: 13.5px; }
}

/* ---------- Khung liên hệ [nx_cta] ---------- */
.nx-cta.nx-cta--soft { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin: 32px 0 8px; padding: 24px 28px; border: 1px solid #EFE5D8; border-radius: 22px; background: #fff; color: #2B211A; text-align: left; }
.nx-cta-ic { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--nt-a-l); color: var(--nt-a); }
.nx-cta-tx { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nx-cta-eye { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--nt-a); }
.nx-cta p.nx-cta-title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; color: #2B211A; }
.nx-cta p.nx-cta-sub { margin: 0; font-size: 15px; line-height: 1.55; color: #5C4E43; }
.nx-cta-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.nx-cta .nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nx-cta .nx-btn-call { background: var(--nt-a); color: #fff; }
.nx-cta .nx-btn-call:hover { background: var(--nt-a-d); color: #fff; }
.nx-cta .nx-btn-zalo { background: #fff; color: var(--nt-p-t); border: 1.5px solid var(--nt-p); }
.nx-cta .nx-btn-zalo:hover { background: #FFF4E6; color: var(--nt-p-t); }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nx-cta.nx-cta--soft{ padding: 20px 18px; gap: 14px; }
  :where(html:not(.nt-desk)) .nx-cta-btns{ width: 100%; justify-content: stretch; }
  :where(html:not(.nt-desk)) .nx-cta .nx-btn{ flex: 1 1 140px; padding: 0 14px; font-size: 14.5px; }
}

/* ---------- Khối nội dung chung ---------- */
:root {
  --ndx-buy: var(--nt-p-d, #A86222);        /* nâu nút chính (Mua sắm ngay), chữ nhấn */
  --ndx-brown-d: var(--nt-p-t, #6B3E16);    /* nâu đậm */
  --ndx-cream: #F4EADC;                     /* nền kem: ô biểu tượng, khung đánh giá */
}
.nt-blk { display: block; width: 100%; }
.nxe-wrap { max-width: var(--nt-w); margin: 0 auto; padding: 0 var(--nt-pad); color: var(--nt-ink); }
/* Khối nằm trong một khung đã có lề (cột Flatsome cũ, cột / khu vực của trình dựng): không thêm lề lần nữa → thẳng hàng với các khối khác */
:is(.nt-wrap, .nt-fs-col, .nb-col, .nb-section:not(.nb-section--bare) > .nb-section__in) .nxe-wrap { max-width: none; padding-left: 0; padding-right: 0; }
.nxe-kicker { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--nt-a); font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; }
.nxe-kicker::before { content: ""; flex: 0 0 36px; width: 36px; height: 1px; background: var(--nt-p); }
.nxe-h { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--nt-ink); }
.nxe-h em { font-style: normal; color: var(--nt-p); }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nxe-kicker{ gap: 8px; font-size: clamp(9.5px, 2.85vw, 12px); letter-spacing: .07em; white-space: nowrap; min-width: 0; }:where(html:not(.nt-desk)) :where(html.nt-desk) .nxe-kicker{font-size: clamp(9.5px, max(2.85vw, 34.2px), 12px)}
  :where(html:not(.nt-desk)) .nxe-kicker::before{ width: 18px; flex: 0 0 18px; }
}
.nxe-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.nxe-btn:hover { transform: translateY(-1px); }
.nxe-btn--solid { background: var(--nt-p); color: #111; }
.nxe-btn--solid:hover { background: var(--nt-p-d); color: #111; }
.nxe-btn--chat { padding: 0 20px 0 8px; border: 1px solid var(--nt-ink); background: transparent; color: var(--nt-ink); }
.nxe-btn--chat:hover { background: var(--nt-ink); color: #FFF8EF; }
.nxe-chat-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #E9DAC4; color: var(--nt-p); font-size: 10.5px; font-weight: 700; letter-spacing: -.02em; transition: background .2s, color .2s; }
.nxe-btn--chat:hover .nxe-chat-ic { background: rgba(255, 248, 239, .14); color: #F3D9B8; }

/* Giới thiệu ngắn "Về An Nhiên" (HTML có sẵn trong nội dung): chữ bên trái, 3 bước bên phải (điện thoại: một cột).
   Bố cục trang chủ mới (.ndx-hm-about, home.css) xếp một cột trong thẻ có ảnh. */
.nxe-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px 40px; align-items: center; margin: 4px 0 30px; padding: 28px 32px; background: #FFFDF8; border: 1px solid var(--nt-sand); border-radius: 20px; box-shadow: 0 10px 30px -22px rgba(74, 50, 26, .35); text-align: left; }
.nxe-intro .nxe-kicker { margin: 0 0 8px; }
.nxe-intro h2.nxe-intro-h { margin: 0 0 10px; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }:where(html.nt-desk) .nxe-intro h2.nxe-intro-h{font-size: clamp(21px, max(2vw, 24px), 26px)}
.nxe-intro-lead { margin: 0; font-size: 15.5px; line-height: 1.7; color: #4A3B30; }
.nxe-intro-lead strong { color: var(--nt-ink); }
.nxe-intro-more { margin-top: 10px; }
.nxe-intro-more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--nt-p); }
.nxe-intro-more > summary::-webkit-details-marker { display: none; }
.nxe-intro-more > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nxe-intro-more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.nxe-intro-more p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; color: #5A4A3E; }
.nxe-intro-more a { color: var(--nt-p); text-decoration: underline; text-underline-offset: 2px; }
.nxe-intro ol.nxe-intro-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: nxi; }
.nxe-intro .nxe-intro-steps li { counter-increment: nxi; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 2px 12px; align-items: center; margin: 0; padding: 12px 14px; background: var(--nt-sand); border-radius: 14px; font-size: 13px; line-height: 1.45; color: #6B5A4C; }
.nxe-intro .nxe-intro-steps li::before { content: "0" counter(nxi); grid-column: 1; grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--nt-p); font-weight: 700; font-size: 14px; line-height: 1; box-shadow: inset 0 0 0 1px #EBDCC6; }
.nxe-intro .nxe-intro-steps li > b, .nxe-intro .nxe-intro-steps li > strong { grid-column: 2; grid-row: 1; display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--nt-ink); }
.nxe-intro .nxe-intro-steps li > span { grid-column: 2; grid-row: 2; display: block; min-width: 0; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nxe-intro{ grid-template-columns: 1fr; gap: 16px; margin-bottom: 22px; padding: 20px 18px; border-radius: 16px; }
  :where(html:not(.nt-desk)) .nxe-intro-lead{ font-size: 15px; }
  :where(html:not(.nt-desk)) .nxe-intro h2.nxe-intro-h{ font-size: 20px; }
  :where(html:not(.nt-desk)) .nxe-intro ol.nxe-intro-steps{ gap: 6px; }
  :where(html:not(.nt-desk)) .nxe-intro .nxe-intro-steps li{ grid-template-columns: 30px minmax(0, 1fr); gap: 0 10px; padding: 8px 10px; border-radius: 12px; font-size: 0; }
  :where(html:not(.nt-desk)) .nxe-intro .nxe-intro-steps li::before{ width: 30px; height: 30px; font-size: 12px; }
  :where(html:not(.nt-desk)) .nxe-intro .nxe-intro-steps li > b,:where(html:not(.nt-desk)) .nxe-intro .nxe-intro-steps li > strong{ grid-row: 1 / span 2; font-size: 14px; }
  :where(html:not(.nt-desk)) .nxe-intro .nxe-intro-steps li > span{ display: none; }
}

/* ---------- Banner mở đầu ---------- */
.nxe-hero { padding: 15px 0 28px; }
.nxe-hero-in { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; overflow: hidden; border-radius: 28px; background: var(--nt-sand); }
.nxe-hero-tx { flex: 1 1 440px; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 64px 56px; }
.nxe-hero .nxe-h { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; }:where(html.nt-desk) .nxe-hero .nxe-h{font-size: clamp(36px, max(4.4vw, 52.8px), 58px)}
.nxe-hero .nxe-h em { display: block; }
.nxe-hero-p { max-width: 470px; margin: 0; font-size: 17px; line-height: 1.65; color: #5C4E43; }
.nxe-hero-btns { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 4px; }
.nxe-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 12px; padding-top: 22px; border-top: 1px solid #DCC9B0; font-size: 13.5px; color: var(--nt-body); }
.nxe-ticks span { display: inline-flex; align-items: center; gap: 8px; }
.nxe-ticks svg { color: #2E9E57; }
.nxe-hero-media { position: relative; flex: 1 1 420px; min-height: 460px; display: flex; align-items: flex-end; justify-content: center; padding: 36px 36px 0 0; }
.nxe-hero-media > picture { display: contents; }
.nxe-hero-media img { display: block; width: 100%; max-width: 520px; height: 500px; object-fit: cover; border-radius: 260px 260px 0 0; }
.nxe-hero-media.is-free { align-items: center; padding: 28px 32px 28px 0; }
.nxe-hero-media.is-free img { height: auto; max-height: 560px; max-width: 560px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 18px 30px rgba(110, 66, 30, .1)); }
.nxe-hero-media.is-circle img, .nxe-hero-media.is-hex img, .nxe-hero-media.is-square img { height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: #FAF5EE; padding: 8%; }
.nxe-hero-media.is-square img { border-radius: 24px; }
.nxe-flash { position: absolute; left: 0; bottom: 40px; display: flex; align-items: center; gap: 14px; max-width: 310px; padding: 14px 16px; background: var(--nt-paper); border-radius: 18px; box-shadow: 0 18px 40px rgba(46, 33, 24, .14); color: var(--nt-ink); }
.nxe-flash img { flex: 0 0 auto; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.nxe-flash > span > span { display: block; }
.nxe-flash-b { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--nt-p); }
.nxe-flash-n { font-size: 13px; font-weight: 600; line-height: 1.35; }
.nxe-flash-p { font-size: 14px; line-height: 1.3; color: var(--nt-price); }
@media (min-width: 900px) and (max-width: 1240px) {
  .nxe-hero-in { flex-wrap: nowrap; gap: 10px; }
  .nxe-hero-tx { flex: 1 1 0; min-width: 0; padding: 42px 28px 38px 34px; gap: 16px; }
  .nxe-hero .nxe-h { font-size: clamp(31px, 3.6vw, 44px); }:where(html.nt-desk) .nxe-hero .nxe-h{font-size: clamp(31px, max(3.6vw, 43.2px), 44px)}
  .nxe-hero-p { font-size: 15px; line-height: 1.6; }
  .nxe-hero-media { flex: 0 0 38%; min-width: 0; min-height: 0; padding: 24px 24px 24px 0; }
  .nxe-hero-media img { height: auto; aspect-ratio: 4 / 5; max-width: 100%; }
  .nxe-hero-btns > * { padding-left: 13px; padding-right: 13px; }
  .nxe-hero-btns .nxe-btn { height: 42px; font-size: 13.5px; gap: 6px; }
  .nxe-hero-btns .nxe-chat-ic { width: 28px; height: 28px; font-size: 9.5px; }
  .nxe-ticks { flex-wrap: nowrap; gap: 12px; font-size: 12.5px; white-space: nowrap; }
}@media (max-width:1240px){
  :where(html.nt-desk) .nxe-hero-in{ flex-wrap: nowrap; gap: 10px; }
  :where(html.nt-desk) .nxe-hero-tx{ flex: 1 1 0; min-width: 0; padding: 42px 28px 38px 34px; gap: 16px; }
  :where(html.nt-desk) .nxe-hero .nxe-h{ font-size: clamp(31px, 3.6vw, 44px); }:where(html.nt-desk) .nxe-hero .nxe-h{font-size: clamp(31px, max(3.6vw, 43.2px), 44px)}
  :where(html.nt-desk) .nxe-hero-p{ font-size: 15px; line-height: 1.6; }
  :where(html.nt-desk) .nxe-hero-media{ flex: 0 0 38%; min-width: 0; min-height: 0; padding: 24px 24px 24px 0; }
  :where(html.nt-desk) .nxe-hero-media img{ height: auto; aspect-ratio: 4 / 5; max-width: 100%; }
  :where(html.nt-desk) .nxe-hero-btns > *{ padding-left: 13px; padding-right: 13px; }
  :where(html.nt-desk) .nxe-hero-btns .nxe-btn{ height: 42px; font-size: 13.5px; gap: 6px; }
  :where(html.nt-desk) .nxe-hero-btns .nxe-chat-ic{ width: 28px; height: 28px; font-size: 9.5px; }
  :where(html.nt-desk) .nxe-ticks{ flex-wrap: nowrap; gap: 12px; font-size: 12.5px; white-space: nowrap; }
}
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nxe-hero{ padding: 14px 0 20px; }
  :where(html:not(.nt-desk)) .nxe-hero-in{ gap: 0; border-radius: 24px; }
  :where(html:not(.nt-desk)) .nxe-hero-tx{ padding: 28px 22px 26px; gap: 14px; }
  :where(html:not(.nt-desk)) .nxe-hero-p{ font-size: 15px; }
  :where(html:not(.nt-desk)) .nxe-ticks{ display: none; }
  :where(html:not(.nt-desk)) .nxe-hero-media{ min-height: 0; padding: 0 22px; }
  :where(html:not(.nt-desk)) .nxe-hero-media.no-m{ display: none; }
  :where(html:not(.nt-desk)) .nxe-hero-media img{ height: 240px; border-radius: 170px 170px 0 0; }
  :where(html:not(.nt-desk)) .nxe-hero-media.is-free{ padding: 4px 12px 18px; }
  :where(html:not(.nt-desk)) .nxe-hero-media.is-free img{ height: auto; max-height: none; max-width: 100%; border-radius: 0; }
  :where(html:not(.nt-desk)) .nxe-flash{ left: 30px; right: 30px; bottom: 16px; max-width: none; padding: 10px 12px; }
  :where(html:not(.nt-desk)) .nxe-btn{ height: 48px; padding: 0 22px; }
  :where(html:not(.nt-desk)) .nxe-hero-btns{ flex-wrap: wrap; }
  :where(html:not(.nt-desk)) .nxe-hero-btns .nxe-btn--solid{ width: 100%; justify-content: center; }
  :where(html:not(.nt-desk)) .nxe-hero-btns .nxe-btn--chat{ flex: 1 1 0; justify-content: center; padding: 0 12px 0 6px; font-size: 14px; }
  :where(html:not(.nt-desk)) .nxe-chat-ic{ width: 32px; height: 32px; }
}

/* Dải 4 cam kết: ô biểu tượng nền kem, kẻ chia ô; điện thoại cuộn ngang */
.ndx-tr { margin: 28px 0 var(--ndx-tr-mb, 32px); }   /* chừa khoảng với khối kế (Hot Sale, Về An Nhiên…) */
.nxe-hero + .ndx-tr { margin-top: 0; }
.ndx-tr-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--nt-paper); border: 1px solid var(--nt-line); border-radius: 16px; }
.ndx-tr-i { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 22px 24px; }
.ndx-tr-i + .ndx-tr-i { border-left: 1px solid var(--nt-line); }
.ndx-tr-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ndx-cream); color: var(--ndx-buy); }
.ndx-tr-i b { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--nt-ink); }
.ndx-tr-i small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--nt-muted); }
@media (max-width: 1100px) and (min-width: 850px) {
  :where(html:not(.nt-desk)) .ndx-tr-in{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(html:not(.nt-desk)) .ndx-tr-i:nth-child(3){ border-left: 0; }
  :where(html:not(.nt-desk)) .ndx-tr-i:nth-child(n+3){ border-top: 1px solid var(--nt-line); }
}
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-tr{ margin: 22px 0 var(--ndx-tr-mb, 22px); }
  :where(html:not(.nt-desk)) .ndx-tr-in{ display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
  :where(html:not(.nt-desk)) .ndx-tr-in::-webkit-scrollbar{ display: none; }
  :where(html:not(.nt-desk)) .ndx-tr-i{ flex: 0 0 76%; gap: 12px; padding: 14px; scroll-snap-align: start; }
  :where(html:not(.nt-desk)) .ndx-tr-ic{ width: 40px; height: 40px; border-radius: 10px; }
  :where(html:not(.nt-desk)) .ndx-tr-i b{ font-size: 14.5px; line-height: 1.3; }
  :where(html:not(.nt-desk)) .ndx-tr-i small{ font-size: 14px; line-height: 1.35; }
}

/* Câu chuyện thương hiệu (tổ ong 3 ô) */
.nxe-story { padding: 40px 0; }
.nxe-story-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.nxe-story-media.is-hex { flex: 0 1 420px; display: flex; justify-content: center; }
.nxe-hc { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1.75 / 1.732; filter: drop-shadow(0 14px 24px rgba(110, 66, 30, .13)); }
.nxe-hc-cell { position: absolute; width: 57.14%; height: 50%; padding: 1.1%; }
.nxe-hc-cell.c1 { left: 0; top: 0; } .nxe-hc-cell.c2 { left: 42.86%; top: 25%; } .nxe-hc-cell.c3 { left: 0; top: 50%; }
.nxe-hc-in { position: relative; width: 100%; height: 100%; background: #FAF5EE; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.nxe-hc-pic { position: absolute; inset: 2.6%; overflow: hidden; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.nxe-hc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.nxe-hc-cell.is-deco .nxe-hc-in { background: #C9A15A; }
.nxe-hc-cell.is-deco .nxe-hc-in::before { content: ""; position: absolute; inset: 1.6%; background: #FAF5EE; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.nxe-hc-cell.is-deco svg, .nxe-hc-ph svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26%; height: auto; color: var(--nt-p); }
.nxe-hc-ph { position: absolute; inset: 0; background: #E4D5C0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.nxe-story-tx { flex: 1 1 420px; max-width: 600px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.nxe-story .nxe-h { margin: 2px 0 0; font-size: clamp(26px, 2.6vw, 34px); }:where(html.nt-desk) .nxe-story .nxe-h{font-size: clamp(26px, max(2.6vw, 31.2px), 34px)}
.nxe-story .nxe-h em { display: block; }
.nxe-story-p { max-width: 560px; margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--nt-body); }
.nxe-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nxe-feat { padding: 13px 16px; border-left: 3px solid var(--nt-p); border-radius: 14px; background: #F1E6D6; }
.nxe-feat b { display: block; font-weight: 700; }
.nxe-feat span { font-size: 13px; color: var(--nt-body); }
.nxe-story .nxe-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 10px 20px; border: 1.5px solid var(--nt-ink); border-radius: 999px; color: var(--nt-ink); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.nxe-story .nxe-more:hover { background: var(--nt-ink); color: #FFF8EF; }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nxe-story{ padding: 24px 0; } :where(html:not(.nt-desk)) .nxe-story-in{ gap: 28px; } :where(html:not(.nt-desk)) .nxe-hc{ max-width: 360px; } }

/* Blog (khối) */
.nt-blk--blog { padding: 28px 0 10px; }
.nxe-blog { background: #F1E6D6; }
.nxe-blog .nxe-wrap { padding-top: 64px; padding-bottom: 72px; }
.nxe-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 26px; }
.nxe-head .nxe-h { margin-top: 4px; font-size: clamp(28px, 3vw, 38px); }:where(html.nt-desk) .nxe-head .nxe-h{font-size: clamp(28px, max(3vw, 36px), 38px)}
.nxe-head .nxe-kicker::before { display: none; }
.nxe-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.nxe-post { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--nt-paper); color: var(--nt-ink); transition: transform .2s, box-shadow .2s; }
.nxe-post:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(46, 33, 24, .1); color: var(--nt-ink); }
.nxe-post-img { height: 210px; background: #E4D5C0; }
.nxe-post-img img { width: 100%; height: 100%; object-fit: cover; }
.nxe-post-b { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.nxe-post-c { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nt-a); }
.nxe-post-t { margin: 0; font-size: 21px; line-height: 1.35; }
.nxe-post-m { font-size: 14px; font-weight: 600; color: var(--nt-p); }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nt-blk--blog{ padding: 18px 0 24px; } :where(html:not(.nt-desk)) .nxe-posts{ grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; } :where(html:not(.nt-desk)) .nxe-post{ scroll-snap-align: start; } }

/* Slide sản phẩm / bài viết trong nội dung */
.nt-ps { margin: 0 0 30px; }

/* ---------- Trang giới thiệu ---------- */
.nxa { padding: 8px 0 36px; }
.nxa-sec { padding: 40px 0 8px; }
.nxa-head { max-width: 640px; margin: 0 auto 26px; text-align: center; }
.nxa-head .nxe-kicker { justify-content: center; }
.nxa .nxe-h { margin: 6px 0 0; font-size: clamp(26px, 2.8vw, 36px); }:where(html.nt-desk) .nxa .nxe-h{font-size: clamp(26px, max(2.8vw, 33.6px), 36px)}
.nxa-vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nxa-vcard { padding: 26px 22px 22px; background: var(--nt-paper); border: 1px solid #E4D5C0; border-radius: 22px; text-align: left; box-shadow: 0 8px 22px rgba(110, 66, 30, .06); transition: transform .25s, box-shadow .25s; }
.nxa-vcard:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(110, 66, 30, .12); }
.nxa-vic { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--nt-a-l); color: var(--nt-a); }
.nxa-vcard h3, .nxa-step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--nt-ink); }
.nxa-vcard p, .nxa-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--nt-body); }
.nxa-sgrid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.nxa-sgrid::before { content: ""; position: absolute; z-index: 0; left: 6%; right: 6%; top: 27px; border-top: 1.5px dashed var(--nt-a-b); }
.nxa-step { position: relative; z-index: 1; padding: 0 8px; text-align: center; }
.nxa-num { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--nt-a); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 0 0 6px var(--nt-a-l); }
.nxa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 44px 0 0; padding: 30px 24px; border-radius: 26px; background: linear-gradient(135deg, var(--nt-ink) 0%, #5A3A22 100%); color: #FFF8EF; text-align: center; }
.nxa-stat { padding: 6px 8px; border-right: 1px solid rgba(255, 248, 239, .14); }
.nxa-stat:last-child { border-right: 0; }
.nxa-stat b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.1; color: #F3D9B8; }:where(html.nt-desk) .nxa-stat b{font-size: clamp(30px, max(3.4vw, 40.8px), 42px)}
.nxa-stat span { display: block; margin-top: 6px; font-size: 13.5px; letter-spacing: .04em; opacity: .85; }
.nxa-quote { position: relative; max-width: 820px; margin: 48px auto 0; padding: 10px 20px; text-align: center; }
.nxa-qmark { display: block; font-size: 90px; line-height: .6; color: var(--nt-p); opacity: .55; }
.nxa-quote blockquote { margin: 6px 0 0; padding: 0; border: 0; background: none; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; font-style: normal; line-height: 1.4; color: var(--nt-ink); }:where(html.nt-desk) .nxa-quote blockquote{font-size: clamp(22px, max(2.4vw, 28.8px), 30px)}
.nxa-quote cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--nt-p); }
.nxa-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin: 48px 0 0; padding: 32px 36px; border-radius: 26px; background: #F1E6D6; }
.nxa-cta .nxe-h { font-size: clamp(24px, 2.4vw, 32px); }:where(html.nt-desk) .nxa-cta .nxe-h{font-size: clamp(24px, max(2.4vw, 28.8px), 32px)}
.nxa-cta p { max-width: 560px; margin: 8px 0 0; color: var(--nt-body); }
.nxa-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nxa-sec{ padding-top: 28px; }
  :where(html:not(.nt-desk)) .nxa-vgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  :where(html:not(.nt-desk)) .nxa-vcard{ padding: 18px 16px; border-radius: 18px; }
  :where(html:not(.nt-desk)) .nxa-vcard h3,:where(html:not(.nt-desk)) .nxa-step h3{ font-size: 16.5px; }
  :where(html:not(.nt-desk)) .nxa-vcard p,:where(html:not(.nt-desk)) .nxa-step p{ font-size: 13.5px; }
  :where(html:not(.nt-desk)) .nxa-sgrid{ grid-template-columns: 1fr; gap: 18px; }
  :where(html:not(.nt-desk)) .nxa-sgrid::before{ left: 27px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 1.5px dashed var(--nt-a-b); }
  :where(html:not(.nt-desk)) .nxa-step{ display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; padding: 0; text-align: left; }
  :where(html:not(.nt-desk)) .nxa-num{ grid-row: span 2; margin: 0; }
  :where(html:not(.nt-desk)) .nxa-stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; margin-top: 30px; padding: 22px 14px; }
  :where(html:not(.nt-desk)) .nxa-stat:nth-child(2n){ border-right: 0; }
  :where(html:not(.nt-desk)) .nxa-cta{ margin-top: 32px; padding: 24px 20px; }
  :where(html:not(.nt-desk)) .nxa-cta-btns .nxe-btn{ flex: 1 1 auto; justify-content: center; }
}

/* ---------- Trang liên hệ ---------- */
.nxc { padding: 36px 0 44px; }
.nxc-head { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.nxc-head .nxe-kicker { justify-content: center; }
.nxc .nxe-h { margin: 4px 0 0; font-size: clamp(28px, 3vw, 40px); }:where(html.nt-desk) .nxc .nxe-h{font-size: clamp(28px, max(3vw, 36px), 40px)}
.nxc-head p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--nt-body); }
.nxc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.nxc-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-items: center; column-gap: 12px; padding: 20px; border: 1px solid #E4D5C0; border-radius: 20px; background: var(--nt-paper); color: var(--nt-ink); box-shadow: 0 8px 22px rgba(110, 66, 30, .06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.nxc-card:hover { transform: translateY(-4px); border-color: var(--nt-p); box-shadow: 0 16px 30px rgba(110, 66, 30, .12); color: var(--nt-ink); }
.nxc-ic { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--nt-a-l); color: var(--nt-a); transition: background .25s, color .25s; }
.nxc-ic svg { width: 22px; height: 22px; }
.nxc-card:hover .nxc-ic { background: var(--nt-a); color: #fff; }
.nxc-lb { font-size: 12.5px; font-weight: 700; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--nt-p); }
.nxc-val { grid-column: 1 / -1; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed #E4D5C0; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--nt-ink); word-break: break-word; }
.nxc-go { grid-column: 1 / -1; align-self: end; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--nt-p); }
.nxc-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; margin-top: 26px; }
.nxc-main.no-form { grid-template-columns: 1fr; }
.nxc-left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nxc-left .nxc-faq { flex: 1 1 auto; }
.nxc-info, .nxc-form, .nxc-left .nxc-faq { padding: 22px 24px; background: var(--nt-paper); border: 1px solid #E4D5C0; border-radius: 22px; }
.nxc-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed #E4D5C0; }
.nxc-row:last-of-type { border-bottom: 0; }
.nxc-ri { flex: 0 0 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--nt-a-l); color: var(--nt-a); }
.nxc-row b { display: block; font-size: 14px; color: var(--nt-ink); }
.nxc-row span:not(.nxc-ri) { display: block; font-size: 14.5px; line-height: 1.55; color: var(--nt-body); }
.nxc-form { display: flex; flex-direction: column; margin: 0; }
.nxc-form .nxe-h { font-size: clamp(22px, 2.2vw, 28px); }:where(html.nt-desk) .nxc-form .nxe-h{font-size: clamp(22px, max(2.2vw, 26.4px), 28px)}
.nxc-ft { margin: 6px 0 14px; font-size: 14.5px; color: var(--nt-body); }
.nxc-form label { display: block; margin-bottom: 12px; }
.nxc-form label span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--nt-ink); }
.nxc-form input, .nxc-form textarea { width: 100%; border: 1.5px solid #E4D5C0; border-radius: 14px; background: #fff; padding: 11px 14px; font-size: 15px; }
.nxc-form .nxc-grow { flex: 1 1 auto; display: flex; flex-direction: column; }
.nxc-form .nxc-grow textarea { flex: 1 1 auto; min-height: 110px; resize: vertical; }
.nxc-form .nxe-btn { width: 100%; justify-content: center; margin-top: 4px; border: 0; cursor: pointer; }
.nxc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nxc-msg { min-height: 1em; margin: 10px 0 0; font-size: 14px; }
.nxc-msg.is-ok { color: #2E9E57; font-weight: 600; } .nxc-msg.is-err { color: #A3452A; }
.nxc-safe { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed #E4D5C0; font-size: 13px; line-height: 1.5; color: var(--nt-muted); }
.nxc-safe svg { flex: 0 0 auto; margin-top: 1px; color: #2E9E57; }
.nxc-faq .nxe-h { margin: 0 0 10px; font-size: clamp(20px, 2vw, 26px); text-align: left; }:where(html.nt-desk) .nxc-faq .nxe-h{font-size: clamp(20px, max(2vw, 24px), 26px)}
.nxc-faq details { margin-bottom: 8px; padding: 0 16px; background: #FBF6EE; border: 1px solid #EDE1CF; border-radius: 14px; }
.nxc-faq details:last-child { margin-bottom: 0; }
.nxc-faq details[open] { background: #fff; border-color: #DCC9B0; }
.nxc-faq summary { position: relative; padding: 13px 28px 13px 0; font-size: 15px; font-weight: 700; color: var(--nt-ink); cursor: pointer; list-style: none; }
.nxc-faq summary::-webkit-details-marker { display: none; }
.nxc-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--nt-p); transition: transform .2s; }
.nxc-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.nxc-faq details p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--nt-body); }
.nxc-map { height: 340px; margin-top: 22px; overflow: hidden; border: 1px solid #E4D5C0; border-radius: 22px; background: #F1E6D6; }
.nxc-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .nxc{ padding: 22px 0 30px; }
  :where(html:not(.nt-desk)) .nxc-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  :where(html:not(.nt-desk)) .nxc-card{ padding: 14px; column-gap: 10px; border-radius: 16px; }
  :where(html:not(.nt-desk)) .nxc-ic{ width: 38px; height: 38px; border-radius: 12px; }
  :where(html:not(.nt-desk)) .nxc-ic svg{ width: 19px; height: 19px; }
  :where(html:not(.nt-desk)) .nxc-lb{ font-size: 11.5px; letter-spacing: .05em; }
  :where(html:not(.nt-desk)) .nxc-val{ margin-top: 12px; padding-top: 10px; }
  :where(html:not(.nt-desk)) .nxc-val{ font-size: 14.5px; }
  :where(html:not(.nt-desk)) .nxc-main{ grid-template-columns: 1fr; }
  :where(html:not(.nt-desk)) .nxc-info,:where(html:not(.nt-desk)) .nxc-form,:where(html:not(.nt-desk)) .nxc-left .nxc-faq{ padding: 18px; }
  :where(html:not(.nt-desk)) .nxc-map{ height: 260px; }
}

/* ---------- Văn bản chính sách ---------- */
.nxd { padding: 34px 0 48px; }
.nxd-sec { padding: 10px 0 30px; }
.nxd-head { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.nxd-head .nxe-kicker { justify-content: center; }
.nxd .nxe-h { margin: 6px 0 0; font-size: clamp(28px, 3.2vw, 42px); }:where(html.nt-desk) .nxd .nxe-h{font-size: clamp(28px, max(3.2vw, 38.4px), 42px)}
.nxd-upd { margin: 10px 0 0; font-size: 13.5px; letter-spacing: .02em; color: var(--nt-p); }
.nxd-intro { margin: 12px auto 0; line-height: 1.7; color: var(--nt-body); }
.nxd-body { margin: 0; padding: 36px 48px; background: var(--nt-paper); border: 1px solid #E4D5C0; border-radius: 22px; color: #3E3026; font-size: 15.5px; line-height: 1.75; }
.nxd-body h2 { margin: 30px 0 10px; padding-top: 18px; border-top: 1px dashed #E4D5C0; font-size: 22px; font-weight: 700; color: var(--nt-ink); }
.nxd-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.nxd-body h3 { margin: 18px 0 6px; font-size: 16.5px; font-weight: 700; color: var(--nt-p); }
.nxd-body p { margin: 0 0 12px; }
.nxd-body ul, .nxd-body ol { margin: 0 0 14px; padding-left: 22px; }
.nxd-body li { margin: 4px 0; }
.nxd-body ul li::marker { color: var(--nt-p); }
.nxd-body strong { color: var(--nt-ink); }
.nxd-body a { color: var(--nt-p); text-decoration: underline; text-underline-offset: 3px; }
.nxd-body img { border-radius: 12px; }
.nxd-note { margin: 16px 0; padding: 14px 18px; background: #F1E6D6; border-left: 4px solid var(--nt-p); border-radius: 12px; }
.nxd-inline { max-height: 340px; overflow: auto; padding: 14px 16px; border: 1px solid #E4D5C0; border-radius: 14px; background: var(--nt-paper); font-size: 13.5px; line-height: 1.65; color: #3E3026; }
.nxd-inline h2 { margin: 14px 0 6px; font-size: 15px; } .nxd-inline h2:first-child { margin-top: 0; }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nxd{ padding: 20px 0 32px; } :where(html:not(.nt-desk)) .nxd-body{ padding: 20px 18px; font-size: 15px; border-radius: 18px; } :where(html:not(.nt-desk)) .nxd-body h2{ font-size: 19px; } }

/* ---------- Mã ngắn Flatsome còn sót (bản thay thế tối giản) ---------- */
.nt-fs-sec { padding: 10px 0; }
.nt-fs-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.nt-fs-col { flex: 0 0 calc(var(--span, 12) / 12 * 100%); max-width: calc(var(--span, 12) / 12 * 100%); padding: 0 15px; }
@media (max-width: 849px) { :where(html:not(.nt-desk)) .nt-fs-col{ flex-basis: 100%; max-width: 100%; } }
.nt-fs-img { border-radius: 12px; }


/* Khung nội dung trang thường (chọn ở NhatDX Themes → Bố cục) — không áp cho trang WooCommerce, trang tự có tiêu đề / dựng bằng Builder */
.nt-page:not(.is-full):not(.is-wc):not(.has-own-head) > .nt-wrap { max-width: var(--nt-page-w, var(--nt-w)); }
/* Khung "Về …" đặt trong cột / khu vực của NhatDX Builder: giữ khoảng cách riêng của khung (Builder xoá lề mặc định của phần tử con) */
:is(.nb-col, .nb-section__in) > .nxe-intro { margin: 4px 0 30px; }

/* Trang tra cứu đơn: không có dòng tiêu đề phía trên → khung tra cứu cách menu ngang một khoảng */

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