/* R108_BBB_ROOM_CARD_V150_ACTIVE */
#rooms .room-grid {
  align-items: stretch !important;
}

#rooms .bbb-v148-card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
}

#rooms .bbb-v148-card .room-img {
  flex: 0 0 auto;
}

#rooms .bbb-v148-card .room-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

#rooms .bbb-v148-card .bbb-v148-price-row {
  margin-top: auto;
}

#rooms .bbb-v148-card .bbb-v148-book {
  flex: 0 0 auto;
}

/* แถบไอคอนเตี้ยหนึ่งแถว รองรับ 12 รายการและเลื่อนได้ */
#rooms .bbb-v149-amenities {
  z-index: 5;
  min-height: 46px;
  height: 46px;
  margin-top: -22px;
  margin-bottom: -23px;
  padding: 5px 8px;
  gap: 5px;
}

#rooms .bbb-v149-amenities .bbb-v149-amenity {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
}

/* ปิด tooltip เดิมที่ถูกกรอบ overflow ตัด แล้วใช้ tooltip ชั้นลอยจาก V150 */
#rooms .bbb-v149-amenity > i {
  display: none !important;
}

.bbb-v150-tooltip {
  position: fixed;
  z-index: 2147483647;
  display: block;
  max-width: min(220px, calc(100vw - 20px));
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  background: #123b45;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .28);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%) translateY(-8px);
  transition: opacity .12s ease;
}

.bbb-v150-tooltip.is-visible {
  opacity: 1;
}

@media (max-width: 700px) {
  #rooms .room-grid {
    align-items: stretch !important;
  }

  #rooms .bbb-v148-card {
    height: auto;
  }
}