/* Hotel Booking Manager – frontend. All rules are scoped to .hbm to avoid theme conflicts. */
.hbm{box-sizing:border-box;--hbm-primary:#0f4c81;--hbm-secondary:#f4b400;--hbm-button:#0f4c81;--hbm-radius:14px;--hbm-shadow:0 1px 2px rgba(16,24,40,.06),0 4px 14px rgba(16,24,40,.08);--hbm-cols:3;--hbm-text:#1c2430;--hbm-muted:#5b6675;--hbm-border:#e3e7ec;--hbm-bg-soft:#f6f8fa;--hbm-ok:#137a3a;--hbm-warn:#8a5a00;--hbm-err:#b42318;--hbm-sticky-top:24px;--hbm-gutter-n:10;--hbm-gutter:min(calc(var(--hbm-gutter-n) * 1vw), calc(var(--hbm-gutter-n) * 1.5%));color:var(--hbm-text);line-height:1.55;font-size:16px}
.hbm *,.hbm *::before,.hbm *::after{box-sizing:border-box}
.hbm img{max-width:100%;height:auto;display:block}
.hbm a{color:var(--hbm-primary)}
.hbm h1,.hbm h2,.hbm h3{color:var(--hbm-text);line-height:1.25;margin:0 0 .5em;font-weight:700;letter-spacing:-.01em}
.hbm .screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.hbm .hbm-icon{flex:none;width:20px;height:20px;color:var(--hbm-primary)}

/* Buttons */
.hbm .hbm-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;background:var(--hbm-button);color:#fff;border:2px solid var(--hbm-button);border-radius:calc(var(--hbm-radius) * .7);padding:.7em 1.3em;font:inherit;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;transition:filter .15s,transform .15s,box-shadow .15s;text-align:center}
.hbm .hbm-btn:hover,.hbm .hbm-btn:focus-visible{filter:brightness(1.12);color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.hbm .hbm-btn:focus-visible{outline:3px solid var(--hbm-secondary);outline-offset:2px}
.hbm .hbm-btn:disabled,.hbm .hbm-btn[aria-busy=true]{opacity:.65;cursor:progress}
.hbm .hbm-btn--ghost{background:#fff;color:var(--hbm-button)}
.hbm .hbm-btn--ghost:hover{color:var(--hbm-button);background:var(--hbm-bg-soft)}
.hbm .hbm-btn--sm{padding:.55em .95em;font-size:.9em}
.hbm .hbm-btn--lg{padding:.95em 1.4em;font-size:1.05em}
.hbm .hbm-btn--block{display:flex;width:100%}

/* Form controls */
.hbm .hbm-field{display:flex;flex-direction:column;gap:4px;min-width:0}
.hbm .hbm-field label,.hbm .hbm-label{font-size:.8em;font-weight:600;color:var(--hbm-muted);text-transform:uppercase;letter-spacing:.04em;margin:0}
.hbm input[type=text],.hbm input[type=search],.hbm input[type=email],.hbm input[type=tel],.hbm input[type=number],.hbm input[type=date],.hbm select,.hbm textarea{width:100%;min-height:44px;padding:.55em .75em;border:1px solid var(--hbm-border);border-radius:10px;background:#fff;color:var(--hbm-text);font:inherit;font-size:16px;line-height:1.3;box-shadow:none;margin:0;appearance:auto}
.hbm textarea{min-height:84px;resize:vertical}
.hbm input:focus,.hbm select:focus,.hbm textarea:focus{outline:none;border-color:var(--hbm-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--hbm-primary) 18%,transparent)}
.hbm .is-invalid{border-color:var(--hbm-err)!important}
.hbm .hbm-req{color:var(--hbm-err)}
.hbm .hbm-hint{font-size:.85em;color:var(--hbm-muted);margin:.4em 0 0}
.hbm .hbm-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.hbm .hbm-check{display:flex;align-items:center;gap:8px;font-size:.95em;font-weight:400;text-transform:none;letter-spacing:0;color:var(--hbm-text);padding:4px 0;cursor:pointer}
.hbm .hbm-check input{width:18px;height:18px;margin:0;accent-color:var(--hbm-primary)}

/* Search bar */
.hbm-search{margin:0 0 24px}
.hbm-search__bar{display:grid;grid-template-columns:2fr 1fr 1fr .7fr .7fr auto;gap:12px;align-items:end;background:#fff;border:1px solid var(--hbm-border);border-radius:var(--hbm-radius);box-shadow:var(--hbm-shadow);padding:16px}
.hbm .hbm-search__submit{min-height:44px;padding-inline:1.8em}

/* Results */
.hbm-results-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 16px}
.hbm-sort{display:flex;align-items:center;gap:8px}
.hbm .hbm-sort label{font-size:.85em;font-weight:600;color:var(--hbm-muted);white-space:nowrap;margin:0}
.hbm .hbm-sort select{width:auto;min-width:190px}

/* Directory layout: full-width page with side spacing, search on top, filters left */
.hbm.hbm-directory.has-hero{--hbm-hero-h:420px;--hbm-hero-overlay:.35;--hbm-hero-color:#fff}
.hbm-hero{position:relative;display:flex;align-items:center;justify-content:center;min-height:var(--hbm-hero-h);margin:0 0 28px;overflow:hidden;background:linear-gradient(135deg,var(--hbm-primary),color-mix(in srgb,var(--hbm-primary) 55%,#000));color:var(--hbm-hero-color);text-align:center;isolation:isolate}
/* Full width: break out of the side spacing so the photo runs edge to edge. */
.hbm-hero--full .hbm-hero{margin-left:calc(-1 * var(--hbm-pad));margin-right:calc(-1 * var(--hbm-pad))}
.hbm-hero--content .hbm-hero{border-radius:var(--hbm-radius)}
.hbm .hbm-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;max-width:none}
.hbm-hero__overlay{position:absolute;inset:0;z-index:-1;background:rgba(0,0,0,var(--hbm-hero-overlay))}
.hbm-hero:not(.has-image) .hbm-hero__overlay{background:transparent}
.hbm-hero__content{max-width:min(900px,90%);padding:48px 16px}
.hbm-hero--overlap .hbm-hero__content{padding-bottom:88px}
.hbm .hbm-hero__title{color:inherit;font-size:clamp(1.9rem,4.5vw,3.4rem);line-height:1.12;font-weight:800;letter-spacing:-.02em;margin:0;text-shadow:0 2px 18px rgba(0,0,0,.28)}
.hbm .hbm-hero__subtitle{color:inherit;font-size:clamp(1rem,1.8vw,1.3rem);line-height:1.5;margin:14px auto 0;max-width:680px;opacity:.95;text-shadow:0 1px 10px rgba(0,0,0,.3)}
/* Search bar overlaps the bottom of the header. */
.hbm-hero--overlap .hbm-hero{margin-bottom:0}
.hbm-hero--overlap .hbm-search__bar{position:relative;z-index:2;margin-top:-56px;box-shadow:0 12px 40px rgba(16,24,40,.18)}

.hbm.hbm-directory{--hbm-pad:var(--hbm-gutter);max-width:none;padding-left:var(--hbm-pad);padding-right:var(--hbm-pad)}
.hbm-dir{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:start;margin-top:28px}
.hbm-dir__sidebar{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:var(--hbm-radius)}
body.admin-bar .hbm-dir__sidebar{top:56px;max-height:calc(100vh - 80px)}
.hbm-dir__results{min-width:0;container-type:inline-size;container-name:hbmres}
.hbm-filters-toggle__summary{display:none}
.hbm-filters{background:#fff;border:1px solid var(--hbm-border);border-radius:var(--hbm-radius);box-shadow:var(--hbm-shadow);padding:18px 20px 20px}
.hbm-filters__head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 4px}
.hbm .hbm-filters__title{font-size:1.1em;margin:0}
.hbm-fgroup{border:0;border-top:1px solid var(--hbm-border);margin:0;padding:14px 0;min-width:0}
.hbm-filters__head + .hbm-fgroup{border-top:0}
.hbm .hbm-fgroup legend,.hbm .hbm-fgroup.hbm-field > label{font-size:.92em;font-weight:700;color:var(--hbm-text);text-transform:none;letter-spacing:0;padding:0;margin:0 0 8px}
.hbm .hbm-fgroup legend{float:left;width:100%}
.hbm .hbm-fgroup legend + *{clear:both}
.hbm-range{display:flex;align-items:center;gap:8px}
.hbm .hbm-check--radio input{accent-color:var(--hbm-primary)}
.hbm-check__stars{display:inline-flex;align-items:center;gap:6px}
.hbm-check__stars small{color:var(--hbm-muted)}
.hbm-more summary{cursor:pointer;color:var(--hbm-primary);font-weight:600;font-size:.9em;padding:6px 0 2px;list-style:none}
.hbm-more summary::-webkit-details-marker{display:none}
.hbm-more[open] summary{display:none}
.hbm-filters__actions{position:sticky;bottom:-20px;background:#fff;padding:12px 0 0;margin-top:4px;border-top:1px solid var(--hbm-border)}
.hbm-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--hbm-primary);color:#fff;font-size:.78em;margin-left:6px}
@container hbmres (max-width:720px){.hbm-dir__results .hbm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container hbmres (max-width:460px){.hbm-dir__results .hbm-grid{grid-template-columns:1fr}}
.hbm-results-count{margin:0;font-weight:600}
.hbm-results-count span{font-weight:400;color:var(--hbm-muted)}
.hbm-notice{padding:12px 16px;border-radius:10px;background:var(--hbm-bg-soft);margin:0 0 16px}
.hbm-notice--warn{background:#fff7e0;color:var(--hbm-warn)}
.hbm-empty{text-align:center;padding:40px 20px;background:var(--hbm-bg-soft);border-radius:var(--hbm-radius)}

/* Card grid */
.hbm-grid{display:grid;grid-template-columns:repeat(var(--hbm-cols),minmax(0,1fr));gap:24px}
.hbm-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--hbm-border);border-radius:var(--hbm-radius);box-shadow:var(--hbm-shadow);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;min-width:0}
.hbm-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(16,24,40,.14)}
.hbm-card__media{position:relative;display:block;aspect-ratio:4/3;background:var(--hbm-bg-soft);overflow:hidden}
.hbm .hbm-card__img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hbm-card:hover .hbm-card__img{transform:scale(1.05)}
.hbm-card__placeholder{display:flex;align-items:center;justify-content:center;height:100%}
.hbm-card__placeholder .hbm-icon{width:56px;height:56px;opacity:.35}
.hbm-badge{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.95);color:var(--hbm-text);font-size:.75em;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:4px 10px;border-radius:999px}
.hbm-badge--muted{left:auto;right:12px;background:rgba(28,36,48,.85);color:#fff}
.hbm-badge--inline{position:static;display:inline-block;background:var(--hbm-bg-soft)}
.hbm-card__body{display:flex;flex-direction:column;gap:8px;flex:1;padding:16px 18px 18px}
.hbm .hbm-card__title{font-size:1.15em;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hbm .hbm-card__title a{color:inherit;text-decoration:none}
.hbm .hbm-card__title a:hover{color:var(--hbm-primary)}
.hbm-card__location{display:flex;align-items:center;gap:6px;margin:0;color:var(--hbm-muted);font-size:.9em}
.hbm-card__location span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hbm-card__location .hbm-icon{width:16px;height:16px}
.hbm-card__desc{margin:0;color:var(--hbm-muted);font-size:.93em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.4em}
.hbm-card__amenities{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.hbm-card__amenities li{display:flex;align-items:center;gap:4px;font-size:.78em;background:var(--hbm-bg-soft);padding:3px 8px;border-radius:999px;margin:0}
.hbm-card__amenities .hbm-icon{width:14px;height:14px}
.hbm-card__footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--hbm-border);display:flex;flex-direction:column;align-items:stretch;gap:10px}
.hbm-card__footer .hbm-btn{width:100%}
.hbm-card__price{margin:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px}
.hbm-card__price strong{font-size:1.15em}
.hbm-card__from,.hbm-card__per{font-size:.8em;color:var(--hbm-muted)}
.hbm-stars{display:inline-flex;gap:1px;font-size:1em;line-height:1}
.hbm-star{color:#d5dae1}.hbm-star.is-on{color:var(--hbm-secondary)}

/* Pagination */
.hbm-pagination{margin:32px 0 8px}
.hbm-pagination ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.hbm-pagination li{margin:0}
.hbm .hbm-page{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;border:1px solid var(--hbm-border);border-radius:10px;background:#fff;color:var(--hbm-text);text-decoration:none;font-weight:600}
.hbm a.hbm-page:hover{border-color:var(--hbm-primary);color:var(--hbm-primary)}
.hbm .hbm-page.is-current{background:var(--hbm-primary);border-color:var(--hbm-primary);color:#fff}
.hbm .hbm-page.is-disabled{opacity:.45}
.hbm .hbm-page--gap{border:0;background:none;min-width:20px;padding:0}

/* Home */
.hbm-section-title{text-align:center}
.hbm-home__more{text-align:center;margin-top:32px}

/* Single */
.hbm-page-wrap{max-width:1240px;margin:0 auto;padding:24px 20px 48px}
.hbm-single__header{margin:0 0 16px}
.hbm-single__eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.hbm .hbm-single__title{font-size:clamp(1.6rem,3vw,2.3rem);margin:0 0 6px}
.hbm-single__address{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--hbm-muted);margin:0}
.hbm-single__address .hbm-icon{width:18px;height:18px}
.hbm-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:220px 220px;gap:8px;border-radius:var(--hbm-radius);overflow:hidden;margin:0 0 28px}
.hbm-gallery__item{position:relative;display:block;overflow:hidden;background:var(--hbm-bg-soft)}
.hbm-gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.hbm-gallery__item:hover img{transform:scale(1.04)}
.hbm-gallery__item:first-child{grid-row:1/3}
.hbm-gallery__item.is-hidden{display:none}
.hbm-gallery--1{grid-template-columns:1fr;grid-template-rows:440px}
.hbm-gallery--2{grid-template-columns:2fr 1fr;grid-template-rows:440px}
.hbm-gallery--2 .hbm-gallery__item:first-child{grid-row:auto}
.hbm-gallery--3{grid-template-columns:2fr 1fr}
.hbm-gallery--4{grid-template-columns:2fr 1fr 1fr}
.hbm-gallery--4 .hbm-gallery__item:nth-child(4){grid-column:2/4}
.hbm-gallery__more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,23,32,.55);color:#fff;font-weight:700;font-size:1.2em}
.hbm-single__layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:40px;align-items:start}
.hbm-single__main{min-width:0}
.hbm-single__sidebar{position:sticky;top:var(--hbm-sticky-top);align-self:start;max-height:calc(100vh - var(--hbm-sticky-top) - 16px);overflow-y:auto;overscroll-behavior:contain;border-radius:var(--hbm-radius);scrollbar-width:thin}
body.admin-bar .hbm-single__sidebar{top:calc(var(--hbm-sticky-top) + 32px);max-height:calc(100vh - var(--hbm-sticky-top) - 48px)}
.hbm-facts{list-style:none;margin:0 0 8px;padding:0 0 20px;display:flex;flex-wrap:wrap;gap:10px 22px;border-bottom:1px solid var(--hbm-border)}
.hbm-facts li{display:flex;align-items:center;gap:8px;margin:0;font-weight:500}
.hbm-section{padding:24px 0;border-bottom:1px solid var(--hbm-border)}
.hbm-section:last-child{border-bottom:0}
.hbm .hbm-section h2{font-size:1.3em}
.hbm .hbm-amen-cat{font-size:.95em;color:var(--hbm-muted);margin:16px 0 8px;font-weight:600}
.hbm-amenities{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 18px}
.hbm-amenities li{display:flex;align-items:center;gap:10px;margin:0}
.hbm-amenities .hbm-icon{width:22px;height:22px;padding:4px;box-sizing:content-box;background:color-mix(in srgb,var(--hbm-primary) 9%,#fff);border-radius:8px}
.hbm-dl{margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.hbm-dl div{background:var(--hbm-bg-soft);border-radius:10px;padding:10px 14px}
.hbm-dl dt{font-size:.8em;color:var(--hbm-muted);text-transform:uppercase;letter-spacing:.04em;font-weight:600}
.hbm-dl dd{margin:2px 0 0;font-weight:600}
.hbm-map{position:relative;aspect-ratio:16/9;border-radius:var(--hbm-radius);overflow:hidden;background:var(--hbm-bg-soft)}
.hbm-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.hbm-contact{list-style:none;padding:0;margin:0}

/* Booking box */
.hbm-booking{background:#fff;border:1px solid var(--hbm-border);border-radius:var(--hbm-radius);box-shadow:0 8px 30px rgba(16,24,40,.12);padding:20px}
.hbm-booking__price{display:flex;align-items:baseline;gap:6px;margin:0 0 14px}
.hbm-booking__price strong{font-size:1.5em}
.hbm-booking__price span{color:var(--hbm-muted)}
.hbm-fieldset{border:0;margin:0 0 14px;padding:0;min-width:0}
.hbm-fieldset legend{font-weight:700;padding:0;margin:0 0 8px;font-size:1em}
.hbm-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hbm-booking .hbm-field{margin:0 0 10px}
.hbm-booking .hbm-row .hbm-field{margin-bottom:10px}
.hbm-alert{padding:10px 14px;border-radius:10px;background:#fdecea;color:var(--hbm-err);margin:0 0 12px;font-weight:500}
.hbm-alert.is-ok{background:#e7f6ec;color:var(--hbm-ok)}
.hbm-summary{background:var(--hbm-bg-soft);border-radius:12px;padding:12px 14px;margin:0 0 14px}
.hbm-summary__status{margin:0 0 6px;font-weight:600;font-size:.92em}
.hbm-summary__status.is-ok{color:var(--hbm-ok)}
.hbm-summary__status.is-err{color:var(--hbm-err)}
.hbm .hbm-summary__table{width:100%;border-collapse:collapse;margin:0;border:0;font-size:.93em}
.hbm .hbm-summary__table th,.hbm .hbm-summary__table td{padding:5px 0;border:0;background:none;text-align:left;font-weight:400}
.hbm .hbm-summary__table td{text-align:right;white-space:nowrap;padding-left:8px}
.hbm .hbm-summary__table tfoot th,.hbm .hbm-summary__table tfoot td{border-top:1px solid var(--hbm-border);padding-top:9px;font-weight:700;font-size:1.08em}
.hbm-booking__note{text-align:center}
.hbm .hbm-booking__submit{margin-top:6px}
.hbm-cal-toggle{margin:0 0 12px}
.hbm-cal-toggle summary{cursor:pointer;color:var(--hbm-primary);font-weight:600;font-size:.92em;padding:4px 0}
.hbm-calendar{margin-top:8px}
.hbm-calendar__loading{color:var(--hbm-muted);font-size:.9em}
.hbm-cal__nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.hbm .hbm-cal__btn{width:34px;height:34px;border:1px solid var(--hbm-border);border-radius:8px;background:#fff;cursor:pointer;font-size:18px;line-height:1;color:var(--hbm-text);padding:0}
.hbm .hbm-cal__btn:disabled{opacity:.35;cursor:default}
.hbm-cal__title{font-weight:700}
.hbm-cal__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.hbm-cal__wd{font-size:.72em;color:var(--hbm-muted);font-weight:600;padding:4px 0}
.hbm .hbm-cal__day{height:36px;border:0;border-radius:8px;background:none;font:inherit;font-size:.9em;color:var(--hbm-text);cursor:pointer;padding:0}
.hbm .hbm-cal__day:hover:not(:disabled){background:var(--hbm-bg-soft)}
.hbm .hbm-cal__day:disabled{cursor:default;color:#aab2bd}
.hbm .hbm-cal__day.is-busy{text-decoration:line-through;background:#fbeaea;color:#b9878a}
.hbm .hbm-cal__day.is-sel{background:color-mix(in srgb,var(--hbm-primary) 16%,#fff);border-radius:0}
.hbm .hbm-cal__day.is-start,.hbm .hbm-cal__day.is-end{background:var(--hbm-primary);color:#fff;border-radius:8px}
.hbm-calendar__legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:.8em;color:var(--hbm-muted);margin:8px 0 0}
.hbm-legend{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:-8px;border:1px solid var(--hbm-border)}
.hbm-legend--free{background:#fff}.hbm-legend--busy{background:#fbeaea}.hbm-legend--sel{background:var(--hbm-primary)}

/* Room types */
.hbm-rooms-pick{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.hbm-room-opt{position:relative;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1.5px solid var(--hbm-border);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s;text-transform:none;letter-spacing:0;font-size:1em;color:var(--hbm-text)}
.hbm-room-opt:hover{border-color:color-mix(in srgb,var(--hbm-primary) 50%,var(--hbm-border))}
.hbm-room-opt input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--hbm-primary)}
.hbm-room-opt.is-selected{border-color:var(--hbm-primary);background:color-mix(in srgb,var(--hbm-primary) 6%,#fff)}
.hbm-room-opt__body{display:flex;flex-direction:column;min-width:0;flex:1}
.hbm-room-opt__name{font-weight:700;line-height:1.3}
.hbm-room-opt__meta{font-size:.82em;color:var(--hbm-muted);line-height:1.35}
.hbm-room-opt__status{font-size:.8em;font-weight:600;color:var(--hbm-ok)}
.hbm-room-opt__status:empty{display:none}
.hbm-room-opt.is-few .hbm-room-opt__status{color:var(--hbm-warn)}
.hbm-room-opt.is-soldout,.hbm-room-opt.is-unfit{background:var(--hbm-bg-soft)}
.hbm-room-opt.is-soldout .hbm-room-opt__status,.hbm-room-opt.is-unfit .hbm-room-opt__status{color:var(--hbm-err)}
.hbm-room-opt.is-soldout .hbm-room-opt__name{text-decoration:line-through;color:var(--hbm-muted)}
.hbm-room-opt__price{text-align:right;white-space:nowrap;display:flex;flex-direction:column;line-height:1.2}
.hbm-room-opt__price small{color:var(--hbm-muted);font-size:.75em}
.hbm-booking__from{color:var(--hbm-muted);font-size:.9em}
.hbm-room-list{display:flex;flex-direction:column;gap:12px}
.hbm-room-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--hbm-border);border-radius:var(--hbm-radius);padding:16px 18px;background:#fff}
.hbm .hbm-room-card__name{font-size:1.1em;margin:0 0 6px}
.hbm-room-card__facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 16px;color:var(--hbm-muted);font-size:.92em}
.hbm-room-card__facts li{display:flex;align-items:center;gap:6px;margin:0}
.hbm-room-card__facts .hbm-icon{width:17px;height:17px}
.hbm-room-card__desc{margin:8px 0 0;font-size:.93em;color:var(--hbm-muted)}
.hbm-room-card__book{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
.hbm-room-card__price{margin:0;white-space:nowrap}
.hbm-room-card__price strong{font-size:1.2em}
.hbm-room-card__price span{color:var(--hbm-muted);font-size:.85em}
@media (max-width:640px){
	.hbm-directory .hbm-hero{min-height:min(var(--hbm-hero-h),300px)}
	.hbm-hero__content{padding:32px 12px}
	.hbm-hero--overlap .hbm-hero__content{padding-bottom:64px}
	.hbm-hero--overlap .hbm-search__bar{margin-top:-40px}.hbm-room-card{flex-direction:column;align-items:stretch}.hbm-room-card__book{flex-direction:row;align-items:center;justify-content:space-between}}

/* Confirmation */
.hbm-confirmation:focus{outline:none}
.hbm-confirmation{border:2px solid var(--hbm-ok);background:#f2fbf5;border-radius:var(--hbm-radius);padding:20px 22px;margin:0 0 28px}
.hbm-confirmation--pending{border-color:#e0a800;background:#fffaeb}
.hbm-confirmation--cancelled,.hbm-confirmation--rejected{border-color:var(--hbm-err);background:#fdf2f1}
.hbm-confirmation__notice{font-weight:600}
.hbm-confirmation .hbm-dl div{background:#fff}
.hbm-confirmation .hbm-summary__table{max-width:420px;margin-top:14px}
.hbm-status{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.85em;font-weight:700;background:#eef1f4}
.hbm-status--pending{background:#fcf0c3;color:#6e4e00}.hbm-status--confirmed,.hbm-status--completed{background:#d7f2dc;color:#0a5c1e}.hbm-status--cancelled,.hbm-status--rejected{background:#fbe0e0;color:#8a1f1f}

/* Lightbox */
.hbm-lightbox{position:fixed;inset:0;z-index:100000;background:rgba(8,12,18,.94);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:56px 64px 40px}
.hbm-lightbox[hidden]{display:none}
.hbm-lightbox img{max-width:100%;max-height:calc(100vh - 120px);object-fit:contain;border-radius:6px}
.hbm-lightbox__cap{color:#e4e8ee;margin-top:10px;font-size:.92em;text-align:center}
.hbm .hbm-lightbox__btn,.hbm-lightbox__btn{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:999px;width:48px;height:48px;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.hbm-lightbox__btn:hover{background:rgba(255,255,255,.25)}
.hbm-lightbox__close{top:14px;right:14px}
.hbm-lightbox__prev{left:12px;top:50%;transform:translateY(-50%)}
.hbm-lightbox__next{right:12px;top:50%;transform:translateY(-50%)}
.hbm-lightbox__count{position:absolute;top:24px;left:20px;color:#cfd6df;font-size:.9em}
body.hbm-noscroll{overflow:hidden}

/* Container-aware grid: adapts to narrow theme content areas and sidebars */
.hbm-directory,.hbm-home{container-type:inline-size;container-name:hbmlist}
@container hbmlist (max-width:760px){.hbm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hbm-search__bar{grid-template-columns:1fr 1fr 1fr}.hbm-search__bar .hbm-field--dest{grid-column:1/-1}}
@container hbmlist (max-width:480px){.hbm-grid{grid-template-columns:1fr}.hbm-search__bar{grid-template-columns:1fr 1fr}.hbm-search__bar .hbm-search__submit{grid-column:1/-1}}
.hbm-single{container-type:inline-size}
@container (max-width:760px){.hbm-single__layout{grid-template-columns:1fr}.hbm-single__sidebar{position:static;max-height:none;overflow:visible}}

/* Responsive */
@media (max-width:1100px){
	.hbm-search__bar{grid-template-columns:1fr 1fr 1fr;}
	.hbm-search__bar .hbm-field--dest{grid-column:1/-1}
	.hbm-search__submit{grid-column:auto}
	.hbm-single__layout{grid-template-columns:minmax(0,1fr) 340px;gap:28px}
}
@media (max-width:1024px){
	.hbm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media (max-width:900px){
	.hbm-hero{min-height:min(var(--hbm-hero-h),360px)}
	.hbm.hbm-directory{--hbm-pad:min(var(--hbm-gutter),4vw)}
	.hbm-dir{grid-template-columns:1fr;gap:16px;margin-top:12px}
	.hbm-dir__sidebar,body.admin-bar .hbm-dir__sidebar{position:static;max-height:none;overflow:visible}
	.hbm-filters-toggle__summary{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid var(--hbm-border);border-radius:10px;background:#fff;font-weight:600;cursor:pointer;list-style:none}
	.hbm-filters-toggle__summary::-webkit-details-marker{display:none}
	.hbm-filters-toggle[open] .hbm-filters{margin-top:10px}
	.hbm-filters__actions{position:static}
	.hbm .hbm-filters__title{display:none}

	.hbm-single__layout{grid-template-columns:1fr}
	.hbm-single__sidebar,body.admin-bar .hbm-single__sidebar{position:static;max-height:none;overflow:visible}
	.hbm-gallery,.hbm-gallery--3,.hbm-gallery--4{grid-template-columns:none;grid-template-rows:none;grid-auto-flow:column;grid-auto-columns:85%;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:var(--hbm-radius);-webkit-overflow-scrolling:touch}
	.hbm-gallery--1{grid-auto-columns:100%}
	.hbm-gallery__item,.hbm-gallery__item:first-child,.hbm-gallery--4 .hbm-gallery__item:nth-child(4){grid-row:auto;grid-column:auto;aspect-ratio:4/3;scroll-snap-align:start}
	.hbm-gallery__item.is-hidden{display:block}
	.hbm-gallery__more{display:none}
}
@media (max-width:640px){
	.hbm.hbm-directory{--hbm-pad:min(var(--hbm-gutter),16px)}
	.hbm-results-head{align-items:stretch}
	.hbm-sort{width:100%}
	.hbm .hbm-sort select{flex:1;min-width:0}
	.hbm-grid{grid-template-columns:1fr}
	.hbm-search__bar{grid-template-columns:1fr 1fr;padding:14px}
	.hbm-search__bar .hbm-search__submit{grid-column:1/-1}
	.hbm-page-wrap{padding:16px 14px 40px}
	.hbm-booking{padding:16px}
	.hbm-lightbox{padding:56px 8px 24px}
	.hbm-lightbox__prev,.hbm-lightbox__next{top:auto;bottom:16px;transform:none}
	.hbm .hbm-page{min-width:40px;height:40px;padding:0 10px}
	.hbm .hbm-page--prev,.hbm .hbm-page--next{padding:0 12px}
}
@media (prefers-reduced-motion:reduce){.hbm *{transition:none!important;animation:none!important}}
