/* :root {
  --main-color: #b5121b;
  --sub-color: #7181cd;
  --bg-color: #eeeeee;
  --bg-item: white;
  --button-color: #b5121b;
  --title-color: black;
  --title-font: 18px;
  --text-font: 14px;
} */

body {
  /* background: #f9f9fb; */
  background: #f4f4f4;
}

body,
html p,
span,
div {
  /*font-family: "DM Sans", sans-serif;*/
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

footer {
  padding: 30px 0;
  background: #101010;
  color: #fff;
}

footer a {
  color: #fff;
}

.footer__banner {
  text-align: right;
}

.footer__social--icon {
  gap: 15px;
  display: flex;
  margin-top: 20px;
}

.footer__banner img {
  width: 200px;
}

#iB_widget--container {
  /*position: sticky;*/
  /*top: 0px;*/
}

section.master-body {
  margin-top: 0px;
  position: relative;
}

.hotels--header--top {
  background: #fff;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.hotels--header--li {
  padding: 5px 0;
}

/* .hotels--header--li .logo img {
  height: 40px;
} */

.hotels--header--ri {
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
}

.hotels--header--ri span {
  font-weight: 500;
}

.hotels--header--ri .languages,
.hotels--header--ri .membership,
.hotels--header--ri .currency {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.currency {
  padding-left: 8px;
  padding-right: 8px;
}

.hotels--header--ri .membership span {
  gap: 5px;
}

.hotels--header--ri .languages:hover:after,
.hotels--header--ri .membership:hover:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #000;
  left: 0;
  right: 0;
  bottom: -16px;
  transform: all 0.5s ease;
}

body[data-chain-alias='centara'] .hotels--header--top.active{
  margin-top: -65px;
  transition: all 0.4s ease;
}
body[data-chain-alias='anchorland'] .hotels--header--top.active,
body[data-chain-alias='jpark'] .hotels--header--top.active
{
  margin-top: -85px;
  transition: all 0.4s ease;
}


.hotels--header--top.active {
  margin-top: -65px;
  transition: all 0.4s ease;
}

.hotels--header--bottom.active .ib--widget--label {
  display: none;
  transform: all 0.3s ease;
}

/* #iB_widget--container.init_shadow .iB-widget--pc{
  padding: 10px 60px !important;
} */

.ib--widget--label {
  /* font-size: 18px; */
  color: #888;
  text-transform: uppercase;
}

.ib--widget--label i {
  color: var(--main-color);
  margin-right: 5px;
  font-size: 14px;
}


.master-header {
  position: relative;
  z-index: 30;
}

.hotels--header {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 5;
}

/* .hotels--middle {
  margin-top: 200px;
} */

#check_availability_button {
  border-radius: 20px;
  display: block;
  margin: inherit;
}

.hotels--filters {
  display: flex;
  gap: 10px;
}

.hotels--filter {
  border-radius: 20px;
  border: 1px solid #ccc;
  padding: 8px 20px;
  display: flex;
  gap: 5px;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

.hotels--filter.active {
  background-color: #acacac;
  color: #fff;
}

.hotels--filter:hover {
  background-color: var(--main-color) !important;
  color: white !important;
  border: 1px solid var(--main-color) !important;
}

.hotels--filter.active span.number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: #101010;
  color: #fff;
}

.hotel--number--wrapper {
  padding: var(--spacing1x);
  /*padding-bottom: 10px;*/
}

.hotel--number--summary {
  font-size: 18px;
  font-weight: 500;
}

.hotel--sort {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.hotel--sort .value {
  font-weight: 400;
  color: var(--main-color);
}

.BOOKING_FORM {
  z-index: 2;
}

#datepicker button i,
#destination button i,
#rooms button i,
#coupon button i {
  color: #2986fe;
}

