/* Shared hotel and room galleries: inline browsing never depends on a lightbox. */
.hotel-gallery.gallery-interactive { isolation:isolate; }
.gallery-interactive .gallery-stage { position:relative; overflow:hidden; touch-action:pan-y pinch-zoom; }
.gallery-interactive .gallery-main { cursor:zoom-in; touch-action:pan-y pinch-zoom; }
.gallery-interactive .gallery-main img { user-select:none; -webkit-user-drag:none; transform:translateX(var(--gallery-drag,0px)); transition:transform .22s ease; }
.gallery-interactive .gallery-main:hover img { transform:translateX(var(--gallery-drag,0px)); }
.gallery-interactive .is-dragging,.gallery-interactive .is-dragging .gallery-main { cursor:grabbing; }
.gallery-interactive .is-dragging img { transition:none; }
.gallery-interactive .gallery-nav,.gallery-interactive .gallery-expand { position:absolute; z-index:2; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #ffffff70; border-radius:50%; background:#fffefaf0; color:var(--ink,#173c40); box-shadow:0 3px 16px #102d3020; backdrop-filter:blur(8px); cursor:pointer; transition:background .18s,transform .18s; }
.gallery-interactive .gallery-nav { top:calc(50% - 22px); }
.gallery-interactive .gallery-previous { left:15px; }.gallery-interactive .gallery-next { right:15px; }
.gallery-interactive .gallery-expand { right:15px; top:15px; width:38px; height:38px; border-radius:12px; }
.gallery-interactive .gallery-nav .icon,.gallery-interactive .gallery-expand .icon { width:19px; height:19px; }
.gallery-interactive .gallery-previous .icon,.gallery-lightbox [data-lightbox-step="-1"] .icon { transform:rotate(180deg); }
.gallery-interactive .gallery-nav:hover,.gallery-interactive .gallery-expand:hover { background:#e3edc8; }
.gallery-interactive .gallery-nav:active,.gallery-interactive .gallery-expand:active { transform:scale(.95); }
.gallery-interactive button:focus-visible,.gallery-lightbox button:focus-visible { outline:3px solid #edcf76; outline-offset:-4px; }
.hotel-gallery.gallery-interactive .gallery-stage>.gallery-count { bottom:15px; right:15px; pointer-events:none; min-width:64px; justify-content:center; font-variant-numeric:tabular-nums; }
.gallery-interactive .gallery-thumbnails { overscroll-behavior-x:contain; scroll-behavior:auto; padding:11px; gap:8px; }
.gallery-interactive .gallery-thumbnails button { border:0; box-shadow:none; opacity:.64; outline-offset:-3px; }
.gallery-interactive .gallery-thumbnails button[aria-pressed="true"] { opacity:1; box-shadow:inset 0 0 0 3px #173c40; position:relative; }
.gallery-interactive .gallery-thumbnails button[aria-pressed="true"]::after { content:""; position:absolute; inset:0; border:3px solid #173c40; border-radius:inherit; pointer-events:none; }
.gallery-interactive .gallery-thumbnails button:hover { opacity:1; box-shadow:none; }
.gallery-interactive [hidden],.gallery-lightbox [hidden] { display:none!important; }
.hotel-gallery.gallery-compact { border-radius:17px; }
.hotel-page .gallery-compact .gallery-main,.gallery-compact .gallery-main { height:clamp(180px,24vw,250px); }
.gallery-compact .gallery-thumbnails { padding:8px; gap:6px; }
.gallery-compact .gallery-thumbnails button { width:62px; flex-basis:62px; height:44px; border-radius:9px; }
.gallery-lightbox .lightbox-stage { width:100%; height:100%; touch-action:pan-y pinch-zoom; }
.gallery-lightbox .lightbox-image { user-select:none; -webkit-user-drag:none; transform:translateX(var(--gallery-drag,0px)); transition:transform .22s ease; }
.gallery-lightbox .is-dragging .lightbox-image { transition:none; cursor:grabbing; }
.gallery-lightbox .photo-unavailable { margin:0; color:#e3eacb; height:100%; }
.gallery-lightbox .lightbox-controls .icon-button { color:#173c40; }
.gallery-lightbox .lightbox-controls .icon-button:disabled { opacity:.35; }
@media(max-width:680px) {
  .gallery-interactive .gallery-previous { left:11px; }.gallery-interactive .gallery-next { right:11px; }
  .gallery-interactive .gallery-expand { top:11px; right:11px; }
  .hotel-gallery.gallery-interactive .gallery-stage>.gallery-count { bottom:11px; right:11px; }
  .gallery-interactive .gallery-thumbnails { padding:9px; gap:6px; }
  .hotel-page .gallery-compact .gallery-main,.gallery-compact .gallery-main { height:220px; }
}
@media(prefers-reduced-motion:reduce) {
  .gallery-interactive .gallery-main img,.gallery-interactive .gallery-nav,.gallery-interactive .gallery-expand,.gallery-lightbox .lightbox-image { transition:none; }
}

/* A quiet status appears only when decoding takes longer than a quick tap. */
.gallery-load-status { position:absolute; z-index:3; left:50%; bottom:72px; transform:translateX(-50%); max-width:85%; padding:8px 14px; border-radius:20px; background:#173c40e8; color:#fffefa; font-size:12px; pointer-events:none; text-align:center; }
