/* Inline homepage room browser; the hero and all existing sections are untouched. */
.home-preview #khong-gian { scroll-margin-top: 24px; }
.home-preview .home-rooms-header { margin-bottom: 22px; }
.home-preview .home-rooms-header .lj-section-head { margin-bottom: 20px; }
.home-preview .home-rooms-header .lj-section-head h2 { font-size: clamp(26px, 3.5vw, 42px); }
.home-preview .home-room-branches { display: flex; flex-wrap: wrap; gap: 8px; }
.home-preview .home-room-branches button { min-height: 44px; padding: 10px 17px; border: 1px solid var(--lj-line); border-radius: 24px; background: transparent; color: var(--lj-muted); font-size: 13px; line-height: 1.4; }
.home-preview .home-room-branches button[aria-pressed="true"] { border-color: var(--lj-accent); background: var(--lj-accent); color: var(--lj-on-accent); }
.home-preview .home-rooms-context { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 18px 0 8px; }
.home-preview .home-rooms-context p { font-size: 14px; color: var(--lj-ink); }
.home-preview .home-rooms-context a { white-space: nowrap; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.home-preview .home-rooms-disclaimer { margin: 0; font-size: 12px; line-height: 1.7; color: var(--lj-muted); }
.home-preview .location-meta [data-location-rooms] { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; border: 0; background: transparent; color: var(--lj-accent); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.home-preview #home-room-results { display: grid; gap: 22px; }
.home-preview #home-room-results .branch-room { display: grid; grid-template-columns: 285px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--lj-line); border-radius: 20px; background: var(--lj-paper); }
.home-preview #home-room-results .branch-room-gallery { min-width: 0; background: #ecebe2; }
.home-preview #home-room-results .branch-room-image { position: relative; display: block; width: 100%; height: 250px; padding: 0; border: 0; background: #e4e5d9; overflow: hidden; }
.home-preview #home-room-results .branch-room-image img { width: 100%; height: 100%; object-fit: cover; }
.home-preview #home-room-results .photo-count { position: absolute; bottom: 12px; right: 12px; padding: 5px 10px; border-radius: 15px; background: #fffdf8ed; color: var(--lj-ink); font-size: 11px; }
.home-preview #home-room-results .room-thumbs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding: 7px; }
.home-preview #home-room-results .room-thumbs button { height: 51px; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: #dedfd4; }
.home-preview #home-room-results .room-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.home-preview #home-room-results .branch-room-body { display: grid; grid-template-columns: minmax(0,1fr) 215px; gap: 24px; padding: 26px; min-width: 0; }
.home-preview #home-room-results .room-main-info { min-width: 0; }
.home-preview #home-room-results .eyebrow { display: block; margin-bottom: 8px; font-size: 10px; letter-spacing: .12em; color: var(--lj-muted); }
.home-preview #home-room-results h3 { margin: 0 0 13px; font-family: var(--lj-display); font-size: 27px; font-weight: 400; line-height: 1.3; }
.home-preview #home-room-results .room-facts { display: flex; flex-wrap: wrap; gap: 7px; }
.home-preview #home-room-results .room-facts span { padding: 5px 9px; border-radius: 7px; background: #eff0e7; color: #555e4b; font-size: 11px; line-height: 1.4; }
.home-preview #home-room-results .room-description { margin: 15px 0 13px; color: var(--lj-muted); font-size: 12px; line-height: 1.75; }
.home-preview #home-room-results .room-amenities-label { margin: 10px 0 5px; color: var(--lj-muted); font-size: 10px; }
.home-preview #home-room-results .room-amenities { display: flex; flex-wrap: wrap; gap: 4px 13px; margin: 0; padding: 0; list-style: none; font-size: 11px; line-height: 1.65; }
.home-preview #home-room-results .room-amenities li::before { content: "✓"; margin-right: 5px; color: var(--lj-accent); }
.home-preview #home-room-results .room-detail-toggle { margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--lj-line); font-size: 11px; }
.home-preview #home-room-results .room-detail-toggle summary { width: fit-content; cursor: pointer; color: var(--lj-accent); font-size: 12px; }
.home-preview #home-room-results .room-detail-toggle p { margin-top: 10px; color: var(--lj-muted); }
.home-preview #home-room-results .wide-rate-list { display: grid; gap: 8px; margin-top: 12px; }
.home-preview #home-room-results .wide-rate-list > span { display: flex; justify-content: space-between; gap: 10px; }
.home-preview #home-room-results .wide-rate-list small { font-size: 10px; }
.home-preview #home-room-results .room-book-row { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding-left: 23px; border-left: 1px solid var(--lj-line); }
.home-preview #home-room-results .room-book-row small { display: block; color: var(--lj-muted); font-size: 11px; }
.home-preview #home-room-results .room-book-row strong { display: block; margin: 7px 0; color: var(--lj-accent); font-size: 25px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.home-preview #home-room-results .room-book-row > div > span { display: block; font-size: 11px; line-height: 1.6; }
.home-preview #home-room-results .room-tax-note { margin: 10px 0; color: var(--lj-muted); font-size: 10px; line-height: 1.7; }
.home-preview #home-room-results .room-request-status { color: var(--lj-muted); font-size: 10px; }
.home-preview #home-room-results .room-book-row .lj-primary { width: 100%; min-height: 46px; padding: 11px 12px; border: 0; border-radius: 11px; background: var(--lj-accent); color: var(--lj-on-accent); font-size: 13px; }
.home-preview #home-room-results .home-rooms-empty { padding: 32px; border: 1px solid var(--lj-line); border-radius: 20px; background: var(--lj-paper); color: var(--lj-muted); }
.home-preview #home-room-results .home-rooms-empty button { margin-top: 18px; }
.home-preview #home-room-results .home-room-photo-pending { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; min-height: 265px; padding: 30px; color: var(--lj-muted); text-align: center; }
.home-preview #home-room-results .home-room-photo-pending > span { font-family: var(--lj-display); font-size: 33px; }
.home-preview #home-room-results .home-room-photo-pending p { margin-top: 12px; font-size: 12px; }
.home-preview #home-gallery-dialog { width: min(1050px,calc(100vw - 40px)); max-width: none; padding: 50px 20px 20px; border: 0; border-radius: 20px; background: #fffdf8; }
.home-preview #home-gallery-dialog::backdrop { background: #20231cc9; }
.home-preview .home-gallery-stage { position: relative; display: flex; justify-content: center; align-items: center; }
.home-preview .home-gallery-stage img { display: block; max-width: 100%; height: min(68svh,720px); object-fit: contain; }
.home-preview .home-gallery-stage button { position: absolute; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #dedfd4; border-radius: 50%; background: #fffdf8ed; color: #252d23; }
.home-preview .home-gallery-stage button:first-child { left: 8px; }
.home-preview .home-gallery-stage button:last-child { right: 8px; }
.home-preview .home-gallery-caption { display: flex; justify-content: space-between; gap: 15px; margin-top: 14px; color: #555e4b; font-size: 12px; }
@media(max-width:1100px){
  .home-preview #home-room-results .branch-room { grid-template-columns: 250px minmax(0,1fr); }
  .home-preview #home-room-results .branch-room-body { grid-template-columns: minmax(0,1fr); gap: 17px; padding: 23px; }
  .home-preview #home-room-results .room-book-row { flex-direction: row; align-items: flex-end; gap: 18px; padding: 17px 0 0; border-left: 0; border-top: 1px solid var(--lj-line); }
  .home-preview #home-room-results .room-book-row > div { flex: 1; min-width: 0; }
  .home-preview #home-room-results .room-book-row .lj-primary { width: auto; min-width: 130px; }
}
@media(max-width:700px){
  .home-preview #home-room-results .branch-room { grid-template-columns: minmax(0,1fr); }
  .home-preview #home-room-results .branch-room-image { height: 240px; }
  .home-preview #home-room-results .room-thumbs button { height: 60px; }
  .home-preview #home-room-results .branch-room-body { padding: 22px 19px; }
  .home-preview .home-room-branches { gap: 6px; }
  .home-preview .home-room-branches button { padding: 9px 12px; font-size: 11px; }
  .home-preview .home-rooms-context { align-items: flex-start; }
  .home-preview .home-rooms-context p { font-size: 12px; }
  .home-preview .home-rooms-context a { font-size: 10px; }
  .home-preview #home-room-results .room-book-row { flex-direction: column; align-items: stretch; }
  .home-preview #home-room-results .room-book-row .lj-primary { width: 100%; }
  .home-preview #home-room-results .home-room-photo-pending { min-height: 200px; }
  .home-preview #home-room-results .home-rooms-empty { padding: 24px 20px; }
  .home-preview #home-gallery-dialog { width: calc(100vw - 20px); padding-inline: 10px; }
}
