/* public/assets/css/headquater.css */

/* ========================================================================= */
/* --- GENERAL STYLES & MAP --- */
/* ========================================================================= */
.entity_index {
    display: flex;
    padding-top: 8px;
    padding-left: 0px;
}

.entity_index li {
    list-style: none;
    margin-right: 10px;
}

/* Force the map container to take full width and override inline styles */
.show-frame > div {
    width: 100% !important;
    height: 80vh !important; 
    max-width: 100% !important;
}

/* Ensure the iframe itself also takes full space */
.show-frame iframe {
    width: 100% !important;
    height: 100% !important;
}

/* Style the map container to look good on the screen */
.show-map {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    position: relative;
    margin: 20px auto; 
}

/* ========================================================================= */
/* --- ROOM DETAILS --- */
/* ========================================================================= */
.show-rooms {
    position: relative;
    padding: 0px 0;
    color: #333;
}

.show-rooms.product-hotel {
    padding: 0px;
}

.show-rooms a.more {
    font-size: 14px;
    font-weight: 600;
    padding: 3px 5px;
    color: rgb(0, 182, 243) !important;
}

.show-rooms p,
.show-rooms h2 {
    color: #333 !important;
    font-weight: 300;
}

.show-rooms h2 {
    font-size: 24px;
}

.show-rooms .bed {
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
}

.show-rooms .bed ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bed.info ul {
    display: flex;
    flex-wrap: wrap;   
    gap: 16px;
    padding: 0;
    list-style: none;
}

.bed.info ul li {
    display: flex;
    align-items: center;
}

.bed.info ul li img.icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.show-rooms .offers p {
    color: #333;
    margin-bottom: 3px;
}

