/* Website đặt phòng Memories Stay – màu thương hiệu (đỏ huyết dụ + đồng thau), bố cục tham khảo MVillage (2.32.0):
   carousel đầu trang + ô tìm phòng (vị trí / nhận / trả / khách), lịch 2 tháng to rõ, trang căn 3 mục (Giới thiệu / Chọn phòng / Vị trí),
   thẻ phòng + pop-up chi tiết, chính sách nhận phòng, bản đồ + xung quanh, Về chúng tôi, Tour. Điện thoại: tấm trượt lịch, thanh dính đáy. */
:root {
  --c: #7E1105; --c2: #5E0C03; --c-soft: #F6E7E4; --acc: #A8741A; --acc2: #8E6115; --acc-soft: #F7EEDC; --gold: #E8A657;
  --bg: #FAF8F5; --card: #fff; --ink: #1D1A1F; --ink2: #5B5661; --ink3: #8C8792; --line: #E6E2DC;
  --jade: #11765E; --jade-soft: #E1F2EC; --amber: #B4610E; --amber-soft: #FBEEDC; --red: #C0262D; --red-soft: #FBE5E5;
  --r: 16px; --sh: 0 2px 6px rgba(29, 26, 31, .05), 0 12px 32px rgba(29, 26, 31, .07); --sh2: 0 16px 48px rgba(29, 26, 31, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
a { color: var(--c); text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- đầu trang ---------- */
.top { background: #fff; position: sticky; top: 0; z-index: 20; transition: box-shadow .25s; border-bottom: 1px solid var(--line); }
.top.scrolled { box-shadow: 0 6px 20px rgba(29, 26, 31, .08); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; color: var(--c); letter-spacing: .08em; text-transform: uppercase; }
.brand img { height: 46px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 4px; }
.top-nav a { padding: 9px 14px; border-radius: 10px; font-weight: 600; color: var(--ink); transition: background .15s, color .15s; font-size: 15px; }
.top-nav a:hover, .top-nav a.on { background: var(--c-soft); color: var(--c); }
.top-r { display: flex; align-items: center; gap: 8px; }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 6px 12px; font-weight: 600; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s; }
.lang:hover { border-color: var(--c); color: var(--c); }
.burger { display: none; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); padding: 6px; }

/* 2.32.21: trang chủ – thanh menu trong suốt chữ trắng đè lên ảnh (như M Village), cuộn xuống → nền trắng */
body.home .top { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .3s, box-shadow .3s, border-color .3s; }
body.home .top:not(.scrolled) .brand { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
body.home .top:not(.scrolled) .brand img { filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, .35)); }
body.home .top:not(.scrolled) .lang { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
body.home .top:not(.scrolled) .burger { color: #fff; }
body.home .top.scrolled { background: #fff; border-bottom-color: var(--line); }
@media (min-width: 821px) {
  body.home .top:not(.scrolled) .top-nav a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
  body.home .top:not(.scrolled) .top-nav a:hover, body.home .top:not(.scrolled) .top-nav a.on { background: rgba(255, 255, 255, .16); color: #fff; }
}
body.home .top:not(.scrolled)::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent); pointer-events: none; z-index: -1; }

/* ---------- chung ---------- */
.page { animation: pin .32s var(--ease); min-height: 60vh; }
@keyframes pin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page, .car, .fade, .slide { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.btn { font-weight: 600; border: 0; border-radius: 12px; padding: 12px 22px; cursor: pointer; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s, transform .12s, box-shadow .15s; white-space: nowrap; min-height: 46px; }
.btn:hover { background: var(--c2); }
.btn:active { transform: scale(.98); }
.btn.acc { background: var(--acc); color: #fff; }
.btn.acc:hover { background: var(--acc2); }
.btn.ghost { background: #fff; color: var(--c); border: 1.5px solid var(--c); }
.btn.ghost:hover { background: var(--c-soft); }
.btn.soft { background: var(--c-soft); color: var(--c); }
.btn.sm { padding: 8px 14px; min-height: 38px; font-size: 14px; border-radius: 10px; }
.btn[disabled], .btn.off { opacity: .45; cursor: not-allowed; pointer-events: none; }
.link { background: none; border: 0; color: var(--c); font-weight: 600; padding: 4px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.link.sm { font-size: 13px; }
.note { font-size: 13px; color: var(--ink3); }
.lead { color: var(--ink2); margin: -6px auto 22px; max-width: 64ch; font-size: 16px; }
.h2 { font-size: 28px; letter-spacing: -.015em; margin: 36px 0 14px; font-weight: 700; }
.ams { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.am { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink2); white-space: nowrap; }
.am .i { color: var(--acc); font-size: 18px; }
.am.more { color: var(--c); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { font-size: 12.5px; background: #fff; border: 1px solid var(--line); color: var(--ink2); border-radius: 20px; padding: 4px 10px; white-space: nowrap; }
.av { font-size: 12px; border-radius: 20px; padding: 3px 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.av.ok { background: var(--jade-soft); color: var(--jade); }
.av.no { background: var(--red-soft); color: var(--red); }
.av.unk { background: var(--amber-soft); color: var(--amber); }
.sample { position: absolute; left: 10px; top: 10px; background: rgba(29, 26, 31, .55); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 20px; backdrop-filter: blur(4px); z-index: 2; }
.skel { background: linear-gradient(90deg, #EEEAE3 25%, #F6F3EE 50%, #EEEAE3 75%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ảnh tải dần */
.ph { position: relative; overflow: hidden; background: #EEEAE3; }
.ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ph img.in { opacity: 1; }
.card:hover .ph img.in { transform: scale(1.04); }

/* băng ảnh vuốt ngang (scroll-snap) */
.car { position: relative; }
.car .trk { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car .trk::-webkit-scrollbar { display: none; }
.car .trk > .ph { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4/3; }
.car .dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); pointer-events: none; overflow: hidden; padding: 2px 0; }
.car .dots.many { width: 55px; }                       /* 2.32.21: tối đa 5 chấm (11px / chấm), dải trượt theo ảnh */
.car .dots .dt { display: flex; transition: transform .25s var(--ease); }
.car .dots i { flex: 0 0 11px; height: 6px; display: flex; justify-content: center; }
.car .dots i::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: background .2s, transform .2s; box-shadow: 0 0 3px rgba(0, 0, 0, .25); }
.car .dots i.on::before { background: #fff; transform: scale(1.25); }
.car .dots i.sm::before { transform: scale(.6); }
.car .dots i.out::before { transform: scale(0); }
.car .arr, .dlg .arr { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 20px; opacity: 0; transition: opacity .2s; }
.car .arr.l, .dlg .arr.l { left: 10px; } .car .arr.r, .dlg .arr.r { right: 10px; }
.car:hover .arr, .dlg .big:hover .arr { opacity: 1; }
@media (hover: hover) { .car.multi .arr, .dlg .arr { display: flex; } }

/* ---------- carousel đầu trang + ô tìm phòng (MVillage) ---------- */
.hero { position: relative; height: 560px; margin-bottom: 70px; }
body.home .hero { height: 66vh; height: 66svh; min-height: 540px; max-height: 760px; margin-bottom: 50px; }   /* 2.32.24: cao 2/3 màn hình */
body.home .hero .hcap { align-items: flex-end; }
body.home .hero .cap { padding-bottom: 54px; }
body.home .hero .cap h1 { font-size: clamp(34px, 3.8vw, 58px); max-width: 18ch; line-height: 1.05; }
body.home .hero > .wrap { top: max(96px, 22%); bottom: auto; }
body.home .hdots { bottom: 22px; }
.hero-go-w { display: none; text-align: center; margin-top: 26px; }
body.home .hero-go-w { display: block; }
.hero-go { border: 0; border-radius: 999px; background: rgba(20, 18, 22, .88); color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 12px 26px; cursor: pointer; font-size: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .2s, transform .15s; }
.hero-go:hover { background: #000; transform: translateY(-1px); }
.hero .slides { position: absolute; inset: 0; overflow: hidden; }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s var(--ease); display: flex; align-items: center; }
.hero .slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .45)); }
.hero .slide.on { opacity: 1; }
.hero .hcap { position: absolute; inset: 0; display: flex; align-items: center; z-index: 1; pointer-events: none; }   /* 2.32.28: tiêu đề + câu dẫn cố định, ảnh chạy phía sau */
.hero .hcap a, .hero .hcap button { pointer-events: auto; }
.hero .cap { position: relative; color: #fff; width: 100%; padding-bottom: 60px; }
.hero .cap h1 { margin: 0 0 10px; font-size: 48px; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; max-width: 22ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); text-transform: uppercase; }
.hero .cap p { margin: 0 0 20px; font-size: 18px; max-width: 56ch; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hdots { position: absolute; bottom: 86px; left: 50%; transform: translateX(-50%); z-index: 2; overflow: hidden; padding: 3px 0; }
.hdots.many { width: 70px; }                           /* 2.32.26: tối đa 5 chấm như thẻ ảnh (14px / chấm) */
.hdots .dt { display: flex; transition: transform .3s var(--ease); }
.hdots i { flex: 0 0 14px; height: 10px; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.hdots i::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; box-shadow: 0 0 4px rgba(0, 0, 0, .3); }
.hdots i.on::before { background: #fff; transform: scale(1.25); }
.hdots i.sm::before { transform: scale(.6); }
.hdots i.out::before { transform: scale(0); }
.harr { position: absolute; top: 45%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 24px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.hero:hover .harr { opacity: 1; }
.harr.l { left: 18px; } .harr.r { right: 18px; }
.hero > .wrap { position: absolute; left: 0; right: 0; bottom: -44px; z-index: 3; }
.search-wrap { max-width: 960px; margin: 0 auto; }
.search { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr auto; gap: 4px; background: #fff; padding: 8px 8px 8px 12px; border-radius: 999px; box-shadow: var(--sh2); border: 1px solid var(--line); align-items: center; }
.fld { color: var(--ink); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; cursor: pointer; text-align: left; border: 1.5px solid transparent; background: #fff; transition: background .15s, border-color .15s; min-width: 0; position: relative; }
.fld > .i { color: var(--c); font-size: 20px; flex: 0 0 auto; }
.fld > span { display: flex; flex-direction: column; min-width: 0; }
.fld:hover { background: #FAF8F5; }
.fld.on { border-color: var(--c); background: var(--c-soft); }
.fld small { font-size: 11px; color: var(--c); font-weight: 600; letter-spacing: .03em; }
.fld b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search .fld + .fld::before { content: ''; position: absolute; left: -2px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.search .sm-row { display: none; }
.search .btn.acc, .search .go { background: var(--c); }               /* 2.32.31: nút tìm màu đỏ logo */
.search .btn.acc:hover, .search .go:hover { background: var(--c2, #6E0F0B); }
.search .btn { align-self: stretch; padding: 0 30px; border-radius: 999px; min-height: 54px; font-size: 16px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 2px; font-size: 13px; color: var(--ink3); justify-content: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-bottom: 44px; }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); color: inherit; border: 1px solid rgba(29, 26, 31, .04); }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.card .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.card .addr { color: var(--ink3); font-size: 13px; display: flex; gap: 5px; align-items: flex-start; }
.card .addr .i { color: var(--acc); }
.price { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price .pl { white-space: nowrap; }
.price .pn { display: block; }
.price > div { min-width: 0; }
.price b { font-size: 20px; color: var(--c); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price small { color: var(--ink3); font-size: 12.5px; }

/* ---------- trang căn ---------- */
.crumb { font-size: 13px; color: var(--ink3); margin: 16px 0 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumb a { color: var(--ink2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.gallery .ph { cursor: zoom-in; }
.gallery .ph:first-child { grid-row: 1 / 3; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.gallery.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 420px; }
.gallery.n2 .ph:first-child { grid-row: 1; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery .more { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; padding: 7px 12px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); display: inline-flex; gap: 6px; align-items: center; }
.gal-m { display: none; }
.ptitle { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 6px 0 10px; }
.ptitle h1 { margin: 0 0 4px; font-size: 30px; letter-spacing: -.02em; text-transform: uppercase; }
.pfrom { text-align: right; white-space: nowrap; }
.pfrom small { display: block; color: var(--ink3); font-size: 12.5px; }
.pfrom .pl { display: block; white-space: nowrap; }
.pfrom .pl small.u { display: inline; }
.pfrom b { font-size: 24px; color: var(--c); font-variant-numeric: tabular-nums; }
.tabs { position: sticky; top: 72px; z-index: 10; background: var(--bg); display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs a { padding: 12px 18px; font-weight: 600; color: var(--ink2); border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--c); border-color: var(--c); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.panel { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 20px; border: 1px solid rgba(29, 26, 31, .04); }
.panel h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.015em; }
.panel h3 { font-size: 15px; margin: 16px 0 8px; }
.sec { margin-bottom: 34px; scroll-margin-top: 130px; }
.sec > h2 { font-size: 22px; letter-spacing: -.015em; margin: 0 0 12px; }
.sec h3 { font-size: 15px; margin: 18px 0 8px; }
.sticky { position: sticky; top: 140px; }   /* 2.32.16: dưới thanh menu (72px) + thanh mục Giới thiệu / Chọn phòng / Vị trí (~50px) */
.meta { color: var(--ink2); font-size: 14px; margin-bottom: 6px; display: flex; gap: 6px; align-items: flex-start; }
.meta .i { color: var(--acc); }
.desc { white-space: pre-line; color: var(--ink2); }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { background: none; border: 0; color: var(--c); font-weight: 600; padding: 6px 0; cursor: pointer; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; font-size: 14px; color: var(--ink2); }
.amen div { display: flex; gap: 10px; align-items: center; }
.amen .i { color: var(--acc); font-size: 20px; }
.policy { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 16px 18px; margin-top: 20px; }
.policy h3 { margin: 0 0 10px; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.policy h3 .i { color: var(--acc); }
.pol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 14px; }
.pol-grid > div { padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.pays { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px 5px 7px; white-space: nowrap; }
.pay .i { color: var(--pc, var(--acc)); font-size: 18px; }
.policy.mini { font-size: 13.5px; color: var(--ink2); margin-top: 18px; }
.policy.mini > div { padding: 5px 0; border-top: 1px dashed var(--line); }
.policy.mini b { color: var(--ink); }
.inline-dates { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 4px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 16px; margin: 0 0 16px; box-shadow: var(--sh); }
.inline-dates .fld { border-radius: 12px; padding: 8px 12px; }
.inline-dates .btn { border-radius: 12px; min-height: 46px; padding: 0 20px; font-size: 15px; }
.room { display: grid; grid-template-columns: clamp(320px, 42%, 380px) minmax(0, 1fr) auto; align-items: stretch; gap: 18px;   /* 2.32.39: cột ảnh rộng hơn – ảnh ngang không bị cắt (zoom) nhiều */ background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 14px; margin-bottom: 16px; border: 1px solid rgba(29, 26, 31, .04); transition: box-shadow .2s; }
.room:hover { box-shadow: var(--sh2); }
.room .car, .room .car .trk > .ph { border-radius: 12px; }
.room > .car { height: 100%; min-height: 240px; overflow: hidden; }          /* 2.32.21: ảnh cao bằng thẻ (băng ảnh nằm tuyệt đối: không kéo cao thẻ) */
.room > .car .trk { position: absolute; inset: 0; height: 100%; }
.room > .car .trk > .ph { aspect-ratio: auto; height: 100%; }
.room > .car .trk > .ph img { width: 100%; height: 100%; object-fit: cover; }
.gal-all { position: absolute; right: 10px; bottom: 10px; z-index: 3; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); font: 600 13px/1 inherit; font-family: inherit; padding: 7px 10px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.dlg-g .dlg-all { right: auto; left: 14px; bottom: 12px; }
.room .ams.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.room .ams.two .am { min-width: 0; }
.room .ams.two .am { white-space: normal; align-items: flex-start; line-height: 1.35; }
.room .am.more { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 13.5px; text-align: left; grid-column: 1 / -1; }
.room .rb { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.room h3 { margin: 0; font-size: 19px; font-weight: 700; }
.room .spec { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink2); font-size: 14px; }
.room .spec span { display: inline-flex; align-items: center; gap: 6px; }
.room .spec .i { color: var(--acc); font-size: 19px; }
.room .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 170px; text-align: right; }
.room .side .sp { margin-top: auto; }
.room .side b { font-size: 22px; color: var(--c); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.room .side small { color: var(--ink3); display: block; font-size: 12.5px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; background: #EEEAE3; }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }
.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 14px; }
.nb-g { background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 12px 14px; }
.nb-g h4 { margin: 0 0 6px; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.nb-g h4 .i { color: var(--acc); font-size: 18px; }
.nb { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink2); }
.nb small { color: var(--ink3); white-space: nowrap; }

/* pop-up chi tiết phòng (MVillage) */
.dlg-bg { position: fixed; inset: 0; background: rgba(29, 26, 31, .55); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadein .2s; }
.dlg { background: #fff; border-radius: 18px; width: min(1360px, 96vw); max-width: 100%; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--sh2); animation: pin .25s var(--ease); }
.dlg-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dlg-h h2 { margin: 0; font-size: 20px; }
.dlg-h .x { border: 0; background: var(--bg); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 20px; }
.dlg-b { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); min-height: 0; overflow: hidden; flex: 0 1 auto; }   /* 2.32.15: cao = cột ảnh, cột tiện nghi tự cuộn */
.dlg-g { background: #111; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.dlg-g .big { position: relative; aspect-ratio: 3 / 2; max-height: calc(92vh - 250px); flex: none; display: flex; align-items: center; justify-content: center; background: #111; overflow: hidden; }
.dlg-g .big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.dlg-g .cnt { position: absolute; right: 14px; bottom: 12px; color: #fff; font-weight: 700; font-size: 18px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.dlg-g .thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #111; min-width: 0; scrollbar-width: thin; scrollbar-color: #555 #111; }
.dlg-g .thumbs img { width: 110px; height: 76px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .6; border: 2px solid transparent; flex: 0 0 auto; }
.dlg-g .thumbs img.on { opacity: 1; border-color: var(--gold); }
.dlg-i { padding: 18px 20px; overflow: auto; height: 0; min-height: 100%; scrollbar-width: thin; }   /* height 0 + min-height 100%: không kéo cao khung, cuộn trong chiều cao ảnh */
.dlg-i .mini-logo { height: 34px; margin-bottom: 10px; }
.dlg-i h4 { margin: 16px 0 8px; font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.dl { display: grid; gap: 8px; font-size: 14px; color: var(--ink2); }
.dl div { display: flex; gap: 10px; align-items: center; }
.dl .i { color: var(--acc); font-size: 20px; }
.dlg-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); background: #fff; }
.dlg-f b { font-size: 20px; color: var(--c); margin-right: 6px; }
.dlg-f small { color: var(--ink3); margin-right: 8px; }

/* ---------- form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form.one { grid-template-columns: 1fr; gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; width: 100%; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft); }
.form input.bad { border-color: var(--red); }
.form .phone { display: grid; grid-template-columns: 118px 1fr; gap: 6px; }
.form .err { color: var(--red); font-size: 13px; grid-column: 1 / -1; min-height: 1em; }
.code-msg { font-weight: 500; font-size: 13px; min-height: 1em; }
.code-msg.ok { color: var(--jade); } .code-msg.bad { color: var(--red); }
.sum { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--ink2); }
.sum b { color: var(--ink); font-weight: 600; }
.sum.total { border: 0; font-size: 18px; font-weight: 700; color: var(--c); padding-top: 12px; font-variant-numeric: tabular-nums; }
.sum.total span:first-child { color: var(--ink); font-size: 15px; }
.sum.total.has-d { font-size: 15px; color: var(--ink3); text-decoration: line-through; padding-bottom: 0; }
.ok-box { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 36px 28px; text-align: center; margin: 32px auto; max-width: 600px; }
.ok-box .big { width: 72px; height: 72px; border-radius: 50%; background: var(--jade-soft); color: var(--jade); display: inline-flex; align-items: center; justify-content: center; font-size: 34px; margin-bottom: 10px; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.contact div { padding: 4px 0; display: flex; gap: 8px; align-items: center; }
.contact .i { color: var(--acc); }
.contact a { font-weight: 600; }
.social { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; padding: 6px 10px; border-radius: 10px; background: var(--bg); color: var(--c); }
.social a .i { font-size: 20px; }

/* ---------- Về chúng tôi / Tour ---------- */
.about-hero { height: 360px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; margin-bottom: 36px; }
.about-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); }
.about-hero .wrap { position: relative; color: #fff; width: 100%; padding-bottom: 36px; }
.about-hero h1 { margin: 0; font-size: 44px; letter-spacing: -.02em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.about-hero p { margin: 8px 0 0; font-size: 17px; max-width: 60ch; }
.about-hero.short { height: 280px; }
.story-w { margin: 30px 0 26px; }
.story-w.has-ph { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }   /* 2.32.31: chữ + ảnh cân đối 2 cột */
.story { font-size: 16.5px; color: var(--ink2); line-height: 1.75; background: #fff; border-radius: var(--r); padding: 26px 30px; box-shadow: var(--sh); text-align: justify; }
.story-w:not(.has-ph) .story { max-width: 860px; margin: 0 auto; }
.story p:last-child { margin-bottom: 0; }
.story-ph { border-radius: var(--r); overflow: hidden; min-height: 300px; box-shadow: var(--sh); cursor: zoom-in; position: relative; }
.story-ph img { position: absolute; inset: 0; }
.story-ph img { width: 100%; height: 100%; object-fit: cover; }
.story p { margin: 0 0 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 30px 0; }
.stats div { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 20px; text-align: center; }
.stats b { display: block; font-size: 32px; color: var(--c); letter-spacing: -.02em; }
.stats span { color: var(--ink3); font-size: 13.5px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: 20px; }
.val { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 22px; }
.val .i { font-size: 34px; color: var(--acc); }
.val h3 { margin: 8px 0 6px; font-size: 17px; }
.val p { margin: 0; color: var(--ink2); font-size: 14px; }
.tgrid .card .car .trk > .ph { aspect-ratio: 16/10; }
.tmeta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.tmeta > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; }
.tmeta .i { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--acc-soft, #F6EEDF); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--acc); }
.tmeta > div > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tmeta small { color: var(--ink3); font-size: 12px; line-height: 1.3; }
.tmeta b { font-size: 14px; line-height: 1.35; }
.tdesc { color: var(--ink2); line-height: 1.65; }
.tdesc b { display: block; margin-top: 12px; color: var(--ink); }

/* ---------- chân trang ---------- */
.foot { background: var(--c2); color: rgba(255, 255, 255, .85); margin-top: 56px; padding: 40px 0 28px; font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px 32px; }
.foot b { color: #fff; display: block; margin-bottom: 6px; }
.foot a { color: rgba(255, 255, 255, .9); }
.foot .note { color: rgba(255, 255, 255, .7); }
.foot .fcol > div { padding: 2px 0; }
.foot .flogo { height: 74px; margin-bottom: 10px; }
.foot .social a { background: rgba(255, 255, 255, .1); color: #fff; }
.foot .fbot { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 14px; color: rgba(255, 255, 255, .6); font-size: 12.5px; }

/* ---------- lịch chọn ngày + khách + vị trí (popover / tấm trượt) ---------- */
.pop-bg { position: fixed; inset: 0; z-index: 40; background: rgba(29, 26, 31, 0); transition: background .25s; }
.pop-bg.in { background: rgba(29, 26, 31, .3); }
.pop { position: absolute; background: #fff; border-radius: 20px; box-shadow: var(--sh2); padding: 18px 22px; z-index: 41; animation: pin .25s var(--ease); border: 1px solid var(--line); }
.pop.cal { width: 720px; max-width: calc(100vw - 24px); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cal-head .hint { font-size: 13px; color: var(--ink3); font-weight: 500; }
.cal-head .nav { border: 0; background: var(--bg); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.cal-head .nav:disabled { opacity: .3; cursor: default; }
.pop > .cal { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal .m h4 { margin: 0 0 10px; text-align: center; font-size: 17px; font-weight: 700; }
.cal .wk, .cal .ds { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal .wk span { text-align: center; font-size: 12px; color: var(--ink3); font-weight: 600; padding: 4px 0 8px; }
.cal .d { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; position: relative; font-variant-numeric: tabular-nums; }
.cal .d i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .12s; }
.cal .d:hover i { background: #F3EFE8; }
.cal .d.off { color: #C9C4BC; cursor: default; pointer-events: none; }
.cal .d.hol i::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--acc); }
.cal .d.in { background: var(--c-soft); }
.cal .d.a.in { background: linear-gradient(90deg, transparent 50%, var(--c-soft) 50%); }
.cal .d.b.in { background: linear-gradient(90deg, var(--c-soft) 50%, transparent 50%); }
.cal .d.a i, .cal .d.b i { background: var(--acc); color: #fff; font-weight: 700; }
.cal .d.a:hover i, .cal .d.b:hover i { background: var(--acc2); }
.cal .d.today i { box-shadow: inset 0 0 0 1.5px var(--acc); }
.cal .d.today.a i, .cal .d.today.b i { box-shadow: none; }
.pop-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.pop-foot .sumr { text-align: right; flex: 1; }
.pop-foot .sumr b { display: block; color: var(--ink); font-size: 14px; }
.pop-foot .sumr b em { font-style: normal; font-weight: 700; }
.pop-foot .sumr small { color: var(--ink3); font-size: 12px; }
.where { display: grid; gap: 4px; min-width: 300px; }
.where button { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: #fff; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.where button:hover, .where button.on { background: var(--c-soft); }
.where button .i { color: var(--acc); font-size: 22px; }
.where button span { display: flex; flex-direction: column; }
.where button small { color: var(--ink3); font-size: 12px; }
.step { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.step:last-of-type { border: 0; }
.step .l b { display: block; } .step .l small { color: var(--ink3); }
.step .r { display: flex; align-items: center; gap: 14px; }
.step button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--c); background: #fff; color: var(--c); font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .12s; }
.step button:hover { background: var(--c-soft); }
.step button:disabled { border-color: var(--line); color: #C9C4BC; cursor: default; background: #fff; }
.step .n { min-width: 20px; text-align: center; font-weight: 600; font-size: 16px; }

/* ---------- thanh dính đáy (điện thoại) ---------- */
.bar { display: none; }
/* ---------- xem ảnh lớn ---------- */
.lb { position: fixed; inset: 0; background: rgba(10, 8, 10, .92); z-index: 60; display: flex; align-items: center; justify-content: center; animation: fadein .2s; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lb .trk { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; height: 100%; scrollbar-width: none; }
.lb .trk::-webkit-scrollbar { display: none; }
.lb .trk > div { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb img { max-width: 100%; max-height: 92vh; border-radius: 8px; object-fit: contain; }
.lb .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; cursor: pointer; z-index: 2; }
.lb .cnt { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; opacity: .8; }
.lb .arr { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
.lb .arr.l { left: 14px; } .lb .arr.r { right: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 70; animation: pin .25s var(--ease); box-shadow: var(--sh2); max-width: 92vw; }

/* ---------- máy tính nhỏ ---------- */
@media (max-width: 1000px) {
  .search { grid-template-columns: 1fr 1fr 1fr 1fr; border-radius: 22px; }
  .search .btn { grid-column: 1 / -1; border-radius: 14px; }
  .hero > .wrap { bottom: -70px; } .hero { margin-bottom: 96px; }
}
/* ---------- điện thoại ---------- */
@media (max-width: 820px) {
  .top-in { height: 60px; }
  .brand img { height: 38px; } .brand { gap: 9px; font-size: 14.5px; letter-spacing: .07em; } .brand span { white-space: nowrap; }   /* 2.32.30: giữ chữ MEMORIES STAY trên điện thoại */
  .burger { display: inline-flex; }
  .top-nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: #fff; flex-direction: column; padding: 8px 12px 14px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
  .top-nav.open { display: flex; }
  .top-nav a { padding: 12px 14px; font-size: 16px; }
  .hero { height: 460px; margin-bottom: 60px; }
  .hero .hcap { align-items: flex-start; }
  .hero .cap { padding: 40px 16px 0; }
  .hero .cap h1 { font-size: 30px; } .hero .cap p { font-size: 15px; }
  .hero > .wrap { bottom: -34px; }
  .hdots { bottom: 24px; }
  body.home .hero { height: 100vh; height: 100svh; min-height: 560px; max-height: none; margin-bottom: 24px; }   /* 2.32.29: điện thoại – banner phủ kín màn hình như M Village */
  body.home .hero .hcap { align-items: flex-start; }
  body.home .hero .cap { padding: 84px 16px 0; }
  body.home .hero .cap h1 { font-size: 32px; }
  body.home .hero .cap p { font-size: 15px; }
  body.home .hero > .wrap { top: 42%; }
  body.home .hero .hero-go-w { margin-top: 18svh; }
  .hero .cap .btn { display: none; }
  .hero-go-w { margin-top: 18px; }
  .room > .car { min-height: 0; height: auto; }
  .room > .car .trk { position: static; }
  .room > .car .trk > .ph { aspect-ratio: 4 / 3; height: auto; }
  .search { grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 18px; padding: 8px; }
  /* 2.32.27: điện thoại kiểu M Village – ô tìm gọn 1 hàng: Điểm đến | Ngày đến / đi + khách | nút tìm tròn */
  .search { display: block; padding: 6px 6px 6px 8px; border-radius: 999px; }
  .search > .fld, .search > .btn { display: none !important; }
  .search .sm-row { display: flex; align-items: center; gap: 0; }
  .search .smf:first-child:not(:only-of-type) { flex-grow: .8; }
  .search .smf small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .search .smf { flex: 1 1 0; min-width: 0; border: 0; background: none; text-align: left; padding: 8px 12px; cursor: pointer; display: flex; flex-direction: column; color: var(--ink); }
  .search .smf + .smf { border-left: 1px solid var(--line); }
  .search .smf small { font-size: 12px; color: var(--ink3); font-weight: 500; }
  .search .smf b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 3px; }
  .search .smf b .i { font-size: 15px; color: var(--ink3); }
  .search .go { flex: 0 0 52px; height: 52px; border-radius: 50%; border: 0; background: var(--c); color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
  /* lịch toàn màn hình */
  .pop.calm { top: 0 !important; width: auto; max-width: none; max-height: none; height: 100%; height: 100dvh; border-radius: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
  .pop.calm::before { display: none; }
  .cm-h { display: flex; align-items: center; justify-content: center; position: relative; padding: calc(14px + env(safe-area-inset-top)) 16px 10px; }
  .cm-h b { font-size: 20px; }
  .cm-h .x { position: absolute; right: 10px; bottom: 6px; border: 0; background: none; font-size: 26px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
  .cm-wk { display: grid; grid-template-columns: repeat(7, 1fr); padding: 6px 8px 10px; box-shadow: 0 6px 10px -8px rgba(0, 0, 0, .25); position: relative; z-index: 1; }
  .cm-wk span { text-align: center; font-size: 13px; color: var(--ink3); }
  .pop.calm .cal-m { flex: 1; overflow-y: auto; padding: 4px 8px 12px; -webkit-overflow-scrolling: touch; }
  .pop.calm .cal-m .m h4 { margin: 18px 0 8px; font-size: 18px; font-weight: 600; }
  .pop.calm .cal .d { height: 50px; }
  .pop.calm .cal .d i { width: 44px; height: 44px; }
  .cm-f { border-top: 1px solid var(--line); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: #FBFAF8; }
  .cm-sum { display: flex; justify-content: space-between; align-items: center; }
  .cm-sum small { display: block; color: var(--ink3); font-size: 13px; }
  .cm-sum b { font-size: 17px; }
  .cm-sum b.now { color: var(--acc); }
  .cm-sum .r { text-align: right; }
  .cm-g { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; }
  .cm-g .gs { display: flex; align-items: center; gap: 8px; }
  .cm-g .gs small { color: var(--ink2); font-size: 13px; }
  .cm-g .gs b { min-width: 16px; text-align: center; }
  .cm-g button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--c); background: #fff; color: var(--c); font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
  .cm-g button:disabled { border-color: var(--line); color: #C9C4BC; }
  .cm-ok { width: 100%; border-radius: 999px; min-height: 50px; font-size: 16px; }
  .search .fld:first-child, .search .fld.g { grid-column: 1 / -1; }
  .search .fld + .fld::before { display: none; }
  .search .fld { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
  .search .btn { grid-column: 1 / -1; border-radius: 12px; min-height: 48px; }
  .meta-line { margin-top: 16px; }
  .h2 { font-size: 22px; margin: 26px 0 10px; }
  .lead { font-size: 15px; margin-bottom: 16px; }
  .grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .gallery { display: none; }
  .about-gal { margin: 0 -16px 18px; }
  .gal-m { display: block; margin: 0 -16px 14px; position: relative; }
  .gal-m .gal-all { position: absolute; right: 12px; bottom: 12px; z-index: 3; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); font: 600 13px/1 inherit; font-family: inherit; padding: 8px 12px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
  .gal-m .car .trk > .ph { aspect-ratio: 4/3; }
  .ptitle { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ptitle h1 { font-size: 24px; }
  .pfrom { text-align: left; }
  .tabs { top: 60px; margin: 0 -16px 14px; padding: 0 8px; overflow-x: auto; }
  .tabs a { padding: 11px 12px; white-space: nowrap; }
  .two { grid-template-columns: 1fr; gap: 16px; }
  .sticky { position: static; }
  .panel { padding: 16px; }
  .pol-grid { grid-template-columns: 1fr; }
  .inline-dates { grid-template-columns: 1fr 1fr; }
  .inline-dates .fld + .fld::before { display: none; }
  .inline-dates .btn { grid-column: 1 / -1; }
  .room { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .room .side { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; min-width: 0; gap: 6px 12px; }
  .room .side > div:first-child { grid-column: 1 / -1; order: 0; }
  .room .side b { white-space: nowrap; font-size: 20px; }
  .room .side .btn { padding: 10px 18px; }
  .form { grid-template-columns: 1fr; }
  .form input, .form select, .form textarea { font-size: 16px; }    /* ≥16px: iPhone không tự phóng to khi bấm vào ô */
  .amen { grid-template-columns: 1fr; }
  .map iframe { height: 260px; }
  .dlg-bg { padding: 0; align-items: flex-end; }
  .dlg { border-radius: 20px 20px 0 0; max-height: 94vh; }
  .dlg-b { display: block; overflow: auto; flex: 1; }
  .dlg-i { height: auto; min-height: 0; overflow: visible; }
  .dlg-g .big { height: auto; aspect-ratio: 3 / 2; max-height: 50vh; }
  .dlg-g .thumbs img { width: 84px; height: 60px; }
  .about-hero { height: 240px; } .about-hero h1 { font-size: 28px; }
  .story { font-size: 15.5px; padding: 18px; text-align: left; }
  .story-w.has-ph { grid-template-columns: 1fr; gap: 16px; }
  .story-ph { aspect-ratio: 4 / 3; min-height: 0; }
  .foot .wrap { grid-template-columns: 1fr; gap: 18px; }
  .pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto !important; border-radius: 22px 22px 0 0; max-height: 88vh; overflow: auto; animation: up .3s var(--ease); padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); width: auto; max-width: none; }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .pop::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: -4px auto 12px; }
  .pop .pop-foot { position: sticky; bottom: calc(-16px - env(safe-area-inset-bottom)); background: #fff; margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .pop-foot .sumr { text-align: left; flex: 1 1 100%; order: -1; }
  .pop > .cal { grid-template-columns: 1fr; gap: 18px; }
  .cal .d { height: 46px; }
  .cal-head .nav { display: none; }
  .cal-head { justify-content: center; }
  .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; animation: up .3s var(--ease); }
  .bar b { font-size: 18px; color: var(--c); font-variant-numeric: tabular-nums; }
  .bar small { display: block; color: var(--ink3); font-size: 12px; }
  .bar .btn { flex: 0 0 auto; padding: 12px 22px; }
  body.has-bar { padding-bottom: 84px; }
  body.has-bar .foot { padding-bottom: 100px; }
  .ok-box { padding: 28px 18px; }
}

/* 2.32.12: xem ảnh tổng của căn – lưới ảnh → bấm 1 ảnh xem lớn, có nút quay lại lưới */
.pg { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; animation: fadein .2s; }
.pg-h { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.pg-h h2 { margin: 0; font-size: 18px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-h .cnt { color: var(--ink3); font-size: 14px; white-space: nowrap; }
.pg-h .x, .pg-h .back { border: 0; background: var(--bg); border-radius: 999px; height: 40px; min-width: 40px; padding: 0 12px; cursor: pointer; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.pg-h .back { background: var(--c-soft); color: var(--c); }
.pg-body { flex: 1; overflow: auto; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; padding: 16px 20px 28px; max-width: 1400px; margin: 0 auto; }
.pg-grid button { border: 0; padding: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #EEEAE3; aspect-ratio: 4/3; }
.pg-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s var(--ease); }
.pg-grid button:hover img { transform: scale(1.04); }
.pg-one { position: absolute; inset: 64px 0 0; background: #0f0d10; display: flex; align-items: center; justify-content: center; }
.pg-one img { max-width: calc(100% - 120px); max-height: calc(100% - 40px); object-fit: contain; border-radius: 6px; }
.pg-one .arr { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pg-one .arr.l { left: 16px; } .pg-one .arr.r { right: 16px; }
@media (max-width: 820px) {
  .pg-h { padding: 10px 12px; } .pg-h h2 { font-size: 16px; }
  .pg-grid { grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
  .pg-one { inset: 60px 0 0; } .pg-one img { max-width: 100%; max-height: 100%; border-radius: 0; }
  .pg-one .arr { width: 40px; height: 40px; background: rgba(0, 0, 0, .35); }
}
.pg [hidden] { display: none !important; }
