/* Photo carousels and full-screen viewer (loaded on hotel pages). */
.lightbox { position: fixed; inset: 0; background: rgba(5, 12, 24, .95); display: grid; place-items: center; z-index: 100; cursor: zoom-out; touch-action: pan-y; }
.lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 12px; cursor: default; user-select: none; min-height: 0; height: auto; width: auto; }
.lb-btn, .lb-x { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font: 700 1.9rem/1 var(--font); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.lb-btn:hover, .lb-x:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-x { top: 14px; right: 14px; font-size: 1.2rem; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; background: rgba(0,0,0,.4); padding: 4px 12px; border-radius: 99px; }
.rc { position: relative; overflow: hidden; background: #f1f3f8; min-height: 130px; }
.rc-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rc-track::-webkit-scrollbar { display: none; }
.rc-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.rate .rc-track img { flex: 0 0 100%; width: 100%; height: 100%; min-height: 130px; max-height: none; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.rc-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font: 800 1.4rem/1 var(--font); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.rc-btn, .lb-btn { direction: ltr; unicode-bidi: isolate; }
.rc-prev { left: 8px; } .rc-next { right: 8px; }
.rc-count { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.rc-zoom { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.5); color: #fff; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .9rem; cursor: zoom-in; }
.gallery { position: relative; }
.g-more { position: absolute; bottom: 12px; inset-inline-end: 12px; border: 0; background: rgba(255,255,255,.95); color: var(--ink); font: 700 .9rem var(--font); padding: 8px 14px; border-radius: 99px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.hero-rc { display: none; }
/* "Securing your getaway" overlay after choosing a room. */
.cheer-fx { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(255,138,92,.96), rgba(255,79,109,.97) 55%, rgba(120,40,140,.97)); color: #fff; text-align: center; padding: 24px; animation: fxin .35s ease both; }
.cheer-fx .fx-box { max-width: 420px; }
.cheer-fx .fx-sky { position: relative; height: 110px; margin-bottom: 8px; overflow: hidden; }
.cheer-fx .fx-plane { position: absolute; top: 34px; font-size: 3rem; animation: fly 2.4s ease-in-out infinite; }
.cheer-fx .fx-cloud { position: absolute; font-size: 2rem; opacity: .75; animation: drift 6s linear infinite; }
.cheer-fx .fx-cloud.c2 { top: 64px; animation-duration: 8s; animation-delay: -3s; font-size: 1.5rem; }
.cheer-fx h2 { font-size: 1.7rem; margin: 0 0 10px; color: #fff; animation: rise .5s .1s both; }
.cheer-fx p { margin: 0 0 22px; font-weight: 600; min-height: 1.5em; opacity: .95; transition: opacity .3s; }
.cheer-fx .fx-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.3); overflow: hidden; }
.cheer-fx .fx-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 6px; animation: load 9s cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes fxin { from { opacity: 0; } }
@keyframes fly { 0% { left: -15%; transform: translateY(6px) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(4deg); } 100% { left: 105%; transform: translateY(6px) rotate(-6deg); } }
@keyframes drift { from { left: 110%; } to { left: -20%; } }
@keyframes load { to { width: 92%; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .cheer-fx *, .cheer-fx { animation: none !important; } .cheer-fx .fx-bar i { width: 60%; } }
@media (max-width: 640px) {
  .gallery { display: none; }
  .hero-rc { display: block; margin: 14px -4px 4px; }
  .hero-rc .rc { height: 270px; border-radius: 18px; }
  .hero-rc .rc-track img { height: 270px; }
}
@media (max-width: 760px) {
  .rate .rc, .rate .rc-track img { height: 230px; max-height: none; }
}
