.hotel_item {
    margin-bottom: 50px;
    background: var(--bg-item);
    /*padding: 10px;*/
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
    border: solid 1px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hotel_item {
    border: 1px solid #f5f5f5;
    box-shadow: none;
    border-radius: 20px;
}

.hotel_item>.row {
    margin: 0;
}

.hotel_item--gallery--wrapper {
    /* width: 600px; */
    border-radius: 14px 0 0 14px;
    position: relative;
    padding-right: 0px;
    padding: 0;
}

.hotel_item--gallery--top {
    position: relative;
}

.hotel_item--gallery--top::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Điều chỉnh độ cao của fade */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
}


.hotel_item--logo {
    /*position: absolute;*/
    /*right: 10px;*/
    /*top: 10px;*/
    /*padding: 10px;*/
    /*background: #fff;*/
    position: absolute;
    /* right: var(--spacing2x); */
    left: var(--spacing2x);
    /* top: var(--spacing2x); */
    bottom: var(--spacing2x);
    /* box-shadow: 0 0 10px 0px #fff; */
    /* border: 1px solid #fff; */
    /*padding: 10px;*/
    /*background: rgb(255 255 255 / 30%);*/
    /*border-radius: 20px;*/
    /* filter: grayscale(1) brightness(1000%); */
}

.hotel_item--gallery {
    margin: 0 !important;
    height: 100%;
}

.hotelcross--extend .slick-dotted.slick-slider {
    margin: 0;
}

.hotel_item--gallery .slick-list {
    /* border-radius: 20px 0 0 20px; */
    height: 100%;
}

.hotel_item--gallery .slick-track {
    display: flex;
    height: 100%;
}

.hotel_item--gallery img {
    /* height: auto !important; */
    border-radius: 14px 0 0 14px;
    /*border-radius: 20px 20px 0 0;*/
    object-fit: cover;
    width: 100%;
    height: 300px;
    min-height: 300px;
    /* aspect-ratio: 2/1.5; */
}

.flickity-page-dots {
    bottom: 5px !important;
    right: 20px;
    text-align: right;
    background: #0000004f;
    padding: 5px 10px;
    border-radius: 20px;
    width: fit-content;
}

.flickity-page-dots .dot {
    background: #fff;
    width: 8px;
    height: 8px;
}

.flickity-prev-next-button.next {
    width: 30px;
    height: 30px;
    right: 20px;
}

.flickity-prev-next-button.previous {
    width: 30px;
    height: 30px;
    left: 20px;
}

.hotel_item--infomation {
    /*padding: 20px;*/
    /*border-bottom: 1px solid #b2b2b2;*/
    /* padding-bottom: 20px; */
}

/* .hotel_item--description--text {
    height: 45px;
    overflow: hidden;
    color: #888;
    font-size: 14px;
} */
.hotel_item--description--wrapper {
    margin-top: var(--spacing1x);
}

.hotel_item--description--text {

    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    /* line-clamp: 5;  */
    max-height: 7.5em;
    line-height: 1.5em;
    color: #555555;
    font-size: 14px;
}

section.master-body[data-browser="safari"] .hotel_item--description--text {

    /* display: flex;
    flex-direction: column; */

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 21px;
    max-height: 45px;

}



.hotel_item--viewrates {
    border-radius: 20px;
    font-weight: 300;
    font-size: 14px !important;
    padding: 8px 30px;
    width: fit-content;
    background: var(--main-color);
    color: #fff;
    display: inline-block;
    margin-top: 5px;
}

.hotel_item--viewrates:hover {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.hotel_item--content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* padding: 8px 16px; */
    padding: 24px 16px 8px 16px;
    /* flex: 2.5; */
}

.hotel_item--body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: #fff;
    border-radius: 0 14px 14px 0;
    /* padding: 30px; */
    padding-right: 16px;
    padding-bottom: 12px;
    padding-left: 12px;
}

.hotelcross--extends {
    /* background: #fff; */
    /* padding: 5px 10px; */
    padding: var(--spacing3x);
    /* border-top: 1px solid #eee; */
    /* width: calc(100% - 12px); */
    width: 100%;
    position: absolute;
    /*bottom: 10%;*/
    right: 0;
    /*background: linear-gradient(0deg, rgba(238, 238, 238, 1) 0%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);*/
    background: linear-gradient(0deg, rgba(238, 238, 238, 1) 0%, rgb(124 124 124) 0%, rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    left: 0;
    padding-bottom: var(--spacing2x);
    border-radius: 0 0 0 16px;
}

.hotelcross--extend {
    padding: 10px 30px 10px 30px;
    flex: 1;
}

.hotelcross--extend .slick-list {
    padding: 0px;
}

.hotel_item--footer {
    text-align: right;
    /* margin-bottom: 20px; */
    /* margin-right: 25px; */
    /* margin-top: 10px; */
    /* border-bottom: 1px solid #f5f5f5; */
    padding: 8px 16px;
    display: flex;
    justify-content: end;
    align-items: end;
    /* flex: 1; */
    gap: 8px;
}

.hotel_item--title {
    font-weight: 400;
    color: #101010;
    margin-bottom: 0;
    font-size: 20px;
}


.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%);
}

