/* Branch detail pages: Beving identity, room catalogue and photo mosaic. */
body[data-page="branch"] .branch-page-top{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:30px 35px}
.branch-page-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex:none;margin-left:auto}
.branch-page-top .demo-branch-favorite{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:120px;height:auto;min-height:44px;padding:8px 12px;border-radius:30px;border-color:transparent;box-shadow:none;background:transparent;margin:0;font:400 13px/1.6 var(--sans);color:var(--brand)}
.branch-page-top .demo-branch-favorite svg{width:22px;height:22px}
.branch-page-top .demo-branch-favorite[aria-pressed="true"]{color:var(--orange);background:var(--orange-soft)}
body[data-page="branch"] .branch-gallery{grid-template-columns:2fr 1fr 1fr;grid-template-rows:235px 235px;gap:10px;border-radius:12px}
body[data-page="branch"] .gallery-tile:first-child{grid-column:1;grid-row:1/3}
body[data-page="branch"] .gallery-tile{min-width:0;min-height:0;padding:0}
body[data-page="branch"] .gallery-tile img{width:100%;height:100%;object-fit:cover}
body[data-page="branch"] .gallery-all{min-height:44px;bottom:18px;right:18px;border-radius:7px;font-size:12px;padding:11px 16px;box-shadow:0 3px 14px #0002}
.branch-amenities{border-top:1px solid var(--line);padding:30px 0 36px;margin-bottom:30px;border-bottom:1px solid var(--line)}
.branch-amenities h2{font-size:29px;margin-bottom:24px}
.branch-amenities ul{list-style:none;display:flex;flex-wrap:wrap;gap:22px 26px;padding:0;margin:0}
.branch-amenities li{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.6;color:var(--brand)}
.branch-amenities svg{width:24px;height:24px;color:var(--orange);flex:none}
#branch-room-scope{margin:14px 0 9px;font-size:12px;color:var(--muted);line-height:1.7}
.branch-room-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin:28px 0}
.branch-room-filters{display:flex;flex-wrap:wrap;gap:9px}
.branch-room-filters button{border:1px solid var(--orange-border);border-radius:30px;min-height:44px;padding:10px 18px;font-size:13px;background:white;color:var(--brand);transition:background .2s,border-color .2s}
.branch-room-filters button:hover{border-color:var(--orange);background:var(--orange-softest)}
.branch-room-filters button[aria-pressed="true"]{background:var(--orange);border-color:var(--orange);color:var(--ink);font-weight:500}
.branch-room-filters [data-room-filter-count]{display:inline-block;min-width:1.2em;margin-left:4px;font-variant-numeric:tabular-nums}
.branch-room-stay{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
.branch-room-stay select{min-width:0;max-width:100%;border:1px solid #ddd;background:white;border-radius:6px;padding:10px;font-size:12px;min-height:44px;color:var(--brand)}
.branch-room-only-long{font-size:12px;color:var(--muted)}
.branch-room-list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}
.branch-room-list-heading h3{font-size:25px}
.branch-room-list-heading p{font-size:11px;line-height:1.6;color:var(--muted);text-align:right}
#branch-room-count{display:block;color:var(--brand)}
#branch-room-breakdown{display:block;margin-top:4px}
#branch-room-breakdown:empty{display:none}
.branch-room{border:1px solid var(--line);border-radius:9px;margin-bottom:17px;overflow:hidden;background:#fff;scroll-margin-top:100px}
.branch-room>summary{cursor:pointer;list-style:none;padding:0;outline-offset:-4px}
.branch-room>summary::-webkit-details-marker{display:none}
.branch-room>summary::marker{content:''}
.branch-room-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px 10px;font-size:12px;line-height:1.7;background:white}
.branch-room-code{display:inline-flex;padding:3px 10px;background:var(--orange);border-radius:4px;color:var(--ink);font-weight:500;font-size:13px;white-space:nowrap}
.branch-room-status{color:var(--muted);text-align:right;font-size:11px}
.branch-room[data-room-status="available"] .branch-room-status{color:#45634b}
.branch-room-band{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;background:var(--orange-soft)}
.branch-room-band>div{min-width:0}
.branch-room-band strong{font:500 21px/1.35 var(--ui-display);display:block;color:var(--brand)}
.branch-room-band strong small{font:400 11px/1.6 var(--sans);color:var(--muted);margin-left:5px}
.branch-room-band>div>span{display:block;font-size:12px;line-height:1.8;margin-top:5px;color:var(--brand)}
.branch-room-band b{font-weight:400;margin-inline:5px;color:var(--orange)}
.branch-room-view{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:76px;flex:none;border:1px solid var(--orange-border);border-radius:6px;background:white;color:var(--brand);padding:8px 12px;font-size:12px}
.branch-room-view svg{width:17px;height:17px;transition:transform .2s}
.branch-room[open] .branch-room-view svg{transform:rotate(180deg)}
.branch-choices>h2,.branch-information>h2{font-size:34px;line-height:1.3}
.branch-choices{margin-top:18px}
.branch-room-detail{display:grid;grid-template-rows:1fr auto;padding:0;background:#fff;border-top:1px solid var(--orange-border)}
.room-detail-short{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.room-detail-long{grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr) minmax(0,1fr)}
.branch-room-detail>*{min-width:0}
.room-gallery{grid-row:1/3;display:flex;flex-direction:column;background:var(--brand);overflow:hidden}
.room-gallery-stage{position:relative;flex:1;aspect-ratio:4/3;min-height:330px;touch-action:pan-y;isolation:isolate}
.room-gallery-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.room-gallery-stage:after{content:'';position:absolute;inset:70% 0 0;z-index:0;pointer-events:none;background:linear-gradient(transparent,#0007)}
.room-gallery-stage>button{position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:grid;place-items:center;width:44px;height:44px;border:1px solid #fff7;border-radius:50%;background:#1e242c7a;color:white;backdrop-filter:blur(5px)}
.room-gallery-stage>button:hover{background:var(--brand)}
.room-photo-prev{left:14px}
.room-photo-next{right:14px}
.room-gallery-stage>button svg{width:19px;height:19px}
.room-photo-prev svg{transform:rotate(180deg)}
.room-photo-count{position:absolute;bottom:16px;right:18px;color:white;z-index:1;font:500 16px/1.4 var(--ui-display);text-shadow:0 1px 4px #0007}
.room-photo-thumbs{display:flex;gap:10px;padding:15px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;background:linear-gradient(#40454cf0,#40454cf0),url('/assets/pattern-gray.png') center/270px}
.room-photo-thumbs button{flex:1 0 60px;min-width:0;max-width:100px;height:66px;min-height:44px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:5px;opacity:.55}
.room-photo-thumbs button[aria-pressed="true"]{border-color:var(--orange);opacity:1}
.room-photo-thumbs button:hover{opacity:1}
.room-photo-thumbs img{width:100%;height:100%;object-fit:cover}
.room-gallery-stage:focus-visible,.room-gallery button:focus-visible{outline-offset:-4px}
.room-overview{grid-column:2;grid-row:1;padding:25px 24px 20px;border-left:1px solid var(--line)}
.room-kicker{font:500 9px/1.6 var(--sans);letter-spacing:1.7px;color:var(--orange);margin-bottom:9px}
.room-overview h4{font:400 28px/1.3 var(--display);margin:0 0 13px;color:var(--ink)}
.room-description{font-size:12px;line-height:1.9;color:var(--brand)}
.room-overview-section{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}
.branch-room-detail h5{font:500 13px/1.7 var(--sans);margin:0 0 13px;color:var(--ink)}
.room-icon-list{list-style:none;display:grid;gap:11px;margin:0;padding:0}
.room-icon-list li{display:flex;align-items:flex-start;gap:10px;color:var(--brand);font-size:12px;line-height:1.7}
.room-icon-list svg{width:20px;height:20px;flex:none;color:var(--orange)}
.room-detail-short .room-overview-section:last-child .room-icon-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px}
.room-detail-long .room-overview-section:last-child .room-icon-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}
.room-price{grid-column:2;grid-row:2;padding:20px 24px 23px;border-top:1px solid var(--line);border-left:1px solid var(--line);background:var(--orange-softest)}
.room-price>strong{display:block;font:500 24px/1.4 var(--ui-display);color:var(--orange)}
.room-price>strong small{font:400 12px/1.7 var(--sans);margin-left:6px;color:var(--brand)}
.room-price>p{font-size:10px;line-height:1.8;color:var(--muted);margin-top:7px}
.room-price>p.room-card-fee{margin-top:4px}
.room-card-policy{font-size:11px;line-height:1.8;color:var(--muted)}
.room-card-fee strong,.room-card-policy strong{font-weight:600;color:var(--brand)}
.room-price-status{display:block;font-size:11px;color:#45634b;margin:14px 0 11px}
.branch-room[data-room-status="soon"] .room-price-status{color:var(--brand)}
.room-select{width:100%;min-height:46px;font-size:12px;gap:18px;color:var(--ink)}
.room-rental{grid-column:3;grid-row:1/3;padding:25px 23px;border-left:1px solid var(--orange-border);background:var(--orange-softest)}
.room-rental h4{font:500 15px/1.6 var(--sans);margin:0 0 24px;color:var(--ink)}
.room-rental>section+section{border-top:1px solid var(--orange-border);padding-top:22px;margin-top:23px}
.room-rental .branch-room-facts{margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.branch-room-facts>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;font-size:11px;line-height:1.8;min-width:0;align-items:baseline}
.branch-room-facts dt{color:var(--muted)}
.branch-room-facts dd{margin:0;text-align:right;color:var(--brand)}
.branch-room-more{display:flex;align-items:center;justify-content:center;gap:15px;border:1px solid var(--orange);border-radius:7px;min-height:44px;min-width:180px;padding:10px 18px;margin:24px auto 0;color:var(--brand);font-size:12px;background:#fff}
.branch-room-more:hover{background:var(--orange-soft)}
.branch-room-more svg{width:18px;height:18px}
.branch-room-note{font-size:11px;line-height:1.8;color:var(--muted);margin:23px 0 0}
.branch-room-empty{background:var(--orange-softest);padding:22px;border:1px solid var(--orange-border);border-radius:8px;font-size:13px;color:var(--muted)}
body[data-page="branch"] .branch-information{margin-top:48px}
.branch-information a{color:var(--orange);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.branch-information a:hover,.branch-information a:focus-visible{text-decoration-thickness:2px}
.photo-thumbs{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:4px;padding:10px 4px 4px;margin-top:9px;scrollbar-width:thin}
.photo-thumbs button{width:86px;height:58px;flex:none;padding:0;border:2px solid transparent;border-radius:5px;overflow:hidden;opacity:.6;scroll-snap-align:center}
.photo-thumbs button[aria-pressed="true"]{border-color:var(--orange);opacity:1}
.photo-thumbs img{width:100%;height:100%;object-fit:cover}
.photo-thumbs button:focus-visible{outline-offset:0}
body[data-page="branch"] .photo-dialog>img{height:58dvh}
@media(max-width:1100px){
 body[data-page="branch"] .branch-gallery{grid-template-rows:195px 195px}
 .branch-room-toolbar{align-items:flex-start;gap:15px}
 .room-detail-long{grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(0,1fr)}
 .room-overview,.room-price{padding-inline:19px}
 .room-rental{padding-inline:19px}
}
@media(min-width:641px) and (max-width:1000px){
 .room-detail-long{grid-template-columns:repeat(2,minmax(0,1fr))}
 .room-detail-long .room-gallery{grid-column:1;grid-row:1}
 .room-detail-long .room-overview{grid-column:2;grid-row:1}
 .room-detail-long .room-rental{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border-left:0;border-top:1px solid var(--orange-border)}
 .room-detail-long .room-rental>.room-kicker{grid-column:1/-1;margin-bottom:-16px}
 .room-detail-long .room-rental>h4{grid-column:1/-1;margin-bottom:0}
 .room-detail-long .room-rental>section+section{margin:0;padding:0 0 0 20px;border-top:0;border-left:1px solid var(--orange-border)}
 .room-detail-long .room-price{grid-column:1/-1;grid-row:3;border-left:0}
 .room-detail-long .room-select{width:auto;min-width:220px}
 .room-detail-long .room-price-status{display:inline-block;margin-right:18px}
}
@media(max-width:900px){
 body[data-page="branch"] .branch-body{grid-template-columns:minmax(0,1fr)}
 .branch-booking{position:static;max-width:100%}
 .branch-amenities ul{gap:20px 24px}
 .branch-booking{margin-bottom:30px}
}
@media(min-width:641px) and (max-width:800px){
 .room-detail-long .room-rental{grid-template-columns:repeat(2,minmax(0,1fr))}
 .room-detail-long .room-rental>section:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--orange-border);padding:20px 0 0}
}
@media(max-width:640px){
 body[data-page="branch"] .branch-page-top{display:block;padding-block:20px 25px}
 .branch-page-actions{margin:25px 0 0;align-items:flex-end;gap:7px}
 .branch-page-actions .pill{font-size:13px;gap:15px;min-height:48px}
 body[data-page="branch"] .branch-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:220px 105px 105px;gap:7px;border-radius:9px}
 body[data-page="branch"] .gallery-tile:first-child{grid-column:1/3;grid-row:1}
 body[data-page="branch"] .gallery-all{right:10px;bottom:10px;font-size:11px;min-height:44px;padding:10px 12px}
 .branch-amenities{padding-block:26px 29px;margin-bottom:28px}
 .branch-amenities h2{font-size:28px;margin-bottom:22px}
 .branch-amenities ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}
 .branch-amenities li{font-size:12px;gap:8px;align-items:flex-start}
 .branch-amenities svg{width:23px;height:23px}
 .branch-room-toolbar{display:block;margin-block:24px}
 .branch-room-filters{gap:7px;flex-wrap:nowrap}
 .branch-room-filters button{font-size:12px;padding:10px 9px;flex:1;white-space:nowrap}
 .branch-room-filters [data-room-filter-count]{margin-left:2px;min-width:0}
 .branch-room-stay{display:grid;grid-template-columns:auto minmax(0,1fr);margin-top:16px;font-size:12px;gap:13px}
 .branch-room-stay select{font-size:16px;min-height:48px;width:100%}
 .branch-room-only-long{display:block;margin-top:15px}
 .branch-room-list-heading{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:18px}
 .branch-room-list-heading h3{font-size:25px}
 .branch-room-list-heading p{font-size:12px;max-width:100%;text-align:left;margin:0}
 .branch-room-caption{padding:11px 12px 9px;align-items:flex-start;gap:10px}
 .branch-room-status{font-size:10px;max-width:145px}
 .branch-room-code{font-size:12px;padding:3px 8px}
 .branch-room-band{padding:13px 12px;gap:10px;align-items:center}
 .branch-room-band strong{font-size:20px}
 .branch-room-band strong small{display:inline;font-size:10px}
 .branch-room-band>div>span{font-size:11px}
 .branch-room-band b{margin-inline:2px}
 .branch-room-view{min-width:66px;font-size:11px;padding:7px 9px;gap:4px}
 .branch-choices>h2,.branch-information>h2{font-size:30px}
 .branch-room-detail{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;padding:0}
 .room-gallery,.room-overview,.room-rental,.room-price{grid-column:1;grid-row:auto;border-left:0}
 .room-gallery-stage{min-height:0;flex:none;aspect-ratio:4/3}
 .room-photo-thumbs{gap:8px;padding:12px}
 .room-photo-thumbs button{height:53px;flex:1 0 52px}
 .room-photo-count{bottom:12px;right:14px;font-size:14px}
 .room-photo-prev{left:10px}
 .room-photo-next{right:10px}
 .room-overview{padding:22px 19px}
 .room-overview h4{font-size:27px}
 .room-description,.room-icon-list li{font-size:12px}
 .room-rental{padding:23px 19px;border-top:1px solid var(--orange-border)}
 .room-rental h4{font-size:16px}
 .room-rental .branch-room-facts{gap:13px}
 .branch-room-facts>div{font-size:12px;gap:12px}
 .room-price{padding:22px 19px}
 .room-select{font-size:13px;min-height:48px}
 .room-detail-short .room-overview-section:last-child .room-icon-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}
 .branch-room-more{width:100%;font-size:13px;min-height:48px}
 .photo-thumbs button{width:70px;height:48px}
 body[data-page="branch"] .photo-dialog>img{height:51dvh}
}
@media(prefers-reduced-motion:reduce){.branch-room-view svg,.branch-room-filters button{transition:none}}