.brand--banner {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.brand--wrapper {
  position: relative;
}

.brand {
  margin-bottom: 40px;
}

.brand--content {
  border: 1px solid #ccc;
  padding: 10px;
  padding-top: 0;
}

.brand--info {
  position: absolute;
  /*top: 0;*/
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,

      rgba(255, 255, 255, 0) 0%,
      rgba(0, 0, 0, 1) 100%);

}

.brand--info--container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding-bottom: 20px;
  color: #fff;
}

.rating-stars {
  font-family: 'FontAwesome';
  font-size: 13px;
  color: #ffc847;
  /* margin-top: -0.5em; */
}

.stars-5::after {
  content: "\f005 \f005 \f005 \f005 \f005";
}

.stars-4::after {
  content: "\f005 \f005 \f005 \f005";
}

.stars-3::after {
  content: "\f005 \f005 \f005";
}

.stars-2::after {
  content: "\f005 \f005";
}

.stars-1::after {
  content: "\f005";
}

.brand--info--name {
  width: 70%;
}

.brand--ratings {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.brand--reviews i.fa-solid {
  color: green;
}

.brand--description {
  font-size: 14px;
  margin-bottom: 0;
}

.long-arrow-right {
  display: block;
  margin: 30px auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  margin-left: 30px;
}

.long-arrow-right {
  transform: rotate(135deg);
}

.long-arrow-right::after {
  content: "";
  display: block;
  width: 2px;
  height: 30px;
  background-color: #fff;
  transform: rotate(-45deg) translate(10px, 4px);
  left: 0;
  top: 0;
}

.brand--viewmore {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  height: 36px;
  border-radius: 20px;
  padding: 10px 20px;
  border: 1px solid #fff;
  width: fit-content;
  margin-top: 10px;
  transition: all 0.2s ease-in-out;
  min-width: 188px;
}

.brand--viewmore:hover .long-arrow-right::after {
  height: 50px;
  transform: rotate(-45deg) translate(17px, 4px);
  transition: all 0.3s ease;
}

.brand--viewmore:hover .long-arrow-right {
  transition: all 0.3s ease;
  margin-left: 45px;
}

.brand--tags {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.brand--tag {
  color: #fff;
  border: 1px solid #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 13px;
}

.brand--tag--member {
  background: #fff;
  color: #000;
}

.brand--calendar--btn {
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 5px 20px;
  background: #fff;
  color: #000;
  text-decoration: none;
  min-width: 188px;
  text-align: center;
}

/* .brand--share--btn {
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 5px 20px;
  background: #fff;
  color: #000;
  text-decoration: none;
  min-width: 188px;
  text-align: center;
} */

.brand--share--btn {
    display: inline-block; /* hoặc flex nếu cần canh giữa */
}

.brand--share--btn > a {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 5px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    min-width: 188px;
    text-align: center;
    box-sizing: border-box; /* đảm bảo padding không làm vượt kích thước */
}

.brand--photos--btn {
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 5px 20px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  min-width: 188px;
  text-align: center;
  margin-top: 10px;
}

.brand--info--actions {
  display: flex;
  flex-direction: column;
  align-items: end;
  flex: 1;
}

.rooms {
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
}

.room--tags {
  /* display: flex; */
  gap: 2px;
  /* margin: 10px 0; */
  margin-top: 6px;
  justify-content: flex-end;
}

.room--tag {
  color: #000;
  border: 1px solid #000;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 13px;
}

.room--tag--member {
  background: #000;
  color: #fff;
}

.rooms--banner--image {
  /* border-radius: 20px 20px 0 0; */
  /* height: 260px; */
  height: 400px;
  object-fit: cover;
}

.rooms--banner {
  position: relative;
}

.rooms--banner--count {
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 5px 20px;
  background: #1e1d1d82;
  color: #fff;
  text-decoration: none;
  text-align: center;
  position: absolute;
  right: 20px;
  bottom: 10px;
  cursor: pointer;
}


.room--items[data-template='detail'] .rooms--banner--image {
  border-top-left-radius: 16px;
}

.room--bed .icon {
  width: 25px;
}

.room--bed .tip {
  color: #888;
  font-size: 14px;
}

.room--items {
  padding: 0px;
  /* border-top: 1px solid #ccc; */
  /* border-top: none; */
  /*border: 1px solid #eee;*/
  /*margin-top: 20px;*/
  border-radius: 16px;
  background: #fff;
  position: relative;
  /*margin-bottom: 20px;*/
}

.room--container {
  /*border: 1px solid #f5f5f5;*/
  border-radius: 14px;
}

.rooms--info {
  padding: 10px 20px;
  /* height: 183px; */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 0px;
  height: 100%;
  /* background: #fff; */
  border-radius: 0 14px 0 0;
  padding-bottom: 0px;
  /* margin-left: 24px; */
}

.rooms--info--name {
  font-size: 20px;
  font-weight: 500;
  flex: 1;
}

.rooms--info--name p {
  margin: 0;
  font-weight: 600;
}

.room--price--from {
  font-size: 18px;
  font-weight: 500;
}

.room--price--from .from {
  font-size: 16px;
}

.room--price--from .price--number {
  font-weight: 600;
}

/* .room--list--items {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  cursor: pointer;
  margin-top: 5px;
} */

.room--list--wrapper {
  width: 100%;
  position: relative;
}

.room--list--items {
  /* background-color: whitesmoke; */
  padding: 0px;
  /* border-radius: 6px; */
  /* height: 80px; */
  /* overflow: hidden; */
  /* height: fit-content; */
  white-space: nowrap;
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding-bottom: 10px;
  padding-top: 4px;
}

.room--items .room--body {
  margin-top: 12px;
}

.room--list--item {
  color: #000;
  border: 1px solid #000;
  padding: 2px 10px;
  /* border-radius: 20px; */
  font-size: 13px;
  margin-right: 5px;
}

.room--desciption {
  color: #555555;
  font-size: 14px;
  margin-top: 5px;
}

.room--desciption {


  /* display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis; */
  margin-top: 10px;
  margin-bottom: 20px;
}

.room--desciption a {
  color: var(--button-color);
  text-decoration: none;
}

.room--desciption p {
  margin: 0;
}

.room--rate {
  padding: 18px 0px 4px;
  /* border-radius: 14px; */
  height: 100%;
  margin-bottom: 10px;
  position: relative;
  background: #fff;
  /* box-shadow: 0 0 10px 0 #eee; */
}

.room--rate .hotel_item--label {
  top: 6px;
}

.room--rate h3 {
  font-weight: 600;
  font-size: 18px;
}

.room--rate--btn {
  /*background: var(--button-color) !important;*/
  /*border-color: var(--button-color) !important;*/
  padding: 4px 35px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  width: 300px;
}

.room--rate--btn.member_exclusive_new {
  background: var(--button-color) !important;
  border-color: var(--button-color) !important;
}

.room--rate--prices {
  /* display: flex; */
  text-align: right;
}

.room--rate--price__old p {
  margin: 0;
}

.room--rate--price__current p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}

.room--rate--btns {
  width: 100%;
  margin-bottom: 5px;
}

.room--rate--name p {
  margin: 0;
  font-weight: 600;
}

.room--rate--name h3 {
  margin-bottom: 5px;
}

.room--rate--name {
  line-height: 18px;
}

.rate--plan--promo {
  font-size: 13px;
  color: #4caf50;
}

.rate--plan--head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-direction: column;
}