.hotel_item--link--details {
    text-decoration: none;
    color: #000;
    display: flex;
    gap: 5px;
    align-items: center;
    margin-top: var(--spacing1x);
    font-weight: 600;
}

.hotel_item--link--details span {
    color: var(--main-color);
    /* color: #000; */
    font-size: 14px;
    font-weight: 500;
}

.hotel_item--link--details:hover i {
    transition: all 0.3s ease-in-out;
    transform: translateX(5px);
}

.hotel_item--stars {
    color: #ffd600;
}

.amenities--tag {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    height: 30px;
    overflow: hidden;
}

.amenity--tag {
    /* border: 1px solid #ccc; */
    padding: 2px 10px;
    /*border-radius: 20px;*/
    font-size: 14px;
    filter: brightness(0.8);
    color: #000;
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.amenity--tag--member {
    background: #000;
    color: #fff !important;
}

.amenity--tag {
    /* border: 1px solid #ccc; */
    padding: 2px 10px;
    /*border-radius: 20px;*/
    font-size: 14px;
    filter: brightness(0.8);
    color: #000;
    margin-right: 5px;
    /* flex: 1; */
    text-align: center;
    justify-content: center;
    gap: 2px;
}


.amenity--tag:hover {
    filter: brightness(1);
    color: #101010;
}

.hotel_item--price--tags {
    display: flex;
    gap: 5px;
    justify-content: end;
    padding: 0px;
    margin-bottom: 5px;
}

.hotel_item--price--tag {
    padding: 2px 10px;
    border-radius: 14px;
    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: 0px;
    white-space: nowrap;

    display: flex;
    align-items: center;
    gap: 4px;
}

.hotel_item--price--real .from {
    font-size: 16px;
    color: #888;
}

.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;
              }*/


.hide {
    display: none;
}


/* slick */

.slick-dots {
    bottom: 25px !important;
    right: 20px;
    text-align: right !important;
    background: #0000004f;
    padding: 5px 10px;
    border-radius: 20px;
    width: fit-content !important;
}

.slick-dots li {
    background: #fff;
    width: 8px !important;
    height: 8px !important;
    display: inline-block;
    margin: 0 8px;
    border-radius: 50%;
    opacity: .25;
    cursor: pointer;
}

.slick-dots li button {
    display: none !important;

}

.slick-dots li.slick-active {
    background: #fff !important;
    opacity: 1;
}

.slick-prev.slick-arrow {
    /* left: 20px; */
    left: -15px;
    z-index: 2;
}

.slick-next.slick-arrow {
    /* right: 25px; */
    right: -15px;
    z-index: 2;
}


.slick-prev.slick-arrow:before,
.slick-next.slick-arrow:before {
    font-size: 30px;
}

.hotelcross--extend .slick-prev.slick-arrow:before,
.hotelcross--extend .slick-next.slick-arrow:before {
    font-size: 20px;
}

.hotel_item--ratings {
    margin: 0;
    margin-bottom: var(--spacing2x);
    gap: var(--spacing1x);
    margin-top: 8px;
}


.rooms--banner--image {
    aspect-ratio: 2/1.5;
}


