.room-widget {
  display: grid;
  gap: 16px;
}
.carousel-room-container {
    position: relative; /* Maintain the carousel container's relative positioning */
    width: 100%;
    max-width: 100%;
  }

  .carousel-room {
    padding: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(27, 42, 42, 0.08);
    aspect-ratio: 4 / 3;
    width: 100%;
    background: #fff;
  }

  .carousel-room picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .carousel-room div {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .carousel-room div.active {
    display: block;
  }

  .arrow-room-btn {
    width: 40px;
    height: 40px; /* Adjust height for better visibility */
    cursor: pointer;
    position: absolute; /* Absolute position to place over the carousel */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Align vertically */
    z-index: 10; /* Above the image */
    background: rgba(0, 0, 0, 0.45); /* Semi-transparent background */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
  }

  .arrow-room-btn.previous {
    left: 10px; /* Position the previous button on the left */
  }

  .arrow-room-btn.next {
    right: 10px /* Position the next button on the right */
  }


  .arrow-room-btn:before {
    content: '';
    border: solid white;
    border-width: 0 3px 3px 0;
    padding: 5px;
  }

  .arrow-room-btn.previous:before {
    transform: rotate(135deg); /* Keep the rotation for the previous button */
  }

  .arrow-room-btn.next:before {
    transform: rotate(-45deg); /* Keep the rotation for the next button */
  }

.room-details-container {
  display: flex; /* Use flexbox to arrange children side by side */
  align-items: flex-start; /* Align children at the start of the cross axis */
  justify-content: space-between; /* Distribute extra space between children */
  gap: 20px;
  min-width: 0;


}


.room-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  flex: 1 1 0;
  max-width: none;
  min-width: 0;
  padding-top: 2%;
  gap: 10px;
}

.room-info h5 {
  margin: 0 0 6px;
  font-size: 20px;
}

.room-selector-price {
  margin: 0 0 4px;
  font-weight: 600;
  color: #0b6a6b;
  font-size: 13px;
  line-height: 1.2;
}

.room-selector-price span {
  color: #1b2a2a;
  font-weight: 700;
  font-size: inherit;
}

.room-info ul {
  margin: 0;
}

.room-info li {
  margin-bottom: 6px;
  color: #516361;
}

.room-images {
  flex: 1 1 0; /* Flex-grow, take available space */
  min-width: 0;
  width: auto;

}

.more-info {
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  max-width: 300px;
}

.more-info summary {
  cursor: pointer;
  font-weight: 600;
  color: #0b6a6b;
}



.carousel-img-size {
  width: 100%; /* Ensures the image takes the full width of its container */
  height: 100%; /* Ensures the image takes the full height of its container */
  object-fit: contain; /* Show full image with padding for tall shots */
  object-position: center;
  background: #fff;
}

@media (max-width: 900px) {
  .room-details-container {
    flex-direction: column;
    align-items: stretch;
  }

  .room-info,
  .room-images {
    max-width: 100%;
    width: 100%;
  }
}
