:root{
  --bg:#f6f7f4; --card:#fff; --ink:#14201a; --muted:#5d6b63; --line:#e3e7e1;
  --brand:#0f5d3a; --brand-2:#147a4c; --brand-soft:#e7f3ec; --accent:#e8a33d;
  --free:#ffffff; --free-line:#cfd8d2; --hold:#f6c945; --booked:#e2483d; --locked:#f08a2c; --qlock:#1f8a55;
  --radius:16px; --shadow:0 1px 2px rgba(16,40,28,.06),0 6px 20px rgba(16,40,28,.06);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 "Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding-bottom:calc(64px + env(safe-area-inset-bottom))}
@media (min-width:900px){body{padding-bottom:0}}
a{color:var(--brand-2)}
img{max-width:100%;display:block}
button,input,select{font:inherit;color:inherit}
.wrap{max-width:1240px;margin:0 auto;padding:0 16px}
main{min-height:60vh;outline:none}
h1,h2,h3{line-height:1.25;margin:0}

/* header */
.top{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.top-in{display:flex;align-items:center;gap:20px;height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);min-width:0}
.brand-mark{color:var(--brand);display:flex}
.brand-txt{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.brand-txt b{font-size:16px;font-weight:800;color:var(--brand);white-space:nowrap}
.brand-txt small{font-size:12px;color:var(--muted)}
.brand-txt em{font-style:normal;color:var(--accent);font-weight:700}
.nav{display:none;gap:4px;margin-left:auto}
.nav a{padding:8px 14px;border-radius:999px;text-decoration:none;color:var(--ink);font-weight:600;font-size:14px}
.nav a:hover{background:var(--brand-soft)}
.nav a.on{background:var(--brand);color:#fff}
.top-cta{display:none;gap:8px}
@media (min-width:900px){.nav,.top-cta{display:flex}}
.live{background:var(--brand-soft);border-top:1px solid #d5eadc;font-size:13px;color:var(--brand)}
.live-in{display:flex;align-items:center;gap:8px;min-height:30px;padding-top:4px;padding-bottom:4px}
.dot{width:8px;height:8px;border-radius:50%;background:#22a35a;box-shadow:0 0 0 0 rgba(34,163,90,.6);animation:pulse 2s infinite;flex:none}
.dot.warn{background:var(--accent);animation:none}
@keyframes pulse{70%{box-shadow:0 0 0 8px rgba(34,163,90,0)}100%{box-shadow:0 0 0 0 rgba(34,163,90,0)}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:600;font-size:14px;text-decoration:none;color:var(--ink);cursor:pointer;white-space:nowrap}
.btn:hover{border-color:#bfcabf}
.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-2)}
.btn-ghost{color:var(--brand);border-color:#b9dcc6;background:var(--brand-soft)}
.btn-sm{height:34px;padding:0 12px;font-size:13px}
.btn svg{width:16px;height:16px;fill:currentColor}

/* search panel */
.hero{padding:22px 0 8px}
.hero h1{font-size:24px;font-weight:800;letter-spacing:-.01em}
.hero p{margin:4px 0 0;color:var(--muted)}
@media (min-width:900px){.hero h1{font-size:30px}}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;margin:14px 0}
.search-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
@media (min-width:760px){.search-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto}}
.field input[type=date]{min-width:0;-webkit-appearance:none;appearance:none}
.field{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:12px;padding:8px 12px;background:#fff}
.field:focus-within{border-color:var(--brand-2);box-shadow:0 0 0 3px var(--brand-soft)}
.field label{font-size:12px;font-weight:600;color:var(--muted)}
.field input,.field select{border:0;outline:0;background:transparent;padding:0;font-size:15px;min-width:0;width:100%}
.dates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.filters,.panel,.toolbar{min-width:0;max-width:100%}
main{overflow-x:clip}
@media (min-width:760px){.dates{display:contents}}
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.chip.on{background:var(--brand);border-color:var(--brand);color:#fff}
.filters{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.filter-label{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:6px 0 12px}
.toolbar .count{font-weight:700}
.toolbar .sp{flex:1}
.switch{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;cursor:pointer;user-select:none}
.switch input{width:38px;height:22px;appearance:none;background:#cfd6d0;border-radius:999px;position:relative;cursor:pointer;transition:.2s;margin:0}
.switch input::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}
.switch input:checked{background:var(--brand-2)}
.switch input:checked::after{left:19px}
select.plain{height:36px;border:1px solid var(--line);border-radius:10px;padding:0 10px;background:#fff}

/* legend */
.legend{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted)}
.legend span{display:inline-flex;align-items:center;gap:6px}
.sw{width:14px;height:14px;border-radius:4px;display:inline-block;border:1px solid transparent}
.s-free{background:var(--free)!important;border-color:var(--free-line)}
.s-hold{background:var(--hold)!important}
.s-booked{background:var(--booked)!important}
.s-locked{background:var(--locked)!important}
.s-qua-lock{background:var(--qlock)!important}
.s-lock{background:repeating-linear-gradient(45deg,#e4e8e5 0 4px,#d3d9d5 4px 8px)!important;color:#7a857f!important;cursor:pointer}
.lock-tile{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;margin:0 0 14px;padding:14px 16px;border:1.5px dashed #9fb3a8;border-radius:14px;background:repeating-linear-gradient(45deg,#f1f4f2 0 8px,#e8ede9 8px 16px);color:#1d2b24;font:inherit;text-align:left;cursor:pointer}
.lock-tile .lt-ic{font-size:26px}.lock-tile b{display:block;font-size:16px}.lock-tile small{display:block;color:#5b6b63;margin-top:2px}
.lock-tile .lt-go{margin-left:auto;white-space:nowrap;background:#1f8a55;color:#fff;font-weight:700;font-size:13px;padding:8px 12px;border-radius:999px}
/* thẻ căn riêng đang khoá: ảnh vẽ mờ chung, chỉ có khu + PN */
.lock-tile .lt-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#1f2b25;color:#fff;flex:none}
.lock-tile{transition:transform .15s,box-shadow .15s}.lock-tile:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(31,43,37,.12)}
.lk-head{display:flex;align-items:center;gap:10px;margin:26px 0 12px;color:#4d5c55;font-size:14px}
.lk-head::before,.lk-head::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#c9d3cd)}.lk-head::after{background:linear-gradient(90deg,#c9d3cd,transparent)}
.lk-head span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.lk-head svg{width:16px;height:16px;color:#1f2b25}.lk-head b{color:#1d2b24}
.card.lk{cursor:pointer;position:relative;transition:transform .18s,box-shadow .18s}
.card.lk:hover,.card.lk:focus-visible{transform:translateY(-2px);box-shadow:0 10px 26px rgba(31,43,37,.14);outline:none}
.pill.lock::before,.state.lock::before{display:none!important}
.card-img.lk-img,.mc-img.lk-img{background:linear-gradient(160deg,#f3f8f5 0%,#e9f3ed 100%)!important}
.card-img.lk-img{border-bottom:1px solid var(--line)}
.mc-img.lk-img{border:1px solid #e1ebe5;box-sizing:border-box}
.lk-art{position:absolute;left:50%;top:50%;width:62%!important;height:auto!important;max-width:none!important;transform:translate(-50%,-50%);color:var(--brand);opacity:.13}
.lk-badge{position:absolute;left:50%;top:54%;transform:translate(-50%,-50%);z-index:2;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;color:var(--brand);border:1px solid #d5e6dc;box-shadow:0 4px 14px rgba(15,93,58,.10);transition:transform .2s,background .2s,color .2s}
.card.lk:hover .lk-badge{background:var(--brand);color:#fff;border-color:var(--brand)}
.lk .state.lock,.lk .pill.lock{background:#fff!important;color:var(--brand)!important;border:1px solid #d5e6dc;box-shadow:none}
.lk .badge{background:#fff;color:var(--brand);border:1px solid #d5e6dc}
.lk-strip .s-lock{background:#f3f6f4!important;color:#a3aea8!important;border-color:#e6ebe8!important}
.lk-badge svg{width:26px;height:26px}
.card.lk:hover .lk-badge{transform:translate(-50%,-50%) scale(1.08)}
.card.lk .badges,.card.lk .state{z-index:2}
.card.lk .card-title{color:#1d2b24}
.lk-bars{display:flex;flex-direction:column;gap:6px}
.lk-bars i{display:block;height:10px;border-radius:6px;background:linear-gradient(90deg,#e6ebe8,#f1f4f2,#e6ebe8);background-size:200% 100%;animation:lkShine 2.4s linear infinite}
@keyframes lkShine{to{background-position:-200% 0}}
.lk-strip b{opacity:.8}
.lk-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--brand-soft)!important;color:var(--brand)!important;border-color:#d5e6dc!important}
.lk-btn svg{width:15px;height:15px}
.card.lk:hover .lk-btn{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important}
@media (max-width:640px){.lk-head{font-size:13px}.lk-head span{white-space:normal;flex-wrap:wrap;justify-content:center;text-align:center}.lk-head::before,.lk-head::after{min-width:16px}}
.lk-mlist{display:flex;flex-direction:column;gap:10px}
.mc.lk{cursor:pointer}
.mc.lk .mc-img{position:relative}
.mc.lk .lk-badge{width:40px;height:40px}.mc.lk .lk-badge svg{width:20px;height:20px}
.mc.lk .lk-bars{margin:3px 0 2px}.mc.lk .lk-bars i{height:8px}
.mc.lk .pill{align-self:flex-start}
@media (prefers-reduced-motion:reduce){.lk-bars i{animation:none}}
.state.lock,.pill.lock{background:#2b3a32!important;color:#fff!important;cursor:pointer}

/* cards */
.grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:640px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.grid{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card-img{position:relative;aspect-ratio:16/10;background:#dfe7e1;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .card-img img{transform:scale(1.03)}
.badges{position:absolute;top:10px;left:10px;display:flex;gap:6px}
.badge{background:rgba(15,93,58,.92);color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.badge.hot{background:var(--accent)}
.state{position:absolute;right:10px;bottom:10px;font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px;background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.state.ok{background:#1f9d57;color:#fff}
.state.no{background:var(--booked);color:#fff}
.state.wait{background:var(--hold);color:#3b2f00}
.state.part{background:var(--locked);color:#fff}
.card-body{padding:14px;display:flex;flex-direction:column;gap:10px;flex:1}
.card-title{font-size:16px;font-weight:800;text-decoration:none;color:var(--ink)}
.card-title:hover{color:var(--brand)}
.meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;color:var(--muted)}
.prices{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;font-size:13px}
.prices div{background:#f4f7f3;border-radius:10px;padding:6px 10px;display:flex;flex-direction:column}
.prices small{color:var(--muted);font-size:11px;font-weight:600}
.prices b{font-size:14px}
.strip{display:grid;grid-template-columns:repeat(14,1fr);gap:3px}
.strip i{display:flex;flex-direction:column;align-items:center;font-style:normal;font-size:10px;color:var(--muted);gap:2px}
.strip i b{width:100%;height:20px;border-radius:5px;border:1px solid transparent;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--ink)}
.strip i.sel b{outline:2px solid var(--brand);outline-offset:1px}
.strip .s-booked,.strip .s-locked,.strip .s-qua-lock{color:#fff}
.card-actions{display:flex;gap:8px;margin-top:auto;flex-wrap:wrap}
.card-actions .btn{flex:1}
.fresh{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}
.fresh .dot{width:6px;height:6px}
.empty{padding:40px 16px;text-align:center;color:var(--muted)}

/* detail */
.back{display:inline-flex;align-items:center;gap:6px;margin:16px 0 10px;font-weight:600;text-decoration:none}
.detail{display:grid;grid-template-columns:1fr;gap:20px;margin-bottom:30px}
@media (min-width:980px){.detail{grid-template-columns:1.35fr 1fr;align-items:start}}
.detail-img{border-radius:var(--radius);overflow:hidden;aspect-ratio:16/10;background:#dfe7e1}
.detail-img img{width:100%;height:100%;object-fit:cover}
.detail h1{font-size:24px;font-weight:800;margin:14px 0 6px}
.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}
@media (min-width:640px){.info-grid{grid-template-columns:repeat(4,1fr)}}
.info-grid div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.info-grid small{display:block;color:var(--muted);font-size:12px}
.info-grid b{font-size:15px}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{background:var(--brand-soft);color:var(--brand);font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px}
.note{white-space:pre-line;color:#2c3a32;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.side{position:sticky;top:110px;display:flex;flex-direction:column;gap:14px}
.box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow)}
.box h3{font-size:15px;font-weight:800;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cal-head b{font-size:15px}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.cal .wd{font-size:11px;font-weight:700;color:var(--muted);padding:2px 0}
.cal .d{aspect-ratio:1;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;border:1px solid var(--free-line);background:#fff}
.cal .d.s-booked,.cal .d.s-locked,.cal .d.s-qua-lock{color:#fff;border-color:transparent}
.cal .d.s-hold{border-color:transparent}
.cal .d.past{opacity:.35}
.cal .d.today{box-shadow:0 0 0 2px var(--brand)}
.cal .d.sel{outline:2px solid var(--brand);outline-offset:1px}
.icon-btn{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:16px}

/* month grid (lịch tổng) */
.mg-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);max-height:calc(100vh - 230px)}
table.mg{border-collapse:separate;border-spacing:0;font-size:12px;min-width:100%}
.mg th,.mg td{border-bottom:1px solid #eef1ed;border-right:1px solid #eef1ed;padding:0;text-align:center}
.mg thead th{position:sticky;top:0;background:#fbfcfa;z-index:2;font-weight:700;padding:6px 0;min-width:30px}
.mg thead th.we{color:var(--booked)}
.mg thead th small{display:block;font-weight:500;color:var(--muted);font-size:10px}
.mg th.vn{position:sticky;left:0;z-index:1;background:#fff;text-align:left;padding:6px 10px;min-width:170px;max-width:190px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mg thead th.vn{z-index:3;background:#fbfcfa}
.mg th.vn a{color:var(--ink);text-decoration:none}
.mg th.vn small{display:block;color:var(--muted);font-weight:500;font-size:11px}
.mg td.c{height:34px;cursor:pointer}
.mg td.c.s-booked,.mg td.c.s-hold,.mg td.c.s-locked,.mg td.c.s-qua-lock{border-right-color:rgba(255,255,255,.6)}
.mg td.past{opacity:.35}
.mg tr.region th{background:var(--brand-soft);color:var(--brand);text-align:left;padding:6px 10px;position:sticky;left:0}

/* content pages */
.page-hero{border-radius:var(--radius);overflow:hidden;position:relative;margin:16px 0;min-height:260px;display:flex;align-items:flex-end;background:#163;}
.page-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.page-hero div{position:relative;color:#fff;padding:24px}
.page-hero h1{font-size:30px;font-weight:800}
.section{margin:28px 0}
.section h2{font-size:22px;font-weight:800;margin-bottom:12px}
.cols{display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:760px){.cols{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.cols.c4{grid-template-columns:repeat(4,1fr)}}
.timeline{display:grid;gap:10px}
.timeline div{display:grid;grid-template-columns:70px 1fr;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}
.timeline b{color:var(--brand);font-size:18px}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media (min-width:760px){.stats{grid-template-columns:repeat(4,1fr)}}
.stats div{background:var(--brand);color:#fff;border-radius:14px;padding:16px;text-align:center}
.stats b{font-size:28px;display:block}
.thumbs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
@media (min-width:760px){.thumbs{grid-template-columns:repeat(4,1fr)}}
.thumbs img{border-radius:12px;aspect-ratio:4/3;object-fit:cover;width:100%}
.group{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow)}
.group .gi{width:48px;height:48px;border-radius:12px;background:#1877f2;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px;flex:none}
.group b{display:block}
.group small{color:var(--muted)}

/* footer, bottom nav, toast */
.foot{background:#0d2a1d;color:#cfe0d5;margin-top:40px;padding:30px 0 10px;font-size:14px}
.foot a{color:#fff}
.foot-in{display:grid;grid-template-columns:1fr;gap:20px}
@media (min-width:760px){.foot-in{grid-template-columns:2fr 1.4fr 1fr}}
.foot b{color:#fff}
.foot-copy{border-top:1px solid rgba(255,255,255,.1);margin-top:20px;padding-top:12px;font-size:12px;opacity:.7}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0;font-size:11px;font-weight:600;color:var(--muted);text-decoration:none}
.bottom-nav svg{width:22px;height:22px;fill:currentColor}
.bottom-nav a.on{color:var(--brand)}
@media (min-width:900px){.bottom-nav{display:none}}
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(20px);background:#14201a;color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:60;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.skeleton{background:linear-gradient(90deg,#eef1ed 25%,#f7f9f6 50%,#eef1ed 75%);background-size:200% 100%;animation:sk 1.2s infinite;border-radius:var(--radius);height:340px}
@keyframes sk{to{background-position:-200% 0}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ảnh tối ưu, bộ ảnh, bảng giá theo gói */
picture{display:contents}
.detail-img{position:relative;cursor:zoom-in}
.ph-n{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.62);color:#fff;border-radius:999px;padding:5px 12px;font-size:13px;font-weight:600}
.gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px;margin:10px 0 4px}
.gal-i{padding:0;border:0;border-radius:10px;overflow:hidden;aspect-ratio:1;background:#e5eae4;cursor:zoom-in}
.gal-i img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.gal-i:hover img{transform:scale(1.05)}
.detail .gal{grid-template-columns:repeat(8,1fr);max-height:184px;overflow:hidden}
.lb{position:fixed;inset:0;z-index:999;background:rgba(10,14,12,.94);display:flex;align-items:center;justify-content:center}
.lb[hidden]{display:none}
.lb-img{max-width:100vw;max-height:88vh;display:flex}
.lb-img img{max-width:100vw;max-height:88vh;width:auto;height:auto;object-fit:contain}
.lb-cap{position:absolute;left:0;right:0;bottom:12px;text-align:center;color:#fff;font-size:14px;opacity:.9}
.lb-x,.lb-n{position:absolute;background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:999px;width:44px;height:44px;font-size:22px;cursor:pointer}
.lb-x{top:12px;right:12px}.lb-n{top:50%;transform:translateY(-50%)}.lb-n.l{left:10px}.lb-n.r{right:10px}
.pkg{overflow-x:auto}
.pkg table{width:100%;border-collapse:collapse;font-size:13px}
.pkg th{background:#0f5d3a;color:#fff;font-weight:600;padding:7px 6px;text-align:center}
.pkg th:first-child{text-align:left;border-radius:10px 0 0 0}.pkg th:last-child{border-radius:0 10px 0 0}
.pkg td{padding:8px 6px;border-bottom:1px solid #e5eae4;text-align:center;font-weight:700;white-space:nowrap}
.pkg td:first-child{text-align:left;font-weight:400;white-space:normal}
.pkg td small{display:block;color:var(--muted);font-size:11px}
.extra h4{margin:16px 0 8px;font-size:15px}
.extra .ci{margin:14px 0 0;font-size:14px}
.fees{margin:0;padding-left:18px;font-size:14px;line-height:1.55}
.fees li{margin:2px 0}

/* ===== bản mẫu 20/11: thanh đăng nhập CTV + thẻ gọn trên máy tính ===== */
.loginbar{position:fixed;z-index:900;right:20px;bottom:20px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;padding:8px 13px 8px 11px;background:var(--brand);color:#fff;font:700 13px/1 inherit;font-family:inherit;box-shadow:0 4px 14px rgba(15,93,58,.35);cursor:pointer;max-width:calc(100vw - 24px);white-space:nowrap}
.loginbar small{font-weight:600;font-size:11.5px;background:rgba(255,255,255,.2);border-radius:999px;padding:2px 7px}
.loginbar:hover{filter:brightness(1.08)}
.card .mc-p{display:flex;flex-wrap:wrap;gap:2px 16px;margin:4px 0 10px;font-size:14px}
.card .mc-p b{font-size:17px;color:var(--brand)}
.card .mc-p small{color:var(--muted);margin-left:5px}
.card-title{font-size:20px;font-weight:800}

/* ===== bản máy tính: GIỮ khung ban đầu, chỉ bo góc + thu nhỏ cho tinh tế (chị chốt 20/11) ===== */
body:not(.m) .card{border:0;border-radius:18px;box-shadow:0 1px 2px rgba(16,40,30,.05),0 10px 26px rgba(16,40,30,.06)}
body:not(.m) .card-img{aspect-ratio:16/9}
body:not(.m) .card-body{padding:12px 14px 14px;gap:8px}
body:not(.m) .card-title{font-size:15px;font-weight:700;letter-spacing:.01em}
body:not(.m) .meta{font-size:12px;gap:2px 10px}
body:not(.m) .badge{font-size:11px;padding:3px 9px}
body:not(.m) .state{font-size:11px;padding:4px 9px}
body:not(.m) .prices{font-size:12px;gap:5px}
body:not(.m) .prices div{padding:5px 9px;border-radius:9px;background:#f4f7f4}
body:not(.m) .prices small{font-size:10.5px}
body:not(.m) .prices b{font-size:13px}
body:not(.m) .strip{gap:2px}
body:not(.m) .strip i{font-size:9px}
body:not(.m) .strip i b{height:17px;font-size:9.5px;border-radius:5px;border:0;background:#f1f4f1}
body:not(.m) .strip .s-booked,body:not(.m) .strip .s-hold,body:not(.m) .strip .s-locked,body:not(.m) .strip .s-qua-lock{color:#fff}
body:not(.m) .strip i.sel b{outline:0;box-shadow:inset 0 0 0 1.5px var(--brand)}
body:not(.m) .card-actions .btn{height:32px;border-radius:10px;font-size:12.5px}
body:not(.m) .grid{gap:16px}

/* ô tìm kiếm + chọn ngày: nhỏ gọn lại */
body:not(.m) .hero{padding:14px 0 2px}
body:not(.m) .hero h1{font-size:22px}
body:not(.m) .hero p{font-size:13.5px;margin-top:2px}
body:not(.m) .panel{padding:10px 12px;margin:10px 0;border:0;border-radius:16px;box-shadow:0 1px 2px rgba(16,40,30,.05),0 8px 22px rgba(16,40,30,.05)}
body:not(.m) .search-row{gap:8px}
body:not(.m) .field{padding:5px 10px;border-radius:10px;gap:1px}
body:not(.m) .field label{font-size:10.5px}
body:not(.m) .field input,body:not(.m) .field select{font-size:13.5px}
body:not(.m) .search-row .btn{min-height:40px!important;height:40px!important;border-radius:10px!important;font-size:13.5px;padding:0 18px}
body:not(.m) .filters .chip{font-size:12.5px;padding:5px 12px}

/* ô "căn riêng đang khoá + đăng nhập": nhỏ gọn 1 hàng mảnh */
body:not(.m) .lock-tile{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 12px;padding:6px 10px 6px 8px;min-height:0;border:0;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(16,40,30,.05),0 4px 14px rgba(16,40,30,.05);text-align:left;font-family:inherit;cursor:pointer}
body:not(.m) .lock-tile .lt-ic{flex:none;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#1f2b25;color:#fff}
body:not(.m) .lock-tile .lt-ic svg{width:14px;height:14px}
body:not(.m) .lock-tile>span:nth-child(2){flex:1;min-width:0;display:flex;align-items:baseline;gap:10px;line-height:1.2}
body:not(.m) .lock-tile b{font-size:13px;font-weight:700;white-space:nowrap}
body:not(.m) .lock-tile small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.m) .lock-tile .lt-go{flex:none;padding:5px 12px;font-size:12px;font-weight:700;border-radius:999px;background:var(--brand);color:#fff}

/* lần 16: trang căn (máy tính) — cột phải ghim, lịch nhỏ gọn, vừa một khung hình */
@media (min-width:980px){
body:not(.m) .detail{grid-template-columns:minmax(0,1.5fr) minmax(300px,380px);gap:24px;align-items:start}
body:not(.m) .side{position:sticky;top:76px;gap:10px;align-self:start;max-height:calc(100vh - 88px);overflow:hidden}
body:not(.m) .side .box{padding:10px 12px;border-radius:16px}
body:not(.m) .side .cal-head{margin-bottom:4px}
body:not(.m) .side .cal-head b{font-size:13px}
body:not(.m) .side .icon-btn{width:28px;height:28px;font-size:15px}
body:not(.m) .side .cal{gap:2px}
body:not(.m) .side .cal .wd{font-size:10px;padding:0}
body:not(.m) .side .cal .d{aspect-ratio:auto;height:28px;font-size:11.5px;border-radius:7px}
body:not(.m) .side .legend,body:not(.m) .side .lg{font-size:11px}
body:not(.m) .side .btn{padding:8px 12px;font-size:13px;border-radius:12px}
}

/* lần 17: phần giới thiệu villa trình bày theo mục */
.nt{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.nt-intro{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.nt-intro p{margin:0;font-size:14px;line-height:1.55;color:#2c3a32}
.nt-intro p+p{margin-top:6px}
.nt-s{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.nt-s h4{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--brand)}
.nt-s h4 i{font-style:normal;font-size:15px;width:26px;height:26px;border-radius:8px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center}
.nt-s ul{list-style:none;margin:0;padding:0}
.nt-s li{position:relative;padding:5px 0 5px 16px;font-size:13.5px;line-height:1.5;color:#2c3a32;border-top:1px dashed #e6ece8}
.nt-s li:first-child{border-top:0}
.nt-s li::before{content:"";position:absolute;left:3px;top:13px;width:5px;height:5px;border-radius:50%;background:var(--brand);opacity:.7}
.nt-s p{margin:6px 0 0;font-size:13.5px;line-height:1.5;color:#2c3a32}
.nt-sub{margin:8px 0 2px;font-size:12.5px;font-weight:700;color:#1f2d25}
.nt-k{color:#4a5b52}
.nt-k::after{content:": "}
.nt-v{font-weight:700;color:#15231b}
@media (min-width:980px){body:not(.m) .nt{display:grid;grid-template-columns:1fr 1fr;gap:10px}body:not(.m) .nt-intro{grid-column:1/-1}}

body:not(.m) .nt{align-items:start}
.nt-intro p b{color:var(--brand);font-weight:800}

/* lần 18: bảng giá đồng nhất mọi căn */
.pkg{overflow:visible;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.pkg table{font-size:12.5px;font-variant-numeric:tabular-nums;table-layout:fixed;width:100%}
.pkg th{font-size:11px;font-weight:700;letter-spacing:.02em;padding:7px 4px;border-radius:0!important}
.pkg th:first-child{width:27%}
.pkg td{padding:8px 4px;font-weight:700;color:#15231b;border-bottom:1px solid #edf1ed}
.pkg td:first-child{padding-left:10px;font-size:12.5px}
.pkg td:first-child b{font-weight:700}
.pkg td small{font-size:10.5px;font-weight:500;color:var(--muted);margin-top:1px}
.pkg td small.pk-n{display:inline;margin-left:2px;font-size:9.5px}
.pkg tbody tr:last-child td{border-bottom:0}
.pkg .pk-mu{font-weight:500;font-size:11px;color:var(--muted)}
.pkg .pk-hol td{background:#f6f9f6}
.pk-cap{font-size:10.5px;color:var(--muted);padding:5px 10px 7px;border-top:1px solid #edf1ed;background:#fafcfa}
@media (max-width:420px){.pkg table{font-size:11.5px}.pkg td{padding:7px 2px}.pkg th:first-child{width:25%}}

@media (max-width:420px){.pkg table{font-size:11px}.pkg td{padding:7px 1px}.pkg th{padding:7px 1px;font-size:10.5px}.pkg th:first-child{width:24%}.pkg td:first-child{padding-left:8px;font-size:11.5px}}

.pkg .pk-raw{display:block;white-space:normal;font-size:9.5px;font-weight:500;line-height:1.25;color:var(--muted);word-break:break-all}
.pkg td{font-size:12.5px}
@media (max-width:420px){.pkg td{font-size:11.5px}.pkg td:first-child{font-size:11.5px}}

/* lần 19: giá ghi đủ 6.000.000đ — điện thoại xếp mỗi gói thành thẻ 2x2 */
.pkg td{font-size:12.5px}
@media (max-width:640px){
.pkg table,.pkg tbody{display:block;width:100%}
.pkg thead{display:none}
.pkg tr{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid #edf1ed;padding:6px 0}
.pkg tbody tr:last-child{border-bottom:0}
.pkg td{display:flex;flex-direction:row!important;justify-content:space-between;align-items:baseline;gap:6px;padding:5px 12px!important;border:0!important;text-align:left;font-size:13px!important;white-space:nowrap}
.pkg td:first-child{grid-column:1/-1;flex-direction:row;justify-content:flex-start;align-items:baseline;gap:8px;padding:4px 12px 6px!important;font-size:13.5px!important}
.pkg td:first-child small{display:inline;margin:0}
.pkg td:not(:first-child)::before{content:attr(data-l);font-size:10.5px;font-weight:600;color:var(--muted)}
.pkg .pk-hol td[colspan]{grid-column:1/-1}
.pkg .pk-raw{text-align:right;font-size:10.5px}
}

/* lần 20: T6/CN gộp 1 ô khi bằng nhau */
@media (max-width:640px){.pkg.pk3 tr{grid-template-columns:1fr 1fr}.pkg.pk3 td:nth-child(4){grid-column:1/-1}}

@media (max-width:640px){.pkg.pk3 tr{grid-template-columns:repeat(3,1fr)}.pkg.pk3 td:nth-child(4){grid-column:auto}.pkg.pk3 td:not(:first-child){flex-direction:column!important;align-items:flex-start!important;gap:2px;padding:4px 10px!important;font-size:13px!important}.pkg.pk3 .pk-hol td[colspan]{grid-column:1/-1;flex-direction:row!important}}

/* lần 21: tiện ích cơ bản = hàng chip nhỏ gọn ở đầu phần mô tả */
.nt-chips{display:flex;flex-wrap:wrap;gap:5px}
.nt-chips span{background:var(--brand-soft);color:var(--brand);font-size:11.5px;font-weight:600;line-height:1;padding:5px 10px;border-radius:999px}
@media (min-width:980px){body:not(.m) .nt-chips{grid-column:1/-1}}

/* lần 22: phù hiệu View hồ cạnh mã */
.lake{display:inline-flex;align-items:center;gap:3px;margin-left:6px;vertical-align:middle;padding:2px 7px 2px 5px;border-radius:999px;background:#e6f3f8;color:#0b6b8a;font-size:10.5px;font-weight:700;line-height:1.2;white-space:nowrap}
.lake svg{flex:none}
.m .mc-t{display:inline-block;max-width:100%}
h1 .lake{font-size:11.5px;padding:3px 9px 3px 7px;margin-left:10px}

.m .mc-b .lake{align-self:flex-start;margin:3px 0 0}
body:not(.m) .card-body .lake{margin:0 0 0 6px;font-size:10.5px}

/* lần 23: phù hiệu View hồ chỉ còn chấm tròn nhỏ cạnh mã */
.lake,h1 .lake,.m .mc-b .lake,body:not(.m) .card-body .lake{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;padding:0;margin:0 0 0 6px;border-radius:50%;background:#dff0f6;color:#0b6b8a;vertical-align:middle;font-size:0;align-self:auto}
h1 .lake{width:20px;height:20px;margin-left:8px}
.lake svg{width:11px;height:11px}
h1 .lake svg{width:13px;height:13px}

/* lần 24: thanh tìm kiếm ghim, bộ lọc thu/mở, thanh dưới nhỏ lại (máy tính) */
body:not(.m) .sbar{position:sticky;top:70px;z-index:25;margin:8px 0 6px;padding:8px 12px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
body:not(.m) .filt{margin:0 0 8px;padding:8px 12px}
body:not(.m) .filt .filters{margin-top:0;gap:6px}
.fold{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;background:none;border:0;padding:4px 2px;font:inherit;font-size:12.5px;font-weight:700;color:var(--brand);cursor:pointer}
.fold em{font-style:normal;font-size:11px;font-weight:700;background:var(--brand);color:#fff;border-radius:999px;padding:1px 8px}
.fold em:empty{display:none}
.fold i{font-style:normal;font-size:12px;transition:transform .2s}
.fold.open i{transform:rotate(180deg)}
.fold-body{display:flex;flex-direction:column;gap:6px}
.fold-body[hidden]{display:none}
body:not(.m) .toolbar{margin:2px 0 6px;gap:8px}
body:not(.m) .toolbar .count{font-size:13px;font-weight:700}
body:not(.m) .switch{font-size:12px;gap:6px}
body:not(.m) .switch input{width:30px;height:18px}
body:not(.m) .switch input::after{width:12px;height:12px;top:3px;left:3px}
body:not(.m) .switch input:checked::after{left:15px}
body:not(.m) .toolbar .plain{height:28px;min-height:0;padding:0 8px;font-size:12px;border-radius:9px}
body:not(.m) .legend{font-size:11px;gap:10px}
body:not(.m) .legend+*{margin-top:0}

/* lần 25: bộ lọc PN + tiện ích nằm trên MỘT hàng ngang (cuộn ngang) */
.fold-body{flex-direction:row!important;flex-wrap:nowrap;align-items:center;gap:8px!important;overflow-x:auto;scrollbar-width:thin;padding:2px 0 6px}
.fold-body[hidden]{display:none!important}
.fold-body .chips{flex:none;overflow:visible;padding:0}
.fold-body #fBed{padding-right:10px;margin-right:2px;border-right:1px solid var(--line)}

.fold-body{scrollbar-width:none}.fold-body::-webkit-scrollbar{display:none}

/* lần 26: nút 'Số phòng ngủ & tiện ích' + các ô nằm chung MỘT hàng */
.fold-row{display:flex;align-items:center;gap:10px;min-width:0}
.fold-row .fold{flex:none;white-space:nowrap;padding:5px 12px 5px 10px;border:1px solid var(--line);border-radius:999px;background:#fff}
.fold-row .fold-body{flex:1;min-width:0}
.fold-row .fold-body #fBed{border-right:0;padding-right:0;margin-right:0}

body:not(.m) .card-body .card-title{display:inline-block;max-width:calc(100% - 30px);vertical-align:middle}

/* lap 28: bo loc phong ngu + tien ich xuong dong de thay du, khong phai keo ngang */
.fold-row{align-items:flex-start}
.fold-row .fold{margin-top:1px}
.fold-body{display:flex!important;flex-wrap:wrap!important;align-content:flex-start;overflow:hidden!important;padding:0!important;gap:6px!important;cursor:auto;-webkit-mask-image:none;mask-image:none;max-height:34px}
.fold-row:has(.fold.open) .fold-body{max-height:none}
.fold-body .chips{display:contents!important}
.fold-body .chip{flex:none;white-space:nowrap;font-size:12px;padding:4px 9px;min-height:0;line-height:1.3}
.fold-body #fAm .chip:first-child{margin-left:8px}

/* lap 29: nhan GIA THU VE */
.pk-thu{color:#b45309;font-weight:700;letter-spacing:.02em;font-size:11px}
@media (prefers-color-scheme:dark){.pk-thu{color:#fbbf24}}

.pk-ck{color:#0f766e;font-weight:700;font-size:11px}
@media (prefers-color-scheme:dark){.pk-ck{color:#5eead4}}

/* lap 30: nhan thu ve / chiet khau nho hon */
.pk-thu,.pk-ck{font-size:9.5px!important;letter-spacing:0;font-weight:600}
.pk-cap{font-size:10px}
