/* ==========================================================================
   CSS Overrides (v2) - Mobile Search & Banner Backdrop Integration
   ========================================================================== */
.dlv-bot-fab {
    z-index: 1000 !important; /* Đảm bảo nút Chatbot nằm trên modal full-screen */
}

/* Modal overlay & Modal main setup */
.dlv-svc-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 100000 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
    display: block !important;
}
.dlv-svc-modal-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.dlv-svc-modal {
    position: fixed !important;
    background: #fff !important;
    z-index: 100001 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
@media (max-width: 767px) {
    .row:after, .row:before {
        content: none !important;
    }
    .fss-strip {
        border-radius: 0px !important;
        border: none !important;
        box-shadow: none !important;
        padding: 12px 6px !important;
    }
    .fss-strip::before {
        content: none !important; /* Ẩn đường viền trên cùng của strip trên mobile */
    }
    .hp-svcgrid-wrap {
        padding: 12px 2px 4px !important;
        position: relative !important;
        margin-top: -27px !important;;
        background-color: white;
        width: 100%;
        left: 50%;
        transform: translate(-50%, 0);
        border-radius: 18px;   /* bo đủ 4 góc: thanh search đã tách thành khối riêng bên dưới */
    }

    .hp-mob-banner-container {
        width: 100% !important;
        height: 130px;
    }
    .hp-mob-banner-container .hp-mob-banner {
        width: 100% !important;
        height: 100% !important;
    }
    .hp-mob-banner-container .hp-mob-banner img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }
    /* 1. Thanh search: khối RIÊNG, TÁCH khỏi card lưới icon (kiểu Traveloka).
          STICKY: dính theo khi cuộn xuống (client 2026-07-28). Header mobile fixed 50px → top:50px.
          Nền đổi transparent→#fff để nội dung cuộn under KHÔNG lộ qua khe padding.
          z-index 900 (lúc NGHỈ): TRÊN nội dung nhưng DƯỚI header(9990) + menu/overlay → khi mở menu
          mobile (bị nhốt trong stacking context header 9990) hay modal, chúng ĐÈ LÊN search bar chứ
          search bar KHÔNG đè lên (fix client 2026-07-28). RIÊNG khi mở lớp tìm kiếm full-screen: nâng z
          lên 100000 ở rule body.gs-dropdown-active bên dưới (overlay là CON của khối này → sticky tạo
          stacking context, phải nâng cả khối thì overlay mới phủ được header). */
    .hp-mob-search-row {
        position: sticky;
        top: 50px;
        z-index: 900;
        background: #fff;
        padding: 12px 14px 4px;
        border-radius: 0;
    }
    .hp-mob-search-row .mainHead-mob-search {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Thanh search kiểu Traveloka: pill trắng trơn, KHÔNG viền hồng, KHÔNG nút hồng.
       Kính lúp xám nằm bên TRÁI, chỉ còn vai trò biểu tượng - chạm bất kỳ đâu trên
       thanh đều mở lớp tìm kiếm toàn màn hình (body.gs-dropdown-active). */
    .hp-mob-search-row .mainHead-mob-search .global-search-bar {
        background: #fff !important;
        border: 1px solid #e9eaee !important;
        box-shadow: 0 2px 10px rgba(17, 24, 39, .07) !important;
        border-radius: 26px !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 8px 0 4px !important;
        overflow: hidden !important;
    }

    .hp-mob-search-row .mainHead-mob-search .global-search-bar input#globalSearchInput {
        padding-left: 4px !important;
        /* PHẢI >=16px: iOS Safari tự zoom khi focus input có font-size <16px. 14.5px cũ vẫn
           dính zoom (2026-07-27). 16px là ngưỡng tối thiểu chặn zoom, không cần maximum-scale. */
        font-size: 16px !important;
        height: 100% !important;
        border: 0 !important;
        background: transparent !important;
    }

    /* iOS anti-zoom (2026-07-27): ép >=16px cho ô search mobile ở MỌI ngữ cảnh —
       trang con (header.php dùng .mainHead-mob-search KHÔNG có .hp-mob-search-row nên
       trước đây rơi về base 13px) + trạng thái mở panel full-screen. Chặn zoom-on-focus
       mà không cần maximum-scale (giữ được pinch-zoom cho a11y). */
    .mainHead-mob-search .global-search-bar input#globalSearchInput {
        font-size: 16px !important;
    }

    /* iOS anti-zoom TOÀN SITE (2026-07-27): MỌI ô nhập liệu trên mobile phải >=16px, nếu không
       iOS Safari tự phóng to (zoom) khi focus. Áp cho tất cả thanh search (flight/hotel/tour/combo),
       ô lọc (gs-date/gs-select/gt-combo/gt-select), form tư vấn/invoice/khách đoàn, local-search...
       Chỉ nhắm input NHẬP LIỆU + textarea + select; KHÔNG đụng checkbox/radio/range/file/nút. */
    input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
    input[type="number"], input[type="password"], input[type="url"], input[type="date"],
    input[type="datetime-local"], input[type="month"], input[type="week"], input[type="time"],
    input:not([type]), select, textarea {
        font-size: 16px !important;
    }

    /* HỆ QUẢ của rule trên (client 2026-07-29): form tìm tour ở landing /tour thiết kế cả 3 ô
       cùng 14px (.lt-sf-input và .lt-sf-select, xem landing_tour.php), nhưng 2 ô nhập liệu bị
       ép 16px nên chữ gợi ý to hơn hẳn ô "Chọn mức giá" (là <div>, không dính rule).
       Hạ RIÊNG ::placeholder về 14px cho khớp — ngưỡng chống zoom của iOS tính theo font-size
       của chính <input>, KHÔNG tính pseudo-element, nên ô vẫn giữ 16px và vẫn không bị phóng to.
       Chữ khách GÕ VÀO vẫn 16px (đúng ý đồ chống zoom). */
    .lt-sf-input::placeholder {
        font-size: 14px;
    }

    /* order:-1 đưa kính lúp sang TRÁI mà không phải đổi thứ tự thẻ trong
       trangchu.php (form là flex container nên order có tác dụng). */
    .hp-mob-search-row .mainHead-mob-search .global-search-bar .gs-btn-search {
        order: -1 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 50% !important;
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hp-mob-search-row .mainHead-mob-search .global-search-bar .gs-btn-search svg {
        stroke: #9aa0aa !important;
        width: 18px !important;
        height: 18px !important;
    }

    /* SUB-PAGE (header.php khi isset $_GET['n']): thanh search NẰM TRONG header (.mainHead) đổi
       THIẾT KẾ GIỐNG thanh search trang chủ (.hp-mob-search-row): pill trắng bo tròn + kính lúp XÁM
       bên TRÁI, BỎ nút hồng phải (client 2026-07-29). Trang chủ dùng .hp-mob-search-row NGOÀI
       .mainHead nên scope `.mainHead ...` chỉ nhắm trang con, không đụng homepage. Cao 40px cho vừa
       header 50px (homepage 48px vì ở hàng riêng). !important để thắng base header-redesign.css. */
    .mainHead .mainHead-mob-search .global-search-bar {
        background: #fff !important;
        border: 1px solid #e9eaee !important;
        box-shadow: 0 2px 10px rgba(17, 24, 39, .07) !important;
        border-radius: 24px !important;
        height: 40px !important;
        padding: 0 8px 0 4px !important;
    }
    .mainHead .mainHead-mob-search .global-search-bar input#globalSearchInput {
        padding-left: 4px !important;
        background: transparent !important;
    }
    /* Kính lúp: order:-1 sang TRÁI, bỏ nền hồng → icon xám tròn giống homepage */
    .mainHead .mainHead-mob-search .global-search-bar .gs-btn-search {
        order: -1 !important;
        background: transparent !important;
        color: #9aa0aa !important;
        border: none !important;
        border-radius: 50% !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
    }
    .mainHead .mainHead-mob-search .global-search-bar .gs-btn-search svg {
        stroke: #9aa0aa !important;
        width: 18px !important;
        height: 18px !important;
    }

    /* Điều chỉnh các phần tử còn lại trong header để cân đối */
    .mainHead-inner {
        justify-content: space-between !important;
    }
    
    .mainHead-mobile {
        margin-left: 0 !important;
    }

    /* ==========================================================================
       2. Biến search dropdown thành Full-screen Modal khi active
       ========================================================================== */
    body.gs-dropdown-active {
        overflow: hidden !important; /* Khóa cuộn trang nền */
    }

    /* Khi mở lớp tìm kiếm full-screen: nâng z-index KHỐI search-row (đang 900 lúc nghỉ để menu đè được)
       lên 100000 → stacking context của nó vượt header(9990) → overlay .mainHead-mob-search bên trong
       (z:100000) phủ được toàn màn hình gồm cả header như cũ. */
    body.gs-dropdown-active .hp-mob-search-row {
        z-index: 100000 !important;
    }

    body.gs-dropdown-active .mainHead-mob-search {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        transform: none !important;
        background: #ffffff !important;
        z-index: 100000 !important; /* Đè lên toàn màn hình bao gồm cả header */
        margin: 0 !important;
        padding: 16px 8px 16px 12px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }

    body.gs-dropdown-active .mainHead-mob-search .global-search-wrapper {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        position: relative !important;
    }

    /* Thanh search input phóng to trên cùng của modal full-screen.
       Bỏ viền hồng, chuyển sang pill xám trơn giống Traveloka; kính lúp xám bên trái
       do rule .gs-btn-search phía trên (order:-1) đã lo. */
    body.gs-dropdown-active .mainHead-mob-search .global-search-bar {
        width: calc(100% - 46px) !important; /* Chừa khoảng trống cho nút Close (X) */
        height: 44px !important;
        border: 1px solid #ececf0 !important;
        background: #f4f5f7 !important;
        border-radius: 22px !important;
        box-shadow: none !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
        padding: 0 8px 0 4px !important;
    }

    body.gs-dropdown-active .mainHead-mob-search .global-search-bar input#globalSearchInput {
        background: transparent !important;
        padding-left: 4px !important;
    }

    body.gs-dropdown-active .mainHead-mob-search .global-search-bar .gs-btn-search {
        order: -1 !important;
        background: transparent !important;
        border-radius: 50% !important;
    }
    body.gs-dropdown-active .mainHead-mob-search .global-search-bar .gs-btn-search svg {
        stroke: #9aa0aa !important;
    }

    /* Nút Close (X) trong modal full-screen */
    body.gs-dropdown-active .mainHead-mob-search .gs-close-mob {
        display: flex !important;
        position: absolute !important;
        top: 4px !important;
        right: 0 !important;
        z-index: 100002 !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #f1f2f4 !important;
        color: #555 !important;
        box-shadow: 0 1px 4px rgba(0,0,0,.1) !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        padding: 0 !important;
    }

    /* Khung danh sách kết quả (Dropdown) cuộn toàn màn hình */
    body.gs-dropdown-active .mainHead-mob-search .gs-dropdown {
        position: static !important;
        width: 100% !important;
        flex: 1 !important;
        height: auto !important;
        max-height: calc(100vh - 80px) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        padding: 8px 0 !important;
        background: #ffffff !important;
        overflow-y: auto !important;
        display: block !important;
        margin: 0 !important;
    }

    /* 3. Ẩn nút Chatbot (.dlv-bot-fab) khi đang mở ô tìm kiếm để tránh đè lên giao diện */
    body.gs-dropdown-active .dlv-bot-fab {
        display: none !important;
    }

    /* 4. Lưới dịch vụ mobile: 4 cột x 2 hàng (8 ô = 7 dịch vụ + nút "Thêm"),
          bố cục kiểu app như Traveloka. Trước đây 5 cột 1 hàng. */
    .hp-svcgrid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 14px 8px !important;
    }
    .hp-svc {
        aspect-ratio: auto !important;
        height: 75px !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        padding: 4px 0 !important;
    }
    .hp-svc-bg, .hp-svc-ov {
        display: none !important;
    }
    .hp-svc-label {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2px !important;
        color: #1f2937 !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        text-align: center !important;
        text-shadow: none !important;
        padding: 0 !important;
    }
    .hp-svc-label svg,
    .hp-svc-label i {
        width: 44px !important;
        height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 35px !important; /* Tăng kích thước icon lên 35px cho dễ nhìn */
        line-height: 1 !important;
        box-sizing: border-box !important;
        background: transparent !important; /* Không nền */
        box-shadow: none !important; /* Không đổ bóng */
    }
    #hpSvcMoreBtn {
        cursor: pointer !important;
    }

    /* Mobile specific override cho Modal (Bottom-sheet) */
    .dlv-svc-modal {
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: 150px !important;
        height: calc(100vh - 150px) !important;
        border-radius: 20px 20px 0 0 !important;
        transform: translateY(100%) !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15) !important;
        padding-bottom: 70px;
    }
    .dlv-svc-modal.active {
        transform: translateY(0) !important;
    }
    .dlv-svc-modal-overlay {
        opacity: 0;
        pointer-events: none;
    }
    .dlv-svc-modal-overlay.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

} /* Đóng ngoặc media query max-width 767px */

