/* The hotel dialog: gallery, rooms, and one room opened in place. */
.stay-sheet {
  background: rgba(10, 16, 34, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.stay-panel {
  display: block;
  width: min(62rem, 100%);
  max-height: min(94vh, 58rem);
  border-radius: 26px;
  overscroll-behavior: contain;
}

.stay-view[hidden] { display: none; }

.stay-bar {
  z-index: 5;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 1.2rem 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 40, 90, 0.06);
}

.stay-heading { display: grid; flex: 1; gap: 0.3rem; min-width: 0; }

.stay-bar .stay-title {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem 0.7rem;
}

.stay-bar .stay-name { font-size: 1.28rem; letter-spacing: -0.01em; }

.stay-bar .stay-address { color: #5a6a94; font-size: 0.84rem; }

.stay-x.is-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  min-height: 0;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
}

.stay-x.is-icon .stay-glyph { width: 1.15rem; height: 1.15rem; margin: 0; }

.stay-main { gap: 1rem; padding: 1.1rem 1.2rem 0; grid-template-columns: minmax(0, 1fr); }

.stay-main .stay-stage { aspect-ratio: 16 / 10; border-radius: 20px; }

@media (min-width: 760px) {
  .stay-main .stay-stage { aspect-ratio: 2.2 / 1; }
}

.stay-main .stay-thumb { width: 5rem; height: 3.4rem; border-radius: 10px; }

.stay-facts { gap: 0.8rem; }

.stay-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.55rem; }

.stay-tiles .stay-fact {
  gap: 0.6rem;
  padding: 0.72rem 0.9rem;
  border-radius: 14px;
  background: #f4f6fb;
  color: #24325c;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

.stay-tiles .stay-fact .stay-glyph { width: 1.2rem; height: 1.2rem; color: #2f6bff; }

.stay-chips.is-quiet .stay-chip {
  border: 1px solid rgba(16, 40, 90, 0.1);
  background: transparent;
  color: #4a5b82;
  font-weight: 600;
}

.stay-chip.is-more { background: #e6eefc; color: #2f6bff; }

.stay-rooms { gap: 0.8rem; padding: 1.4rem 1.2rem 0; }

.stay-section-title {
  margin: 0;
  color: #122044;
  font-family: var(--round);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.stay-room-list { display: grid; gap: 0.8rem; }

.stay-room {
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 0;
  padding: 0.55rem;
  border: 1px solid rgba(16, 40, 90, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 26px -20px rgba(24, 52, 102, 0.5);
}

.stay-room-thumb {
  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 10rem;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #e4eeff, #f1eaff);
  color: #9db3dc;
  cursor: pointer;
}

.stay-room-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.stay-room-thumb .stay-glyph { width: 2.4rem; height: 2.4rem; margin: 0; }

.stay-room-thumb:focus-visible,
.stay-back:focus-visible,
.stay-room-more:focus-visible,
.stay-room-name.is-link:focus-visible { outline: 2px solid #2f6bff; outline-offset: 2px; }

.stay-room-body { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; padding: 0.7rem 0.8rem 0.55rem 1.05rem; }

.stay-room-name { font-size: 1.02rem; }

.stay-room-name.is-link {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #12172a;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 750;
  text-align: start;
  cursor: pointer;
}

.stay-room-name.is-link:hover { color: #2f6bff; }

.stay-room-more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #2f6bff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.stay-room-more .stay-glyph { width: 0.85rem; height: 0.85rem; margin: 0; }

[dir="rtl"] .stay-room-more .stay-glyph { transform: scaleX(-1); }

.stay-room-body .stay-rate { flex: 1; align-content: start; gap: 0.5rem; }

.stay-room-foot {
  align-items: center;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(16, 40, 90, 0.14);
}

.stay-room-foot .stay-hold {
  padding: 0.7rem 1.15rem;
  font-size: 0.86rem;
  box-shadow: 0 10px 20px -10px rgba(47, 107, 255, 0.8);
}

.stay-more { columns: 2 18rem; column-gap: 1.8rem; padding: 1.5rem 1.2rem 1.6rem; }

.stay-more > * { break-inside: avoid; margin-bottom: 1.1rem; }

.stay-more [hidden] { display: none; }

.stay-roomview { display: grid; gap: 1rem; padding: 1.1rem 1.2rem 1.5rem; }

.stay-roomview-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem; }

.stay-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.5rem 0.95rem 0.5rem 0.65rem;
  border: 1px solid rgba(16, 40, 90, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #24325c;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.stay-back .stay-glyph { width: 1.05rem; height: 1.05rem; margin: 0; }

[dir="rtl"] .stay-back .stay-glyph { transform: scaleX(-1); }

.stay-roomview-name {
  flex: 1 1 14rem;
  margin: 0;
  color: #122044;
  font-family: var(--round);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.25;
}

.stay-roomview-body { display: grid; gap: 1.2rem; }

.stay-roomview-media { display: grid; gap: 0.5rem; min-width: 0; align-content: start; }

.stay-roomview-side {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
  padding: 1.15rem;
  border-radius: 22px;
  background: #f4f6fb;
}

.stay-roomview-side .stay-room-foot { margin-top: 0; padding-top: 0.9rem; border-top: 1px solid rgba(16, 40, 90, 0.1); }

.stay-roomview-side .stay-price-total { font-size: 1.85rem; }

.stay-roomview-blank {
  display: grid;
  place-items: center;
  gap: 0.6rem;
  padding: 2.6rem 1.2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #e4eeff, #f1eaff);
  color: #8aa0cc;
  text-align: center;
}

.stay-roomview-blank .stay-glyph { width: 2.8rem; height: 2.8rem; margin: 0; }

.stay-roomview-blank p { max-width: 22rem; margin: 0; color: #5c6d96; font-size: 0.88rem; line-height: 1.45; }

@media (min-width: 760px) {
  .stay-roomview-body { grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 1fr); align-items: start; }
  .stay-roomview-media { position: sticky; top: 5.6rem; }
}

@media (max-width: 639px) {
  .stay-sheet { place-items: end stretch; padding: 0; }
  .stay-panel { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .stay-bar { padding: 0.9rem 1rem 0.8rem; }
  .stay-main { padding: 0.9rem 1rem 0; }
  .stay-rooms { padding: 1.2rem 1rem 0; }
  .stay-more { padding: 1.3rem 1rem 1.5rem; }
  .stay-roomview { padding: 0.9rem 1rem 1.3rem; }
  .stay-room { grid-template-columns: minmax(0, 1fr); }
  .stay-room-thumb { aspect-ratio: 16 / 9; min-height: 0; }
  .stay-room-body { padding: 0.8rem 0.4rem 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .stay-sheet { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
