/* ==========================================================
   BĐS 365 — Trang dự án (front)
   ========================================================== */
.bds365{--bds-primary:#0d2167;--bds-accent:#e3a018;--bds-table:#8e0c0c;--bds-sticky:0px;
	--bds-text:#1e2433;--bds-muted:#6b7385;--bds-line:#e8ebf1;--bds-bg:#f6f7fa;--bds-r:10px;
	--bds-shadow:0 4px 18px rgba(16,24,40,.07);
	color:var(--bds-text);font-size:14px;line-height:1.55;background:#fff;padding:24px 0 56px}
.bds365 *,.bds365 *::before,.bds365 *::after{box-sizing:border-box}
.bds365 a{color:inherit;text-decoration:none!important}
.bds365 img{max-width:100%;height:auto;display:block}
.bds365 button{font:inherit;cursor:pointer}
.bds365 h1,.bds365 h2,.bds365 h3,.bds365 h4{color:var(--bds-text);margin:0;letter-spacing:0;text-transform:none}
.bds-wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.bds-ic{flex:none;vertical-align:middle}
.bds-muted{color:var(--bds-muted);font-size:12px}
.bds-empty{padding:40px 16px;text-align:center;color:var(--bds-muted);background:var(--bds-bg);border-radius:var(--bds-r)}
.bds-noimg{display:block;width:100%;height:100%;min-height:160px;background:linear-gradient(135deg,#e8ecf5,#d5dbea)}
.bds-h2{font-size:20px!important;font-weight:700;text-transform:uppercase!important;margin:0 0 4px!important}
.bds-center{text-align:center;margin-bottom:22px!important}
.bds-sec-row{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}

/* ---------- Listing ---------- */
.bds-list-title{text-align:center;font-size:22px!important;font-weight:700;text-transform:uppercase;margin-bottom:16px!important}
.bds-filter{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 auto 22px;max-width:900px}
.bds-filter select,.bds-filter input,.bds-bh-filters select{height:38px;border:1px solid var(--bds-line);border-radius:8px;padding:0 12px;font-size:13px;background:#fff;color:var(--bds-text);margin:0;box-shadow:none;min-width:150px;max-width:100%}
.bds-filter-search{position:relative;display:flex;align-items:center;flex:1 1 220px;max-width:280px;margin:0}
.bds-filter-search .bds-ic{position:absolute;left:11px;color:#9aa3b5}
.bds-filter-search input{padding-left:34px!important;width:100%;height:38px;border:1px solid var(--bds-line);border-radius:8px;font-size:13px;margin:0;box-shadow:none}
.bds-list-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}
.bds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

.bds-card{background:#fff;border-radius:var(--bds-r);overflow:hidden;box-shadow:var(--bds-shadow);border:1px solid var(--bds-line);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.bds-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(16,24,40,.13)}
.bds-card-img{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#eef1f7}
.bds-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.bds-card:hover .bds-card-img img{transform:scale(1.05)}
.bds-badge-lh{position:absolute;top:8px;left:8px;background:var(--bds-primary);color:#fff;font-size:10px;font-weight:700;text-transform:uppercase;padding:3px 8px;border-radius:4px}
.bds-badge-lh.is-low{background:var(--bds-accent)}
.bds-badge-hot{position:absolute;bottom:8px;left:8px;background:#e11d2e;color:#fff;font-size:10px;font-weight:700;padding:2px 7px 2px 5px;border-radius:4px;display:flex;align-items:center;gap:2px}
.bds-badge-hot .bds-ic{width:11px;height:11px}
.bds-badge-tt{position:absolute;bottom:8px;right:8px;background:#fff4dc;color:#b86e00;font-size:10px;font-weight:700;text-transform:uppercase;padding:3px 8px;border-radius:4px}
.bds-card-body{padding:12px 12px 14px;display:flex;flex-direction:column;gap:5px;flex:1}
.bds-card-title{display:flex;justify-content:space-between;gap:8px;font-size:13.5px!important;font-weight:700;text-transform:uppercase;line-height:1.35!important}
.bds-card-title a:hover{color:var(--bds-primary)}
.bds-card-ext{color:var(--bds-accent);flex:none}
.bds-card-tag{margin:0!important;font-size:12px;color:#3b4252;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bds-card-addr{margin:0!important;font-size:11.5px;color:var(--bds-muted);display:flex;gap:4px}
.bds-card-addr .bds-ic{width:13px;height:13px;margin-top:2px;color:#9aa3b5}

.bds-pagi{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:26px;font-size:13px}
.bds-pagi .page-numbers{min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--bds-text);padding:0 6px;border:1px solid transparent}
.bds-pagi a.page-numbers:hover{border-color:var(--bds-line)}
.bds-pagi .page-numbers.current{background:var(--bds-primary);color:#fff}
.bds-pagi-info{color:var(--bds-muted);margin-left:10px}

.bds-side-box{border-radius:var(--bds-r);overflow:hidden;box-shadow:var(--bds-shadow);border:1px solid var(--bds-line);position:sticky;top:calc(var(--bds-sticky) + 16px)}
.bds-side-head{background:linear-gradient(90deg,var(--bds-primary),#2852b8);color:#fff;text-align:center;font-weight:700;text-transform:uppercase;padding:13px;font-size:13.5px}
.bds-side-body{padding:6px 16px 12px}
.bds-side-group h4{display:flex;align-items:center;gap:6px;font-size:13.5px!important;font-weight:600;margin:12px 0 6px!important;color:var(--bds-text)}
.bds-side-group h4 .bds-ic{color:var(--bds-accent)}
.bds-side-group ul{list-style:none;margin:0!important;padding:0!important}
.bds-side-group li{margin:0!important;border-bottom:1px dashed var(--bds-line)}
.bds-side-group li:last-child{border:0}
.bds-side-group li a{display:block;padding:8px 2px;font-size:12px;text-transform:uppercase;color:#2b3242}
.bds-side-group li a:hover{color:var(--bds-primary);padding-left:6px;transition:padding .2s}

.bds-news-sec{margin-top:44px}
.bds-sec-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.bds-sec-head h2{font-size:20px!important;font-weight:700;text-transform:uppercase}
.bds-sec-head a{color:var(--bds-primary);font-size:13px}
.bds-news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.bds-news-card{background:#fff;border-radius:var(--bds-r);overflow:hidden;border:1px solid var(--bds-line);box-shadow:var(--bds-shadow);display:flex;flex-direction:column}
.bds-news-img{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#eef1f7}
.bds-news-img img{width:100%;height:100%;object-fit:cover}
.bds-news-cat{position:absolute;top:8px;left:8px;background:var(--bds-accent);color:#fff;font-size:10px;font-weight:600;padding:2px 8px;border-radius:20px}
.bds-news-body{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}
.bds-news-body h3{font-size:13.5px!important;font-weight:700;line-height:1.35!important}
.bds-news-body h3 a:hover{color:var(--bds-primary)}
.bds-news-body p{font-size:12px;color:var(--bds-muted);margin:0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bds-news-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--bds-muted);padding-top:6px}
.bds-news-foot a{color:var(--bds-text);font-weight:700;text-decoration:underline!important;font-size:12px}

/* ---------- Single ---------- */
.bds-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:10px}
.bds-bc{font-size:12px;color:var(--bds-muted);display:flex;gap:6px;flex-wrap:wrap}
.bds-bc a:hover{color:var(--bds-primary)}
.bds-bc em{font-style:normal;color:#9aa3b5}
.bds-share{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--bds-line);background:#fff;border-radius:20px;padding:4px 12px;font-size:12px;color:var(--bds-text)}
.bds-share .bds-ic{width:13px;height:13px}
.bds-head{background:linear-gradient(180deg,#fff,#f7f8fb);border-radius:var(--bds-r);box-shadow:var(--bds-shadow);border:1px solid var(--bds-line);padding:18px 20px;margin-bottom:16px}
.bds-head h1{font-size:22px!important;font-weight:700;text-transform:uppercase;margin-bottom:6px!important}
.bds-head p{margin:0!important;color:#4a5263;font-size:13px}

.bds-tabnav{position:sticky;top:var(--bds-sticky);z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);margin:0 -16px 18px;padding:0 16px;border-bottom:1px solid var(--bds-line)}
.admin-bar .bds-tabnav{top:calc(var(--bds-sticky) + 32px)}
.bds-tabnav-in{display:flex;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:0}
.bds-tabnav-in::-webkit-scrollbar{display:none}
.bds-tabnav-in>a:first-child{margin-left:auto}.bds-tabnav-in>a:last-child{margin-right:auto}
.bds-tabnav a{position:relative;display:flex;align-items:center;gap:5px;white-space:nowrap;padding:12px 11px;font-size:12.5px;color:#3a4152}
.bds-tabnav a+a::before{content:"";position:absolute;left:0;top:50%;height:14px;margin-top:-7px;border-left:1px solid #c9ced8}
.bds-tabnav a .dashicons{font-size:15px;width:15px;height:15px;color:#7b8396}
.bds-tabnav a:hover,.bds-tabnav a.active{color:var(--bds-accent)}
.bds-tabnav a.active .dashicons{color:var(--bds-accent)}
.bds-tabnav a.active::after{content:"";position:absolute;left:10px;right:10px;bottom:4px;height:2px;background:var(--bds-accent);border-radius:2px}

.bds-panel{display:none;animation:bdsFade .35s ease}
.bds-panel.active{display:block}
@keyframes bdsFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.bds-content{font-size:14px;line-height:1.7;margin-top:18px}
.bds-content p{margin:0 0 10px}
.bds-content img{border-radius:8px;margin:10px 0}
.bds-box{background:#fff;border:1px solid var(--bds-line);border-radius:var(--bds-r);box-shadow:var(--bds-shadow);padding:20px;margin-top:8px}

/* slider */
.bds-slider{position:relative;border-radius:var(--bds-r);overflow:hidden;background:#0b1020;aspect-ratio:21/8}
.bds-slides,.bds-slide{position:absolute;inset:0}
.bds-slide{opacity:0;transition:opacity .6s}
.bds-slide.active{opacity:1;z-index:1}
.bds-slide img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.bds-sl-prev,.bds-sl-next{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(0,0,0,.25);color:#fff;font-size:26px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0 0 3px}
.bds-sl-prev:hover,.bds-sl-next:hover{background:rgba(0,0,0,.5)}
.bds-sl-prev{left:14px}.bds-sl-next{right:14px}
.bds-sl-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:5px}
.bds-sl-dots button{width:20px;height:20px;border-radius:50%;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.25);color:#fff;font-size:10px;padding:0;line-height:18px}
.bds-sl-dots button.active{background:var(--bds-accent);border-color:var(--bds-accent)}

.bds-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:16px}
.bds-stat{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--bds-line);border-radius:var(--bds-r);box-shadow:var(--bds-shadow);padding:14px 16px}
.bds-stat-ic{width:44px!important;height:44px!important;border-radius:50%;background:linear-gradient(135deg,#c89b5a,#7a4b1f);color:#fff;font-size:22px!important;display:flex!important;align-items:center;justify-content:center;flex:none}
.bds-stat small{display:block;font-size:12px;color:var(--bds-muted)}
.bds-stat strong{display:block;font-size:19px;font-weight:700;color:var(--bds-text);line-height:1.3}

/* vị trí */
.bds-vitri-img img{width:100%;border-radius:var(--bds-r);cursor:zoom-in}
.bds-map{margin-top:16px;border-radius:var(--bds-r);overflow:hidden;aspect-ratio:16/7;border:1px solid var(--bds-line)}
.bds-map iframe{width:100%;height:100%;border:0;display:block}

/* tòa nhà */
.bds-toa-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.bds-toa{background:#fff;border-radius:14px;border:1px solid var(--bds-line);box-shadow:var(--bds-shadow);overflow:hidden}
.bds-toa-head{padding:12px 14px 10px}
.bds-toa-head small{font-size:9.5px;font-weight:700;text-transform:uppercase;color:var(--bds-muted);letter-spacing:.04em}
.bds-toa-head h3{font-size:15px!important;font-weight:700;text-transform:uppercase}
.bds-toa-img{position:relative;aspect-ratio:16/10;overflow:hidden}
.bds-toa-img img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.bds-toa-badge{position:absolute;right:8px;bottom:8px;background:#fff4dc;color:#b86e00;font-size:10px;font-weight:700;text-transform:uppercase;padding:3px 8px;border-radius:4px}
.bds-toa-info{list-style:none;margin:0!important;padding:4px 14px 8px!important}
.bds-toa-info li{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--bds-line);margin:0!important}
.bds-toa-info li:last-child{border:0}
.bds-toa-info .dashicons{width:30px;height:30px;border-radius:8px;background:var(--c);color:#fff;font-size:16px;display:flex;align-items:center;justify-content:center;flex:none}
.bds-toa-info small{display:block;font-size:9.5px;text-transform:uppercase;color:var(--bds-muted)}
.bds-toa-info b{font-size:12.5px;text-transform:uppercase}
.bds-toa-info em{text-transform:none}

/* chips / chọn */
.bds-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.bds-chip{border:1px solid var(--bds-line);background:#fff;color:#3a4152;border-radius:5px;padding:5px 12px;font-size:11.5px;font-weight:600;text-transform:uppercase}
.bds-chip.active{background:#6b7280;border-color:#6b7280;color:#fff}

/* zoom */
.bds-zoom{position:relative;overflow:hidden;border-radius:var(--bds-r);border:1px solid var(--bds-line);background:#f1f3f7;cursor:grab;touch-action:none;user-select:none}
.bds-zoom.dragging{cursor:grabbing}
.bds-zoom-in{transform-origin:0 0;will-change:transform}
.bds-zoom-img .bds-zoom-in img{width:100%;pointer-events:none}
.bds-zoom-tools{position:absolute;z-index:5;top:10px;right:10px;display:flex;flex-direction:column;background:#fff;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.15);overflow:hidden}
.bds-zoom-tools button{width:30px;height:30px;border:0;border-bottom:1px solid #eee;background:#fff;color:#333;display:flex;align-items:center;justify-content:center;padding:0}
.bds-zoom-tools button:last-child{border:0}
.bds-zoom-tools button:hover{background:#f3f4f6}
.bds-zoom:fullscreen{border-radius:0;background:#fff;display:flex;align-items:flex-start}
.bds-zoom.is-full{position:fixed!important;inset:0;z-index:99999;border-radius:0;background:#fff}

/* legend */
.bds-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 14px;margin:6px 0 14px}
.bds-leg{display:inline-flex;align-items:center;gap:5px;border:0;background:none;padding:3px 6px;border-radius:5px;font-size:12px;color:#3a4152}
.bds-leg i{width:11px;height:11px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:inline-block;border:1px solid rgba(0,0,0,.12)}
.bds-leg.active{background:#fff4dc;color:#b86e00;font-weight:600}

/* bảng hàng */
.bds-bh-filters{display:flex;flex-wrap:wrap;gap:8px}
.bds-bh-filters select{min-width:150px}
.bds-bh-pick{background:#fff;border:1px solid var(--bds-line);border-radius:var(--bds-r);padding:12px 14px 2px;margin-bottom:10px;box-shadow:var(--bds-shadow)}
.bds-bh-pick>span{display:block;border-left:3px solid var(--bds-accent);padding-left:8px;font-size:12px;margin-bottom:8px}
.bds-bh-card{background:#fff;border:1px solid var(--bds-line);border-radius:var(--bds-r);box-shadow:var(--bds-shadow);padding:12px;margin-bottom:18px}
.bds-bh-cardhead{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 10px;font-size:12px;text-transform:uppercase}
.bds-pill{background:#fff4dc;color:#b86e00;font-size:10.5px;font-weight:700;padding:3px 10px;border-radius:4px;text-transform:none}
.bds-zoom-table{background:#fff;max-height:78vh}
.bds-zoom-table .bds-zoom-in{display:inline-block;min-width:100%}
.bds-bh{border-collapse:collapse;margin:0!important;font-family:Georgia,"Times New Roman",serif;width:auto;min-width:100%}
.bds-bh th,.bds-bh td{border:1px solid rgba(255,255,255,.25)!important;padding:0!important;text-align:center!important;vertical-align:middle!important;font-size:11.5px;line-height:1.1}
.bds-bh th{background:var(--bds-table);color:#fff;font-weight:700;height:30px;min-width:46px;padding:0 6px!important;white-space:nowrap;text-transform:uppercase}
.bds-bh tr>th:first-child,.bds-bh tr>th:last-child{min-width:110px}
.bds-bh-title{font-size:14px!important;height:36px!important}
.bds-bh td.bds-cell{background:#fff;border:1px solid #c7c7c7!important;height:30px;min-width:46px;transition:opacity .2s,box-shadow .2s;cursor:help}
.bds-bh td.bds-bh-pad{background:#808080;border-color:#808080!important}
.bds-cell.st-doc_quyen{background:#e11d2e!important}
.bds-cell.st-cheo{background:#f59e0b!important}
.bds-cell.st-thuong{background:#22c55e!important}
.bds-cell.st-giu_cho{background:#3b82f6!important}
.bds-cell.st-da_ban{background:#cbd5e1!important;background-image:repeating-linear-gradient(45deg,transparent 0 5px,rgba(0,0,0,.08) 5px 7px)!important}
.bds-cell.st-khong{background:#808080!important;border-color:#808080!important;cursor:default}
.bds-bh.is-filtering td.bds-cell:not(.match){opacity:.15}
.bds-bh.is-filtering td.bds-cell.match{box-shadow:inset 0 0 0 2px #111}

/* quỹ căn */
.bds-qc-wrap{overflow-x:auto;border:1px solid var(--bds-line);border-radius:var(--bds-r);box-shadow:var(--bds-shadow)}
.bds-qc{width:100%;border-collapse:collapse;margin:0!important;font-size:13px}
.bds-qc th{background:var(--bds-primary);color:#fff;font-weight:600;text-align:left;padding:10px 12px!important;white-space:nowrap;text-transform:none;font-size:12.5px;border:0!important}
.bds-qc td{padding:9px 12px!important;border:0!important;border-bottom:1px solid var(--bds-line)!important;white-space:nowrap}
.bds-qc tbody tr:nth-child(even){background:#fafbfd}
.bds-qc tbody tr:hover{background:#fff8e8}
.bds-qc-st{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600}
.bds-qc-st::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--c)}

/* FAQ */
.bds-faq{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:start}
.bds-faq-cats{background:#fff;border:1px solid var(--bds-line);border-radius:var(--bds-r);box-shadow:var(--bds-shadow);padding:10px 0}
.bds-faq-cats small{display:block;font-size:10px;font-weight:700;text-transform:uppercase;color:var(--bds-muted);padding:2px 14px 8px}
.bds-faq-cats button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;border-left:3px solid transparent;background:none;text-align:left;padding:9px 12px;font-size:11.5px;text-transform:uppercase;color:#3a4152}
.bds-faq-cats button i{font-style:normal;font-size:10px;background:#eef0f5;border-radius:10px;padding:0 7px}
.bds-faq-cats button.active{border-left-color:var(--bds-primary);color:var(--bds-primary);background:#f1f4fb;font-weight:600}
.bds-faq-cats button.active i{background:var(--bds-primary);color:#fff}
.bds-faq-gh{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.bds-faq-gh>span{width:28px;height:28px;border-radius:50%;background:var(--bds-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.bds-faq-gh b{display:block;text-transform:uppercase;font-size:13px}
.bds-faq-gh small{color:var(--bds-muted);font-size:11px}
.bds-faq-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
.bds-faq-item{background:#fff;border:1px solid var(--bds-line);border-radius:8px;box-shadow:0 2px 8px rgba(16,24,40,.05)}
.bds-faq-item summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px;cursor:pointer;font-size:12.5px;font-weight:500}
.bds-faq-item summary::-webkit-details-marker{display:none}
.bds-faq-item summary i{font-style:normal;flex:none;width:20px;height:20px;border-radius:50%;background:#eef0f5;font-size:10px;display:flex;align-items:center;justify-content:center;color:var(--bds-muted)}
.bds-faq-item summary span{flex:1}
.bds-faq-item summary .bds-ic{color:#9aa3b5;transition:transform .2s}
.bds-faq-item[open] summary{color:var(--bds-primary)}
.bds-faq-item[open] summary i{background:var(--bds-primary);color:#fff}
.bds-faq-item[open] summary .bds-ic{transform:rotate(180deg)}
.bds-faq-a{padding:0 14px 12px 42px;font-size:13px;color:#4a5263}
.bds-faq-a p{margin:0 0 8px}

/* tiến độ */
.bds-td{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start}
.bds-td-list{display:flex;flex-direction:column;gap:6px;border-left:2px solid var(--bds-line);padding-left:14px}
.bds-td-list button{position:relative;text-align:left;border:1px solid var(--bds-line);background:#fff;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:600;text-transform:uppercase;color:#3a4152}
.bds-td-list button::before{content:"";position:absolute;left:-21px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:#d0d5df;border:2px solid #fff}
.bds-td-list button.active{background:var(--bds-primary);color:#fff;border-color:var(--bds-primary)}
.bds-td-list button.active::before{background:var(--bds-accent)}
.bds-td-item h3{font-size:16px!important;font-weight:700;margin-bottom:6px!important}
.bds-td-item .bds-content{margin-top:0}
.bds-td-imgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:12px}
.bds-td-imgs img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;cursor:zoom-in}

/* tài liệu */
.bds-tl-banner img{width:100%;border-radius:var(--bds-r)}
.bds-tl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 22px;margin-top:16px;background:#fff;border:1px solid var(--bds-line);border-radius:var(--bds-r);box-shadow:var(--bds-shadow);padding:10px 16px}
.bds-tl-item{display:flex;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid var(--bds-line);font-size:12.5px;font-weight:600;text-transform:uppercase;color:#2b3242}
.bds-tl-item i{font-style:normal;flex:none;width:22px;height:22px;border-radius:5px;background:var(--bds-primary);color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center}
.bds-tl-item span{flex:1}
.bds-tl-item .bds-ic{color:#b7bdca}
a.bds-tl-item:hover{color:var(--bds-primary)}
a.bds-tl-item:hover .bds-ic{color:var(--bds-accent)}
.bds-tl-item.is-off{opacity:.55}
.bds-note{margin-top:22px;background:#fff9e6;border-left:3px solid var(--bds-accent);border-radius:6px;padding:10px 14px;font-size:12.5px;color:#8a6a1c}
.bds-note b{color:#b86e00}

/* lightbox */
.bds-lbox{position:fixed;inset:0;z-index:999999;background:rgba(5,8,20,.92);display:flex;align-items:center;justify-content:center;padding:30px}
.bds-lbox img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}
.bds-lbox button{position:absolute;top:14px;right:18px;border:0;background:none;color:#fff;font-size:34px;line-height:1}

/* toast */
.bds-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#111827;color:#fff;padding:9px 16px;border-radius:20px;font-size:13px;z-index:999999}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
	.bds-list-layout{grid-template-columns:1fr}
	.bds-side-box{position:static}
	.bds-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bds-tl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:782px){
	.admin-bar .bds-tabnav{top:calc(var(--bds-sticky) + 46px)}
}
@media (max-width:768px){
	.bds-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.bds-filter select{flex:1 1 45%;min-width:0}
	.bds-filter-search{max-width:none;flex-basis:100%}
	.bds-tabnav-in{justify-content:flex-start}
	.bds-slider{aspect-ratio:16/10}
	.bds-faq,.bds-td{grid-template-columns:1fr}
	.bds-faq-list{grid-template-columns:1fr}
	.bds-td-list{flex-direction:row;overflow-x:auto;border:0;padding:0}
	.bds-td-list button{white-space:nowrap}
	.bds-td-list button::before{display:none}
	.bds-faq-cats{display:flex;overflow-x:auto;padding:6px}
	.bds-faq-cats small{display:none}
	.bds-faq-cats button{white-space:nowrap;width:auto;border-left:0;border-radius:6px;gap:6px}
	.bds-head h1{font-size:18px!important}
	.bds-bh-filters select{flex:1 1 45%;min-width:0}
}
@media (max-width:480px){
	.bds-grid,.bds-news-grid,.bds-tl-grid{grid-template-columns:1fr}
	.bds-stats{grid-template-columns:1fr}
}

/* ==========================================================
   Chống theme (Flatsome / theme khác) đè style nút & ảnh
   ========================================================== */
.bds365 button{margin:0!important;min-height:0!important;min-width:0;text-transform:none;letter-spacing:0!important;box-shadow:none!important;text-decoration:none!important;line-height:1.3!important;font-weight:inherit;width:auto;max-width:none;outline-offset:2px}
.bds365 .bds-share{background:#fff!important;color:var(--bds-text)!important;border:1px solid var(--bds-line)!important;border-radius:20px!important;padding:5px 12px!important;font-size:12px!important}
.bds365 .bds-share:hover{border-color:var(--bds-accent)!important;color:var(--bds-accent)!important}
.bds365 .bds-sl-prev,.bds365 .bds-sl-next{background:rgba(0,0,0,.28)!important;color:#fff!important;border:0!important;border-radius:50%!important;width:40px!important;height:40px!important;padding:0 0 3px!important;font-size:26px!important;line-height:1!important}
.bds365 .bds-sl-prev:hover,.bds365 .bds-sl-next:hover{background:rgba(0,0,0,.55)!important}
.bds365 .bds-sl-dots button{width:20px!important;height:20px!important;padding:0!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.7)!important;background:rgba(255,255,255,.25)!important;color:#fff!important;font-size:10px!important;line-height:18px!important}
.bds365 .bds-sl-dots button.active{background:var(--bds-accent)!important;border-color:var(--bds-accent)!important}
.bds365 .bds-chip{background:#fff!important;color:#3a4152!important;border:1px solid var(--bds-line)!important;border-radius:5px!important;padding:6px 12px!important;font-size:11.5px!important;font-weight:600!important;text-transform:uppercase}
.bds365 .bds-chip.active{background:#6b7280!important;border-color:#6b7280!important;color:#fff!important}
.bds365 .bds-leg{background:transparent!important;color:#3a4152!important;border:0!important;padding:4px 8px!important;border-radius:5px!important;font-size:12px!important}
.bds365 .bds-leg:hover{background:#f3f4f6!important}
.bds365 .bds-leg.active{background:#fff4dc!important;color:#b86e00!important;font-weight:600}
.bds365 .bds-zoom-tools button{background:#fff!important;color:#333!important;border:0!important;border-bottom:1px solid #eee!important;border-radius:0!important;width:30px!important;height:30px!important;padding:0!important}
.bds365 .bds-zoom-tools button:last-child{border-bottom:0!important}
.bds365 .bds-zoom-tools button:hover{background:#f3f4f6!important}
.bds365 .bds-faq-cats button{background:transparent!important;color:#3a4152!important;border:0!important;border-left:3px solid transparent!important;border-radius:0!important;padding:9px 12px!important;font-size:11.5px!important;width:100%!important;text-transform:uppercase}
.bds365 .bds-faq-cats button.active{background:#f1f4fb!important;color:var(--bds-primary)!important;border-left-color:var(--bds-primary)!important;font-weight:600}
.bds365 .bds-td-list button{background:#fff!important;color:#3a4152!important;border:1px solid var(--bds-line)!important;border-radius:6px!important;padding:8px 12px!important;font-size:12px!important;font-weight:600;text-transform:uppercase;width:auto!important}
.bds365 .bds-td-list button.active{background:var(--bds-primary)!important;color:#fff!important;border-color:var(--bds-primary)!important}
.bds365 .bds-slide img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover}
.bds365 .bds-card-img img,.bds365 .bds-news-img img,.bds365 .bds-toa-img img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover}
.bds365 select{appearance:auto;-webkit-appearance:auto;background-image:none}
@media (max-width:768px){.bds365 .bds-faq-cats button{width:auto!important;border-left:0!important;border-radius:6px!important}}
.bds-lbox button{background:none!important;border:0!important;color:#fff!important;font-size:34px!important;padding:0!important;box-shadow:none!important}
.bds365 [hidden]{display:none!important}

/* ==========================================================
   MẶT BẰNG QUỸ CĂN
   ========================================================== */
.bds-mq{position:relative;border-radius:var(--bds-r);overflow:hidden;border:1px solid var(--bds-line);background:#e9eef2;box-shadow:var(--bds-shadow)}
.bds-mq-map{height:min(78vh,720px);min-height:420px;background:#e9eef2;font-family:inherit}
.bds-mq:fullscreen{border-radius:0}
.bds-mq:fullscreen .bds-mq-map,.bds-mq.is-full .bds-mq-map{height:100vh!important}
.bds-mq.is-full{position:fixed!important;inset:0;z-index:99998;border-radius:0}
.bds-mq .leaflet-container{background:#e9eef2;font:inherit}
.bds-mq .leaflet-bar a{width:30px;height:30px;line-height:30px;color:#222!important;font-size:16px}
.bds-mq-full{font-size:15px!important}
.bds365 .bds-mq-tts{position:absolute;z-index:500;top:124px;left:10px;display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:14px;padding:3px 9px 3px 4px;font-size:11px;font-weight:600;box-shadow:0 1px 5px rgba(0,0,0,.2);cursor:pointer;margin:0}
.bds-mq-tts input{display:none}
.bds-mq-tts span{width:26px;height:15px;border-radius:10px;background:#d1d5db;position:relative;transition:background .2s}
.bds-mq-tts span::after{content:"";position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#fff;transition:left .2s}
.bds-mq-tts input:checked+span{background:var(--bds-accent)}
.bds-mq-tts input:checked+span::after{left:13px}
.bds-mq-search{position:absolute;z-index:500;top:10px;right:10px;display:flex;align-items:center;background:#fff;border-radius:6px;box-shadow:0 1px 5px rgba(0,0,0,.2);overflow:hidden}
.bds365 .bds-mq-search button{width:34px!important;height:34px!important;border:0!important;background:#fff!important;color:#333!important;display:flex;align-items:center;justify-content:center;padding:0!important;border-radius:0!important}
.bds-mq-search input{width:0;padding:0!important;border:0!important;height:34px;font-size:13px;transition:width .25s;margin:0!important;box-shadow:none!important;background:#fff}
.bds-mq-search.open input{width:200px;padding:0 10px!important}
.bds-mq-filterwrap{position:relative}
.bds365 .bds-mq-filterbtn{display:inline-flex;align-items:center;gap:6px;background:#f1f3f7!important;color:var(--bds-text)!important;border:1px solid var(--bds-line)!important;border-radius:8px!important;padding:8px 14px!important;font-size:13px!important;font-weight:600}
.bds365 .bds-mq-filterbtn.on{background:#fff4dc!important;color:#b86e00!important;border-color:#f3d48b!important}
.bds-mq-filter{position:absolute;right:0;top:calc(100% + 6px);z-index:600;width:260px;background:#fff;border:1px solid var(--bds-line);border-radius:10px;box-shadow:0 12px 30px rgba(16,24,40,.16);padding:12px;display:flex;flex-direction:column;gap:10px}
.bds-mq-filter label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;margin:0}
.bds-mq-filter select{height:36px;border:1px solid var(--bds-line);border-radius:6px;padding:0 8px;font-size:13px;margin:0;width:100%}
.bds365 .bds-mq-freset{background:none!important;border:0!important;color:var(--bds-muted)!important;font-size:12px!important;text-decoration:underline!important;align-self:flex-end;padding:0!important}
.bds-mq-legend{margin-top:0}
.bds-mq-maps{justify-content:center}

/* ghim giá */
.bds-pin-wrap{background:none!important;border:0!important}
.bds-pin{--s:1;position:absolute;left:0;top:0;transform:translate(-50%,-100%);display:inline-flex;align-items:center;justify-content:center;min-width:calc(30px*var(--s));height:calc(19px*var(--s));padding:0 calc(5px*var(--s));border-radius:calc(10px*var(--s));background:var(--c);color:#fff;font:700 calc(10px*var(--s))/1 -apple-system,"Segoe UI",Arial,sans-serif;white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.4);border:1.5px solid #fff;cursor:pointer;transition:transform .15s}
.bds-pin::after{content:"";position:absolute;left:50%;bottom:calc(-7px*var(--s));margin-left:calc(-4px*var(--s));border:calc(4px*var(--s)) solid transparent;border-top:calc(5px*var(--s)) solid var(--c)}
.bds-pin:hover{transform:translate(-50%,-100%) scale(1.3);z-index:1000}
.bds-pin.sold{filter:grayscale(1);opacity:.55}
.bds-pulse .bds-pin{animation:bdsPulse .8s ease-in-out 3}
@keyframes bdsPulse{50%{transform:translate(-50%,-100%) scale(1.7);box-shadow:0 0 0 8px rgba(227,160,24,.35)}}

/* bảng quỹ căn */
.bds-qc tr.bds-qc-link{cursor:pointer}
.bds-qc tr.bds-qc-link td:first-child b{color:var(--bds-primary);text-decoration:underline;text-underline-offset:2px}
.bds-qc-price{color:#d61f2c}

/* ---------- Popup căn ---------- */
html.bds-noscroll{overflow:hidden}
.bds-umodal{position:fixed;inset:0;z-index:99990;background:rgba(15,20,35,.55);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .2s}
.bds-umodal.show{opacity:1}
.bds-u-box{position:relative;background:#fff;border-radius:14px;width:min(1000px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35);transform:translateY(12px);transition:transform .25s}
.bds-umodal.show .bds-u-box{transform:none}
.bds-u-head{display:flex;align-items:flex-start;gap:12px;padding:14px 18px;border-bottom:1px solid var(--bds-line)}
.bds-u-head h3{font-size:20px!important;font-weight:700;flex:1;margin:0!important;line-height:1.3!important}
.bds-u-price{text-align:right;line-height:1.2}
.bds-u-price small{font-size:11px;color:var(--bds-muted)}
.bds-u-price b{font-size:22px;color:#d61f2c;font-weight:800}
.bds-u-price em{display:block;font-style:normal;font-size:10.5px;color:var(--bds-muted)}
.bds365 .bds-u-x{background:none!important;border:0!important;color:#9aa3b5!important;font-size:28px!important;line-height:1!important;padding:0 0 0 6px!important}
.bds365 .bds-u-x:hover{color:#111!important}
.bds-u-body{display:grid;grid-template-columns:1fr 1fr;overflow:auto;flex:1}
.bds-u-left{border-right:1px solid var(--bds-line);display:flex;flex-direction:column}
.bds-u-gal{position:relative;background:#0f172a;aspect-ratio:4/3.3;overflow:hidden}
.bds-u-main,.bds-u-main img{width:100%;height:100%}
.bds-u-main img{object-fit:contain!important;max-width:none!important;height:100%!important;cursor:zoom-in}
.bds-u-rib{position:absolute;z-index:2;left:0;top:12px;writing-mode:vertical-rl;transform:rotate(180deg);background:var(--c);color:#fff;font-size:10.5px;font-weight:700;padding:8px 3px;border-radius:0 4px 4px 0}
.bds-u-gtools{position:absolute;z-index:2;top:10px;right:10px;display:flex;gap:6px}
.bds-u-gtools a{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.9);color:#111!important;display:flex;align-items:center;justify-content:center;font-size:14px}
.bds365 .bds-u-prev,.bds365 .bds-u-next{position:absolute;z-index:2;top:42%;width:34px!important;height:34px!important;border-radius:50%!important;border:0!important;background:rgba(255,255,255,.85)!important;color:#111!important;font-size:22px!important;line-height:1!important;padding:0 0 3px!important;display:flex;align-items:center;justify-content:center}
.bds-u-prev{left:10px}.bds-u-next{right:10px}
.bds-u-thumbs{position:absolute;z-index:2;left:0;right:0;bottom:0;display:flex;gap:5px;padding:8px;background:linear-gradient(transparent,rgba(0,0,0,.55));overflow-x:auto}
.bds-u-thumbs img{width:54px!important;height:40px!important;object-fit:cover;border-radius:4px;border:2px solid transparent;cursor:pointer;opacity:.75;flex:none}
.bds-u-thumbs img.on{border-color:var(--bds-accent);opacity:1}
.bds-u-noimg{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#cbd5e1;background:linear-gradient(135deg,#1e293b,#0f172a)}
.bds-u-noimg b{font-size:26px;color:#fff}
.bds-u-noimg span{font-size:12px}
.bds-u-facts{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:12px 8px;border-bottom:1px solid var(--bds-line)}
.bds-u-facts small{display:block;font-size:11.5px;color:#3b82f6}
.bds-u-facts b{display:block;font-size:12.5px;text-transform:uppercase}
.bds-u-acts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px}
.bds365 .bds-u-acts button{background:#fff!important;border:1px solid var(--bds-line)!important;color:var(--bds-text)!important;border-radius:6px!important;padding:8px 6px!important;font-size:12.5px!important;font-weight:600;white-space:nowrap}
.bds365 .bds-u-acts button:hover{border-color:var(--bds-primary)!important}
.bds365 .bds-u-acts .bds-u-fav.on{color:#e11d2e!important;border-color:#fecaca!important;background:#fff1f2!important}
.bds365 .bds-u-acts .bds-u-ask{color:#2563eb!important;border-color:#93c5fd!important}
.bds-u-right{padding:6px 18px 16px}
.bds-u-sec{padding:10px 0;border-bottom:1px solid var(--bds-line)}
.bds-u-sec:last-of-type{border-bottom:0}
.bds-u-sech{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.bds-u-sech h4{font-size:15px!important;font-weight:600;margin:0!important}
.bds-u-sech>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.bds365 .bds-u-btn{display:inline-flex;align-items:center;gap:6px;background:#f6f7fa!important;border:1px solid var(--bds-line)!important;color:var(--bds-text)!important;border-radius:6px!important;padding:5px 9px!important;font-size:12px!important;font-weight:500}
.bds-u-btn i{font-style:normal;color:#9aa3b5;font-size:11px}
.bds365 .bds-u-btn:hover{border-color:var(--bds-accent)!important}
.bds-u-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}
.bds-u-row{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--bds-muted)}
.bds-u-row b{color:var(--bds-text);font-weight:600;text-align:right}
.bds-u-row b.big{font-size:14px;font-weight:700}
.bds-u-tt{background:color-mix(in srgb,var(--c) 14%,#fff);color:var(--c);font-size:11px;font-weight:700;padding:3px 10px;border-radius:12px}
.bds-u-note{font-size:12.5px;color:#4a5263}
.bds-u-note p{margin:0 0 6px}
.bds-u-contacts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.bds-u-ct{display:flex;gap:10px;align-items:center;background:#f6f7fa;border-radius:8px;padding:10px}
.bds-u-ct img,.bds-u-av{width:42px!important;height:42px!important;border-radius:50%;object-fit:cover;flex:none}
.bds-u-av{background:var(--bds-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.bds-u-ct b{display:block;font-size:12.5px}
.bds-u-ct small{display:block;font-size:10.5px;color:var(--bds-muted)}
.bds-u-ct p{display:flex;gap:6px;margin:5px 0 0!important}
.bds-u-ct p a{width:34px;height:24px;border-radius:5px;color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:13px}
.bds-u-ct .call{background:#16a34a}.bds-u-ct .chat{background:#2563eb}
.bds-u-foot{padding:12px;border-top:1px solid var(--bds-line);text-align:center}
.bds-u-book{display:inline-flex;align-items:center;gap:8px;background:var(--bds-accent);color:#fff!important;font-weight:700;padding:11px 34px;border-radius:8px;text-transform:uppercase;font-size:14px;box-shadow:0 4px 14px rgba(227,160,24,.4)}
.bds-u-book:hover{filter:brightness(1.07)}
/* tính lãi vay */
.bds-u-loan{position:absolute;inset:0;z-index:5;background:rgba(255,255,255,.75);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:16px}
.bds-u-loan[hidden]{display:none!important}
.bds-loan{width:min(420px,100%);background:#fff;border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.2);padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bds-loan-h{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}
.bds365 .bds-loan-x{background:none!important;border:0!important;font-size:24px!important;color:#9aa3b5!important;padding:0!important}
.bds-loan label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;margin:0}
.bds-loan input{height:36px;border:1px solid var(--bds-line);border-radius:6px;padding:0 8px;font-size:14px;margin:0;width:100%}
.bds-loan-bank{grid-column:1/-1;margin:0!important;font-size:12px}
.bds-loan-out{grid-column:1/-1;background:#f6f7fa;border-radius:8px;padding:8px 12px}
.bds-loan-out div{display:flex;justify-content:space-between;padding:5px 0;font-size:12.5px;border-bottom:1px dashed var(--bds-line)}
.bds-loan-out div:last-child{border:0}
.bds-loan-out b{color:var(--bds-primary)}
.bds-loan-note{grid-column:1/-1;margin:0!important;font-size:11px;color:var(--bds-muted)}
@media (max-width:820px){
	.bds-umodal{padding:0;align-items:flex-end}
	.bds-u-box{max-height:94vh;border-radius:14px 14px 0 0}
	.bds-u-body{grid-template-columns:1fr}
	.bds-u-left{border-right:0}
	.bds-u-contacts,.bds-u-grid{grid-template-columns:1fr}
	.bds-mq-map{height:62vh;min-height:360px}
	.bds-mq-search.open input{width:150px}
	.bds-u-head h3{font-size:17px!important}
	.bds-u-price b{font-size:18px}
}

/* ==========================================================
   v1.2 — QUỸ CĂN / MẶT BẰNG QUỸ CĂN: bản đồ + danh sách
   ========================================================== */
.bds-rf{position:relative;margin-top:6px}
.bds-rf-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.bds-rf-search{position:relative;display:flex;align-items:center;flex:0 1 240px;margin:0!important}
.bds-rf-search .bds-ic{position:absolute;left:10px;color:#9aa3b5;pointer-events:none}
.bds365 .bds-rf-search input,.bds365 .bds-rf-bar select{height:36px!important;border:1px solid var(--bds-line)!important;border-radius:8px!important;font-size:13px!important;margin:0!important;box-shadow:none!important;background:#fff;color:var(--bds-text)}
.bds365 .bds-rf-search input{padding:0 10px 0 32px!important;width:100%}
.bds365 .bds-rf-bar select{padding:0 28px 0 10px!important;width:auto!important;min-width:140px;max-width:220px}
.bds365 .bds-rf-bar .bds-mq-tts{position:static;box-shadow:none;border:1px solid var(--bds-line);height:36px;border-radius:8px;padding:0 12px 0 8px;font-size:12.5px}
.bds-mq-fcount{font-style:normal;background:var(--bds-accent);color:#fff;border-radius:9px;min-width:18px;height:18px;font-size:11px;line-height:18px;text-align:center;padding:0 5px}
.bds-mq-fcount:empty{display:none}
.bds-mq-range{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:12px;font-weight:600}
.bds-mq-range span{grid-column:1/-1}
.bds365 .bds-mq-range input{height:34px!important;border:1px solid var(--bds-line)!important;border-radius:6px!important;padding:0 8px!important;font-size:13px!important;margin:0!important;width:100%;box-shadow:none!important}
.bds365 .bds-mq-check{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:7px;font-size:12.5px!important;font-weight:600;margin:0!important;cursor:pointer;white-space:nowrap}
.bds365 .bds-mq-check input{margin:0!important;width:15px;height:15px}
.bds-rf-bar>.bds-mq-check{height:36px;border:1px solid var(--bds-line);border-radius:8px;padding:0 12px}
.bds-rf-mtog{display:none;margin-left:auto;border:1px solid var(--bds-line);border-radius:8px;overflow:hidden}
.bds365 .bds-rf-mtog button{border:0!important;background:#fff!important;color:var(--bds-text)!important;padding:0 14px!important;height:34px;font-size:12.5px!important;font-weight:600;margin:0!important;border-radius:0!important}
.bds365 .bds-rf-mtog button.active{background:var(--bds-primary)!important;color:#fff!important}

.bds-rf-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(400px,1fr);height:min(80vh,780px);min-height:520px;border:1px solid var(--bds-line);border-radius:var(--bds-r);overflow:hidden;box-shadow:var(--bds-shadow);background:#fff}
.bds-rf-map.bds-mq{border:0;border-radius:0;box-shadow:none;height:100%}
.bds-rf-map .bds-mq-map{height:100%!important;min-height:0}
.bds365 .bds-rf-inview{position:absolute;z-index:500;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:6px;padding:6px 10px;font-size:11.5px;font-weight:600;box-shadow:0 1px 5px rgba(0,0,0,.2);margin:0!important;cursor:pointer}
.bds365 .bds-rf-inview input{margin:0!important}
.bds-rf-list{overflow-y:auto;overflow-x:hidden;border-left:1px solid var(--bds-line);padding:14px 16px 18px;container-type:inline-size;overscroll-behavior:contain}
.bds-rf:fullscreen,.bds-rf.is-full{background:#fff;display:flex;flex-direction:column;padding:10px;margin:0}
.bds-rf.is-full{position:fixed!important;inset:0;z-index:99998}
.bds-rf:fullscreen .bds-rf-body,.bds-rf.is-full .bds-rf-body{flex:1;height:auto;min-height:0}

/* đầu danh sách */
.bds-rf-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}
.bds-rf-title{font-size:22px!important;font-weight:400!important;line-height:1.25!important;margin:0 0 2px!important}
.bds-rf-title:empty{display:none}
.bds-rf-sub{margin:0!important;font-size:13px;color:var(--bds-text)}
.bds365 .bds-rf-sort{border:0!important;background:none!important;color:#2563eb!important;font-weight:600;font-size:13px!important;padding:0 2px!important;height:auto!important;margin:0!important;box-shadow:none!important;width:auto!important;cursor:pointer;appearance:auto}
.bds-rf-views{display:flex;border:1px solid var(--bds-line);border-radius:6px;overflow:hidden;flex:none}
.bds365 .bds-rf-views button{border:0!important;background:#fff!important;color:#2563eb!important;padding:5px 12px!important;font-size:12.5px!important;margin:0!important;border-radius:0!important;font-weight:500}
.bds365 .bds-rf-views button.active{background:#f1f3f7!important;color:var(--bds-text)!important;font-weight:700;box-shadow:inset 0 -2px 0 var(--bds-text)}

/* thẻ căn nổi bật */
.bds-rf-card{margin-bottom:12px}
.bds-fc{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);border:1px solid var(--bds-line);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 10px rgba(16,24,40,.06)}
.bds-fc-img{position:relative;aspect-ratio:4/3;background:#0f172a;overflow:hidden;min-height:190px}
.bds-fc-img>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;cursor:zoom-in}
.bds-fc-noimg{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#94a3b8;background:linear-gradient(135deg,#1e293b,#0f172a);padding-bottom:40px}
.bds-fc-noimg b{font-size:24px;color:#fff;letter-spacing:.5px}
.bds-fc-noimg span{font-size:11.5px}
.bds-fc-rib{position:absolute;z-index:2;top:10px;left:10px;background:var(--c);color:#fff;font-size:10.5px;font-weight:700;text-transform:uppercase;padding:4px 8px;border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.bds-fc-rib:empty{display:none}
.bds365 .bds-fc-nav{position:absolute;z-index:2;top:38%;width:30px!important;height:30px!important;border-radius:50%!important;border:0!important;background:rgba(255,255,255,.85)!important;color:#111!important;font-size:20px!important;line-height:1!important;padding:0 0 3px!important;margin:0!important;display:flex;align-items:center;justify-content:center}
.bds-fc-nav.prev{left:8px}.bds-fc-nav.next{right:8px}
.bds-fc-cnt{position:absolute;z-index:2;top:10px;right:10px;background:rgba(0,0,0,.55);color:#fff;font-size:10.5px;padding:2px 7px;border-radius:10px}
.bds-fc-ov{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:30px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff;display:flex;justify-content:space-between;align-items:flex-end;gap:10px;pointer-events:none}
.bds-fc-pr{min-width:0}
.bds-fc-pr b{display:block;font-size:21px;font-weight:800;line-height:1.15;color:#fff}
.bds-fc-pr span{display:block;font-size:11.5px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bds-fc-ov ul{display:flex;gap:12px;margin:0!important;padding:0!important;list-style:none!important;flex:none}
.bds-fc-ov li{text-align:center;margin:0!important;line-height:1.15}
.bds-fc-ov li b{display:block;font-size:14.5px;font-weight:700;color:#fff}
.bds-fc-ov li span{display:block;font-size:10px;opacity:.85}
.bds-fc-info{padding:10px 12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.bds-fc-who{display:flex;align-items:center;gap:8px}
.bds-fc-who img,.bds-fc-av{width:34px!important;height:34px!important;border-radius:4px;object-fit:cover;flex:none}
.bds-fc-av{background:var(--bds-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.bds-fc-who div{min-width:0;line-height:1.25}
.bds-fc-who small{display:block;font-size:10.5px;color:var(--bds-muted)}
.bds-fc-who b{display:block;font-size:12.5px;color:#2563eb}
.bds-fc-who em{display:block;font-style:normal;font-size:10.5px;color:#c81e1e;font-weight:700;text-transform:uppercase}
.bds-fc-info dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 10px;margin:0!important;font-size:11.5px;flex:1;align-content:start}
.bds-fc-info dt{color:var(--bds-muted);font-weight:400;margin:0!important}
.bds-fc-info dd{margin:0!important;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bds-fc-acts{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.bds365 .bds-fc-ic{width:32px!important;height:32px!important;min-height:0!important;display:inline-flex!important;align-items:center;justify-content:center;border:0!important;background:none!important;color:#3b4252!important;padding:0!important;margin:0!important;border-radius:6px!important;flex:none}
.bds365 .bds-fc-ic:hover{background:#f1f3f7!important}
.bds365 .bds-fc-ic.fav.on{color:#e11d2e!important}
.bds365 .bds-fc-main{flex:1 1 auto;display:inline-flex!important;align-items:center;justify-content:center;height:32px;min-height:0!important;padding:0 12px!important;margin:0!important;border:0!important;border-radius:4px!important;background:#e8590c!important;color:#fff!important;font-size:12.5px!important;font-weight:700;white-space:nowrap;line-height:1!important}
.bds365 .bds-fc-main:hover{filter:brightness(1.08)}

/* bảng */
.bds-rf-tablewrap{overflow-x:auto;margin:0 -2px}
.bds365 .bds-rf-table{width:100%;border-collapse:collapse!important;font-size:12.5px;margin:0!important;border:0!important}
.bds365 .bds-rf-table th{background:#fff!important;color:#2563eb;font-weight:500;text-transform:none;font-size:12.5px;text-align:left;padding:7px 6px!important;border:0!important;border-bottom:1px solid #d9dee8!important;white-space:nowrap;letter-spacing:0}
.bds365 .bds-rf-table th[data-sort]{cursor:pointer;user-select:none}
.bds365 .bds-rf-table th[data-sort]:hover,.bds365 .bds-rf-table th.sorted{color:var(--bds-text);font-weight:700}
.bds365 .bds-rf-table td{padding:7px 6px!important;border:0!important;border-bottom:1px solid #eef0f4!important;white-space:nowrap;color:var(--bds-text);vertical-align:middle;background:#fff;transition:background .12s}
.bds-rf-table tbody tr{cursor:pointer}
.bds365 .bds-rf-table tbody tr:hover td{background:#f5f7fb}
.bds365 .bds-rf-table tbody tr.is-hl td{background:#eaf1ff}
.bds365 .bds-rf-table tbody tr.is-sel td{background:#fff6cc}
.bds-rf-table .c-st{width:26px;padding-right:0!important}
.bds-rf-ico{display:inline-flex;width:20px;height:20px;border-radius:4px;background:var(--c);align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.bds-rf-table .c-code b{font-weight:600}
.bds-rf-table .c-code small{margin-left:6px;font-size:10px;font-weight:700;padding:1px 5px;border-radius:3px;background:#e2e8f0;color:#64748b}
.bds-rf-table .c-code small.lock{background:#fef3c7;color:#b45309}
.bds-rf-table .c-price{font-weight:700;color:#c81e1e}
.bds-rf-table .c-fav{width:30px;text-align:right}
.bds365 .bds-rf-fav{border:0!important;background:none!important;padding:2px!important;margin:0!important;color:#a0a8b8!important;display:inline-flex!important;line-height:1!important;min-height:0!important;box-shadow:none!important}
.bds365 .bds-rf-fav:hover{color:#e11d2e!important}
.bds365 .bds-rf-fav.on{color:#e11d2e!important}

/* lưới ảnh */
.bds-rf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bds-rf-ph{border:1px solid var(--bds-line);border-radius:8px;overflow:hidden;cursor:pointer;background:#fff;transition:box-shadow .15s,border-color .15s}
.bds-rf-ph:hover,.bds-rf-ph.is-hl{box-shadow:0 6px 18px rgba(16,24,40,.12)}
.bds-rf-ph.is-sel{border-color:var(--bds-accent);box-shadow:0 0 0 2px var(--bds-accent)}
.bds-rf-phimg{position:relative;aspect-ratio:4/3;background:#1e293b}
.bds-rf-phimg img{width:100%!important;height:100%!important;object-fit:cover}
.bds-rf-noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#cbd5e1;font-weight:700;font-size:18px;background:linear-gradient(135deg,#334155,#0f172a)}
.bds-rf-tag{position:absolute;top:8px;left:8px;background:var(--c);color:#fff;font-size:9.5px;font-weight:700;text-transform:uppercase;padding:3px 6px;border-radius:3px}
.bds365 .bds-rf-phimg .bds-rf-fav{position:absolute;top:6px;right:6px;width:30px;height:30px;border-radius:50%!important;background:rgba(255,255,255,.92)!important;align-items:center;justify-content:center}
.bds-rf-phprice{position:absolute;left:0;right:0;bottom:0;padding:22px 10px 8px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;font-size:16px;font-weight:800}
.bds-rf-phbody{padding:8px 10px 10px;line-height:1.35}
.bds-rf-phbody b{display:block;font-size:13px}
.bds-rf-phbody span{display:block;font-size:11.5px;color:var(--bds-muted)}
.bds-rf-foot{text-align:center}
.bds365 .bds-rf-unhide{margin:12px 0 0!important;background:none!important;border:0!important;color:#2563eb!important;font-size:12.5px!important;text-decoration:underline!important;padding:0!important}
.bds-rf .bds-empty{padding:30px 12px}
.bds-rf .bds-empty small{font-size:12px}

/* ghim: rê chuột & đang chọn */
.bds-pin-wrap.is-hl .bds-pin{transform:translate(-50%,-100%) scale(1.35);box-shadow:0 0 0 3px rgba(37,99,235,.45),0 2px 8px rgba(0,0,0,.4)}
.bds-pin-wrap.is-sel .bds-pin{transform:translate(-50%,-100%) scale(1.35);border:2px solid #fff;box-shadow:0 0 0 3px var(--bds-primary),0 0 0 6px rgba(227,160,24,.55),0 3px 10px rgba(0,0,0,.45);filter:none;opacity:1}

/* Quỹ căn — bố cục rộng */
.bds-rf-full .bds-rf-list{border:0;padding:0;overflow:visible}
.bds-rf-full .bds-rf-cols{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px;align-items:start}
.bds-rf-full .bds-rf-card{position:sticky;top:calc(var(--bds-sticky) + 70px);margin:0}
.bds-rf-full .bds-rf-card[hidden]{display:none}
.bds-rf-full .bds-fc{grid-template-columns:1fr}
.bds-rf-full .bds-rf-items{border:1px solid var(--bds-line);border-radius:var(--bds-r);padding:4px 12px 8px;min-width:0}
.bds-rf-full .bds-rf-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:8px}
.bds-rf-full .bds-rf-table tbody{counter-reset:none}

@container (max-width:470px){
	.bds-fc{grid-template-columns:1fr}
	.bds-rf-grid{grid-template-columns:1fr 1fr;gap:8px}
}
@media (max-width:1100px){
	.bds-rf-body{grid-template-columns:minmax(0,1fr) 400px}
	.bds-rf-full .bds-rf-cols{grid-template-columns:300px minmax(0,1fr)}
	.bds-rf-full .bds-rf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:899px){
	.bds-rf-mtog{display:flex}
	.bds-rf-search{flex:1 1 100%}
	.bds-rf-body{display:block;height:auto;min-height:0}
	.bds-rf[data-m="map"] .bds-rf-list{display:none}
	.bds-rf[data-m="list"] .bds-rf-map{display:none}
	.bds-rf-map.bds-mq{height:66vh;min-height:380px}
	.bds-rf-list{border-left:0;overflow:visible;padding:12px}
	.bds-rf-inview{display:none!important}
	.bds-rf-full .bds-rf-cols{grid-template-columns:1fr}
	.bds-rf-full .bds-rf-card{position:static}
	.bds-rf-full .bds-rf-items{padding:4px 8px 8px}
	.bds-rf-title{font-size:18px!important}
	.bds365 .bds-rf-bar select{flex:1 1 140px;max-width:none}
}
@media (max-width:520px){
	.bds-fc-pr b{font-size:18px}
	.bds-fc-ov ul{gap:8px}
	.bds-rf-full .bds-rf-grid{grid-template-columns:1fr 1fr}
	.bds-rf-head{flex-wrap:wrap}
}

/* v1.2 — tinh chỉnh */
.bds-rf-items{container-type:inline-size;container-name:rfi;min-width:0}
.bds365 .bds-rf-table td.c-price{color:#c81e1e;font-weight:700}
.bds365 .bds-rf-table td.c-price .bds-muted{font-weight:500;color:var(--bds-muted)}
.bds-fc-info dd{white-space:normal;overflow:visible}
.bds-fc-acts .bds-fc-main{order:9;flex:1 1 100%!important;height:36px!important;margin-top:2px!important}
.bds365 .bds-rf-sort{background-image:none!important;padding-right:2px!important;max-width:170px}
.bds365 .bds-rf-inview input,.bds365 .bds-mq-check input{width:14px!important;height:14px!important;min-width:0!important;flex:none}
.bds365 .bds-rf-inview input::before,.bds365 .bds-mq-check input::before{transform:scale(.7)}
.bds-panel[data-panel="mb-quy-can"] .bds-sec-row,.bds-panel[data-panel="quy-can"] .bds-sec-row{align-items:center}
.bds-panel[data-panel="mb-quy-can"] .bds-legend,.bds-panel[data-panel="quy-can"] .bds-legend{margin:0}
@container rfi (max-width:780px){
	.bds-rf-table .c-xd,.bds-rf-table .c-dongia{display:none}
}
@container rfi (max-width:560px){
	.bds-rf-table .c-zone,.bds-rf-table .c-floor{display:none}
}
@container rfi (max-width:400px){
	.bds-rf-table .c-huong{display:none}
	.bds365 .bds-rf-table th,.bds365 .bds-rf-table td{padding:7px 4px!important}
}
@media (max-width:899px){
	.bds-rf-map.bds-mq{height:58vh;min-height:340px}
}

/* v1.2.3 */
.bds365 .bds-mq-tts input,.bds365 .bds-mq-tts input[type=checkbox]{display:none!important}
.bds-mq .leaflet-bar a.bds-mq-fit{font-size:17px!important;font-weight:700}