div[data-toggle="tooltip"] {
  display: flex;
  justify-content: start;
  /* gap: 8px; */
}

.room--rate--reward {
  line-height: 18px;
}

.room--rate--description {
  font-size: 13px;
  color: #888;
  margin-bottom: 5px;
}

.room--rate--description p {
  margin: 0;
}

/*.room--rate--description a.detail-trigger{
  text-decoration: underline !important;
  color: var(--main-color);
}
.room--rate--description a.detail-trigger:hover{
  
  color: #000;
}*/
.room--rate--description a.detail-trigger {
  text-decoration: none;
  color: #000;
  display: flex;
  gap: 5px;
  align-items: center;
}

.room--rate--description a.detail-trigger span {
  /*color: var(--main-color);*/
  color: #000;
  font-size: 14px;
  font-weight: 400;
}

.room--rate--description a.detail-trigger:hover i {
  transition: all 0.3s ease-in-out;
  transform: translateX(5px);
}

/* .room--rate {
  flex: 0 0 auto;
  width: calc(50% - 10px);
} */
.room--rates[data-rate="1"] .room--rate {
  width: 100%;
}

.room--rate--footer {
  display: flex;
  justify-content: space-between;
}

.rate--plan--bottom {}

.room--events {}

.rate--plan--top {}