.show-rooms .bed ul li {
    padding: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.show-rooms .bed span {
    color: #333;
}

.show-rooms .bed p {
    margin: auto 0px;
}

.show-rooms .amenity .list ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.show-rooms .amenity .list ul li {
    display: inline;
    margin: 3px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    border-radius: 100px;
    background-color: #EDF2F7;
    float: left;
}

.show-rooms .amenity .list ul li span {
    color: #333 !important;
}

.show-rooms .bed .icon {
    max-width: 25px;
    text-align: middle;
    margin-left: auto;
    margin-right: auto;
}

.show-rooms ul.list-policy {
    list-style: none;
    padding: 0;
    margin: 0;
}

.show-rooms ul.list-policy li {
    padding: 3px 3px;
    color: #333;
}

.show-rooms .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.show-rooms .item .item-right ul.capacity {
    list-style: none;
    padding: 0;
    margin: 0;
}

.show-rooms .item .item-right ul.capacity li {
    float: left;
    position: relative;
    padding: 3px;
    color: #555;
    margin-right: 15px;
}

.show-rooms .list-policy .cancellation { color: #6F7977; }
.show-rooms .list-policy .breakfast { color: #65BB78; }
.show-rooms .list-policy .confirmation { color: #EE8936; }
.show-rooms .list-policy .invoice { color: #FF3383; }

.show-rooms .item .item-right .info-room {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.show-rooms .item .item-right .include {
    background-color: #f0f8f0; 
    padding: 10px;
    border-left: 4px solid #4CAF50; 
    border-radius: 5px; 
    margin-bottom: 10px;
    color: #333;
}

.show-rooms .item .item-right .include h6 {
    font-weight: bold; 
    color: #333; 
}

/* ========================================================================= */
/* --- AMENITIES GRID & POPUP --- */
/* ========================================================================= */
.show-rooms .amenity.hide-amenity-mobile { display: block; }
.show-rooms .amenity.show-amenity-mobile { display: none; }

.amenity.show-amenity-mobile {
    border-top: 1px solid #ddd;
    margin-top: 5px;
    padding: 10px 0px;
}

.amenity.show-amenity-mobile .list ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 50px; 
    gap: 1px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.amenity.show-amenity-mobile .list ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: auto;
    min-height: 75px;
    padding: 1px;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}

/* Image icon or fallback */
.amenity.show-amenity-mobile .list ul li .amenity-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-bottom: 6px;
}

.amenity.show-amenity-mobile .list ul li i {
    font-size: 24px;
    color: #444;
    margin-bottom: 6px;
}

/* Amenity name, max 2 lines with ellipsis */
.amenity.show-amenity-mobile .list ul li span.ellipsis-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1.2;
    max-height: 2.4em;
    word-break: break-word;
    padding: 0 4px;
}

/* View more button */
.amenity.show-amenity-mobile .list ul li:last-child {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity.show-amenity-mobile .list ul li:last-child a.popup-amenities {
    width: 36px;
    height: 36px;
    font-size: 12px;
    background-color: #ffdfe3;
    color: #e81c4f;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: auto;
}

/* ========================================================================= */
/* --- TỐI ƯU POPUP TIỆN ÍCH (AMENITIES) GIỐNG POPUP ĐẶT PHÒNG --- */
/* ========================================================================= */

/* --- 1. Cải tiến Desktop (Card bo góc ở giữa màn hình) --- */
.popup-amenity {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100vh); /* Nằm dưới màn hình chờ trượt lên */
    width: 90%; 
    max-width: 1200px; 
    height: auto;
    max-height: 85vh; 
    opacity: 0;
    visibility: hidden; 
    background: #fff;
    overflow-y: auto;
    z-index: 1060;
    border-radius: 16px; /* Bo góc mềm mại giống thẻ Product */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.4s;
    padding: 0 24px;
    pointer-events: none; 
}

.popup-amenity.active {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
    padding-top: 24px;
    padding-bottom: 24px;
    pointer-events: auto;
}

.popup-amenity .close-popup {
    position: sticky; 
    top: 0; 
    float: right; 
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    z-index: 9999;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.popup-amenity .close-popup:hover {
    transform: scale(1.1);
}

/* --- 2. Mobile Fullscreen Cực Mạnh (Giống imageGalleryModal) --- */
@media (max-width: 991.98px) {
    .popup-amenity {
        top: 0 !important;
        left: 0 !important;
        transform: translate(0, 100vh) !important; /* Căn góc trái, chờ trượt thẳng lên */
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important; /* Bắt buộc full màn hình */
        height: 100dvh !important; /* Hỗ trợ thanh URL của Safari iOS */
        max-height: 100vh !important;
        border-radius: 0 !important; /* Bỏ bo góc để viền sát mép điện thoại */
        margin: 0 !important;
        padding: 0 16px 20px 16px !important;
    }

    .popup-amenity.active {
        transform: translate(0, 0) !important; /* Trượt vào khớp 100% màn hình */
    }

    /* Đổi nút Close sang dạng tròn trắng nổi bật trên Mobile */
    .popup-amenity .close-popup {
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        background: #fff !important;
        color: #333 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Đẩy tiêu đề danh mục đầu tiên xuống để tránh bị nút Close đè lên chữ */
    .popup-amenity > .category-title:first-of-type {
        margin-top: 65px !important;
    }
}

/* Close button styling */
.close-popup {
    position: sticky; 
    top: 0px; 
    float: right; 
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    margin-bottom: 15px; 
}

.popup-amenity::-webkit-scrollbar { width: 6px; }
.popup-amenity::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.popup-amenity::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.popup-amenity::-webkit-scrollbar-thumb:hover { background: #aaa; }

.popup-amenity .jss319 {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 16px 12px; 
    margin-top: 12px;
    margin-bottom: 24px; 
}
.list.desktop .jss319 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 16px 12px; 
    margin-top: 12px;
    margin-bottom: 24px; 
}

.jss356 {
    display: flex;
    align-items: flex-start; 
}

.jss357 {
    width: 20px; 
    height: 20px;
    margin-right: 8px; 
    flex-shrink: 0; 
}

.jss360 {
    width: 100%;
    font-size: 13px; 
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
}

@media (max-width: 992px) {
    .list.desktop { display: grid !important; }
    .list.desktop .jss319 {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 16px 12px; 
        margin-top: 12px;
        margin-bottom: 24px; 
    }
    .jss319 { grid-template-columns: repeat(2, 1fr); }
    .popup-amenity .jss319 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 12px;
        margin-top: 12px;
        margin-bottom: 24px;
    }
}

/* ========================================================================= */
/* --- ADD TO CART MODAL (BOTTOM SHEET) --- */
/* ========================================================================= */

#addToCart.bottom-sheet-modal .modal-dialog {
    position: fixed;
    top: 0; bottom: 0; left: 0; right: 0;
    margin: auto;
    min-height: 100%; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    max-width: 1000px; 
    transform: translateY(100vh) !important; 
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease !important;
    padding: 15px; 
}

#addToCart.bottom-sheet-modal.show .modal-dialog {
    transform: translateY(0) !important;
    opacity: 1;
}

#addToCart.bottom-sheet-modal .modal-content {
    height: auto !important; 
    max-height: 90vh !important; 
    width: 100%;
    margin: 0; 
    border-radius: 20px !important; 
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden !important; 
    display: flex;
    flex-direction: column;
}

#addToCart.bottom-sheet-modal .close.absolute-top-right {
    top: 10px;
    right: 10px;
    background: #f44336;
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 1055;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#addToCart.bottom-sheet-modal .close.absolute-top-right span {
    line-height: 1;
    margin-top: -2px;
}

