@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500&family=Inter:wght@400;500;600;700&display=swap");
*,
.btn,
.btn-primary,
button {
  font-family: "Inter", sans-serif !important;
}

#guestCard {
  position: absolute;
  top: 45px;
  right: 0;
  z-index: 999;
  box-sizing: border-box;
  width: 272px;
  min-width: 272px;
  height: auto;
  padding: 23px 17px 24px;
  background: #FFFFFF;
  border: 1px solid #edf0f5;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  color: #2b3037;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  max-height: min(420px, calc(100vh - 140px));
  scrollbar-gutter: stable;
  overflow-y: auto;
  overflow-x: hidden;
}

#guestCard::-webkit-scrollbar {
  width: 6px;
}

#guestCard::-webkit-scrollbar-thumb {
  background: #d7dce5;
  border-radius: 100px;
}

#guestCard .room-container {
  width: 237px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2b3037;
}

#guestCard .room-container + .room-container {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #edf0f5;
}

#guestCard .room-container h6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 237px;
  margin: 0 0 13px;
  color: #2b3037;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

#guestCard .guest-remove-room-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #cfd6e2;
  border-radius: 100px;
  background: #fff;
  color: #9aa4b2;
  font-size: 18px;
  line-height: 1;
}

#guestCard .counter-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 237px;
  min-height: 32px;
  margin-bottom: 13px;
}

#guestCard .counter-group > span:first-child,
#guestCard .children-ages-label {
  min-width: 0;
  color: #2b3037;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

#guestCard .guest-counter-control {
  display: grid;
  grid-template-columns: 32px 9px 32px;
  align-items: center;
  justify-content: space-between;
  width: 105px;
  column-gap: 0;
}

#guestCard .guest-count-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9px;
  color: #2b3037;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

#guestCard .counter-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border: 1px solid #cfd6e2;
  border-radius: 100px !important;
  background: #fff;
  color: #9aa4b2;
  font-size: 22px;
  font-weight: 400;
  line-height: 1 !important;
  box-shadow: none !important;
}

#guestCard .counter-btn:last-child {
  border-color: #1f5fb8;
  color: #1f5fb8;
}

#guestCard .counter-btn:hover,
#guestCard .counter-btn:focus {
  border-color: #1f5fb8;
  background: #eaf6ff;
  color: #1f5fb8;
}

#guestCard .children-ages-container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 8px;
  width: 237px;
  
}

#guestCard .children-ages-container:empty {
  display: none;
  margin: 0;
}

#guestCard .children-ages-label {
  display: block;
  margin: 0;
  white-space: nowrap;
}

#guestCard .children-age-selects {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 107px;
}

#guestCard .child-age-select {
  flex: 0 0 45px;
  width: 45px !important;
  height: 32px;
  padding: 0 16px 0 8px;
  border: 1px solid #cfd6e2;
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%232B3037' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 10px 6px;
  color: #2b3037;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 32px;
  box-shadow: none;
}

#guestCard .guest-add-room-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 199px;
  height: 33.152px;
  margin: 0 auto;
  padding: 0 16px;
  border: 1px solid #1f5fb8;
  border-radius: 12px;
  background: #fff;
  color: #1f5fb8;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  white-space: nowrap;
}

#guestCard .guest-add-room-btn span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #1f5fb8;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
}

#guestCard .guest-add-room-label {
  display: inline-block;
  flex: 0 0 auto;
  width: 139px;
  line-height: 26px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #guestCard {
    left: 50%;
    right: auto;
    width: 272px;
    max-width: calc(100vw - 24px);
    min-width: 0;
    transform: translateX(-50%);
    padding: 23px 17px 24px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
    max-height: min(420px, calc(100vh - 140px));
    padding-right: 21px;
  }

  #guestCard .room-container,
  #guestCard .room-container h6,
  #guestCard .counter-group,
  #guestCard .children-ages-container {
    width: 100%;
  }

  #guestCard .children-ages-container {
    grid-template-columns: minmax(0, 1fr) 107px;
  }

  #guestCard .children-age-selects {
    width: 107px;
    max-width: 107px;
    justify-content: flex-end;
  }

  #guestCard .child-age-select.form-control,
  #guestCard .child-age-select {
    flex: 0 0 45px !important;
    width: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    height: 32px !important;
  }
}
.search-form-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

