.room-page {
  padding: 54px 0 100px;
  background: #f7f4ee;
}

.room-page .container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

/* ==========================
   GALLERY
========================== */

.room-page__gallery {
  margin-bottom: 64px;
}

.room-page__main-image {
  overflow: hidden;
  border-radius: 18px;
  background: #e9e5dc;
  box-shadow: 0 20px 55px rgba(23, 50, 77, 0.13);
}

.room-page__main-image .field,
.room-page__main-image .field__item {
  width: 100%;
}

.room-page__main-image img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 0;
  transition:
    opacity 0.18s ease,
    transform 0.35s ease;
}

.room-page__main-image img.is-changing {
  opacity: 0.35;
}

.room-page__gallery-grid {
  margin-top: 18px;
}

.room-page__gallery-grid > .field > .field__items,
.room-page__gallery-grid > .field__items {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.room-page__gallery-grid .field__item {
  min-width: 0;
  overflow: hidden;
  border-radius: 11px;
}

.room-page__gallery-grid img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
  border: 3px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  opacity: 0.76;
  box-shadow: 0 6px 16px rgba(23, 50, 77, 0.08);
  transition:
    opacity 0.2s ease,
    transform 0.25s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.room-page__gallery-grid img:hover {
  opacity: 1;
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(23, 50, 77, 0.14);
}

.room-page__gallery-grid img.is-active {
  opacity: 1;
  border-color: #b48a45;
}

/* ==========================
   MAIN LAYOUT
========================== */

.room-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: start;
}

.room-page__main {
  min-width: 0;
}

/* ==========================
   HEADER
========================== */

.room-page__header {
  margin-bottom: 0;
}

.room-page__eyebrow {
  margin-bottom: 12px;
  color: #b48a45;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.room-page h1 {
  margin: 0;
  color: #17324d;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.room-page__subtitle {
  max-width: 760px;
  margin-top: 18px;
  color: #6d655d;
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  line-height: 1.7;
}

.room-page__subtitle .field,
.room-page__subtitle .field__item {
  margin: 0;
}

/* ==========================
   META INFORMATION
========================== */

.room-page__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 38px 0 0;
  padding: 27px 0;
  border-top: 1px solid rgba(23, 50, 77, 0.14);
  border-bottom: 1px solid rgba(23, 50, 77, 0.14);
}

.room-page__meta-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.room-page__meta-icon {
  display: grid;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  place-items: center;
  color: #b48a45;
  background: rgba(180, 138, 69, 0.11);
  border: 1px solid rgba(180, 138, 69, 0.2);
  border-radius: 50%;
}

