.service-item span.service-icon img,
.service-item span.service-icon svg {
    max-width: 100%;
}

.tour_item .tour-content .tour-info input {
    width: auto;
    border-radius: 99px !important;
    font-size: 14px;
    border-color: var(--primary-color) !important;
    padding-top: 0;
    padding-bottom: 0;
    height: 30px;
}

.vne_wrap .vne_header .content .vne-menu ul li svg {
    margin-right: 5px;
}

.event-add-to-cart {
    border: 1px solid #F89B1D;
    border-radius: 20px;
    width: 100%;
}

.hotel-ulitis ul {
    flex-wrap: wrap;
}

a.button_style,
.form-select {
    cursor: pointer;
}

.vne-load-more .btn-load-more {
    background: var(--primary-color, #F89B1D);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: opacity .2s;
}

.vne-load-more .btn-load-more:hover {
    opacity: .85;
}

.vne-load-more .btn-load-more:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.vne-load-more .btn-load-more i {
    margin-left: 5px;
}

.mgo_menu_list ul li a {
    font-size: x-small;
}

/* Hide chatbot/trip-planner powered-by branding */
#bp-chat-footer,
.tp-powered {
    display: none !important;
}

/* Hotel room terms - 2 columns + toggle */
.hotel-room .room-content .room-terms-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.hotel-room .room-content .room-term-item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 5px;
    overflow: visible;
}
.hotel-room .room-content .room-term-item p {
    margin: 4px 0;
    gap: 8px;
    font-size: 13px;
    align-items: flex-start;
    word-break: break-word;
    overflow-wrap: break-word;
}
.hotel-room .room-content .room-term-item p svg,
.hotel-room .room-content .room-term-item p img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.room-term-hidden {
    display: none !important;
}
.room-terms-list.expanded .room-term-hidden {
    display: block !important;
    flex: 0 0 50%;
    max-width: 50%;
}
.room-terms-toggle {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--primary-color, #1a73e8);
    cursor: pointer;
    text-decoration: none;
}
.room-terms-toggle:hover {
    text-decoration: underline;
}
.room-terms-toggle i {
    transition: transform 0.2s;
    font-size: 11px;
}
.room-terms-list.expanded + .room-terms-toggle i,
.filter-terms-list.expanded + .room-terms-toggle i {
    transform: rotate(180deg);
}

/* Filter quick search toggle */
.filter-term-hidden {
    display: none !important;
}
.filter-terms-list.expanded .filter-term-hidden {
    display: inline-block !important;
}.hotel_item.hotel_list .hotel-flex-featured {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 10px 0;
    overflow: hidden;
    white-space: normal;
}

/* Placeholder (logo) fallback cho thumbnail hotel — không crop, không méo */
.hotel_item .hotel-thumbnail img.is-placeholder,
.hotel-room .room-gallery img.is-placeholder,
.room-thumbnail img.is-placeholder {
    object-fit: contain !important;
    object-position: center;
    padding: 20px;
    background: #f5f5f5;
    transform: none !important;
}
.hotel_item:hover .hotel-thumbnail img.is-placeholder {
    transform: none !important;
}

/* Nút "Chọn phòng" trong hotel detail header */
header#header-single .header-single-right .header-book .button_style,
header#header-single .header-single-right .header-book .button_single,
.header-book .button_single.button_style {
    padding: 15px 30px !important;
}
@media (max-width: 768px) {
    .button_single,
    a.button_single,
    .header-book .button_single {
        padding: 15px 30px !important;
    }
}

/* Ghi chú nhỏ dưới nút "Gửi yêu cầu" */
.contact-confirm-note {
    font-size: 10px;
    color: #dc2626;
    text-align: center;
    margin-top: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.contact-confirm-note i,
.contact-confirm-note .fa,
.contact-confirm-note svg {
    font-size: 10px !important;
    color: #dc2626 !important;
    fill: #dc2626 !important;
}

/* Sức chứa: hiển thị icon x số lượng, phân biệt người lớn / trẻ em */
.room-list-peoples--compact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.room-list-peoples--compact .capacity-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #374151;
    line-height: 1;
}
.room-list-peoples--compact .capacity-item i,
.room-list-peoples--compact .capacity-item .capacity-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #2563eb;
    flex-shrink: 0;
}
.room-list-peoples--compact .capacity-item--child i,
.room-list-peoples--compact .capacity-item--child .capacity-icon {
    color: #f59e0b;
}
.room-list-peoples--compact .capacity-count {
    font-weight: 600;
}

