﻿/* P2 Site.Master — layout, header, footer, mega menu, tour search, cookie banner */
        :root {
            --vt-primary: darkorange;
            --vt-primary-dark: #e45d09;
            --vt-secondary: #1f2937;
            --vt-bg-light: #fcfcfc;
            --vt-footer-bg: #38220f;
            --vt-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            --bs-font-sans-serif: var(--vt-font-sans);
            --bs-body-font-family: var(--vt-font-sans);
            --bs-border-radius: 8px !important;
            --bs-border-radius-sm: 6px !important;
            --bs-border-radius-lg: 12px !important;
            --md3-shadow-1: 0 1px 2px 0 rgba(0,0,0,0.1), 0 1px 3px 0 rgba(0,0,0,0.06);
            --md3-shadow-2: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
            --md3-border-color: #dadce0;
        }

        .btn, .gradient-btn {
            padding: 6px 16px !important;
            border-radius: 30px !important;
            font-weight: bold;
            font-size: 12px;
            letter-spacing: 0.2px;
            box-shadow: none !important;
            transition: all 0.3s ease;
        }

            .btn:hover, .gradient-btn:hover {
                box-shadow: var(--md3-shadow-1) !important;
                /* background-color: transparent !important;*/
                border: solid 2px #ffa600;
            }




        .form-control, .form-select {
            background-color: #ffffff;
        }

            .form-control:focus, .form-select:focus {
                border-color: var(--vt-primary) !important;
                box-shadow: 0 0 0 2px rgba(222, 131, 9, 0.15) !important;
            }

        body {
            font-family: var(--vt-font-sans) !important;
            background-color: var(--vt-bg-light);
            color: #333;
            margin: 0;
            padding: 0;
            line-height: 1.5;
            letter-spacing: 0;
        }

        .custom-container {
            --site-container-max: 1200px;
            max-width: var(--site-container-max);
            margin: 0 auto;
            padding: 0 15px;
            width: 100%;
            display: block;
        }



        a {
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
        }

            a:hover {
                color: var(--vt-primary);
            }

        ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .gradient-btn {
            background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
            color: #fff;
            border: solid 2px #fff;
            display: inline-block;
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--md3-border-color);
            border-radius: 8px;
        }

            ::-webkit-scrollbar-thumb:hover {
                background: var(--vt-primary-dark);
            }

        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 2px;
            background: linear-gradient(270deg, #FFA600 0%, #F56F21 100%);
            z-index: 10001;
            transition: width 0.1s;
        }

        .header-pc {
            border-bottom: 1px solid var(--md3-border-color);
            box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
            -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
            z-index: 1040;
            background: linear-gradient(135deg, #f0fdf4 0%, #fff 55%, #fffbeb 100%);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 12px 0;
        }

            .header-pc a.site-logo-link {
                flex-shrink: 0;
                line-height: 0;
                max-height: none;
                padding: 4px 2px;
                margin: -4px -2px;
            }

            .header-pc .logo-img,
            .header-pc .header-logo-img {
                display: block;
                height: 50px !important;
                max-height: 50px !important;
                width: auto !important;
                max-width: 200px !important;
                object-fit: contain !important;
                transition: height 0.4s ease, max-height 0.4s ease;
            }

        .nav-link-custom {
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            color: #b06a50;
            margin-left: 20px;
            transition: 0.3s;
        }

            .nav-link-custom:hover {
                color: var(--vt-primary);
            }

        .top-action-bar {
            transition: all 0.4s ease;
            max-height: 50px;
            opacity: 1;
            overflow: hidden;
            transform: translateY(0);
        }

        .header-pc.scrolled {
            padding: 8px 0;
        }

            .header-pc.scrolled a.site-logo-link {
                padding: 3px 2px;
                margin: -3px -2px;
            }

            .header-pc.scrolled .logo-img,
            .header-pc.scrolled .header-logo-img {
                height: 38px !important;
                max-height: 38px !important;
                max-width: 160px !important;
            }

            .header-pc.scrolled .top-action-bar {
                max-height: 0;
                opacity: 0;
                margin-bottom: 0 !important;
                transform: translateY(-10px);
                pointer-events: none;
            }


        .has-mega {
            position: relative;
            cursor: pointer;
            padding-bottom: 20px;
            margin-bottom: -20px;
        }

        .mega-menu {
            display: grid;
            visibility: hidden;
            opacity: 0;
            position: absolute;
            top: 100%;
            /* [ĐÃ FIX]: Đổi left: -250px thành right: 0 để menu luôn bung vào trong, không tràn viền */
            right: 0;
            left: auto;
            background: #fff;
            padding: 25px;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            border: 1px solid var(--md3-border-color);
            border-top: 3px solid var(--vt-primary-dark) !important;
            box-shadow: var(--md3-shadow-2);
            border-radius: 12px;
            z-index: 1000;
            transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
            pointer-events: none;
            transform: translateY(15px);
        }

            .mega-menu::before {
                content: '';
                position: absolute;
                top: -20px;
                left: 0;
                width: 100%;
                height: 20px;
                background: transparent;
            }

        .has-mega:hover .mega-menu {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .has-mega:hover .fa-chevron-down {
            transform: rotate(180deg);
            color: var(--vt-primary-dark);
        }

        .mega-col h4 {
            font-size: 14px;
            color: var(--vt-primary);
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 3px;
            border-bottom: 0px solid orange;
            padding-bottom: 2px;
        }

        .mega-col ul li a {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            font-weight: 500;
            color: black;
            padding: 5px 2px;
            transition: 0.2s;
            white-space: nowrap;
        }

            .mega-col ul li a:hover {
                color: darkorange;
                padding-left: 5px;
                /* background: #fffdf5;*/
                border-radius: 8px;
            }

        /* ===== MEGA MENU TOUR (3 CẤP) — GIỐNG SAIGONTIMESTRAVEL ===== */
        .has-mega--tour .mega-menu--tour {
            --mega-col-w: 240px;
            --mega-gap-x: 28px;
            --mega-pad-x: 52px;
            width: auto;
            max-width: min(var(--site-container-max, 1100px), 100vw);
            box-sizing: border-box;
            gap: 6px var(--mega-gap-x);
            padding: 22px calc(var(--mega-pad-x) / 2);
            border: 1px solid #ececec;
            border-top: 1px solid #ececec !important;
            border-radius: 14px;
            box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
        }

        .mega-menu--tour.mega-cols-1 {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }

        .mega-menu--tour.mega-cols-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .mega-menu--tour.mega-cols-3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .mega-menu--tour.mega-cols-4 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        .mega-menu--tour.mega-cols-5 {
            grid-template-columns: repeat(5, minmax(0, 1fr));
        }

        /* >3 cột và <=3 cột: cùng fixed, canh theo custom-container (JS set left/top/width) */
        .has-mega--tour .mega-menu--tour.mega--centered,
        .has-mega--tour .mega-menu--tour.mega--anchored {
            position: fixed;
            top: 120px;
            left: 0;
            background: linear-gradient(62deg, #f0fdf4 0%, #fffffff7 55%, #fcf9eb 100%);
            right: auto;
            transform: translateY(15px);
        }

        .has-mega--tour:hover .mega-menu--tour.mega--centered,
        .has-mega--tour:hover .mega-menu--tour.mega--anchored {
            transform: translateY(0);
        }

        .mega-menu--tour .mega-col {
            display: flex;
            flex-direction: column;
            min-width: 0;
            width: 100%;
        }

        .mega-col__title {
            margin: 0 0 4px;
            /*padding-bottom: 10px;*/
            border-bottom: 1px solid #e6e6e6;
        }

            .mega-col__title a {
                display: inline-flex;
                align-items: center;
                gap: 9px;
                font-size: 13px;
                font-weight: 700;
                text-transform: uppercase;
                color: darkorange;
                letter-spacing: 0.01em;
                white-space: nowrap;
                transition: color 0.18s;
                text-decoration: none;
            }

                .mega-col__title a:hover {
                    color: var(--vt-primary-dark);
                }

        .mega-col__list {
            list-style: none;
            margin: 0;
            padding: 6px 0 2px;
            flex: 1 1 auto;
        }

            .mega-col__list li {
                margin: 0;
            }

                .mega-col__list li a {
                    display: flex;
                    align-items: center;
                    gap: 9px;
                    padding: 5px 0;
                    font-size: 13.5px;
                    font-weight: 500;
                    color: #3a3a3a;
                    white-space: nowrap;
                    text-transform: capitalize;
                    text-decoration: none;
                    transition: color 0.18s;
                }

                    .mega-col__list li a:hover {
                        color: var(--vt-primary-dark);
                        text-decoration: none;
                    }

                        .mega-col__list li a:hover .mega-link-text {
                            text-decoration: none;
                        }

        .mega-flag-icon {
            width: 20px;
            height: 20px;
            min-width: 20px;
            max-width: 20px;
            flex: 0 0 20px;
            display: inline-block;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            border-radius: 50%;
            box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
        }

        .mega-flag-icon-fa {
            width: 20px;
            height: 20px;
            min-width: 20px;
            max-width: 20px;
            flex: 0 0 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            line-height: 1;
            color: var(--vt-primary-dark);
        }

        .mega-col__title .mega-flag-icon-fa {
            color: darkorange;
        }

        .mega-link-text {
            min-width: 0;
        }

        .mega-col__more {
            /* display: inline-flex;*/
            display: none;
            align-items: center;
            gap: 6px;
            margin-top: auto;
            padding-top: 10px;
            font-size: 12.5px;
            font-weight: 500;
            color: #8a8a8a;
            transition: color 0.18s, gap 0.18s;
        }

            .mega-col__more:hover {
                color: var(--vt-primary-dark);
                gap: 10px;
            }

        /* ===== Ô TÌM KIẾM TOUR (HEADER PC) ===== */
        .tour-search {
            position: relative;
            display: flex;
            align-items: center;
        }

        .tour-search__toggle {
            width: 30px;
            height: 29px;
            border: 0px solid #e3d3c7;
            background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
            color: white;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

            .tour-search__toggle:hover {
                background: var(--vt-primary);
                color: #fff;
                border-color: var(--vt-primary);
            }

        .tour-search__box {
            position: fixed;
            top: 100px;
            right: 20px;
            transform: translateY(-50%);
            width: 0;
            max-width: calc(100vw - 40px);
            height: 32px;
            background: #fff;
            border: 2px solid #e08411;
            border-radius: 30px;
            display: flex;
            align-items: center;
            padding: 0;
            overflow: hidden;
            white-space: nowrap;
            /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);*/
            opacity: 0;
            pointer-events: none;
            transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), padding 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s ease;
            z-index: 100000;
        }

            .tour-search__box.is-open {
                width: 340px;
                padding: 0 8px 0 14px;
                opacity: 1;
                pointer-events: auto;
            }

        /* Chỉ ẩn icon PC khi mở; mobile giữ nút để đóng */
        #tourSearch.open .tour-search__toggle {
            opacity: 0;
            pointer-events: none;
        }

        #tourSearchMobile.open .tour-search__toggle {
            opacity: 1;
            pointer-events: auto;
        }

        .tour-search__box--mobile.is-open {
            width: calc(100vw - 24px) !important;
            max-width: 360px;
            height: 40px;
            transform: none;
            padding: 0 10px 0 14px;
        }

        .tour-search__panel--mobile {
            width: calc(100vw - 24px);
            max-width: 360px;
        }

        .tour-search__icon {
            color: #b9a99d;
            font-size: 13px;
            flex-shrink: 0;
        }

        .tour-search__input {
            flex: 1 1 auto;
            min-width: 0;
            border: none;
            outline: none;
            background: transparent;
            font-size: 13.5px;
            color: #333;
            padding: 0 8px;
            height: 100%;
        }

        .tour-search__clear {
            border: none;
            background: transparent;
            color: #b9a99d;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            cursor: pointer;
            /* display: none;*/
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .tour-search__box.has-text .tour-search__clear {
            display: inline-flex;
        }

        .tour-search__clear:hover {
            background: #f3eee9;
            color: var(--vt-primary-dark);
        }

        .tour-search__panel {
            position: fixed;
            top: 130px;
            right: 20px;
            width: 380px;
            max-width: calc(100vw - 40px);
            max-height: 70vh;
            overflow-y: auto;
            background: #fff;
            border: 1px solid #ececec;
            border-radius: 12px;
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
            padding: 6px;
            display: none;
            z-index: 100001;
        }

            .tour-search__panel.is-shown {
                display: block;
            }

        .ts-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            border-radius: 9px;
            text-decoration: none;
            color: #333;
            transition: background 0.15s ease;
        }

            .ts-item:hover,
            .ts-item.active {
                background: #fff7ef;
            }

        .ts-item__img {
            width: 75px;
            height: 55px;
            min-width: 55px;
            border-radius: 5px;
            object-fit: cover;
            background: #f1ede9;
            flex-shrink: 0;
        }

        .ts-item__body {
            min-width: 0;
            flex: 1 1 auto;
        }

        .ts-item__code {
            display: inline-block;
            font-size: 11px;
            font-weight: 700;
            color: white;
            background-color: orange;
            padding: 1px 7px;
            border-radius: 5px;
            margin-bottom: 3px;
            letter-spacing: 0.02em;
        }

        .ts-item__name {
            font-size: 13px;
            font-weight: 600;
            color: #2b2b2b;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .ts-item:hover .ts-item__name {
            color: var(--vt-primary-dark);
        }

        .ts-empty,
        .ts-loading {
            padding: 18px 12px;
            text-align: center;
            color: #9a9a9a;
            font-size: 13px;
        }

            .ts-empty i,
            .ts-loading i {
                display: block;
                font-size: 22px;
                margin-bottom: 6px;
                color: #cfcfcf;
            }

        .header-mobile {
            height: 64px;
            background: #fff;
            border-bottom: 1px solid var(--md3-border-color);
            box-shadow: var(--md3-shadow-1);
            z-index: 1040;
        }

        #mobile-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(2px);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
        }

            #mobile-overlay.active {
                opacity: 1;
                visibility: visible;
            }

        #mobile-sidebar {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background: #fff;
            z-index: 9999;
            transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
            box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        }

            #mobile-sidebar.active {
                right: 0;
            }

        .mob-link {
            display: block;
            padding: 15px 20px;
            font-weight: 700;
            color: var(--vt-secondary);
            text-transform: uppercase;
            border-bottom: 1px solid #eee;
        }

        .mob-has-mega .mob-sub {
            display: none;
            background: #fdf8f5;
            padding: 10px 20px;
        }

        .mob-has-mega.open .mob-sub {
            display: block;
            animation: slideDown 0.3s ease;
        }

        .mob-has-mega.open > .mob-link {
            color: var(--vt-primary-dark);
        }

        .mob-sub a {
            display: block;
            padding: 10px 0;
            font-size: 14px;
            color: #444;
            border-bottom: 1px solid var(--md3-border-color);
            font-weight: 500;
        }

        /* Menu mobile — tour 3 cấp (accordion châu lục) */
        #mobile-sidebar .mob-tour-region {
            border-bottom: 1px solid #eee;
        }

        #mobile-sidebar .mob-tour-region__head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 12px 0;
            border: none;
            background: transparent;
            font-weight: 700;
            font-size: 13px;
            color: var(--vt-secondary);
            text-transform: uppercase;
            cursor: pointer;
            text-align: left;
        }

        #mobile-sidebar .mob-tour-region.is-open .mob-tour-region__head {
            color: var(--vt-primary-dark);
        }

        #mobile-sidebar .mob-tour-region__head i {
            font-size: 11px;
            transition: transform 0.2s;
        }

        #mobile-sidebar .mob-tour-region.is-open .mob-tour-region__head i {
            transform: rotate(180deg);
        }

        #mobile-sidebar .mob-tour-region__body {
            display: none;
            padding: 0 0 8px 10px;
        }

        #mobile-sidebar .mob-tour-region.is-open .mob-tour-region__body {
            display: block;
        }

        #mobile-sidebar .mob-tour-region__body a {
            border-bottom: 1px dashed #e8e8e8;
            font-size: 13px;
            font-weight: 500;
        }

            #mobile-sidebar .mob-tour-region__body a.mob-tour-more {
                border-bottom: none;
                color: var(--vt-primary-dark);
                font-weight: 700;
            }

        #mobile-sidebar .mob-sub img,
        #mobile-sidebar .mob-tour-region img {
            display: none !important;
        }

        /* Ẩn mega menu desktop trên màn hình nhỏ (dùng sidebar mobile thay thế) */
        @media (max-width: 991.98px) {
            .has-mega .mega-menu,
            .has-mega--tour .mega-menu--tour {
                display: none !important;
            }
        }

        @media (min-width: 992px) and (max-width: 1199.98px) {
            .has-mega--tour .mega-menu--tour {
                --mega-col-w: 200px;
                --mega-gap-x: 16px;
                --mega-pad-x: 36px;
                max-width: min(var(--site-container-max, 1200px), 100vw);
                gap: 6px var(--mega-gap-x);
                padding: 18px calc(var(--mega-pad-x) / 2);
            }

            .mega-col__title a {
                font-size: 12px;
            }

            .mega-col__list li a {
                font-size: 12.5px;
                gap: 7px;
            }

            .mega-flag-icon {
                width: 20px;
                min-width: 20px;
                max-width: 20px;
                flex: 0 0 20px;
                height: 20px;
            }

            .mega-flag-icon-fa {
                width: 20px;
                min-width: 20px;
                max-width: 20px;
                flex: 0 0 20px;
                height: 20px;
                font-size: 13px;
            }
        }

        .footer-wrap {
            background: linear-gradient(59deg, #FFD000 0%, #FF5722 100%);
            color: #f3f5f9;
            margin-top: 30px;
            padding: 80px 0 5px;
            border-top: 3px solid #eab308;
            position: relative;
            font-size: small;
        }

        .newsletter-box {
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            width: 92%;
            max-width: 1050px;
            background: linear-gradient(277deg, #f0fdf4 0%, #ffffff 55%, #fffbeb 100%);
            padding: 25px 30px;
            z-index: 20;
            border: 1px solid #fde047 !important;
            border-radius: 12px;
            box-shadow: var(--md3-shadow-2);
        }

        /* 1. HIỆU ỨNG CHO LOGO (TỰ ĐỘNG CHẠY) */
        @keyframes logo-pulse {
            0%, 100% {
                transform: scale(1);
                filter: drop-shadow(0 0 0 rgba(222, 131, 9, 0));
            }

            50% {
                transform: scale(1.035);
                filter: drop-shadow(0 3px 10px rgba(222, 131, 9, 0.18));
            }
        }

        /* Vệt sáng lướt qua logo — nhẹ, đồng bộ shimmer site */
        .site-logo-link {
            position: relative;
            overflow: visible;
            display: inline-flex;
            align-items: center;
            flex-shrink: 0;
            line-height: 0;
            transform-origin: center center;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            animation: logo-pulse 4.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
            will-change: transform;
        }

            .site-logo-link .logo-img,
            .site-logo-link .header-logo-img {
                position: relative;
                z-index: 0;
                transform: none;
                filter: none;
                animation: none;
            }

            .site-logo-link::after {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 42%;
                height: 100%;
                z-index: 1;
                background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.26) 50%, rgba(255, 255, 255, 0) 100%);
                transform: skewX(-22deg);
                pointer-events: none;
                animation: shimmer-sweep 5s ease-in-out infinite;
                border-radius: inherit;
            }

            .site-logo-link:hover {
                animation-play-state: paused;
            }

            .site-logo-link:hover::after {
                animation-play-state: paused;
            }

        @media (prefers-reduced-motion: reduce) {
            .site-logo-link {
                animation: none;
            }

            .site-logo-link::after {
                animation: none;
                content: none;
            }
        }

        .header-mobile .site-logo-link {
            padding: 3px 2px;
            margin: -3px -2px;
        }

        .header-mobile .header-logo-img,
        #mobile-sidebar .header-logo-img {
            display: block;
            height: 35px !important;
            max-height: 35px !important;
            width: auto !important;
            max-width: 160px !important;
            object-fit: contain !important;
        }

        /* 2. HIỆU ỨNG BAY BỔNG (FLOATING) CHO KHỐI YÊU CẦU */
        @keyframes float-gentle {
            0% {
                transform: translateX(-50%) translateY(0px);
            }

            50% {
                transform: translateX(-50%) translateY(-8px);
            }

            100% {
                transform: translateX(-50%) translateY(0px);
            }
        }

        .newsletter-box {
            animation: float-gentle 4s ease-in-out infinite;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 2px dashed #e89906 !important;
        }

            .newsletter-box:hover {
                animation-play-state: paused;
                transform: translateX(-50%) translateY(-5px) scale(1.02);
                box-shadow: 0 15px 30px rgba(222, 131, 9, 0.2) !important;
                border-color: var(--vt-primary) !important;
            }

        /* 3. HIỆU ỨNG RUNG LẮC (WIGGLE) CHO ICON EMAIL */
        @keyframes wiggle-icon {
            0%, 7% {
                transform: rotateZ(0);
            }

            15% {
                transform: rotateZ(-15deg);
            }

            20% {
                transform: rotateZ(10deg);
            }

            25% {
                transform: rotateZ(-10deg);
            }

            30% {
                transform: rotateZ(6deg);
            }

            35% {
                transform: rotateZ(-4deg);
            }

            40%, 100% {
                transform: rotateZ(0);
            }
        }

        .newsletter-icon {
            animation: wiggle-icon 3s infinite;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
        }

        /* 4. HIỆU ỨNG DẢI MÀU CHẠY (SHINE) CHO NÚT BẤM */
        @keyframes gradient-shine {
            0% {
                background-position: 0% center;
            }

            100% {
                background-position: 300% center;
            }
        }

        .btn-call-action {
            background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%);
            background-size: 200% auto;
            color: #fffbf8 !important;
            border: solid 1px #fff;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
            animation: gradient-shine 3s linear infinite;
        }

            .btn-call-action:hover {
                transform: translateY(-2px) scale(1.05);
                box-shadow: 0 8px 20px rgba(222, 131, 9, 0.6) !important;
                color: #fff !important;
            }

        /* .btn {
            border-color: #ff980061
        }*/

        /* Video toolbar: ưu tiên độ mượt + dễ bấm trên mobile */
        .ola-ad-video__toolbar .ad-link-btn,
        .ola-ad-video__toolbar .ad-expand-btn,
        .ola-ad-video__toolbar .sound-toggle-btn {
            pointer-events: auto !important;
            min-height: 44px;
            min-width: 44px;
            padding: 8px 12px;
            touch-action: manipulation;
            transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease !important;
            will-change: auto;
        }

        .ola-ad-video__toolbar,
        .ola-ad-video__toolbar-actions {
            pointer-events: auto !important;
        }

            .ola-ad-video__toolbar .ad-link-btn:hover,
            .ola-ad-video__toolbar .ad-expand-btn:hover,
            .ola-ad-video__toolbar .sound-toggle-btn:hover {
                transform: none !important;
            }

        .bg-danger {
            background: darkorange !important
        }

        /* 5. HIỆU ỨNG NHỊP ĐẬP TỎA SÓNG (PULSE RIPPLE) CHO HOTLINE */
        @keyframes hotline-ripple {
            0% {
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
                transform: scale(1);
            }

            70% {
                box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
                transform: scale(1.03);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
                transform: scale(1);
            }
        }

        .hotline-animated {
            animation: hotline-ripple 1.5s infinite;
            transition: all 0.3s ease;
            cursor: pointer;
            border: solid 2px #fff;
            background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
        }

            .hotline-animated:hover {
                transform: scale(1.1) !important;
                box-shadow: 0 8px 15px rgba(220, 53, 69, 0.4) !important;
                animation-play-state: paused;
            }

        /* 6. HIỆU ỨNG VỆT SÁNG LƯỚT QUÁ (SHIMMER) NHẸ NHÀNG */
        .btn-shimmer {
            position: relative;
            overflow: hidden;
        }

            .btn-shimmer::after {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 50%;
                height: 100%;
                background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
                transform: skewX(-25deg);
                animation: shimmer-sweep 5s infinite;
            }

        @keyframes shimmer-sweep {
            0% {
                left: -100%;
            }

            20% {
                left: 100%;
            }

            100% {
                left: 200%;
            }
        }

        .note-modal-footer {
            height: 50px !important;
        }

        /* ================= NÚT LÊN ĐẦU TRANG & FAB GROUP ================= */
        .fab-group {
            position: fixed;
            bottom: 70px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 99999;
        }

        .btn-back-to-top {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            background: linear-gradient(270deg, #FFA600 0%, #F56F21 100%);
            box-shadow: var(--md3-shadow-2);
            font-size: 18px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
            border: none;
            outline: none;
            cursor: pointer;
        }

            .btn-back-to-top.is-visible {
                opacity: 1 !important;
                visibility: visible !important;
                transform: translateY(0) !important;
            }

            .btn-back-to-top:hover {
                transform: scale(1.1) !important;
                color: #fff;
            }

        /* ================= FIX LỖI ZALO WIDGET CHẠY SANG TRÁI ================= */
        .zalo-chat-widget, .zalo-chat-widget iframe {
            left: auto !important;
            right: 8px !important;
            bottom: 70px !important;
            z-index: 99998 !important;
        }



        /* ========================================================= */
        /* FIX FANCYBOX THUMBS: KẾT HỢP BIẾN HỆ THỐNG CĂN GIỮA      */
        /* ========================================================= */

        /* 1. KHUNG CHỨA TỔNG - ÉP CÁC BIẾN HỆ THỐNG CỦA FANCYBOX V5 */
        .fancybox__footer,
        .fancybox__thumbs,
        .is-compact .fancybox__thumbs {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            width: 100% !important;
            left: 0 !important;
            right: 0 !important;
            margin: 0 auto !important;
            /* [THÊM BIẾN CỦA BẠN]: Ép tham số gốc của Fancybox */
            --f-thumb-width: 80px !important;
            --f-thumb-clip-width: 80px !important;
            --f-thumb-height: 60px !important; /* Đồng bộ 60px cho ảnh thoáng */
            --f-thumb-gap: 12px !important;
            --f-thumb-extra-gap: 12px !important;
        }

            /* 2. KHUNG NHÌN (VIEWPORT) */
            .fancybox__thumbs .f-carousel__viewport,
            .fancybox__thumbs .f-thumbs__viewport {
                display: flex !important;
                justify-content: center !important;
                align-items: center !important;
                width: 100% !important;
                max-width: 100% !important;
                position: relative !important;
                left: auto !important;
                overflow-x: auto !important;
                overflow-y: hidden !important;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

                .fancybox__thumbs .f-carousel__viewport::-webkit-scrollbar,
                .fancybox__thumbs .f-thumbs__viewport::-webkit-scrollbar {
                    display: none;
                }

            /* 3. BĂNG CHUYỀN (TRACK) */
            .fancybox__thumbs .f-carousel__track,
            .fancybox__thumbs .f-thumbs__track {
                transform: none !important; /* Chặn đứng hoàn toàn JS dịch chuyển track */
                display: inline-flex !important;
                width: max-content !important;
                max-width: max-content !important;
                --width: auto !important; /* Bẻ gãy chiều rộng cố định ảo của JS */
                min-width: auto !important;
                margin: 0 auto !important; /* Ép cả dải ảnh bám vào trung tâm */
                padding: 15px !important;
                gap: 12px !important;
                box-sizing: border-box !important;
            }

            /* 4. TỪNG BỨC ẢNH CON */
            .fancybox__thumbs .f-carousel__slide,
            .fancybox__thumbs .f-thumbs__slide {
                position: relative !important;
                left: 0 !important; /* Triệt tiêu left ảo của JS */
                top: auto !important;
                transform: none !important;
                /* Ép cứng kích thước bên ngoài */
                flex: 0 0 80px !important;
                width: 80px !important;
                height: 60px !important;
                padding: 0 !important;
                margin: 0 !important;
                border-radius: 6px !important;
                opacity: 0.4 !important;
                transition: all 0.2s ease !important;
                cursor: pointer !important;
                overflow: hidden !important;
            }

                /* Ép ảnh lấp đầy khung */
                .fancybox__thumbs .f-carousel__slide img,
                .fancybox__thumbs .f-thumbs__slide img,
                .fancybox__thumbs .f-thumbs__slide__img {
                    width: 100% !important;
                    height: 100% !important;
                    object-fit: cover !important;
                }

                /* 5. ĐÁNH DẤU ẢNH ĐANG XEM (ACTIVE) */
                .fancybox__thumbs .f-carousel__slide.is-nav-selected,
                .fancybox__thumbs .f-thumbs__slide.is-nav-selected {
                    opacity: 1 !important;
                    border: 2px solid #ffffff !important;
                }

        .header-center-mobile {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .header-center-mobile .btn {
                white-space: nowrap;
            }

        #tourSearchMobile .tour-search__toggle {
            width: 30px;
            height: 30px;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
            color: #fff;
            font-size: 13px;
        }

/* Cookie consent banner */
        .cookie-consent-banner {
            display: none;
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(120%);
            width: min(92%, 760px);
            background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 55%, #fffbeb 100%);
            color: #334155;
            padding: 6px 9px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
            z-index: 999999;
            border-radius: 50px;
            border-left: 2px solid #d9851e;
            border-right: 2px solid #d9851e;
            opacity: 0;
            transition: opacity 0.25s ease, transform 0.3s ease;
            align-items: center;
            gap: 10px;
        }

            .cookie-consent-banner.show {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }

            .cookie-consent-banner .cookie-text {
                margin: 0;
                font-size: 14px;
                line-height: 1.45;
                flex: 1 1 auto;
                display: inline-flex;
                align-items: center;
                gap: 8px;
            }

            .cookie-consent-banner .cookie-text__msg a {
                color: #0b57d0;
                text-decoration: underline;
            }

        .btn-accept-cookie {
            background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
            color: #fff;
            border: none;
            border-radius: 30px;
            padding: 5px 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
        }

        .cookie-consent-banner__close {
            border: none;
            background: transparent;
            color: #64748b;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            padding: 0 4px;
        }

        @media (max-width: 768px) {
            .cookie-consent-banner {
                width: calc(100% - 20px);
                bottom: 70px;
                padding: 12px;
                border-left: none;
                border-top: 4px solid #ef9312;
                flex-wrap: inherit;
            }
        }