.modal-body.compact-modal,
.modal-body.c-scrollbar-light {
    padding: 0.1rem 0.1rem 0 0.1rem !important; 
    flex-grow: 1; 
    overflow-y: auto !important; 
    overflow-x: hidden !important; 
    display: flex;
    flex-direction: column;
}

#addToCart.bottom-sheet-modal .modal-body > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.modal-product-gallery .img-zoom img {
    max-height: 250px;
    object-fit: contain;
    width: 100%;
}

.sticky-action-bar {
    position: sticky;
    bottom: 0px !important; 
    background-color: #fff;
    padding-top: 15px;
    padding-bottom: max(15px, env(safe-area-inset-bottom)); 
    margin-top: 1rem; 
    margin-left: -1rem; 
    margin-right: -1rem;
    padding-left: 1rem; 
    padding-right: 1rem;
    border-top: 1px solid #f1f1f1;
    z-index: 100;
    flex-shrink: 0; 
}

.c-scrollbar-light::-webkit-scrollbar { width: 3px; height: 0px !important; }
.c-scrollbar-light::-webkit-scrollbar-track { background: transparent; }
.c-scrollbar-light::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.total-child-price > div {
    padding: 6px 0;
    border-bottom: 1px dashed #f1d69a;
    font-size: 15px;
    color: #333;
}

.total-child-price > div span {
    text-align: right;
    font-size: 16px;
    color: #c47a08;
}

.compact-hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.room-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; 
    padding: 0;
    margin-bottom: 0.5rem;
}

.room-list li.room-item {
    list-style: none;
    margin: 0;
}

.room-checkbox-label {
    margin-bottom: 0 !important;
    cursor: pointer;
}

.room-checkbox-label .custom-checkbox-icon {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background-color: #f8f9fa;
    border-color: #e2e5ec !important;
    transition: all 0.2s ease-in-out;
}

.room-checkbox-label input[type="checkbox"] {
    display: none; 
}

.room-checkbox-label input:checked + .custom-checkbox-icon {
    background-color: #e6f7ff;
    border-color: #1890ff !important;
    color: #1890ff;
}

.room-checkbox-label.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.compact-modal .row.flex-grow-1 {
    min-height: 0; 
}

.compact-modal .alert {
    line-height: 1.3;
}

/* ========================================================================= */
/* --- TWO-COLUMN GALLERY MODAL (DESKTOP & MOBILE UNIFIED) --- */
/* ========================================================================= */