.room--desciption~p {

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

.brand--cta_btn {

    padding: 20px;
    display: flex;
    justify-content: center;

}

.brand--cta_btn a {

    border: 1px solid var(--main-color);
    color: white;
    background-color: var(--main-color);
    padding: 20px;
    min-width: 65%;
    text-align: center;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 400;

}

/* lightgallry */
.lg-thumb-outer.lg-grab {
    text-align: center;
}

/* slick  */
.slick-dots {
    position: absolute;
    bottom: 10px !important;
    right: 20px;
    text-align: right !important;
    background: #0000004f;
    padding: 5px 10px;
    border-radius: 20px;
    width: fit-content !important;
}

.slick-dots li {
    background: #fff;
    width: 8px !important;
    height: 8px !important;
    display: inline-block;
    margin: 0 8px;
    border-radius: 50%;
    opacity: .25;
    cursor: pointer;
}

.slick-dots li button {
    display: none !important;

}


.slick-dots li.slick-active {
    background: #fff !important;
    opacity: 1;
}

/* .slick-prev.slick-arrow {
    left: 20px;
    z-index: 2;
}

.slick-next.slick-arrow {
    right: 25px;
    z-index: 2;
} */


.slick-prev.slick-arrow:before,
.slick-next.slick-arrow:before {
    font-size: 30px;
}





.room--slick.slick-slide {
    margin: 0 10px;
}

/* .slick-list {
                margin: 0 -10px;
              } */


.number.loading {
    display: inline-block;
    font-size: 20px;
    letter-spacing: 2px;
    /* Khoảng cách giữa các dấu chấm */
    position: relative;
}

.number.loading::after {
    content: '';
    display: inline-block;
    width: 1.5em;
    text-align: left;
    animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

.allcross--room img {
    width: 100%;
    height: 80px !important;
    object-fit: cover;
}


.allcross--room {
    padding-right: 2px;
    padding-left: 2px;
}

.cross--room {
    position: relative;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 8px;
}

.cross--room--info {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: end;
    /*align-items: center;*/
    padding: 5px;
    color: #fff;
    background: rgb(0 0 0 / 47%);
    background: linear-gradient(0deg, #3d3d3d 0%, #3d3d3d 10%, rgba(0, 0, 0, 0) 100%);
    flex-direction: column;
    font-size: 14px;
    line-height: var(--spacing2x);

}

.cross_room--name p {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cross_room--price span {
    font-size: 14px;
}

.cross--room--info p {
    margin: 0;
}

.cross_room--info {
    padding-left: 10px;
}

.cross_room--info a {
    color: black;
    /* padding: 5px 10px; */
}


.cross--room--info a {
    color: white;
}

.cross_room {
    border: 1px solid black;
    border-radius: 6px;
    width: 100%;
    /* margin-left: auto; */
}

.cross_room p {
    margin-bottom: 0;
}


/* .rooms--slide.slick-initialized .slick-slide{
    display: flex;
    justify-content: center;

} */


.slick-prev:before,
.slick-next:before {
    color: gray;
}

.cross--room--info .name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cross--room:hover .cross--room--info {
    transition: all 0.3s ease-in-out;
    background: #79797999;
}

.cross--room:hover img {
    transition: all 0.8s ease-in-out;
    transform: scale(1.3);
}

.hotel--list--wrapper {
    width: 100%;
    position: relative;
}


.hotel--list--items {
    /* background-color: whitesmoke; */
    padding: 0px;
    /* border-radius: 6px; */
    /* height: 80px; */
    /* overflow: hidden; */
    /* height: fit-content; */
    white-space: nowrap;
    /* position: relative; */
    /* overflow-x: hidden; */
    /* overflow-y: hidden; */
    -webkit-overflow-scrolling: touch;
    width: 100%;
    /* padding-bottom: 10px; */
    display: flex;
    /* background: #f5f5f5; */
    padding: 8px 8px 8px 0;
}

.rate--mask {
    background: linear-gradient(253deg, #f5f5f5 0%, #f5f5f5 60%, rgba(0, 0, 0, 0) 100%);
    color: #000;
    font-weight: 400;
    padding-left: 60px;
    padding-right: var(--spacing1x);
}

.rate--mask:hover i {
    transition: all 0.3s ease;
    transform: translateX(5px);
}

/* .filter--single.brand-result-filter {
    display: none;
} */

.room--price--number span {
    font-size: 16px;
}


.price_range {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 20px;

}

.price_range input {

    padding: 4px 8px;
    text-align: center;
    border: 1px solid #CFCFCF;
    border-radius: 4px;
    color: #111;
    cursor: pointer;
    position: relative;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    white-space: nowrap;
    outline: none;

}

.price_range::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 17px;
    right: 17px;
    background: #CFCFCF;
    height: 1px;
}

.price_left {
    position: relative;
}

.text--location {
    font-size: 14px;
    color: #555555;
}

/* noUiSlider */

.filter_price {
    padding: 20px;
}

#price_range_slide.noUi-horizontal {
    height: 4px;
}

#price_range_slide .noUi-touch-area {
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.75);
}


#price_range_slide .noUi-handle.noUi-handle-lower,
#price_range_slide .noUi-handle.noUi-handle-upper {
    width: 20px;
    height: 20px;
    top: -9px;
    border: unset;
}

#price_range_slide .noUi-handle:before,
#price_range_slide .noUi-handle:after {
    background: unset;
}

#price_range_slide .noUi-connect {
    background: #24B400;
}

.hotel_item--devide {
    border-top: 0.0625rem solid rgb(221, 221, 221);
    width: 95%;
    margin: auto;
}


/* cross_filter */

/* .hotel-result-filter,
.brand-result-filter,
.price-result-filter,
.rating-result-filter,
.location-result-filter {
    display: none;
}

.hotel-result-filter.show,
.brand-result-filter.show,
.price-result-filter.show,
.rating-result-filter.show,
.location-result-filter.show {
    display: block;
} */

