.rooms-page-header {
  background: linear-gradient(135deg, #13222a, #1f3a46);
  color: #fff;
}

.rooms-banner {
  padding: 7.5rem 0 4rem;
  text-align: center;
}

.rooms-banner h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.5rem;
}

.rooms-banner p {
  max-width: 45ch;
  margin: 0 auto;
  opacity: 0.85;
}

.rooms-banner .eyebrow {
  color: #f3d8a5;
}

.room-detail {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6rem;
}

.room-detail:last-of-type {
  border-bottom: none;
}

.room-detail:nth-child(even) {
  background: linear-gradient(180deg, #fffefb, #f6efe4);
}

.room-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.room-detail:nth-child(even) .room-layout {
  direction: rtl;
}

.room-detail:nth-child(even) .room-layout > * {
  direction: ltr;
}

.room-main-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* "Book This Room" pinned to the bottom-right of the photo (absolute
   offsets are unaffected by the even-row direction:rtl flip) */
.room-book-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.room-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
}

.room-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.room-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.room-thumb:hover {
  opacity: 0.8;
}

.room-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(180, 139, 79, 0.3);
}

.room-info {
  padding-top: 0.5rem;
}

.room-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.3rem;
}

.room-price {
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.3rem 0 1rem;
}

.room-desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.room-info .btn {
  margin-top: 0.5rem;
}

/* Amenity list under the description: icon + label, two columns */
.room-amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.4rem;
  margin-bottom: 1.2rem;
}

.ram {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.3;
}

.ram svg {
  flex-shrink: 0;
  color: var(--gold-deep);
}

@media (max-width: 520px) {
  .room-amenities { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .room-layout {
    grid-template-columns: 1fr;
  }

  .room-detail:nth-child(even) .room-layout {
    direction: ltr;
  }

  .room-main-img {
    height: 300px;
  }
}

@media (max-width: 700px) {
  .rooms-banner {
    padding: 6rem 0 3rem;
  }

  .room-main-img {
    height: 240px;
  }

  .room-detail {
    padding: 2.5rem 0;
  }
}
