﻿.p-tours-link {
    display: flex;
}

li.p-tours-item {
    margin-bottom: 25px;
}

a.p-tours-img img {
    border-radius: 5px;
    width: 295px;
}

.wp-top-room-content {
    margin-bottom: 60px;
}

.p-tours-content {
    margin: 0;
    margin-left: 18px;
    flex: 1 1 0;
}

.inner-page-room.room {
    padding-top: 55px;
    padding-bottom: 40px;
}

.tour-content-w-child {
    display: flex;
    margin-top: 25px;
}

.l-tour-content-child {
    flex: 1 1 0;
    padding-right: 15px;
}

.r-tour-list-child {
    width: 64%;
}

.logo-tour-child a {
    display: block;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    margin: auto;
}

    .logo-tour-child a img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.about-tour-name-compa h4 {
    color: #000;
    font-family: 'Montserrat-Bold';
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    margin-bottom: 10px;
    margin-top: 17px;
}

.about-tour-name-compa section {
    font-size: 16px;
    font-weight: 400;
    color: #383838;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    font-family: 'Montserrat-Regular';
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.item-add-name-c span {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    display: block;
    margin-left: 5px;
    font-family: 'Montserrat-Medium';
    display: inline-flex;
    align-items: center;
}

    .item-add-name-c span a {
        margin-left: 5px;
    }

.cate-tour-item span, .time-depart-tour-item span {
    font-size: 15px;
}

.des-item-tour-policy section {
    font-size: 14px;
    font-weight: 400;
    color: #383838;
    line-height: 1.5;
    margin-bottom: 14px;
    font-family: 'Montserrat-Regular';
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.des-item-tour-policy {
    margin-top: 15px;
}

.content-free-btn-tour {
    display: flex;
    align-items: center;
}

.c-free-policy-child-tour {
    width: 75%;
    margin-right: 20px;
}

.r-btn-price-tour {
    flex: 1 1 0;
}

.price-tour-item {
    text-align: center;
}

a.book-now-tour {
    margin: auto;
}

.c-recommended-tour span {
    font-size: 14px;
    font-weight: 400;
    color: #383838;
    line-height: 1.5;
    font-family: 'Montserrat-Regular';
    margin: 0 4px;
}

.free-cancel-tour span {
    font-size: 14px;
    font-weight: 400;
    color: #383838;
    line-height: 1.5;
    font-family: 'Montserrat-Regular';
    margin: 0 6px;
}

.free-cancel-tour {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.c-recommended-tour {
    display: flex;
    align-items: center;
}

.svg-recommended-cancel {
    display: flex;
    align-items: center;
}

.svg-alert-recommended {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.svg-alert-cancel {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.svg-free-cancel {
    display: flex;
    align-items: center;
    background: #c9f2e3;
    border-radius: 50px;
    padding: 3px;
}

    .svg-free-cancel svg {
        fill: #004f32;
    }

.svg-alert-cancel svg, .svg-alert-recommended svg {
    fill: #ff5d5d;
}

.svg-recommended-cancel svg {
    fill: #ff5d5d;
}

.item-add-name-c {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.price-tour-item span {
    font-size: 15px;
}

.wp-top-room-content h1.p-title {
    font-size: 34px;
}

.list-img-tour {
    overflow: hidden;
}

.home-pic-swiper1 .item a img {
    border-radius: 12px;
    height: 204px;
}

a.book-now-tour:hover {
    background: #fdc735;
}

.mess-tour-item span {
    font-size: 14px;
}

.comment-tour-item span {
    font-size: 14px;
}

.svg-item-name-c {
    display: flex;
    align-items: center;
}

.title-tour-child-h h4 {
    color: #000;
    font-family: 'Montserrat-Bold';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

.title-tour-child-h {
    margin-bottom: 15px;
}

.pagination > li {
    display: inline;
}

    .pagination > li:first-child > a, .pagination > li:first-child > span {
        margin-left: 0;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #428bca;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.svg-alert-cancel, .svg-alert-recommended {
    position: relative; /* Quan trọng để định vị popup */
    display: inline-block;
    cursor: pointer;
}

.popup-content {
    position: absolute;
    background-color: #fff;
    color: #000;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Montserrat-Medium';
    visibility: hidden; /* Ẩn mặc định */
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    /* Định vị popup - bạn có thể điều chỉnh theo ý muốn */
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    width: 276px;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0px 0px 9px 1px rgb(142 142 142 / 38%);
}

/* Khi hover */
.svg-alert-cancel:hover .popup-content {
    visibility: visible;
    opacity: 1;
}

.svg-alert-recommended:hover .popup-content {
    visibility: visible;
    opacity: 1;
}

.popup-content::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #ffff;
}
