/* ==========================================================================
   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: #f4f5f7 !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;
        aspect-ratio: 1080 / 607 !important;
        height: auto !important;
    }

    .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 .hp-mob-search-box,
    .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 .hp-mob-search-box .global-search-bar,
    .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 .hp-mob-search-box .global-search-bar input,
    .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 .hp-mob-search-box .global-search-bar .gs-btn-search,
    .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 .hp-mob-search-box .global-search-bar .gs-btn-search svg,
    .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: giữ z-index của hp-mob-search-row ở 900 để nằm dưới backdrop (.gs-mob-backdrop z-index:100000) */
    body.gs-dropdown-active .hp-mob-search-row {
        z-index: 900 !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;
    }

    #hpSvcMoreBtn .hp-svc-label i:not([style*="color"]),
    #hpSvcMoreBtn .hp-svc-icon i:not([style*="color"]),
    #hpSvcMoreBtn i.fa-layer-group:not([style*="color"]),
    #hpSvcMoreBtn i.fa-solid:not([style*="color"]) {
        color: var(--c-primary, #ed007f) !important;
        fill: var(--c-primary, #ed007f) !important;
    }

    /* ── Sticky Mobile Service Menu Bar khi cuộn trang ── */
    .hp-svcgrid-placeholder {
        display: none;
        width: 100%;
        box-sizing: border-box !important;
    }

    /* ── Sticky Mobile Service Menu Bar - High-End 2026 App Style ── */
    .hp-svcgrid-wrap.is-stuck {
        position: fixed !important;
        top: 48px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        padding: 5px 0 !important;
        background: rgba(255, 255, 255, 0.88) !important;
        -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
        backdrop-filter: blur(16px) saturate(180%) !important;
        box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
        border-bottom: 1px solid rgba(229, 231, 235, 0.8) !important;
        z-index: 990 !important;
        touch-action: pan-x !important;
    }

    .hp-svcgrid-wrap.is-stuck .hp-svcgrid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 6px !important;
        padding: 3px 12px !important;
        align-items: center !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
        overscroll-behavior-x: contain !important;
        overscroll-behavior-y: auto !important;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent) !important;
        mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent) !important;
    }

    .hp-svcgrid-wrap.is-stuck .hp-svcgrid::-webkit-scrollbar {
        display: none !important;
    }

    /* An ngay anh nen va gradient overlay khi o vang stuck */
    .hp-svcgrid-wrap.is-stuck .hp-svc-bg,
    .hp-svcgrid-wrap.is-stuck .hp-svc-ov {
        display: none !important;
    }

    /* Tab dạng Capsule cao cấp - Reset kích thước tức thì, không chuyển đổi (transition) layout */
    .hp-svcgrid-wrap.is-stuck .hp-svc {
        aspect-ratio: auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 35px !important;
        min-height: 35px !important;
        flex-shrink: 0 !important;
        background: rgba(248, 250, 252, 0.9) !important;
        border: 1px solid rgba(226, 232, 240, 0.8) !important;
        border-radius: 999px !important;
        padding: 0 12px 0 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
        cursor: pointer !important;
        position: relative !important;
        transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    /* Vách ngăn Hairline siêu mảnh giữa từng tab */
    .hp-svcgrid-wrap.is-stuck .hp-svc:not(:last-child)::after {
        content: "" !important;
        position: absolute !important;
        right: -4px !important;
        top: 28% !important;
        height: 44% !important;
        width: 1px !important;
        background: rgba(203, 213, 225, 0.5) !important;
        border-radius: 1px !important;
    }

    /* Hiệu ứng Nổi (Elevation) & Đổi màu khi Chạm/Active */
    .hp-svcgrid-wrap.is-stuck .hp-svc:hover,
    .hp-svcgrid-wrap.is-stuck .hp-svc:active {
        background: #ffffff !important;
        border-color: var(--c-primary, #ed007f) !important;
        box-shadow: 0 3px 12px rgba(237, 0, 127, 0.16) !important;
        transform: translateY(-1px) !important;
    }

    /* 1. Triệt tiêu triệt để tất cả nền gradient cũ từ home-sections.css trên các icon con */
    .hp-svcgrid-wrap.is-stuck .hp-svc:nth-child(n) .hp-svc-label svg,
    .hp-svcgrid-wrap.is-stuck .hp-svc:nth-child(n) .hp-svc-icon svg,
    .hp-svcgrid-wrap.is-stuck .hp-svc-icon i,
    .hp-svcgrid-wrap.is-stuck .hp-svc-icon svg,
    .hp-svcgrid-wrap.is-stuck .hp-svc-icon img {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        outline: none !important;
        filter: none !important;
    }

    /* 2. Huy hiệu Vòng tròn (Single Badge Circle) duy nhất 24px x 24px */
    .hp-svcgrid-wrap.is-stuck .hp-svc-icon,
    .hp-svcgrid-wrap.is-stuck .hp-svc-label > i,
    .hp-svcgrid-wrap.is-stuck .hp-svc-label > svg {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
        border-radius: 50% !important;
        background: rgba(241, 245, 249, 0.9) !important;
        background-color: rgba(241, 245, 249, 0.9) !important;
        margin: 0 6px 0 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        transition: background 0.2s ease, transform 0.2s ease !important;
    }

    /* Khi Hover/Touch: Vòng tròn 24px đổi nền nhẹ, giữ nguyên màu icon gốc */
    .hp-svcgrid-wrap.is-stuck .hp-svc:hover .hp-svc-icon,
    .hp-svcgrid-wrap.is-stuck .hp-svc:active .hp-svc-icon,
    .hp-svcgrid-wrap.is-stuck .hp-svc:hover .hp-svc-label > i,
    .hp-svcgrid-wrap.is-stuck .hp-svc:active .hp-svc-label > i,
    .hp-svcgrid-wrap.is-stuck .hp-svc:hover .hp-svc-label > svg,
    .hp-svcgrid-wrap.is-stuck .hp-svc:active .hp-svc-label > svg {
        background: #e2e8f0 !important;
        background-color: #e2e8f0 !important;
        transform: scale(1.05) !important;
    }

    /* 3. Icon glyph (SVG / FontAwesome / IMG) nằm bên trong huy hiệu tròn 24px: giữ nguyên màu gốc từ class-color-* */
    .hp-svcgrid-wrap.is-stuck .hp-svc-icon i,
    .hp-svcgrid-wrap.is-stuck .hp-svc-label > i {
        font-size: 11.5px !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hp-svcgrid-wrap.is-stuck .hp-svc-icon svg,
    .hp-svcgrid-wrap.is-stuck .hp-svc-label > svg {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        min-height: 12px !important;
        max-width: 12px !important;
        max-height: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hp-svcgrid-wrap.is-stuck .hp-svc-icon img {
        width: 14px !important;
        height: 14px !important;
        max-width: 14px !important;
        max-height: 14px !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hp-svcgrid-wrap.is-stuck .hp-svc-label {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        height: auto !important;
        width: auto !important;
    }

    .hp-svcgrid-wrap.is-stuck .hp-svc:hover .hp-svc-label,
    .hp-svcgrid-wrap.is-stuck .hp-svc:active .hp-svc-label {
        color: #0f172a !important;
    }

    body.has-stuck-svcgrid .hp-mob-search-row {
        top: 94px !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 */

/* ===== Modal "Tất cả dịch vụ" (redesign 30/09) — áp dụng chung =====
   Nền xám nhạt, mỗi nhóm dịch vụ = 1 thẻ trắng; icon hồng (bộ SVG outline trang chủ / FA) trong vòng tròn hồng nhạt.
   Icon chọn theo URL trong partials/_home_services_modal.php — không dùng class-color-* của CMS nữa.
   !important giữ nguyên kiểu khối cũ: style_minimize.css có rule span/div/i chung đè lên modal; riêng
   ".dlv-modal-item-icon i" cần !important để thắng style="color:…" inline mà CMS lưu kèm icon. */
.dlv-svc-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 16px 14px 20px !important;
    background: #fff !important;
    border-bottom: 1px solid #eef0f3 !important;
    flex-shrink: 0 !important;
}

.dlv-svc-modal-header > span {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.dlv-svc-modal-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dlv-svc-layout-toggle,
.dlv-svc-modal-close {
    background: #f3f4f6 !important;
    border: none !important;
    width: 34px !important;
    height: 34px !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;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dlv-svc-layout-toggle {
    font-size: 15px !important;
}

.dlv-svc-modal-close {
    font-size: 24px !important;
}

.dlv-svc-layout-toggle:focus-visible,
.dlv-svc-modal-close:focus-visible {
    background: var(--c-primary-light, #fde4f1) !important;
    color: var(--c-primary, #ed007f) !important;
}

.dlv-svc-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 14px 12px !important;
    background: #f4f5f7 !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
}

.dlv-svc-modal-section {
    margin: 0 0 12px !important;
    padding: 14px 10px 16px !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05) !important;
}

.dlv-svc-modal-section:last-child {
    margin-bottom: 0 !important;
}

.dlv-svc-modal-section div.title-section {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 0 14px !important;
    padding: 0 4px !important;
    border: 0 !important;
}

.dlv-svc-modal-section .dlv-svc-sec-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.35 !important;
}

.dlv-svc-modal-section .dlv-svc-sec-all {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    flex-shrink: 0 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--c-primary, #ed007f) !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.dlv-svc-modal-section .dlv-svc-sec-all:hover {
    color: var(--c-primary-hover, #b81d77) !important;
}

.dlv-svc-grid-modal {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px 4px !important;
}

.dlv-modal-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 2px !important;
    border-radius: 12px !important;
    color: #1f2937 !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease !important;
}

.dlv-modal-item:focus-visible {
    outline: 2px solid var(--c-primary, #ed007f) !important;
    outline-offset: 2px !important;
}

.dlv-modal-item-icon {
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--c-primary-light, #fde4f1) !important;
    color: var(--c-primary, #ed007f) !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

.dlv-modal-item-icon svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
}

.dlv-modal-item-icon i {
    font-size: 22px !important;
    line-height: 1 !important;
    color: inherit !important;
}

.dlv-modal-item-icon img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
}

.dlv-modal-item:focus-visible .dlv-modal-item-icon {
    background: var(--c-primary, #ed007f) !important;
    color: #fff !important;
}

/* Hover chỉ với chuột — trên cảm ứng :hover "dính" lại ở ô vừa chạm */
@media (hover: hover) {
    .dlv-modal-item:hover {
        color: var(--c-primary, #ed007f) !important;
    }

    .dlv-modal-item:hover .dlv-modal-item-icon {
        background: var(--c-primary, #ed007f) !important;
        color: #fff !important;
    }

    .dlv-svc-layout-toggle:hover,
    .dlv-svc-modal-close:hover {
        background: var(--c-primary-light, #fde4f1) !important;
        color: var(--c-primary, #ed007f) !important;
    }
}

.dlv-modal-item:active .dlv-modal-item-icon {
    transform: scale(0.94) !important;
}

/* Kiểu danh sách (nút #dlvSvcLayoutToggle bật .layout-list): mỗi dịch vụ 1 dòng, icon trái + mũi tên phải */
.dlv-svc-modal.layout-list .dlv-svc-grid-modal {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
}

.dlv-svc-modal.layout-list .dlv-modal-item {
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 10px 4px !important;
    border-radius: 0 !important;
    border-top: 1px solid #f0f1f4 !important;
    font-size: 14.5px !important;
    text-align: left !important;
}

.dlv-svc-modal.layout-list .dlv-modal-item:first-child {
    border-top: 0 !important;
}

.dlv-svc-modal.layout-list .dlv-modal-item::after {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin: 0 6px 0 auto;
    border-top: 2px solid #9ca3af;
    border-right: 2px solid #9ca3af;
    transform: rotate(45deg);
}

.dlv-svc-modal.layout-list .dlv-modal-item-icon {
    width: 40px !important;
    height: 40px !important;
}

.dlv-svc-modal.layout-list .dlv-modal-item-icon svg {
    width: 22px !important;
    height: 22px !important;
}

.dlv-svc-modal.layout-list .dlv-modal-item-icon i {
    font-size: 17px !important;
}

.dlv-svc-modal.layout-list .dlv-modal-item-icon img {
    width: 24px !important;
    height: 24px !important;
}

/* ==== HIỆU ỨNG NỔI BẬT CHO TOUR CAT SLIDER (ICON + TEXT) ==== */
#slideTourCat .item.featured-slide,
#slideTourCat .featured-slide {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Hiệu ứng nẩy icon nhịp nhàng */
#slideTourCat .featured-slide .img img,
#slideTourCat .featured-slide .img svg {
    animation: bounceIcon 1.8s infinite ease-in-out !important;
}

@keyframes bounceIcon {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.1);
    }
}

@keyframes pulseText {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.75;
        text-shadow: 0 0 8px rgba(237, 0, 127, 0.4);
    }
}

/* Custom color utility classes for modal items (Đưa ra ngoài media query) */
.class-color-blue i:not([style*="color"]),
.class-color-blue svg:not([style*="color"]) {
    color: #1e6fd8 !important;
}

.class-color-pink i:not([style*="color"]),
.class-color-pink svg:not([style*="color"]) {
    color: #e91e8c !important;
}

.class-color-cyan i:not([style*="color"]),
.class-color-cyan svg:not([style*="color"]) {
    color: #1ba0e2 !important;
}

.class-color-orange i:not([style*="color"]),
.class-color-orange svg:not([style*="color"]) {
    color: #f97316 !important;
}

.class-color-purple i:not([style*="color"]),
.class-color-purple svg:not([style*="color"]) {
    color: #7c4dff !important;
}

.class-color-gray i:not([style*="color"]),
.class-color-gray svg:not([style*="color"]) {
    color: #4b5563 !important;
}

.class-color-green i:not([style*="color"]),
.class-color-green svg:not([style*="color"]) {
    color: #10b981 !important;
}

.class-color-red i:not([style*="color"]),
.class-color-red svg:not([style*="color"]) {
    color: #ef4444 !important;
}

.class-color-yellow i:not([style*="color"]),
.class-color-yellow svg:not([style*="color"]) {
    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: #ed007f !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:not([style*="color"]),
    #hpSvcMoreBtn .hp-svc-icon i:not([style*="color"]),
    #hpSvcMoreBtn i.fa-layer-group:not([style*="color"]),
    #hpSvcMoreBtn i.fa-solid:not([style*="color"]) {
        color: var(--c-primary, #ed007f) !important;
        fill: var(--c-primary, #ed007f) !important;
    }

    #hpSvcMoreBtn:hover .hp-svc-label i:not([style*="color"]),
    #hpSvcMoreBtn:hover .hp-svc-icon i:not([style*="color"]),
    #hpSvcMoreBtn:hover i.fa-layer-group:not([style*="color"]),
    #hpSvcMoreBtn:hover i.fa-solid:not([style*="color"]) {
        color: var(--c-primary, #ed007f) !important;
        fill: var(--c-primary, #ed007f) !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;
    }

    /* Desktop: 6 cột / thẻ nhóm (nhóm "Tour & trải nghiệm" 6 mục vừa 1 hàng), icon to hơn chút */
    .dlv-svc-modal-header {
        padding: 18px 20px 18px 24px !important;
    }

    .dlv-svc-modal-body {
        padding: 20px 24px !important;
    }

    .dlv-svc-modal-section {
        margin-bottom: 16px !important;
        padding: 18px 14px 20px !important;
    }

    .dlv-svc-grid-modal {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 20px 8px !important;
    }

    .dlv-modal-item {
        font-size: 13px !important;
    }

    .dlv-modal-item-icon {
        width: 56px !important;
        height: 56px !important;
    }

    .dlv-modal-item-icon svg {
        width: 30px !important;
        height: 30px !important;
    }

    .dlv-modal-item-icon i {
        font-size: 24px !important;
    }

    .dlv-svc-modal.layout-list .dlv-svc-grid-modal {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 24px !important;
    }

    .dlv-svc-modal.layout-list .dlv-modal-item:nth-child(2) {
        border-top: 0 !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;
}

.dlv-box-slide {
    max-height: 380px !important;
    overflow: hidden;
}
@media (max-width: 767px) {
    .dlv-box-slide {
        max-height: none !important;
    }
}


/* ===== BANNER UNIFIED STYLE & ASPECT RATIO (Tập trung 1 nơi duy nhất) ===== */
#vnt-slide-home .item .img,
#vnt-slide-home .img,
.lt-hero,
.lf-hero,
.lh-hero,
.car-hero,
.cbf-hero {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1920 / 600 !important;
    max-height: min(380px, calc(100vh - 280px)) !important;
    min-height: auto !important;
    padding-top: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    background-position: center top !important;
    background-size: cover !important;
}

.ve-tham-quan-theme .hero {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1920 / 600 !important;
    max-height: min(380px, calc(100vh - 280px)) !important;
    min-height: auto !important;
    padding-top: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background-position: center top !important;
    background-size: cover !important;
}

/* Quy tắc căn mốc mép trên cho thẻ img/picture bên trong banner */
#vnt-slide-home .item .img img,
#vnt-slide-home .item .img picture,
.lt-hero img,
.lf-hero img,
.lh-hero img,
.car-hero img,
.cbf-hero img,
.ve-tham-quan-theme .hero img,
.ve-tham-quan-theme .hero picture img {
    object-fit: cover !important;
    object-position: center top !important;
}

@media (max-width: 768px) {
    #vnt-slide-home .item .img,
    #vnt-slide-home .img,
    .lt-hero,
    .lf-hero,
    .lh-hero,
    .car-hero,
    .cbf-hero,
    .ve-tham-quan-theme .hero {
        aspect-ratio: 1080 / 607 !important;
        min-height: auto !important;
        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, #ed007f);
    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, #ed007f) !important;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}

.account-user-link:hover {
    color: var(--c-primary, #ed007f) !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" (.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;
    }
}

/* Thanh back thường (KHÔNG đè hero): MỌI trang cùng một kiểu chữ trơn — mũi tên hồng + chữ "Quay lại", không viền,
   không nền viên thuốc, không kèm tên trang trước (client 08/10/2026: "tất cả các nút quay lại đều đồng bộ UI theo
   dạng text Quay lại thôi"). Trước đó là nút viên thuốc "Quay lại <trang trước>" (23/07), riêng trang kết quả vé bay
   dùng kiểu trơn này qua class .dlv-mbar--plain (07/10) — nay kiểu trơn là mặc định nên class đó đã bỏ.
   Thanh trong suốt để ăn theo nền trang. Vùng chạm cao 36px. Scope :not(--onhero) để biến thể đè hero (chữ trắng
   trên ảnh) giữ nguyên. */
@media (max-width: 767px) {
    .dlv-mbar:not(.dlv-mbar--onhero) {
        padding: 6px 14px 0;
        background: transparent;
    }

    .dlv-mbar:not(.dlv-mbar--onhero) .dlv-mbar-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        height: 36px;
        padding: 0 8px 0 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #3a3a3a;
        font-family: inherit;
        font-size: 13.5px;
        font-weight: 500;
        /* line-height 1 cắt dấu nặng tiếng Việt ("lại" → chấm dưới 'ạ' bị mất); 1.4 chừa đủ chỗ cho dấu. */
        line-height: 1.4;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: color .15s;
    }

    .dlv-mbar:not(.dlv-mbar--onhero) .dlv-mbar-btn:active {
        color: #ed007f;
    }

    .dlv-mbar:not(.dlv-mbar--onhero) .dlv-mbar-btn svg {
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        stroke: #ed007f;
    }

    /* Thanh Quay lại DÍNH ngay dưới header (50px) ở các trang TOUR / KHÁCH SẠN — client 09/10/2026: "Nút quay lại set cứng
       ở trên cùng ở cả các trang khách sạn, tour luôn" (trang kết quả vé bay dính từ 08/10: pages/search-flights-page.css).
       Nhận trang qua khối đặc trưng của nó (trang danh sách tour là slug động nên không có class body riêng):
         .gs-page     danh sách / tìm kiếm tour (search_global.php: /du-lich-…, /tour-…, /tour-trong-ngay-…, /tim-kiem)
         .ct2-tabs    chi tiết tour (chitiet_tour_v2.php)
         .btr-page    thanh toán tour (booktour_chitiet.php)
         .hd2-topbar  chi tiết khách sạn (detail_hotel_api.php)
         .hsr-page    kết quả khách sạn (search_hotels_api.php)
       --dlv-mbar-stick = chiều cao thanh lúc dính (đệm 6px + nút 36px). Thanh nào vốn dính ngay dưới header ở các trang
       này cộng biến đó vào `top` để nằm dưới thanh Quay lại — đổi chiều cao thanh thì các chỗ đó tự theo:
       search-global-v2.css .gt-search-bar · tour-detail-v2.css .ct2-tabs.is-stuck + partials/_chitiet_tour_v2_script.php
       (HEADER_H) · hotel-detail-api.css .hd2-topbar / .hd2-tabs · kết quả khách sạn ngay dưới đây.
       Trình duyệt chưa có :has() (iOS < 15.4) → thanh không dính, biến không có, mọi thứ như trước. Landing có hero
       (/tour, /khach-san — biến thể --onhero) KHÔNG dính, như /ve-may-bay. */
    body:has(.gs-page, .ct2-tabs, .btr-page, .hd2-topbar, .hsr-page) {
        --dlv-mbar-stick: 42px;
    }

    body:has(.gs-page, .ct2-tabs, .btr-page, .hd2-topbar, .hsr-page) .dlv-mbar:not(.dlv-mbar--onhero) {
        position: sticky;
        top: 50px;
        z-index: 61;
        height: var(--dlv-mbar-stick);
        box-sizing: border-box;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    }

    /* Chi tiết tour + thanh toán tour: khung chung #vnt-container mang overflow:hidden (luật nền) → nó thành khung cuộn
       riêng, thanh Quay lại "dính" trong khung không bao giờ cuộn đó = không dính. Đổi sang overflow-x: clip (vẫn cắt
       phần tràn ngang nhưng KHÔNG tạo khung cuộn) như search-global-v2.css / hotel-detail-api.css đã làm cho trang của
       chúng. Chỉ ≤767px — desktop không có thanh này nên giữ nguyên. */
    body:has(.ct2-tabs, .btr-page) :is(#vnt-wrapper, #vnt-container, #vnt-content) {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    /* Kết quả khách sạn dùng thanh chung từ 09/10 (đã gỡ khỏi $__dlvBackOptOut) → ẩn link riêng .hsr-back trên mobile;
       khối tìm kiếm dính (fixed top:50px !important ở pages/search-hotels-page.css) dời xuống dưới thanh. */
    body:is(.dlv-page-tim-khach-san, .dlv-page-tim-khach-san-api) .hsr-topbar {
        display: none;
    }

    body:is(.dlv-page-tim-khach-san, .dlv-page-tim-khach-san-api) .hsr-editpanel.hsr-sticky.is-stuck {
        top: calc(50px + var(--dlv-mbar-stick, 0px)) !important;
    }
}

/* 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;
}

/* ==========================================================================
   eSIM Travel Interface Styles (DLV Design System - Isolated Classes)
   ========================================================================== */
.esim-custom-layout {
    width: 100%;
}
.esim-header-banner {
    background: linear-gradient(135deg, #fff0f6 0%, #ffffff 100%);
    border: 1px solid rgba(214, 36, 140, 0.2);
    border-radius: 12px;
}
.esim-header-banner h2 {
    color: var(--c-primary, #d6248c);
    font-size: 1.4rem;
}
.esim-filter-bar {
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.esim-continent-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.esim-search-box {
    max-width: 400px;
    position: relative;
}
.esim-search-box input {
    border-radius: 20px;
    padding-right: 38px;
    border: 1px solid #dee2e6;
}
.esim-search-box input:focus {
    border-color: var(--c-primary, #d6248c);
    box-shadow: 0 0 0 0.25rem rgba(214, 36, 140, 0.15);
}
.esim-search-box i {
    position: absolute;
    right: 14px;
    top: 10px;
    color: var(--c-primary, #d6248c);
}
.esim-continent-tabs .btn-primary {
    background-color: var(--c-primary, #d6248c);
    border-color: var(--c-primary, #d6248c);
    color: #fff;
}
.esim-continent-tabs .btn-outline-secondary {
    color: #495057;
    border-color: #ced4da;
}
.esim-continent-tabs .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: var(--c-primary, #d6248c);
    color: var(--c-primary, #d6248c);
}
.esim-country-grid {
    margin: 16px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}
@media (max-width: 991px) {
    .esim-country-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .esim-country-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
.esim-country-card {
    border-radius: 12px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1.5px solid #eaecf0 !important;
    padding: 12px;
    min-height: 72px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none !important;
}
.esim-country-card:focus,
.esim-country-card:active {
    outline: none !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}
.esim-country-card:hover {
    border-color: var(--c-primary, #ed007f) !important;
    box-shadow: 0 8px 20px rgba(237, 0, 127, 0.12);
    transform: translateY(-2px);
    background-color: #fffafc;
}
.esim-country-card.is-selected {
    border-color: var(--c-primary, #ed007f) !important;
    background-color: #fff0f6;
}
.esim-card-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.esim-country-name-wrap {
    flex: 1;
    min-width: 0;
}
.esim-country-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1d2939;
    letter-spacing: -0.2px;
    margin: 0;
    line-height: 1.2;
}
.esim-tag-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #d6248c;
    background: #fdf0f7;
    border: 1px solid rgba(214, 36, 140, 0.2);
    padding: 4px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    z-index: 2;
}
.esim-flag-wrap {
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}
.esim-flag-wrap img {
    width: 42px;
    height: 28px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.esim-modal-flag-img {
    width: 42px;
    height: 28px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.esim-packages-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.esim-packages-dialog {
    width: 96% !important;
    max-width: 1600px !important;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.esim-modal-header {
    background: #ffffff;
    padding: 18px 28px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.esim-modal-footer {
    background: #f8fafc;
    padding: 10px 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

/* Pagination bar */
.esim-pkg-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
}
/* Wrapper bắt buộc của Alpine x-for (single root) */
.esim-page-item {
    display: contents; /* transparent – không chiếm layout */
}
.esim-page-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
    padding: 0;
}
.esim-page-btn:hover:not(:disabled) {
    border-color: var(--c-primary, #d6248c);
    color: var(--c-primary, #d6248c);
    background: #fdf0f7;
}
.esim-page-btn.is-active {
    background: var(--c-primary, #d6248c);
    border-color: var(--c-primary, #d6248c);
    color: #ffffff;
}
.esim-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.esim-page-btn.esim-page-nav {
    color: #64748b;
}
.esim-page-ellipsis {
    width: 28px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    letter-spacing: 1px;
    flex-shrink: 0;
    line-height: 32px;
    user-select: none;
}
.esim-page-info {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    margin: 0 6px;
    white-space: nowrap;
}
.esim-modal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 48px;
    width: 100%;
    position: relative;
}
.esim-modal-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.esim-modal-header-row .esim-pkg-filter-tabs {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.esim-modal-flag-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.esim-modal-flag-img {
    width: 44px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.esim-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-primary, #d6248c);
    margin: 0;
    line-height: 1.2;
}
.esim-modal-code-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-primary, #d6248c);
    background: #fdf0f7;
    border: 1px solid rgba(214, 36, 140, 0.25);
    padding: 3px 8px;
    border-radius: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.esim-modal-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.esim-modal-title-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.esim-modal-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
}
.esim-modal-subtitle i {
    margin-right: 8px;
}
.esim-modal-close-btn {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    z-index: 10;
}
.esim-modal-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: translateY(-50%) rotate(90deg);
}
.esim-modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 85px);
    background: #f8fafc;
    padding: 24px 28px 28px 28px;
}
.esim-package-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-bottom: 8px;
}
@media (max-width: 1199px) {
    .esim-package-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .esim-package-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .esim-package-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.esim-package-card {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.esim-package-card:hover {
    border-color: var(--c-primary, #d6248c);
    box-shadow: 0 8px 24px rgba(214, 36, 140, 0.12);
    transform: translateY(-2px);
}
.esim-badge-validity {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--c-primary, #d6248c);
    background: #fdf0f7;
    border: 1px solid rgba(214, 36, 140, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.esim-badge-data {
    font-size: 0.72rem;
    font-weight: 700;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid rgba(22, 163, 74, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.esim-pkg-name {
    font-size: 0.92rem;
    line-height: 1.3;
    margin-bottom: 4px;
}
.esim-pkg-desc {
    font-size: 0.80rem;
    line-height: 1.35;
    margin-bottom: 8px;
}
.esim-pkg-info-box {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 8px;
}
.esim-pkg-info-box i {
    display: inline-block;
    width: 18px;
    text-align: center;
    margin-right: 8px;
}
.esim-pkg-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    width: 100%;
}
.esim-pkg-price-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.esim-pkg-price-label {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1;
    margin-bottom: 2px;
}
.esim-pkg-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--c-primary, #d6248c);
    line-height: 1.1;
}
.esim-btn-buy {
    background-color: var(--c-primary, #d6248c);
    border-color: var(--c-primary, #d6248c);    
    color: #ffffff;                              
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}
.esim-btn-buy:hover {
    filter: brightness(0.95);
    background-color: #b81e76 !important; 
    border-color: #b81e76 !important;     
    color: #ffffff !important;            
}
.esim-btn-buy i {
    margin-right: 8px;
}

/* Selector pill buttons (Hạn dùng / Dung lượng Gigago-style) */
.esim-option-selector {
    margin-bottom: 12px;
}
.esim-selector-label {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}
.esim-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.esim-pill-btn {
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1.2;
}
.esim-pill-btn:hover:not(:disabled):not(.is-disabled) {
    border-color: var(--c-primary, #d6248c);
    color: var(--c-primary, #d6248c);
    background: #fdf0f7;
}
.esim-pill-btn.is-active {
    background: var(--c-primary, #d6248c);
    border-color: var(--c-primary, #d6248c);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(214, 36, 140, 0.2);
}
.esim-pill-btn:disabled,
.esim-pill-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Thẻ bọc thông tin nhà mạng bắt buộc trên 1 dòng (Thu gọn mặc định) */
.esim-operator-row {
    white-space: nowrap;
    overflow: hidden;
}
.esim-operator-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    overflow: hidden;
    gap: 4px;
    transition: all 0.2s ease;
}
.esim-operator-inner.is-expanded {
    flex-wrap: wrap;
    white-space: normal;
    align-items: flex-start;
}
.esim-operator-name {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100%;
    text-align: left;
}
.esim-operator-name.is-clickable {
    cursor: pointer;
    transition: color 0.15s ease;
}
.esim-operator-name.is-clickable:hover {
    color: var(--c-primary, #d6248c) !important;
    text-decoration: underline;
}
.esim-operator-name.is-expanded {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
    text-align: left;
}

/* Nút toggle xem thêm nhà mạng siêu gọn */
.esim-operator-toggle-btn {
    font-size: 0.7rem;
    line-height: 1;
    border-radius: 10px;
    color: var(--c-primary, #d6248c);
    border-color: rgba(214, 36, 140, 0.3) !important;
    background: #fdf0f7;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    padding: 2px 6px !important;
    flex-shrink: 0;
}
.esim-operator-toggle-btn:hover {
    background: var(--c-primary, #d6248c);
    color: #ffffff;
}
.esim-op-count-text {
    font-weight: 700;
}

/* ============================================================
   eSIM RESPONSIVE – MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {

    /* Controls bar: xếp dọc, full width */
    .esim-controls-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .esim-controls-bar .esim-search-box,
    .esim-controls-bar .esim-select-continent,
    .esim-controls-bar .esim-select-popular,
    .esim-controls-bar .esim-select-region {
        max-width: 100% !important;
        width: 100% !important;
    }
    .esim-controls-bar .esim-select-continent select,
    .esim-controls-bar .esim-select-popular select,
    .esim-controls-bar .esim-select-region select {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
    .esim-controls-bar .sort-wrapper {
        width: 100% !important;
    }
    .esim-controls-bar .form-switch {
        justify-content: flex-start;
    }

    /* ── 03/10 (client: "phần esim chỉnh lại theo style UI mới, đang thấy có 2 ô search luôn, tối ưu thanh dropdown") ──
       Thanh lọc mobile thành THẺ trắng bo góc như khung thẻ trang chủ, bên trong là lưới 2 cột: nhãn nhỏ nằm TRÊN
       ô chọn (trước nhãn đứng cạnh → 3 ô rộng hẹp khác nhau); Châu lục | Độ phổ biến chung 1 hàng, Sắp xếp trải cả
       hàng. Ô chọn là dropdown tự dựng .esim-dd (views/esim.php; kiểu dáng gốc ở ecomed/assets/css/esim_page.css) —
       ô tìm kiếm thứ 2 trong thanh lọc đã gỡ khỏi markup (trùng ô tìm trên banner).
       .controls-header.esim-controls-bar (2 class) + !important để thắng .d-flex / .p-3 / .rounded-4 của Bootstrap
       (đều !important) gắn sẵn trên thẻ; các !important còn lại để thắng những rule !important ngay phía trên. */
    .controls-header.esim-controls-bar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px !important;
        padding: 14px !important;
        border: 1px solid #eceef2 !important;
        border-radius: 18px !important;
        box-shadow: 0 8px 24px rgba(31, 42, 68, .10) !important;
    }
    /* Khoảng thở giữa banner và nội dung (client 03/10 "cần có khoảng cách ở đây"): mobile ẩn breadcrumb nằm giữa nên
       thẻ lọc dính sát đáy banner. Đặt ở khối bọc để màn chi tiết quốc gia (thẻ lọc ẩn) cũng cách banner như vậy. */
    .esim-dedicated-theme .esim-main-wrapper {
        padding-top: 14px;
    }
    .esim-controls-bar .sort-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        width: auto !important;
        min-width: 0;
    }
    .esim-controls-bar .esim-select-sort {
        grid-column: 1 / -1;
    }
    /* Kiểu dropdown theo hình mẫu client gửi 03/10 (ô "ĐIỂM KHỞI HÀNH" của khung tìm tour): nhãn IN HOA xám nhỏ,
       ô cao 48px chữ đậm, mở ra viền hồng + mũi tên quay lên, danh sách bo góc nằm ngay dưới ô, dòng đang chọn chữ
       hồng đậm trên nền hồng nhạt. !important ở nhãn để thắng .text-secondary / .fw-semibold của Bootstrap trên thẻ. */
    .esim-controls-bar .sort-wrapper label {
        font-size: 12px;
        font-weight: 600 !important;
        line-height: 1.3;
        letter-spacing: .4px;
        text-transform: uppercase;
        color: #6b7280 !important;
    }
    .esim-controls-bar .esim-dd {
        min-width: 0;
        width: 100%;
    }
    .esim-controls-bar .esim-dd-btn {
        height: 48px;
        font-size: 16px;
        font-weight: 600;
    }
    .esim-controls-bar .esim-dd.is-open .esim-dd-btn {
        border-width: 1.5px;
        box-shadow: none;
    }
    .esim-controls-bar .esim-dd-list {
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(17, 24, 39, .14);
    }
    .esim-controls-bar .esim-dd-opt {
        padding: 13px 14px;
        border-radius: 10px;
        font-size: 16px;
    }
    /* Ô bên PHẢI (Độ phổ biến) mở danh sách bám mép phải để lựa chọn dài không tràn khỏi màn hình. */
    .esim-controls-bar .esim-select-popular .esim-dd-list {
        left: auto;
        right: 0;
    }

    /* Country grid: 2 cột compact */
    .esim-country-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 10px 0;
    }
    .esim-country-card {
        padding: 8px 10px;
        min-height: 58px;
    }
    .esim-country-title {
        font-size: 0.78rem;
    }
    .esim-flag-wrap img {
        width: 32px;
        height: 22px;
    }
    .esim-tag-badge {
        display: none !important;
    }

    /* Modal: full-screen bottom sheet */
    .esim-packages-modal-backdrop {
        align-items: flex-end;
        padding: 0;
    }
    .esim-packages-dialog {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        border: none;
        border-top: 1px solid #e2e8f0;
    }

    /* Modal header responsive */
    .esim-modal-header {
        padding: 12px 14px;
    }
    .esim-modal-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-right: 36px;
    }
    .esim-modal-left-group {
        width: 100%;
    }
    .esim-modal-header-row .esim-pkg-filter-tabs {
        position: static;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 4px;
    }
    .esim-modal-header-row .esim-pkg-filter-tabs .btn {
        flex: 1;
        padding: 5px 4px;
        font-size: 0.75rem;
        white-space: nowrap;
        text-align: center;
    }
    .esim-modal-title {
        font-size: 0.95rem;
    }
    .esim-modal-subtitle {
        font-size: 0.78rem;
    }
    .esim-modal-code-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .esim-modal-close-btn {
        right: 12px;
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    .esim-modal-flag-img {
        width: 36px;
        height: 24px;
    }

    /* Modal body */
    .esim-modal-body {
        padding: 14px 14px 20px;
        max-height: calc(92vh - 130px);
    }

    /* Package grid: 1 cột trên mobile nhỏ */
    .esim-package-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }

    /* Package card footer: xếp dọc */
    .esim-pkg-card-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .esim-pkg-price-wrap {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }
    .esim-btn-buy {
        width: 100%;
        height: 40px;
        justify-content: center;
    }

    /* Modal footer pagination */
    .esim-modal-footer {
        padding: 8px 12px;
    }
    .esim-page-info {
        display: none; /* ẩn "X/Y" trên mobile, tiết kiệm không gian */
    }
    .esim-page-btn {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }
    .esim-pkg-pagination {
        gap: 3px;
    }
}

/* eSIM RESPONSIVE – TABLET (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .esim-packages-dialog {
        width: 98% !important;
        max-height: 90vh;
    }
    .esim-modal-header {
        padding: 16px 20px;
    }
    .esim-modal-body {
        padding: 18px 20px 24px;
    }
    .esim-package-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .esim-controls-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    .esim-controls-bar .esim-search-box {
        min-width: 180px;
    }
}
.load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0 16px 0;
    width: 100%;
}
.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1.5px solid var(--c-primary, #d6248c);
    color: var(--c-primary, #d6248c);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(214, 36, 140, 0.1);
}
.btn-load-more:hover {
    background-color: var(--c-primary, #d6248c);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(214, 36, 140, 0.3);
    transform: translateY(-1px);
}


.esim-controls-bar .form-switch {
    display: flex;
    align-items: center;
}
.esim-controls-bar .form-switch .form-check-input {
    margin: 0 4px;
}
.esim-controls-bar .sort-wrapper label,
.esim-controls-bar .form-check-label,
.esim-controls-bar label {
    margin: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.esim-controls-bar .esim-search-box {
    min-width: 220px;
    max-width: 380px;
}
.esim-controls-bar .esim-select-continent select,
.esim-controls-bar .esim-select-popular select {
    min-width: 160px;
    cursor: pointer;
}
.esim-controls-bar .esim-select-region select {
    min-width: 190px;
    cursor: pointer;
}

/** 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, #ed007f);
    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;
}

/* ── Bộ lọc ngày đổi theo tab con (client 2026-08-08) ──
   "Combo giá tốt" = combo đóng gói bán theo THÁNG khởi hành → 1 ô month picker, giống tab Tour.
   "Combo tự chọn" gọi vé + phòng thật nên bắt buộc ngày cụ thể → giữ Ngày đi / Ngày về.
   Hai bộ nằm cùng .ls-fields, chỉ ẩn/hiện chứ không tháo khỏi DOM: JS mặc định ngày (+15 ngày)
   và lsComboSyncTuchon() vẫn đọc #lsComboStart/#lsComboEnd như cũ. Ô tháng KHÔNG có grid-area
   trong lưới 2D của .ls-combo-tuchon nên phải ẩn hẳn ở tab đó, kẻo rơi vào ô lưới tự sinh. */
#ls-panel-combo .ls-combo-area-start,
#ls-panel-combo .ls-combo-area-end {
    display: none;
}

#ls-panel-combo.ls-combo-tuchon .ls-combo-area-start,
#ls-panel-combo.ls-combo-tuchon .ls-combo-area-end {
    display: block;
}

#ls-panel-combo.ls-combo-tuchon .ls-combo-area-month {
    display: none;
}

#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, #ed007f);
}

/* 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, #ed007f);
}

#ls-panel-combo .ls-combo-paxtop-ic {
    color: var(--c-primary, #ed007f);
}

#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: #ed007f;
    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: #ed007f;
    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: #ed007f;
}

.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: #ed007f;
}

.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: #ed007f;
    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;
}

/* MỌI popup/modal/bottom-sheet mở ra → ẩn nút nổi, để popup luôn nằm trên (client
   2026-08-03). Trước đây phải khai báo THỦ CÔNG cho từng popup (body.lsfc-open bên dưới,
   #wpwidget.hide-chat ở public/index.php, .fancybox-active div#wpwidget ở chitiet_tour.php)
   → popup mới là lại quên. Nay static-assets/js/dlv-overlay-fabs.js tự dò lớp phủ
   position:fixed trải gần kín màn hình rồi gắn body.dlv-overlay-open, không cần khai tên.
   Vẫn phải ẩn chứ không nâng z-index của popup: các nút này chạy z-index 2147483647 =
   max int, không có số nào lớn hơn để đè. */
body.dlv-overlay-open .box-search-group,
body.dlv-overlay-open .zalo-chat-widget,
body.dlv-overlay-open #vnt-zalo-fab,
body.dlv-overlay-open .dlv-chat-ph,
body.dlv-overlay-open .go_top,
body.dlv-overlay-open .dlv-sd,
body.dlv-overlay-open .dlv-bot-fab,
body.dlv-overlay-open #subiz-button-container,
body.dlv-overlay-open .subiz-widget-container,
body.dlv-overlay-open #wpwidget,
body.dlv-overlay-open .ai-chatbot-launcher,
body.dlv-overlay-open #aiChatbotLauncher,
body.dlv-overlay-open iframe[src*="subiz"],
body.dlv-overlay-open iframe[src*="zalo"] {
    visibility: hidden !important;
    pointer-events: 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: #ed007f;
    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: #ed007f;
    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, #ed007f);
        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, #ed007f);
        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: #ed007f;
}

/* Ô đă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 {
    /* Gỡ định vị tuyệt đối của rule CŨ `.formRecive .form button` (position:absolute; right:0;
     top:50%; transform:translateY(-50%)) còn nằm trong bundle nền. Rule đó ghim nút vào mép
     phải của .formRecive .form (khung ngoài), trong khi pill .mda-mail-box hẹp hơn vì
     max-width:340px ⇒ nút văng RA NGOÀI viền bo tròn 21px (đo mobile 390: pill hết ở 354,
     nút ở 329→375). Trả nút về làm flex-item trong pill thì nó tự nằm đúng mép trong.
     Phải reset cả transform: transform vẫn có tác dụng trên phần tử position:static,
     để nguyên thì nút bị đẩy lên trên 16px. Fix 2026-07-31. */
    position: static;
    transform: none;
    flex: 0 0 auto;
    width: 46px;
    align-self: stretch;
    border: 0;
    background: transparent;
    color: #ed007f;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainFoot .mda-mail-box button:hover {
    color: #b81d77;
}

/* ── Giá TOUR = #ee0280 (client 2026-08-01) ──────────────────────────────────
   Card tour CŨ .mda-box-item (box/tour_item.php — trang danh mục điểm đến, tour liên
   quan…). Đè base style_minimize: .mda-distcoun .mda-dis (#e30051/#eb004f), .mda-box-p
   .mda-price (#eb004f), .mda-money-red (#ed0080). Scope trong .mda-box-item (chỉ dùng cho
   TOUR — không đụng giá hotel/flight). Card tour HIỆN ĐẠI (.gt-price-block .val), tour detail
   (.ct2-*-price) và quickview (.tqv-pval) đã đổi ở CSS riêng của chúng. */
.mda-box-item .mda-distcoun .mda-dis,
.mda-box-item .mda-box-price .mda-box-p .mda-price,
.mda-box-item .mda-box-price .mda-box-p .mda-price .mda-money-red {
    color: #ee0280;
}

/* ══ NỀN TOÀN TRANG: xám trắng #fafafa (client 2026-08-02) ═══════════════════════════
   Trước đây body trắng tinh (#fff, từ bundle nền cũ) nên các khối nội dung nền trắng
   "chìm" vào nền trang, không thấy ranh giới. #fafafa đủ nhạt để không đổi cảm giác
   sáng của trang nhưng vẫn tách được thẻ trắng.
   Đặt ở overide-v2 (lớp override cuối bundle) để thắng rule body của style_minimize/home.css
   mà KHÔNG phải sửa 2 file bundle nền. Trang nào tự khai nền riêng (chi tiết tour #eef0f4,
   landing tour mobile #f1f3f6) vẫn giữ nền của nó vì selector cụ thể hơn. */
body {
    background: #fafafa;
}

:root {
    --lh-pink: #ed007f;
    --lh-pink-dark: #b81e7a;
}

.lh-page {
    background: #fff;
    font-family: inherit;
    color: #0f172a;
}

.lh-page * {
    box-sizing: border-box;
}

.lh-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── HERO ────────────────────────────────────────── */
/* Background image only (no pink gradient overlay). Subtle dark tint
     applied via ::before so the white search-bar (which overlaps from
     below) stays readable on top of any photo. Pattern matches Tour
     landing (lt-hero + lt-search-overlay): hero ends, then a separate
     overlay div pulls UP with negative margin to straddle hero/content. */
.lh-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 600 !important;
    max-height: min(380px, calc(100vh - 280px)) !important;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Ảnh banner XẾP TRÊN gradient brand dự phòng: ảnh 404/CSP chặn → gradient vẫn hiện →
       banner KHÔNG BAO GIỜ trắng rỗng (client 2026-08-03).
       Ảnh lấy từ CMS Landing KS (hotel_landing_config.banner_image) — landing_hotel.php chỉ
       bơm URL vào biến --lh-hero-img, mọi rule layer/size/position nằm ở đây. Admin để trống
       → rơi về ảnh Unsplash mặc định (nên thay bằng ảnh nội bộ cho ổn định). */
    background: var(--lh-hero-img, url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=1600&h=900&fit=crop')) center top / cover no-repeat,
                linear-gradient(135deg, #ed007f 0%, #b3005f 100%);
    color: #fff;
    padding: 40px 16px 80px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.lh-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    pointer-events: none;
}

.lh-hero>* {
    position: relative;
    z-index: 1;
}

.lh-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -.5px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.lh-hero p.lh-hero-sub {
    font-size: 16px;
    margin: 0 auto;
    max-width: 720px;
    opacity: .98;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

@media (max-width:767px) {
    .lh-hero {
        aspect-ratio: 1080 / 607 !important;
        min-height: auto !important;
        padding: 24px 16px 70px !important;
    }

    .lh-hero h1 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    .lh-hero p.lh-hero-sub {
        font-size: 13px !important;
    }
}

/* Xe du lịch Hero Banner - Đồng bộ với Banner Trang chủ */
.car-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 600 !important;
    max-height: min(380px, calc(100vh - 280px)) !important;
    min-height: auto;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 80px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}
.car-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); z-index: 0; }
.car-hero > * { position: relative; z-index: 1; }
.car-hero h1 { font-size: 36px; font-weight: 800; margin: 0 0 12px; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.car-hero p.car-hero-sub { font-size: 16px; margin: 0 auto; max-width: 720px; opacity: .98; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

@media (max-width: 767px) {
    .car-hero {
        aspect-ratio: 1080 / 607 !important;
        min-height: auto !important;
        padding: 24px 16px 70px !important;
    }
    .car-hero h1 { font-size: 24px !important; margin-bottom: 8px !important; }
    .car-hero p.car-hero-sub { font-size: 13px !important; }
}

/* ── SEARCH BAR đè lên cuối hero (giống Tour landing pattern) ── */
.lh-search-overlay {
    position: relative;
    max-width: 1120px;
    margin: -70px auto 0;
    padding: 0 16px;
    z-index: 10;
}

/* ── Ô TÌM theo KIỂU THẺ như khung tìm Khách sạn ở trang chủ (client 06/10: "chỉnh lại bộ search bên trong
   landing page khách sạn giống với bên ngoài"). Bản gốc để đối chiếu: home-v3.css, khối #hphLs — desktop là
   `#hphLs:not(.is-sheet)`, mobile là `#hphLs.is-sheet`; đổi kiểu bên đó thì đổi theo ở đây.
     · Desktop: mỗi ô là 1 THẺ viền xám bo 12px cao 60px, nhãn nhỏ xám nằm TRONG thẻ, giá trị 15px/600; số đêm là
       pill hồng nhạt đè giữa khe 2 thẻ ngày; nút tìm hồng đặc bo 12px cao bằng thẻ.
     · Ô ngày hiện "T4, 21 thg 10" + icon lịch hồng: chữ nằm ở .lh-date-disp do landing-hotel-search.js vẽ; value
       dd/mm/yyyy thật vẫn trong input (form gửi đi + lịch đọc), chỉ bị ẩn. JS chưa chạy → input vẫn hiện ngày thô.
   Thay khối "đồng bộ với box search /tour" (04/08: nhãn nằm trên, mỗi ô viền riêng).
   Selector: rule nền của thanh tìm (cuối file này + local-search.css) toàn !important, có cả dạng 2 id
   (#ls-panel-hotel input#lsHotelCity:hover) → ô nhập phải gọi đích danh id mới thắng; thẻ / nhãn / nút chỉ cần
   .lh-search-overlay + #ls-panel-hotel. */
.lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field > label .req { display: none; }   /* như trang chủ: không dấu * — nút Tìm tự khoá khi thiếu ô bắt buộc */
.lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field input.lh-date-input { opacity: 0 !important; cursor: pointer; }
.lh-search-overlay #ls-panel-hotel .lh-date-disp {
    position: absolute; left: 14px; right: 10px; bottom: 9px; height: 24px; padding-left: 24px;
    background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23ed007f'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v2H2V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1zM2 11h20v8a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-8z'/%3E%3C/svg%3E") no-repeat 0 center / 16px 16px;
    font-size: 15px; font-weight: 600; line-height: 24px; color: #111827;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
.lh-search-overlay #ls-panel-hotel .lh-date-disp.is-ph { color: #9ca3af; font-weight: 500; }
/* Số đêm: pill hồng nhạt. pointer-events none → bấm trúng pill vẫn mở lịch của thẻ ngày nằm dưới. */
.lh-search-overlay #ls-panel-hotel .ls-fields > .ls-hotel-nights {
    border: 1px solid #ffd3e6; border-radius: 999px; background: #fff5fa; box-shadow: none;
    color: var(--c-primary); pointer-events: none;
}
/* Nút tìm: hồng đặc bo 12px. Thiếu ô bắt buộc thì nút bị khoá (disabled) → hồng nhạt thay cho xám. */
.lh-search-overlay #ls-panel-hotel .ls-fields > .ls-btn-search {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    border: 0 !important; border-radius: 12px !important; background: var(--c-primary) !important; color: #fff !important; opacity: 1 !important;
}
.lh-search-overlay #ls-panel-hotel .ls-fields > .ls-btn-search i { color: #fff !important; font-size: 14px; }
.lh-search-overlay #ls-panel-hotel .ls-fields > .ls-btn-search:disabled { opacity: .45 !important; box-shadow: none !important; }

@media (min-width: 768px) {
    .lh-search-overlay #ls-panel-hotel .ls-fields { align-items: stretch !important; gap: 10px !important; padding: 18px 22px 22px !important; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field {
        position: relative; flex: 1 1 0 !important; min-width: 0 !important; height: 60px !important; margin: 0 !important;
        padding: 8px 14px 9px !important; border: 1.5px solid #e5e7eb !important; border-radius: 12px !important; background: #fff !important;
        box-shadow: none !important; transition: border-color .15s;
    }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field:hover { border-color: #d1d5db !important; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field:focus-within { border-color: var(--c-primary) !important; }
    /* Nhãn 1 dòng: thẻ hẹp thì cắt "…" chứ không rớt dòng làm vỡ chiều cao thẻ. */
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field > label {
        display: block; margin: 0 0 2px !important; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        font-size: 12px !important; font-weight: 500 !important; color: #6b7280 !important;
    }
    /* Ô nhập / nút chọn bên trong thẻ: không viền, không nền, không icon (icon cũ vẽ bằng background-image). */
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field :is(input#lsHotelCity, input#lsHotelCheckin, input#lsHotelCheckout, #lsHotelGuestTrigger) {
        width: 100% !important; height: 24px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
        border: 0 !important; border-radius: 0 !important; background: transparent none !important; box-shadow: none !important; outline: none;
        font-size: 15px !important; font-weight: 600 !important; line-height: 24px !important; color: #111827 !important; text-overflow: ellipsis;
    }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field input[type="text"] { display: block; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field input::placeholder { color: #9ca3af !important; font-weight: 500; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field .ls-pax-trigger { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field .ls-pax-trigger > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field .ls-pax-trigger i { flex-shrink: 0; color: #9ca3af; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-hotel-nights {
        align-self: center; flex: 0 0 auto; height: 26px; margin: 0 -18px; padding: 0 8px; z-index: 3;
        font-size: 12px; font-weight: 600;
    }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-hotel-nights svg { width: 13px; height: 13px; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-btn-search {
        flex: 0 0 auto !important; width: auto !important; min-width: 150px; height: 60px !important; margin: 0 !important; padding: 0 24px !important;
        box-shadow: 0 6px 16px rgba(237, 0, 127, .22) !important; font-size: 15px !important; font-weight: 600 !important;
    }
}

/* ≥1152px (= max-width 1120 + lề 16×2 của .lh-search-overlay → khung luôn rộng đủ 1086px): 1 hàng như trang chủ.
   Khung ở đây hẹp hơn hero trang chủ (1200px) nên chia chỗ theo chữ thật, đo với font Be Vietnam Pro:
     · Điểm đến cố định 275px = vừa khít nhãn "Thành phố, điểm đến hoặc tên khách sạn" (244px).
     · Thẻ ngày ~153px: ngày dài nhất "CN, 25 thg 10" cần 150px. Số khách ~215px: "1 phòng · 2 người lớn" + mũi tên.
   Đổi nhãn / cỡ chữ / max-width của khung thì đo lại 3 con số này. */
@media (min-width: 1152px) {
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field-grow { flex: 0 0 275px !important; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field-pax { flex: 1.4 1 0 !important; }
}

/* Tablet / laptop hẹp (768–1151px): 1 hàng không đủ chỗ → 2 hàng, 4 cột [ngày | số đêm | ngày | cột phải]:
     [Điểm đến ........................] [Số khách]
     [Nhận phòng] (số đêm) [Trả phòng]   [nút tìm ]
   Chỉ đặt chỗ cho 2 ô hàng trên; 4 phần còn lại tự xếp vào hàng dưới theo đúng thứ tự DOM. Cột số đêm rộng "auto"
   = bề ngang pill trừ margin âm → pill vẫn đè khe 2 thẻ ngày y như bản 1 hàng. */
@media (min-width: 768px) and (max-width: 1151px) {
    .lh-search-overlay #ls-panel-hotel .ls-fields {
        display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(200px, .9fr);
        padding: 16px 16px 18px !important;
    }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field-grow { grid-row: 1; grid-column: 1 / 4; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field-pax { grid-row: 1; grid-column: 4; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-btn-search { min-width: 0; }
}

/* Đồng bộ độ kéo lên với /ve-may-bay (.lf-search-overlay: -52px).
     KHÔNG set box-shadow/border-radius ở đây: rule dưới (dòng ~123 !important và
     block mobile radius:20px) nằm sau nên sẽ đè - viết vào chỉ thành code chết. */
@media (max-width:767px) {
    .lh-search-overlay {
        margin-top: -52px;
    }
}

/* 2026-07-23: màn hình THẤP — thu gọn hero + kéo search bar lên để vừa 1 khung nhìn (theo chiều cao). */
@media (min-width:768px) and (max-height:860px) {
    .lh-hero {
        min-height: 340px;
        padding-top: 40px;
        padding-bottom: 92px;
    }

    .lh-hero h1 {
        font-size: 34px;
    }
}

@media (min-width:768px) and (max-height:720px) {
    .lh-hero {
        min-height: 260px;
        padding-top: 26px;
        padding-bottom: 82px;
    }

    .lh-hero h1 {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .lh-hero p.lh-hero-sub {
        font-size: 14px;
    }

    .lh-search-overlay {
        margin-top: -60px;
    }
}

/* Override homepage-specific overlap on the inner local-search-overlay
     (margin-top:-45px) - our wrapper above already does the overlap. */
.lh-search-overlay .local-search-overlay {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.lh-search-overlay .local-search-box {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .22) !important;
}

/* ── MOBILE: box search thành form THẺ NỔI gọn như mock (scoped riêng landing) ── */
@media (max-width:767px) {

    /* box/local_search_bar.php tự chèn `.local-search-overlay{display:none!important}` ở ≤767px -
       rule đó dành cho TRANG CHỦ (mobile home thay thanh search bằng lưới icon .hp-svcgrid, xem
       home-sections.css). Landing KS có layout mobile riêng bên dưới → bật lại, chỉ trong wrapper
       của landing nên trang chủ/desktop không đổi. */
    .lh-search-overlay .local-search-overlay {
        display: block !important;
    }

    .lh-search-overlay {
        padding: 0 12px;
    }

    .lh-search-overlay .local-search-box {
        border-radius: 20px;
    }

    /* Form như sheet tìm Khách sạn ở trang chủ mobile (home-v3.css, #hphLs.is-sheet): lưới 2 cột
       [Điểm đến] / [Nhận phòng | Trả phòng] / [Số khách] / [nút]. Ô điểm đến + số khách: nhãn IN HOA nằm trên, ô viền
       xám bo 12px cao 52px, không icon. 2 ô ngày là THẺ (nhãn trong thẻ + icon lịch + "T4, 21 thg 10"); số đêm nằm
       góc trên-phải thẻ Trả phòng. Nút hồng đặc bo 12px cao 52px. */
    .lh-search-overlay #ls-panel-hotel .ls-fields {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 16px 12px;
        padding: 6px 2px 4px;
    }

    .lh-search-overlay #ls-panel-hotel .ls-fields > * { grid-column: 1 / -1; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field-grow { grid-row: 1; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field:has(> #lsHotelCheckin) { grid-row: 2; grid-column: 1; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field:has(> #lsHotelCheckout) { grid-row: 2; grid-column: 2; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field-pax { grid-row: 3; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-btn-search { grid-row: 4; }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field {
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0 !important;
    }

    /* 12px (trang chủ 13px): khung ở đây thụt vào hơn sheet trang chủ, 13px IN HOA thì nhãn điểm đến rớt 2 dòng. */
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field > label {
        display: block;
        margin: 0 0 8px;
        font-size: 12px;
        font-weight: 700 !important;
        letter-spacing: .3px;
        text-transform: uppercase;
        color: #4b5563;
    }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field :is(input#lsHotelCity, #lsHotelGuestTrigger) {
        width: 100% !important;
        height: 52px !important;
        padding: 0 16px !important;
        border: 1.5px solid #e5e7eb !important;
        border-radius: 12px !important;
        background: #fff none !important;   /* none = bỏ icon vẽ bằng background-image (ghim, người) */
        box-shadow: none !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #111827 !important;
    }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field input#lsHotelCity:focus { border-color: var(--c-primary) !important; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field input::placeholder { color: #9ca3af !important; font-weight: 400; }

    /* Ô điểm đến: KHÔNG nhãn phía trên; câu gợi ý "Điểm đến, tên nơi lưu trú trong và ngoài nước" là placeholder (chữ chìm)
       trong ô, chữ thường, MỘT hàng (client 08/10/2026: "… để chìm xuống dưới ô search", "để chữ thường, không in hoa",
       "… để trên 1 hàng").
       · Nhãn giấu khỏi mắt nhưng còn cho trình đọc màn hình. !important vì luật nhãn ngay trên đặt bằng !important.
       · Cỡ chữ placeholder co theo bề ngang máy: câu rộng ~22,1 × cỡ chữ (đo bằng font Be Vietnam Pro), chỗ trống trong
         ô = 100vw − 112; trừ thêm ~11px vì có trình duyệt làm tròn cỡ chữ lên ⇒ 12,1px ở máy 390, 10,7px ở 360, trần 14px,
         sàn 10px. Hẹp hơn 344px thì "…".
       · Trang chủ có bản tương ứng ở home-v3.css (#hphLs.is-sheet) — sửa một bên phải sửa bên kia. */
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field.ls-hotel-city-field > label {
        position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
        overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
    }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field.ls-hotel-city-field input#lsHotelCity {
        padding: 0 12px 0 42px !important; text-overflow: ellipsis;
        background: #fff url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px 50% / 20px 20px no-repeat !important;
    }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field.ls-hotel-city-field input#lsHotelCity::placeholder {
        font-size: clamp(10px, calc((100vw - 123px) / 22.1), 14px); font-weight: 400; color: #9ca3af !important;
        text-transform: none; letter-spacing: 0;
    }

    /* 2 ô ngày dạng thẻ */
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field:has(> :is(#lsHotelCheckin, #lsHotelCheckout)) {
        position: relative;
        padding: 10px 12px 12px;
        border: 1.5px solid #e5e7eb !important;
        border-radius: 14px !important;
        background: #fff;
    }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field:has(> :is(#lsHotelCheckin, #lsHotelCheckout)) > label {
        margin: 0 0 4px;
        font-size: 13px;
        font-weight: 600 !important;
        letter-spacing: 0;
        text-transform: none;
        color: #6b7280;
    }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-field :is(input#lsHotelCheckin, input#lsHotelCheckout) {
        display: block;
        width: 100% !important;
        height: 26px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent none !important;
        box-shadow: none !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #111827 !important;
    }

    .lh-search-overlay #ls-panel-hotel .lh-date-disp {
        left: 12px;
        right: 8px;
        bottom: 12px;
        height: 26px;
        padding-left: 26px;
        background-size: 18px 18px;
        font-size: 16px;
        font-weight: 700;
        line-height: 26px;
    }

    .lh-search-overlay #ls-panel-hotel .lh-date-disp.is-ph { font-weight: 600; }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-hotel-nights {
        grid-row: 2;
        grid-column: 2;
        justify-self: end;
        align-self: start;
        z-index: 6;
        height: 24px;
        margin: 9px 10px 0 0;
        padding: 0 10px;
        font-size: 12px;
        font-weight: 700;
    }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-hotel-nights svg { width: 14px; height: 14px; }

    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-btn-search {
        width: 100% !important;
        height: 52px !important;
        margin: 4px 0 0 !important;
        padding: 0 18px !important;
        box-shadow: none !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }
}

/* Điện thoại hẹp: thẻ ngày chỉ còn ~150px (<390px) rồi ~125px (<360px) mà ngày dài nhất "CN, 25 thg 10" ở 16px/700
   cần 110px + icon 26px → hạ cỡ chữ, rồi bỏ icon lịch + thu pill số đêm cho khỏi đè nhãn "Trả phòng". */
@media (max-width: 389px) {
    .lh-search-overlay #ls-panel-hotel .lh-date-disp { padding-left: 23px; background-size: 16px 16px; font-size: 14px; }
}

@media (max-width: 359px) {
    .lh-search-overlay #ls-panel-hotel .lh-date-disp { padding-left: 0; background-image: none; }
    .lh-search-overlay #ls-panel-hotel .ls-fields > .ls-hotel-nights { min-width: 0; margin-right: 8px; padding: 0 6px; gap: 4px; }
}

/* Landing page hotel chỉ tìm khách sạn → ẩn nguyên row tabs. */
.lh-search-overlay .ls-tabs {
    display: none !important;
}

/* ── SECTION ─────────────────────────────────────── */
.lh-section {
    padding: 60px 16px;
}

.lh-section.alt {
    background: #f8fafc;
}

.lh-section h2 {
    font-size: 24px;
    font-weight: 800;
    text-align: left;
    margin: 0 0 8px;
    color: #0f172a;
}

.lh-section .sub {
    text-align: left;
    color: #64748b;
    margin: 0 0 36px;
    font-size: 15px;
}

@media (max-width:640px) {
    .lh-section h2 {
        font-size: 18px;
    }
}

/* ── DESTINATION CAROUSEL (horizontal scroll, square cards) ── */
.lh-carousel {
    position: relative;
}

.lh-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 4px 14px;
    scroll-padding-left: 4px;
}

.lh-carousel-track::-webkit-scrollbar {
    display: none;
}

.lh-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity .15s, transform .15s;
}

.lh-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    color: var(--lh-pink);
}

.lh-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.lh-arrow.prev {
    left: -14px;
}

.lh-arrow.next {
    right: -14px;
}

.lh-arrow svg {
    width: 18px;
    height: 18px;
}

@media (max-width:640px) {
    .lh-arrow {
        display: none;
    }
}

.lh-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform .2s;
}

.lh-card:hover {
    transform: translateY(-3px);
}

.lh-card:hover .img {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.lh-card .img {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: #e2e8f0 center/cover no-repeat;
    border-radius: 14px;
    transition: box-shadow .2s;
}

.lh-card .img .flag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, .95);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.lh-card .body {
    padding: 12px 4px 0;
}

.lh-card .body .name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.2;
}

.lh-card .body .ks {
    font-size: 13px;
    color: #64748b;
}

.lh-card .body .price {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.lh-card .body .price b {
    color: var(--lh-pink);
    font-weight: 800;
}

/* ── FEATURED HOTELS (pill tabs + rich cards - Mytour style) ───── */
.lh-feat-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0 4px;
    flex-wrap: wrap;
}

.lh-feat-tabs-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.lh-feat-tab {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    border-radius: 10px;
    transition: all .15s;
    font-family: inherit;
}

.lh-feat-tab:hover {
    border-color: var(--lh-pink);
    color: var(--lh-pink);
}

.lh-feat-tab.active {
    background: var(--lh-pink);
    border-color: var(--lh-pink);
    color: #fff;
}

.lh-feat-more {
    color: var(--lh-pink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.lh-feat-more:hover {
    text-decoration: underline;
}

/* Quick star-filter links (#khách_sạn_5_sao …) */
.lh-feat-quicklinks {
    font-size: 13px;
    margin: 0 4px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.lh-feat-quicklinks .ql-label {
    color: #475569;
}

.lh-feat-quicklinks a {
    color: var(--lh-pink);
    font-weight: 600;
    text-decoration: none;
}

.lh-feat-quicklinks a:hover {
    text-decoration: underline;
}

/* Slider ngang: hiện 4 card/màn hình, kéo ngang hoặc bấm mũi tên để xem thêm */
.lh-feat-slider {
    position: relative;
}

.lh-feat-grid {
    display: flex;
    gap: 18px;
    align-items: stretch;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lh-feat-grid::-webkit-scrollbar {
    display: none;
    height: 0;
}

.lh-feat-grid>.lh-feat-card {
    flex: 0 0 calc((100% - 54px) / 4);
    scroll-snap-align: start;
}

@media (max-width:1000px) {
    .lh-feat-grid>.lh-feat-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width:540px) {
    .lh-feat-grid>.lh-feat-card {
        flex-basis: 82%;
    }
}

/* Nút điều hướng slider - căn giữa theo ảnh card (ảnh cao 190px) */
.lh-feat-nav {
    position: absolute;
    top: 99px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    z-index: 5;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    transition: background .15s, color .15s, border-color .15s;
}

.lh-feat-nav:hover {
    background: var(--lh-pink);
    color: #fff;
    border-color: var(--lh-pink);
}

.lh-feat-nav.prev {
    left: -14px;
}

.lh-feat-nav.next {
    right: -14px;
}

.lh-feat-nav[hidden] {
    display: none;
}

@media (max-width:540px) {
    .lh-feat-nav {
        display: none;
    }
}

/* min-width:0 bắt buộc trên grid item để ngăn text dài đẩy cột ra ngoài container */
.lh-feat-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    background: #fff;
    /* Viền + bóng nghỉ cho card NỔI khỏi nền trắng (client 2026-08-03 "mất border"):
       #eef0f3 (RGB 238,240,243) quá nhạt, trên nền trắng gần như vô hình → trông như không
       có khung. Đậm viền 1 nấc (#e2e5ea) + thêm shadow nghỉ nhẹ như các card khác (.gt-card
       /.mda-box-item dùng ~0 2px 10px rgba(0,0,0,.05)). ⚠ overide-v2.css nằm trong BUNDLE
       style-common → sửa xong PHẢI `npm run build:css` (xem memory frontend-css-bundle-build). */
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .05);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.lh-feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.lh-feat-card .img {
    position: relative;
    width: 100%;
    height: 190px;
    background: #e2e8f0 center/cover no-repeat;
}

@media (max-width:1000px) {
    .lh-feat-card .img {
        height: 180px;
    }
}

@media (max-width:540px) {
    .lh-feat-card .img {
        height: 190px;
    }
}

/* Discount badge (TL) - chỉ render khi có giảm giá thật */
.lh-feat-card .disc {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--lh-pink);
    color: #fff;
    padding: 5px 12px 7px;
    border-radius: 10px 0 14px 0;
    font-weight: 800;
    font-size: 14px;
}

/* Wishlist heart (TR) - toggle lưu vào localStorage, thuần client */
.lh-feat-card .fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, .45);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    padding: 0;
}

.lh-feat-card .fav:hover {
    background: rgba(15, 23, 42, .65);
}

.lh-feat-card .fav svg {
    width: 18px;
    height: 18px;
}

.lh-feat-card .fav.on svg {
    fill: var(--lh-pink);
    stroke: var(--lh-pink);
}

/* body flex-column + tax-note margin-top:auto → giá luôn nằm đáy card, đều nhau giữa các card
     bất kể tên KS 1 hay 2 dòng (card stretch cùng chiều cao trong slider). */
.lh-feat-card .body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lh-feat-card .body h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lh-feat-card .stars {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.lh-feat-card .addr {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
    overflow: hidden;
}

.lh-feat-card .addr svg {
    width: 12px;
    height: 12px;
    color: var(--lh-pink);
    flex-shrink: 0;
}

.lh-feat-card .addr span {
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lh-feat-card .rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #475569;
}

.lh-feat-card .rating .chip {
    background: var(--lh-pink);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 8px;
}

.lh-feat-card .tax-note {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 2px;
    margin-top: auto;
    padding-top: 6px;
}

.lh-feat-card .price-orig {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    line-height: 1.2;
}

.lh-feat-card .price {
    font-size: 16px;
    font-weight: 800;
    color: var(--lh-pink);
}

/* Local fallback variant - khi upstream API down, hiển thị KS DLV nội bộ */
.lh-feat-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(214, 36, 140, .95);
    color: #fff;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.lh-feat-card.is-local .tax-note {
    color: var(--lh-pink);
    font-weight: 500;
}

.lh-feat-loader,
.lh-feat-empty {
    grid-column: 1/-1;
    flex: 1 0 100%;
    width: 100%;
    padding: 50px 20px;
    text-align: center;
    color: #64748b;
}

.lh-feat-loader .spin {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--lh-pink);
    border-radius: 50%;
    animation: lh-spin .8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes lh-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── ĐIỂM ĐẾN NỔI BẬT (rectangular cards with text overlay) ───── */
.lh-arch-card {
    flex: 0 0 190px;
    scroll-snap-align: start;
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    aspect-ratio: 4/5;
    background: #e2e8f0 center/cover no-repeat;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.lh-arch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .22);
}

/* Dark gradient overlay ở đáy để text trắng đọc rõ trên ảnh */
.lh-arch-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
    pointer-events: none;
}

.lh-arch-body {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
}

.lh-arch-name {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.lh-arch-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, .92);
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.lh-arch-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    background: var(--lh-pink);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

@media (max-width:700px) {
    .lh-arch-name {
        font-size: 16px;
    }

    .lh-arch-desc {
        font-size: 12px;
    }
}

/* ── USP ────────────────────────────────────────── */
.lh-usp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width:900px) {
    .lh-usp {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:540px) {
    .lh-usp {
        grid-template-columns: 1fr;
    }
}

.lh-usp-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.lh-usp-card .ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--lh-pink);
}

.lh-usp-card .ico svg {
    width: 28px;
    height: 28px;
}

.lh-usp-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.lh-usp-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ── FAQ ────────────────────────────────────────── */
.lh-faq {
    max-width: 100%;
    margin: 0;
}

.lh-faq details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 0;
}

.lh-faq details[open] {
    border-color: var(--lh-pink);
    box-shadow: 0 1px 3px rgba(214, 36, 140, .08);
}

.lh-faq summary {
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.lh-faq summary::-webkit-details-marker {
    display: none;
}

.lh-faq summary::after {
    content: '+';
    font-size: 22px;
    color: var(--lh-pink);
    font-weight: 300;
    flex-shrink: 0;
    transition: transform .2s;
}

.lh-faq details[open] summary::after {
    content: '−';
}

.lh-faq .a {
    padding: 0 18px 16px;
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
}

/* ════════════════════════════════════════════════════════════
     RESPONSIVE MOBILE - /khach-san landing page
     Target: 6.1 inch+ (≥390px) primary · fallback ≤374px · tablet ≤767px
     Desktop (≥768px): không thay đổi
     ════════════════════════════════════════════════════════════ */

@media (max-width:767px) {

    /* ── Hero: nhỏ gọn hơn ── */
    .lh-hero {
        min-height: 220px !important;
        padding: 32px 14px 90px !important;
    }

    .lh-hero h1 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }

    .lh-hero p.lh-hero-sub {
        font-size: 13px !important;
    }

    /* ── Search overlay: margin nhỏ hơn ── */
    .lh-search-overlay {
        margin-top: -50px !important;
        padding: 0 10px !important;
    }

    /* ── Section padding: từ 60px → 28px trên mobile ── */
    .lh-section {
        padding: 28px 14px !important;
    }

    .lh-section h2 {
        font-size: 17px !important;
        margin-bottom: 4px !important;
    }

    .lh-section .sub {
        font-size: 13px !important;
        margin-bottom: 20px !important;
    }

    /* ── Featured tabs: scroll ngang, không wrap ── */
    .lh-feat-tabs {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }

    .lh-feat-tabs-list {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        width: 100%;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .lh-feat-tabs-list::-webkit-scrollbar {
        display: none;
    }

    .lh-feat-tab {
        font-size: 13px !important;
        padding: 8px 14px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* ── Featured grid: 2 cột trên 390px ── */
    .lh-feat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* ── Featured card: compact ── */
    .lh-feat-card .img {
        height: auto !important;
        aspect-ratio: 4/3 !important;
    }

    .lh-feat-card .body {
        padding: 10px 10px 12px !important;
    }

    .lh-feat-card .body h4 {
        font-size: 12.5px !important;
        min-height: auto !important;
        margin-bottom: 4px !important;
    }

    .lh-feat-card .stars {
        font-size: 11px !important;
    }

    .lh-feat-card .addr {
        font-size: 11px !important;
    }

    .lh-feat-card .rating {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .lh-feat-card .rating .chip {
        font-size: 11px !important;
        padding: 2px 5px !important;
    }

    .lh-feat-card .tax-note {
        font-size: 10px !important;
    }

    .lh-feat-card .price {
        font-size: 13px !important;
    }

    /* ── Carousel cards: nhỏ hơn ── */
    .lh-card {
        flex: 0 0 160px !important;
    }

    .lh-card .body .name {
        font-size: 13px !important;
    }

    .lh-card .body .ks {
        font-size: 11px !important;
    }

    .lh-card .body .price {
        font-size: 11px !important;
    }

    /* ── Arch destination cards ── */
    .lh-arch-card {
        flex: 0 0 140px !important;
    }

    .lh-arch-name {
        font-size: 14px !important;
    }

    .lh-arch-desc {
        font-size: 11px !important;
    }

    /* ── USP: 2 cột trên mobile ── */
    .lh-usp {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .lh-usp-card {
        padding: 16px 12px !important;
    }

    .lh-usp-card .ico {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 10px !important;
    }

    .lh-usp-card .ico svg {
        width: 22px !important;
        height: 22px !important;
    }

    .lh-usp-card h3 {
        font-size: 14px !important;
    }

    .lh-usp-card p {
        font-size: 12px !important;
    }

    /* ── FAQ: mobile friendly ── */
    .lh-faq summary {
        padding: 14px 14px !important;
        font-size: 14px !important;
    }

    .lh-faq .a {
        padding: 0 14px 14px !important;
        font-size: 13px !important;
    }

    /* ── Quick links: smaller ── */
    .lh-feat-quicklinks {
        font-size: 12px !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    /* ── Breadcrumb ẩn ── */
    #vnt-navation {
        display: none;
    }
}

@media (max-width: 374px) {
    .lh-feat-grid {
        grid-template-columns: 1fr !important;
    }

    .lh-usp {
        grid-template-columns: 1fr !important;
    }

    .lh-hero h1 {
        font-size: 20px !important;
    }
}
/* ══ MOBILE (trang con): SEARCH = ICON trên header → SHEET full-width sổ xuống ═══════════
   Client 2026-08-04: thanh search full-bar cũ trong header mobile chật/lỗi → đổi thành icon
   kính lúp; bấm mở panel search trượt từ trên xuống + gợi ý. Markup: user_2019/header.php
   (.gs-mob-trigger / .gs-mob-panel / .gs-mob-backdrop); JS: global-search.js openMobPanel().
   Rule cũ (full-bar) ở header-redesign.css có nhiều !important → cần đè bằng specificity + !important.
   Chỉ ≤767px; desktop dùng thanh search .topHead-center riêng, không đụng. */
@media (max-width: 767px) {
    /* .mainHead-mob-search không còn CHIẾM HẾT header (bỏ flex:1 của header-redesign) → chỉ ôm icon */
    .mainHead-inner .mainHead-mob-search {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        position: static !important;
        display: inline-flex !important;
        align-items: center;
    }
    .mainHead-mob-search .gs-mob-trigger {
        width: 40px; height: 40px; padding: 0; border: 0; background: transparent;
        display: inline-flex; align-items: center; justify-content: center;
        color: var(--c-primary, #ed007f); cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .mainHead-mob-search .gs-mob-trigger:active { transform: scale(.92); }
    .mainHead-mob-search .gs-mob-trigger svg { width: 22px; height: 22px; }

    /* nền mờ phía sau panel */
    .gs-mob-backdrop {
        position: fixed; inset: 0; background: rgba(0, 0, 0, .45);
        z-index: 100000; opacity: 0; pointer-events: none; transition: opacity .22s ease;
    }
    .gs-mob-backdrop.is-open { opacity: 1; pointer-events: auto; }
    .gs-mob-backdrop[hidden] { display: none; }

    /* panel search sổ xuống từ trên phủ kín màn hình (full screen) */
    .gs-mob-panel {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100001;
        background: #fff; padding: 12px 12px 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
        transform: translateY(-100%); transition: transform .26s cubic-bezier(.4, 0, .2, 1);
        height: 100vh; max-height: 100vh; overflow-y: auto;
    }
    .gs-mob-panel.is-open { transform: translateY(0); }
    .gs-mob-panel[hidden] { display: none; }
    /* hàng: ô nhập (co giãn) + nút đóng X */
    .gs-mob-panel .gs-mob-panel-top { display: flex; align-items: center; gap: 8px; }
    .mainHead-mob-search .gs-mob-panel .global-search-bar {
        flex: 1 1 auto; min-width: 0; height: 44px;
        border: 1.5px solid #e0e0e0; border-radius: 10px; background: #f5f5f5;
        overflow: hidden; display: flex !important; align-items: center !important;
    }
    .gs-mob-panel .global-search-bar:focus-within { border-color: var(--c-primary, #ed007f); background: #fff; }
    .mainHead-mob-search .gs-mob-panel .global-search-bar input {
        flex: 1 1 auto; min-width: 0; height: 100%;
        font-size: 16px !important; padding: 0 12px; background: transparent; border: none !important;
    }
    .mainHead-mob-search .gs-mob-panel .gs-btn-search {
        flex: 0 0 auto; width: 46px; height: 100%; padding: 0 !important;
        background: var(--c-primary, #ed007f); color: #fff; border: 0;
        display: inline-flex; align-items: center; justify-content: center;
    }
    .gs-mob-panel .gs-close-mob {
        flex: 0 0 auto; width: 40px; height: 44px; border: 0; background: transparent;
        color: #444; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    }
    /* Nút X phải nằm TRONG hàng, bên phải ô nhập (client 03/10: "đẩy dấu X vào bên trong, đang bị lệch ra ngoài
       quá, user khó ấn thoát"). Rule của bản modal toàn màn hình cũ (phía trên file:
       `body.gs-dropdown-active .mainHead-mob-search .gs-close-mob { position:absolute; top:4px; right:0 !important… }`)
       vẫn ăn khi panel mở → X bị nhấc khỏi hàng flex, dính sát mép phải màn hình và đè lên đuôi ô nhập.
       Trả X về luồng flex: ô nhập tự co lại nhường chỗ, X cách mép màn hình 12px (padding của panel), vùng chạm 44px.
       align-self:flex-start vì ô nhập có margin-bottom:12px (rule cũ) — căn giữa sẽ lệch X xuống 6px.
       !important bắt buộc để thắng các !important của rule cũ; thêm .gs-mob-panel cho specificity cao hơn. */
    body.gs-dropdown-active .mainHead-mob-search .gs-mob-panel .gs-close-mob {
        position: static !important;
        top: auto !important;
        right: auto !important;
        align-self: flex-start;
        flex: 0 0 44px;
        width: 44px !important;
        height: 44px !important;
    }
    /* Ô nhập phải CO được: rule cũ đặt flex-shrink:0 !important cho .global-search-bar khi lớp tìm kiếm mở → ô giữ
       bề rộng theo nội dung (~320px), cả hàng tràn ra phải 12px và đẩy X sát mép màn hình. */
    body.gs-dropdown-active .mainHead-mob-search .gs-mob-panel .global-search-bar {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
    /* Chặn rule full-screen modal cũ đè lên .mainHead-mob-search khi mở panel */
    body.gs-dropdown-active .mainHead-mob-search {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        z-index: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
    }
    /* dropdown gợi ý: nằm NGAY TRONG panel (không fixed như bản cũ) */
    .mainHead-mob-search .gs-mob-panel .gs-dropdown,
    .gs-mob-panel .gs-dropdown.active {
        display: block !important;
        position: static !important; top: auto !important; left: auto !important; right: auto !important;
        width: auto !important; min-width: 0 !important; max-height: none !important;
        margin-top: 10px; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    }
    /* .gs-dropdown mặc định display:none; chỉ hiện khi .active — panel tự chứa nên bỏ nền tối riêng. */

    /* khoá cuộn nền khi panel mở */
    html.gs-mob-lock, html.gs-mob-lock body { overflow: hidden; }

    /* Mobile: Cho 3 nút (gt-count, gt-subcat-dd, gt-route-select-wrapper) trên 1 hàng không vỡ giao diện */
    .gt-filter-bar .gt-route-select-wrapper {
        display: flex !important;
        order: 3 !important;
        width: auto !important;
        flex: 1 1 0% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
    .gt-filter-bar .gt-route-select-btn {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 6px 8px !important;
        font-size: 12px !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .gt-filter-bar .gt-route-select-label {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Mobile: Nếu chỉ có class="gt-count" (không có subcat dd hay route select) thì ẩn luôn class="gt-filter-bar" */
    .gt-filter-bar:not(:has(.gt-subcat-dd)):not(:has(.gt-route-select-wrapper)) { display: none !important; }
}

/* ── STACK NÚT NỔI góc dưới-phải (desktop): go_top (trên) → Zalo → chat Subiz (dưới) ──
   Cùng mép phải 16px, cùng cỡ 52px, cách đều 12px → thẳng cột, không đè.
   Trước đây Zalo <img.zalo-chat-widget> bị đặt bottom:14/right:14/50px (inline public/index.php)
   → ĐÈ nút chat Subiz (bottom:10) và cách xa go_top (bottom:138). Nay đưa Zalo vào đúng khe
   giữa: chat[bottom 10] → Zalo[bottom 74 = 10+52+12] → go_top[bottom 138 = 74+52+12].
   (go_top giữ nguyên bottom:138/right:16/52px ở public/index.php.) Mobile KHÔNG dùng
   .zalo-chat-widget (ẩn) mà dùng #vnt-zalo-fab → rule này chỉ ảnh hưởng desktop. */
.zalo-chat-widget {
    position: fixed !important;
    right: 16px !important;
    left: auto !important;
    bottom: 74px !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 2147483640 !important;
}

/* Fix logo Zalo nằm trọn chuẩn xác bên trong khung hình tròn (.box-search-group) */
.box-search-group .zalo-chat-widget,
.box-search-group img.zalo-chat-widget {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 30px !important;
    height: 30px !important;
    transform: translate(-50%, -50%) !important;
    object-fit: contain !important;
    z-index: 1 !important;
}

@media (max-width: 767px) {
    .box-search-group .zalo-chat-widget,
    .box-search-group img.zalo-chat-widget {
        width: 22px !important;
        height: 22px !important;
    }

    /* Đảm bảo khung slideTourCat và tourCat trên Mobile tự do cuộn trượt mượt mà (Marquee Loop) */
    .tourCat, #slideTourCat {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: auto !important;
        white-space: nowrap !important;
    }
    #slideTourCat .slick-list {
        overflow: visible !important;
    }
    #slideTourCat .slick-track {
        display: flex !important;
        width: max-content !important;
        transform: none !important;
    }
    #slideTourCat .slick-slide, #slideTourCat .item {
        float: none !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }
    #slideTourCat::-webkit-scrollbar, .tourCat::-webkit-scrollbar { display: none !important; }
}

/* Tour Booking Form Phone Error Styling */
#bookPhoneError,
#bookPhoneError label,
#bookPhoneError label.error,
#booktour-form label[for="Phone"].error {
    display: block !important;
    font-size: 12px !important;
    font-weight: 400;
    color: red !important;
}

/* Fix ct2CalMonths overflow & horizontal scroll navigation buttons */
.ct2-cal-toolbar {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.ct2-cal-toolbar .ct2-cal-months {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    white-space: nowrap !important;
    padding: 6px 6px 12px 6px !important;
    gap: 8px !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.ct2-cal-toolbar .ct2-cal-months.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}
.ct2-cal-toolbar .ct2-cal-months::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/* Màu khối Lịch khởi hành (client 07/10/2026): chỉ GIÁ còn hồng, tab tháng + mũi tên cuộn tab dùng xanh dương #1b448e
   — cùng bộ màu với tour-detail-v2.css (xem chú thích "MÀU KHỐI LỊCH KHỞI HÀNH" ở đó). */
.ct2-cal-toolbar .ct2-cal-month-btn.active {
    background: #eef3fb !important;
    color: #1b448e !important;
    border-color: #1b448e !important;
    box-shadow: 0 4px 12px rgba(27, 68, 142, 0.25) !important;
}
.ct2-cal-scroll-btn {
    flex: 0 0 auto !important;
    width: 32px !important;
    height: 42px !important;
    border: 1.5px solid #e5e5e5 !important;
    background: #fff !important;
    color: #1b448e !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-bottom: 5px !important;
    align-self: center !important;
    transition: all 0.2s ease !important;
}
.ct2-cal-scroll-btn:hover {
    background: #1b448e !important;
    color: #fff !important;
    border-color: #1b448e !important;
}
.ct2-cal-scroll-btn:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #fff !important;
    color: #ccc !important;
    border-color: #e5e5e5 !important;
}
.ct2-cal-scroll-btn svg {
    width: 18px !important;
    height: 18px !important;
}

/* ==========================================================================
   Google Preferred Sources Module Styling (Matching gt-flight-cta Style)
   ========================================================================== */
.dlv-gps-container {
    width: 100%;
    margin: 28px 0;
    clear: both;
    display: block;
}

.dlv-gps-container[data-placement="homepage"] {
    margin: 14px 0 24px;
}

.google-source,
.dlv-gps-wrapper {
    width: 600px;
    max-width: 100%;
    height: 62px;
    margin: 0 auto;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border: 2px solid transparent;
    border-radius: 32px;
    box-sizing: border-box;

    text-decoration: none !important;
    cursor: pointer;

    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(
            90deg,
            #ff3b30 0%,
            #ffcc33 25%,
            #34a853 55%,
            #4285f4 80%,
            #ff3b30 100%
        ) border-box;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.google-source:hover,
.dlv-gps-wrapper:hover {
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.18);
    transform: translateY(-1px);
}

.dlv-gps-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
}

.google-logo,
.dlv-gps-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex: 0 0 38px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.dlv-gps-icon svg,
.dlv-gps-icon .google-logo,
.google-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: block;
}

.dlv-gps-text {
    flex: 0 1 auto;
    min-width: 0;
}

.google-text,
.dlv-gps-title {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: #7d8490;
    letter-spacing: 0.2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 650px) {
    .dlv-gps-container {
        margin: 14px 0;
    }
    .dlv-gps-container[data-placement="homepage"] {
        margin: 10px 0 14px;
    }
    .google-source,
    .dlv-gps-wrapper {
        width: calc(100% - 30px);
        height: 58px;
        padding: 0 14px;
        gap: 10px;
        border-radius: 32px;
    }
    .dlv-gps-header {
        gap: 10px;
    }
    .google-logo,
    .dlv-gps-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        flex: 0 0 34px;
        flex-basis: 34px;
    }
    .dlv-gps-icon svg,
    .dlv-gps-icon .google-logo {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        flex-basis: 34px;
    }
    .google-text,
    .dlv-gps-title {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .google-source,
    .dlv-gps-wrapper {
        width: calc(100% - 20px);
    }
    .google-text,
    .dlv-gps-title {
        font-size: 16px;
    }
}

.dlv-gps-container {
    position: relative;
}

.dlv-gps-tip {
    position: absolute;
    left: 50%;
    bottom: 100%;
    z-index: 9999;
    padding-bottom: 12px;
    width: 340px;
    max-width: calc(100vw - 20px);
    transform: translate(-50%, 6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    pointer-events: none;
}

.dlv-gps-container:hover .dlv-gps-tip,
.dlv-gps-container.is-open .dlv-gps-tip,
.dlv-gps-wrapper:hover ~ .dlv-gps-tip,
.google-source:hover ~ .dlv-gps-tip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.dlv-gps-tip-in {
    display: block;
    position: relative;
    background: #eaf2fd;
    color: #1f2937;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12.5px;
    line-height: 1.45;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-align: left;
    white-space: normal;
}

.dlv-gps-tip-in:before {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    margin-left: -7px;
    border: 7px solid transparent;
    border-bottom: 0;
    border-top-color: #eaf2fd;
}

.dlv-gps-open {
    color: #ed007f !important;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    margin-left: 4px;
}

.dlv-gps-open:hover {
    text-decoration: underline;
}

/* Modal Hướng dẫn Google Preferred Source */
.dlv-gps-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.dlv-gps-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
}

.dlv-gps-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.dlv-gps-modal-box {
    position: relative;
    background: #fff;
    width: 650px;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: auto;
    margin: 0;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dlv-gps-modal-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 1;
    width: 32px;
    height: 32px;
    margin: 0 0 6px 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f3f4;
    color: #555;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.dlv-gps-modal-close:hover,
.dlv-gps-modal-close:focus-visible {
    background: #ed007f;
    color: #fff;
}

.dlv-gps-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #ed007f;
    line-height: 24px;
    padding-top: 4px;
    margin: 0 0 14px;
}

.dlv-gps-modal-body {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.dlv-gps-modal-body p {
    margin: 0 0 12px;
}

body.dlv-gps-lock {
    overflow: hidden;
}

/* ── Auth Modals Modern Redesign (Login / Register / Forget / Recovery) ── */
#login-popup .modal-dialog,
#forget-popup .modal-dialog,
#recovery-popup .modal-dialog,
#register-popup .modal-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

#login-popup .modal-dialog,
#forget-popup .modal-dialog,
#recovery-popup .modal-dialog {
    width: 400px !important;
    max-width: calc(100vw - 24px) !important;
}

#register-popup .modal-dialog {
    width: 520px !important;
    max-width: calc(100vw - 20px) !important;
}

#login-popup.fade .modal-dialog,
#forget-popup.fade .modal-dialog,
#register-popup.fade .modal-dialog,
#recovery-popup.fade .modal-dialog {
    transition: none !important;
}

#login-popup .modal-content,
#forget-popup .modal-content,
#register-popup .modal-content,
#recovery-popup .modal-content {
    position: relative !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    padding: 0 !important;
}

#login-popup .modal-header,
#forget-popup .modal-header,
#register-popup .modal-header,
#recovery-popup .modal-header {
    padding: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    position: relative !important;
}

#login-popup .modal-header .close,
#forget-popup .modal-header .close,
#register-popup .modal-header .close,
#recovery-popup .modal-header .close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    float: none !important;
    z-index: 20 !important;
    opacity: 1 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    padding: 0 !important;
    border: none !important;
    cursor: pointer !important;
    outline: none !important;
    transition: background 0.2s, color 0.2s, transform 0.15s !important;
}

#login-popup .modal-header .close:hover,
#forget-popup .modal-header .close:hover,
#register-popup .modal-header .close:hover,
#recovery-popup .modal-header .close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: scale(1.05) !important;
}

#login-popup .modal-body,
#forget-popup .modal-body,
#register-popup .modal-body,
#recovery-popup .modal-body {
    padding: 0 !important;
}

.wraper-formlogin {
    width: 100% !important;
    display: block !important;
    float: none !important;
}

.header-frm-login {
    padding: 22px 24px 8px !important;
    text-align: center !important;
}

.header-frm-login h3 {
    font-size: 21px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 5px !important;
    letter-spacing: -0.3px !important;
    line-height: 1.3 !important;
}

.header-frm-login p {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.content-form-login {
    width: 100% !important;
    float: none !important;
    display: block !important;
    padding: 8px 24px 10px !important;
    box-sizing: border-box !important;
}

.row-form-login {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin-bottom: 11px !important;
    box-sizing: border-box !important;
}

.row-form-login label.label-form {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
}

.req-star {
    color: var(--c-primary, #ed007f) !important;
    font-weight: 700 !important;
    margin-left: 2px !important;
}

.label-row-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 5px !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.label-row-flex label.label-form {
    margin-bottom: 0 !important;
    float: none !important;
    display: inline-block !important;
    width: auto !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
}

.link-forget-pass {
    font-size: 12px !important;
    color: var(--c-primary, #ed007f) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    float: none !important;
    display: inline-block !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
    transition: opacity 0.2s !important;
}

.link-forget-pass:hover {
    text-decoration: underline !important;
    opacity: 0.85 !important;
}

/* Đồng bộ 100% tất cả ô INPUT và SELECT trong các popup Auth */
#login-popup .row-form-login input,
#forget-popup .row-form-login input,
#recovery-popup .row-form-login input,
#register-popup .row-form-login input,
#register-popup .row-form-login select.select-form-reg {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 38px !important;
    padding: 0 13px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    float: none !important;
    display: block !important;
    outline: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
    font-family: inherit !important;
    margin: 0 !important;
}

#login-popup .row-form-login input:hover,
#forget-popup .row-form-login input:hover,
#recovery-popup .row-form-login input:hover,
#register-popup .row-form-login input:hover,
#register-popup .row-form-login select.select-form-reg:hover {
    border-color: #94a3b8 !important;
}

#login-popup .row-form-login input:focus,
#forget-popup .row-form-login input:focus,
#recovery-popup .row-form-login input:focus,
#register-popup .row-form-login input:focus,
#register-popup .row-form-login select.select-form-reg:focus {
    border-color: var(--c-primary, #ed007f) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(237, 0, 127, 0.12) !important;
}

#login-popup .row-form-login input::placeholder,
#forget-popup .row-form-login input::placeholder,
#recovery-popup .row-form-login input::placeholder,
#register-popup .row-form-login input::placeholder {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* Custom Select Dropdown đồng bộ */
#register-popup .row-form-login select.select-form-reg {
    cursor: pointer !important;
    padding-right: 30px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-position: right 10px center !important;
    background-repeat: no-repeat !important;
    background-size: 14px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Bố cục 2 cột (split row) */
.dlv-row-split {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 11px !important;
    box-sizing: border-box !important;
}

.dlv-row-split .dlv-col-60 {
    flex: 1.35 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.dlv-row-split .dlv-col-40 {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.dlv-row-split .dlv-col-50 {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.dlv-row-split .dlv-col-60 label.label-form,
.dlv-row-split .dlv-col-40 label.label-form,
.dlv-row-split .dlv-col-50 label.label-form {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
}

/* Footer & Action Buttons */
.footer-form-login {
    width: 100% !important;
    float: none !important;
    display: block !important;
    padding: 6px 24px 22px !important;
    box-sizing: border-box !important;
}

.footer-form-login.processing--prog {
    pointer-events: none !important;
    opacity: 0.65 !important;
}

#login-popup .btn-login,
#forget-popup .btn-login,
#register-popup .btn-login,
#recovery-popup .btn-login {
    width: 100% !important;
    height: 42px !important;
    line-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: var(--c-primary, #ed007f) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(237, 0, 127, 0.28) !important;
    float: none !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

#login-popup .btn-login:hover,
#forget-popup .btn-login:hover,
#register-popup .btn-login:hover,
#recovery-popup .btn-login:hover {
    background: #d80073 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(237, 0, 127, 0.38) !important;
    text-decoration: none !important;
}

/* Switch link giữa Login & Register */
.register-switch-login {
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    margin-top: 13px !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.register-switch-login .link-switch-login {
    color: var(--c-primary, #ed007f) !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}

.register-switch-login .link-switch-login:hover {
    text-decoration: underline !important;
    opacity: 0.85 !important;
}

/* Datepicker dropdown z-index inside modals */
.datepicker.dropdown-menu {
    z-index: 1100 !important;
}

/* Responsive Mobile */
@media (max-width: 520px) {
    #register-popup .modal-dialog {
        width: calc(100vw - 16px) !important;
        margin: 0 !important;
    }
    #login-popup .modal-dialog,
    #forget-popup .modal-dialog,
    #recovery-popup .modal-dialog {
        width: calc(100vw - 20px) !important;
        margin: 0 !important;
    }
    .header-frm-login {
        padding: 18px 16px 6px !important;
    }
    .header-frm-login h3 {
        font-size: 18px !important;
    }
    .content-form-login {
        padding: 6px 16px 10px !important;
    }
    .footer-form-login {
        padding: 4px 16px 18px !important;
    }
    .dlv-row-split {
        gap: 8px !important;
        margin-bottom: 8px !important;
    }
    .row-form-login {
        margin-bottom: 8px !important;
    }
    #login-popup .row-form-login input,
    #forget-popup .row-form-login input,
    #recovery-popup .row-form-login input,
    #register-popup .row-form-login input,
    #register-popup .row-form-login select.select-form-reg {
        height: 38px !important;
        min-height: 38px !important;
        line-height: 36px !important;
        font-size: 13px !important;
        padding: 0 10px !important;
    }
    #login-popup .btn-login,
    #forget-popup .btn-login,
    #recovery-popup .btn-login,
    #register-popup .btn-login {
        height: 40px !important;
        line-height: 40px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   VÉ XE KHÁCH - BOARDING PASS & TRANG KẾT QUẢ ĐẶT VÉ (RULE 5 & RULE 11)
   ========================================================================== */
.vexe-success-theme {
  background: #f8fafc;
  min-height: 80vh;
  padding-bottom: 60px;
}

.vexe-success-container {
  max-width: 760px;
  margin: 20px auto 40px;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Status Banner / Card */
.vx-status-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.vx-status-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.vx-status-icon-wrap.is-paid {
  background: #dcfce7;
  color: #16a34a;
}

.vx-status-icon-wrap.is-wait {
  background: #ffedd5;
  color: #ea580c;
}

.vx-status-icon-wrap.is-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.vx-status-icon-wrap.is-refunded {
  background: #e0f2fe;
  color: #0284c7;
}

.vx-status-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.vx-status-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 16px;
  line-height: 1.5;
}

.vx-status-booking-box {
  display: inline-block;
  background: #fff1f2;
  border: 1px dashed #fecdd3;
  border-radius: 10px;
  padding: 10px 24px;
}

.vx-status-booking-label {
  font-size: 0.8rem;
  color: #64748b;
  display: block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.vx-status-booking-code {
  font-size: 1.4rem;
  color: var(--c-primary, #ed007f);
  letter-spacing: 1px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

/* Pending IPN alert */
.vx-pending-alert {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #1e40af;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.vx-pending-alert i {
  font-size: 1.4rem;
  color: var(--c-primary, #ed007f);
}

.vx-pending-alert .vx-pending-alert-title {
  font-size: 0.98rem;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.vx-pending-alert .vx-pending-alert-desc {
  font-size: 0.84rem;
  color: #3b82f6;
  margin: 0;
}

/* Unissued Ticket Customer Support Box */
.vx-unissued-support-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f97316;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.06);
}

.vx-unissued-support-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.vx-unissued-support-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #ffedd5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #f97316;
  margin-top: 2px;
  flex-shrink: 0;
}

.vx-unissued-support-header i {
  font-size: 1.15rem;
  color: #f97316;
}

.vx-unissued-support-title {
  font-size: 0.98rem;
  color: #9a3412;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
}

.vx-unissued-support-desc {
  font-size: 0.86rem;
  color: #c2410c;
  line-height: 1.45;
}

.vx-unissued-support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.btn-vx-recheck {
  background: var(--c-primary, #ed007f);
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 16px;
  height: 38px;
  border: none;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(237, 0, 127, 0.2);
  vertical-align: middle;
}

.btn-vx-recheck:hover {
  background: #d60072;
  color: #ffffff;
}

.btn-vx-hotline {
  border: 1px solid var(--c-primary, #ed007f);
  color: var(--c-primary, #ed007f) !important;
  background: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 16px;
  height: 38px;
  font-size: 0.88rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
  vertical-align: middle;
}

.btn-vx-hotline:hover {
  background: #fff1f2;
  color: var(--c-primary, #ed007f) !important;
}

.btn-vx-zalo {
  background: #0068ff;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 16px;
  height: 38px;
  border: none;
  font-size: 0.88rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
  vertical-align: middle;
}

.btn-vx-zalo:hover {
  background: #0056d6;
  color: #ffffff !important;
}

@media (max-width: 576px) {
  .vx-unissued-support-box {
    padding: 14px;
  }
  .vx-unissued-support-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .btn-vx-recheck,
  .btn-vx-hotline,
  .btn-vx-zalo {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Ticket Card / Boarding Pass */
.vx-ticket-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

.vx-ticket-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vx-ticket-header-title {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vx-ticket-header-title i {
  color: var(--c-primary, #ed007f);
}

.vx-ticket-provider-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vx-ticket-provider-logo {
  max-height: 28px;
  max-width: 130px;
  object-fit: contain;
  vertical-align: middle;
}

.vx-ticket-body {
  padding: 24px 28px;
}

.vx-ticket-greeting {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.vx-ticket-greeting strong {
  font-weight: 700;
}

.vx-ticket-subgreet {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.55;
}

.vx-ticket-code-highlight {
  color: var(--c-primary, #ed007f);
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
}

.vx-ticket-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 16px 0;
}

.vx-ticket-identity-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 24px;
}

.vx-ticket-qr-wrap {
  flex-shrink: 0;
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vx-ticket-qr-wrap img {
  display: block;
  width: 110px;
  height: 110px;
}

.vx-ticket-contact-info {
  flex: 1;
  min-width: 0;
}

.vx-ticket-contact-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 4px;
}

.vx-ticket-contact-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.vx-ticket-contact-row {
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 3px;
  line-height: 1.4;
}

.vx-ticket-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 20px 0 10px;
  letter-spacing: -0.2px;
}

/* Trip Box matching partner sample */
.vx-ticket-trip-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #16a34a;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.vx-ticket-trip-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 14px;
}

.vx-ticket-trip-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.vx-ticket-trip-item {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 4px;
  line-height: 1.45;
}

.vx-ticket-trip-item strong {
  color: #0f172a;
  font-weight: 700;
}

.vx-ticket-trip-item-right {
  text-align: right;
}

/* Multi-ticket & Multi-trip badges & breakdown */
.vx-trip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: var(--c-primary, #ed007f);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.vx-ticket-pax-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
}

.vx-ticket-pax-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.vx-ticket-pax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}

.vx-ticket-pax-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vx-pax-seat-badge {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: var(--c-primary, #ed007f);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.vx-pax-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vx-pax-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vx-pax-checkin {
  font-size: 0.78rem;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.vx-pax-checkin strong {
  color: #0f172a;
}

.vx-ticket-pickup-divider {
  border: none;
  border-top: 1px dashed #cbd5e1;
  margin: 14px 0;
}

.vx-ticket-pickup-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.vx-ticket-pickup-box {
  background: transparent;
  padding: 0;
  margin: 0;
}

.vx-ticket-pickup-point {
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 6px;
  line-height: 1.5;
}

.vx-ticket-pickup-point strong {
  color: #0f172a;
}

.vx-ticket-notice-time {
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 10px;
  padding-top: 6px;
}

.vx-ticket-notice-time i {
  color: var(--c-primary, #ed007f);
  margin-right: 4px;
}

/* Pricing Table */
.vx-ticket-summary-table {
  width: 100%;
  font-size: 0.95rem;
  border-collapse: collapse;
  margin-top: 16px;
}

.vx-ticket-summary-table td {
  padding: 6px 0;
}

.vx-ticket-summary-label {
  color: #475569;
  text-align: right;
  padding-right: 20px !important;
  font-weight: 600;
}

.vx-ticket-summary-val {
  text-align: right;
  font-weight: 700;
  color: #0f172a;
  min-width: 160px;
  width: auto;
}

.vx-ticket-summary-meta-row td {
  padding: 4px 0;
  font-size: 0.9rem;
}

.vx-ticket-summary-meta-row .vx-ticket-summary-label {
  font-weight: 500;
  color: #64748b;
}

/* Status Text (Semantic colors: success, warning, danger, info - Plain text, no badge) */
.vx-status-pill {
  display: inline-block;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap !important;
}
.vx-status-pill.is-paid,
.vx-status-pill.is-success,
.vx-status-pill.success {
  color: #16a34a !important;
}
.vx-status-pill.is-pending,
.vx-status-pill.is-warning,
.vx-status-pill.warning {
  color: #d97706 !important;
}
.vx-status-pill.is-cancelled,
.vx-status-pill.is-danger,
.vx-status-pill.danger {
  color: #dc2626 !important;
}
.vx-status-pill.is-refunded,
.vx-status-pill.is-info,
.vx-status-pill.info {
  color: #0284c7 !important;
}

.vx-ticket-meta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid #e2e8f0;
  width: 270px;
  max-width: 100%;
  flex-shrink: 0;
  text-align: left;
}
.vx-ticket-meta-item {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.vx-ticket-meta-item span {
  color: #64748b;
  flex-shrink: 0;
}
.vx-ticket-meta-item strong,
.vx-ticket-meta-item .vx-status-pill,
.vx-ticket-meta-item em,
.vx-ticket-meta-item .vx-ticket-code-highlight {
  color: #0f172a;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
}

.vx-ticket-total-row td {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px !important;
}

.vx-ticket-total-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.vx-ticket-total-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
}

.vx-ticket-amenities {
  text-align: right;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 6px;
  font-style: normal;
}

/* Action buttons */
.vx-actions-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.vx-btn-action {
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vx-btn-action.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.vx-btn-action.btn-secondary:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.vx-btn-action.btn-pdf {
  background: #ffffff;
  border: 1.5px solid var(--c-primary, #ed007f);
  color: var(--c-primary, #ed007f);
}

.vx-btn-action.btn-pdf:hover {
  background: #fdf2f8;
  border-color: #be185d;
  color: #be185d;
}

.vx-btn-action.btn-pdf:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.vx-btn-action.btn-primary {
  background: var(--c-primary, #ed007f);
  border: 1px solid var(--c-primary, #ed007f);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(237, 0, 127, 0.25);
}

.vx-btn-action.btn-primary:hover {
  background: #d80074;
  border-color: #d80074;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(237, 0, 127, 0.35);
}

.vx-pdf-fallback-note {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #64748b;
}

.vx-pdf-fallback-note a {
  color: var(--c-primary, #ed007f);
  text-decoration: underline;
  font-weight: 600;
}

.vx-pdf-fallback-note a:hover {
  color: #be185d;
}

/* Policy & Support Card */
.vx-policy-card {
  margin-top: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--c-primary, #ed007f);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.vx-policy-card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.vx-policy-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #fdf2f8;
  color: var(--c-primary, #ed007f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(237, 0, 127, 0.15);
}

.vx-policy-card-info {
  flex: 1;
}

.vx-policy-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.vx-policy-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
}

.vx-policy-card-action {
  flex-shrink: 0;
}

.vx-policy-hotline-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ffffff;
  border: 1.5px solid var(--c-primary, #ed007f);
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(237, 0, 127, 0.1);
}

.vx-policy-hotline-link:hover {
  background: var(--c-primary, #ed007f);
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(237, 0, 127, 0.25);
}

.vx-policy-hotline-link:hover .vx-policy-hotline-label {
  color: rgba(255, 255, 255, 0.9);
}

.vx-policy-hotline-link:hover .vx-policy-hotline-number {
  color: #ffffff;
}

.vx-policy-hotline-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.vx-policy-hotline-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

/* Responsive & Print */
@media (max-width: 768px) {
  .vx-ticket-body {
    padding: 18px 16px;
  }
  .vx-ticket-identity-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    text-align: center;
  }
  .vx-ticket-qr-wrap {
    align-self: center;
  }
  .vx-ticket-contact-info {
    text-align: center;
    width: 100%;
  }
  .vx-ticket-meta-block {
    width: 100%;
    border-left: none;
    border-top: 1px dashed #cbd5e1;
    padding-left: 0;
    padding-top: 14px;
    margin-top: 4px;
    gap: 8px;
    align-items: stretch;
  }
  .vx-ticket-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.86rem;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    box-sizing: border-box;
  }
  .vx-ticket-trip-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .vx-ticket-trip-item-right {
    text-align: left;
    border-top: 1px dashed #f1f5f9;
    padding-top: 8px;
  }
  .vx-ticket-summary-label {
    text-align: left;
  }
  .vx-ticket-amenities {
    text-align: center;
  }
  .vx-actions-bar {
    flex-direction: column;
    width: 100%;
  }
  .vx-actions-bar .vx-btn-action {
    width: 100%;
    justify-content: center;
  }
  .vx-policy-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    border-left: 4px solid var(--c-primary, #ed007f);
  }
  .vx-policy-card-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .vx-policy-card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.05rem;
  }
  .vx-policy-card-title {
    font-size: 0.95rem;
  }
  .vx-policy-card-desc {
    font-size: 0.85rem;
    line-height: 1.45;
  }
  .vx-policy-card-action {
    width: 100%;
  }
  .vx-policy-hotline-link {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1.5px solid var(--c-primary, #ed007f);
    box-shadow: 0 2px 8px rgba(237, 0, 127, 0.12);
  }
  .vx-policy-hotline-label {
    font-size: 0.84rem;
    margin-bottom: 0;
    color: #475569;
  }
  .vx-policy-hotline-number {
    font-size: 1.1rem;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  #vnt-header, #vnt-header-top, #vnt-footer, .vnt-main-top, .vx-status-card, .vx-actions-bar, .vx-pending-alert, .vx-pdf-fallback-note, .dlv-mbar {
    display: none !important;
  }
  .vx-ticket-card, .vx-ticket-card * {
    visibility: visible;
  }
  .vx-ticket-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 24px !important;
  }
}

/* ── HOLD INFO CARD (STEP 2 NOTICE) ── */
.vexe-hold-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #fff5f8 0%, #fef2f4 100%);
  border: 1px solid #fbcfe8;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(237, 0, 127, 0.06);
  transition: all 0.2s ease-in-out;
}

.vexe-hold-info-card:hover {
  box-shadow: 0 6px 18px rgba(237, 0, 127, 0.1);
  border-color: #f472b6;
}

.vexe-hold-info-card .info-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary, #ed007f) 0%, #d80070 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(237, 0, 127, 0.28);
}

.vexe-hold-info-card .info-card-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vexe-hold-info-card .info-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-primary, #ed007f);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vexe-hold-info-card .info-card-title i {
  font-size: 0.85rem;
  color: #10b981;
}

.vexe-hold-info-card .info-card-text {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.45;
}

.vexe-hold-info-card .info-card-text strong {
  color: #1f2937;
  font-weight: 700;
}

/* ── FUTA POLICY, RULES & AMENITIES CARD ── */
.vexe-info-tabs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.vexe-info-tabs-header {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
}

.vexe-info-tab-btn {
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.vexe-info-tab-btn:hover {
  color: var(--c-primary, #ed007f);
  background: rgba(237, 0, 127, 0.04);
}

.vexe-info-tab-btn.active {
  color: var(--c-primary, #ed007f);
  border-bottom-color: var(--c-primary, #ed007f);
  background: #ffffff;
}

.vexe-info-tab-body {
  padding: 20px;
}

.vexe-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.vexe-amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.vexe-amenity-item i {
  color: var(--c-primary, #ed007f);
  font-size: 1rem;
}

.vexe-rules-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vexe-rule-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
}

.vexe-rule-row i {
  color: #0284c7;
  margin-top: 3px;
  flex-shrink: 0;
}

.vexe-rule-row strong {
  color: #1e293b;
}

.vexe-policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.vexe-policy-table th,
.vexe-policy-table td {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.vexe-policy-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
}

.vexe-hold-timer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1.5px solid #fecdd3;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(237, 0, 127, 0.08);
}

.vexe-hold-timer-card .timer-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vexe-hold-timer-card .timer-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary, #ed007f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(237, 0, 127, 0.3);
}

.vexe-hold-timer-card .timer-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vexe-hold-timer-card .timer-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9f1239;
}

.vexe-hold-timer-card .timer-digits {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.vexe-hold-timer-card .btn-cancel-hold-top {
  background: #fff;
  color: #e11d48;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vexe-hold-timer-card .btn-cancel-hold-top:hover {
  background: #ffe4e6;
  color: #be123c;
  border-color: #f87171;
}

.sidebar-hold-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff1f2;
  color: var(--c-primary, #ed007f);
  border: 1px solid #fecdd3;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.btn-cancel-hold-sidebar {
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border: 1px dashed #fca5a5;
  color: #e11d48;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-cancel-hold-sidebar:hover {
  background: #fff1f2;
  border-color: #f87171;
  color: #be123c;
}

/* ── REFUND BUTTON & MODAL (API 9) ── */
.vx-actions-bar .vx-btn-action.btn-support-refund,
.vx-actions-bar .vx-btn-action.btn-refund {
  background: #fff;
  color: #b45309;
  border: 1.5px solid #fcd34d;
}

.vx-actions-bar .vx-btn-action.btn-support-refund:hover,
.vx-actions-bar .vx-btn-action.btn-refund:hover {
  background: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}

.vx-refund-policy-notice {
  margin-top: 18px;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.9rem;
  color: #92400e;
  line-height: 1.5;
  text-align: left;
}

.vx-actions-bar .vx-btn-action.btn-cancel-hold-action {
  background: #fff;
  color: #e11d48;
  border: 1.5px solid #fca5a5;
}

.vx-actions-bar .vx-btn-action.btn-cancel-hold-action:hover {
  background: #ffe4e6;
  color: #be123c;
  border-color: #f87171;
}

.vx-refund-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vx-refund-modal-card {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: vxModalZoom 0.25s ease;
}

.vx-refund-modal-card .modal-header-refund {
  padding: 18px 24px;
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vx-refund-modal-card .modal-header-refund h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vx-refund-modal-card .modal-header-refund .close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #78350f;
  cursor: pointer;
  line-height: 1;
}

.vx-refund-modal-card .modal-body-refund {
  padding: 20px 24px;
}

.vx-refund-modal-card .refund-policy-alert {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #1e3a8a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.vx-refund-modal-card .form-group-refund {
  margin-bottom: 14px;
}

.vx-refund-modal-card .form-group-refund label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.vx-refund-modal-card .form-group-refund select,
.vx-refund-modal-card .form-group-refund textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.9rem;
  color: #0f172a;
  background: #f8fafc;
  box-sizing: border-box;
}

.vx-refund-modal-card .form-group-refund select:focus,
.vx-refund-modal-card .form-group-refund textarea:focus {
  border-color: var(--c-primary, #ed007f);
  outline: none;
  background: #fff;
}

.vx-refund-modal-card .modal-footer-refund {
  padding: 14px 24px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.vx-refund-modal-card .btn-cancel-refund {
  background: #e2e8f0;
  color: #475569;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 600;
  cursor: pointer;
}

.vx-refund-modal-card .btn-confirm-refund {
  background: var(--c-primary, #ed007f);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vx-refund-modal-card .btn-confirm-refund:hover {
  opacity: 0.92;
}

@keyframes vxModalZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================================
 * VEXE TICKET LOOKUP & ORDER HISTORY SCREEN (API 11)
 * ============================================================ */
.vexe-lookup-page {
  padding: 24px 0 60px;
  background: #f8fafc;
  min-height: 70vh;
}
.vexe-lookup-page .vexe-breadcrumb {
  margin-bottom: 20px;
}
.vexe-lookup-page .vexe-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
}
.vexe-lookup-page .vexe-breadcrumb .breadcrumb li {
  display: inline;
}
.vexe-lookup-page .vexe-breadcrumb .breadcrumb li a {
  color: #64748b;
  text-decoration: none;
}
.vexe-lookup-page .vexe-breadcrumb .breadcrumb li a:hover {
  color: var(--c-primary, #ed007f);
}
.vexe-lookup-page .vexe-breadcrumb .breadcrumb li.active {
  color: #0f172a;
  font-weight: 600;
}
.vexe-lookup-page .vexe-breadcrumb .breadcrumb li + li:before {
  content: "/";
  padding: 0 8px;
  color: #cbd5e1;
}

.vexe-lookup-hero-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 28px;
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}
.vexe-lookup-hero-card .vexe-lookup-icon-badge {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(237, 0, 127, 0.2);
  color: #f472b6;
  font-size: 22px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.vexe-lookup-hero-card .vexe-lookup-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}
.vexe-lookup-hero-card .vexe-lookup-subtitle {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 0 24px 0;
  line-height: 1.5;
}
.vexe-lookup-hero-card .vexe-lookup-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}
.vexe-lookup-type-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.vexe-lookup-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.vexe-lookup-radio-label .vexe-type-radio {
  display: none;
}
.vexe-lookup-radio-label.active {
  background: #fdf2f8;
  border-color: var(--c-primary, #ed007f);
  color: var(--c-primary, #ed007f);
}
.vexe-lookup-radio-label:hover:not(.active) {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.vexe-lookup-input-row {
  display: flex;
  gap: 12px;
}
.vexe-lookup-input-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.vexe-lookup-field-icon {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}
.vexe-lookup-input {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 44px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.vexe-lookup-input:focus {
  border-color: var(--c-primary, #ed007f);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(237, 0, 127, 0.12);
}
.vexe-lookup-clear {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
}
.vexe-lookup-clear:hover { color: #e11d48; }

.vexe-lookup-submit-btn {
  height: 48px;
  padding: 0 24px;
  background: var(--c-primary, #ed007f);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.vexe-lookup-submit-btn:hover { opacity: 0.92; }

.vexe-lookup-results-wrap .vexe-lookup-summary-bar {
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: #475569;
}
.vexe-lookup-results-wrap .vexe-lookup-summary-bar strong { color: #0f172a; }

.vexe-order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vexe-order-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vexe-order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.vexe-order-header {
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.vexe-order-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #475569;
}
.vexe-order-meta .vexe-order-code strong {
  color: #0f172a;
  font-weight: 800;
}
.vexe-order-meta .vexe-order-provider {
  background: #e0e7ff;
  color: #3730a3;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
}
.vexe-order-body {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.vexe-order-main-info { flex: 1; }
.vexe-route-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}
.vexe-route-timing {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 14px;
}
.vexe-route-timing strong { color: #0f172a; }

.vexe-order-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 16px;
}
.vexe-detail-item {
  font-size: 0.88rem;
  color: #475569;
}
.vexe-detail-label { color: #64748b; margin-right: 4px; }
.vexe-detail-value { font-weight: 600; color: #1e293b; }
.vexe-seats-value { color: #d97706; font-weight: 700; }

.vexe-order-side-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 190px;
  flex-shrink: 0;
}
.vexe-price-box { text-align: right; }
.vexe-price-label {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}
.vexe-price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
}
.vexe-order-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.vexe-btn-view-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: #0284c7;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}
.vexe-btn-view-ticket:hover { background: #0369a1; }
.vexe-btn-action-refund {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid #e11d48;
  color: #e11d48;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.15s;
}
.vexe-btn-action-refund:hover { background: #fff1f2; }
.vexe-btn-action-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--c-primary, #ed007f);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.vexe-btn-action-pay:hover { opacity: 0.92; }

.vx-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.vx-status-badge.vx-status-paid { background: #dcfce7; color: #15803d; }
.vx-status-badge.vx-status-pending { background: #fef3c7; color: #b45309; }
.vx-status-badge.vx-status-cancelled { background: #f1f5f9; color: #64748b; }
.vx-status-badge.vx-status-refunded { background: #fce7f3; color: #be185d; }

.vexe-lookup-empty-card {
  background: #fff;
  border-radius: 14px;
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed #cbd5e1;
}
.vexe-lookup-empty-card .vexe-empty-icon {
  font-size: 42px;
  color: #94a3b8;
  margin-bottom: 16px;
}
.vexe-lookup-empty-card .vexe-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}
.vexe-lookup-empty-card .vexe-empty-desc {
  font-size: 0.92rem;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.vexe-lookup-empty-card .vexe-empty-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #475569;
}
.vexe-hotline-btn {
  background: var(--c-primary, #ed007f);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vexe-lookup-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.vexe-guide-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.vexe-guide-step {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  font-weight: 900;
  color: #f1f5f9;
  user-select: none;
}
.vexe-guide-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fdf2f8;
  color: var(--c-primary, #ed007f);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.vexe-guide-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}
.vexe-guide-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .vexe-lookup-page {
    padding: 16px 0 40px;
  }
  .vexe-lookup-hero-card {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .vexe-lookup-hero-card .vexe-lookup-title { font-size: 1.35rem; }
  .vexe-lookup-hero-card .vexe-lookup-form-wrap {
    padding: 16px;
  }
  .vexe-lookup-input-row { flex-direction: column; }

  .vexe-order-card .vexe-order-body {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .vexe-order-card .vexe-order-side-info {
    align-items: stretch;
    min-width: 100%;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
  }
  .vexe-order-card .vexe-price-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
  }
  .vexe-lookup-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Hold Countdown & Expiration for Bus Lookup ── */
.vx-hold-timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.vx-hold-timer-badge .vx-hold-clock {
    font-family: monospace, monospace;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #b45309;
}

.vx-hold-timer-badge.vx-hold-warning {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
    animation: vxPulse 1.5s infinite;
}

.vx-hold-timer-badge.vx-hold-warning .vx-hold-clock {
    color: #b91c1c;
}

.vx-hold-expired-label {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}

.vx-status-expired {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}

.vexe-btn-action-expired {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
    text-decoration: none;
    transition: all 0.2s ease;
}

.vexe-btn-action-expired:hover {
    background: #e5e7eb;
    color: #1f2937;
    text-decoration: none;
}

@keyframes vxPulse {
    0% { opacity: 1; }
    50% { opacity: 0.65; }
    100% { opacity: 1; }
}

/* ── Departure Date Calendar Dropdown/Modal Sizing ── */
.vexe-cal-dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    width: 275px !important;
    max-width: calc(100vw - 20px) !important;
    z-index: 99999 !important;
    display: none;
    box-sizing: border-box !important;

    @media (max-width: 767px) {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
}

.vexe-cal-dropdown.open {
    display: block !important;
}

.vexe-cal-dropdown .cal-box {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.vexe-cal-dropdown .cal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    padding: 0 2px !important;
}

.vexe-cal-dropdown .cal-month-label {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    text-transform: capitalize !important;
}

.vexe-cal-dropdown .cal-nav {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.75rem !important;
    transition: all 0.15s ease !important;
}

.vexe-cal-dropdown .cal-nav:hover {
    background: var(--c-primary, #ed007f) !important;
    color: #ffffff !important;
    border-color: var(--c-primary, #ed007f) !important;
}

.vexe-cal-dropdown .cal-dow-row {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 2px !important;
    justify-items: center !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.vexe-cal-dropdown .cal-dow-row div {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 22px !important;
    width: 32px !important;
    min-width: 0 !important;
}

.vexe-cal-dropdown .cal-days-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 2px !important;
    justify-items: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.vexe-cal-dropdown .cal-day {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    outline: none !important;
    cursor: pointer !important;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s !important;
}

.vexe-cal-dropdown .cal-day span {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    pointer-events: none !important;
}

.vexe-cal-dropdown .cal-day:hover:not(:disabled):not(.cal-day--empty):not(.cal-day--selected) {
    background: #f1f5f9 !important;
    border-radius: 50% !important;
}

.vexe-cal-dropdown .cal-day:hover:not(:disabled):not(.cal-day--empty):not(.cal-day--selected) span {
    color: var(--c-primary, #ed007f) !important;
}

.vexe-cal-dropdown .cal-day--empty {
    visibility: hidden !important;
    pointer-events: none !important;
    border: none !important;
    background: transparent !important;
}

/* Today state (ONLY when NOT selected) */
.vexe-cal-dropdown .cal-day--today:not(.cal-day--selected) {
    border: none !important;
    background: transparent !important;
    box-shadow: inset 0 0 0 1.5px var(--c-primary, #ed007f) !important;
    border-radius: 50% !important;
}

.vexe-cal-dropdown .cal-day--today:not(.cal-day--selected) span {
    color: var(--c-primary, #ed007f) !important;
    font-weight: 700 !important;
}

/* Selected state (ALWAYS white text on pink background) */
.vexe-cal-dropdown .cal-day.cal-day--selected,
.vexe-cal-dropdown .cal-day.cal-day--selected:hover,
.vexe-cal-dropdown .cal-day.cal-day--today.cal-day--selected,
.vexe-cal-dropdown .cal-day.cal-day--today.cal-day--selected:hover {
    background: var(--c-primary, #ed007f) !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 8px rgba(237, 0, 127, 0.35) !important;
}

.vexe-cal-dropdown .cal-day.cal-day--selected span,
.vexe-cal-dropdown .cal-day.cal-day--selected:hover span,
.vexe-cal-dropdown .cal-day.cal-day--today.cal-day--selected span,
.vexe-cal-dropdown .cal-day.cal-day--today.cal-day--selected:hover span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.vexe-cal-dropdown .cal-day--past {
    background: transparent !important;
    cursor: not-allowed !important;
    opacity: 0.8 !important;
    pointer-events: none !important;
}

.vexe-cal-dropdown .cal-day--past span {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* ── Mobile vmb-route styling alignment (Flight search form match) ── */
.vexe-search-mobile .vmb-route {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    border: 1px solid var(--vmb-border, #e6e8ec) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    position: relative !important;
}

.vexe-search-mobile .vmb-od {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: left !important;
    padding: 10px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    position: relative !important;
}

.vexe-search-mobile .vmb-od .vmb-od-lbl {
    font-size: 12px !important;
    color: var(--vmb-muted, #6b7280) !important;
    line-height: 1.2 !important;
}

.vexe-search-mobile .vmb-od .vmb-od-input,
.vexe-search-mobile .vmb-od:not(.is-editing) .vmb-od-input {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 2px 0 0 0 !important;
    cursor: text !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--vmb-ink, #1f2937) !important;
    line-height: 1.3 !important;
}

.vexe-search-mobile #vexeMobOriginField {
    padding-right: 26px !important;
}

.vexe-search-mobile #vexeMobOriginField .vmb-od-dd {
    left: 0 !important;
    right: auto !important;
    width: 280px !important;
    max-width: calc(100vw - 32px) !important;
}

.vexe-search-mobile #vexeMobDesField {
    padding-left: 26px !important;
}

.vexe-search-mobile #vexeMobDesField .vmb-od-dd {
    right: 0 !important;
    left: auto !important;
    width: 280px !important;
    max-width: calc(100vw - 32px) !important;
}

.vexe-search-mobile .vmb-od-to {
    align-items: flex-end !important;
    text-align: right !important;
}

.vexe-search-mobile .vmb-od-to .vmb-od-input {
    text-align: right !important;
}

.vexe-search-mobile .vmb-od-to .vmb-od-dd {
    text-align: left !important;
}

/* ════════════════════════════════════════════════════════════
   TAB "TOUR TRỌN GÓI", "VISA", "TOUR TRONG NGÀY", "TOUR TREKKING", "VÉ VUI CHƠI", "ESIM" (SEARCH BOX TRANG CHỦ) - PREMIUM STYLING
   ════════════════════════════════════════════════════════════ */
#ls-panel-tour,
#ls-panel-visa,
#ls-panel-activity,
#ls-panel-trekking,
#ls-panel-ticket,
#ls-panel-esim {
    padding: 20px 24px;
}

#ls-panel-tour .ls-fields,
#ls-panel-visa .ls-fields,
#ls-panel-activity .ls-fields,
#ls-panel-trekking .ls-fields,
#ls-panel-ticket .ls-fields,
#ls-panel-esim .ls-fields {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 0;
    width: 100%;
}

#ls-panel-tour .ls-field-dep,
#ls-panel-tour .ls-field-grow,
#ls-panel-visa .ls-field-grow,
#ls-panel-activity .ls-field-dep,
#ls-panel-activity .ls-field-grow,
#ls-panel-trekking .ls-field-dep,
#ls-panel-trekking .ls-field-grow,
#ls-panel-ticket .ls-field-dep,
#ls-panel-ticket .ls-field-grow,
#ls-panel-esim .ls-field-grow {
    flex: 1 1 0%;
    min-width: 0;
    position: relative;
}

#ls-panel-tour .ls-autocomplete-wrap,
#ls-panel-visa .ls-typeahead,
#ls-panel-activity .ls-autocomplete-wrap,
#ls-panel-trekking .ls-autocomplete-wrap,
#ls-panel-ticket .ls-autocomplete-wrap,
#ls-panel-esim .ls-typeahead {
    width: 100%;
}

#ls-panel-tour .ls-field label,
#ls-panel-visa .ls-field label,
#ls-panel-activity .ls-field label,
#ls-panel-trekking .ls-field label,
#ls-panel-ticket .ls-field label,
#ls-panel-esim .ls-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

#ls-panel-tour .ls-dep-trigger,
#ls-panel-tour input[type="text"]#lsTourDestInput,
#ls-panel-visa select#lsVisaType,
#ls-panel-visa input[type="text"]#lsVisaCountryInput,
#ls-panel-activity .ls-dep-trigger,
#ls-panel-activity input[type="text"]#lsActDestInput,
#ls-panel-trekking .ls-dep-trigger,
#ls-panel-trekking input[type="text"]#lsTrekDestInput,
#ls-panel-ticket .ls-dep-trigger,
#ls-panel-ticket input[type="text"]#lsTicketQ,
#ls-panel-esim input[type="text"]#lsEsimCountryInput {
    height: 46px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 0 14px 0 38px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#ls-panel-tour .ls-dep-trigger,
#ls-panel-activity .ls-dep-trigger,
#ls-panel-trekking .ls-dep-trigger,
#ls-panel-ticket .ls-dep-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ed007f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 11 22 2 13 21 11 13 3 11'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
    background-size: 18px 18px !important;
}

#ls-panel-tour input[type="text"]#lsTourDestInput,
#ls-panel-visa input[type="text"]#lsVisaCountryInput,
#ls-panel-activity input[type="text"]#lsActDestInput,
#ls-panel-trekking input[type="text"]#lsTrekDestInput,
#ls-panel-ticket input[type="text"]#lsTicketQ,
#ls-panel-esim input[type="text"]#lsEsimCountryInput {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ed007f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
    background-size: 18px 18px !important;
}

#ls-panel-visa select#lsVisaType {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 0 36px 0 38px !important;
    background-image:
        url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ed007f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='13' x2='15' y2='13'/%3E%3Cline x1='9' y1='17' x2='15' y2='17'/%3E%3C/svg%3E"),
        url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 12px center, right 14px center !important;
    background-size: 18px 18px, 14px 14px !important;
}

/* Base hover states for buttons */

/* Nút tìm tour / visa / vé / eSIM */
#ls-panel-tour .ls-btn-search,
#ls-panel-visa .ls-btn-search,
#ls-panel-activity .ls-btn-search,
#ls-panel-trekking .ls-btn-search,
#ls-panel-ticket .ls-btn-search,
#ls-panel-esim .ls-btn-search {
    height: 46px !important;
    min-width: 150px;
    padding: 0 24px;
    border-radius: 999px !important;
    background: var(--c-primary, #ed007f);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(237, 0, 127, 0.25);
    transition: all 0.2s ease;
}

#ls-panel-tour .ls-btn-search:hover,
#ls-panel-visa .ls-btn-search:hover,
#ls-panel-activity .ls-btn-search:hover,
#ls-panel-trekking .ls-btn-search:hover,
#ls-panel-ticket .ls-btn-search:hover,
#ls-panel-esim .ls-btn-search:hover {
    background: #d0006f;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(237, 0, 127, 0.35);
}

/* Dropdown danh sách điểm khởi hành & điểm đến */
#lsActDepDropdown,
#lsActDestDropdown,
#lsTrekDepDropdown,
#lsTrekDestDropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    z-index: 250;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

#lsActDepDropdown.active,
#lsActDestDropdown.active,
#lsTrekDepDropdown.active,
#lsTrekDestDropdown.active {
    display: block;
}

/* Tiêu đề nhóm Trong nước / Nước ngoài */
.ls-dep-group-title,
.ls-ac-group.ls-act-dest-group,
.ls-ac-group.ls-trek-dest-group {
    padding: 8px 14px;
    font-weight: 700;
    font-size: 11px;
    color: var(--c-primary, #ed007f);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #fff5f9;
    border-top: 1px solid #ffe6f2;
    border-bottom: 1px solid #ffe6f2;
    margin: 4px 0 2px 0;
}

.ls-dep-group-title:first-child,
.ls-ac-group.ls-act-dest-group:first-child,
.ls-ac-group.ls-trek-dest-group:first-child {
    border-top: none;
    margin-top: 0;
}

/* Các item chọn địa điểm */
.ls-act-dep-item,
.ls-act-dest-item,
.ls-trek-dep-item,
.ls-trek-dest-item {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ls-act-dep-item:last-child,
.ls-act-dest-item:last-child,
.ls-trek-dep-item:last-child,
.ls-trek-dest-item:last-child {
    border-bottom: none;
}

.ls-act-dep-item:hover,
.ls-act-dest-item:hover,
.ls-trek-dep-item:hover,
.ls-trek-dest-item:hover {
    background-color: #fff0f6;
    color: var(--c-primary, #ed007f);
    padding-left: 20px;
}

.ls-act-dep-item.selected,
.ls-act-dest-item.selected,
.ls-trek-dep-item.selected,
.ls-trek-dest-item.selected {
    background-color: #fde8f3;
    color: var(--c-primary, #ed007f);
    font-weight: 700;
}

.ls-act-dep-item.selected::after,
.ls-act-dest-item.selected::after,
.ls-trek-dep-item.selected::after,
.ls-trek-dest-item.selected::after {
    content: "✓";
    font-weight: 800;
    font-size: 13px;
    color: var(--c-primary, #ed007f);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    #ls-panel-visa,
    #ls-panel-activity,
    #ls-panel-trekking {
        padding: 14px;
    }

    #ls-panel-visa .ls-fields,
    #ls-panel-activity .ls-fields,
    #ls-panel-trekking .ls-fields {
        flex-direction: column;
        gap: 12px;
    }

    #ls-panel-visa .ls-field-grow,
    #ls-panel-visa .ls-btn-search,
    #ls-panel-activity .ls-field-dep,
    #ls-panel-activity .ls-field-grow,
    #ls-panel-activity .ls-btn-search,
    #ls-panel-trekking .ls-field-dep,
    #ls-panel-trekking .ls-field-grow,
    #ls-panel-trekking .ls-btn-search {
        width: 100%;
        min-width: 100%;
    }

    #ls-panel-visa .ls-btn-search,
    #ls-panel-activity .ls-btn-search,
    #ls-panel-trekking .ls-btn-search {
        margin-top: 6px;
    }
}

/* ── OPTIMIZED LS-TABS LAYOUT (Balanced & Even Spacing) ── */
.ls-tabs,
.local-search-box .ls-tabs {
    display: flex;
    align-items: center;
    gap: 6px !important;
    border-bottom: none !important;
    padding: 12px 14px 10px !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 16px 16px 0 0 !important;
    scrollbar-width: none;
}

.local-search-box .ls-tabs::-webkit-scrollbar {
    display: none;
}

.ls-tab,
.local-search-box .ls-tabs .ls-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px !important;
    flex: 0 0 auto;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2b3445 !important;
    text-decoration: none !important;
    white-space: nowrap;
    background: #ffffff !important;
    border: 1px solid #f1f2f5 !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(17, 24, 39, .05);
    transition: none !important;
    margin-bottom: 0 !important;
    outline: none !important;
    transform: none !important;
}

.local-search-box .ls-tabs .ls-tab:hover {
    color: var(--c-primary, #ed007f) !important;
    box-shadow: 0 4px 14px rgba(214, 36, 140, .16) !important;
    transform: none !important;
}

@media (min-width: 1200px) {
    .ls-tabs,
    .local-search-box .ls-tabs {
        justify-content: space-between;
    }
    .ls-tab,
    .local-search-box .ls-tabs .ls-tab {
        flex: 1 1 0;
        padding: 9px 10px !important;
        font-size: 13px !important;
        text-align: center;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ls-tabs,
    .local-search-box .ls-tabs {
        gap: 6px !important;
        padding: 10px 10px !important;
    }
    .ls-tab,
    .local-search-box .ls-tabs .ls-tab {
        padding: 8px 10px !important;
        font-size: 12.5px !important;
        gap: 5px !important;
    }
}

@media (max-width: 991px) {
    .ls-tabs,
    .local-search-box .ls-tabs {
        padding: 10px 12px !important;
        gap: 6px !important;
        overflow-x: auto;
    }
    .ls-tab,
    .local-search-box .ls-tabs .ls-tab {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
}

/* Reset min-height cho local-search-box khi mở panel Tour trọn gói, Visa, Tour trong ngày, Tour Trekking, Vé vui chơi, eSIM */
.local-search-box:has(#ls-panel-tour.active),
.local-search-box:has(#ls-panel-visa.active),
.local-search-box:has(#ls-panel-activity.active),
.local-search-box:has(#ls-panel-trekking.active),
.local-search-box:has(#ls-panel-ticket.active),
.local-search-box:has(#ls-panel-esim.active) {
    min-height: 0 !important;
}

.local-search-box .ls-panel {
    display: none;
}
.local-search-box .ls-panel.active {
    display: block !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   MODERN HIGH-END LOCAL SEARCH BOX STYLES (2026-09-16)
   ════════════════════════════════════════════════════════════════════════════ */
.local-search-box {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    border-radius: 20px !important;
}

.local-search-box .ls-field select,
.local-search-box .ls-field input:not([type="checkbox"]):not([type="radio"]),
.local-search-box .ls-field textarea,
.local-search-box .ls-field button,
.local-search-box .ls-field .ls-dep-trigger,
.local-search-box .ls-field .lsmp-trigger,
.local-search-box .ls-field .ls-budget-trigger,
.local-search-box .ls-field .ls-pax-trigger,
.local-search-box .ls-field .ls-typeahead-text,
.local-search-box .ls-field .ls-typeahead-input,
.local-search-box .ls-autocomplete-wrap input:not([type="checkbox"]):not([type="radio"]),
.local-search-box .ls-combo-type,
.local-search-box .ls-btn-search,
.local-search-box .ls-btn-flight-search,
.local-search-box .ls-dep-trigger,
.local-search-box .lsmp-trigger,
.local-search-box .ls-budget-trigger,
.local-search-box .ls-pax-trigger,
.local-search-box .ls-typeahead-text,
.local-search-box .ls-typeahead-input,
.local-search-box input:not([type="checkbox"]):not([type="radio"]),
.local-search-box select,
#ls-panel-tour input:not([type="checkbox"]):not([type="radio"]), #ls-panel-tour select, #ls-panel-tour .ls-dep-trigger, #ls-panel-tour .lsmp-trigger, #ls-panel-tour .ls-budget-trigger, #lsTourMonthTrigger,
#ls-panel-hotel input:not([type="checkbox"]):not([type="radio"]), #ls-panel-hotel select, #ls-panel-hotel .ls-pax-trigger, #ls-panel-hotel .ls-typeahead-text,
#ls-panel-flight input:not([type="checkbox"]):not([type="radio"]), #ls-panel-flight select, #ls-panel-flight .ls-typeahead-text, #ls-panel-flight .ls-pax-trigger, #ls-panel-flight .ls-class-pill, #ls-panel-flight .ls-flight-pill, #ls-panel-flight .ls-pax-pill, #lsPaxTrigger, #lsClassTrigger,
#ls-panel-combo input:not([type="checkbox"]):not([type="radio"]), #ls-panel-combo select, #ls-panel-combo .ls-typeahead-text, #ls-panel-combo .lsmp-trigger, #lsComboMonthTrigger,
#ls-panel-visa select, #ls-panel-visa input:not([type="checkbox"]):not([type="radio"]),
#ls-panel-activity input:not([type="checkbox"]):not([type="radio"]), #ls-panel-activity select, #ls-panel-activity .ls-dep-trigger, #ls-panel-activity .lsmp-trigger, #lsActMonthTrigger,
#ls-panel-trekking input:not([type="checkbox"]):not([type="radio"]), #ls-panel-trekking select, #ls-panel-trekking .ls-dep-trigger, #ls-panel-trekking .lsmp-trigger, #lsTrekMonthTrigger,
#ls-panel-ticket input:not([type="checkbox"]):not([type="radio"]), #ls-panel-ticket select, #ls-panel-ticket .ls-dep-trigger,
#ls-panel-esim input:not([type="checkbox"]):not([type="radio"]), #ls-panel-esim select,
#lsTourDestInput, #lsVisaType, #lsVisaCountryInput, #lsEsimCountryInput, #lsTicketQ, #lsTicketCityTrigger, #lsActDepTrigger, #lsActDestInput, #lsTrekDepTrigger, #lsTrekDestInput, #lsDepTrigger, #lsHotelCity, .date-custom-trigger {
    border-radius: 999px !important;
    height: 46px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.local-search-box .ls-field input[type="text"],
.local-search-box .ls-field input[type="date"],
.local-search-box .ls-field select,
.local-search-box .ls-field .ls-dep-trigger,
.local-search-box .ls-field .lsmp-trigger,
.local-search-box .ls-field .ls-budget-trigger,
.local-search-box .ls-field .ls-pax-trigger,
.local-search-box .ls-field .ls-typeahead-text,
.local-search-box .ls-field .ls-autocomplete-wrap input,
.local-search-box .ls-btn-search,
.local-search-box .ls-btn-flight-search {
    height: 46px !important;
}

/* Nút tìm kiếm hiện đại (chỉ áp dụng khi KHÔNG bị disabled) */
.local-search-box .ls-btn-search:not(:disabled):not([disabled]),
.local-search-box .ls-btn-flight-search:not(:disabled):not([disabled]) {
    background: linear-gradient(135deg, #ed007f 0%, #d6006e 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(237, 0, 127, 0.28) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.local-search-box .ls-btn-search:not(:disabled):not([disabled]):hover,
.local-search-box .ls-btn-flight-search:not(:disabled):not([disabled]):hover {
    box-shadow: 0 6px 20px rgba(237, 0, 127, 0.4) !important;
    transform: translateY(-1px) !important;
}

.local-search-box .ls-btn-search:not(:disabled):not([disabled]):active,
.local-search-box .ls-btn-flight-search:not(:disabled):not([disabled]):active {
    transform: scale(0.98) !important;
}

/* Nút bị Disabled: Xám phẳng, không hiệu ứng hover, không shadow, không di chuyển */
.local-search-box .ls-btn-search:disabled,
.local-search-box .ls-btn-search[disabled],
.local-search-box .ls-btn-flight-search:disabled,
.local-search-box .ls-btn-flight-search[disabled],
.local-search-box .ls-btn-search:disabled:hover,
.local-search-box .ls-btn-search[disabled]:hover,
.local-search-box .ls-btn-flight-search:disabled:hover,
.local-search-box .ls-btn-flight-search[disabled]:hover,
.local-search-box button:disabled:hover,
.local-search-box button[disabled]:hover {
    background: #e5e7eb !important;
    color: #9aa1ad !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    cursor: not-allowed !important;
    opacity: 0.75 !important;
}

/* Explicit Reset cho Checkbox nút "Chỉ bay thẳng" (#lsFlightDirect) */
.local-search-box input[type="checkbox"],
.local-search-box input[type="radio"],
#ls-panel-flight input[type="checkbox"],
#ls-panel-flight input[type="radio"],
#lsFlightDirect,
.ls-direct-check input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    border-radius: 4px !important;
    border: 1.5px solid #94a3b8 !important;
    accent-color: var(--c-primary, #ed007f) !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.ls-direct-check {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.local-search-box .ls-field label,
.local-search-box .ls-field label span,
.local-search-box .ls-pax-title,
.local-search-box .ls-field-title {
    font-weight: 500 !important;
}

.local-search-box .ls-tabs .ls-tab.active,
.ls-tab.active,
.local-search-box .ls-tabs .ls-tab-combo.active {
    background: linear-gradient(135deg, #ec4899 0, #ed007f 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: 0 4px 12px rgba(237, 0, 127, 0.22) !important;
    transform: none !important;
}

.ls-tab i,
.ls-tab svg,
.ls-tab path,
.ls-tab .ls-tab-combo-ico,
.local-search-box .ls-tabs .ls-tab i,
.local-search-box .ls-tabs .ls-tab svg,
.local-search-box .ls-tabs .ls-tab path,
.local-search-box .ls-tabs .ls-tab .ls-tab-combo-ico {
    transition: none !important;
}

.ls-tab.active i,
.local-search-box .ls-tabs .ls-tab.active i,
.local-search-box .ls-tabs .ls-tab.active .ls-tab-combo-ico,
.local-search-box .ls-tabs .ls-tab.active svg,
.local-search-box .ls-tabs .ls-tab.active path {
    color: #fff !important;
    stroke: #fff !important;
    fill: #fff !important;
    transition: none !important;
}

/* Đảm bảo giao diện di động (≤767px) các ô input/select/trigger luôn có viền nhẹ, nền trắng nổi pill & bo tròn 999px */
@media (max-width: 767px) {
    #ls-panel-tour input[type="text"],
    #ls-panel-tour .ls-dep-trigger,
    #ls-panel-tour .lsmp-trigger,
    #lsTourMonthTrigger,
    #ls-panel-flight .ls-typeahead-text,
    #ls-panel-flight input[type="text"],
    #ls-panel-flight .ls-flight-pill,
    #ls-panel-flight .ls-pax-pill,
    #ls-panel-flight .ls-class-pill,
    #lsPaxTrigger,
    #lsClassTrigger,
    #ls-panel-hotel input[type="text"],
    #ls-panel-hotel .ls-pax-trigger,
    #ls-panel-combo input[type="text"],
    #ls-panel-combo .ls-typeahead-text,
    #lsComboMonthTrigger,
    #ls-panel-visa select,
    #ls-panel-visa input[type="text"],
    #ls-panel-esim input[type="text"],
    #ls-panel-ticket input[type="text"],
    #ls-panel-ticket .ls-dep-trigger,
    #ls-panel-activity input[type="text"],
    #ls-panel-activity .ls-dep-trigger,
    #ls-panel-activity .lsmp-trigger,
    #lsActMonthTrigger,
    #ls-panel-trekking input[type="text"],
    #ls-panel-trekking .ls-dep-trigger,
    #ls-panel-trekking .lsmp-trigger,
    #lsTrekMonthTrigger,
    #lsTourDestInput, #lsVisaType, #lsVisaCountryInput, #lsEsimCountryInput, #lsTicketQ, #lsTicketCityTrigger, #lsActDepTrigger, #lsActDestInput, #lsTrekDepTrigger, #lsTrekDestInput, #lsDepTrigger, #lsHotelCity {
        border-radius: 999px !important;
        border: 1.5px solid #cbd5e1 !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
        height: 42px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   UNIFIED HOVER & FOCUS BORDER GLOW FOR ALL SEARCH BAR FIELDS (Placed at absolute end)
   Được đặt ở CUỐI FILE để luôn áp đảo (win cascade) mọi Selector base.
   ════════════════════════════════════════════════════════════════════════════ */
.local-search-box input:not([type="checkbox"]):not([type="radio"]):hover,
.local-search-box input:not([type="checkbox"]):not([type="radio"]):focus,
.local-search-box select:hover,
.local-search-box select:focus,
.local-search-box .ls-field input:not([type="checkbox"]):not([type="radio"]):hover,
.local-search-box .ls-field input:not([type="checkbox"]):not([type="radio"]):focus,
.local-search-box .ls-field select:hover,
.local-search-box .ls-field select:focus,
.local-search-box .ls-dep-trigger:hover,
.local-search-box .ls-dep-trigger:focus,
.local-search-box .ls-dep-trigger.active,
.local-search-box .lsmp-trigger:hover,
.local-search-box .lsmp-trigger:focus,
.local-search-box .lsmp-trigger.is-active,
.local-search-box .lsmp-trigger.active,
.local-search-box .ls-budget-trigger:hover,
.local-search-box .ls-budget-trigger:focus,
.local-search-box .ls-budget-trigger.active,
.local-search-box .ls-pax-trigger:hover,
.local-search-box .ls-pax-trigger:focus,
.local-search-box .ls-pax-trigger.active,
.local-search-box .ls-typeahead-text:hover,
.local-search-box .ls-typeahead-text:focus,
.local-search-box .ls-typeahead.open .ls-typeahead-text,
.local-search-box .ls-autocomplete-wrap input:not([type="checkbox"]):not([type="radio"]):hover,
.local-search-box .ls-autocomplete-wrap input:not([type="checkbox"]):not([type="radio"]):focus,
.local-search-box .ls-flight-pill:hover,
.local-search-box .ls-flight-pill:focus,
.local-search-box .ls-flight-pill.is-open,
.local-search-box .ls-pax-pill:hover,
.local-search-box .ls-class-pill:hover,
#ls-panel-tour input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-tour input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-tour .ls-dep-trigger:hover,
#ls-panel-tour .ls-dep-trigger.active,
#ls-panel-tour .lsmp-trigger:hover,
#ls-panel-tour .lsmp-trigger.is-active,
#lsTourMonthTrigger:hover,
#lsTourMonthTrigger:focus,
#lsTourMonthTrigger.is-active,
#lsComboMonthTrigger:hover,
#lsComboMonthTrigger:focus,
#lsComboMonthTrigger.is-active,
#ls-panel-flight input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-flight input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-flight .ls-typeahead-text:hover,
#ls-panel-flight .ls-typeahead-text:focus,
#ls-panel-flight .ls-flight-pill:hover,
#ls-panel-flight .ls-pax-pill:hover,
#ls-panel-flight .ls-class-pill:hover,
#ls-panel-flight #lsPaxTrigger:hover,
#ls-panel-flight #lsPaxTrigger.is-open,
#ls-panel-flight #lsClassTrigger:hover,
#ls-panel-flight #lsClassTrigger.is-open,
#lsPaxTrigger:hover,
#lsPaxTrigger:focus,
#lsPaxTrigger.is-open,
#lsClassTrigger:hover,
#lsClassTrigger:focus,
#lsClassTrigger.is-open,
#ls-panel-hotel input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-hotel input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-hotel .ls-pax-trigger:hover,
#ls-panel-hotel .ls-pax-trigger.active,
#ls-panel-combo input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-combo input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-combo .ls-typeahead-text:hover,
#ls-panel-combo .ls-typeahead-text:focus,
#ls-panel-combo .lsmp-trigger:hover,
#ls-panel-combo .lsmp-trigger.is-active,
#ls-panel-visa select:hover,
#ls-panel-visa select:focus,
#ls-panel-visa input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-visa input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-esim input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-esim input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-ticket input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-ticket input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-ticket .ls-dep-trigger:hover,
#ls-panel-ticket .ls-dep-trigger.active,
#ls-panel-activity input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-activity input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-activity .ls-dep-trigger:hover,
#ls-panel-activity .ls-dep-trigger.active,
#ls-panel-trekking input:not([type="checkbox"]):not([type="radio"]):hover,
#ls-panel-trekking input:not([type="checkbox"]):not([type="radio"]):focus,
#ls-panel-trekking .ls-dep-trigger:hover,
#ls-panel-trekking .ls-dep-trigger.active,
#ls-panel-tour input[type="text"]#lsTourDestInput:hover,
#ls-panel-tour input[type="text"]#lsTourDestInput:focus,
#ls-panel-tour .ls-dep-trigger#lsDepTrigger:hover,
#ls-panel-tour .ls-dep-trigger#lsDepTrigger.active,
#ls-panel-visa select#lsVisaType:hover,
#ls-panel-visa select#lsVisaType:focus,
#ls-panel-visa input[type="text"]#lsVisaCountryInput:hover,
#ls-panel-visa input[type="text"]#lsVisaCountryInput:focus,
#ls-panel-esim input[type="text"]#lsEsimCountryInput:hover,
#ls-panel-esim input[type="text"]#lsEsimCountryInput:focus,
#ls-panel-ticket input[type="text"]#lsTicketQ:hover,
#ls-panel-ticket input[type="text"]#lsTicketQ:focus,
#ls-panel-ticket .ls-dep-trigger#lsTicketCityTrigger:hover,
#ls-panel-ticket .ls-dep-trigger#lsTicketCityTrigger.active,
#ls-panel-activity .ls-dep-trigger#lsActDepTrigger:hover,
#ls-panel-activity input[type="text"]#lsActDestInput:hover,
#ls-panel-trekking .ls-dep-trigger#lsTrekDepTrigger:hover,
#ls-panel-trekking input[type="text"]#lsTrekDestInput:hover,
#ls-panel-hotel input[type="text"]#lsHotelCity:hover,
#ls-panel-hotel input[type="text"]#lsHotelCheckin:hover,
#ls-panel-hotel input[type="text"]#lsHotelCheckout:hover,
#ls-panel-hotel .ls-pax-trigger#lsHotelGuestTrigger:hover,
#lsTourDestInput:hover, #lsTourDestInput:focus,
#lsVisaType:hover, #lsVisaType:focus,
#lsVisaCountryInput:hover, #lsVisaCountryInput:focus,
#lsEsimCountryInput:hover, #lsEsimCountryInput:focus,
#lsTicketQ:hover, #lsTicketQ:focus,
#lsTicketCityTrigger:hover, #lsTicketCityTrigger:focus,
#lsActDepTrigger:hover, #lsActDepTrigger:focus,
#lsActDestInput:hover, #lsActDestInput:focus,
#lsTrekDepTrigger:hover, #lsTrekDestInput:focus,
#lsTrekDestInput:hover, #lsTrekDestInput:focus,
#lsDepTrigger:hover, #lsDepTrigger:focus,
#lsHotelCity:hover, #lsHotelCity:focus,
#lsHotelCheckin:hover, #lsHotelCheckin:focus,
#lsHotelCheckout:hover, #lsHotelCheckout:focus,
#lsFlightStart:hover, #lsFlightStart:focus,
#lsFlightEnd:hover, #lsFlightEnd:focus,
#lsComboStart:hover, #lsComboStart:focus,
#lsComboEnd:hover, #lsComboEnd:focus,
#lsComboHotelLoc:hover, #lsComboHotelLoc:focus,
#lsComboCheckin:hover, #lsComboCheckin:focus,
#lsComboCheckout:hover, #lsComboCheckout:focus,
#lsVisaTypeTrigger:hover, #lsVisaTypeTrigger.active {
    border-color: var(--c-primary, #ed007f) !important;
    box-shadow: 0 0 0 3px rgba(237, 0, 127, 0.12) !important;
    outline: none !important;
}

/* ── Chuẩn hóa ô "Loại visa" dropdown popover đồng bộ 100% với Điểm khởi hành ── */
#ls-panel-visa .ls-dep-trigger#lsVisaTypeTrigger,
#lsVisaTypeTrigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 46px !important;
    border-radius: 999px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    padding: 0 16px 0 38px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    outline: none !important;
    box-sizing: border-box !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ed007f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='13' x2='15' y2='13'/%3E%3Cline x1='9' y1='17' x2='15' y2='17'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
    background-size: 18px 18px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 767px) {
    #ls-panel-visa .ls-dep-trigger#lsVisaTypeTrigger,
    #lsVisaTypeTrigger {
        height: 42px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

#ls-panel-visa .ls-dep-trigger#lsVisaTypeTrigger:hover,
#ls-panel-visa .ls-dep-trigger#lsVisaTypeTrigger.active,
#lsVisaTypeTrigger:hover,
#lsVisaTypeTrigger.active {
    border-color: var(--c-primary, #ed007f) !important;
    box-shadow: 0 0 0 3px rgba(237, 0, 127, 0.12) !important;
    outline: none !important;
}

/* Trạng thái mặc định MỜ (#999, font 400) & ĐÃ CHỌN ĐẬM (#1e293b, font 600) giống Điểm khởi hành */
#lsVisaTypeTrigger #lsVisaTypeLabel.ls-placeholder,
.ls-dep-trigger span.ls-placeholder {
    color: #999999 !important;
    font-weight: 400 !important;
}

#lsVisaTypeTrigger #lsVisaTypeLabel:not(.ls-placeholder),
.ls-dep-trigger span:not(.ls-placeholder) {
    color: #1e293b !important;
    font-weight: 600 !important;
}

/* ── Mờ chữ placeholder "Bất kỳ tháng nào" của Tháng khởi hành khi chưa chọn ── */
.local-search-box .lsmp-trigger:not(.is-set) .lsmp-val,
.local-search-box .lsmp-trigger .lsmp-val.ls-placeholder,
.lsmp-trigger:not(.is-set) .lsmp-val,
.lsmp-val.ls-placeholder {
    color: #999 !important;
    font-weight: 400 !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   ISOLATED RESTORATION FOR POPUP CHỌN THÁNG (.lsmp-panel & .lsmp-sheet)
   Cách ly và khôi phục 100% giao diện popup chọn tháng về chuẩn ban đầu.
   ════════════════════════════════════════════════════════════════════════════ */
.local-search-box .lsmp-panel,
.lsmp-panel {
    height: auto !important;
    max-height: 82vh !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

@media (min-width: 601px) {
    .local-search-box .lsmp-panel,
    .lsmp-panel {
        position: static !important;
        width: auto !important;
        bottom: auto !important;
        margin-top: 6px !important;
        max-height: none !important;
        overflow: visible !important;
        border: 1px solid #eee !important;
        border-radius: 14px !important;
        padding: 0 16px 16px !important;
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14) !important;
    }
}

@media (max-width: 600px) {
    .local-search-box .lsmp-panel,
    .lsmp-panel {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 18px 18px 0 0 !important;
        border: none !important;
        padding: 0 16px calc(18px + env(safe-area-inset-bottom)) !important;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18) !important;
    }
}

.local-search-box .lsmp-panel button,
.lsmp-panel button {
    box-shadow: none !important;
    outline: none !important;
}

/* Nút "Bất kỳ tháng nào" trong popup bar - KHÔNG viền, KHÔNG nền */
.local-search-box .lsmp-panel .lsmp-any,
.lsmp-panel .lsmp-any,
.local-search-box .lsmp-panel .lsmp-any:hover,
.local-search-box .lsmp-panel .lsmp-any:focus,
.local-search-box .lsmp-panel .lsmp-any.is-active,
.lsmp-panel .lsmp-any.is-active {
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #555555 !important;
}

.local-search-box .lsmp-panel .lsmp-any.is-active,
.lsmp-panel .lsmp-any.is-active {
    color: var(--c-primary, #ed007f) !important;
}

/* Nút Đóng [X] trong popup */
.local-search-box .lsmp-panel .lsmp-close,
.lsmp-panel .lsmp-close,
.local-search-box .lsmp-panel .lsmp-close:hover,
.local-search-box .lsmp-panel .lsmp-close:focus {
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    border: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 4px !important;
    box-shadow: none !important;
    outline: none !important;
    color: #666666 !important;
}

/* Nút Chuyển năm < và > trong popup */
.local-search-box .lsmp-panel .lsmp-ybtn,
.lsmp-panel .lsmp-ybtn {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid #eadfe6 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--c-primary, #ed007f) !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ô Tháng trong lưới Grid chọn tháng */
.local-search-box .lsmp-panel .lsmp-m,
.lsmp-panel .lsmp-m {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    border: 1.5px solid #eeeeee !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.local-search-box .lsmp-panel .lsmp-m:hover {
    border-color: var(--c-primary, #ed007f) !important;
}

.local-search-box .lsmp-panel .lsmp-m.is-active,
.lsmp-panel .lsmp-m.is-active {
    border-color: var(--c-primary, #ed007f) !important;
    background: #fdf0f7 !important;
    background-color: #fdf0f7 !important;
    color: var(--c-primary, #ed007f) !important;
    box-shadow: none !important;
}

/* ── Nâng cấp giao diện Header Menu Mobile Drawer (.mmMember) ── */
@media (max-width: 767px) {
    .menu_mobile .mmContent .mmMember {
        background-image: linear-gradient(90deg, var(--c-primary, #ed007f) 0, var(--c-primary-hover, #b81d77) 100%) !important;
        border-bottom: none !important;
    }
    .menu_mobile .mmContent .mmMember .listNot {
        height: 48px !important;
        padding: 0 54px 0 14px !important; /* Chừa 54px bên phải để không bị nút [X] cố định góc trên-phải đè lên */
        display: flex !important;
        align-items: center !important;
        background: transparent !important;
    }
    .mm-member-info,
    .mm-member-actions {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        color: #ffffff;
        font-size: 13.5px;
        font-weight: 600;
    }
    .mm-user-welcome,
    .mm-auth-links {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px;
        color: #ffffff !important;
        text-decoration: none !important;
        min-width: 0;
    }
    .mm-user-welcome span {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: middle;
    }
    .mm-user-welcome i,
    .mm-auth-links i {
        font-size: 15px;
        flex-shrink: 0;
    }
    .mm-auth-btn {
        color: #ffffff !important;
        font-weight: 600;
        text-decoration: none !important;
        white-space: nowrap;
    }
    .mm-auth-btn:hover,
    .mm-auth-btn:active {
        text-decoration: underline !important;
    }
    .mm-divider {
        color: rgba(255, 255, 255, 0.6);
        margin: 0 3px;
    }
    .mm-user-hotline {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.22);
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none !important;
        white-space: nowrap;
        flex-shrink: 0;
        backdrop-filter: blur(4px);
        transition: background 0.15s ease;
    }
    .mm-user-hotline:active {
        background: rgba(255, 255, 255, 0.35);
    }
    .mm-user-hotline i {
        font-size: 11px;
    }
}

/* ==========================================================================
   VE-XE UNPAID PAYMENT BOX (KHUNG THANH TOÁN NGAY & ĐẾM NGƯỢC GIỮ CHỖ)
   ========================================================================== */
.vx-unpaid-payment-box {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid var(--c-primary, #ed007f);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(237, 0, 127, 0.12);
}

.vx-unpaid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.vx-unpaid-badge {
  background: #fff1f2;
  color: #e11d48;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #fecdd3;
}

.vx-unpaid-badge.is-expired {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}

.vx-unpaid-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 6px 16px;
  border-radius: 20px;
  color: #c2410c;
  font-size: 0.9rem;
}

.vx-unpaid-timer .timer-label {
  font-weight: 600;
}

.vx-unpaid-timer .timer-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ea580c;
}

.vx-unpaid-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.vx-unpaid-price-wrap {
  font-size: 1rem;
  color: #334155;
}

.vx-unpaid-price-wrap .price-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
  margin-left: 8px;
}

.vx-unpaid-action-wrap {
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
}

.btn-vx-pay-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  background: var(--c-primary, #ed007f);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 24px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(237, 0, 127, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-vx-pay-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(237, 0, 127, 0.35);
  background: #d0006f;
  color: #ffffff !important;
}

.vx-unpaid-notes {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Tóm tắt thông tin chuyến xe chưa thanh toán */
.vx-unpaid-trip-summary {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  margin: 16px 0;
}

.vx-unpaid-trip-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.88rem;
}

.vx-unpaid-trip-summary .summary-row:last-child {
  border-bottom: none;
}

.vx-unpaid-trip-summary .s-label {
  color: #64748b;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vx-unpaid-trip-summary .s-val {
  color: #0f172a;
  font-weight: 600;
}

.vx-unpaid-trip-summary .highlight-seat {
  color: var(--c-primary, #ed007f);
  font-size: 0.95rem;
}

/* ── OPERATOR META INLINE (CARD HEADER REPLACER) ── */
.operator-meta-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
  flex-wrap: wrap;
}

.operator-meta-inline .operator-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.operator-meta-inline .operator-avatar i {
  font-size: 1.25rem;
  color: var(--c-primary, #ed007f);
}

.operator-meta-inline .operator-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.operator-meta-inline .operator-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.operator-meta-inline .badge-car-type {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.operator-meta-inline .seats-status-wrap {
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .operator-meta-inline {
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .operator-meta-inline .operator-avatar {
    width: 36px;
    height: 36px;
  }
  .operator-meta-inline .operator-name {
    font-size: 0.95rem;
  }
  .operator-meta-inline .seats-status-wrap {
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 2px;
  }
}

/* ── VEXE INFO TABS CARD & RESPONSIVE UNIFORM CARD STYLING ── */
.vexe-info-tabs-card.vexe-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.vexe-info-tabs-card.vexe-card-box:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.vexe-info-tabs-header {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vexe-info-tab-btn {
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.vexe-info-tab-btn:hover {
  color: var(--c-primary, #ed007f);
  background: rgba(237, 0, 127, 0.04);
}

.vexe-info-tab-btn.active {
  color: var(--c-primary, #ed007f);
  border-bottom-color: var(--c-primary, #ed007f);
  background: #ffffff;
}

.vexe-info-tab-body {
  padding: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .vexe-info-tabs-card.vexe-card-box {
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .vexe-info-tab-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
  .vexe-info-tab-body {
    padding: 14px;
  }
  .vexe-amenities-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    gap: 8px !important;
  }
  .vexe-amenity-item {
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
  }
  .vexe-policy-table {
    font-size: 0.78rem !important;
  }
  .vexe-policy-table th, .vexe-policy-table td {
    padding: 6px 8px !important;
  }
}

/* ── STANDALONE VOUCHER BOX STYLING FOR DESKTOP & MOBILE ── */
.vexe-side-voucher-box {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  margin-bottom: 18px;
}

.vexe-side-voucher-box .vexe-side-voucher-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.vexe-side-voucher-box .vexe-side-voucher-title i {
  color: var(--c-primary, #ed007f);
  font-size: 0.95rem;
}

.vexe-side-voucher-box .vexe-side-voucher-input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.vexe-side-voucher-box .vexe-side-voucher-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.vexe-side-voucher-box .vexe-side-voucher-input:focus {
  border-color: var(--c-primary, #ed007f);
  box-shadow: 0 0 0 3px rgba(237, 0, 127, 0.12);
}

.vexe-side-voucher-box .vexe-side-voucher-btn {
  padding: 0 16px;
  background: var(--c-primary, #ed007f);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s, transform 0.1s;
}

.vexe-side-voucher-box .vexe-side-voucher-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.vexe-side-voucher-box .vexe-side-voucher-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vexe-side-voucher-box .vexe-side-voucher-links {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.vexe-side-voucher-box .vexe-side-voucher-link {
  font-size: 0.8rem;
  color: var(--c-primary, #ed007f);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vexe-side-voucher-box .vexe-voucher-applied-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 10px 14px;
  border-radius: 10px;
}

.vexe-side-voucher-box .vexe-voucher-applied-chip .chip-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vexe-side-voucher-box .vexe-voucher-applied-chip .chip-left i {
  color: #059669;
}

.vexe-side-voucher-box .vexe-voucher-applied-chip .chip-code {
  font-weight: 700;
  color: #065f46;
  font-size: 0.88rem;
}

.vexe-side-voucher-box .vexe-voucher-applied-chip .chip-amount {
  font-size: 0.82rem;
  color: #047857;
  font-weight: 600;
}

.vexe-side-voucher-box .vexe-voucher-applied-chip .chip-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
}

/* ── VEXE CARD FOOTER PERKS & BADGE SEATS STYLING ── */
.vexe-card-box .card-footer-bar .footer-perks {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  transition: all 0.2s ease !important;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats b {
  font-weight: 800 !important;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats--urgent {
  background: #fff1f2 !important;
  color: #be123c !important;
  border: 1px solid #fecdd3 !important;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats--urgent i {
  color: #e11d48 !important;
  font-size: 0.85rem !important;
  animation: pulse 1.5s infinite;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats--avail {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats--avail i {
  color: #10b981 !important;
  font-size: 0.85rem !important;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats--soldout {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: 1px solid #cbd5e1 !important;
}

.vexe-card-box .card-footer-bar .footer-perks .badge-seats--soldout i {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
}

.vexe-card-box .card-body-grid .pricing-col .btn-select-trip:disabled,
.vexe-card-box .card-body-grid .pricing-col .btn-select-trip.btn-select-trip--disabled {
  background: #cbd5e1 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 0.75 !important;
}

@media (max-width: 640px) {
  .vexe-card-box .card-footer-bar .footer-perks {
    display: inline-flex !important;
  }
  .vexe-card-box .card-footer-bar .footer-perks .badge-seats {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
    gap: 4px !important;
  }
}

/* ── VEXE TIMELINE TRACK WRAP ENHANCEMENTS (LIKE FUTABUS) ── */
.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap {
  flex: 1;
  min-width: 130px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 6px;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-meta-top {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-duration-pill,
.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-car-type-pill {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-car-type-pill {
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: var(--c-primary, #ed007f) !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-duration-pill i {
  color: #64748b !important;
  font-size: 0.72rem !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-car-type-pill i {
  color: var(--c-primary, #ed007f) !important;
  font-size: 0.72rem !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .timeline-line {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  margin: 2px 0 !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .timeline-line .line-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .timeline-line .line-dot.dot-start {
  border: 2px solid var(--c-primary, #ed007f) !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .timeline-line .line-dot.dot-end {
  border: 2px solid #0f172a !important;
  background: #0f172a !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .timeline-line .line-bus-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1.5px solid var(--c-primary, #ed007f) !important;
  color: var(--c-primary, #ed007f) !important;
  font-size: 0.65rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 4px rgba(237,0,127,0.15) !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-meta-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-distance {
  font-size: 0.73rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap {
    min-width: 80px !important;
    padding: 0 2px !important;
  }
  .vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-car-type-pill {
    display: none !important;
  }
  .vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-duration-pill {
    font-size: 0.66rem !important;
    padding: 1px 4px !important;
  }
  .vexe-card-box .card-body-grid .journey-col .journey-timeline .timeline-track-wrap .track-distance {
    font-size: 0.66rem !important;
    display: inline-block !important;
  }
}

/* ── VEXE DESTINATION DOT & BADGE BRAND COLOR OVERRIDE ── */
.boarding-points-timeline .icon-destination {
  color: var(--c-primary, #ed007f) !important;
  filter: drop-shadow(0 2px 4px rgba(237, 0, 127, 0.3)) !important;
}

.boarding-points-timeline .badge-destination {
  background: #fff1f2 !important;
  color: var(--c-primary, #ed007f) !important;
  border: 1px solid #fecdd3 !important;
}

/* ── VEXE ROUND TRIP POINTS & DROPDOWN STYLING ── */
.roundtrip-points-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: visible;
  position: relative;
  z-index: 10;
  margin-top: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.trip-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  cursor: pointer;
  user-select: none;
}

.trip-block-header:hover {
  background: #f1f5f9;
}

.trip-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trip-title-wrap i {
  font-size: 1.1rem;
}

.trip-title-wrap .text-origin {
  color: var(--c-primary, #ed007f);
}

.trip-title-wrap .text-destination {
  color: #059669;
}

.trip-title-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

.btn-toggle-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.btn-toggle-block i {
  transition: transform 0.2s ease;
}

.btn-toggle-block i.is-open {
  transform: rotate(180deg);
}

.roundtrip-points-block .points-columns-grid {
  padding: 16px;
}

.point-select-wrapper {
  margin-top: 12px;
}

.point-select-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  display: block;
}

.point-select-dropdown {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.point-select-dropdown:focus {
  border-color: var(--c-primary, #ed007f);
  box-shadow: 0 0 0 3px rgba(237, 0, 127, 0.12);
}

.station-pickup-notice {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 10px 14px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  font-size: 0.83rem;
  color: #9f1239;
  line-height: 1.5;
}

.station-pickup-notice i {
  margin-right: 6px;
  color: var(--c-primary, #ed007f);
}

/* ── CUSTOM RICH POINT SELECT DROPDOWN STYLING ── */
.points-columns-grid .points-column {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.custom-point-select {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  z-index: 50;
  min-width: 0;
}

.custom-point-select.is-open {
  z-index: 1000;
}

.custom-point-select .select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.custom-point-select .select-trigger:hover {
  border-color: var(--c-primary, #ed007f);
}

.custom-point-select .trigger-content {
  flex: 1;
  min-width: 0;
  padding-right: 10px;
  overflow: hidden;
}

.custom-point-select .trigger-title-row {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: flex;
  justify-content: space-between;
}

.custom-point-select .trigger-title-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-point-select .trigger-placeholder {
  flex: 1;
  min-width: 0;
  padding-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  color: #64748b;
}

.custom-point-select .trigger-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.81rem;
  color: #475569;
  margin-top: 4px;
  min-width: 0;
  width: 100%;
}

.custom-point-select .trigger-address-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-point-select .trigger-arrow {
  color: #64748b;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.custom-point-select .trigger-arrow.is-open {
  transform: rotate(180deg);
}

.custom-point-select .select-options-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 99999;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.22), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  padding: 4px 0;
}

.custom-point-select .select-search-box {
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.custom-point-select .select-search-box input {
  width: 100%;
  padding: 6px 10px 6px 30px;
  font-size: 0.82rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.custom-point-select .select-search-box input:focus {
  border-color: var(--c-primary, #ed007f);
  box-shadow: 0 0 0 2px rgba(237, 0, 127, 0.12);
}

.custom-point-select .select-search-box .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.8rem;
  pointer-events: none;
}

.custom-point-select .select-option-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.custom-point-select .select-option-item:last-child {
  border-bottom: none;
}

.custom-point-select .select-option-item:hover {
  background-color: #fff1f2;
}

.custom-point-select .select-option-item.is-selected {
  background-color: #fff1f2;
  border-left: 3px solid var(--c-primary, #ed007f);
}

.custom-point-select .select-option-item.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #f8fafc;
}

.custom-point-select .option-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  min-width: 0;
}

.custom-point-select .option-header-line strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-point-select .option-check-icon {
  color: var(--c-primary, #ed007f);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.custom-point-select .option-address-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.81rem;
  color: #475569;
  min-width: 0;
}

.custom-point-select .addr-text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.link-view-map {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  padding: 2px 8px;
  background: #eff6ff;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.link-view-map:hover {
  color: #1d4ed8;
  background: #dbeafe;
  text-decoration: underline;
}

/* ── VEXERE STYLE POINT DISTANCE & SORT TOOLBAR ── */
.custom-point-select .point-distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  white-space: nowrap;
  vertical-align: middle;
}

.custom-point-select .point-sort-toolbar {
  padding: 8px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.custom-point-select .sort-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.custom-point-select .sort-title {
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}

.custom-point-select .btn-user-location {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.custom-point-select .btn-user-location:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.custom-point-select .sort-chips-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-point-select .sort-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.77rem;
  padding: 3px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.custom-point-select .sort-chip:hover {
  border-color: var(--c-primary, #ed007f);
  color: var(--c-primary, #ed007f);
}

.custom-point-select .sort-chip.is-active {
  background: #fff1f2;
  border-color: var(--c-primary, #ed007f);
  color: var(--c-primary, #ed007f);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(237, 0, 127, 0.15);
}

.custom-point-select .location-error-msg {
  font-size: 0.74rem;
  color: #dc2626;
  margin-top: 4px;
}

.custom-point-select .option-distance-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}


/* ── CHECKOUT TRIP TYPE TOGGLE & RETURN DATE STYLING ── */
.checkout-triptype-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.triptype-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 0.81rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.triptype-pill-btn:hover {
  color: #0f172a;
}

.triptype-pill-btn.is-active {
  background: var(--c-primary, #ed007f);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(237, 0, 127, 0.25);
}

.badge-return-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

.checkout-return-date-picker {
  border: 1px solid #6ee7b7;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #064e3b;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

/* ── FUTA ROUND TRIP SEARCH TABS STYLING (SINGLE LINE & RESPONSIVE) ── */
.vexe-search-tabs-container {
  margin-bottom: 20px;
}

.vexe-search-tabs-bar {
  display: flex;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 5px;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.vexe-search-tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vexe-search-tab-item:hover {
  background: #f8fafc;
}

.vexe-search-tab-item.is-active {
  background: #fff1f2;
  border-color: var(--c-primary, #ed007f);
  box-shadow: 0 2px 8px rgba(237, 0, 127, 0.12);
}

.vexe-search-tab-item .tab-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
}

.vexe-search-tab-item.is-active .tab-label {
  color: var(--c-primary, #ed007f);
}

.vexe-search-tab-item .tab-date-str {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.vexe-search-tab-item.is-active .tab-date-str {
  color: var(--c-primary, #ed007f);
}

@media (max-width: 576px) {
  .vexe-search-tabs-bar {
    padding: 4px;
    gap: 4px;
  }
  .vexe-search-tab-item {
    padding: 8px 10px;
    gap: 4px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .vexe-search-tab-item .tab-label {
    font-size: 0.8rem;
  }
  .vexe-search-tab-item .tab-date-str {
    font-size: 0.82rem;
  }
}

/* ── SELECTED TRIPS SUMMARY CARD IN SIDEBAR ── */
.selected-trips-box {
  background: #ffffff;
  border: 1.5px solid #fecdd3;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(237, 0, 127, 0.06);
}

.selected-trips-header {
  padding-bottom: 10px;
  border-bottom: 1px dashed #fecdd3;
  margin-bottom: 12px;
}

.selected-trips-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.selected-trip-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.selected-trip-card.is-active {
  border-color: var(--c-primary, #ed007f);
  background: #fff1f2;
}

.selected-trip-card.has-route {
  border-color: #f43f5e;
  background: #ffffff;
}

.trip-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.badge-trip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-trip.outbound {
  background: #fce7f3;
  color: var(--c-primary, #ed007f);
}

.badge-trip.return {
  background: #d1fae5;
  color: #059669;
}

.trip-card-head .trip-date {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.trip-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trip-time-route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #0f172a;
}

.trip-time-route strong {
  font-size: 0.92rem;
  color: var(--c-primary, #ed007f);
}

.trip-time-route .route-stations {
  font-size: 0.78rem;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.trip-card-foot .trip-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
}

.btn-remove-trip {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
}

.btn-remove-trip:hover {
  text-decoration: underline;
}

.trip-card-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  cursor: pointer;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
}

.trip-card-empty:hover {
  color: var(--c-primary, #ed007f);
  border-color: var(--c-primary, #ed007f);
}

.selected-trips-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px dashed #fecdd3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.total-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #475569;
}

.total-summary-row .total-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
}

.btn-proceed-checkout {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: var(--c-primary, #ed007f);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(237, 0, 127, 0.25);
}

.btn-proceed-checkout:hover {
  background: #d60072;
  box-shadow: 0 6px 16px rgba(237, 0, 127, 0.35);
}

.checkout-return-date-picker:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* ── CHECKOUT SEATMAP ROUND TRIP TABS ── */
.seatmap-roundtrip-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
}

.seatmap-leg-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.seatmap-leg-tab:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  transform: translateY(-1px);
}

.seatmap-leg-tab.is-active {
  background: #fff8fc !important;
  border-color: var(--c-primary, #ed007f) !important;
  box-shadow: 0 4px 12px rgba(237, 0, 127, 0.12) !important;
}

.leg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  line-height: 1.2;
}

.leg-badge.outbound {
  background: #fce7f3;
  color: var(--c-primary, #ed007f);
}

.leg-badge.return {
  background: #d1fae5;
  color: #059669;
}

.seatmap-leg-tab.is-active .leg-badge.outbound {
  background: var(--c-primary, #ed007f);
  color: #ffffff;
}

.seatmap-leg-tab.is-active .leg-badge.return {
  background: #059669;
  color: #ffffff;
}

.leg-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  width: 100%;
}

.leg-date {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leg-status {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leg-status.has-seats {
  color: var(--c-primary, #ed007f);
}

/* ── RESPONSIVE MOBILE CHO TAB KHỨ HỒI SƠ ĐỒ GHẾ ── */
@media (max-width: 767px) {
  .seatmap-roundtrip-tabs {
    gap: 6px;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .seatmap-leg-tab {
    padding: 7px 9px;
    border-radius: 8px;
    gap: 2px;
  }

  .leg-badge {
    font-size: 9.5px;
    padding: 2px 7px;
  }

  .leg-date {
    font-size: 10.5px;
  }

  .leg-status {
    font-size: 11.5px;
  }

  .route-timeline-card {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .timeline-card-header {
    padding-bottom: 10px;
    gap: 10px;
  }

  .timeline-card-header .header-left {
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
  }

  .timeline-card-header .header-left i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .timeline-card-header .header-left h4 {
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .timeline-card-header .header-left .header-sub {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .timeline-card-header .header-toggle {
    flex-shrink: 0;
  }

  .timeline-card-header .btn-toggle-timeline {
    padding: 5px 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .seatmap-roundtrip-tabs {
    gap: 3px;
    padding: 2px;
    margin-bottom: 6px;
    border-radius: 8px;
  }

  .seatmap-leg-tab {
    padding: 4px 6px;
    gap: 4px;
    flex-direction: row;
    align-items: center;
    border-radius: 6px;
  }

  .leg-badge {
    font-size: 0.6rem;
    padding: 1px 4px;
    letter-spacing: -0.2px;
  }

  .leg-date {
    font-size: 0.65rem;
  }

  .leg-status {
    font-size: 0.68rem;
    gap: 2px;
    width: auto;
  }

  .leg-status i {
    font-size: 0.62rem;
  }

  .leg-status span {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .route-timeline-card {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .timeline-card-header {
    padding-bottom: 8px;
    gap: 8px;
  }

  .timeline-card-header .header-left {
    gap: 8px;
  }

  .timeline-card-header .header-left h4 {
    font-size: 0.9rem;
  }

  .timeline-card-header .header-left .header-sub {
    font-size: 0.72rem;
  }

  .timeline-card-header .btn-toggle-timeline {
    padding: 4px 8px;
    font-size: 0.74rem;
    gap: 4px;
  }
}


.seatmap-loading-overlay {
  padding: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--c-primary, #ed007f);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  margin: 10px 0;
}

.roundtrip-seats-summary .leg-seats-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}

.leg-seats-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 6px;
}

.empty-seats-alert.hint-sm {
  font-size: 0.78rem;
  padding: 6px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
}

.empty-seats-alert.hint-sm:hover {
  border-color: var(--c-primary, #ed007f);
  color: var(--c-primary, #ed007f);
}

/* Nút Tải ảnh vé điện tử cho từng chuyến xe */
.btn-vx-card-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--c-primary, #ed007f);
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(237, 0, 127, 0.2);
}

.btn-vx-card-download:hover {
  background: #d60072;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(237, 0, 127, 0.3);
}

.btn-vx-card-download:active {
  transform: translateY(0);
}

.btn-vx-card-download:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 576px) {
  .btn-vx-card-download {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
}

/* Quy tắc in ấn chuẩn khi bấm "In vé điện tử" (window.print) */
@media print {
  .vnt-header, .vnt-footer, .vnt-main-top, #vnt-navation, .vx-actions-bar, .vx-policy-card, .vx-pdf-fallback-note, .btn-vx-card-download, .vx-unissued-support-box, .vx-pending-alert {
    display: none !important;
  }
  body, .ve-tham-quan-theme, .main-wrap, .content, .vexe-success-container {
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .vx-ticket-card {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 20px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
  }
  .vx-ticket-qr-wrap img {
    max-width: 115px !important;
    height: auto !important;
  }
}

/* ==========================================================================
   VEXE GLOBAL FLOATING HOLD BUBBLE WIDGET (BONG BÓNG ĐẾM NGƯỢC GIỮ CHỖ VÉ XE)
   ========================================================================== */
.vexe-hold-bubble-wrap {
  position: fixed;
  top: 50%;
  right: 20px;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 99999;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vexe-hold-bubble {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--c-primary, #ed007f) 0%, #c20068 100%);
  color: #ffffff;
  padding: 8px 14px 8px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 18px rgba(237, 0, 127, 0.45);
  cursor: pointer;
  user-select: none;
  animation: vexeBubblePulse 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vexe-hold-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(237, 0, 127, 0.6);
}

.vexe-bubble-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.vexe-bubble-timer {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.vexe-bubble-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
  padding: 0;
  z-index: 10;
}

.vexe-bubble-close:hover {
  background: #ef4444;
  transform: scale(1.15);
}

@keyframes vexeBubblePulse {
  0% { box-shadow: 0 0 0 0 rgba(237, 0, 127, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(237, 0, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 0, 127, 0); }
}

/* POPOVER CONTAINER & CARD CHI TIẾT - HIỂN THỊ CẠNH TRÁI BONG BÓNG */
.vexe-hold-popover-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10400;
  pointer-events: none;
}

.vexe-hold-popover {
  position: absolute;
  top: 50%;
  right: 155px;
  bottom: auto;
  transform: translateY(-50%);
  width: 360px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
  z-index: 2;
  pointer-events: auto;
  animation: vexePopSlideLeft 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vexe-hold-popover::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  z-index: 10;
  box-shadow: 3px -3px 5px rgba(0, 0, 0, 0.04);
}

@keyframes vexePopSlideLeft {
  from { opacity: 0; transform: translateY(-50%) translateX(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}

.vexe-hold-popover .popover-head {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-radius: 15px 15px 0 0;
}

.vexe-hold-popover .popover-head-title {
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
}

.vexe-hold-popover .popover-head-title i {
  color: var(--c-primary, #ed007f);
}

.vexe-hold-popover .popover-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.vexe-hold-popover .popover-close-btn:hover {
  color: #ffffff;
}

.vexe-hold-popover .popover-body {
  padding: 16px;
  background: #ffffff;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vexe-hold-popover .popover-body::-webkit-scrollbar {
  width: 5px;
}

.vexe-hold-popover .popover-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.vexe-hold-popover .popover-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.vexe-hold-popover .popover-route-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vexe-hold-popover .popover-round-tag {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 6px;
}

.vexe-hold-popover .popover-trips-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.vexe-hold-popover .popover-trip-item {
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.vexe-hold-popover .popover-trip-item.outbound-item {
  background: #fff1f2;
  border-left: 3px solid var(--c-primary, #ed007f);
}

.vexe-hold-popover .popover-trip-item.return-item {
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
}

.vexe-hold-popover .trip-item-head {
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vexe-hold-popover .trip-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #475569;
}

.vexe-hold-popover .trip-item-body strong {
  color: #0f172a;
}

.vexe-hold-popover .popover-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 10px;
}

.vexe-hold-popover .popover-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #334155;
}

.vexe-hold-popover .pop-total-price {
  color: var(--c-primary, #ed007f);
  font-size: 1.05rem;
  font-weight: 800;
}

.vexe-hold-popover .popover-timer-banner {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vexe-hold-popover .popover-timer-banner strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.vexe-hold-popover .popover-foot {
  padding: 10px 14px 14px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vexe-hold-popover .btn-pop-pay {
  background: var(--c-primary, #ed007f);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(237, 0, 127, 0.3);
  width: 100%;
}

.vexe-hold-popover .btn-pop-pay:hover {
  background: #d60072;
  transform: translateY(-1px);
}

.vexe-hold-popover .btn-pop-cancel {
  background: transparent;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.vexe-hold-popover .btn-pop-cancel:hover {
  background: #f1f5f9;
  color: #dc2626;
  border-color: #fca5a5;
}

.vexe-hold-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .vexe-hold-bubble-wrap {
    top: 50%;
    bottom: auto;
    right: 12px;
    transform: translateY(-50%);
    z-index: 10402;
  }

  .vexe-hold-popover-wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    z-index: 10404 !important;
  }

  .vexe-hold-popover {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 20px 20px 0 0 !important;
    border: none !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.28) !important;
    z-index: 10405 !important;
    animation: holdSheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  .vexe-hold-popover::after {
    display: none !important;
  }

  @keyframes holdSheetSlideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .vexe-hold-popover .popover-head {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0 !important;
  }

  .vexe-hold-popover .popover-head-title {
    font-size: 1.05rem;
  }

  .vexe-hold-popover .popover-body {
    padding: 18px 20px;
    gap: 14px;
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    /* max-height: calc(88vh - 140px) !important; */
  }

  .vexe-hold-popover .popover-route-name {
    font-size: 1.08rem;
  }

  .vexe-hold-popover .popover-info-row {
    font-size: 0.9rem;
    gap: 14px;
  }

  .vexe-hold-popover .popover-price-row {
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .vexe-hold-popover .pop-total-price {
    font-size: 1.25rem;
  }

  .vexe-hold-popover .popover-timer-banner {
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .vexe-hold-popover .popover-foot {
    padding: 16px 20px 24px;
    gap: 10px;
    background: #f8fafc;
  }

  .vexe-hold-popover .btn-pop-pay {
    padding: 13px 20px;
    font-size: 0.98rem;
    border-radius: 12px;
  }

  .vexe-hold-popover .btn-pop-cancel {
    padding: 10px 16px;
    font-size: 0.86rem;
    border-radius: 10px;
  }
}

/* ── POPUP MODAL XÁC NHẬN THÔNG TIN ĐẶT VÉ TRƯỚC KHI THANH TOÁN ── */
.vexe-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vexe-confirm-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.vexe-confirm-modal-box {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  z-index: 2;
  animation: confirmModalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes confirmModalScale {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.vexe-confirm-modal-head {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vexe-confirm-modal-head .modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vexe-confirm-modal-head .modal-title i {
  color: var(--c-primary, #ed007f);
}

.vexe-confirm-modal-head .modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.vexe-confirm-modal-head .modal-close-btn:hover {
  color: #0f172a;
}

.vexe-confirm-modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.confirm-alert-note {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.84rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.confirm-alert-note i {
  color: var(--c-primary, #ed007f);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.confirm-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
}

.confirm-section .section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirm-section .section-title i {
  color: var(--c-primary, #ed007f);
}

.confirm-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #475569;
}

.confirm-item .item-val {
  font-weight: 700;
  color: #0f172a;
}

.confirm-item.highlight-item {
  background: #ffffff;
  border: 1.5px dashed var(--c-primary, #ed007f);
  padding: 8px 12px;
  border-radius: 10px;
}

.confirm-item.note-item {
  background: #fff8f6;
  border: 1px dashed #fcd34d;
  padding: 8px 12px;
  border-radius: 8px;
}

.confirm-passengers-box {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}

.passengers-box-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.passengers-box-title i {
  color: var(--c-primary, #ed007f);
}

.passengers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.passenger-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.8rem;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.passenger-chip .p-seat {
  font-weight: 800;
  color: var(--c-primary, #ed007f);
}

.passenger-chip .p-phone {
  color: #64748b;
  font-size: 0.76rem;
}

.point-addr-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: normal;
}

.confirm-pay-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirm-pay-row.discount-row {
  background: #f0fdf4;
  border: 1px dashed #a7f3d0;
  padding: 6px 10px;
  border-radius: 8px;
}

.confirm-trip-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirm-trip-box.return-box {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.confirm-trip-box .trip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.confirm-trip-box .trip-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}

.confirm-trip-box .trip-tag.outbound {
  background: #fce7f3;
  color: var(--c-primary, #ed007f);
}

.confirm-trip-box .trip-tag.return {
  background: #d1fae5;
  color: #059669;
}

.confirm-trip-box .trip-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.confirm-trip-box .trip-route-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}

.confirm-trip-box .trip-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: #475569;
  padding-top: 4px;
  border-top: 1px dashed #e2e8f0;
}

.confirm-trip-box .trip-info-row .lbl {
  white-space: nowrap;
  flex-shrink: 0;
}

.confirm-trip-box .trip-info-row .val {
  word-break: break-word;
}

.confirm-trip-box .trip-point-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: #334155;
}

.confirm-trip-box .trip-point-row i.icon-pick {
  color: var(--c-primary, #ed007f);
  margin-top: 3px;
}

.confirm-trip-box .trip-point-row i.icon-drop {
  color: #10b981;
  margin-top: 3px;
}

.confirm-section.summary-section {
  background: #fff1f2;
  border-color: #fecdd3;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirm-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #475569;
}

.confirm-pay-row.total-row {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  padding-top: 8px;
  border-top: 1px solid #fecdd3;
}

.confirm-pay-row .total-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-primary, #ed007f);
}

.vexe-confirm-modal-foot {
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vexe-confirm-modal-foot .btn-edit-info {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.vexe-confirm-modal-foot .btn-edit-info:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.vexe-confirm-modal-foot .btn-submit-final-modal {
  flex: 1;
  background: var(--c-primary, #ed007f);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(237, 0, 127, 0.35);
}

.vexe-confirm-modal-foot .btn-submit-final-modal:hover:not(:disabled) {
  background: #d60072;
  transform: translateY(-1px);
}

.vexe-confirm-modal-foot .btn-submit-final-modal:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 576px) {
  .vexe-confirm-modal {
    padding: 10px;
  }
  .vexe-confirm-modal-box {
    border-radius: 16px;
    max-height: 94vh;
  }
  .vexe-confirm-modal-head {
    padding: 12px 16px;
  }
  .vexe-confirm-modal-head .modal-title {
    font-size: 1rem;
  }
  .vexe-confirm-modal-body {
    padding: 14px;
    gap: 12px;
  }
  .vexe-confirm-modal-foot {
    padding: 12px 14px;
    gap: 8px;
  }
  .vexe-confirm-modal-foot .btn-edit-info {
    padding: 9px 12px;
    font-size: 0.82rem;
  }
  .vexe-confirm-modal-foot .btn-submit-final-modal {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
}

/* Payoo Redirect Loading Overlay */
.vexe-payoo-redirect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.payoo-redirect-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.payoo-spinner-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payoo-ring-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid #fce7f3;
  border-top-color: var(--c-primary, #ed007f);
  border-right-color: var(--c-primary, #ed007f);
  border-radius: 50%;
  animation: payooSpin 1s linear infinite;
}

@keyframes payooSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.payoo-bus-icon {
  font-size: 1.8rem;
  color: var(--c-primary, #ed007f);
  animation: payooPulse 1.5s ease-in-out infinite alternate;
}

@keyframes payooPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}

.payoo-redirect-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.3;
}

.payoo-redirect-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.5;
}

.payoo-redirect-info {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: #334155;
  text-align: left;
}

.payoo-redirect-info span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payoo-redirect-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  background: #fff1f2;
  border: 1px dashed #fecdd3;
  padding: 10px 14px;
  border-radius: 10px;
}

.payoo-redirect-warning i {
  color: var(--c-primary, #ed007f);
  font-size: 0.95rem;
}

/* Giữ khoảng cách khi ẩn trường Phương tiện không có dữ liệu */
.gt-meta-grid .gt-m.is-invisible,
.hpgt .gt-meta-grid .gt-m.is-invisible,
.acl-card-trans.is-invisible {
    visibility: hidden !important;
    min-height: 28px;
    pointer-events: none;
}

/* Fix lỗi hover ghế đã chọn (seat-selected:hover) giữ nguyên màu hồng chủ đạo & dấu tick chọn */
.seat-square.seat-selected:hover .seat-svg-body {
  fill: var(--c-primary, #ed007f) !important;
  stroke: var(--c-primary, #ed007f) !important;
  filter: brightness(0.92) !important;
}
.seat-square.seat-selected:hover .seat-svg-cushion {
  fill: #C20063 !important;
  stroke: #C20063 !important;
}
.seat-square.seat-selected:hover .icon-selected {
  fill: #FFFFFF !important;
}
.seat-square.seat-selected:hover .seat-name {
  display: none !important;
}
/* ── Cấu hình Đồng bộ Giao diện date-picker-field & date-custom-trigger cho Vé Tàu ── */
.date-picker-field {
  position: relative !important;
}

.date-picker-field .date-custom-trigger {
  width: 100% !important;
  height: 46px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important; /* Mặc định: viền hơi vuông như cũ */
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  user-select: none !important;
}

.date-picker-field .date-custom-trigger span {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.date-picker-field .date-custom-trigger i {
  font-size: 16px !important;
  color: var(--c-primary, #ed007f) !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
}

/* Biến tùy chọn: Bo tròn pill (border-radius: 999px) khi truyền shape => 'pill' */
.date-picker-field--pill .date-custom-trigger,
.date-picker-field--pill input[type="text"],
.date-picker-field--pill input[type="date"] {
  border-radius: 999px !important;
}

.date-picker-field .date-custom-trigger:hover,
.date-picker-field input[type="text"]:hover,
.date-picker-field input[type="date"]:hover,
.date-picker-field input[type="text"]:focus,
.date-picker-field input[type="date"]:focus {
  border-color: var(--c-primary, #ed007f) !important;
  box-shadow: 0 0 0 3px rgba(237, 0, 127, 0.12) !important;
  outline: none !important;
}

/* ── Trạng thái vô hiệu hóa (disabled) của Datepicker Custom Vé Tàu / Du Lịch ── */
.date-picker-field.is-cal-disabled {
  cursor: not-allowed !important;
  opacity: 0.72 !important;
}

.date-picker-field.is-cal-disabled .date-custom-trigger,
.date-picker-field.is-cal-disabled input[type="text"],
.date-picker-field.is-cal-disabled input[type="date"] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.date-picker-field.is-cal-disabled .date-custom-trigger:hover,
.date-picker-field.is-cal-disabled input[type="text"]:hover,
.date-picker-field.is-cal-disabled input[type="date"]:hover {
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
}

.date-picker-field.is-cal-disabled .date-custom-trigger span {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.date-picker-field.is-cal-disabled .date-custom-trigger i {
  color: #94a3b8 !important;
}

/* ── Carousel Owl: KHÔNG tách mỗi thẻ thành một lớp ghép riêng (2026-10-05) ──
   CSS gốc của Owl (trong bundle nền home.css / style_minimize.css) đặt translateZ(0) +
   backface-visibility:hidden lên TỪNG .owl-item — mẹo chống nháy của iOS 6-7. Hệ quả: mỗi thẻ
   trong carousel là một lớp ghép riêng dù cả dải .owl-stage đã là một lớp và là thứ DUY NHẤT
   chuyển động. Trang chủ mobile đo được 63 lớp như vậy (~170MB bộ nhớ đồ hoạ); mỗi khung hình
   trình duyệt phải dựng + đồng bộ lại toàn bộ số lớp đó nên cuộn/vuốt bị khựng (client báo
   "lướt vẫn giật"). Thẻ không tự chuyển động nên không cần lớp riêng. */
.owl-carousel .owl-item {
  -webkit-transform: none;
  transform: none;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

/* ═══ Dải thẻ tour (.slideFluid.width2) HIỆN NGAY khi vào trang, không đợi Owl dựng (client 07/10/2026) ═══
   Trang "Du lịch Khách Đoàn": mới vào chỉ thấy tiêu đề các mục xếp sát nhau, ~1–3 giây sau danh sách tour mới bung
   ra và đẩy cả trang xuống. Lý do: CSS gốc của Owl giấu `.owl-carousel` (display:none) cho tới khi script gắn
   `.owl-loaded`, mà script ở các trang trong chỉ chạy lúc document ready (js/plugin-footer.js). Trang chủ không bị
   vì bundle nền của nó (optimize/css/home.css) có sẵn luật cho hiện trước.
   Ở đây: trong lúc chờ, xếp sẵn các thẻ thành một hàng ngang đúng như Owl sẽ xếp (thẻ .width2 có bề rộng cố định
   trong CSS; gap 10px = option margin:10 của plugin-footer.js) → Owl dựng xong thì thẻ vẫn ở nguyên chỗ, trang
   không nhảy. Phần thừa bên phải cắt đi (overflow:hidden), kéo ngang vẫn là việc của Owl.
   :not(.owl-loading) — nhường lại bố cục cho Owl ngay từ lúc nó bắt đầu dựng (cùng một lượt script, không kịp vẽ
   khung trung gian). :not(.dlv-hs) / :not(.dlv-page-home) — không đụng dải cuộn gốc và trang chủ. */
body:not(.dlv-page-home) .contentHome .slideFluid.width2.owl-carousel:not(.owl-loaded):not(.owl-loading):not(.dlv-hs) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow: hidden;
  padding-bottom: 22px;   /* chừa sẵn chỗ hàng chấm (.owl-dots cao 22px) Owl thêm dưới dải → dựng xong các mục bên dưới không bị đẩy xuống */
}
body:not(.dlv-page-home) .contentHome .slideFluid.width2.owl-carousel:not(.owl-loaded):not(.owl-loading):not(.dlv-hs) > .item {
  flex: 0 0 auto;
}
/* Cùng trang đó, hàng "Đánh giá: ★★★★★ 5/5 …" dưới tiêu đề: 5 ngôi sao do script vẽ vào ô .rating-star lúc trang tải
   xong (ô rỗng 0×0 → 92×22). Trên mobile thêm 92px là hàng rớt thành 2 dòng, đẩy mọi thứ bên dưới xuống 22px. Giữ
   sẵn đúng cỡ đó để hàng xếp như lúc đã có sao ngay từ đầu. */
.rating > .rating-star.rating-category { min-width: 92px; min-height: 22px; }