.estimate-reward {
  font-size: 13px;
  gap: 5px;
  display: flex;
  /* margin-left: 0px; */
  justify-content: end;
  align-items: center;
}

.rate--plan--wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.room--event {
  font-size: 14px;
  margin-top: 5px;
}

.hotel_item--label {
  position: absolute;
  top: 20px;
  left: -9px;
  background: red;
  padding-left: 15px;
  padding-right: 5px;
  color: #fff;
  height: 22px;
  z-index: 1;
  font-size: 14px;
}

.hotel_item--label__before {
  position: absolute;
  border-style: solid;
  bottom: 100%;
  left: 0px;
  border-width: 0 0.69em 0.8em 0;
  border-color: transparent red transparent transparent;
  top: 22px;
  filter: brightness(75%);
}

.room--tax--text {
  font-size: 14px;
  display: block;
  color: #888;
  margin-bottom: 10px;
  margin-top: -10px;
  text-align: right;
}

.hotel_item--price--tag {
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid #101010;
  font-size: 14px;
}

.hotel_item--price--tag.tag--member {
  background: #101010;
  color: #fff;
}

.hotel_item--price--real {
  text-align: right;
  padding-right: 10px;
  padding-bottom: 10px;
}

.hotel_item--price--real .from {
  font-size: 18px;
}

.hotel_item--price--real .number {
  font-size: 24px;
  font-weight: 700;
}

.hotel_item--price--public {
  text-align: right;
  padding-right: 10px;
  color: #888;
}

.hotel_item--price--public .from {
  font-size: 14px;
}

.hotel_item--price--public .number {
  font-size: 18px;
  font-weight: 400;
}

.hotel_item--price--wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* align-items: end; */
  justify-content: flex-end;
  padding: 20px 10px;
}

.room--viewrates--btn {
  margin: initial;
  width: 250px;
  border-radius: 20px;
  padding: 5px;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
}

.room--price--wrapper {
  text-align: right;
}

.room--rate--footer .room--tags {
  justify-content: start;
  color: #000;
}

.room--footer--rates {
  display: flex;
  justify-content: space-between;
  margin-top: -5px;
  margin-bottom: 10px;
}

.room--footer--rates .room--rate--btn {
  width: fit-content;
  min-width: 140px;
}

.room--footer--rates[data-rates="2"] .room--rate--single:nth-child(1) .room--rate--prices {
  text-align: left;
}

.room--footer--rates[data-rates="2"] .room--rate--single:nth-child(1) .room--tax--text {
  text-align: left;
}

.room--footer--rates[data-rates="1"] .room--rate--single:nth-child(1) .room--rate--prices {
  /* text-align: left; */
}

.room--footer--rates[data-rates="1"] .room--rate--single:nth-child(1) .room--tax--text {
  /* text-align: left; */
}

.room--footer--rates[data-rates="1"] {
  justify-content: space-between;
  width: 80%;
}