/* ===== Giao diện Modal dịch vụ cơ sở (Áp dụng chung toàn cục) ===== */
.dlv-svc-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f0f2f5 !important;
    flex-shrink: 0 !important;
}
.dlv-svc-modal-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}
.dlv-svc-modal-controls {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.dlv-svc-layout-toggle {
    background: #f3f4f6 !important;
    border: none !important;
    font-size: 16px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #4b5563 !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}
.dlv-svc-modal-close {
    background: #f3f4f6 !important;
    border: none !important;
    font-size: 24px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #4b5563 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.dlv-svc-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 20px 16px !important;
    -webkit-overflow-scrolling: touch !important;
}
.dlv-svc-modal-section {
    margin-bottom: 24px !important;
}
.dlv-svc-modal-section h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
    padding-left: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: 10px;
}
.dlv-svc-modal-section h4 a {
    color: #374151 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.dlv-svc-modal-section h4 a svg {
    transform: translateY(-0.5px) !important;
}
.dlv-svc-modal-section h4 span {
    color: #374151 !important;
}

.dlv-svc-grid-modal {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px 8px !important;
}
.dlv-modal-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #374151 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-align: center !important;
    gap: 2px !important;
}
.dlv-modal-item-icon {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1f2937 !important; /* Icon màu đen / xám tối */
    background: transparent !important; /* Không có màu nền */
    box-shadow: none !important; /* Không đổ bóng */
}
.dlv-modal-item-icon svg {
    width: 24px !important;
    height: 24px !important;
}
.dlv-modal-item-icon img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
}
.dlv-modal-item-icon i {
    font-size: 24px !important;
}