#customTab .nav-link {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Max width for all containers on detail page */
.container,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  max-width: 1232px !important;
}
/* Desktop gallery layout (matches provided dimensions) */
.desktop-gallery {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.desktop-main {
  width: 492px;
  height: 430px;
  border-radius: 12px;
  overflow: hidden;
}

.desktop-main-skeleton,
.desktop-main-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.desktop-main-img,
.desktop-thumb-img {
  cursor: pointer;
  object-fit: cover;
  display: block;
}

.desktop-thumbs {
  display: grid;
  width: 725px;
  height: 430px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}

.desktop-thumb {
  width: calc((725px - 27px) / 3);
  height: calc((430px - 14px) / 2);
  border-radius: 12px;
  overflow: hidden;
}
.section-heading {
  font-size: 20px;
  font-weight: 500;
  color: #1f2226;
  margin-bottom: 20px;
}
.hotel-detail-info-headings {
  font-size: 18px !important;
  font-weight: bold !important;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: #1f2226 !important;
}
.desktop-thumb-last {
  position: relative;
}

.desktop-thumb-skeleton,
.desktop-thumb-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.desktop-gallery-count-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  background-color: rgba(128, 128, 128, 0.8);
  color: #fff;
  border: none;
}

.desktop-gallery-count-btn:hover,
.desktop-gallery-count-btn:focus,
.desktop-gallery-count-btn:active {
  background-color: rgba(128, 128, 128, 0.8);
  color: #fff;
  border: none;
}

/* Match main search bar button style exactly */
.detail_page_reserve_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  width: 150px;
  padding: 6px 14px !important;
  border-radius: 57px !important;
  font-size: 16px;
  font-weight: 500;
  background-color: #1f5fb8 !important;
  border: none;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.detail_page_reserve_btn:hover,
.detail_page_reserve_btn:focus,
.detail_page_reserve_btn:active {
  background-color: #1a4fa0 !important;
  border: none;
  color: #fff;
  text-decoration: none;
}

.detail_page_reserve_btn i {
  font-size: 16px;
}

#customTab .nav-item {
  margin-right: 24px !important;
  color: #1f5fb8 !important;
}

#customTab .nav-item:last-child {
  margin-right: 0;
}
.hotel-name {
  font-size: 26px;
  font-weight: 600;
  color: #0d0e11;
}

.discount-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.discount-badge-label,
.discount-badge-value {
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0;
  white-space: nowrap;
}

.discount-badge-label {
  width: 68px;
  padding: 0;
  border-radius: 3px;
  background: #ffe0fbc9;
  color: #d920c0;
}

.discount-badge-value {
  width: 39px;
  min-width: 39px;
  max-width: 39px;
  padding: 0;
  border-radius: 3px;
  background: #d920c0;
  color: #fff;
}

.room-price-col .room-discount-badge-inline {
  position: static;
  margin: 0 0 8px auto;
}

.room-image-badge-mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .detail_page_reserve_btn {
    width: 118px;
    height: 38px;
    padding: 5px 12px !important;
    border-radius: 44px !important;
    font-size: 14px;
    gap: 5px;
  }

  .detail_page_reserve_btn i {
    font-size: 14px;
  }

  .room-price-col .room-discount-badge-inline {
    display: none;
  }

  .room-image-badge-mobile {
    display: inline-flex;
    top: 5px !important;
    left: 5px !important;
  }

  .room-image-badge-mobile .discount-badge-label,
  .room-price-col .discount-badge-label {
    width: 63px;
    min-width: 63px;
    max-width: 63px;
    height: 24px;
    font-size: 12px;
    line-height: 22px;
  }

  .room-image-badge-mobile .discount-badge-value,
  .room-price-col .discount-badge-value {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 24px;
    font-size: 12px;
    line-height: 22px;
  }
}
/* Modern Policy Card Styles */
.policy-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}
.rating-star-icon {
  width: 18px;
  height: 18px;
}
.policy-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.policy-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #0d0e11;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.room-price-styling {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  text-align: right;
  vertical-align: bottom;
}

.price-reserve-mobile .fw-bolder {
  font-family: Inter, sans-serif;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 27px !important;
  text-align: right;
  vertical-align: bottom;
}
.room-strike-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #545454;
  text-align: right;
  text-decoration: line-through;
}
.installment-text {
  font-size: 14px;
  font-weight: 400;
  color: #198754;
}
.checkin-time-item {
  margin-bottom: 12px;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  margin-left: auto;
}