.room--rates {
  padding: 5px 20px;
  /*border: 1px solid #f5f5f5;*/
  border-top: none;
  /*margin-top: -15px;*/
  /*background: #f5f5f5;*/
}

.room--rate--btn {
  border: 1px solid;
}

.room--rate--regular .room--rate--btn {
  background: white;
  border-color: #000;
  color: #000;
}

.room--rate--regular .room--rate--btns .room--rate--btn.primary {
  background: white;
  border-color: #000;
  color: #000;
}

.room--rate--disable .room--rate--btn {
  background: #9e9e9e;
  border-color: #9e9e9e;
}

.room--rate--disable .room--rate--price__current {
  color: #888;
  text-decoration: line-through;
}

.rate--footer--caption {
  /*padding-top: 10px;*/
  border-top: 1px solid #eee;
}

.rate--footer--caption a {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  /* text-decoration: underline !important; */
}


.rooms--banner--wrapper {
  position: relative;
  padding-right: 0px;
}

.rooms--info--wrapper {
  padding-left: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  /* margin-top: 8px; */
  /*background: #fff;*/
  /*border-radius: 20px;*/
}

.hotel--sort--container {
  position: relative;
  display: flex;
  align-items: center;
}


.hotel--sort--modal {
  display: none;
  position: absolute;
  background: #fff;
  height: fit-content !important;
  padding: 10px 15px 10px;
  border-radius: 10px;
  box-shadow: 3px 4px 10px 0px #bfbfbf;
  z-index: 3;
  right: 0;
  top: 35px;
  /*width: 110%;*/
}

.hotel--sort--modal_list {
  list-style: none;
  padding-left: 0;
  /*margin: 5px 0;*/
  /*font-weight: 600;*/
  color: #000;
  position: relative;
  min-width: 110px;
}

.hotel--sort--modal_list:after {
  content: "";
  border-left: solid 10px transparent;
  border-right: solid 10px transparent;
  border-bottom: solid 10px #fff;
  height: 0;
  width: 0;
  position: absolute;
  top: -20px;
  right: 10px;
}

.hotel--sort--modal_list li {
  padding: 10px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  cursor: pointer;
}

.hotel--sort--modal_list li:hover {
  background: #f5f5f5;

}

.hotel--sort--modal_list li:last-child {
  border: none;

}

/*filter*/
.filter--title {
  font-size: 18px;
  font-weight: 600;
  color: var(--main-color);
}