/* List View (Flex Column) Layout when layout-list is active */
.dlv-svc-modal.layout-list .dlv-svc-grid-modal {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.dlv-svc-modal.layout-list .dlv-modal-item {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    width: 100% !important;
    font-size: 16px !important;
}
.dlv-svc-modal.layout-list .dlv-modal-item-icon {
    width: 36px !important;
    height: 36px !important;
}
.dlv-svc-modal.layout-list .dlv-modal-item-icon i {
    font-size: 25px !important;
}
.dlv-svc-modal.layout-list .dlv-modal-item-icon img,
.dlv-svc-modal.layout-list .dlv-modal-item-icon svg {
    width: 32px !important;
    height: 32px !important;
}



/* Custom color utility classes for modal items (Đưa ra ngoài media query) */
.class-color-blue i, .class-color-blue svg { color: #1e6fd8 !important; }
.class-color-pink i, .class-color-pink svg { color: #e91e8c !important; }
.class-color-cyan i, .class-color-cyan svg { color: #1ba0e2 !important; }
.class-color-orange i, .class-color-orange svg { color: #f97316 !important; }
.class-color-purple i, .class-color-purple svg { color: #7c4dff !important; }
.class-color-gray i, .class-color-gray svg { color: #4b5563 !important; }
.class-color-green i, .class-color-green svg { color: #10b981 !important; }
.class-color-red i, .class-color-red svg { color: #ef4444 !important; }
.class-color-yellow i, .class-color-yellow svg { color: #eab308 !important; }

/* ===== Giao diện Grid 6 cột danh mục dịch vụ trên Desktop ===== */
@media (min-width: 768px) {
    .hp-svcgrid-wrap {
        display: block !important;
        max-width: 1200px !important;
        margin: 24px auto !important;
        padding: 20px 24px !important;
        background: #fff !important;
        border: 1px solid #edeef1 !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 14px rgba(17, 24, 39, .05) !important;
    }
    .hp-svcgrid {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important; /* Grid 6 column */
        gap: 16px 12px !important;
    }
    .hp-svc {
        aspect-ratio: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        padding: 4px 0 !important;
        text-decoration: none !important;
    }
    .hp-svc-bg, .hp-svc-ov {
        display: none !important;
    }
    .hp-svc-label {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        color: #1f2937 !important;
        font-size: 12px !important; /* Font chữ 12px */
        font-weight: 600 !important;
        line-height: 1.4 !important;
        text-align: center !important;
        text-shadow: none !important;
        padding: 0 !important;
        transition: color 0.2s ease !important;
    }
    .hp-svc:hover .hp-svc-label {
        color: #d6248c !important; /* Đổi màu chữ sang hồng khi hover */
    }
    .hp-svc-label svg,
    .hp-svc-label i {
        width: 48px !important; /* Icon kích thước 48px */
        height: 48px !important; /* Icon kích thước 48px */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 28px !important; /* Font-size icon tương xứng với container 48px */
        line-height: 1 !important;
        box-sizing: border-box !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: transform 0.2s ease !important;
    }
    .hp-svc:hover .hp-svc-label i,
    .hp-svc:hover .hp-svc-label svg {
        transform: scale(1.1) !important; /* Phóng to nhẹ icon khi hover */
    }
    #hpSvcMoreBtn .hp-svc-label i {
        color: #4b5563 !important;
    }
    #hpSvcMoreBtn:hover .hp-svc-label i {
        color: #d6248c !important;
    }
    #hpSvcMoreBtn {
        cursor: pointer !important;
    }

    /* Modal hiển thị trên Desktop dạng Drawer slide bar dính bên phải, full height, max-width: 750px */
    .dlv-svc-modal {
        top: 0 !important;
        right: -760px !important; /* Mặc định ẩn ở bên phải */
        bottom: 0 !important;
        width: 100% !important;
        max-width: 750px !important; /* max-width 750px */
        height: 100vh !important; /* full height */
        border-radius: 0 !important;
        transform: none !important;
    }
    .dlv-svc-modal.active {
        right: 0 !important; /* Trượt ra dính ở slide bar bên phải */
    }
    .dlv-svc-modal-overlay {
        display: block !important;
    }
    
    /* Responsive Grid cho Modal Body trên Desktop (6 cột giống như menu nhưng trong modal) */
    .dlv-svc-grid-modal {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 24px 12px !important;
    }
    .dlv-modal-item {
        font-size: 11px !important;
    }
    .dlv-modal-item-icon {
        width: 48px !important;
        height: 48px !important;
        transition: transform 0.2s ease !important;
    }
    .dlv-modal-item-icon i {
        font-size: 26px !important;
    }
    .dlv-modal-item {
        transition: color 0.2s ease !important;
    }
    .dlv-modal-item:hover {
        color: #d6248c !important;
    }
    .dlv-modal-item:hover .dlv-modal-item-icon {
        transform: scale(1.1) !important;
    }
    .dlv-svc-layout-toggle,
    .dlv-svc-modal-close {
        transition: all 0.2s ease !important;
    }
    .dlv-svc-layout-toggle:hover,
    .dlv-svc-modal-close:hover {
        background: #e5e7eb !important;
        color: #1f2937 !important;
        transform: scale(1.05) !important;
    }
}

/* ===== Tối ưu hóa thu gọn/mở rộng bài viết mô tả danh mục (SEO friendly) ===== */
.gt-hero-more {
    display: block !important;
}
.gt-hero-more.collapsed {
    display: none !important;
}

/* ===== Banner Slider Aspect Ratio ===== */
#vnt-slide-home .item .img,
#vnt-slide-home .img {
    position: relative;
    width: 100%;
    aspect-ratio: 1654 / 360;
    padding-top: 0 !important;
    height: auto !important;
    overflow: hidden;
}
#vnt-slide-home .item .img img, 
#vnt-slide-home .item .img picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 768px) {
    #vnt-slide-home .item .img,
    #vnt-slide-home .img {
        aspect-ratio: 1080 / 607;
        padding-top: 0 !important;
    }
}

/* Header Account User Link (Direct Link to Account Info) */
.account-user-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--c-primary, #d6248c);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Glyph phải NHỎ HƠN HẲN vòng tròn: 30px trong vòng 36px = 83% → hình người tràn ra,
       vai bị chính viền tròn cắt ngang (client 2026-07-28 "icon bị lỗi").
       Nút dạng avatar chuẩn để glyph ~50% đường kính → 36px vòng ⇒ 18px glyph. */
    font-size: 18px;
    line-height: 1;
    color: var(--c-primary, #d6248c) !important;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}
.account-user-link:hover {
    color: var(--c-primary, #d6248c) !important;
    transform: scale(1.1);
}
@media (max-width: 767px) {
    .account-user-link {
        width: 32px;
        height: 32px;
        /* 32px vòng ⇒ 16px glyph (50%), khớp tỉ lệ bản desktop ở trên */
        font-size: 16px;
    }
}
/* ===== Nút "Quay lại <trang trước>" (.dlv-mbar, user_2019/dlv_mobile_back.php) =====
   Component thiết kế CHỈ cho mobile nhưng rule ẩn chưa từng được thêm vào file này
   (docblock của dlv_mobile_back.php có nhắc, thực tế thiếu) → nút lòi ra cả desktop.
   Ẩn từ 768px trở lên; mobile giữ nguyên hiện trạng, không đụng style. */
@media (min-width: 768px) {
    .dlv-mbar { display: none; }
}

/* 2026-07-23: thanh back thường (KHÔNG đè hero) trước đây KHÔNG có style nào → <button> rơi về
   mặc định trình duyệt (nền xám ButtonFace, viền 2px outset, góc vuông) = giao diện cũ kỹ.
   Style lại thành nút pill hiện đại. Scope :not(--onhero) để biến thể đè hero (chữ trắng trên
   ảnh) giữ nguyên, không bị dính viền/bo góc/đổ bóng. */
@media (max-width: 767px) {
    .dlv-mbar:not(.dlv-mbar--onhero) {
        padding: 10px 14px 2px;
        /* 2026-07-27: nền XÁM khớp thân trang (vd tour detail .ct2-page #f7f8fa) để thanh back
           KHÔNG thành khối trắng tách rời header — pill trắng bên trong nổi trên nền xám. */
        background: #f7f8fa;
    }
    .dlv-mbar:not(.dlv-mbar--onhero) .dlv-mbar-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        max-width: 100%;
        height: 36px;
        padding: 0 15px 0 11px;
        border: 1px solid #f0dbe8;
        border-radius: 999px;
        background: #fff;
        color: #3a3a3a;
        font-family: inherit;
        font-size: 13.5px;
        font-weight: 600;
        /* line-height 1 cắt dấu nặng tiếng Việt ("lại" → chấm dưới 'ạ" bị mất) vì .dlv-mbar-txt
           overflow:hidden bám sát line-box. 1.4 chừa đủ chỗ cho dấu; nút height 36px vẫn dư. */
        line-height: 1.4;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background .15s, border-color .15s, color .15s;
    }
    .dlv-mbar:not(.dlv-mbar--onhero) .dlv-mbar-btn:active {
        background: #fdf0f7;
        border-color: #d6248c;
        color: #d6248c;
    }
    .dlv-mbar:not(.dlv-mbar--onhero) .dlv-mbar-btn svg {
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        stroke: #d6248c;
    }
    /* Nhãn dài ("Quay lại Thanh toán tour + visa") → cắt gọn 1 dòng thay vì xuống dòng vỡ nút. */
    .dlv-mbar:not(.dlv-mbar--onhero) .dlv-mbar-txt {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Biến thể ĐÈ LÊN HERO (mobile, trang có banner full-bleed - vd /ve-may-bay).
   Dùng margin-bottom âm ĐÚNG BẰNG height để hero trượt lên nằm dưới thanh:
   tránh position:absolute (phải thêm position:relative cho #vnt-content, dễ
   xô lệch các phần tử absolute khác đang neo vào ancestor xa hơn). */
@media (max-width: 767px) {
    .dlv-mbar--onhero {
        position: relative;
        z-index: 20;
        height: 48px;
        margin-bottom: -48px;
        display: flex;
        align-items: center;
        /* Scrim tối dần từ trên xuống để chữ trắng đọc được trên mọi ảnh banner */
        background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 100%);
        pointer-events: none;   /* phần nền không chặn thao tác lên hero */
    }
    .dlv-mbar--onhero .dlv-mbar-btn {
        pointer-events: auto;   /* nhưng nút thì vẫn bấm được */
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 40px;
        padding: 0 12px 0 8px;
        border: 0;
        background: none;
        color: #fff;
        font-size: 14.5px;
        font-weight: 600;
        text-shadow: 0 1px 6px rgba(0,0,0,.45);
        cursor: pointer;
    }
    .dlv-mbar--onhero .dlv-mbar-btn svg { stroke: #fff; }
}

/* E-commerce Technical Specifications Table */
.ec-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 0 20px 0;
}
.ec-spec-table tr:nth-child(even) {
    background: #f8fafc;
}
.ec-spec-table tr:hover {
    background: #fef9fb;
}
.ec-spec-key {
    padding: 11px 16px;
    font-weight: 600;
    color: #475569;
    width: 32%;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    vertical-align: middle;
}
.ec-spec-val {
    padding: 11px 16px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-weight: 500;
}

/** Local search (search within a specific category) */
/* ── Ticket Autocomplete Dropdown Styling ── */
#ls-panel-ticket .ls-autocomplete-wrap { position: relative; width: 100%; }
#lsTicketDropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    max-height: 360px;
    overflow-y: auto;
    display: none;
    padding: 6px;
}
#lsTicketDropdown.active { display: block; }
.ls-tkt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ls-tkt-item:hover { background: #fdf0f6; }
.ls-tkt-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f0f0;
}
.ls-tkt-thumb-fallback {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #fdf0f6;
    color: var(--c-primary, #d6248c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.ls-tkt-info {
    flex: 1;
    min-width: 0;
}
.ls-tkt-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ls-tkt-city {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* ── Combo tự chọn: hàng khách sạn chỉ hiện khi chọn "Combo tự chọn" ── */
#ls-panel-combo .ls-combo-hotel { display: none; }
#ls-panel-combo.ls-combo-tuchon .ls-combo-hotel { display: block; }
#ls-panel-combo .ls-combo-search-txt { display: none; }
/* Địa điểm nhận phòng: nền TRẮNG, viền giống các ô khác (không xám → tránh hiểu nhầm khoá) */
#ls-panel-combo #lsComboHotelLoc { width: 100%; box-sizing: border-box; padding: 0 12px; background: #fff; font-family: inherit; }
#ls-panel-combo #lsComboHotelLoc:focus { outline: none; border-color: var(--c-primary, #d6248c); }
/* Ghi chú tuổi trong dropdown Phòng & Số khách (giống hình 2) */
#ls-panel-combo .ls-combo-pax-note { font-size: 12px; color: #6b7280; line-height: 1.5; padding: 10px 4px 2px; margin-top: 6px; border-top: 1px solid #f0f0f0; }

/* ── Phòng & Số khách: pill ở góc PHẢI, cùng hàng với 2 nút loại combo ── */
#ls-panel-combo .ls-combo-types { align-items: center; flex-wrap: wrap; row-gap: 10px; }
#ls-panel-combo .ls-combo-paxtop { position: relative; margin-left: auto; }
#ls-panel-combo .ls-combo-paxtop .ls-pax-trigger { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1.5px solid #ddd; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; color: #555; cursor: pointer; white-space: nowrap; }
/* ── Đồng bộ TOÀN BỘ border-radius thanh combo về 1 kích thước = 10px (brand token) ── */
#ls-panel-combo .ls-typeahead-text,
#ls-panel-combo .ls-field input[type="text"],
#ls-panel-combo #lsComboHotelLoc,
#ls-panel-combo .ls-datepicker,
#ls-panel-combo .ls-pax-trigger,
#ls-panel-combo .ls-combo-type,
#ls-panel-combo .ls-btn-search,
#ls-panel-combo .ls-pax-dropdown,
#ls-panel-combo .ls-typeahead-dd { border-radius: 10px; }
#ls-panel-combo .ls-combo-paxtop .ls-pax-trigger:hover { border-color: var(--c-primary, #d6248c); }
#ls-panel-combo .ls-combo-paxtop-ic { color: var(--c-primary, #d6248c); }
#ls-panel-combo .ls-combo-paxtop-cap { color: #777; }
#ls-panel-combo .ls-combo-paxtop .ls-pax-dropdown { right: 0; left: auto; top: calc(100% + 8px); }

/* ── Desktop: bố cục LƯỚI 2D cho Combo tự chọn (căn đều như thiết kế) ──
   Hàng trên: Phòng & Số khách. Khối trái: bay từ/đến + địa điểm. Khối phải: ngày đi/về + nhận/trả phòng. Nút Tìm kiếm cao bằng cả khối. */
@media (min-width: 992px) {
  #ls-panel-combo.ls-combo-tuchon .ls-fields {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) auto minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr) auto;
    grid-template-areas:
      "cfrom cswap cto   cstart cend  csearch"
      "cloc  cloc  cloc  cci    cco   csearch";
    align-items: end;
    column-gap: 12px;
    row-gap: 16px;
  }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-from   { grid-area: cfrom; }
  /* Nút đảo chiều: canh theo ĐÁY ô (ngang với input 40px), không theo giữa cả label+input */
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-swap   { grid-area: cswap; align-self: end; margin-bottom: 2px; }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-to     { grid-area: cto; }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-start  { grid-area: cstart; }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-end    { grid-area: cend; }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-loc    { grid-area: cloc; }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-ci     { grid-area: cci; }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-co     { grid-area: cco; }
  /* Nút Tìm kiếm: gọn lại - căn giữa theo chiều cao, không kéo cao cả khối */
  #ls-panel-combo.ls-combo-tuchon .ls-combo-area-search { grid-area: csearch; align-self: center; width: auto; height: 42px; min-height: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
  #ls-panel-combo.ls-combo-tuchon .ls-combo-search-txt  { display: inline; }
}
/* Toast notifications */
#dlvToastHost{position:fixed;top:20px;right:20px;z-index:99999;display:flex;flex-direction:column;gap:10px;pointer-events:none;}
.dlv-toast{pointer-events:auto;min-width:280px;max-width:420px;background:#fff;border-left:4px solid var(--c-primary);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.12),0 2px 8px rgba(0,0,0,.06);padding:12px 36px 12px 14px;display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#333;opacity:0;transform:translateX(24px);transition:opacity .22s ease,transform .22s ease;position:relative;}
.dlv-toast.show{opacity:1;transform:translateX(0);}
.dlv-toast-warn{border-left-color:var(--c-primary);}
.dlv-toast-warn .dlv-toast-ic{background:var(--c-primary);color:#fff;}
.dlv-toast-success{border-left-color:#16a34a;}
.dlv-toast-success .dlv-toast-ic{background:#16a34a;color:#fff;}
.dlv-toast-error{border-left-color:#ef4444;}
.dlv-toast-error .dlv-toast-ic{background:#ef4444;color:#fff;}
.dlv-toast-ic{width:22px;height:22px;flex:0 0 22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:13px;font-weight:800;line-height:1;margin-top:0;}
.dlv-toast{padding-bottom:14px;}
.dlv-toast-progress{position:absolute;left:0;right:0;bottom:0;height:3px;overflow:hidden;border-radius:0 0 10px 10px;background:rgba(0,0,0,.04);}
.dlv-toast-progress>i{display:block;height:100%;background:#f59e0b;transform-origin:left;animation:dlvToastBar 3.5s linear forwards;}
@keyframes dlvToastBar{from{transform:scaleX(1);}to{transform:scaleX(0);}}
.dlv-toast-msg{flex:1;line-height:1.45;}
.dlv-toast-x{position:absolute;top:6px;right:8px;border:none;background:transparent;color:#9aa0a6;font-size:20px;line-height:1;cursor:pointer;padding:2px 6px;}
.dlv-toast-x:hover{color:#333;}
.ls-input-err{border:1.5px solid var(--c-primary) !important;background:#fff5fa !important;animation:lsShake .35s;}
@keyframes lsShake{0%,100%{transform:translateX(0);}25%{transform:translateX(-4px);}50%{transform:translateX(4px);}75%{transform:translateX(-2px);}}
@media (max-width:600px){#dlvToastHost{top:12px;right:12px;left:12px;}.dlv-toast{min-width:0;max-width:none;}}

/* Datepicker UI override - load after jqueryUI.css */
.ui-datepicker {
    z-index: 10001 !important;
    font-family: inherit;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: none;
    padding: var(--s-4);
    width: 290px;
    background: #fff;
}
.ui-datepicker-header {
    background: transparent;
    border: none;
    color: #333;
    padding: 2px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
}
.ui-datepicker-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    order: 0;
    line-height: 32px;
}
.ui-datepicker-prev,
.ui-datepicker-next {
    position: static;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    top: auto;
    border: none;
}
.ui-datepicker-prev { order: -1; }
.ui-datepicker-next { order: 1; }
.ui-datepicker-prev:hover,
.ui-datepicker-next:hover { background: #e0e0e0; }
.ui-datepicker-prev span,
.ui-datepicker-next span {
    background-image: none !important;
    text-indent: 0 !important;
    margin: 0 !important;
    position: static !important;
    left: auto !important; top: auto !important;
    width: auto !important; height: auto !important;
}
.ui-datepicker-prev span::after { content: '←'; font-size: 14px; color: #555; display: block; text-align: center; }
.ui-datepicker-next span::after { content: '→'; font-size: 14px; color: #555; display: block; text-align: center; }
.ui-datepicker table { font-size: 13px; margin: 0; border-collapse: separate; border-spacing: 0; }
.ui-datepicker th {
    font-weight: 700;
    color: #666;
    font-size: 12px;
    padding: 6px 0;
    text-align: center;
    border: none;
    background: transparent;
}
.ui-datepicker th:last-child { color: var(--c-primary); font-weight: 700; }
.ui-datepicker td { padding: 1px; border: none; background: transparent; }
.ui-datepicker td a,
.ui-datepicker td span {
    text-align: center;
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #333;
    display: block;
    margin: 0 auto;
    font-weight: 500;
    font-size: 13px;
}
.ui-datepicker td:last-child a,
.ui-datepicker td:last-child span { color: var(--c-primary); }
.ui-datepicker td a:hover,
.ui-datepicker td a.ui-state-hover {
    background: #f0f0f0;
    color: #333;
    border: none;
}
.ui-datepicker td a.ui-state-active {
    background: #3b6cb5;
    color: #fff;
    font-weight: 700;
    border: none;
}
.ui-datepicker td a.ui-state-highlight {
    background: #fdf0f6;
    color: var(--c-primary);
    font-weight: 700;
    border: none;
}
.ui-datepicker .ui-state-disabled span {
    color: #ccc;
}
.ui-datepicker .ui-datepicker-other-month span {
    color: #ddd;
}

/* ════════════════════════════════════════════════════════════════
   FLIGHT CALENDAR (custom 2-month popup, Traveloka-style)
   Replace Bootstrap Datepicker cho #lsFlightStart và #lsFlightEnd
   ════════════════════════════════════════════════════════════════ */
.lsfc-popup {
    position: absolute;
    z-index: 99999;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.06);
    padding: 16px 18px 12px;
    width: 780px;
    max-width: calc(100vw - 24px);
    max-height: 67vh;
    overflow-y: auto;
    box-sizing: border-box;
    display: none;
    font-family: inherit;
}
.lsfc-popup.is-open { display: block; }
.lsfc-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}
.lsfc-prev,
.lsfc-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: var(--s-1);
    transition: background .15s;
}
.lsfc-prev:hover,
.lsfc-next:hover { background: #d2e3fc; }
.lsfc-prev:disabled { opacity: .35; cursor: not-allowed; }
.lsfc-months {
    display: flex;
    gap: var(--s-6);
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
}
.lsfc-month {
    flex: 1 1 0;
    min-width: 0;
}
.lsfc-month-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: var(--s-3);
    line-height: 32px;
}
.lsfc-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-bottom: var(--s-1);
}
.lsfc-weekdays > div {
    text-align: center;
    font-size: 12px;
    color: #5f6368;
    font-weight: 500;
    padding: 4px 0;
    white-space: nowrap; /* nhãn "Thứ 3".."Thứ 7" phải nằm 1 dòng, không rớt chữ xuống dòng */
}
.lsfc-weekdays > div:last-child { color: #d93025; }
.lsfc-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    border-top: 1px solid #f0f0f0;
    padding-top: 6px;
}
.lsfc-day {
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 0 4px;
    cursor: pointer;
    border-radius: 6px;
    position: relative;
    transition: background .12s;
    color: #1a73e8;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
}
.lsfc-day-num {
    font-size: 14px;
    line-height: 1.2;
}
.lsfc-day-price {
    font-size: 10px;
    font-weight: 500;
    color: #5f6368;
    margin-top: var(--s-1);
    letter-spacing: -.2px;
    line-height: 1;
}
.lsfc-day-price.is-low { color: #1a8754; font-weight: 600; }
.lsfc-day-empty {
    visibility: hidden;
    pointer-events: none;
}
.lsfc-day.is-past {
    color: #c0c4ca;
    cursor: not-allowed;
    pointer-events: none;
}
.lsfc-day.is-past .lsfc-day-price { color: #c0c4ca; }
.lsfc-day.is-sunday { color: #d93025; }
.lsfc-day:hover:not(.is-past):not(.is-empty) {
    background: #f1f3f4;
}
.lsfc-day-tag {
    font-size: 8px;
    color: #1a73e8;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 1px;
    white-space: nowrap; /* "Hôm nay" 1 dòng, tránh wrap vượt chiều cao ô → bị cắt */
}
.lsfc-day.is-today { padding-top: 2px; }
.lsfc-day.is-today .lsfc-day-num { font-size: 13px; }
.lsfc-day.is-today .lsfc-day-price { margin-top: 2px; }
.lsfc-day.is-selected {
    background: transparent;
}
.lsfc-day.is-selected .lsfc-day-num {
    background: var(--c-primary);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 700;
}
.lsfc-day.is-selected .lsfc-day-price { color: var(--c-primary); font-weight: 600; }
.lsfc-holidays {
    margin-top: var(--s-3);
    padding: 10px 8px 0;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 12px;
}
.lsfc-holiday-item {
    color: #d93025;
    line-height: 1.5;
}
.lsfc-holiday-item .lsfc-h-day {
    font-weight: 700;
    margin-right: var(--s-1);
}
.lsfc-holiday-item .lsfc-h-name {
    color: #5f6368;
}
.lsfc-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 8px 0;
    margin-top: 6px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #5f6368;
}
.lsfc-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #1a8754;
    display: inline-block;
}

/* ═══ Lịch TOUR (bộ lọc tìm kiếm) = giao diện giống "Lịch khởi hành" trang chi tiết, KHÔNG hiện giá ═══
   Chỉ áp chế độ 1 tháng (.lsfc-single = mode tour); lịch Vé máy bay / Khách sạn 2 tháng GIỮ NGUYÊN. */
.lsfc-popup.lsfc-single { width: 400px; padding: 18px 18px 14px; }
.lsfc-popup.lsfc-single .lsfc-month-title { font-size: 18px; font-weight: 700; color: #d6248c; letter-spacing: .8px; text-transform: uppercase; }
.lsfc-popup.lsfc-single .lsfc-prev,
.lsfc-popup.lsfc-single .lsfc-next { width: 36px; height: 36px; background: #f5f5f5; color: #666; margin-top: 2px; }
.lsfc-popup.lsfc-single .lsfc-prev:hover,
.lsfc-popup.lsfc-single .lsfc-next:hover { background: #d6248c; color: #fff; }
.lsfc-popup.lsfc-single .lsfc-weekdays { gap: 4px; margin-bottom: 6px; }
.lsfc-popup.lsfc-single .lsfc-weekdays > div { font-size: 13px; font-weight: 600; color: #555; padding: 8px 0 6px; }
.lsfc-popup.lsfc-single .lsfc-weekdays > div:nth-child(6),
.lsfc-popup.lsfc-single .lsfc-weekdays > div:nth-child(7) { color: #d6248c; }
.lsfc-popup.lsfc-single .lsfc-grid { border-top: none; padding-top: 0; gap: 4px; }
.lsfc-popup.lsfc-single .lsfc-day { height: auto; aspect-ratio: 1; justify-content: center; padding: 0; border-radius: 8px; color: #444; font-weight: 400; }
.lsfc-popup.lsfc-single .lsfc-day-num { font-size: 15px; font-weight: 600; line-height: 1; }
.lsfc-popup.lsfc-single .lsfc-day.is-today .lsfc-day-num { font-size: 15px; }
.lsfc-popup.lsfc-single .lsfc-day.is-sunday { color: #d6248c; }
.lsfc-popup.lsfc-single .lsfc-day.is-past { color: #ccc; }
.lsfc-popup.lsfc-single .lsfc-day:hover:not(.is-past):not(.is-empty):not(.is-selected) { background: #d6248c; color: #fff; }
/* Bộ lọc: KHÔNG hiện giá + nhãn "Hôm nay" + chú thích giá (sạch như lịch chi tiết) */
.lsfc-popup.lsfc-single .lsfc-day-price,
.lsfc-popup.lsfc-single .lsfc-day-tag,
.lsfc-popup.lsfc-single .lsfc-legend { display: none !important; }

/* Khi calendar popup mở, ẩn floating widgets (Zalo, Subiz, go-top, chatbot) để
   không che thông tin giá ngày. Dùng body class thay vì z-index vì .box-search-group
   xài z-index: 2147483647 (max int) - không thể đè bằng z-index. */
body.lsfc-open .box-search-group,
body.lsfc-open .zalo-chat-widget,
body.lsfc-open .go_top,
body.lsfc-open #subiz-button-container,
body.lsfc-open .subiz-widget-container,
body.lsfc-open #wpwidget,
body.lsfc-open .ai-chatbot-launcher,
body.lsfc-open #aiChatbotLauncher,
body.lsfc-open iframe[src*="subiz"],
body.lsfc-open iframe[src*="zalo"] {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Backdrop (mobile only) */
.lsfc-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99998;
}
.lsfc-backdrop.is-open { display: block; }
.lsfc-mobile-header { display: none; }

@media (max-width: 767px) {
    /* Bottom-sheet modal */
    .lsfc-popup {
        position: fixed !important;
        bottom: 0;
        bottom: var(--ls-vv-bottom, 0px); /* né thanh công cụ Safari iOS (đo qua visualViewport) */
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px 16px 0 0;
        max-height: 67vh;
        overflow-y: auto;
        padding: 0 12px 24px;
    }
    .lsfc-months {
        flex-direction: column;
        gap: 18px;
        padding: 0;
    }
    .lsfc-prev, .lsfc-next {
        position: absolute;
        top: 8px;
        z-index: 2;
    }
    .lsfc-prev { left: 8px; }
    .lsfc-next { right: 8px; }
    .lsfc-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0 10px;
        margin-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 3;
    }
    .lsfc-mobile-header-title { font-size: 15px; font-weight: 600; color: #222; }
    .lsfc-mobile-close-btn {
        width: 30px; height: 30px; border-radius: 50%; border: none;
        background: #f5f5f5; color: #555; font-size: 20px; line-height: 1;
        display: flex; align-items: center; justify-content: center; cursor: pointer;
    }
    body.lsfc-open { overflow: hidden; }
}

/* Hotel pax: child-age picker */
.ls-hotel-child-ages:empty { display:none; }
.ls-hotel-child-ages { padding-top: var(--s-1); }
.ls-hotel-child-ages .lh-cage-row { display:flex; align-items:center; justify-content:space-between; padding:8px 0; border-bottom:1px solid #f0f0f0; }
.ls-hotel-child-ages .lh-cage-row:last-child { border-bottom:none; }
.ls-hotel-child-ages .lh-cage-lbl { font-size:13px; color:#333; font-weight:600; }
.ls-hotel-child-ages select.lh-cage-sel { height:32px; min-width:80px; border:1px solid #ddd; border-radius:var(--r-md); padding:0 8px; font-size:13px; color:#333; background:#fff; cursor:pointer; }
.ls-hotel-child-ages select.lh-cage-sel:focus { outline:none; border-color:var(--c-primary); }
.ls-hotel-child-ages select.lh-cage-sel.lh-cage-need { border-color:var(--c-primary); box-shadow:0 0 0 2px rgba(214,36,140,.15); }

/* Pax cap notice - đoàn >= 10 khách (compact, không giãn dropdown) */
.ls-pax-pill .ls-pax-dropdown { max-width: 320px; }
.ls-pax-cap-notice { margin-top: 8px; padding: 8px 10px; background: #fdf0f6; border-radius: 6px; font-size: 11.5px; line-height: 1.45; color: #6b3a52; white-space: normal; word-wrap: break-word; display: flex; align-items: flex-start; gap: 6px; }
.ls-pax-cap-notice::before { content: 'i'; flex: 0 0 14px; width: 14px; height: 14px; border-radius: 50%; background: #d6248c; color: #fff; font-size: 10px; font-weight: 800; font-style: normal; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; font-family: serif; }
.ls-pax-cap-notice a { color: #d6248c; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ls-pax-cap-notice a:hover { text-decoration: underline; }

.ls-sheet-foot{ display:none; }
.ls-sheet-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:10050; }
.ls-sheet-backdrop[hidden]{ display:none; }

@media (max-width:767px){
  /* Bottom-sheet hoá pax + hạng ghế của riêng panel VÉ MÁY BAY */
  #ls-panel-flight .ls-pax-dropdown.active,
  #ls-panel-flight .ls-class-dropdown.active{
    position:fixed; left:0; right:0; bottom:0; bottom:var(--ls-vv-bottom,0px); top:auto;
    width:100%; min-width:0; max-width:none; max-height:82vh; overflow-y:auto;
    margin:0; border-radius:16px 16px 0 0; box-shadow:0 -8px 30px rgba(0,0,0,.18);
    padding:14px 16px calc(16px + env(safe-area-inset-bottom)); z-index:10060;
    animation:lsSheetUp .24s ease;
  }
  @keyframes lsSheetUp{ from{ transform:translateY(100%); } to{ transform:translateY(0); } }
  /* tay nắm kéo (grabber) */
  #ls-panel-flight .ls-pax-dropdown.active::before,
  #ls-panel-flight .ls-class-dropdown.active::before{
    content:''; display:block; width:42px; height:4px; border-radius:999px; background:#e2e4e8; margin:0 auto 14px;
  }
  /* pax rows thoáng hơn cho cảm giác sheet */
  #ls-panel-flight .ls-pax-dropdown.active .ls-pax-row{ padding:14px 4px; }
  /* hạng ghế: item lớn dễ chạm + tick chọn */
  #ls-panel-flight .ls-class-dropdown.active .ls-class-item{
    padding:16px 8px; font-size:15px; border-bottom:1px solid #f3f3f3; position:relative;
  }
  #ls-panel-flight .ls-class-dropdown.active .ls-class-item:last-child{ border-bottom:0; }
  #ls-panel-flight .ls-class-dropdown.active .ls-class-item.selected::after{
    content:'✓'; position:absolute; right:8px; top:50%; transform:translateY(-50%);
    color:var(--c-primary,#d6248c); font-weight:800; font-size:16px;
  }
  /* footer Hủy / Chọn (chèn vào pax sheet) */
  .ls-sheet-foot{ display:flex; gap:10px; margin-top:12px; padding-top:12px; border-top:1px solid #f0f0f0; }
  .ls-sheet-foot button{ flex:1; padding:13px; border:0; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; }
  .ls-sheet-cancel{ background:#f1f3f5; color:#444; }
  .ls-sheet-ok{ background:var(--c-primary,#d6248c); color:#fff; }
}

/* ── FOOTER (client 2026-07-29): tiêu đề cột màu HỒNG + ô email BO TRÒN (pill) ────────────────
   Scope .mainFoot để không đụng .title ở nơi khác. Tên công ty (dòng có inline style="color:#333")
   giữ nguyên đen vì inline thắng rule này. */
.mainFoot .title { color: #d6248c; }
/* Ô đăng ký email: gộp input + nút thành 1 pill bo tròn (thay input vuông viền xám cũ). */
.mainFoot .mda-mail-box {
  display: flex;
  align-items: center;
  max-width: 340px;
  margin: 5px 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  overflow: hidden;
}
.mainFoot .mda-mail-box .mda-text {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  float: none;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  font-style: normal;
}
.mainFoot .mda-mail-box button {
  flex: 0 0 auto;
  width: 46px;
  align-self: stretch;
  border: 0;
  background: transparent;
  color: #d6248c;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mainFoot .mda-mail-box button:hover { color: #b81d77; }