.room-page__meta-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.room-page__meta-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.room-page__meta-label {
  color: #8b8177;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.room-page__meta-content strong {
  color: #17324d;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

/* ==========================
   SECTIONS
========================== */

.room-page__section {
  margin-top: 52px;
}

.room-page__section-heading {
  margin-bottom: 22px;
}

.room-page__section-heading > span {
  display: block;
  margin-bottom: 7px;
  color: #b48a45;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.room-page__section-heading h2 {
  margin: 0;
  color: #17324d;
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.05;
}

.room-page__summary {
  max-width: 820px;
  color: #5e5953;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.9;
}

.room-page__summary p {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.room-page__summary p:last-child {
  margin-bottom: 0;
}

/* ==========================
   AMENITIES
========================== */

.room-page__amenities .field__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 0;
}

.room-page__amenities .field__item {
  position: relative;
  min-width: 0;
  padding: 15px 0 15px 34px;
  color: #3f4c56;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(23, 50, 77, 0.1);
}

.room-page__amenities .field__item::before {
  position: absolute;
  top: 16px;
  left: 1px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  content: "✓";
  color: #fff;
  background: #b48a45;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.room-page__amenities > .field > .field__item {
  position: relative;
  padding: 15px 0 15px 34px;
  color: #3f4c56;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  border-bottom: 1px solid rgba(23, 50, 77, 0.1);
}

.room-page__amenities > .field > .field__item::before {
  position: absolute;
  top: 16px;
  left: 1px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  content: "✓";
  color: #fff;
  background: #b48a45;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* ==========================
   BOOKING CARD
========================== */

.room-page__booking {
  position: sticky;
  top: 120px;
}

.room-page__booking-card {
  overflow: hidden;
  padding: 40px;
  background: #17324d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(23, 50, 77, 0.2);
}

.room-page__booking-top {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.room-page__price-label {
  color: rgba(255, 255, 255, 0.68);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-page__price {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 7px 0 2px;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 0.95;
}

.room-page__price span {
  margin-top: 8px;
  color: #d2ad69;
  font-family: "DM Sans", sans-serif;
  font-size: 25px;
  font-weight: 600;
}

.room-page__price-note {
  color: rgba(255, 255, 255, 0.58);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.room-page__booking-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 27px 0;
}

.room-page__booking-benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.room-page__booking-benefit span {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #17324d;
  background: #d2ad69;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.room-page__booking-button,
.room-page__booking-button.btn,
.room-page__booking-button.btn-primary {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  color: #17324d;
  background-color: #d2ad69;
  border: 1px solid #d2ad69;
  border-radius: 10px;
  box-shadow: none;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.room-page__booking-button:hover,
.room-page__booking-button:focus,
.room-page__booking-button.btn:hover,
.room-page__booking-button.btn:focus,
.room-page__booking-button.btn-primary:hover,
.room-page__booking-button.btn-primary:focus {
  color: #17324d;
  background-color: #e2bf78;
  border-color: #e2bf78;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ==========================
   TABLET
========================== */

@media (max-width: 1100px) {
  .room-page__layout {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 42px;
  }

  .room-page__booking-card {
    padding: 34px;
  }
}

@media (max-width: 1000px) {
  .room-page__layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .room-page__booking {
    position: static;
  }

  .room-page__booking-card {
    max-width: 600px;
  }

  .room-page__main-image img {
    height: 460px;
  }

  .room-page__gallery-grid > .field > .field__items,
  .room-page__gallery-grid > .field__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .room-page__gallery-grid img {
    height: 105px;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 700px) {
  .room-page {
    padding: 24px 0 70px;
  }

  .room-page .container {
    width: min(100% - 24px, 1320px);
  }

  .room-page__gallery {
    margin-bottom: 45px;
  }

  .room-page__main-image {
    border-radius: 12px;
  }

  .room-page__main-image img {
    height: 300px;
  }

  .room-page__gallery-grid {
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .room-page__gallery-grid > .field > .field__items,
  .room-page__gallery-grid > .field__items {
    display: flex;
    gap: 10px;
    width: max-content;
  }

  .room-page__gallery-grid .field__item {
    flex: 0 0 105px;
  }

  .room-page__gallery-grid img {
    width: 105px;
    height: 76px;
  }

  .room-page h1 {
    font-size: 46px;
  }

  .room-page__subtitle {
    font-size: 17px;
  }

  .room-page__meta {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 34px;
  }

  .room-page__meta-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .room-page__meta-icon svg {
    width: 25px;
    height: 25px;
  }

  .room-page__section {
    margin-top: 48px;
  }

  .room-page__section-heading h2 {
    font-size: 36px;
  }

  .room-page__amenities .field__items {
    grid-template-columns: 1fr;
  }

  .room-page__booking-card {
    padding: 30px 26px;
    border-radius: 18px;
  }

  .room-page__price {
    font-size: 62px;
  }
}
/* ==========================
   OTHER ROOMS
========================== */

.other-rooms {
  padding: 84px 0 96px;
  background: #ffffff;
}

.other-rooms .container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.other-rooms__header {
  max-width: 720px;
  margin-bottom: 42px;
}

.other-rooms__eyebrow {
  margin-bottom: 8px;
  color: #b48a45;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.other-rooms__title {
  margin: 0;
  color: #17324d;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 600;
  line-height: 1;
}

.other-rooms__intro {
  max-width: 660px;
  margin: 16px 0 0;
  color: #6b655f;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.other-rooms__grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:32px;
    align-items:start;
}

.other-rooms__grid > .views-row{
    width:100%;
    min-width:0;
}

.other-rooms__grid .views-row {
  min-width: 0;
}

.other-room-card {
  height: 100%;
  overflow: hidden;
  background: #f7f4ee;
  border: 1px solid rgba(23, 50, 77, 0.09);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(23, 50, 77, 0.08);
  display:flex;
  flex-direction:column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.other-room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(23, 50, 77, 0.14);
}

.other-room-card__image {
  overflow: hidden;
  background: #e7e2d9;
}

.other-room-card__image .field,
.other-room-card__image .field__item {
  width: 100%;
}

.other-room-card__image a {
  display: block;
}

.other-room-card__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.other-room-card:hover .other-room-card__image img {
  transform: scale(1.045);
}

.other-room-card__content {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 28px;
}

.other-room-card__eyebrow {
  margin-bottom: 8px;
  color: #b48a45;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.other-room-card__title {
  margin: 0;
  color: #17324d;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
}

.other-room-card__title a {
  color: inherit;
  text-decoration: none;
}

.other-room-card__title a:hover,
.other-room-card__title a:focus {
  color: #b48a45;
  text-decoration: none;
}

.other-room-card__subtitle {
  margin-top: 13px;
  color: #6b655f;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.other-room-card__subtitle .field,
.other-room-card__subtitle .field__item {
  margin: 0;
}

.other-room-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(23, 50, 77, 0.11);
}

.other-room-card__price {
  display: flex;
  flex-direction: column;
}

.other-room-card__price-label,
.other-room-card__price-note {
  color: #817970;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.other-room-card__price-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.other-room-card__price-value {
  margin: 3px 0;
  color: #17324d;
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 0.95;
}

.other-room-card__price-value span {
  color: #b48a45;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.other-room-card__link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  color: #17324d;
  background: #d2ad69;
  border: 1px solid #d2ad69;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.other-room-card__link a:hover,
.other-room-card__link a:focus {
  color: #17324d;
  background: #e2bf78;
  border-color: #e2bf78;
  transform: translateY(-2px);
  text-decoration: none;
}

.other-rooms__pager {
  margin-top: 36px;
}

@media (max-width: 1000px) {
  .other-rooms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .other-rooms {
    padding: 64px 0 72px;
  }

  .other-rooms .container {
    width: min(100% - 24px, 1320px);
  }

  .other-rooms__header {
    margin-bottom: 30px;
  }

  .other-rooms__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .other-room-card__image img {
    height: 230px;
  }

  .other-room-card__content {
    min-height: 0;
    padding: 24px;
  }

  .other-room-card__footer {
    align-items: center;
  }
}
/* ==========================
   ROOM LIGHTBOX
========================== */

.room-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0,0,0,.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9999;
}

.room-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.room-lightbox__image {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 70px rgba(0,0,0,.45);
}

.room-lightbox__close,
.room-lightbox__prev,
.room-lightbox__next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.room-lightbox__close:hover,
.room-lightbox__prev:hover,
.room-lightbox__next:hover {
  background: rgba(255,255,255,.22);
  transform: scale(1.06);
}

.room-lightbox__close {
  top: 26px;
  right: 26px;
  font-size: 34px;
}

.room-lightbox__prev {
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
}

.room-lightbox__next {
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
}

@media (max-width:700px){

  .room-lightbox{
    padding:16px;
  }

  .room-lightbox__prev,
  .room-lightbox__next{
    width:44px;
    height:44px;
  }

  .room-lightbox__prev{
    left:10px;
  }

  .room-lightbox__next{
    right:10px;
  }

  .room-lightbox__close{
    top:10px;
    right:10px;
  }

}body.room-lightbox-open {
  overflow: hidden;
}
/* ---------- Top bar ---------- */

.room-lightbox__topbar{
  position:absolute;
  top:18px;
  left:24px;
  right:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:20;
}

.room-lightbox__counter{
  color:#fff;
  font-size:15px;
  font-weight:600;
  letter-spacing:.04em;
  background:rgba(0,0,0,.35);
  padding:8px 14px;
  border-radius:999px;
  backdrop-filter:blur(8px);
}

/* ---------- Stage ---------- */

.room-lightbox__stage{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
}

/* ---------- Thumbnail strip ---------- */

.room-lightbox__thumbnails{
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  max-width:90vw;
  overflow-x:auto;
  padding:10px;
  scrollbar-width:thin;
}

.room-lightbox__thumbnail{
  border:none;
  background:none;
  padding:0;
  border-radius:8px;
  overflow:hidden;
  cursor:pointer;
  opacity:.55;
  transition:all .2s ease;
  flex:0 0 auto;
}

.room-lightbox__thumbnail img{
  width:74px;
  height:54px;
  object-fit:cover;
  display:block;
}

.room-lightbox__thumbnail:hover{
  opacity:1;
}

.room-lightbox__thumbnail.is-active{
  opacity:1;
  outline:3px solid #c8a96a;
}

.room-lightbox__thumbnail:focus-visible{
  outline:3px solid #fff;
}

/* ---------- Mobile ---------- */

@media (max-width:768px){

  .room-lightbox__thumbnail img{
    width:60px;
    height:45px;
  }

  .room-lightbox__thumbnails{
    gap:8px;
    bottom:12px;
  }

  .room-lightbox__counter{
    font-size:13px;
    padding:6px 10px;
  }

}