.filter--single {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.filter--currency {
  display: flex;
  align-items: center;
  gap: 30px;
}

.filter--currency .form-check-label {
  margin-top: 14px;
}

.form-check-input:checked {
  background-color: var(--button-color);
  border-color: var(--button-color);
}

/* .filter--brands {
    display: flex;
    gap: 20px;
} */

.filter--brands--logo {
  margin-bottom: 10px;
}

.filter--brands img.active {
  filter: grayscale(0);
  border: 2px solid var(--button-color);
}

.filter--brands img {
  height: 80px;
  filter: grayscale(1);
  padding: 5px;
  border-radius: 10px;
  border: 2px solid #eee;
  width: 100%;
  object-fit: contain;
}

.filter--amenities hr {
  width: 200px;
  border-color: #eee;
}

/* ... */


/* .hotel--sort--modal_list li 
{
  text-align: center;
} */


.search--results {
  height: 180px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.room--rate--reward .original--price {
  color: gray;
}

/* .room--rate--reward .dicount--price {

  font-size: 16px;
  font-weight: 400;
  color: var(--main-color);
} */

/* .rate--title {
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
} */

.room--footer--rates.regular_rate[data-rates="1"] .rate--title {
  font-weight: 600;
  margin-bottom: 2px;
}

.room--footer--rates.regular_rate[data-rates="1"] .room--rate--reward .dicount--price {
  font-size: 16px;
  font-weight: 400;
}

.room--footer--rates.regular_rate[data-rates="1"] .room--rate--btns .room--rate--btn.primary {
    background: white;
    border-color: #000;
    color: #000;
}

.room--footer--rates.membership_rate[data-rates="1"] .rate--title {
  color: var(--main-color);
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
}

.room--footer--rates.membership_rate[data-rates="1"] .room--rate--reward .dicount--price {
  font-size: 16px;
  font-weight: 400;
  color: var(--main-color);
}

.room--footer--rates.membership_rate[data-rates="1"] .room--rate--btns .room--rate--btn.primary {
  background: var(--button-color) !important;
  border-color: var(--button-color) !important;
}


.room--footer--rates[data-rates="1"] .room--rate--price__current p {
  display: none;
}


.filter--option--wrapper {
  display: flex;
  gap: 8px;
}

.filter--option--wrapper .filter--option {
  border-radius: 20px;
  border: 1px solid #ccc;
  padding: 8px 20px;
  display: flex;
  gap: 5px;
  align-items: center;
  font-weight: 600;
}

.filter--option--wrapper .filter--option a {
  color: black;
}


.filter--option--wrapper .filter--option.filter_active a {
  color: white;
}



/* nhan's */

.room--head {


  /* border-bottom: 0.0625rem solid rgb(221, 221, 221); */
  padding-top: 14px;
  padding-bottom: 14px;
  /*margin-bottom: 10px;*/
  padding-left: 12px;
  /* display: flex; */
  align-items: center;
  /* justify-content: space-between; */
  /* gap: 20px; */


}

.room--head--top{
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  width: 100%;
}

/* .room--head--bottom{
  display: flex;
} */

.filter_active {


  background-color: var(--main-color) !important;
  color: white !important;
  border: 1px solid var(--main-color) !important;

}

.location_active {
  background-color: #9c1a3f5e !important;
  color: #000 !important;
}

.hotels--filters .hotels--filter a {
  color: black;
  font-weight: 400;
}

/* .hotels--filters .hotels--filter.filter_active a {
  color: white;
} */


.room--rates.first--rate {
  background: none;
  border: none;
  padding-left: 8px;
  padding-right: 8px;
  /* width: 80%; */
  margin: auto;
  padding-bottom: 0;
  padding-top: 15px;
}

.room--rates.first--rate .rate--item {
  width: 100%;
  margin: 0;
}


.room--rates.first--rate .room--rate {
  border: none;
  padding: 0;
  box-shadow: none;
}

.room--rates.first--rate .rate--item .room--rate--description.first-rate__hidden,
.room--rates.first--rate .rate--item .rate-caption.first-rate__hidden {
  display: none;
}

.room--rates.first--rate .room--footer--rates {
  margin-bottom: 0;

}

.room--rates.first--rate .rate--plan--wrapper {
  height: auto;
}

.room--rates.first--rate .rate--plan--bottom {
  padding-bottom: 10px;
}

/* .room--rate--btns .room--rate--btn.primary {
  background-color: var(--main-color);
  border-color: var(--main-color);
} */

/* .first-rate__hidden
{
  display: none !important;
} */

.room--rates.first--rate .room--footer--rates .rate-secondary,
.room--rates.first--rate .room--footer--rates .rate-primary {

  display: flex;
  flex-direction: column;
  gap: 8px;

}

.room--rates.first--rate .room--footer--rates .rate-secondary {
  align-items: baseline;
}

.room--rates.first--rate .room--footer--rates .rate-primary {
  align-items: end;
}


/* .rooms--info{
  width: 85%;
  margin-right: auto;
  margin-left: 25px;
} */

.room_list {
  margin-top: 25px;
}

.rooms--info_view--details {
  /*font-size: 14px;*/
  color: #333;
  display: block;
  position: relative;
  /* margin-left: 24px; */
  font-size: 12px;
  /* flex: 1; */
  /* text-align: right; */
  /* padding-left: 32px; */
}

/* .rooms--info_view--details:after{
  position: absolute;
  width: 100%;
  left: 0px;
  bottom: -2px;
  height: 1px;
  background: #333;
  content: '';
} */
.rooms--info_view--details:hover:after {
  height: 2px;
  transition: all 0.3s ease;
}

a.rate-tnc-button,
a.breakdown-button {
  color: #333;
  display: inline-block;
  position: relative;
  font-weight: 300;
}

a.rate-tnc-button:after,
a.breakdown-button:after {
  position: absolute;
  width: 100%;
  left: 0px;
  bottom: -2px;
  height: 1px;
  background: #333;
  content: '';
}

a.rate-tnc-button:hover:after,
a.breakdown-button:hover:after {
  height: 2px;
  transition: all 0.3s ease;
}

.room--rates.first--rate .room--rate--name {
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}


/* .room--footer--rates[data-rates="2"]{
  width: 85%;
  margin: auto;
  padding-bottom: 20px;
} */


.room--rates.rates--grid .rate--item {
  min-height: 230px;
  border-top: 0.0625rem solid rgb(221, 221, 221);
}

.room--rates.rates--grid .layout--logined--have--1rate.rate--item {
  min-height: 200px;
  border-top: 0.0625rem solid rgb(221, 221, 221);
}

.room--rates.rates--grid .rate--item:nth-child(1) {
  border-top: 0.0625rem solid rgb(221, 221, 221);
}

.room--rates.rates--grid .room--rate form {
  /* width: 85%; */
  width: 100%;
  margin: auto;
}

.room--footer--rates[data-rates="2"] {

  width: 83%;

}

.room--footer--rates[data-rates="2"] .rate-secondary {

  display: flex;
  flex-direction: column;
  align-items: baseline;

}

.room--footer--rates[data-rates="2"] .rate-primary {

  display: flex;
  flex-direction: column;
  align-items: end;
  /* text-align: right; */
}

.room--rate--member .room--rate--price__old p {
  display: flex;
  align-items: center;
  /*gap: 5px;*/
  /* justify-content: flex-end; */
}

.room--rate--prices .fa-lock {
  /*animation: shake 3s;*/
  animation-iteration-count: infinite;
  display: block;
  animation-delay: 10s;
  animation: shake 3s ease-in-out, pause 8s linear;
  animation-iteration-count: infinite;
}


.rooms--amenity--list {
  list-style: none;
  color: black;
  font-weight: 400;
  line-height: 24px;
  font-size: 14px;
}

.room--modal .room--amenity--list ul {

  list-style: none;
  display: flex;
  flex-wrap: wrap;
  color: black;

}

.room--modal .room--amenity--list .rooms--amenity--item {

  margin-right: 8px;
  padding: 2px 10px;
  border: 1px solid black;
  margin-bottom: 8px;
}

.room--additional--info {
  display: flex;
  gap: 12px;
  margin: auto;
}

.room--additional--item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.room--additional--item span {
  color: #888;
  font-weight: 400;
}


/* .rooms--banner .slick-list {
  height: 425px;
} */


/* hotel info grid gallery */
.hotel_info--gallery_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hotel_info--gallery_grid a {
  position: relative;
  display: block;
}

.hotel_info--gallery_grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  aspect-ratio: 1/.6;
}

.more-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.rate--plan--action{

    display: flex;
    align-items: center;
    gap: 20px;

}

/* Rates Skeleton Loading */

/* Skeleton effect */
.slider-skeleton {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.skeleton-box {
  width: 100%;
  height: 400px;
  /* chỉnh đúng chiều cao ảnh slider của bạn */
  background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
  background-size: 200% 100%;
  animation: loading 1.2s infinite;
  border-radius: 12px;
}

/* Hide rooms--banner before init */
.rooms--banner {
  display: none;
}

/* After Slick initialized */
.rooms--banner--wrapper.loaded .rooms--banner {
  display: block;
}

.rooms--banner--wrapper.loaded .slider-skeleton {
  display: none;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}



/* end rate skeleton loading */



/* animate */
@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

@keyframes pause {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (max-width:1200px) {
  .hotels--header--ri {
    white-space: nowrap;
  }

}

@media screen and (max-width:1100px) {

  .room--footer--rates[data-rates="1"] {
    width: 100%;
  }

  .room--head {
    display: block;
  }

  .room--additional--info {
    margin-top: 4px;
  }

}

@media screen and (max-width: 1000px) {

  /* .room--rates.rates--grid{
    padding: 5px 0;
  } */

  .rate--plan--action
  {
    display: block;
  }

}


@media screen and (max-width:995px) {
  .room--footer--rates[data-rates="2"] .rate-primary {

    align-items: flex-start;

  }

  .room--footer--rates[data-rates="1"] {
    flex-direction: column;
  }

}

@media screen and (max-width:930px) {

  .room--rates.rates--grid {
    padding-right: 8px;
  }

}

@media screen and (max-width: 910px) {

  .room--footer--rates[data-rates="1"] {
    width: 100%;
  }

}

@media screen and (max-width: 900px) {

  .room--footer--rates[data-rates="2"] {
    width: 90%;
  }

  .rooms--info {
    padding: 10px;
  }

}



@media screen and (max-width: 850px) {

  .room--rate--reward .original--price strike {
    font-size: 14px;
  }

  .room--rate--reward .dicount--price {
    font-size: 14px;
  }

  .room--footer--rates[data-rates="1"] .rate--title,
  .room--footer--rates[data-rates="1"] .rate--plan--promo {
    font-size: 12px;
  }


}

@media screen and (max-width: 768px) {

  /* .room--rate{
    border-radius: 0;
  } */

  .room--footer--rates[data-rates="1"] {
    width: 90%;
  }

  .room--footer--rates[data-rates="2"] {
    width: 100%;
  }

  .rooms--info_view--details {
    margin-right: 0;
  }

  .room--head {
    display: flex;
  }

  .room--additional--info {
    margin-top: 0;
  }

  .room--items[data-template='detail'] .rooms--banner--image {
    border-top-left-radius: 0;
  }

  .rooms--info--wrapper {
    padding-left: 12px;
  }

  .room--head--top{
    flex-direction: column;
  }

}

@media screen and (max-width: 700px) {
    .hotel--number--wrapper {
      flex-direction: column;
    gap: 8px;
  }

    .hotel--sort--container {
      justify-content: end;
    }

}

@media screen and (max-width: 600px) {

  .rate--plan--head {
    flex-direction: column;
  }

  .room--rate--reward {
    margin-top: 5px;
  }

  .room--rate--reward div[data-toggle="tooltip"] {

    display: flex;
    gap: 5px;
  }


  /* .room--footer--rates[data-rates="1"] {
    display: block;
  } */

  /* .room--head{
    flex-direction: column;
  } */

  .hotels--filters {
    white-space: nowrap;
    overflow-x: scroll;
    min-width: 300px;
  }

  .room--footer--rates[data-rates="2"] {
    width: 100%;
  }

}



@media screen and (max-width: 500px) {

  .hotels--filter span:first-of-type {
    display: none;
  }

  .room--footer--rates[data-rates="1"] {
    width: 100%;
  }

}

@media screen and (max-width: 430px) {

  .room--footer--rates[data-rates="1"] {
    flex-direction: column;
  }


}

@media screen and (max-width: 400px) {

  .rate-caption {
    font-size: 12px;
  }

  .rooms--info {
    width: 100%;
    margin-left: 0;
  }

  .room--footer--rates[data-rates="2"] {
    width: 100%;
  }

  .rate--item .room--rate--name a {
    font-size: 13px;
  }

  .room--footer--rates[data-rates="2"] .rate-primary {

    align-items: flex-end;
    /* text-align: end; */

  }

}