#imageGalleryModal.bottom-sheet-modal .modal-dialog {
    position: fixed;
    top: 0; bottom: 0; left: 0; right: 0;
    margin: auto;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px; 
    transform: translateY(100vh) !important;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease !important;
    padding: 5px;
}

#imageGalleryModal.bottom-sheet-modal.show .modal-dialog {
    transform: translateY(0) !important;
    opacity: 1;
}

.gallery-modal-content {
    background-color: #fff !important; 
    border-radius: 16px !important; 
    overflow: hidden;
    height: 85vh !important;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.gallery-close-btn {
    background: #fff !important;
    color: #333 !important;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    top: 15px !important;
    right: 15px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1060;
    border: none;
    transition: background 0.2s;
}
.gallery-close-btn:hover { background: #f1f1f1 !important; }

/* ⚡ CRITICAL SCROLL FIX: Lock outer body scroll */
#imageGalleryModal-body {
    overflow: hidden; 
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto; /* Allow growth */
}

#imageGalleryModal-body > .row {
    height: 100%;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
}

/* ================== LEFT COLUMN: IMAGES ================== */
#gallery-left-col {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.gallery-main-container {
    height: calc(100% - 90px); 
    padding: 0 !important; 
    display: block; 
    position: relative;
}

#gallery-main-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important; 
    max-width: 100% !important;
    object-fit: cover !important; 
    border-radius: 16px 0 0 0; 
}

.gallery-thumbnails-container {
    height: 90px;
    background: transparent;
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

.gallery-thumb-item {
    height: 65px;
    width: 90px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.gallery-thumb-item.active, 
.gallery-thumb-item:hover {
    opacity: 1;
    border-color: #f44336; 
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85); 
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.gallery-nav.prev { left: 15px; }
.gallery-nav.next { right: 15px; }

/* ================== RIGHT COLUMN: ROOM INFO ================== */
#gallery-room-info {
    height: 100%;
    /* Desktop padding: No extra bottom padding needed for sticky */
    padding: 24px 24px 0px 24px !important; 
    position: relative !important; 
    background: #fff;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important; 
}

/* Base Strategy for Desktop: Sticky inside the right column */
#gallery-room-info .sticky-bottom {
    position: -webkit-sticky !important; 
    position: sticky !important; 
    bottom: -1px !important; 
    margin: auto -24px 0 -24px !important; 
    width: calc(100% + 48px) !important; 
    
    background: #fff !important;
    padding: 16px 24px !important;
    border-top: 1px solid #eaeaea !important;
    z-index: 1050 !important;
    border-radius: 0 0 16px 0 !important; 
    box-shadow: 0 -10px 25px rgba(255, 255, 255, 0.95);
    transform: translateZ(0); 
}

#gallery-room-info .sticky-bottom button {
    height: 48px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    margin: 0 !important;
    font-weight: 600;
}