.checkin-time-item > span {
  display: inline-block;
  margin-right: 12px;
}

.checkin-label {
  font-size: 16px;
  color: #0d0e11;
  font-weight: 400;
  margin-left: 35px;
}

.checkin-time {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.time-progress-bar {
  width: 150px;
  height: 6px;
  background-color: #1f5fb8;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
  margin-left: 10px;
}

.time-progress-fill {
  height: 100%;
  background-color: #e8e8e8;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.time-progress-fill.checkout {
  margin-left: auto;
  transform-origin: right;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.policy-item {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #eee;
}

.policy-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.policy-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.policy-item-desc {
  font-size: 16px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.6;
  text-align: justify;
}

.policy-item-price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
  background: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.policy-card--table {
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9dee7;
  border-radius: 16px;
  box-shadow: none;
  margin-top: 16px;
}

.policy-section-container {
  margin-bottom: 20px;
}

.policy-section-container .policy-title {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 20px;
  line-height: 34px;
  color: #454c58;
  font-weight: 500;
}

.policy-section-container .policy-subtitle {
  margin: 0 0 16px 0;
  padding: 0;
  font-size: 16px;
  line-height: 24px;
  color: #545454;
  font-weight: 400;
}

.policy-card--table .policy-title {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 20px;
  line-height: 34px;
  color: #454c58;
  font-weight: 500;
}

.policy-card--table .policy-subtitle {
  margin: 0 0 16px 0;
  padding: 0;
  font-size: 16px;
  line-height: 24px;
  color: #545454;
  font-weight: 400;
}

.policy-table {
  border-top: none;
  padding: 5px 0px;
}

.policy-table-row {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 6px 0;
  border-top: 1px solid #e7ebf2;
}

.policy-table-row:first-child {
  border-top: 0;
}

.policy-table-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1f2226;
  font-size: 18px;
  font-weight: 600;
  line-height: 32px;
  padding-left: 15px;
}

.policy-table-icon {
  width: 22.5px;
  height: 20.5px;
  position: static;
  opacity: 1;
  transform: rotate(0deg);
  object-fit: contain;
  flex: 0 0 22.5px;
  align-self: center;
}

.policy-table-value {
  color: #383e48;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  padding-right: 15px;
}

@media (max-width: 768px) {
  .policy-card {
    margin-bottom: 12px;
  }
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .checkin-time-item {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    margin-bottom: 20px;
  }
  .time-progress-bar {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
  .checkin-label {
    margin-left: 0;
    font-size: 14px;
  }
  .checkin-time {
    font-size: 14px;
    margin-left: 0;
  }
  .policy-title {
    font-size: 18px;
  }
  .policy-subtitle {
    font-size: 14px;
  }

  .policy-card--table {
    border-radius: 14px;
  }

  .policy-section-container {
    margin-bottom: 16px;
  }

  .policy-section-container .policy-title {
    margin-bottom: 6px;
    padding: 0 10px;
  }

  .policy-section-container .policy-subtitle {
    margin-bottom: 12px;
    padding: 0 10px;
  }

  .policy-card--table .policy-title {
    padding: 0;
    margin-bottom: 6px;
  }

  .policy-card--table .policy-subtitle {
    padding: 0;
    margin-bottom: 12px;
  }


  .policy-table-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0;
  }

  .policy-table-label,
  .policy-table-value {
    font-size: 14px;
    padding-left: 15px;
    gap: 6px !important;

  }

  /* Mobile amenities styles */
  .amenities-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .amenity-preview-item {
    font-size: 12px;
    padding: 6px 8px;
  }

  /* Mobile: 3 items in one row */
  .modal-amenities-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .modal-amenity-category {
    flex: 0 0 calc(33.333% - 11px);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hotel-name {
    font-size: 22px;
    padding-top: 8px;
  }
  #facility{
    padding: 0 10px;
  }
}
.room-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2226;
  line-height: 34px;
}

#roomModal .room-title {
  line-height: 1.4;
}

