/* ==========================================================================
   NEWS/P1 — Chi tiết Tour (ola-tour-detail)
   Tách từ inline ChiTietTour.aspx — chỉ load trên ChiTietTour
   ========================================================================== */
body {
            background-color: #f8f9fa;
        }

        /* Khớp khối trắng Master — QC FULL-BOTTOM dính đáy surface */
        #main-content .ola-site-surface > section.chitiet-tour-page.wrapper__section {
            padding-bottom: 0 !important;
            margin-bottom: 0 !important;
            background-color: #fff !important;
        }

        #main-content .ola-site-surface > section.chitiet-tour-page .chitiet-tour-layout {
            padding-bottom: 16px;
            margin-bottom: 0;
        }

        .chitiet-tour-page .ola-ad-panel {
            margin-bottom: 1rem;
        }

        /* Cột phải kéo cao bằng cột trái — QC SIDEBAR đáy đều với DETAIL-MID */
        .chitiet-tour-page .chitiet-tour-main-row {
            align-items: stretch;
        }

        .chitiet-tour-page .chitiet-tour-main-row > .col-lg-8 {
            display: flex;
            flex-direction: column;
        }

        .chitiet-tour-page .chitiet-tour-main-row > .col-lg-8 > .ola-ad-panel {
            margin-top: auto;
            margin-bottom: 0;
        }

        .chitiet-tour-page .chitiet-tour-aside {
            display: flex;
            flex-direction: column;
            height: 100%;
            gap: 1.25rem;
        }

        /* Vùng sticky cao tới mép QC — booking dính khi cuộn, nhả trước khi đụng QC */
        .chitiet-tour-page .chitiet-tour-aside-sticky-wrap {
            flex: 1 1 auto;
            min-height: 0;
        }

        .chitiet-tour-page .chitiet-tour-aside-sticky-wrap > .sticky-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 80px;
            z-index: 15;
            height: max-content;
            margin-bottom: 0;
        }

        .chitiet-tour-page .chitiet-tour-aside > .ola-ad-panel {
            flex-shrink: 0;
            margin-top: 0;
            margin-bottom: 0;
            position: relative;
            z-index: 1;
        }

        .chitiet-tour-page .chitiet-tour-aside > .ola-ad-panel .ola-ad-slot {
            overflow: hidden;
            border-radius: 8px;
        }

        @media (max-width: 991.98px) {
            .chitiet-tour-page .chitiet-tour-main-row > .col-lg-8 > .ola-ad-panel {
                margin-top: 1rem;
            }

            .chitiet-tour-page .chitiet-tour-aside {
                height: auto;
                gap: 1rem;
            }

            .chitiet-tour-page .chitiet-tour-aside-sticky-wrap {
                flex: 0 0 auto;
            }

            .chitiet-tour-page .chitiet-tour-aside-sticky-wrap > .sticky-sidebar {
                position: static;
                top: auto;
            }
        }

        /* ================= GALLERY BENTO GRID ================= */
        /*.tour-gallery-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 200px 200px;
            gap: 10px;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 30px;
        }

        @media (max-width: 768px) {
            .tour-gallery-grid {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 200px 100px;
            }

            .gal-item-1 {
                grid-column: 1 / 3 !important;
                grid-row: 1 / 2 !important;
            }

            .gal-item-4, .gal-item-5 {
                display: none !important;
            }
        }

        .gal-item {
            position: relative;
            overflow: hidden;
            display: block;
            cursor: pointer;
        }

            .gal-item img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.5s ease;
            }

            .gal-item:hover img {
                transform: scale(1.05);
            }

        .gal-item-1 {
            grid-column: 1 / 2;
            grid-row: 1 / 3;
        }

        .gal-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.4);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #fff;
            transition: background 0.3s;
        }

            .gal-overlay:hover {
                background: rgba(0,0,0,0.2);
            }

        .gal-play-icon {
            width: 48px;
            height: 48px;
            background: #fff;
            color: var(--vt-secondary);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            padding-left: 4px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .gal-more-text {
            font-size: 18px;
            font-weight: 700;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }*/


        /* ================= MAIN GALLERY BENTO GRID ================= */
        .tour-media-wrapper {
            width: 100%;
            margin-bottom: 30px;
        }

        .tour-grid {
            display: grid;
            gap: 10px;
            border-radius: 16px;
            overflow: hidden;
        }

            .tour-grid a {
                display: block;
                position: relative;
                overflow: hidden;
                background: #f0f0f0;
                height: 100%;
                min-height: 100%;
            }

            .tour-grid img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.4s ease;
                display: block;
            }

            .tour-grid a:hover img:not(.yt-thumb-fix) {
                transform: scale(1.05);
            }



            /* ================= FIX VIỀN ĐEN THUMBNAIL YOUTUBE ================= */
            .tour-grid img.yt-thumb-fix {
                object-fit: cover;
                /* Phóng to 35% để đẩy phần viền đen trên/dưới ra khỏi khung chứa */
                transform: scale(1.25);
                object-position: center;
            }

            /* Vẫn giữ hiệu ứng nhúc nhích khi khách di chuột vào Video */
            .tour-grid a:hover img.yt-thumb-fix {
                transform: scale(1.42);
            }

        /* Trường hợp 1 ẢNH */
        .tour-grid-1 {
            grid-template-columns: 1fr;
        }

            .tour-grid-1 a {
                height: 400px;
            }

        /* Trường hợp 2 ẢNH */
        .tour-grid-2 {
            grid-template-columns: 1fr 1fr;
        }

            .tour-grid-2 a {
                height: 350px;
            }

        /* Trường hợp 3 ẢNH */
        .tour-grid-3 {
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 200px 200px;
        }

            .tour-grid-3 a:nth-child(1) {
                grid-row: 1 / 3;
            }
        /* Cột trái full 2 hàng */

        /* Trường hợp 4 ẢNH (Ảnh 2 bên phải kéo dài) */
        .tour-grid-4 {
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 200px 200px;
        }

            .tour-grid-4 a:nth-child(1) {
                grid-column: 1 / 2;
                grid-row: 1 / 3;
            }

            .tour-grid-4 a:nth-child(2) {
                grid-column: 2 / 4;
                grid-row: 1 / 2;
            }

            .tour-grid-4 a:nth-child(3) {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
            }

            .tour-grid-4 a:nth-child(4) {
                grid-column: 3 / 4;
                grid-row: 2 / 3;
            }

        /* Trường hợp 5 ẢNH (Lưới 2x2 bên phải) */
        .tour-grid-5 {
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 200px 200px;
        }

            .tour-grid-5 a:nth-child(1) {
                grid-column: 1 / 2;
                grid-row: 1 / 3;
            }

            .tour-grid-5 a:nth-child(2) {
                grid-column: 2 / 3;
                grid-row: 1 / 2;
            }

            .tour-grid-5 a:nth-child(3) {
                grid-column: 3 / 4;
                grid-row: 1 / 2;
            }

            .tour-grid-5 a:nth-child(4) {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
            }

            .tour-grid-5 a:nth-child(5) {
                grid-column: 3 / 4;
                grid-row: 2 / 3;
            }

        /* Icon Video và Text +X Ảnh */
        .gal-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #fff;
            transition: background 0.3s;
        }

            .gal-overlay:hover {
                background: rgba(0,0,0,0.1);
            }

        .gal-play-icon {
            width: 55px;
            height: 55px;
            background: #fff;
            color: var(--vt-secondary);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 22px;
            padding-left: 4px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .gal-more-text {
            font-size: 16px;
            font-weight: 700;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
        }

        /* Responsive Mobile */
        @media (max-width: 768px) {
            .tour-grid-1 a {
                height: 250px;
            }

            .tour-grid-2 {
                grid-template-columns: 1fr 1fr;
            }

                .tour-grid-2 a {
                    height: 200px;
                }

            .tour-grid-3 {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 250px 150px;
            }

                .tour-grid-3 a:nth-child(1) {
                    grid-column: 1 / 3;
                    grid-row: 1 / 2;
                }

            .tour-grid-4 {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 250px 150px 150px;
            }

                .tour-grid-4 a:nth-child(1) {
                    grid-column: 1 / 3;
                    grid-row: 1 / 2;
                }

                .tour-grid-4 a:nth-child(2) {
                    grid-column: 1 / 3;
                    grid-row: 2 / 3;
                }

                .tour-grid-4 a:nth-child(3) {
                    grid-column: 1 / 2;
                    grid-row: 3 / 4;
                }

                .tour-grid-4 a:nth-child(4) {
                    grid-column: 2 / 3;
                    grid-row: 3 / 4;
                }

            .tour-grid-5 {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 250px 150px 150px;
            }

                .tour-grid-5 a:nth-child(1) {
                    grid-column: 1 / 3;
                    grid-row: 1 / 2;
                }

                .tour-grid-5 a:nth-child(2) {
                    grid-column: 1 / 2;
                    grid-row: 2 / 3;
                }

                .tour-grid-5 a:nth-child(3) {
                    grid-column: 2 / 3;
                    grid-row: 2 / 3;
                }

                .tour-grid-5 a:nth-child(4) {
                    grid-column: 1 / 2;
                    grid-row: 3 / 4;
                }

                .tour-grid-5 a:nth-child(5) {
                    grid-column: 2 / 3;
                    grid-row: 3 / 4;
                }
        }

        /* ================= TỔNG QUAN & LỊCH TRÌNH ================= */
        .tour-section {
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.03);
            border: 1px solid #f0f0f0;
        }

        .ts-title {
            font-size: 20px;
            font-weight: 700;
            color: #156e44;
            margin-bottom: 5px;
            padding-bottom: 5px;
            border-bottom: 0px solid #f0f0f0;
        }

        .tour-section--pricing .tour-price-brochure {
            margin-top: 4px;
        }

        /* Bảng giá — lưới viền, căn giữa, không tràn ô */
        .tour-price-table-wrap {
            border: none;
            border-radius: 0;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            background: #fff;
        }

            .tour-price-table-wrap:has(.tour-price-table--schedule) {
                border: 2px dashed  #f59e0b;
                border-radius: 12px;
                overflow: hidden;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                background: #fff;
            }

        .tour-price-table--schedule {
            table-layout: fixed;
            width: 100%;
            min-width: 520px;
            border-collapse: separate;
            border-spacing: 0;
            border: none;
            border-radius: 0;
            background: #fff;
        }

        .tour-price-table {
            margin-bottom: 0;
            border-collapse: collapse;
            border-spacing: 0;
            background: #f2fcf494;
        }

        .tpt-w-schedule {
            width: 22%;
        }

        .tpt-w-flight {
            width: 26%;
        }

        .tpt-w-price {
            width: 26%;
        }

        .tour-price-table--schedule thead th,
        .tour-price-table--schedule tbody td {
            border: 0;
            border-right: 1px solid #ffdfdf;
            border-bottom: 1px solid #b2a1a17a;
            text-align: center;
            vertical-align: middle;
            padding: 10px 8px;
            font-size: 13px;
            font-weight: 700;
            color: #1e2d4a;
            background: linear-gradient(247deg, #f0fdf4 0%, #ffffff 55%, #fffbeb 100%);
            overflow: hidden;
            word-wrap: break-word;
            overflow-wrap: anywhere;
        }

            .tour-price-table--schedule thead th:last-child,
            .tour-price-table--schedule tbody td:last-child {
                border-right: none;
            }

        .tour-price-table--schedule tbody tr:last-child td {
            border-bottom: none;
        }

        .tour-price-table--catalog thead th,
        .tour-price-table--catalog tbody td {
            border: 1px solid #222;
            text-align: center;
            vertical-align: middle;
            padding: 10px 8px;
            font-size: 13px;
            font-weight: 700;
            color: #1e2d4a;
            background: #fff;
            overflow: hidden;
            word-wrap: break-word;
            overflow-wrap: anywhere;
        }

        .tour-price-table--schedule thead th,
        .tour-price-table--catalog thead th {
           color: white;
            background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            white-space: nowrap;
            padding: 10px 6px;
        }

        .bg-light {
            background-color: #f0fdf4a8 !important
        }

        .tpt-col-schedule {
            line-height: 1.35;
        }

        .tpt-date {
            display: block;
            color: darkorange;
            font-weight: 700;
            font-size: 13px;
            white-space: nowrap;
            margin-bottom: 4px;
        }

        .tpt-col-schedule .tpt-code-badge {
            display: block;
            max-width: 100%;
            padding: 0;
            border: none;
            background: none;
            color: #6c6f75;
            font-size: 11px;
            font-weight: 600;
            line-height: 1.35;
            word-break: break-all;
        }

        .tpt-col-flight {
            text-align: center;
            padding: 6px 4px !important;
        }

        .tpt-flight {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            min-width: 0;
            max-width: 100%;
            text-align: center;
        }

        .tpt-col-flight .tpt-flight {
            display: flex;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .tpt-flight--has-logo {
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .tpt-flight--has-logo .tpt-flight__meta {
            display: block;
            font-size: 10px;
            font-weight: 500;
            color: #6b7280;
            line-height: 1.35;
            word-break: break-word;
            text-align: center;            
            max-width: 100%;
        }

        /* Có logo → hiện logo + mã chuyến bay bên dưới; ẩn fallback dự phòng */
        .tpt-flight--has-logo .tpt-flight__text-fallback {
            display: none !important;
        }

        .tpt-flight--text-only .tpt-flight__meta {
            display: none !important;
        }

        .tour-price-table--schedule .tpt-flight--has-logo .tpt-flight__logo {
            /*width: 22px !important;
            height: 22px !important;
            max-width: 22px !important;*/
            max-height: 30px !important;
            min-width: 0 !important;
            min-height: 0 !important;
            object-fit: contain !important;
            object-position: center center !important;
            flex-shrink: 0;
            margin: 0 auto;
            display: block !important;
            padding: 0 !important;
        }

        .tpt-flight--text-only {
            flex-direction: column;
            gap: 2px;
        }

            .tpt-flight--text-only .tpt-flight__logo {
                display: none !important;
            }

            .tpt-flight--text-only .tpt-flight__info,
            .tpt-flight--text-only .tpt-flight__text-fallback {
                display: flex !important;
                flex-direction: column;
                align-items: center;
                gap: 2px;
                min-width: 0;
                max-width: 100%;
            }

            .tpt-flight--text-only .tpt-flight__airline {
                font-size: 14px;
                font-weight: 700;
                line-height: 1.3;
                word-break: break-word;
                color: #1f62e3;
            }

            .tpt-flight--text-only .tpt-flight__code {
                font-size: 10px;
                font-weight: 600;
                line-height: 1.3;
                word-break: break-word;
                color: #1e2d4a;
            }

        .tpt-flight-empty {
            color: #1e2d4a;
            font-weight: 700;
        }

        .tpt-col-price {
            text-align: center !important;
            white-space: normal;
            font-size: 12px;
            padding: 10px 6px !important;
        }

        .tpt-price-stack {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            line-height: 1.3;
        }

        .tpt-price-nl {
            display: inline-block;
            font-size: 18px;
            font-weight: 700;
            color: darkorange;
            white-space: nowrap;
            line-height: 1.35;
        }

        .tpt-price-te {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #64748b;
            white-space: nowrap;
            line-height: 1.25;
        }

        .tpt-price-te__label {
            font-weight: 500;
            color: #94a3b8;
        }

        .catalog-price-note-public {
            margin: 14px 0 0;
            padding: 12px 14px;
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 10px;
            font-size: 14px;
            color: #166534;
            line-height: 1.5;
        }

        @media (max-width: 767.98px) {
            .tour-price-table--schedule thead th,
            .tour-price-table--catalog thead th,
            .tour-price-table--schedule tbody td,
            .tour-price-table--catalog tbody td {
                font-size: 12px;
                padding: 10px 8px;
            }

            .tour-price-table--schedule .tpt-flight--has-logo .tpt-flight__logo {
                width: 100px !important;
                height: auto !important;
                max-width: 100px !important;
                max-height: auto !important;
            }

            .tpt-col-flight {
                padding: 5px 3px !important;
            }
        }

        /* ================= KHỐI TỔNG QUAN HÀNH TRÌNH (TỐI GIẢN) ================= */
        .overview-box {
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center; /* Căn giữa nội dung theo chiều dọc */
            min-height: 79px; /* Đảm bảo các ô có chiều cao bằng nhau */
            padding: 15px;
            background: linear-gradient(247deg, #f0fdf4 0%, #fff 55%, #fffbeb 100%);
            border-radius: 16px;
            border: 1px solid #f1f5f9;
            transition: all 0.3s ease;
            z-index: 1;
        }

            .overview-box:hover {
                background-color: #ffffff;
                border-color: #fde68a;
                box-shadow: 0 10px 25px rgba(0,0,0,0.05);
                transform: translateY(-4px);
            }

        .ob-bg-icon {
            position: absolute;
            right: 5px;
            bottom: 21px;
            font-size: 37px; /* Hạ cỡ xuống một chút cho tinh tế */
            color: var(--vt-primary, #d97706);
            opacity: 0.06; /* Tăng độ mờ nhẹ để bù đắp việc mất icon nhỏ */
            transform: rotate(-10deg);
            z-index: -1;
            pointer-events: none;
            transition: all 0.4s ease;
        }

        .overview-box:hover .ob-bg-icon {
            transform: rotate(0deg) scale(1.1);
            opacity: 0.1;
        }

        .ob-text {
            position: relative;
            z-index: 2;
        }

            .ob-text h5 {
                font-size: 12px;
                color: #64748b;
                margin: 0 0 5px 0;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .ob-text p {
                font-size: 16px;
                font-weight: 700; /* Tăng độ đậm để thông tin nổi bật hơn */
                color: darkorange;
                margin: 0;
                white-space: nowrap;
                line-height: 1.4;
            }

        @media (max-width: 576px) {
            .ob-text p {
                white-space: normal;
            }
        }

        .accordion-button:not(.collapsed) {
            background-color: #fff !important;
            color: darkorange;
            font-weight: 700;
            /* box-shadow: inset 3px 0 0 var(--vt-primary, darkorange);*/
        }

        .accordion-button {
            font-weight: 600;
            font-size: medium;
            transition: background-color 0.25s ease, box-shadow 0.25s ease;
        }

        .accordion {
            --bs-accordion-border-width: 0px !important
        }

        .accordion-button:focus {
            box-shadow: none;
            border-color: rgba(0,0,0,.125);
        }

        .accordion-button:hover {
            background-color: #fff3e6;
        }

        /* Mũi tên xoay mượt khi mở/đóng từng ngày */
        #accordionItinerary .accordion-button::after {
            transition: transform 0.3s ease;
        }

        /* Hiệu ứng đóng/mở từng ngày mượt mà hơn */
        #accordionItinerary .accordion-collapse.collapsing {
            transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #accordionItinerary .accordion-item {
            transition: box-shadow 0.25s ease;
        }

            #accordionItinerary .accordion-item:has(.accordion-collapse.show) {
                /*box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);*/
            }

        #accordionItinerary .accordion-collapse.show .html-content,
        #accordionItinerary .accordion-collapse.collapsing .html-content {
            animation: itiFadeIn 0.4s ease;
        }

        /* Nội dung accordion — căn đều hai bên (lịch trình + thông tin cần biết) */
        #accordionItinerary .html-content,
        #accordionInfo .html-content {
            padding: 5px;
            text-align: justify;
            text-justify: inter-word;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        #accordionItinerary .html-content p,
        #accordionItinerary .html-content li,
        #accordionItinerary .html-content td,
        #accordionInfo .html-content p,
        #accordionInfo .html-content li,
        #accordionInfo .html-content td {
            text-align: justify;
            text-justify: inter-word;
        }

        #accordionItinerary .html-content p,
        #accordionItinerary .html-content li,
        #accordionInfo .html-content p,
        #accordionInfo .html-content li {
            margin-bottom: 0.65em;
        }

        #accordionItinerary .html-content ul,
        #accordionItinerary .html-content ol,
        #accordionInfo .html-content ul,
        #accordionInfo .html-content ol {
            padding-left: 1.25rem;
        }

        #accordionItinerary .html-content p:last-child,
        #accordionItinerary .html-content li:last-child,
        #accordionInfo .html-content p:last-child,
        #accordionInfo .html-content li:last-child {
            text-align-last: left;
            margin-bottom: 0;
        }

        /* Giữ căn trái: nhãn bữa ăn, tiêu đề, bảng, lưới ảnh */
        #accordionItinerary .html-content .text-vt-primary.fw-bold,
        #accordionItinerary .html-content h1,
        #accordionItinerary .html-content h2,
        #accordionItinerary .html-content h3,
        #accordionItinerary .html-content h4,
        #accordionItinerary .html-content h5,
        #accordionItinerary .html-content h6,
        #accordionItinerary .html-content .iti-media-wrapper_,
        #accordionItinerary .html-content .iti-grid,
        #accordionItinerary .html-content table th,
        #accordionInfo .html-content h1,
        #accordionInfo .html-content h2,
        #accordionInfo .html-content h3,
        #accordionInfo .html-content h4,
        #accordionInfo .html-content h5,
        #accordionInfo .html-content h6,
        #accordionInfo .html-content table th {
            text-align: left;
        }

        @keyframes itiFadeIn {
            from {
                opacity: 0;
                transform: translateY(-4px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ==========================================================
           TIMELINE — Lịch trình chi tiết (#accordionItinerary)
           .itinerary-line  → .timeline-itinerary::before
           .itinerary-dot    → .itinerary-day .accordion-header::before
           ========================================================== */
        #accordionItinerary.timeline-itinerary {
            --iti-line-x: 5px;
            --iti-dot-size: 12px;
            --iti-gutter: 1rem;
            position: relative;
            padding-left: var(--iti-gutter);
            margin-top: 0.5rem;
        }

        /* .itinerary-line — đường dọc nối các ngày */
        #accordionItinerary.timeline-itinerary::before {
            content: '';
            position: absolute;
            left: calc(var(--iti-line-x) - 1px);
            top: calc(var(--iti-dot-size) + 14px);
            bottom: calc(var(--iti-dot-size) + 14px);
            width: 2px;
            background: #e5e7eb;
            border-radius: 1px;
            z-index: 0;
            pointer-events: none;
        }

        #accordionItinerary.timeline-itinerary .itinerary-day {
            position: relative;
            overflow: visible !important;
            margin-bottom: 1.25rem !important;
            border: 0px solid #f0f0f0 !important;
            border-radius: 12px !important;
            background: #fff;
            /*box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);*/
        }

        #accordionItinerary.timeline-itinerary .itinerary-day:last-child {
            margin-bottom: 0 !important;
        }

        #accordionItinerary.timeline-itinerary .itinerary-day .accordion-header {
            position: relative;
            z-index: 1;
        }

        /* .itinerary-dot — chấm cam trên timeline, ngang hàng tiêu đề ngày */
        #accordionItinerary.timeline-itinerary .itinerary-day .accordion-header::before {
            content: '';
            position: absolute;
            left: calc(-1 * var(--iti-gutter) + var(--iti-line-x) - (var(--iti-dot-size) / 2));
            top: 50%;
            transform: translateY(-50%);
            width: var(--iti-dot-size);
            height: var(--iti-dot-size);
            border-radius: 50%;
            background: linear-gradient(270deg, #FFA600 0%, #F56F21 100%);
            border: 2px solid #fff;
            box-shadow: 0 0 0 1px #e5e7eb;
            z-index: 2;
            pointer-events: none;
        }

        #accordionItinerary.timeline-itinerary .itinerary-day:has(.accordion-collapse.show) .accordion-header::before {
            box-shadow: 0 0 0 1px #e5e7eb, 0 0 0 4px rgba(245, 111, 33, 0.18);
        }

        /* Ngày cuối mở — cắt line chính tại dot, nối đứt xuống icon kết thúc */
        #accordionItinerary.timeline-itinerary.timeline-last-expanded::before {
            bottom: var(--iti-line-stop, calc(var(--iti-dot-size) + 14px));
        }

        #accordionItinerary.timeline-itinerary.timeline-last-expanded .itinerary-day:last-child {
            position: relative;
            padding-bottom: 0.35rem;
        }

        #accordionItinerary.timeline-itinerary.timeline-last-expanded .itinerary-day:last-child .accordion-collapse.show {
            position: relative;
        }

        #accordionItinerary.timeline-itinerary.timeline-last-expanded .itinerary-day:last-child .accordion-collapse.show::before {
            content: '';
            position: absolute;
            left: calc(-1 * var(--iti-gutter) + var(--iti-line-x) - 1px);
            top: 0;
            bottom: 30px;
            width: 2px;
            background: repeating-linear-gradient(
                to bottom,
                #d1d5db 0,
                #d1d5db 4px,
                transparent 4px,
                transparent 9px
            );
            border-radius: 1px;
            z-index: 1;
            pointer-events: none;
        }

        #accordionItinerary.timeline-itinerary .itinerary-end-marker {
            display: none;
            position: absolute;
            left: calc(-1 * var(--iti-gutter) + var(--iti-line-x) - 11px);
            bottom: 0;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(270deg, #FFA600 0%, #F56F21 100%);
            color: #fff;
            font-size: 11px;
            align-items: center;
            justify-content: center;
            z-index: 3;
            box-shadow: 0 0 0 2px #fff, 0 0 0 3px #e5e7eb;
            pointer-events: none;
        }

        #accordionItinerary.timeline-itinerary.timeline-last-expanded .itinerary-day:last-child .itinerary-end-marker {
            display: flex;
        }

        #accordionItinerary.timeline-itinerary .itinerary-day .accordion-button {
            border-radius: 12px 12px 0 0 !important;
        }

        #accordionItinerary.timeline-itinerary .itinerary-day .accordion-button.collapsed {
            border-radius: 12px !important;
        }

        #accordionItinerary.timeline-itinerary .itinerary-day .html-content {
            border-radius: 0 0 12px 12px;
        }

        @media (max-width: 767.98px) {
            #accordionItinerary.timeline-itinerary {
                --iti-line-x: 16px;
                --iti-dot-size: 9px;
                --iti-gutter: 2.25rem;
            }
        }

        @media (max-width: 575.98px) {
            #accordionItinerary.timeline-itinerary {
                --iti-line-x: 5px;
                --iti-dot-size: 10px;
                --iti-gutter: 1rem;
            }

            #accordionItinerary.timeline-itinerary .itinerary-day {
                margin-bottom: 1rem !important;
            }
        }

        .day-badge {
            background: linear-gradient(270deg, #FFA600 0%, #F56F21 100%);
            color: #fff;
            font-size: small;
            font-weight: 600;
            padding: 6px 10px;
            border-radius: 20px;
            margin-right: 12px;
            white-space: nowrap;
        }

        .badge-detail-no-shopping {
            position: relative;
            overflow: hidden;
            background-color: orangered !important;
            white-space: nowrap;
        }

            .badge-detail-no-shopping::after {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 45%;
                height: 100%;
                background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0) 100%);
                transform: skewX(-22deg);
                animation: shimmer-sweep 5s ease-in-out infinite;
                pointer-events: none;
            }

        .accordion-button {
            padding: 12px !important
        }

        .html-content p, .html-content span {
            line-height: 1.7;
            color: #4b5563;
            font-size: 15px;
        }

        .html-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }

        /* Ảnh lưới lịch trình — lấp full khung (ghi đè .html-content img + ola-tour-images / ola-media-fill) */
        #OLA .html-content .iti-media-wrapper .iti-grid a {
            display: block;
            width: 100%;
            line-height: 0;
            cursor: pointer;
        }

        #OLA .html-content .iti-media-wrapper .iti-grid img {
            position: absolute !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            max-width: none !important;
            max-height: none !important;
            min-height: 0 !important;
            object-fit: cover !important;
            object-position: center center !important;
            display: block !important;
            margin: 0 !important;
            border-radius: 0 !important;
        }

        #OLA .html-content .iti-media-wrapper .iti-grid a:hover img:not(.yt-thumb-fix) {
            transform: scale(1.05);
        }

        /* Bảng giá [DiemNoiBat]: bảng thường, full ngang, cột theo độ rộng chữ */
        .tour-diemnoibat-html {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

            .tour-diemnoibat-html table {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                margin: 0.75rem 0 1rem;
                border-collapse: collapse;
                table-layout: auto;
                font-size: 14px;
                line-height: 1.5;
                background: #fff;
                border: 2px solid #94a3b8;
            }

                .tour-diemnoibat-html table th,
                .tour-diemnoibat-html table td {
                    width: auto !important;
                    max-width: none !important;
                    padding: 8px 10px;
                    border: 1px solid #cbd5e1;
                    vertical-align: middle;
                    text-align: center;
                    word-break: break-word;
                }

                .tour-diemnoibat-html table col,
                .tour-diemnoibat-html table colgroup col {
                    width: auto !important;
                }

                .tour-diemnoibat-html table thead th,
                .tour-diemnoibat-html table:not(:has(thead)) > tbody > tr:first-child > th,
                .tour-diemnoibat-html table:not(:has(thead)) > tbody > tr:first-child > td,
                .tour-diemnoibat-html table:not(:has(thead)) > tr:first-child > td {
                    font-weight: 600;
                    background: #f8fafc !important;
                    color: #1f2937 !important;
                }

                .tour-diemnoibat-html table th *,
                .tour-diemnoibat-html table td * {
                    background: transparent !important;
                }

                .tour-diemnoibat-html table p {
                    margin: 0;
                }

        @media (max-width: 767px) {
            .tour-diemnoibat-html table {
                font-size: 13px;
            }

                .tour-diemnoibat-html table th,
                .tour-diemnoibat-html table td {
                    padding: 6px 8px;
                }
        }

        /* ================= SIDEBAR ĐẶT TOUR ================= */
        /* .sticky-sidebar { position: sticky; top: 10px; z-index: 100; }*/
        .booking-card {
            background: #fff;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid #eee;
        }

        /* ================= TAG ĐANG MỞ BÁN (MÀU XANH LÁ + HIỆU ỨNG NHỊP ĐẬP) ================= */
        .bc-flash-tag {
            display: inline-flex;
            align-items: center;
            text-align: center;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%); /* Dải màu xanh ngọc lục bảo sang trọng */
            color: #ffffff;
            font-size: 18px;
            width: 100%;
            font-weight: bold;
            padding: 10px 30px;
            border-radius: 50px;
            margin-bottom: 10px;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
            animation: flash-pulse 2s infinite; /* Gọi hiệu ứng nhịp đập liên tục */
        }

            /* Làm nổi bật icon ngọn lửa bên trong */
            .bc-flash-tag i {
                color: #fde047; /* Đổi icon lửa thành màu vàng chanh cho nổi bật trên nền xanh */
                font-size: 14px;
            }

        /* Hiệu ứng nhịp đập (Pulse) tỏa sóng ra xung quanh */
        @keyframes flash-pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
            }

            70% {
                transform: scale(1.03); /* Phóng to cực nhẹ */
                box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); /* Tỏa sóng mờ dần */
            }

            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
            }
        }

        .bc-price-label {
            font-size: 16px;
            color: #8f9193;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .bc-price-old {
            font-size: 16px;
            color: #9ca3af;
            text-decoration: line-through;
            margin-bottom: 2px;
        }

        .bc-price-current {
            font-size: 24px;
            font-weight: 700;
            color: darkorange;
            margin-bottom: 20px;
        }

        .bc-dates-box {
            background: #f0fdf4;
            border: 1px solid #f0f0f0;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .bc-dates-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--vt-secondary);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .bc-dates-title i {
                color: var(--vt-primary);
            }

        /* ================= LƯỚI LỊCH KHỞI HÀNH ================= */
        .date-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* [FIX] Chia thành 3 cột đều nhau */
            gap: 10px;
        }

        /* (Tùy chọn) Thêm dòng này để trên điện thoại màn hình nhỏ nó tự trả về 2 cột cho khỏi bị ép chữ quá nhỏ */
        @media (max-width: 576px) {
            .date-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .d-pill {
            border:  1.2px dashed rgba(222, 131, 9, 0.41);
            color: var(--vt-primary-dark);
            background: #fff;
            border-radius: 25px;
            padding: 8px 0;
            text-align: center;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            /*transition: 0.3s;*/
        }

            .d-pill:hover {
                background: #fff8f1;
            }
            /* Style khi ngày được chọn (Active) */
            .d-pill.active-pill {
                background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
                color: #fff;
                /*border-color: var(--vt-primary);*/
                border-width: 0px !important;
                box-shadow: 0 4px 10px rgba(222, 131, 9, 0.3);
            }

        /* .btn-book {
            background: linear-gradient(to right, #e87722, #de5a1f);
            color: #fff;
            border-radius: 50px;
            padding: 12px;
            font-size: 15px;
            font-weight: 700;
            width: 100%;
            border: none;
            margin-bottom: 12px;
            box-shadow: 0 4px 15px rgba(222, 90, 31, 0.3);
            transition: 0.3s;
        }

            .btn-book:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(222, 90, 31, 0.4);
                color: #fff;
            }*/


        /* ================= NÚT ĐẶT TOUR CÓ HIỆU ỨNG VẠCH SÁNG QUÉT NGANG ================= */
        .btn-book {
            position: relative; /* Bắt buộc để làm tâm cho vạch sáng chạy qua */
            overflow: hidden; /* Để vạch sáng không bị tràn ra ngoài nút */
            /* background: linear-gradient(315deg, rgb(239, 95, 15) 0%, rgb(246, 63, 183) 100%) !important;*/
            background-color: darkorange;
            background:linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
            color: #fff;
            border-radius: 35px;
            padding: 12px;
            font-size: 15px;
            font-weight: 700;
            width: 100%;
            border: solid 1.7px #fff;
            margin-bottom: 12px;
            box-shadow: 0 4px 15px rgba(222, 90, 31, 0.3);
            transition: 0.3s;
            display: block;
            text-align: center;
            text-decoration: none;
        }

            /* Tạo vạch sáng êm dịu */
            .btn-book::after {
                content: "";
                position: absolute;
                top: 0;
                left: -100%; /* Bắt đầu từ bên trái ngoài nút */
                width: 50%; /* Độ rộng của vạch sáng */
                height: 100%;
                background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.4), transparent ); /*  Dải lụa trắng mờ */

                transform: skewX(-25deg); /* Làm nghiêng vạch sáng cho nghệ thuật */
                transition: none;
                animation: light-sweep 3s infinite; /* Chạy liên tục mỗi 3 giây */
            }

            .btn-book:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(222, 90, 31, 0.4);
                color: #fff;
            }

        /* Định nghĩa chuyển động quét ngang */
        @keyframes light-sweep {
            0% {
                left: -120%;
            }

            30% {
                left: 120%; /* Quét qua nhanh trong 30% thời gian đầu */
            }

            100% {
                left: 120%; /* Nghỉ ngơi ở bên phải để tạo nhịp điệu êm dịu */
            }
        }


        .btn-call {
            background: #fff;
            color: darkorange;
            border: 2px solid #0dcaf0;
            border-radius: 30px !important;
            padding: 10px !important;
            font-size: 15px;
            font-weight: 700;
            width: 100%;
            transition: 0.3s;
            display: block;
        }

            .btn-call:hover {
                background: #fff8f1;
                color: #b45309;
            }

        .guarantee-list {
            list-style: none;
            padding: 0;
            margin: 20px 0 0;
            border-top: 1px dashed #eee;
            padding-top: 20px;
        }

            .guarantee-list li {
                display: flex;
                align-items: center;
                gap: 5px;
                margin-left: -6px;
                font-size: 18px;
                color: #4b5563;
                white-space: nowrap;
                font-weight: 600;
                margin-bottom: 20px;
            }

                .guarantee-list li i {
                    font-size: 18px;
                    color: #0ea5e9;
                    width: 24px;
                    text-align: center;
                }

        /* ĐÃ FIX: Thêm webkit cho iOS và ép height: max-content */
        /*.sticky-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 65px;
            z-index: 100;
            height: max-content;
        }*/


        /* ================= SIDEBAR ĐẶT TOUR ================= */
        /* ĐÃ FIX: Điều chỉnh lại Sticky Sidebar tránh đè Footer */
        .sticky-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 80px; /* Cách Header PC phía trên một khoảng an toàn */
            z-index: 15; /* Hạ z-index xuống để không đè lên Form Email (z-index: 20) */
            height: max-content;
            margin-bottom: 27px;
        }

        /* =======================================================
           CSS LƯỚI ẢNH LỊCH TRÌNH THEO SỐ LƯỢNG (1, 2, 3, 4, 5+)
           ======================================================= */
        .iti-media-wrapper {
            margin: 20px 0;
            width: 100%;
        }

        .iti-grid {
            display: grid;
            gap: 10px;
            margin-bottom: 12px;
        }

            .iti-grid a {
                display: block;
                position: relative;
                overflow: hidden;
                border-radius: 8px;
                background: #f0f0f0;
                height: 100%;
                min-height: 100%;
            }

            .iti-grid img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                max-width: none;
                max-height: none;
                object-fit: cover;
                object-position: center center;
                transition: transform 0.4s ease;
                display: block;
            }

            .iti-grid a:hover img:not(.yt-thumb-fix) {
                transform: scale(1.05);
            }

        /* Trường hợp 1 ẢNH */
        .iti-grid-1 {
            grid-template-columns: 1fr;
        }

            .iti-grid-1 a {
                height: 350px;
            }

        /* Trường hợp 2 ẢNH */
        .iti-grid-2 {
            grid-template-columns: 1fr 1fr;
        }

            .iti-grid-2 a {
                height: 260px;
            }

        /* Trường hợp 3 ẢNH */
        .iti-grid-3 {
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 150px 150px;
        }

            .iti-grid-3 a:nth-child(1) {
                grid-row: 1 / 3;
            }
            /* Cột trái chiếm 2 hàng */
            .iti-grid-3 a:nth-child(2), .iti-grid-3 a:nth-child(3) {
                height: 100%;
            }

        /* Trường hợp 4 ẢNH */
        .iti-grid-4 {
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 150px 150px;
        }

            .iti-grid-4 a:nth-child(1) {
                grid-column: 1 / 2;
                grid-row: 1 / 3;
            }

            .iti-grid-4 a:nth-child(2) {
                grid-column: 2 / 4;
                grid-row: 1 / 2;
            }
            /* Ảnh trên cùng bên phải trải dài */
            .iti-grid-4 a:nth-child(3) {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
            }

            .iti-grid-4 a:nth-child(4) {
                grid-column: 3 / 4;
                grid-row: 2 / 3;
            }

        /* Trường hợp 5 ẢNH TRỞ LÊN */
        .iti-grid-5 {
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 150px 150px;
        }

            .iti-grid-5 a:nth-child(1) {
                grid-column: 1 / 2;
                grid-row: 1 / 3;
            }

            .iti-grid-5 a:nth-child(2) {
                grid-column: 2 / 3;
                grid-row: 1 / 2;
            }

            .iti-grid-5 a:nth-child(3) {
                grid-column: 3 / 4;
                grid-row: 1 / 2;
            }

            .iti-grid-5 a:nth-child(4) {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
            }

            .iti-grid-5 a:nth-child(5) {
                grid-column: 3 / 4;
                grid-row: 2 / 3;
            }

        /* Ghi chú ảnh (GhiChuAnh) */
        .iti-caption {
            text-align: center;
            font-size: 14.5px;
            color: #4b5563;
            font-weight: 500;
            font-style: italic;
        }

        /* Lớp phủ Video & Thêm Ảnh */
        .gal-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #fff;
            transition: background 0.3s;
        }

            .gal-overlay:hover {
                background: rgba(0,0,0,0.1);
            }

        .gal-play-icon {
            width: 48px;
            height: 48px;
            background: #fff;
            color: var(--vt-secondary);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            padding-left: 4px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .gal-more-text {
            font-size: 15px;
            font-weight: 700;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        }

        /* Responsive Mobile */
        @media(max-width: 768px) {
            .iti-grid-1 a {
                height: 220px;
            }

            .iti-grid-2 {
                grid-template-columns: 1fr 1fr;
            }

                .iti-grid-2 a {
                    height: 150px;
                }

            .iti-grid-3 {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 200px 120px;
            }

                .iti-grid-3 a:nth-child(1) {
                    grid-column: 1 / 3;
                    grid-row: 1 / 2;
                }

            .iti-grid-4 {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 150px 150px;
            }

                .iti-grid-4 a:nth-child(1) {
                    grid-column: 1 / 2;
                    grid-row: 1 / 2;
                }

                .iti-grid-4 a:nth-child(2) {
                    grid-column: 2 / 3;
                    grid-row: 1 / 2;
                }

                .iti-grid-4 a:nth-child(3) {
                    grid-column: 1 / 2;
                    grid-row: 2 / 3;
                }

                .iti-grid-4 a:nth-child(4) {
                    grid-column: 2 / 3;
                    grid-row: 2 / 3;
                }

            .iti-grid-5 {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 180px 100px 100px;
            }

                .iti-grid-5 a:nth-child(1) {
                    grid-column: 1 / 3;
                    grid-row: 1 / 2;
                }

                .iti-grid-5 a:nth-child(2) {
                    grid-column: 1 / 2;
                    grid-row: 2 / 3;
                }

                .iti-grid-5 a:nth-child(3) {
                    grid-column: 2 / 3;
                    grid-row: 2 / 3;
                }

                .iti-grid-5 a:nth-child(4) {
                    grid-column: 1 / 2;
                    grid-row: 3 / 4;
                }

                .iti-grid-5 a:nth-child(5) {
                    grid-column: 2 / 3;
                    grid-row: 3 / 4;
                }
        }
