/* 25/11/2026: chỉ dùng giao diện sáng – chặn trình duyệt điện thoại (Samsung Internet, Chrome) tự ép tối trang */
:root{color-scheme:only light}
@media (prefers-color-scheme:dark){:root{color-scheme:only light}html,body{background:#FAF8F5}}

/* Thuê Nhà Đồng Nai – giao diện v2 (25/11/2026): bản đồ tràn viền, dải thẻ đáy, ảnh vuông 1:1.
   Nạp SAU site.css; mọi quy tắc đều nằm dưới body.v2 nên không ảnh hưởng web đang chạy. */

/* ---------- Nút "Bản thử" (chỉ hiện ở chế độ thử): nút nhỏ ở góc dưới trái ---------- */
.pv-bar{position:fixed;left:12px;bottom:14px;z-index:3000;background:rgba(15,27,51,.86);color:#fff;font-size:11.5px;font-weight:600;line-height:1;
  text-decoration:none;padding:.42rem .7rem;border-radius:999px;box-shadow:0 4px 12px rgba(15,27,51,.25)}
.pv-bar:hover{background:#0F1B33}
body.v2.pg-map:has(.explore.show-map) .pv-bar{bottom:196px}
@media (max-width:860px){.pv-bar,body.v2.pg-map:has(.explore.show-map) .pv-bar{bottom:auto;top:62px;left:8px;font-size:10.5px;padding:.3rem .55rem}}

/* ---------- Ảnh vuông ở mọi nơi ---------- */
body.v2 .card .ph{aspect-ratio:1/1;height:auto}
body.v2 .card .ph img{aspect-ratio:1/1;object-fit:cover;display:block}
body.v2 .card .exp{position:absolute;right:.35rem;top:.35rem;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#FBF1D3;color:#8A6A12;box-shadow:0 0 0 1.5px #E9C46A}
body.v2 .card .exp .ic{width:12px;height:12px}
body.v2 .pop img{aspect-ratio:1/1}

/* ---------- Nút danh mục + nhãn lọc ---------- */
body.v2 .chip-all{--c:var(--blue)}
body.v2 .chip-all .ci{background:linear-gradient(135deg,#0756D5,#0F7B6C);color:#fff}
body.v2 .chip-all.on .ci{background:rgba(255,255,255,.22)}
body.v2 .chip-sep{flex:none;width:1px;height:22px;background:rgba(15,27,51,.22);margin:0 2px;align-self:center}
body.v2 .chip-tag{border:1.5px solid var(--gold)!important}
body.v2 .chip-tag .ci{background:#FBF1D3;color:#8A6A12}
body.v2 .chip-tag.on{background:#8A6A12;color:#fff;border-color:#8A6A12!important}
body.v2 .chip-tag.on .ci{background:rgba(255,255,255,.22);color:#fff}
body.v2 .chip-tag.on b{color:rgba(255,255,255,.88)}
body.v2 .tag-pill{display:inline-flex;align-items:center;gap:.3rem;border-radius:999px;padding:.2rem .65rem;font-size:.8rem;font-weight:600;background:#FBF1D3;color:#6E540C;border:1.5px solid var(--gold)}

/* ================= TRANG CHỦ: bản đồ phủ kín khung nhìn ================= */
body.v2.pg-map:has(.explore.show-map){overflow:hidden}
body.v2.pg-map .explore{display:block;height:auto;min-height:100vh;min-height:100dvh}
body.v2.pg-map .pane-map{position:fixed;inset:0;z-index:1;visibility:hidden}
body.v2.pg-map .explore.show-map .pane-map{visibility:visible}
body.v2.pg-map .map{position:absolute;inset:0;height:auto}

/* Thanh trên dạng kính mờ, nổi trên bản đồ (máy tính, máy tính bảng ngang) */
@media (min-width:861px){
  body.v2.pg-map .top{position:fixed;left:12px;right:12px;top:12px;border-radius:18px;border:1px solid rgba(255,255,255,.7);
    background:rgba(255,255,255,.86);box-shadow:0 10px 30px rgba(15,27,51,.16)}
  body.v2.pg-map .explore.show-map .side-top{position:fixed;top:86px;left:14px;right:164px;z-index:950;display:flex;align-items:flex-start;gap:10px;
    background:none;border:0;padding:0;pointer-events:none}
  body.v2.pg-map .explore.show-map .side-top>*{pointer-events:auto}
  body.v2.pg-map .explore.show-map .sbox{flex:0 0 280px;border-color:transparent;box-shadow:0 8px 26px rgba(15,27,51,.16)}
  body.v2.pg-map .explore.show-map .chips{flex:1 1 0;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:6px 26px 8px 2px;margin:0;scroll-behavior:smooth;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent)}
  body.v2.pg-map .explore.show-map .chips{gap:.32rem}
  body.v2.pg-map .explore.show-map .chip{font-size:.8rem;white-space:nowrap;padding:.22rem .55rem .22rem .24rem;gap:.32rem}
  body.v2.pg-map .explore.show-map .chips::-webkit-scrollbar{display:none}
  body.v2.pg-map .explore.show-map .chip{flex:none;border-color:transparent;box-shadow:0 3px 10px rgba(15,27,51,.14);background:rgba(255,255,255,.97)}
  body.v2.pg-map .explore.show-map .chip.on{background:var(--c)}
  body.v2.pg-map .explore.show-map .chip-tag.on{background:#8A6A12}
  /* Nút chuyển Bản đồ ↔ Danh sách */
  body.v2.pg-map .toggle-view{display:inline-flex!important;align-items:center;gap:.45rem;position:fixed;right:14px;top:90px;z-index:960;
    background:linear-gradient(135deg,#0F1B33,#24365C);color:#fff;border:0;border-radius:999px;padding:.6rem 1.05rem;font:inherit;font-weight:600;font-size:.88rem;
    cursor:pointer;box-shadow:0 8px 22px rgba(15,27,51,.3);white-space:nowrap;min-width:136px;justify-content:center}
  body.v2.pg-map .toggle-view span{display:inline-flex;align-items:center;gap:.4rem}
  body.v2.pg-map .explore.show-map .toggle-view .tv-map,body.v2.pg-map .explore:not(.show-map) .toggle-view .tv-list{display:none}
  body.v2.pg-map .explore.show-map .toggle-view .tv-list,body.v2.pg-map .explore:not(.show-map) .toggle-view .tv-map{display:inline-flex}
}

/* Chế độ bản đồ: phần danh sách chỉ còn ô tìm, nút danh mục và dải thẻ đáy */
body.v2.pg-map .explore.show-map .pane-list{position:static;overflow:visible;background:none;border:0;padding:0;pointer-events:none}
body.v2.pg-map .explore.show-map .res-head,
body.v2.pg-map .explore.show-map .areas,
body.v2.pg-map .explore.show-map .cta-duo,
body.v2.pg-map .explore.show-map .side-foot{display:none}

/* Dải thẻ tin lướt ngang ở đáy bản đồ */
body.v2.pg-map .explore.show-map #cards{position:fixed;left:0;right:0;bottom:10px;z-index:940;display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;
  padding:10px 14px 12px;margin:0;scroll-snap-type:x proximity;scroll-padding-left:14px;scrollbar-width:none;pointer-events:auto;-webkit-overflow-scrolling:touch}
body.v2.pg-map .explore.show-map #cards::-webkit-scrollbar{display:none}
body.v2.pg-map .explore.show-map #cards .card{flex:0 0 348px;scroll-snap-align:start;box-shadow:0 10px 28px rgba(15,27,51,.2);border-color:transparent}
body.v2.pg-map .explore.show-map #cards .card.hl{box-shadow:0 0 0 2.5px var(--blue),0 12px 30px rgba(15,27,51,.24)}
body.v2.pg-map .explore.show-map #cards .card.is-feat{border-color:#E8D49A}
body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:132px 1fr;gap:.75rem;padding:.55rem}
body.v2.pg-map .explore.show-map #cards .ph{width:132px}
body.v2.pg-map .explore.show-map #cards .empty{flex:1 1 auto;background:#fff;margin:0 auto;max-width:520px}
body.v2.pg-map .explore.show-map #cards h3{font-size:.9rem}
body.v2.pg-map .explore.show-map #cards .specs span:nth-child(n+3){display:none}

/* Nút bản đồ, chú thích, dòng ghi nguồn: nằm trên dải thẻ, không bị che */
body.v2.pg-map .mapctl{bottom:196px}
body.v2.pg-map .legend{display:none}
body.v2.pg-map .explore.show-map .leaflet-bottom{bottom:176px}
body.v2.pg-map .leaflet-top{top:150px}

/* Chế độ danh sách: lưới thẻ ảnh vuông */
body.v2.pg-map .explore:not(.show-map) .pane-list{position:relative;z-index:2;overflow:visible;border:0;background:var(--bg);min-height:100vh;min-height:100dvh;padding:0 0 3rem}
body.v2.pg-map .explore:not(.show-map) .side-top,
body.v2.pg-map .explore:not(.show-map) .res-head,
body.v2.pg-map .explore:not(.show-map) .areas,
body.v2.pg-map .explore:not(.show-map) .list,
body.v2.pg-map .explore:not(.show-map) .cta-duo,
body.v2.pg-map .explore:not(.show-map) .side-foot{max-width:1180px;margin-left:auto;margin-right:auto}
body.v2.pg-map .explore:not(.show-map) .side-top{position:static;background:none;border:0}
body.v2.pg-map .explore:not(.show-map) .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;padding-right:26px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent)}
body.v2.pg-map .explore:not(.show-map) .chips::-webkit-scrollbar{display:none}
body.v2.pg-map .explore:not(.show-map) .chip{flex:none;white-space:nowrap}
body.v2.pg-map .explore:not(.show-map) .chip-sep{display:none}
body.v2.pg-map .explore:not(.show-map) .list{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.v2.pg-map .explore:not(.show-map) .card.pg-off{display:none}
body.v2.pg-map .explore.show-map .pager{display:none}
body.v2.pg-map .explore:not(.show-map) .res-head{scroll-margin-top:96px}
body.v2.pg-map .pager{display:flex;justify-content:center;flex-wrap:wrap;gap:.4rem;max-width:1180px;margin:1.4rem auto .4rem}
body.v2.pg-map .pager button{min-width:40px;height:40px;padding:0 .7rem;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
body.v2.pg-map .pager button:hover:not(:disabled){border-color:#0F5C5C;color:#0F5C5C}
body.v2.pg-map .pager button[aria-current=page]{background:#0F5C5C;border-color:#0F5C5C;color:#fff}
body.v2.pg-map .pager button:disabled{opacity:.35;cursor:default}
body.v2.pg-map .pager .pg-nav{font-size:1.2rem;line-height:1}
body.v2.pg-map .side-foot a[lang]{margin-right:.45rem}
body.v2.pg-map .explore:not(.show-map) .cta-duo,body.v2.pg-map .explore:not(.show-map) .side-foot{padding-left:14px;padding-right:14px;box-sizing:border-box}
/* Trang chủ đã có nút chuyển Bản đồ ↔ Danh sách: ẩn liên kết "Bản đồ" trùng trên thanh đầu trang */
body.v2.pg-map .top .nav>a:first-child{display:none}
@media (min-width:861px) and (max-width:1023px){body.v2.pg-map .explore:not(.show-map) .list{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.v2.pg-map .explore:not(.show-map) .card-link{display:flex;flex-direction:column;gap:0;padding:0;height:100%}
body.v2.pg-map .explore:not(.show-map) .card .ph{width:100%;border-radius:17px 17px 0 0}
body.v2.pg-map .explore:not(.show-map) .card .bd{padding:.7rem .8rem 2.9rem;flex:1}
body.v2.pg-map .explore:not(.show-map) .card .loc{padding-right:0}
body.v2.pg-map .explore:not(.show-map) .card .save{top:.5rem;right:.5rem;background:rgba(255,255,255,.92);color:#5E6B82;box-shadow:0 2px 8px rgba(0,0,0,.18)}
body.v2.pg-map .explore:not(.show-map) .card .save.on{color:var(--red)}
body.v2.pg-map .explore:not(.show-map) .card .exp{right:auto;left:.4rem;top:auto;bottom:.4rem}
body.v2.pg-map .explore:not(.show-map) .cta-duo{grid-template-columns:1fr 1fr}
@media (min-width:861px){
  body.v2.pg-map .explore:not(.show-map) .pane-list{padding-top:86px}
  body.v2.pg-map .explore:not(.show-map) .side-top{padding-right:150px}
}

/* ---------- Điện thoại, máy gập, máy tính bảng dọc (≤860px): thanh trên giữ nguyên, thanh điều hướng ở đáy ---------- */
@media (max-width:860px){
  body.v2.pg-map .pane-map{inset:57px 0 calc(62px + env(safe-area-inset-bottom)) 0}
  body.v2.pg-map .leaflet-top{top:104px}
  body.v2.pg-map .explore.show-map .side-top{position:fixed;top:57px;left:0;right:0;z-index:950;background:none;border:0;padding:.6rem .7rem 0;pointer-events:none}
  body.v2.pg-map .explore.show-map .side-top>*{pointer-events:auto}
  body.v2.pg-map .explore.show-map #cards{bottom:calc(62px + env(safe-area-inset-bottom) + 4px);gap:10px;padding:8px 12px 10px;scroll-padding-left:12px}
  body.v2.pg-map .explore.show-map #cards .card{flex-basis:min(84vw,330px)}
  body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:112px 1fr;gap:.65rem;padding:.5rem}
  body.v2.pg-map .explore.show-map #cards .ph{width:112px}
  body.v2.pg-map .explore.show-map #cards .onmap{display:none}
  body.v2.pg-map .explore.show-map #cards .loc{padding-right:0}
  body.v2.pg-map .mapctl{bottom:158px}
  body.v2.pg-map .explore.show-map .leaflet-bottom{bottom:146px}
  body.v2.pg-map .explore:not(.show-map) .pane-list{padding-bottom:6rem}
  body.v2.pg-map .explore:not(.show-map) .list{grid-template-columns:1fr 1fr;gap:10px}
  body.v2.pg-map .explore:not(.show-map) .card h3{font-size:.84rem}
  body.v2.pg-map .explore:not(.show-map) .card .price{font-size:.92rem}
  body.v2.pg-map .explore:not(.show-map) .card .bd{padding:.55rem .6rem 2.7rem}
  body.v2.pg-map .explore:not(.show-map) .card .specs span:nth-child(n+3){display:none}
  body.v2.pg-map .explore:not(.show-map) .cta-duo{grid-template-columns:1fr}
}
@media (min-width:600px) and (max-width:860px){
  body.v2.pg-map .explore.show-map #cards .card{flex-basis:320px}
}
/* Điện thoại (dưới 600px): lưới 1 cột, thẻ đầy đủ */
@media (max-width:599px){
  body.v2.pg-map .explore:not(.show-map) .list{grid-template-columns:minmax(0,1fr);gap:14px}
  body.v2.pg-map .explore:not(.show-map) .card h3{font-size:.95rem}
  body.v2.pg-map .explore:not(.show-map) .card .price{font-size:1.05rem}
  body.v2.pg-map .explore:not(.show-map) .card .bd{padding:.7rem .8rem 2.9rem}
}
/* Màn ngoài máy gập (dưới 360px): thẻ thu gọn */
@media (max-width:359px){
  body.v2.pg-map .explore.show-map #cards .card{flex-basis:88vw}
  body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:84px 1fr;gap:.5rem;padding:.4rem}
  body.v2.pg-map .explore.show-map #cards .ph{width:84px}
  body.v2.pg-map .explore.show-map #cards .specs{display:none}
  body.v2.pg-map .explore.show-map #cards h3{-webkit-line-clamp:2;font-size:.82rem}
  body.v2.pg-map .mapctl{bottom:132px}
  body.v2.pg-map .explore.show-map .leaflet-bottom{bottom:120px}
}
/* Điện thoại xoay ngang, màn thấp: thu dải thẻ để còn chỗ cho bản đồ */
@media (max-height:480px) and (orientation:landscape){
  body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:76px 1fr}
  body.v2.pg-map .explore.show-map #cards .ph{width:76px}
  body.v2.pg-map .explore.show-map #cards .specs,body.v2.pg-map .explore.show-map #cards .loc{display:none}
  body.v2.pg-map .mapctl{bottom:120px}
}
/* Trình duyệt tắt JavaScript: không có bản đồ, hiện danh sách dạng lưới */
@media (scripting:none){
  body.v2.pg-map{overflow:auto!important}
  body.v2.pg-map .pane-map,body.v2.pg-map .toggle-view{display:none!important}
  body.v2.pg-map .explore.show-map .pane-list{pointer-events:auto;background:var(--bg);padding:86px 0 3rem}
  body.v2.pg-map .explore.show-map .side-top,body.v2.pg-map .explore.show-map #cards{position:static}
  body.v2.pg-map .explore.show-map #cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));max-width:1180px;margin:0 auto;overflow:visible}
  body.v2.pg-map .explore.show-map .res-head{display:flex;max-width:1180px;margin:0 auto}
}

/* ================= TRANG CHI TIẾT: thư viện ảnh vuông (1 lớn + 4 nhỏ) ================= */
body.v2 .gallery.sq{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;overflow:visible;border-radius:20px;max-width:900px}
body.v2 .gallery.sq .g-item{flex:none;border-radius:14px;aspect-ratio:1/1;min-width:0}
body.v2 .gallery.sq .g-item:first-child{grid-row:1/3;border-radius:18px;aspect-ratio:auto;align-self:stretch}
body.v2 .gallery.sq .g-item img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;display:block}
body.v2 .gallery.sq .g-more{display:none}
body.v2 .gallery.sq .g-rest{position:absolute;inset:0;display:grid;place-items:center;background:rgba(15,27,51,.55);color:#fff;font-weight:800;font-size:1.5rem}
body.v2 .gallery.sq.n1{grid-template-columns:minmax(0,560px);grid-template-rows:auto}
body.v2 .gallery.sq.n1 .g-item:first-child{grid-row:auto}
body.v2 .gallery.sq.n2{grid-template-columns:1fr 1fr;grid-template-rows:auto;max-width:900px}
body.v2 .gallery.sq.n2 .g-item:first-child{grid-row:auto}
body.v2 .gallery.sq.n3{grid-template-columns:2fr 1fr}
@media (max-width:860px){
  /* điện thoại: vuốt ngang, mỗi ảnh một ô vuông */
  body.v2 .gallery.sq,body.v2 .gallery.sq.n1,body.v2 .gallery.sq.n2,body.v2 .gallery.sq.n3,body.v2 .gallery.sq.n4{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;max-width:none}
  body.v2 .gallery.sq::-webkit-scrollbar{display:none}
  /* điện thoại, máy tính bảng: mỗi lần 1 ảnh vuông đầy khung, vuốt sang ảnh kế, góc dưới có số thứ tự ảnh */
  body.v2 .gallery.sq .g-item,body.v2 .gallery.sq .g-item:first-child{flex:0 0 100%;max-width:none;scroll-snap-align:start;scroll-snap-stop:always;border-radius:16px}
  body.v2 .g-wrap{position:relative}
  body.v2 .g-wrap .g-cnt{display:block;position:absolute;right:10px;bottom:10px;z-index:2;background:rgba(15,27,51,.62);color:#fff;font-size:.8rem;font-weight:700;padding:.2rem .6rem;border-radius:999px;pointer-events:none}
  /* căn tương tự: không để lưới rộng hơn màn hình (gây lố ngang, chừa dải trống bên phải) */
  body.v2 .similar .list.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  /* thanh đáy 3 nút chia đều */
  body.v2 .sticky-cta .btn,body.v2 .sticky-cta .btn.dir{flex:1 1 0;min-width:0;padding-left:.4rem;padding-right:.4rem;white-space:nowrap}
  body.v2 .gallery.sq .g-more{display:block}
  body.v2 .gallery.sq .g-rest{display:none}
}
body.v2 .similar .list.grid2{grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:16px}
body.v2 .g-cnt{display:none}
body.v2:not(.pg-map) main{overflow-x:clip}
@media (max-width:599px){body.v2 .similar .list.grid2{grid-template-columns:minmax(0,1fr)}}
body.v2 .similar .card-link{display:flex;flex-direction:column;gap:0;padding:0;height:100%}
body.v2 .similar .card .ph{width:100%;border-radius:17px 17px 0 0}
body.v2 .similar .card .bd{padding:.7rem .8rem 2.9rem;flex:1}
body.v2 .similar .card .loc{padding-right:0}
body.v2 .similar .card .save{background:rgba(255,255,255,.92);color:#5E6B82;box-shadow:0 2px 8px rgba(0,0,0,.18)}
body.v2 .similar .card .save.on{color:var(--red)}
@media (max-width:860px){body.v2 .similar .list.grid2{grid-template-columns:1fr 1fr;gap:10px}}

/* Trang "Đã lưu": cùng lưới ảnh vuông */
body.v2.pg-saved .list{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}

/* ================= Sửa 25/11/2026 (đợt 2) ================= */
/* 1. Nhìn toàn tỉnh: ghim lẻ chỉ còn chấm icon; nhãn giá bung khi rê chuột/bấm hoặc khi phóng to. Nhãn thống kê của cụm chỉ hiện khi rê chuột. */
body.v2 .pin span em{font-style:normal}
body.v2 .pin.mini span{padding:4px}
body.v2 .pin.mini span em{display:none}
body.v2 .pin.mini:hover span,body.v2 .pin.mini.is-hl span{padding:5px 9px 5px 5px}
body.v2 .pin.mini:hover span em,body.v2 .pin.mini.is-hl span em{display:inline}

/* 2. Hàng nút lọc trên điện thoại: cuộn ngang mượt, chừa lề cuối để nút cuối không bị cắt */
@media (max-width:860px){
  body.v2.pg-map .explore.show-map .chips{scroll-behavior:smooth;padding-right:1.4rem;scroll-padding-right:1.4rem}
  body.v2.pg-map .explore.show-map .chips:after{content:"";flex:0 0 .4rem}
}

/* 4. Thẻ tin ở dải đáy: khung ảnh vuông rộng hơn, nét hơn; tiêu đề 2 dòng rõ ràng */
body.v2.pg-map .explore.show-map #cards .card{flex-basis:372px}
body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:148px 1fr;gap:.8rem;padding:.5rem}
body.v2.pg-map .explore.show-map #cards .ph{width:148px;border-radius:14px}
body.v2.pg-map .explore.show-map #cards .ph img{object-position:center}
body.v2.pg-map .explore.show-map #cards .card:hover .ph img{transform:none}
body.v2.pg-map .explore.show-map #cards .card .cat{font-size:.68rem;padding:.32rem .45rem 1rem}
body.v2.pg-map .explore.show-map #cards h3{font-size:.92rem;line-height:1.35;margin-bottom:.35rem}
body.v2.pg-map .explore.show-map #cards .price{font-size:1.08rem}
@media (max-width:860px){
  body.v2.pg-map .explore.show-map #cards .card{flex-basis:min(88vw,348px)}
  body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:124px 1fr;gap:.65rem;padding:.45rem}
  body.v2.pg-map .explore.show-map #cards .ph{width:124px}
  body.v2.pg-map .explore.show-map #cards h3{font-size:.86rem}
  body.v2.pg-map .explore.show-map #cards .price{font-size:1rem}
}
@media (min-width:600px) and (max-width:860px){body.v2.pg-map .explore.show-map #cards .card{flex-basis:340px}}
@media (max-width:359px){
  body.v2.pg-map .explore.show-map #cards .card{flex-basis:90vw}
  body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:92px 1fr;gap:.5rem;padding:.4rem}
  body.v2.pg-map .explore.show-map #cards .ph{width:92px}
}
@media (max-height:480px) and (orientation:landscape){
  body.v2.pg-map .explore.show-map #cards .card-link{grid-template-columns:76px 1fr}
  body.v2.pg-map .explore.show-map #cards .ph{width:76px}
}

/* 5. Cụm nút tròn nổi Zalo + Gọi ở góc dưới phải; nút phóng to/thu nhỏ dời lên trên, dòng ghi nguồn bản đồ nằm dưới, không đè nhau */
body.v2 .fab{position:fixed;right:14px;bottom:24px;z-index:946;display:grid;gap:10px;transition:transform .25s ease,opacity .25s ease}
/* điện thoại, máy tính bảng ở chế độ Danh sách: cuộn xuống thì nút nổi trượt ra mép phải, dừng cuộn 1,2 giây hoặc cuộn lên thì hiện lại (không che chữ, không chạm nhầm khi lướt) */
body.v2 .fab.fab-hide{transform:translateX(84px);opacity:0;pointer-events:none}
body.v2 .cta-card .cta-t{display:block;margin:0;color:var(--ink);font-size:.92rem;font-weight:700;line-height:1.3}
body.v2 .contact .btn.dir{background:#fff;color:#0F5C5C;border:1.5px solid #0F5C5C;box-shadow:none}
body.v2 .sticky-cta .btn.dir{flex:0 0 auto;background:#E6F1EF;color:#0F5C5C;border:0}
body.v2 .fab a{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;text-decoration:none;box-shadow:0 8px 20px rgba(15,27,51,.28);transition:transform .12s}
body.v2 .fab a:hover{transform:translateY(-2px) scale(1.04)}
body.v2 .fab-zalo{background:linear-gradient(135deg,#0068FF,#00A1FF)}
body.v2 .fab-zalo b{font-size:.8rem;font-weight:800;letter-spacing:-.01em}
body.v2 .fab-call{background:linear-gradient(135deg,var(--green),var(--teal))}
body.v2 .fab-call .ic{width:24px;height:24px}
body.v2.pg-map .explore.show-map .fab{bottom:224px}
body.v2.pg-map .mapctl{bottom:360px}
body.v2.pg-map .explore.show-map .leaflet-bottom{bottom:190px}
@media (max-width:860px){
  body.v2 .fab{right:10px;gap:8px;bottom:calc(62px + env(safe-area-inset-bottom) + 16px)}
  body.v2.pg-map .explore:not(.show-map) .list{padding-bottom:12px}
  body.v2 .fab a{width:46px;height:46px}
  body.v2 .fab-call .ic{width:21px;height:21px}
  body.v2.pg-map .explore.show-map .fab{bottom:calc(62px + env(safe-area-inset-bottom) + 190px)}
  body.v2.pg-map .mapctl{right:10px;bottom:306px}
  body.v2.pg-map .mapctl button{width:40px;height:40px;border-radius:12px}
  body.v2.pg-map .explore.show-map .leaflet-bottom{bottom:162px}
}
@media (max-width:359px){
  body.v2.pg-map .explore.show-map .fab{bottom:calc(62px + env(safe-area-inset-bottom) + 152px)}
  body.v2.pg-map .mapctl{bottom:266px}
  body.v2.pg-map .explore.show-map .leaflet-bottom{bottom:126px}
}
@media (max-height:480px) and (orientation:landscape){
  body.v2.pg-map .mapctl{display:none}
  body.v2.pg-map .explore.show-map .fab{bottom:calc(50px + 118px);grid-auto-flow:column}
}
@media (scripting:none){body.v2.pg-map .explore.show-map .fab{bottom:24px}}

/* ================= Lớp Khu công nghiệp + Trường học (25/11/2026) ================= */
/* Hộp lớp bản đồ: nút nhỏ ở góc trên trái, bấm để bật/tắt lớp */
body.v2 .lyr{margin:0 0 0 14px}
body.v2 .lyr-b{width:40px;height:40px;border-radius:12px;border:0;background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px rgba(15,27,51,.16)}
body.v2 .lyr-b[aria-expanded="true"]{color:var(--blue)}
body.v2 .lyr-b .ic{width:20px;height:20px}
body.v2 .lyr-p{margin-top:6px;background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(15,27,51,.18);padding:.45rem .65rem;display:grid;gap:.15rem;font:600 13px/1.3 var(--font);color:var(--ink);min-width:168px}
body.v2 .lyr-p[hidden]{display:none}
body.v2 .lyr-p label{display:flex;align-items:center;gap:.45rem;padding:.3rem .1rem;cursor:pointer;white-space:nowrap}
body.v2 .lyr-p input{width:16px;height:16px;accent-color:var(--blue);margin:0}
body.v2 .lyr-p i{width:14px;height:14px;flex:none}
body.v2 .lyr-p .lg-k{border-radius:4px;background:#0F5C5C;box-shadow:0 0 0 2px #fff,0 0 0 3px #9FC3C3}
body.v2 .lyr-p .lg-s{border-radius:50%;background:#5B7083;box-shadow:0 0 0 2px #fff,0 0 0 3px #C6D0DA}
@media (max-width:860px){body.v2 .lyr{margin-left:10px}body.v2 .lyr-b{width:38px;height:38px}}
/* Tắt lớp KCN */
body.v2 .no-kcn .kcn-lbl,body.v2 .no-kcn .leaflet-kcn-pane{display:none}
/* KCN chưa có đường biên: chấm tím + nhãn; KCN chính khi nhìn toàn tỉnh: nhãn đậm hơn một chút */
body.v2 .kcn-lbl.kcn-main span{font-size:11.5px}
/* Điểm mốc (KCN chưa có đường biên, trường học, hành chính, công an): chấm tròn có icon, màu trung tính; tên hiện khi phóng đủ gần */
body.v2 .poi{background:none;border:0}
body.v2 .poi span{position:absolute;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#5B7083;color:#fff;border:2px solid #fff;box-shadow:0 2px 6px rgba(15,27,51,.25);transition:transform .12s;cursor:pointer}
body.v2 .poi span .ic{width:12px;height:12px}
body.v2 .poi.p-main span{width:26px;height:26px}
body.v2 .poi.p-main span .ic{width:14px;height:14px}
body.v2 .poi.p-school.p-main span{background:#46627A}
body.v2 .poi.p-ward span{background:#7A6A4F}
body.v2 .poi.p-police span{background:#4A5D8A}
body.v2 .poi.p-airport span{background:#0E3A5B;width:30px;height:30px}
body.v2 .poi.p-airport span .ic{width:17px;height:17px}
body.v2 .poi.p-kcn span{background:#0F5C5C;border-radius:6px}
/* KCN chỉ còn icon: không vẽ đường biên, vùng tô hay nhãn chữ của lớp nền */
body.v2 .leaflet-kcn-pane,body.v2 .kcn-lbl{display:none!important}
/* nhìn xa: icon KCN nhỏ gọn */
body.v2 .far .poi.p-kcn span{width:20px;height:20px;border-radius:5px}
body.v2 .far .poi.p-kcn span .ic{width:11px;height:11px}
/* rê chuột vào icon: luôn hiện tên */
body.v2 .poi:hover em{display:block;visibility:visible!important;z-index:2}
body.v2 .poi:hover span{transform:translate(-50%,-50%) scale(1.12)}
body.v2 .poi:hover{z-index:1500!important}
body.v2 .poi em{display:none;position:absolute;left:15px;top:0;transform:translateY(-50%);width:max-content;max-width:160px;text-align:left;font:600 11px/1.2 var(--font);font-style:normal;color:#35506A;text-shadow:0 0 3px #fff,0 0 5px #fff,0 0 2px #fff,0 0 2px #fff;pointer-events:none}
body.v2 .poi.named em{display:block}
body.v2 .poi.p-main em{left:17px;font-size:11.5px;font-weight:700}
body.v2 .poi.p-airport em{left:19px;font-size:12px;color:#0E3A5B}
body.v2 .poi.p-kcn em{color:#0F5C5C}
body.v2 .poi.p-ward em{color:#5E5038}
body.v2 .poi.p-police em{color:#3A4A70}
body.v2 .lyr-p .lg-c{border-radius:50%;background:#7A6A4F;box-shadow:0 0 0 2px #fff,0 0 0 3px #D6CDBD}
/* Thẻ thông tin điểm mốc */
body.v2 .pop-poi .pk{display:inline-flex;align-items:center;gap:.3rem;font-size:.72rem;font-weight:600;color:#fff;background:#5B7083;border-radius:999px;padding:.12rem .5rem;margin-bottom:.35rem}
body.v2 .pop-poi.t-kcn .pk{background:#0F5C5C}body.v2 .pop-poi.t-civic .pk{background:#7A6A4F}
body.v2 .pop-poi .pk .ic{width:12px;height:12px}
body.v2 .pop-poi b{display:block;font-size:.92rem;line-height:1.35;padding-right:1.4rem}
body.v2 .pop-poi .pl,body.v2 .pop-poi .pn{display:block;color:var(--mut);font-size:.76rem;margin-top:.15rem}
body.v2 .pop-poi .pn{color:#0B7A61;font-weight:600}
body.v2 .pop-poi .pop-a{display:flex;gap:.4rem;margin-top:.55rem}
body.v2 .pop-poi .pop-a .btn{flex:1;margin:0;min-height:38px;justify-content:center;gap:.3rem;color:#fff}
body.v2 .pop-poi .pop-a .btn.ghost{color:var(--blue)}
body.v2 .pop-poi .pop-a .btn .ic{width:16px;height:16px}
/* Trang chi tiết: điểm mốc gần căn */
body.v2 .near-poi{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
body.v2 .near-poi li{display:grid;grid-template-columns:1fr auto auto;gap:.15rem .7rem;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:.55rem .75rem}
body.v2 .near-poi .np-k{grid-column:1/-1;font-size:.72rem;font-weight:600;color:var(--mut)}
body.v2 .near-poi b{font-size:.9rem;font-weight:600;min-width:0}
body.v2 .near-poi .np-d{font-weight:800;color:var(--green);font-size:.9rem;white-space:nowrap}
body.v2 .near-poi .np-go{display:inline-flex;align-items:center;gap:.25rem;text-decoration:none;font-size:.8rem;font-weight:600;color:var(--blue);background:#EAF1FD;border-radius:999px;padding:.32rem .65rem;white-space:nowrap}
body.v2 .near-poi .np-go .ic{width:14px;height:14px}
/* Trang quản trị điểm mốc */
.poi-adm .poi-bar{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:.6rem 0}
.poi-adm #poi-msg{font-weight:600;color:#0B7A61}.poi-adm #poi-msg.bad{color:#C0392B}
.poi-adm .poi-cols{display:grid;grid-template-columns:1fr 330px;gap:1rem}
.poi-adm .poi-map{height:72vh;min-height:420px;border-radius:16px;overflow:hidden;border:1px solid #E3E8F0}
.poi-adm .poi-side{max-height:72vh;overflow:auto}
.poi-adm #poi-form{display:grid;gap:.5rem;background:#fff;border:1px solid #E3E8F0;border-radius:14px;padding:.8rem;margin-bottom:.8rem}
.poi-adm #poi-form[hidden]{display:none}
.poi-adm #poi-form label{display:grid;gap:.2rem;font-size:.82rem;font-weight:600}
.poi-adm #poi-form label.chk{display:flex;gap:.4rem;align-items:center}
.poi-adm #poi-form input:not([type=checkbox]),.poi-adm #poi-form select{font:inherit;padding:.4rem .5rem;border:1px solid #CBD5E3;border-radius:9px}
.poi-adm .poi-act{display:flex;gap:.4rem;flex-wrap:wrap}
.poi-adm .btn.danger{color:#C0392B}
.poi-adm .poi-todo{margin:0;padding-left:1.1rem;font-size:.86rem;line-height:1.7}
.pa{background:none;border:0}
.pa span{position:absolute;transform:translate(-50%,-50%);width:16px;height:16px;border-radius:50%;background:#5B7083;border:2px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.35);cursor:grab}
.pa.t-kcn span{background:#8E44AD}.pa.t-civic span{background:#7A6A4F}
.pa.todo span{background:#F28C28}
.pa-v{background:none;border:0}.pa-v span{position:absolute;transform:translate(-50%,-50%);width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid #8E44AD;box-shadow:0 1px 4px rgba(0,0,0,.35);cursor:move}
.poi-adm.drawing .poi-map{cursor:crosshair}.poi-adm.drawing .pa{pointer-events:none;opacity:.45}
.poi-adm #poi-ring-act[hidden],.poi-adm #ring-hint[hidden],.poi-adm .poi-act [hidden]{display:none}
.pa.on span{width:22px;height:22px;box-shadow:0 0 0 3px #0756D5,0 1px 5px rgba(0,0,0,.35)}
@media (max-width:860px){.poi-adm .poi-cols{grid-template-columns:1fr}.poi-adm .poi-map{height:55vh}}
body.v2 .pop-poi{width:auto;min-width:150px}
body.v2 .pop-poi small{display:block;color:var(--mut);margin-top:.15rem}

/* ================= Khung thông tin khi bấm ghim (25/11/2026) ================= */
body.v2 .pop.pop2{width:auto;min-width:230px}
body.v2 .pop2 .pop-h{display:grid;grid-template-columns:84px 1fr;gap:.6rem;align-items:start;padding-right:1.2rem}
body.v2 .pop2 .pop-h img{width:84px;height:84px;aspect-ratio:1/1;object-fit:cover;border-radius:12px;margin:0}
body.v2 .pop2 .pop-h b{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:.86rem;line-height:1.35}
body.v2 .pop2 .pp{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:.45rem 0 .1rem;font-size:1.05rem}
body.v2 .pop2 .pf{background:#E6F7F2;color:#0B7A61;font-size:.74rem;font-weight:600;border-radius:8px;padding:.1rem .45rem}
body.v2 .pop2 .pl{display:block;color:var(--mut);font-size:.76rem}
body.v2 .pop2 .pop-a{display:grid;grid-template-columns:1.25fr 1fr;gap:.4rem;margin-top:.5rem}
body.v2 .pop2 .pop-a .btn{margin:0;width:auto;min-height:38px;justify-content:center;text-align:center}
body.v2 .pop2 .pop-a .btn.pdir{margin:0}
body.v2 .leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 12px 32px rgba(15,27,51,.24)}
body.v2 .leaflet-popup-content{margin:12px 12px 12px}
body.v2 .leaflet-container a.leaflet-popup-close-button{top:6px;right:6px;width:28px;height:28px;border-radius:50%;background:#F2F5FA;color:var(--ink);font:700 18px/26px var(--font);text-align:center}
body.v2 .leaflet-container a.leaflet-popup-close-button:hover{background:#E3E8F0;color:var(--ink)}

/* ================= Nhìn xa: bỏ đường biên + vùng tô KCN và nhãn KCN phụ (25/11/2026) ================= */
body.v2 .far .leaflet-kcn-pane{display:none}
body.v2 .kcn-lbl:not(.kcn-main){display:none}

/* ================= Bảng màu ấm (anh chốt 25/11/2026): xanh ngọc đậm #0F5C5C · kem #FAF8F5 · hổ phách #D97706 ================= */
body.v2{--blue:#0F5C5C;--blue-d:#0B4747;--green:#0F5C5C;--teal:#17807A;--bg:#FAF8F5;--line:#E7E1D8;--amber:#D97706;background:#FAF8F5}
body.v2 .btn{background:linear-gradient(135deg,#0F5C5C,#17807A);box-shadow:0 4px 12px rgba(15,92,92,.25)}
body.v2 .btn.zalo{background:linear-gradient(135deg,#0068FF,#00A1FF);box-shadow:0 4px 12px rgba(0,104,255,.28)}
body.v2 .btn.ghost{background:#fff;color:#0F5C5C;border-color:#CFE0DC;box-shadow:none}
body.v2 .btn.ghost:hover{border-color:#0F5C5C;background:#F1F7F5}
body.v2 .btn.link{background:none;box-shadow:none}
body.v2 .sq-ic,body.v2 .sq-call{background:linear-gradient(135deg,#0F5C5C,#17807A);box-shadow:0 4px 10px rgba(15,92,92,.3)}
body.v2 .brand b em{background:linear-gradient(90deg,#0F5C5C,#17807A);-webkit-background-clip:text;background-clip:text;color:transparent}
body.v2 .brand .logo{filter:drop-shadow(0 3px 6px rgba(15,92,92,.22))}
body.v2 .nav .btn-call{background:linear-gradient(135deg,#0F5C5C,#17807A);box-shadow:0 4px 14px rgba(15,92,92,.32)}
body.v2 .nav .btn-call:hover{background:linear-gradient(135deg,#0B4747,#136B66)}
/* "Ký gửi cho thuê": hổ phách – điểm nhấn chuyển đổi */
body.v2 .nav .nav-post{background:#D97706;color:#fff;border:1.5px solid #D97706;border-radius:12px}
body.v2 .nav .nav-post .ic{color:#fff}
body.v2 .nav .nav-post:hover{background:#B96305;border-color:#B96305}
body.v2 .tb-post i{background:linear-gradient(135deg,#D97706,#F0A030);box-shadow:0 8px 20px rgba(217,119,6,.38)}
body.v2 .tb-post{color:#B45309}
body.v2 .cta-card.own .ci{background:linear-gradient(135deg,#D97706,#F0A030);color:#fff}
body.v2 .cta-card.need .ci{background:linear-gradient(135deg,#0F5C5C,#17807A)}
body.v2 .cta-card{background:#fff}
/* Nút lọc: nền trắng viền mỏng, cùng kích thước; chỉ nút đang chọn mới mang màu chủ đạo */
body.v2 .chip,body.v2.pg-map .explore.show-map .chip{background:#fff;border:1px solid #E7E1D8;color:var(--ink);box-shadow:0 2px 8px rgba(15,27,51,.08);min-height:36px}
body.v2 .chip .ci,body.v2 .chip-all .ci{background:#F1EEE8;color:#0F5C5C}
body.v2 .chip.on,body.v2.pg-map .explore.show-map .chip.on,body.v2 .chip-all.on{background:#0F5C5C;border-color:#0F5C5C;color:#fff;box-shadow:0 5px 14px rgba(15,92,92,.28)}
body.v2 .chip.on .ci,body.v2 .chip-all.on .ci{background:rgba(255,255,255,.2);color:#fff}
body.v2 .chip.on b{color:rgba(255,255,255,.88)}
body.v2 .chip-tag,body.v2.pg-map .explore.show-map .chip-tag{border:1px solid #E7E1D8!important}
body.v2 .chip-tag .ci{background:#FBF1DF;color:#B45309}
body.v2 .chip-tag.on,body.v2.pg-map .explore.show-map .chip-tag.on{background:#0F5C5C;border-color:#0F5C5C!important}
body.v2 .chip-tag.on .ci{background:rgba(255,255,255,.2);color:#fff}
body.v2.pg-map .explore.show-map .chips{gap:.38rem;padding-right:30px}
body.v2 .areas a{background:#F3EFE8}
body.v2 .specs span{background:#F5F2EC}
body.v2 .onmap{background:#E6F1EF;color:#0F5C5C}
body.v2 .onmap:hover{background:#0F5C5C;color:#fff}
body.v2 .card:hover,body.v2 .card.hl{border-color:#CFE0DC}
body.v2.pg-map .toggle-view{background:linear-gradient(135deg,#0B4747,#0F5C5C)}
body.v2 .lyr-b[aria-expanded="true"]{color:#0F5C5C}
body.v2 .lyr-p input{accent-color:#0F5C5C}
body.v2 .fab-call{background:linear-gradient(135deg,#0F5C5C,#17807A)}
body.v2 .near-poi .np-go{background:#E6F1EF;color:#0F5C5C}
body.v2 .pop a.btn.pdir,body.v2 .pop2 .pop-a .btn.pdir{color:#0F5C5C}
body.v2 .pop-poi .pop-a .btn.ghost{color:#0F5C5C}
body.v2 .tag-pill{background:#FBF1DF;color:#92400E;border-color:#EBC78F}
body.v2 .card .exp{background:#FBF1DF;color:#B45309;box-shadow:0 0 0 1.5px #EBC78F}
body.v2 .foot{background:#0B4747}
body.v2 .tabbar .tb[aria-current],body.v2:has(.explore.show-map) .tb-map,body.v2:has(.explore:not(.show-map)) .tb-list{color:#0F5C5C}