/* "Liên hệ" trên 1 dòng, "Gửi yêu cầu" dòng dưới — cả 2 căn giữa */
.room-price-utilities.room-price-contact {
    width: 100%;
    text-align: center !important;
    align-items: center !important;
    flex-flow: column !important;
    justify-content: center !important;
    gap: 8px !important;
}
.hotel-room .room-list-utilities .room-price-utilities.room-price-contact .price-utilities-regular,
.room-price-utilities.room-price-contact .price-utilities-regular {
    text-align: center !important;
    align-items: center !important;
    width: 100%;
}
.room-price-utilities.room-price-contact .contact-inline {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    width: 100%;
}
.room-price-utilities.room-price-contact .contact-inline > * {
    margin: 0 !important;
    float: none !important;
    text-align: center;
}
.room-price-utilities.room-price-contact .contact-inline .book-hotel-room {
    display: inline-block;
}
.room-price-utilities.room-price-contact .contact-inline .button_style {
    white-space: nowrap;
    display: inline-block;
}

/* Biến thể không có .contact-inline (hotel-room.blade.php): xếp inline trực tiếp */
.room-price-utilities.room-price-contact:not(:has(.contact-inline)) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.room-price-utilities.room-price-contact:not(:has(.contact-inline)) .price-utilities-title {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 4px;
}
.room-price-utilities.room-price-contact:not(:has(.contact-inline)) .price-utilities-regular,
.room-price-utilities.room-price-contact:not(:has(.contact-inline)) .book-hotel-room {
    margin: 0;
}
.room-price-utilities.room-price-contact:not(:has(.contact-inline)) .button_style {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    /* Hotel detail title: giảm font size cho mobile */
    header#header-single .header-single-left .header-single-head h1 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    /* Sao + badge điểm + text review + số review trên 1 dòng */
    header#header-single .header-single-left .hotel-review {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        overflow: hidden;
    }
    header#header-single .header-single-left .hotel-review .star {
        display: inline-flex;
        flex-shrink: 0;
        gap: 1px;
    }
    header#header-single .header-single-left .hotel-review .star i {
        font-size: 12px !important;
    }
    header#header-single .header-single-left .hotel-review .review-point {
        flex-shrink: 0;
        font-size: 12px !important;
        padding: 2px 6px !important;
    }
    header#header-single .header-single-left .hotel-review strong {
        font-size: 13px !important;
        flex-shrink: 0;
    }
    /* Hotel detail header: giá trái + nút phải, căn đều 2 bên */
    header#header-single .header-single-right {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        gap: 15px;
    }
    header#header-single .header-single-right .header-single-price {
        flex: 0 1 auto;
        width: auto !important;
        text-align: left;
        margin: 0 !important;
        padding: 0 !important;
        align-self: center !important;
    }
    header#header-single .header-single-right .header-single-price p {
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    header#header-single .header-single-right .header-book {
        flex: 0 0 auto;
        width: auto !important;
        text-align: right;
        margin: 0 !important;
        padding: 0 !important;
        align-self: center !important;
        display: flex;
        align-items: center;
    }
    /* Bỏ gạch đứng + margin trái để "Sức chứa" căn giữa đúng */
    .room-list-people {
        border-left: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    /* Mobile: Sức chứa (col 3) + Giá/Đặt phòng (col 4) chia đôi, sát lề */
    .hotel-room > .row > div:nth-child(3),
    .hotel-room > .row > div:nth-child(4) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .hotel-room > .row > div:nth-child(3) .room-list-people {
        padding-left: 0 !important;
    }
    .hotel-room > .row > div:nth-child(4) .room-list-utilities {
        padding-right: 0 !important;
    }
    .room-list-people-title {
        text-align: center;
    }
    .room-list-peoples--compact {
        justify-content: center;
    }
    .room-price-utilities.room-price-contact .contact-inline {
        flex-direction: row;
        justify-content: center;
    }
    /* Mobile: căn giữa toàn bộ khối giá/đặt phòng */
    .hotel-room .room-list-utilities,
    .hotel-room .room-list-utilities .room-price-utilities,
    .hotel-room .room-list-utilities .price-utilities-regular,
    .hotel-room .room-list-utilities .price-utilities-sale,
    .hotel-room .room-list-utilities .price-utilities-title,
    .hotel-room .room-list-utilities .price-regular,
    .hotel-room .room-list-utilities .room-utilitie-counter,
    .hotel-room .room-list-utilities .book-hotel-room {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .hotel-room .room-list-utilities .room-price-utilities {
        flex-flow: column !important;
    }
    .room-list-utilities .book-hotel-room .button_style {
        display: inline-block;
    }
}