/* ========================================================================= */
/* --- UNIFIED RESPONSIVE MEDIA QUERIES --- */
/* ========================================================================= */
@media (max-width: 991.98px) {
    /* 1. General Mobile Resets */
    .show-rooms .amenity.hide-amenity-mobile { display: none; }
    .show-rooms .amenity.show-amenity-mobile { display: block; }
    
    /* 2. Strict 100vh Modal Container */
    #imageGalleryModal.bottom-sheet-modal .modal-dialog {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important; 
        max-height: 100vh !important;
        min-height: 100vh !important;
    }
    
    .gallery-modal-content {
        height: 100vh !important; 
        display: flex !important;
        flex-direction: column !important;
        border-radius: 0 !important; 
        margin: 0 !important;
        border: none !important;
        background-color: #fff !important; 
    }
    
    .gallery-close-btn {
        width: 36px;
        height: 36px;
        top: 10px !important;
        right: 10px !important;
    }

    #imageGalleryModal-body {
        flex: 1 1 auto !important; 
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important; /* Lock outer body scroll */
        padding: 0 !important;
        background-color: #fff !important;
    }

    #imageGalleryModal-body > .row {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        height: 100% !important; 
    }

    /* 3. Image Header Section (Strictly 40vh) */
    #gallery-left-col {
        flex: 0 0 40vh !important; 
        height: 40vh !important;
        width: 100% !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    
    .gallery-main-container { height: calc(100% - 70px) !important; }
    #gallery-main-img { border-radius: 0 !important; }
    .gallery-thumbnails-container { height: 70px; padding: 10px !important; background: #fff; }
    .gallery-thumb-item { height: 50px; width: 70px; }
    .gallery-nav.prev { left: 10px; }
    .gallery-nav.next { right: 10px; }

    /* 4. Dynamic Info Body (✨ THE MAGIC FIX: Strictly consume remaining space) */
    #gallery-room-info {
        flex: 1 1 0px !important; /* Force calculation from 0 to prevent 140vh overflow */
        height: auto !important; 
        min-height: 0 !important; /* Crucial for inner scrolling to work */
        width: 100% !important;
        overflow-y: auto !important; /* Enable inner scrolling for long amenities */
        padding: 16px 16px 90px 16px !important; /* 90px bottom padding to clear the fixed button */
        background-color: #fff !important; 
    }

    /* 5. Fixed Bottom Button on Mobile */
    #gallery-room-info .sticky-bottom {
        position: fixed !important; 
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important; 
        margin: 0 !important; 
        padding: 12px 16px max(12px, env(safe-area-inset-bottom)) !important; 
        border-radius: 0 !important;
        z-index: 1060 !important;
        background-color: #fff !important;
    }

    /* 6. High-Density Amenities Layout */
    #gallery-room-info .amenities-loop {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        margin-bottom: 0 !important; 
    }
    
    #gallery-room-info .amenities-loop > .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding-right: 5px;
        margin-bottom: 6px !important; 
    }
    
    #gallery-room-info .amenities-loop span.fs-14 {
        font-size: 13px !important; 
        line-height: 1.2;
    }
    
    #gallery-room-info .amenities-loop img {
        width: 18px !important;
        height: 18px !important;
    }
}
/* Customize Scrollbar to 3px width - Ẩn mặc định, chỉ hiện khi cần */
    .custom-scrollbar::-webkit-scrollbar {
        width: 3px;
        height: 3px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
        background: transparent; 
    }
    
    /* Mặc định thumb trong suốt (tàng hình) */
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: transparent; 
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
/* ========================================================================= */
/* --- HOTEL PRODUCT CARD OPTIMIZATION --- */
/* ========================================================================= */

/* Typography & Title Enhancements */
.show-rooms h2.hotel-title {
    font-size: 22px !important; 
    font-weight: 700 !important;
    line-height: 1.3;
    color: #1a1a1a !important;
}

.show-rooms h2.hotel-title a {
    transition: color 0.2s ease;
}

.show-rooms h2.hotel-title a:hover {
    color: #1890ff !important; /* Brand primary color */
}

/* Policy List Enhancements */
.show-rooms ul.list-policy li {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 0;
}

.show-rooms ul.list-policy li i {
    width: 20px; /* Fixed width for perfect icon alignment */
    text-align: center;
}

/* Pricing Block Layout */
.price-block .discounted-price,
.price-block .regular-price {
    font-size: 26px; /* Emphasized main price */
    letter-spacing: -0.5px;
    color: #e81c4f !important; /* Conversion color (Red/Orange) */
}

.price-block .original-price {
    font-size: 15px;
    opacity: 0.7;
}

/* Card Interaction & Hover */
.show-rooms.product-hotel {
    padding: 16px; 
    border: 1px solid #eaeaea;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.show-rooms.product-hotel:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px);
    border-color: #d1e9ff;
}

/* Divider for Desktop */
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px dashed #e2e5ec;
        padding-left: 20px;
    }
}

/* Truncate multi-line text dynamically */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}