/* Room detail presentation overrides. Keep this separate from shared custom.css. */

.room-main .room-name {
  font-size: clamp(2.25rem, 3vw, 3.25rem);
  line-height: 1.15;
}

/* Room with "Ẩn ảnh bìa lớn" ticked: no hero behind the transparent header,
   so give the header its scrolled navy background and clear it. */
body:has(.room-main):not(:has(.room-hero)) .site-header {
  background-color: var(--cl-navy);
}

body:has(.room-main):not(:has(.room-hero)) .room-main {
  padding-top: calc(var(--room-header-h, 5.5rem) + 3rem);
}

/* Larger reading sizes (client: text looked small next to the rest of the site). */
.room-main .room-intro-copy,
.room-main .room-intro-copy p {
  font-size: 1.125rem;
}

.room-details .room-info-list li,
.room-details .room-extra li,
.room-details .room-notes,
.room-details .room-notes p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.room-details .room-info-list span {
  font-size: 1.0625rem;
}

.room-main .room-block-title,
.room-details .room-block-title {
  font-family: var(--font-heading), Gelasio, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.room-details {
  padding: 0 0 3rem;
}

.room-details .container {
  max-width: 49.4375rem;
}

.room-details .room-info-list {
  margin-bottom: 1.75rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.room-book-cta {
  margin: 0 0 2.5rem;
}

.room-book-cta .home-stitch-cta {
  margin-top: 0;
}

.room-details .room-amenities,
.room-main .room-amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
  align-items: start;
  justify-items: start;
  margin: 0 0 2.5rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.room-details .room-amenity,
.room-main .room-amenity {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  min-width: 0;
  padding: 0;
  text-align: left;
  color: #2f4055;
  font-size: 1.0625rem;
  line-height: 1.45;
  gap: 0.75rem;
}

.room-details .room-amenity img,
.room-main .room-amenity img {
  width: 2rem;
  height: 2rem;
  margin: 0;
  flex-shrink: 0;
  object-fit: contain;
}

.room-details .room-amenity span,
.room-main .room-amenity span {
  text-align: left;
}

.room-photos-frame {
  position: relative;
  padding-right: 4.5rem;
  padding-left: 4.5rem;
}

.room-photos .room-photo-slider {
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
}

.room-photos .room-photo-slider .swiper-slide {
  height: auto;
}

.room-photos .room-gallery-zoom {
  display: block;
  width: 100%;
  cursor: zoom-in;
}

/* Top photo: the room's single featured image, same frame as the gallery slider. */
.room-photos .room-featured-image img,
.room-photos .room-photo-slider img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.room-photos-frame .swiper-button-prev,
.room-photos-frame .swiper-button-next {
  top: 50%;
  width: 42px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 42px 40px;
  color: transparent;
}

.room-photos-frame .swiper-button-prev {
  left: 0.5rem;
  background-image: url('../images/fivestar/11-01-1-new.png');
}

.room-photos-frame .swiper-button-next {
  right: 0.5rem;
  background-image: url('../images/fivestar/11-01-2-new.png');
}

.room-photos-frame .swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.room-photos-frame .swiper-button-prev::after,
.room-photos-frame .swiper-button-next::after {
  display: none;
  content: none;
}

.room-more .room-more-grid {
  max-width: 60rem;
  align-items: start;
}

.room-more .room-more-card {
  display: flex;
  flex-direction: column;
  border: 0;
}

.room-more .room-more-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f3ece3;
  flex-shrink: 0;
  margin-bottom: 0;
  border: 1px solid rgba(168, 56, 41, 0.22);
}

.room-more .room-more-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.room-more .room-more-copy {
  display: flex;
  min-height: 0;
  flex: 0;
  flex-direction: column;
  padding: 1rem 0 0;
}

.room-more .room-more-copy h3 {
  margin-bottom: 0;
  color: #a83829;
  font-family: var(--font-heading), Gelasio, serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.room-more .room-more-copy p,
.room-more .room-more-copy span {
  display: none;
}

@media (max-width: 991px) {
  .room-photos-frame {
    padding-right: 3.5rem;
    padding-left: 3.5rem;
  }
}

@media (max-width: 639px) {
  .room-photos-frame {
    padding-right: 2.75rem;
    padding-left: 2.75rem;
  }

  .room-photos-frame .swiper-button-prev,
  .room-photos-frame .swiper-button-next {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    background-size: 40px 40px;
  }

  .room-details .room-amenities,
  .room-main .room-amenities {
    grid-template-columns: 1fr;
  }
}