.hotel--banner--wrapper{
    display: none;
    margin-bottom: 20px;
}
.hotel--banner--wrapper img{
    width: 100%;
}

.filter--single {
    display: none;
}

.filter--single.show {
    display: block;
}

/* animate */

/* hotel skeleton loading */

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hotel_item--skeleton {
    margin-bottom: 20px;
}

.skeleton .skeleton-box,
.skeleton .skeleton-icon {
    background: linear-gradient(90deg, #eeeeee 25%, #f5f5f5 50%, #eeeeee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
    border-radius: 6px;
}

.skeleton-box.img {
    width: 100%;
    height: 288px;
    border-radius: 10px;
}

.skeleton-box.title {
    width: 60%;
    height: 24px;
    margin: 12px 0;
}

.skeleton-box.subline {
    width: 40%;
    height: 18px;
    margin-bottom: 8px;
}

.skeleton-box.textline {
    width: 100%;
    height: 14px;
    margin-bottom: 6px;
}

.skeleton-box.textline.short {
    width: 80%;
}

.skeleton-icon-row {
    display: flex;
    gap: 10px;
    margin: 16px 0;
}

.skeleton-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.skeleton-box.button {
    width: 140px;
    height: 36px;
    border-radius: 20px;
}

.skeleton-box.price {
    width: 150px;
    height: 20px;
    margin-top: 20px;
}



/* end hotel skeleton loading */

/* filter brand , location item */

.filter--search--item {
    display: flex;
    color: #000;
    padding: 10px;
    /* border-top: 1px solid #f5f5f5; */
    text-decoration: none;
    font-size: 14px;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.filter--search--icon {
    width: 26px;
    filter: contrast(0.3);
}

.filter__price {
    border-radius: 20px;
    border: 1px solid #ccc;
    padding: 8px 20px;
    display: flex;
    gap: 5px;
    align-items: center;
    color: #000;
    font-weight: 500;
    cursor: pointer;
}

.filter__price:hover {
    background-color: var(--main-color) !important;
    color: white !important;
    border: 1px solid var(--main-color) !important;
}

.filter--search--item:hover {
    background: #9c1a3f5e;
    color: #000;
    /* font-weight: 800; */
    transition: all 0.3s ease;
}


/* end filter brand , location item */

.hotel_item--no_available {

    font-size: 16px;
    color: #888888;
    margin-bottom: 6px;

}

.count_hotel_text {
    font-size: 18px;
    font-weight: 500;
}

/* hotel price loading */


.hotel_price_loading--wrapper {

    width: 32px;
    height: 32px;
    position: relative;

}

.hotel_price_loading {

    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 4px solid #ccc;
    border-top-color: var(--main-color);
    border-radius: 50%;
    animation: hotel_price_loading 0.8s linear infinite;

}

@keyframes hotel_price_loading {
    to {
        transform: rotate(360deg);
    }
}

/* end hotel price loading */
/* reponsive */

@media screen and (max-width: 1200px) {

    .hotel_item--gallery img {
        /* aspect-ratio: 2/2; */
        /* min-height: 387px; */
        min-height: 300px;
    }

}

@media screen and (max-width: 1100px) {

    .room--price--number span {
        font-size: 12px;
        white-space: nowrap;
    }

    .hotel_item--body {
        justify-content: space-around;
    }

}

@media screen and (max-width: 992px) {

    .room--price--number span {
        font-size: 12px;
        white-space: nowrap;
    }

    /* .hotel_item--gallery img {
        aspect-ratio: 2/2.7;
    } */

    .hotel_item--viewrates {
        padding: 8px 30px;
    }

}


@media screen and (max-width: 768px) {

    .hotels--middle {
        margin-top: 220px;
    }

    .hotel_item--gallery img {
        border-radius: 20px;
    }

    .hotel_item--gallery--wrapper {

        padding-left: 0;

    }

    .hotel_item--viewrates {

        margin-right: auto;
        display: block;
        margin-left: auto;
        width: 100%;
        text-align: center;
    }

    .hotel_item--gallery img {
        aspect-ratio: 2/1.5;
    }

    .hotels--filter__price,
    .hotels--filter__amenities,
    .hotels--filter__brands {
        display: none;
    }

    .hotel_item--footer {
        order: 1;
    }

    .hotel_item--no_available {

        margin-bottom: 0;

    }

}

@media screen and (max-width: 500px) {


    .hotel--list--items {
        overflow-y: hidden;
    }

}

@media screen and (max-width: 450px) {


    .hotel_item--viewrates {
        padding: 8px 0px;
    }

}


@media screen and (max-width: 400px) {


    .hotel_item--footer {
        flex-direction: column;
    }

}