.room-title-info-icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.room-card-under-price-text {
  font-size: 11px !important;
  font-weight: 400;
  line-height: 20px;
  color: #545454;
}
/* New Room Category Styles */
.room-category-container {
  transition: all 0.3s ease;
  border: 1px solid #e7ecf3 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(13, 31, 61, 0.06) !important;
  overflow: hidden;
  width: 100%;
  max-width: 1229px;
  height: auto;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.room-category-container .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.room-category-container:hover {
  box-shadow: 0 4px 12px rgba(13, 31, 61, 0.08) !important;
  transform: none;
}

.room-option-row {
  transition: all 0.2s ease;
}

.room-option-row:hover {
  transform: none;
  box-shadow: none;
}

.room-option-row > .row {
  --bs-gutter-x: 0;
  margin-right: 0;
  margin-left: 0;
}

.room-left-panel {
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 330px;
  max-width: 330px;
  width: 100%;
  align-self: stretch;
  border: 1px solid #e7ecf3;
  border-radius: 16px;
  background: #ffffff;
  position: relative;
  margin-top: 9px;
  margin-left: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.room-right-panel {
  padding: 12px !important;
  flex: 1 1 0;
  width: auto;
  max-width: none;
  margin-top: 0px;
  margin-left: 0;
  box-sizing: border-box;
  min-width: 0;
}

.room-category-container .border-start {
  border-color: #e7ecf3 !important;
}

.room-right-panel.border-start {
  border-left: none !important;
}

.room-main-image {
  width: 305px;
  height: 190px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
}

.room-left-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #454c58;
  line-height: 24px;
}

.room-left-guests {
  margin-bottom: 4px;
  color: #121316;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.room-left-guests i {
  color: #2f3542;
  font-size: 14px;
}

.room-left-amenities-title {
  margin: 6px 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #454c58;
  line-height: 24px;
  font-style: semibold;
}

.room-left-amenity-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  font-style: regular;
  color: #1f2226;
}

.room-left-amenity-item i {
  font-size: 16px;
  color: #1f2226;
}

