/* San mua ban dat – dung cung site.css */
.mb-hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.mb-hd .ph { margin: 0; }
.mb-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.mb-cta .btn svg.lucide { width: 18px; height: 18px; }

.mb-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.mb-tabs button { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 9px 16px; border-radius: 9px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.mb-tabs button.on { background: var(--green); color: #fff; }
.mb-tabs button.on[data-loai="mua"] { background: var(--blue); }
.mb-tabs .dem { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: #0000000f; }
.mb-tabs button.on .dem { background: #ffffff33; }

/* Bo loc */
.mb-loc { padding: 16px; }
.mb-loc label { margin: 0; font-size: 13px; }
.mb-loc .hang { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 12px; }
.mb-loc .hang + .hang { margin-top: 12px; }
.mb-cap { display: flex; gap: 6px; align-items: center; margin-top: 5px; }
.mb-cap input { margin: 0; min-width: 0; }
.mb-cap span { color: var(--muted); flex: none; }
.mb-chip-xa { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mb-chip-xa:empty { display: none; }
.mb-chip-xa span, .mb-loai-chon label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 4px 6px 4px 10px; border-radius: 99px; background: var(--blue-50); color: var(--blue); border: 1px solid #c7d7fe; font-weight: 500; }
.mb-chip-xa button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 3px; }
.mb-loai-chon { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mb-loai-chon label { padding: 5px 11px; margin: 0; background: #fff; color: var(--text); border-color: var(--line); cursor: pointer; }
.mb-loai-chon input { display: none; }
.mb-loai-chon label:has(input:checked) { background: var(--blue-50); color: var(--blue); border-color: var(--blue); }
.mb-vt { display: flex; gap: 6px; flex-wrap: wrap; align-items: stretch; margin-top: 5px; }
.mb-vt select { width: 92px; margin: 0; flex: none; }
.nut-nho { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 10px; padding: 8px 11px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.nut-nho svg.lucide { width: 15px; height: 15px; }
.nut-nho.on { border-color: #f59e0b; color: #b45309; background: var(--amber-50); }
.nut-nho:hover { border-color: var(--blue); color: var(--blue); }
.mb-loc .chan { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 12px; font-size: 13px; }
.mb-loc .chan label.check { width: auto; font-size: 13px; }
.mb-loc .chan .phai { margin-left: auto; display: flex; gap: 8px; }
.lk-nut { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; }

/* Ket qua: danh sach + ban do */
.mb-than { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 44%); gap: 14px; margin-top: 14px; align-items: start; }
.mb-map-bao { position: sticky; top: 80px; }
.mb-map { height: calc(100vh - 120px); min-height: 460px; max-height: 760px; border-radius: var(--r); border: 1px solid var(--line); }
.mb-map-ct { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.mb-map-ct i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.mb-tong { font-size: 14px; color: var(--muted); margin: 0 0 10px; display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.mb-tong b { color: var(--ink); }
.mb-tong select { width: auto; padding: 6px 8px; font-size: 13px; margin: 0; }
.mb-rong { text-align: center; padding: 32px 18px; color: var(--muted); }
.mb-rong .btn { margin-top: 12px; }
.mb-dang-ve, .mb-dang-ve .leaflet-interactive { cursor: crosshair !important; }
.mb-nhac { font-size: 13px; color: #b45309; background: var(--amber-50); border: 1px solid #fde68a; border-radius: 10px; padding: 8px 12px; margin: 8px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* The tin */
.mb-the { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 12px; margin-bottom: 10px; border-left: 4px solid var(--green); transition: box-shadow .15s; }
.mb-the.mua { border-left-color: var(--blue); }
.mb-the.chon { box-shadow: 0 0 0 2px #f59e0b, var(--sh); }
.mb-the .anh { position: relative; width: 150px; height: 120px; border-radius: 10px; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; color: #94a3b8; }
.mb-the.mua .anh { background: var(--blue-50); color: #93b4f5; }
.mb-the .anh img { width: 100%; height: 100%; object-fit: cover; }
.mb-the .anh > svg.lucide { width: 36px; height: 36px; }
.mb-the .anh .so { position: absolute; right: 6px; bottom: 6px; background: #0f172acc; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 6px; display: flex; gap: 3px; align-items: center; }
.mb-the .anh .so svg.lucide { width: 12px; height: 12px; }
.mb-the .tren { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.mb-the .gia { font-size: 18px; font-weight: 800; color: var(--ink); text-decoration: none; }
.mb-the .gia small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.mb-the .mua-nhan { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 2px 7px; border-radius: 6px; vertical-align: 2px; }
.mb-the .td { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; margin-top: 2px; }
.mb-the .dc { display: flex; gap: 5px; align-items: flex-start; font-size: 13.5px; margin: 4px 0; color: var(--text); }
.mb-the .dc svg.lucide { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--muted); }
.mb-the .the, .mb-the .ly { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0; }
.mb-the .the span { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--text); display: inline-flex; align-items: center; gap: 3px; }
.mb-the .the span svg.lucide { width: 12px; height: 12px; }
.mb-the .the span.x { background: var(--amber-50); border-color: #fde68a; color: #92400e; }
.mb-the .ly span { font-size: 12px; color: var(--muted); }
.mb-the .ly span.ok { color: #15803d; } .mb-the .ly span.gan { color: #b45309; } .mb-the .ly span.khong { color: var(--red); }
.mb-the .chan { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between; margin-top: 6px; }
.mb-the .ai { font-size: 12.5px; color: var(--muted); }
.mb-the .ai b { color: var(--ink); }
.mb-diem { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.mb-diem svg.lucide { width: 14px; height: 14px; }
.mb-diem.khop { background: var(--green-50); color: #15803d; }
.mb-diem.kha { background: #ecfeff; color: #0e7490; }
.mb-diem.vua { background: var(--amber-50); color: #b45309; }

/* Ghim tren ban do */
.mb-ghim { display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; font: 700 12px/1 "Be Vietnam Pro", system-ui, sans-serif; color: #fff; background: var(--green); padding: 5px 8px; border-radius: 8px; box-shadow: 0 2px 6px #0005; border: 2px solid #fff; position: relative; }
.mb-ghim::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #fff; }
.mb-ghim.mua { background: var(--blue); }
.mb-ghim.khop { outline: 2px solid #facc15; }
.mb-ghim.chon { background: #f59e0b; z-index: 999; }
.mb-popup { min-width: 180px; font-size: 13px; }
.mb-popup img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; display: block; }

/* Form dang tin */
.mb-form-bao { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.mb-form .phan { padding: 20px; margin-bottom: 14px; }
.mb-form .phan > h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-size: 17px; }
.mb-form .phan > h3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mb-form.ban .phan > h3 .n { background: var(--green); }
.mb-form .phan > p.goi-y { margin: 0 0 14px; }
.goi-y { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bb { color: var(--red); }
.mb-don-vi { position: relative; }
.mb-don-vi input { padding-right: 70px; }
.mb-don-vi em { position: absolute; right: 12px; bottom: 11px; font-style: normal; font-size: 13px; color: var(--muted); pointer-events: none; }
.mb-quy-doi { font-size: 13px; color: var(--muted); margin: -4px 0 12px; min-height: 18px; }
.mb-quy-doi b { color: var(--ink); }
.mb-cong-cu { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; align-items: stretch; }
.mb-cong-cu input { flex: 1; min-width: 200px; margin: 0; }
.mb-map-form { height: 400px; border-radius: 12px; border: 1px solid var(--line); }
.mb-trang-thai { font-size: 13px; margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--bg); color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.mb-trang-thai.ok { background: var(--green-50); color: #166534; }
.mb-trang-thai svg.lucide { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.mb-thua-tim { display: grid; grid-template-columns: 1.6fr .7fr .7fr auto; gap: 8px; align-items: end; padding: 12px; border-radius: 12px; background: var(--bg); margin-bottom: 12px; }
.mb-thua-tim label { margin: 0; }
.mb-thua-tim .btn { padding: 11px 14px; }
.mb-goi-thua { margin: 0 0 10px; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: var(--blue-50); border: 1px solid #c7d7fe; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mb-tep-hop { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding: 8px; border: 1.5px dashed var(--line); border-radius: 12px; min-height: 92px; }
.mb-tep-hop.keo { border-color: var(--blue); background: var(--blue-50); }
.mb-tep { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font: inherit; }
.mb-tep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mb-tep small { font-size: 10.5px; text-align: center; padding: 0 4px; word-break: break-all; line-height: 1.2; }
.mb-tep em { position: absolute; left: 4px; bottom: 4px; font-size: 10px; font-style: normal; background: #0f172acc; color: #fff; padding: 1px 5px; border-radius: 5px; }
.mb-tep button[data-bo] { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #0f172acc; color: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.mb-tep.them { cursor: pointer; border-style: dashed; background: #fff; color: var(--blue); }
.mb-tep.them:hover { background: var(--blue-50); }
.mb-tep-nhan { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; font-size: 14px; font-weight: 600; color: var(--ink); }
.mb-tep-nhan small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.mb-tep-muc + .mb-tep-muc { margin-top: 14px; }
.mb-tien-do { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.mb-tien-do span { display: block; height: 100%; width: 0; background: var(--green); transition: width .2s; }
.mb-ben { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.mb-ben .card { padding: 16px; }
.mb-ben h4 { margin: 0 0 8px; font-size: 15px; }
.mb-ben ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text); }
.mb-ben li { margin: 4px 0; }
.mb-tom-tat dl { display: grid; grid-template-columns: 90px 1fr; gap: 4px 8px; margin: 0; font-size: 13.5px; }
.mb-tom-tat dt { color: var(--muted); } .mb-tom-tat dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Chi tiet tin */
.mb-ct { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.mb-thu-vien { padding: 0; overflow: hidden; }
.mb-xem { position: relative; background: #0f172a; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.mb-xem img, .mb-xem video { width: 100%; height: 100%; object-fit: contain; display: block; }
.mb-xem .trong { color: #94a3b8; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; }
.mb-xem .trong svg.lucide { width: 48px; height: 48px; }
.mb-xem .mui { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ffffffd9; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mb-xem .mui.trai { left: 10px; } .mb-xem .mui.phai { right: 10px; }
.mb-xem .dem { position: absolute; right: 10px; bottom: 10px; background: #0f172acc; color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.mb-nho { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: #fff; }
.mb-nho button { flex: none; width: 84px; height: 62px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--bg); position: relative; color: var(--muted); }
.mb-nho button.on { border-color: var(--blue); }
.mb-nho img { width: 100%; height: 100%; object-fit: cover; }
.mb-nho .vid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #0f172a99; color: #fff; }
.mb-ct h1 { font-size: 24px; margin: 0 0 4px; }
.mb-ct .gia-lon { font-size: 28px; font-weight: 800; color: var(--green); margin: 0; }
.mb-ct.mua .gia-lon { color: var(--blue); }
.mb-ct .gia-lon small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.mb-bang { width: 100%; border-collapse: collapse; font-size: 14px; }
.mb-bang td { padding: 8px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mb-bang td:first-child { color: var(--muted); width: 40%; }
.mb-bang td:last-child { color: var(--ink); font-weight: 500; }
.mb-tai-lieu { display: flex; flex-direction: column; gap: 6px; }
.mb-tai-lieu a { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink); }
.mb-tai-lieu a:hover { background: var(--blue-50); text-decoration: none; }
.mb-map-ct-tin { height: 320px; border-radius: 12px; border: 1px solid var(--line); }
.mb-gia-tk .thanh { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #bbf7d0, #fde68a, #fecaca); margin: 26px 0 26px; }
.mb-gia-tk .thanh i { position: absolute; top: -6px; width: 4px; height: 22px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); }
.mb-gia-tk .thanh i b { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11.5px; white-space: nowrap; font-style: normal; color: var(--ink); }
.mb-gia-tk .thanh .moc { position: absolute; top: 14px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.mb-lien-he .btn { width: 100%; margin-top: 8px; }
.mb-moi { margin-bottom: 14px; }

@media (max-width: 1080px) {
  .mb-loc .hang { grid-template-columns: 1fr 1fr; }
  .mb-form-bao, .mb-ct { grid-template-columns: 1fr; }
  .mb-ben { position: static; }
}
@media (max-width: 900px) {
  .mb-than { grid-template-columns: 1fr; }
  .mb-map-bao { position: static; order: -1; }
  .mb-map { height: 340px; min-height: 0; }
}
@media (max-width: 640px) {
  .mb-loc .hang, .row3, .row4 { grid-template-columns: 1fr 1fr; }
  .mb-loc .hang > .rong { grid-column: 1 / -1; }
  .mb-thua-tim { grid-template-columns: 1fr 1fr; }
  .mb-thua-tim > :first-child, .mb-thua-tim .btn { grid-column: 1 / -1; }
  .mb-the { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .mb-the .anh { width: 96px; height: 96px; }
  .mb-the .gia small { display: block; margin: 2px 0 0; }
  .mb-tabs { display: flex; }
  .mb-tabs button { flex: 1; justify-content: center; padding: 9px 4px; font-size: 13.5px; }
  .mb-cta, .mb-cta .btn { width: 100%; }
  .mb-map-form { height: 320px; }
}
@media (max-width: 420px) {
  .mb-loc .hang, .row3, .row4, .row2 { grid-template-columns: 1fr; }
}

/* Hai the vai tro dau trang san */
.mb-vai { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mb-vai-the { display: flex; gap: 14px; align-items: center; padding: 16px 18px; color: var(--text); text-decoration: none !important; border-top: 4px solid var(--green); transition: transform .15s, box-shadow .15s; }
.mb-vai-the.mua { border-top-color: var(--blue); }
.mb-vai-the:hover { transform: translateY(-2px); box-shadow: 0 8px 28px #1d4ed81f; }
.mb-vai-the .ic { width: 50px; height: 50px; border-radius: 50%; }
.mb-vai-the > span:nth-child(2) { flex: 1; }
.mb-vai-the b { display: block; color: var(--ink); font-size: 17px; }
.mb-vai-the small { color: var(--muted); font-size: 13.5px; }
.mb-vai-the .btn { flex: none; }
@media (max-width: 760px) { .mb-vai { grid-template-columns: 1fr; } .mb-vai-the .btn { display: none; } }
@media (max-width: 640px) {
  .mb-tabs button { gap: 4px; }
  .mb-tabs button svg.lucide { display: none; }
  .mb-tabs .dem { padding: 1px 6px; }
}
.mb-the .nut { display: flex; gap: 6px; flex-wrap: wrap; }
.mb-the .ai svg.lucide { width: 14px; height: 14px; }

/* ================= Đất Việt Kết Nối – giao diện sàn ghép đôi (xanh đậm + vàng) ================= */
body.trang-mua-ban { --kn: #1d4f43; --kn-2: #23604f; --kn-sang: #e4efe9; --kn-vang: #e8b95a; --kn-vang-2: #d9a441; --kn-chu: #f4f7f5; }
.kn-dau { background: radial-gradient(120% 140% at 0% 0%, #2a6b59 0%, var(--kn) 55%, #163d34 100%); color: var(--kn-chu); border-radius: 22px; padding: 22px; box-shadow: 0 10px 30px #0f2a2214; }
.kn-dau .hang1 { display: flex; align-items: center; gap: 12px; }
.kn-dau .logo-kn { width: 46px; height: 46px; border-radius: 14px; background: #ffffff14; display: grid; place-items: center; flex: none; }
.kn-dau .logo-kn svg.lucide { width: 26px; height: 26px; color: #fff; }
.kn-dau h1 { color: #fff; font-size: 24px; letter-spacing: .3px; margin: 0; font-weight: 800; }
.kn-dau .khau-hieu { margin: 2px 0 0; font-size: 14px; opacity: .85; }
.kn-dau .phai { margin-left: auto; display: flex; gap: 6px; }
.kn-dau .phai a { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #ffffff12; }
.kn-dau .phai a:hover { background: #ffffff26; }
.kn-dau .phai b, .mb-duoi b { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #ef4444; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.kn-tim { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 4px 6px 4px 14px; margin: 18px 0 14px; }
.kn-tim svg.lucide { color: #64748b; flex: none; }
.kn-tim input { border: 0; margin: 0; padding: 12px 0; font-size: 15.5px; outline: 0 !important; }
.kn-tim .btn { background: var(--kn); flex: none; }
.kn-o { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kn-o a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 128px; padding: 18px 12px; border-radius: 16px; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.kn-o a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #0005; }
.kn-o a svg.lucide { width: 30px; height: 30px; }
.kn-o b { font-size: 19px; font-weight: 800; letter-spacing: .4px; }
.kn-o small { font-size: 13.5px; opacity: .85; }
.kn-o .ban { background: linear-gradient(160deg, #efc56a, var(--kn-vang-2)); color: #3b2a07; }
.kn-o .mua { background: var(--kn-sang); color: var(--kn); }
.kn-chuc-nang { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 6px; }
.kn-chuc-nang a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.kn-chuc-nang a:hover { border-color: var(--kn-2); box-shadow: var(--sh); }
.kn-chuc-nang b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15.5px; }
.kn-chuc-nang b svg.lucide { color: var(--kn-2); width: 20px; height: 20px; }
.kn-chuc-nang small { color: var(--muted); font-size: 13px; }
.kn-quy-trinh { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; counter-reset: b; }
.kn-quy-trinh div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; font-size: 13px; color: var(--muted); }
.kn-quy-trinh div::before { counter-increment: b; content: counter(b); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--kn); color: #fff; font-weight: 700; font-size: 12.5px; margin-bottom: 6px; }
.kn-quy-trinh b { display: block; color: var(--ink); font-size: 13.5px; margin-bottom: 2px; }
.kn-so-sanh { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 14px; overflow: hidden; }
.kn-so-sanh th, .kn-so-sanh td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.kn-so-sanh th { background: var(--kn-sang); color: var(--kn); }
.kn-so-sanh td:last-child { color: var(--kn); font-weight: 600; }
.trang-mua-ban .mb-tabs button.on { background: var(--kn); }
.trang-mua-ban .mb-tabs button.on[data-loai="mua"] { background: var(--kn-vang-2); color: #3b2a07; }
.trang-mua-ban .btn-g { background: var(--kn); }
.trang-mua-ban .btn-g:hover { background: var(--kn-2); }
.trang-mua-ban .mb-the { border-left-color: var(--kn-vang-2); }
.trang-mua-ban .mb-the.mua { border-left-color: var(--kn-2); }
.mb-the.noi-bat { box-shadow: 0 0 0 2px var(--kn-vang), var(--sh); }
.mb-the .anh .nb { position: absolute; left: 6px; top: 6px; background: var(--kn-vang); color: #3b2a07; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.mb-luu { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: #94a3b8; cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.mb-luu svg.lucide { width: 17px; height: 17px; }
.mb-luu.on { color: #e11d48; border-color: #fecdd3; background: #fff1f2; }
.mb-luu.on svg.lucide { fill: currentColor; }
.mb-vi-sao { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 7px; }
.mb-vi-sao li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.mb-vi-sao svg.lucide { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.mb-vi-sao .ok svg.lucide { color: #16a34a; }
.mb-vi-sao .gan svg.lucide { color: #d97706; }
.mb-vi-sao .khong svg.lucide { color: #e11d48; }
.kn-nut-ket-noi { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; padding: 14px; border-radius: 12px; border: 0; background: var(--kn); color: #fff; font: 800 15.5px/1 inherit; font-family: inherit; letter-spacing: .4px; cursor: pointer; text-decoration: none !important; }
.kn-nut-ket-noi:hover { background: var(--kn-2); }
.kn-bao-mat { display: flex; gap: 10px; align-items: flex-start; background: var(--kn-sang); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--kn); margin: 10px 0 12px; }
.kn-bao-mat svg.lucide { flex: none; margin-top: 2px; }
.kn-bao-mat b { display: block; margin-bottom: 2px; }
.kn-nhu-cau { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #fff; }
.kn-nhu-cau .dau { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.kn-nhu-cau .dau b { font-size: 13px; letter-spacing: .5px; color: var(--muted); }
.kn-nhan { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--green-50); color: #15803d; white-space: nowrap; }
.kn-nhan.xanh { background: var(--blue-50); color: var(--blue); }
.kn-nhan.vang { background: var(--amber-50); color: #b45309; }
.kn-nhan.do { background: var(--red-50); color: var(--red); }
.kn-nhan.xam { background: var(--bg); color: var(--muted); }
.kn-nhu-cau .gia { font-size: 28px; font-weight: 800; color: #15803d; margin: 6px 0 10px; }
.kn-luoi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.kn-luoi small { display: block; color: var(--muted); font-size: 12.5px; }
.kn-luoi b { color: var(--ink); font-size: 15px; }
.kn-nhu-cau .chan { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; font-size: 13px; color: var(--muted); }
.kn-tk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0; }
.kn-tk div { background: var(--kn-sang); border-radius: 12px; padding: 10px 12px; color: var(--kn); font-size: 12.5px; }
.kn-tk b { display: block; font-size: 22px; color: var(--kn); }
/* Tin cua toi / ket noi */
.mb-toi { margin-bottom: 18px; padding: 18px; }
.mb-toi > .dau { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.mb-toi h3 { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mb-toi h4 { margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; }
.mb-kn { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.mb-kn .dau { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.mb-kn .nut { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.mb-kn .nut select { width: auto; margin: 0; padding: 6px 8px; font-size: 13px; }
.mb-kn .qr { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--bg); border-radius: 12px; padding: 10px; margin-top: 10px; font-size: 13.5px; }
.mb-kn .qr img { width: 150px; height: 150px; border-radius: 8px; background: #fff; }
.mb-kn .lien-he { background: var(--green-50); border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.mb-kn-hop { padding: 18px 20px 20px; }
.mb-kn-chon { display: grid; gap: 6px; margin: 10px 0 12px; }
.mb-kn-chon label { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; }
.mb-ma-ql { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; background: var(--bg); border: 1px dashed var(--line); padding: 4px 8px; border-radius: 6px; word-break: break-all; }
/* Thong ke */
.kn-bieu { display: grid; gap: 8px; }
.kn-bieu .h { display: grid; grid-template-columns: 150px 1fr 70px; gap: 10px; align-items: center; font-size: 13.5px; }
.kn-bieu .h > span:first-child { color: var(--ink); }
.kn-bieu .h > span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.kn-bieu .cot { display: flex; flex-direction: column; gap: 3px; }
.kn-bieu .cot i { display: block; height: 10px; border-radius: 5px; background: var(--kn-2); min-width: 2px; }
.kn-bieu .cot i.cung { background: var(--kn-vang-2); }
.kn-chu-giai { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.kn-chu-giai i { display: inline-block; width: 12px; height: 8px; border-radius: 4px; margin-right: 5px; background: var(--kn-2); }
.kn-chu-giai i.cung { background: var(--kn-vang-2); }
/* Thanh duoi (dien thoai) */
.mb-duoi { display: none; }
@media (max-width: 760px) {
  .mb-duoi { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px #0f172a14; }
  .mb-duoi a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; color: var(--muted); text-decoration: none !important; padding: 4px 0; }
  .mb-duoi a.on { color: var(--kn); font-weight: 700; }
  .mb-duoi svg.lucide { width: 22px; height: 22px; }
  .mb-duoi b { top: 0; right: calc(50% - 22px); }
  body.co-mb-duoi { padding-bottom: 66px; }
  body.co-mb-duoi .zalo-fab { bottom: 78px; }
  .kn-chuc-nang, .kn-quy-trinh { grid-template-columns: 1fr 1fr; }
  .kn-o a { min-height: 110px; }
  .kn-o b { font-size: 16px; }
  .kn-dau h1 { font-size: 20px; }
  .kn-bieu .h { grid-template-columns: 110px 1fr 54px; }
}
@media (max-width: 420px) { .kn-dau { padding: 16px; } }