.room-left-amenities-more {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

.room-image-carousel {
  position: relative;
  width: 305px;
  overflow: hidden;
  border-radius: 10px;
}

.room-image-carousel .carousel-control-prev,
.room-image-carousel .carousel-control-next {
  width: 32px;
  height: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.room-image-carousel .modal-carousel-nav {
  opacity: 1;
}

.room-image-carousel .carousel-control-prev {
  left: 6px;
}

.room-image-carousel .carousel-control-next {
  right: 7px;
}

.room-image-carousel .carousel-control-prev i,
.room-image-carousel .carousel-control-next i {
  color: #ffffff;
  font-size: 15.5px;
  width: 8.5px;
  height: 15.5px;
  line-height: 15.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-option-card {
  border: 1px solid #e7ecf3;
  border-radius: 6px;
  background-color: #ffffff;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .room-image-carousel{
    width: 100% !important;
  }
  .room-main-image {
    width: 100% !important;
  }
}
@media (min-width: 768px) {
  .room-category-container .col-md-4.room-left-panel {
    width: 330px !important;
  }

  .room-category-container .col-md-8.room-right-panel {
    width: calc(100% - 330px) !important;
    max-width: calc(100% - 330px) !important;
  }
}

.room-pill {
  border-radius: 999px;
  padding: 4px 10px;
  height: 32px;
  min-height: 32px;
  font-size: 12px !important;
  font-weight: 500 !important;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.room-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.room-pill__text {
  flex: 1 1 auto;
  min-width: 0;
}

.room-pill i.room-pill__icon {
  flex: 0 0 18px;
  font-size: 18px;
}

.room-pill__icon--image {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.room-pill__icon--meal {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  display: inline-block;
  background-color: #1f7a4a;
  -webkit-mask-image: url("../hotels/plate-utensils.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("../hotels/plate-utensils.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.room-pill--neutral .room-pill__icon--meal {
  background-color: #454c58;
}

.room-pill--success {
  color: #1f7a4a;
  background-color: #eaf7f0;
  border-color: #5cc48a;
}

.room-pill--danger {
  color: #d92d20;
  background-color: #fff1f0;
  border-color: #f04438;
}

.room-pill--neutral {
  color: #475467;
  background-color: #f2f4f7;
  border-color: #d0d5dd;
}

@media (max-width: 767.98px) {
  .room-pill {
    white-space: nowrap;
    overflow: hidden;
  }

  .room-pill__text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.similar-hotels-grid {
  row-gap: 24px;
  column-gap: 16px;
}

.similar-hotel-col {
  width: 296px;
  max-width: 296px;
  flex: 0 0 296px;
  display: flex;
}

.similar-hotel-card {
  width: 296px;
  height: auto;
  opacity: 1;
  border: 1px solid #dddfe3;
  border-radius: 16px;
  padding-bottom: 16px;
  background: #FFFFFF;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.similar-hotel-card__media {
  padding: 0;
}

.similar-hotel-card__image {
  width: 296px;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: block;
}

.similar-hotel-card__body {
  padding: 0 16px;
  gap: 16px;
  flex: 1 1 auto;
}

.similar-hotel-card__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.similar-hotel-card__title {
  margin: 0;
  color: #1F2226;
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0%;
}
.rating-stars{
  display: flex;
  gap: 2px;
}
.hotel-name .rating-stars{
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  vertical-align: middle;
}
.similar-hotel-card__title .rating-stars{
  margin-top: 8px;
}
.similar-hotel-card__meta{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0%;
  color: #545454;
}
.similar-hotel-card__meta p{
  margin: 0;
  line-height: 20px;
}
.similar-hotel-card__meta-group{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.similar-hotel-card__location{
  display: flex;
  align-items: flex-start;
  gap: 4px;
  
}
.similar-hotel-card__location p{
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #454C58;
  line-height: 24px;
  letter-spacing: 0%;
}
.similar-hotel-card__pricing {
  flex-wrap: wrap;
}

.similar-hotel-card__price {
  color: #121316;
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
}

.similar-hotel-card__strike {
  color: #545454;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0%;
  text-decoration: line-through;
}

.similar-hotel-card__actions {
  margin-top: auto;
}
.similar-hotel-card__button {
  min-height: 42px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  padding: 16px 8px;
}

@media (max-width: 576px) {
  .similar-hotel-col {
    width: 93%;
    max-width: 93%;
    flex: 0 1 93%;
    margin: 0 auto;
  }

  .similar-hotel-card {
    width: 100%;
  }

  .similar-hotels-grid {
    justify-content: center !important;
  }
}

@media (max-width: 767.98px) {
  .similar-hotel-card__media {
    width: 100%;
    margin: 0 auto;
  }

  .similar-hotel-card__image {
    width: 100%;
  }
}

.room-reserve-btn {
  font-family: inter !important;
  background-color: #1f5fb8;
  border-color: #1f5fb8;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

.room-show-more-btn {
  color: #1f5fb8 !important;
  background-color: #ffffff !important;
  border: 1px solid #1f5fb8 !important;
  width: 345px;
  height: 37px;
  border-radius: 24px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 100%;
  opacity: 1;
  box-sizing: border-box;
  margin-top: 20px;
  position: relative;
}

.room-show-more-btn__icon {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 9px;
  left: 88%;
  opacity: 1;
  transform: rotate(0deg);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.room-show-more-btn:hover,
.room-show-more-btn:focus,
.room-show-more-btn:active {
  color: #ffffff !important;
  background-color: #1f5fb8 !important;
  border-color: #1f5fb8 !important;
}

.amenities-preview .small {
  color: #666;
  font-size: 13px;
}
@media (max-width: 767.98px) {
  .room-show-more-btn {
  width: 100%;
  height: 37px;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-top: 10px;
}
}
/* Compact Amenities Section */
.amenities-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.amenity-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  color: #495057;
}

.amenity-preview-item i {
  color: #000;
  width: 16px;
  height: 16px;
  position: relative;
  top: -4.05px;
  left: 1.78px;
  opacity: 1;
  transform: rotate(0deg);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

.amenity-preview-item i::before,
.modal-amenity-item i::before {
  width: 16px;
  height: 16px;
  position: relative;
  top: 4.95px;
  left: 1.78px;
  opacity: 1;
  transform: rotate(0deg);
  font-size: 16px;
  line-height: 1;
  display: block;
}

.amenity-icon-image {
  width: 16px;
  height: 16px;
  position: relative;
  top: 4.95px;
  left: 1.78px;
  opacity: 1;
  transform: rotate(0deg);
  object-fit: contain;
  flex: 0 0 16px;
}

/* Modal Amenities Styles */
.modal-amenities-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Desktop: 2 columns */
@media (min-width: 769px) {
  .modal-amenities-grid {
    flex-wrap: wrap;
  }
  .modal-amenity-category {
    flex: 0 0 calc(50% - 8px);
  }
}

.modal-amenity-category {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  break-inside: avoid;
  margin-bottom: 16px;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.category-title i {
  color: #000;
  font-size: 16px;
}

.category-title h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* .category-items {
          display: grid;
          gap: 6px;
      } */
.category-items {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.modal-amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #1f2226;
  padding: 5px;
  border-radius: 4px;
}

.modal-amenity-item i {
  color: #000;
  width: 16px;
  height: 16px;
  position: relative;
  top: -4.05px;
  left: 1.78px;
  opacity: 1;
  transform: rotate(0deg);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

/* Room Modal Styles */
.room-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  overflow-y: auto;
}

.room-modal-content {
  background: white;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 12px;
  position: relative;
}

.room-modal-header {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.room-modal-close {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #0d0e11;
  font-weight: 500;
}

#roomModal .search_btn {
  font-family: "Inter", sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

.room-modal-body {
  padding: 20px;
}

.modal-room-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.modal-room-row {
  display: flex;
  align-items: flex-start;
}

.modal-room-left {
  width: 33.33%;
  padding: 20px;
}

.modal-room-right {
  width: 66.67%;
  padding: 20px;
  border-left: 1px solid #dee2e6;
}

.modal-room-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  position: relative;
}

.modal-image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.modal-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s;
}

.modal-image-container:hover .modal-carousel-nav {
  opacity: 1;
}

.modal-carousel-prev {
  left: 10px;
}

.modal-carousel-next {
  right: 10px;
}

.modal-room-thumbnails {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  margin-bottom: 15px;
}

.modal-room-thumb {
  width: 50px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  flex-shrink: 0;
}

.modal-room-thumb.active,
.modal-room-thumb:hover {
  opacity: 1;
  border: 2px solid #0082df;
}

.modal-amenities {
  margin-bottom: 15px;
}

.modal-amenities h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-amenity-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 400;
}

.modal-amenity-item i {
  color: #333;
  width: 16px;
  height: 16px;
  position: relative;
  top: -4.05px;
  left: 1.78px;
  opacity: 1;
  transform: rotate(0deg);
  font-size: 10.885416984558105px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15.4376220703125px;
}

.show-more-rooms-link {
  color: #1f5fb8;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.show-more-rooms-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #1f5fb8;
  border-right: 2px solid #1f5fb8;
  transform: rotate(45deg);
  flex: 0 0 7px;
  display: inline-block;
}

.show-more-rooms-link:hover {
  /* text-decoration: underline; */
  font-weight: 500;
}

.room-loading {
  text-align: center;
  padding: 40px;
}

/* Custom color for show more room rates button */
.btn-show-more-rates {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

.btn-show-more-rates:hover,
.btn-show-more-rates:focus,
.btn-show-more-rates:active {
  background-color: #0b5ed7 !important;
  border-color: #0a58ca !important;
}

.hotel-description-toggle {
  color: #1f5fb8;
  background-color: #ffffff;
  border: 2px solid #1f5fb8;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif !important;
}

.hotel-description-toggle:hover,
.hotel-description-toggle:focus,
.hotel-description-toggle:active {
  color: #ffffff;
  background-color: #1f5fb8;
  border-color: #1f5fb8;
}

@media (max-width: 768px) {
  .room-modal-content {
    margin: 10px;
    max-width: calc(100% - 20px);
  }

  .room-modal-header {
    padding: 15px;
  }

  .room-modal-body {
    padding: 15px;
  }

  .modal-room-row {
    flex-direction: column;
  }

  .modal-room-left,
  .modal-room-right {
    width: 100%;
    padding: 8px;
  }

  .modal-room-left {
    border-bottom: 1px solid #dee2e6;
  }

  .modal-room-right {
    border-left: none;
    max-height: 50vh;
    overflow-y: auto;
  }

  .modal-room-image {
    height: 150px;
  }
  .details-section{
    padding: 0 10px;
  }
  .additional-info-section{
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .hotel-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .room-card-image {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }

  .room-card-image .carousel-inner img {
    border-radius: 8px !important;
  }

  .room-info {
    margin-right: 0 !important;
    margin-bottom: 15px;
  }

  .meal-refund {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    text-align: left !important;
  }

  .price-cta {
    width: 100% !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
  }

  .price-cta .btn {
    width: auto !important;
    align-self: flex-start;
  }

  /* Mobile room category styles */
  .room-category-container {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }

  .room-category-container .row {
    flex-direction: column !important;
  }

  .room-category-container .col-md-4,
  .room-category-container .col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .room-left-panel {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .room-right-panel {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .room-category-container .border-start {
    border-top: 1px solid #dee2e6 !important;
    margin-top: 15px;
    padding-top: 15px !important;
  }

  .room-option-row .row {
    flex-direction: column !important;
  }

  .room-option-row .col-md-7,
  .room-option-row .col-md-5 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .room-option-card {
    width: 100%;
    height: auto;
  }

  .room-option-row .text-end {
    text-align: left !important;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .price-reserve-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
  }

  .search-form-container {
    margin-bottom: 0px;
    bottom: 0px !important;
    width: 100%;
    max-width: 100%;
    left: 0 !important;
    transform: none !important;
  }

  /* Remove container gaps on mobile */
  .container {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  /* Mobile amenities compact layout */
  .amenities-preview-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .amenity-preview-item {
    font-size: 11px !important;
    padding: 4px 6px !important;
    gap: 10px !important;
  }

  .amenity-preview-item i {
    width: 15.4376220703125px;
    height: 10.885416984558105px;
    position: relative;
    top: -4.05px;
    left: 1.78px;
    opacity: 1;
    transform: rotate(0deg);
    font-size: 10.885416984558105px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 15.4376220703125px;
  }
  .rooms-section{
    margin-top: -20px;
  }
}
.additional-info-section {
  margin-bottom: 20px;
  color: #4e4f50;
  font-size: 16px;
  font-weight: 400;
}
#details .fw-semibold,
.additional-info-section .fw-semibold {
  font-weight: 500 !important;
}
#hotel-suggestions {
  margin-top: 42px !important;
}

.search-suggestion-option {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.search-suggestion-option .suggestion-text {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  line-height: 20px;
}

.suggestion-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.2em;
}

.suggestion-icon--hotel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef4ff;
  color: #0057ff !important;
  font-size: 14px;
  line-height: 1;
  margin-top: 0;
}

.suggestion-icon--hotel i,
.suggestion-icon--hotel svg,
.suggestion-icon--hotel path {
  color: #0057ff !important;
  fill: #0057ff !important;
}

#details p {
  font-size: 16px !important;
  color: #4e4f50 !important;
  font-weight: 400 !important;
}
.details-section {
  color: #0d0e11;
  font-size: 14px;
}
.header-main-price {
  font-size: 20px;
  font-weight: 700 !important;
}
.strike-price {
  font-size: 16px;
  font-weight: 500 !important;
}

#header-price-row .strike-price {
  color: #545454;
  display: inline-block;
  line-height: 22px;
  letter-spacing: 0;
  text-align: right;
}

#header-price-row .strike-text {
  display: inline-block;
  text-decoration-line: line-through;
  text-decoration-style: solid;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
  text-underline-offset: 3px;
}

.header-price-note {
  color: #545454;
  font-size: 12px;
  font-weight: 400;
}
.hotel-meta {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
}

.hotel-meta img {
  display: block;
  flex: 0 0 auto;
  margin-top: 2px;
}

.hotel-meta-text {
  min-width: 0;
  line-height: 1.4;
}

.tooltip {
  --bs-tooltip-bg: #ffffff;
  --bs-tooltip-color: #1f2226;
  --bs-tooltip-opacity: 1;
  z-index: 11000;
}

.tooltip .tooltip-inner {
  background-color: #ffffff;
  color: #1f2226;
  border: 1px solid #d9dee8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* Moved from style.css: hotel_details.php-only styles */
#rooms .table {
  width: 100% !important;
  table-layout: auto;
}

.section-heading-aminity {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 32px;
}

.detail-search-form-container #hotel-search,
.detail-search-form-container #guestSummary,
.detail-search-form-container #dateRange,
.detail-search-form-container #dateRange + input,
.detail-search-form-container .flatpickr-input,
.detail-search-form-container #residency {
  font-weight: 400 !important;
}

.tabs-custom .nav-link {
  color: #545454;
  border: none;
  border-bottom: 2px solid transparent;
  background-color: transparent !important;
}

.tabs-custom .nav-link.active {
  color: #1f5fb8;
  border-bottom: 2px solid #0057ff;
}

#galleryThumbnails .position-absolute {
  z-index: 20;
  /* higher than the image */
}

.thumb-overlay {
  background: rgba(0, 0, 0, 0.75);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.thumb-overlay:hover {
  background: rgba(0, 0, 0, 0.85);
}

.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: transparent;
  backdrop-filter: blur(10px);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.2s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.gallery-close:hover {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid black;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid black;
}

.gallery-prev {
  left: 30px;
}

.gallery-next {
  right: 30px;
}

.gallery-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-height: calc(100vh - 150px);
  width: 100%;
}

#galleryMainImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.gallery-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #333;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.gallery-thumbnails {
  margin-top: 20px;
  width: 100%;
  max-width: 800px;
}

.thumbnails-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.thumbnail:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.thumbnail.active {
  opacity: 1;
  border-color: #0082df;
}

.gallery-image:hover {
  transform: scale(1.02);
}

.gallery-thumbnails .position-absolute:hover {
  background: rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 768px) {
  .gallery-nav {
    position: absolute;
    top: 45%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .gallery-prev {
    left: 0px !important;
  }

  .gallery-next {
    right: 0px !important;
  }

  .gallery-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.1);
    color: #333 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: end !important;
    justify-content: center !important;
  }

  .thumbnail {
    width: 60px;
    height: 45px;
  }

  /* Hotel detail page navigation tabs mobile layout */
  .d-flex.justify-content-between.w-100.align-items-center.border-bottom.pb-2.mt-2.flex-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    border-bottom: none !important;
  }

  .nav.nav-tabs.border-0.tabs-custom {
    width: 100% !important;
    margin-top: 20px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
  }

  .d-flex.align-items-center.ms-auto {
    width: 100% !important;
    margin-left: 0 !important;
    justify-content: space-between !important;
  }

  #customTab .nav-item {
    margin-right: 0 !important;
  }

  #customTab .nav-link {
    font-size: 18px;
    padding: 0.5rem 0.75rem !important;
    margin-right: 0 !important;
  }

  .nav.nav-tabs.border-0.tabs-custom {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  /* Mobile overview section carousel */
  #overview .row.g-2.mt-3 {
    display: block !important;
  }

  #overview .col-md-8,
  #overview .col-md-4 {
    display: none !important;
  }

  .mobile-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0px;
    margin-bottom: 5px;
  }

  .mobile-carousel img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    display: none;
  }

  .mobile-carousel img.active {
    display: block;
  }

  .mobile-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-carousel-prev {
    left: 15px;
  }

  .mobile-carousel-next {
    right: 15px;
  }

  .mobile-see-all-btn {
    position: absolute;
    bottom: 33px;
    right: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #0082df;
    border: none;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }

  .mobile-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-carousel-dot.active {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  /* Room card image mobile fix */
  .room-card-image {
    width: 200px !important;
    height: 150px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }

  .room-card-image .carousel-inner,
  .room-card-image .carousel-item {
    height: 100% !important;
  }

  .room-card-image .carousel-inner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  .nav.nav-tabs.border-0.tabs-custom {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    border-bottom: 2px solid grey !important;
    padding-bottom: 3px !important;
  }

  .nav.nav-tabs.border-0.tabs-custom::-webkit-scrollbar {
    height: 2px !important;
    display: block !important;
  }

  .nav.nav-tabs.border-0.tabs-custom::-webkit-scrollbar-thumb {
    background: #000 !important;
    border-radius: 1px !important;
    width: 100% !important;
  }

  .nav.nav-tabs.border-0.tabs-custom::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    width: 100% !important;
  }

  /* Mobile swipe functionality for hotel image carousels */
  .hotel-image-carousel {
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .hotel-image-carousel .carousel-slide {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease !important;
  }

  .hotel-image-carousel.swiping .carousel-slide {
    transition: none !important;
  }

  /* Hide navigation buttons on mobile during swipe */
  .hotel-image-carousel.swiping .carousel-prev,
  .hotel-image-carousel.swiping .carousel-next {
    opacity: 0.3;
    pointer-events: none;
  }

  .review-info {
    flex-direction: column;
  }

  .review-count {
    margin-left: -15px !important;
  }
}
.similer-hotels-discount-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 117px;
  height: 30px;
  background: #FFF7F7;
  border: 1px solid #F46868;
  border-radius: 12px 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #F46868;
  z-index: 5;
}
