/* TRAVEL/P2 theme pack — gộp file, cùng thứ tự rule. Nguồn gốc giữ nguyên để rollback. */

/* ==== inter.css ==== */
/*
 * Inter v4.1 — self-hosted (official rsms/inter)
 * Source: https://github.com/rsms/inter/releases/tag/v4.1
 * License: SIL Open Font License 1.1 (see ../fonts/inter/LICENSE.txt)
 *
 * ===========================================================================
 * VÌ SAO FILE NÀY ĐƯỢC VIẾT LẠI (tối ưu tốc độ tải)
 * ===========================================================================
 * Bản cũ khai 24 khối @font-face cho cùng một bộ chữ:
 *   · 2 khối cho family "InterVariable"  → InterVariable[-Italic].woff2
 *   · 2 khối cho family "Inter"          → Inter[-Italic]-VariableFont_slnt,wght.woff2
 *     (đây là BẢN SAO y hệt của hai file trên, chỉ khác tên — 722 KB trùng lặp)
 *   · 18 khối tĩnh cho family "Inter"    → Inter-Thin … Inter-BlackItalic (mỗi file ~110 KB)
 *
 * Vấn đề: 18 khối tĩnh khai SAU khối variable của cùng family "Inter" và cùng
 * font-style, nên theo thứ tự CSS chúng GHI ĐÈ bản variable. Kết quả đo thật trên
 * trang chủ: trình duyệt tải 7 file font Inter (InterVariable, 2 bản variable trùng,
 * rồi Light + Medium + SemiBold + Bold) cho MỘT bộ chữ. CSS của P2 dùng tới 9 mức
 * đậm khác nhau (100…900) nên số file còn có thể tăng thêm.
 * Thêm nữa, Site.Master preload InterVariable.woff2 — nhưng vì bị các khối tĩnh ghi
 * đè nên phần preload đó gần như bị bỏ không.
 *
 * Cách viết lại: một file variable phủ toàn bộ 100–900. Các file tĩnh chỉ còn nằm
 * trong @supports not (...) làm đường lùi cho trình duyệt không hỗ trợ variable font,
 * nên trình duyệt hiện đại KHÔNG bao giờ tải chúng.
 * Kết quả: 7 file → 2 file (thường + nghiêng), và preload phát huy đúng tác dụng.
 *
 * KHÔNG xoá các file .woff2 tĩnh và bản variable trùng tên trên đĩa: theme khác
 * (NEWS/P1, SHOP/P1, LANDINGPAGE, Pos) vẫn tham chiếu tới chúng.
 * ===========================================================================
 */

:root {
    --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
}

/* ---------------------------------------------------------------------------
   Variable font — MỘT file cho mọi mức đậm 100–900.
   Khai cho cả "Inter" và "InterVariable" (cùng trỏ một file) để CSS cũ gọi tên
   nào cũng chạy, và cả hai đều dùng đúng file đã được preload.
   --------------------------------------------------------------------------- */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/InterVariable.woff2) format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/InterVariable-Italic.woff2) format("woff2");
}

@font-face {
    font-family: InterVariable;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/InterVariable.woff2) format("woff2");
}

@font-face {
    font-family: InterVariable;
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/InterVariable-Italic.woff2) format("woff2");
}

/* ---------------------------------------------------------------------------
   Đường lùi cho trình duyệt KHÔNG hỗ trợ variable font.
   Nằm trong @supports nên trình duyệt hiện đại không tải các file này.
   Chỉ giữ 4 mức đậm mà P2 dùng nhiều nhất (400 / 500 / 600 / 700); các mức còn
   lại trình duyệt tự làm đậm/nhạt gần đúng thay vì tải thêm ~110 KB mỗi mức.
   --------------------------------------------------------------------------- */
@supports not (font-variation-settings: normal) {
    @font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: url(../fonts/inter/Inter-Regular.woff2) format("woff2");
    }

    @font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 500;
        font-display: swap;
        src: url(../fonts/inter/Inter-Medium.woff2) format("woff2");
    }

    @font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-display: swap;
        src: url(../fonts/inter/Inter-SemiBold.woff2) format("woff2");
    }

    @font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 700;
        font-display: swap;
        src: url(../fonts/inter/Inter-Bold.woff2) format("woff2");
    }

    @font-face {
        font-family: "Inter";
        font-style: italic;
        font-weight: 400;
        font-display: swap;
        src: url(../fonts/inter/Inter-Italic.woff2) format("woff2");
    }
}

@supports (font-variation-settings: normal) {
    :root {
        font-optical-sizing: auto;
    }
}


/* ==== ola-fa-tune.css ==== */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../vendor/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../vendor/font-awesome/6.4.0/webfonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../vendor/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2");
}

/* ==== ola-travel-images.css ==== */
/**
 * TRAVEL P2 — ảnh lấp đầy khung card / gallery grid (không bị height:auto toàn cục).
 */
#OLA .tour-grid a,
#OLA .iti-grid a,
#OLA .tour-img-wrap,
#OLA .tc-img-wrap,
#OLA .promo-item,
#OLA .bento-item,
#OLA .ba-item,
#OLA .gal-item,
#OLA .album-grid-custom .album-item {
    position: relative;
    overflow: hidden;
}

#OLA .album-grid-custom .album-item {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    line-height: 0;
    background: #e9ecef;
}

    #OLA .album-grid-custom .album-item > 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;
    }

    #OLA .album-grid-custom .album-item:hover > img {
        transform: scale(1.05);
    }

/* Logo đối tác / báo chí — contain, không bị rule tour grid ghi đè */
#OLA .partner-box img,
#OLA .press-section .press-item img {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
}

#OLA .partner-box img {
    max-height: 56px !important;
}

#OLA .press-section .press-item img {
    max-height: 52px !important;
}

/* Hero banner trang chủ — ảnh cover full .hero-slide */
#OLA .hero-wrap .hero-slide.hero-slide--image > a,
#OLA .hero-wrap .hero-slide.hero-slide--image > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

#OLA .hero-wrap .hero-slide.hero-slide--image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
}

#OLA .tour-grid a,
#OLA .iti-grid a {
    display: block;
    height: 100%;
    min-height: 100%;
    background: #f0f0f0;
}

#OLA .tour-grid img,
#OLA .iti-grid img,
#OLA .tour-img-wrap > img,
#OLA .tour-img-wrap img,
#OLA .tc-img-wrap img,
#OLA .tc-img-wrap img.main-img,
#OLA .bento-item > img,
#OLA .tour-card-gold .tour-img-wrap img,
#OLA .tc-horizontal .tour-img-wrap 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;
    display: block !important;
}

    /* Thumbnail video YouTube trong gallery tour */
    #OLA .tour-grid img.yt-thumb-fix,
    #OLA .iti-grid img.yt-thumb-fix {
        transform: scale(1.2);
        object-position: center center !important;
    }

#OLA .tour-grid a:hover img.yt-thumb-fix,
#OLA .iti-grid a:hover img.yt-thumb-fix {
    transform: scale(1.35);
}

#OLA .tour-grid a:hover img:not(.yt-thumb-fix),
#OLA .iti-grid a:hover img:not(.yt-thumb-fix) {
    transform: scale(1.05);
}

/* Promo / slider: khung cố định chiều cao */
#OLA .promo-item {
    display: block;
    min-height: 270px;
}

    #OLA .promo-item > img {
        position: relative !important;
        inset: auto !important;
        height: 270px !important;
        min-height: 270px !important;
    }

/* Bento dùng background hoặc img absolute */
#OLA .bento-item,
#OLA .ba-item {
    min-height: 200px;
}

    #OLA .bento-item > img {
        position: absolute !important;
    }

/* Card tin danh mục — ảnh lấp đầy khung .nc-img */
#OLA a.news-card .nc-img {
    line-height: 0;
    flex-shrink: 0;
}

    #OLA a.news-card .nc-img img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
    }

/* Ảnh trong nội dung HTML bài viết — giữ tỷ lệ tự nhiên */
#OLA .html-content img,
#OLA .article-content img,
#main-content .html-content img,
#main-content .article-content img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#OLA .block-collage .block-collage__item img,
#OLA .html-content .block-collage .block-collage__item img,
#OLA .article-content .block-collage .block-collage__item img,
#main-content .block-collage .block-collage__item img,
#main-content .html-content .block-collage .block-collage__item img,
#main-content .article-content .block-collage .block-collage__item img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Lưới ảnh lịch trình trong .html-content — cover full khung grid */
#OLA .html-content .iti-media-wrapper .iti-grid a {
    display: block;
    width: 100%;
    line-height: 0;
}

#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;
}

/* Mobile: 1 khung avatar 16/12 — giống trang chủ, không cao thấp theo từng ảnh */
@media (max-width: 767.98px) {
    #OLA .tour-img-wrap,
    #OLA .tc-img-wrap {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 16 / 12;
    }

    #OLA .tour-img-wrap > img,
    #OLA .tour-img-wrap img,
    #OLA .tc-img-wrap img,
    #OLA .tc-img-wrap img.main-img,
    #OLA .tour-card-gold .tour-img-wrap img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

/* ===== Chuẩn A: khung ảnh / thẻ 12px — clip ở wrap, không bo 4 góc ảnh trong card ===== */
#OLA .tour-card,
#OLA .tour-card-gold,
#OLA .news-card,
#OLA .promo-item,
#OLA .bento-item,
#OLA .ba-item,
#OLA .album-item,
#OLA .masonry-item,
#OLA .partner-box,
#OLA .press-item,
#OLA .related-card,
#OLA .page-swiper,
#OLA .map-container,
#OLA .map-box,
#OLA .sidebar-banner-item {
    border-radius: var(--p2-radius-img, 12px);
    overflow: hidden;
}

#OLA .tc-img-wrap,
#OLA .tour-img-wrap,
#OLA .tch-img-wrap,
#OLA .nc-img {
    overflow: hidden;
}

@media (min-width: 992px) {
    #OLA .p2-deptabs .p2-deptab-card .tc-img-wrap {
        border-radius: var(--p2-radius-img, 12px) 0 0 var(--p2-radius-img, 12px);
        overflow: hidden;
    }
}

/* Gallery chi tiết tour: bo cả cụm (như cũ), không bo từng ô */
#OLA .tour-grid {
    border-radius: 16px;
    overflow: hidden;
}

#OLA .tour-grid a {
    border-radius: 0;
}

#OLA .block-gallery .iti-grid {
    border-radius: 0;
    overflow: visible;
}

#OLA .iti-grid a {
    border-radius: var(--p2-radius-img, 12px);
    overflow: hidden;
}

/* ==== p2-typography.css ==== */
/* Typography chuẩn P2 — Inter self-host v4.1 (load sau Bootstrap/vendor) */
:root {
    --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);
}

@supports (font-variation-settings: normal) {
    :root {
        --vt-font-sans: "InterVariable", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }
}

html {
    font-family: var(--vt-font-sans);
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1, 'calt' 1;
}

@supports (font-variation-settings: normal) {
    html {
        font-optical-sizing: auto;
    }
}

body,
button,
input,
optgroup,
select,
textarea,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
p, span, label, legend, small, strong, em, b, i,
a, li, td, th, dt, dd,
nav, header, footer, aside, main, section, article,
.form-control,
.form-select,
.input-group-text,
.btn,
.dropdown-menu,
.dropdown-item,
.modal,
.modal-title,
.modal-body,
.offcanvas,
.navbar,
.navbar-nav,
.card,
.card-title,
.card-body,
.card-header,
.card-footer,
.table,
.list-group,
.list-group-item,
.breadcrumb,
.breadcrumb-item,
.pagination,
.page-link,
.alert,
.badge,
.nav,
.nav-link,
.tab-content,
.tab-pane,
.accordion,
.accordion-button,
.accordion-body,
.popover,
.tooltip,
.toast,
.toast-body,
.swiper,
.select2-container,
.select2-container .select2-selection--single .select2-selection__rendered,
.select2-container .select2-selection--multiple .select2-selection__rendered,
.select2-results__option,
.flatpickr-calendar,
.flatpickr-months,
.flatpickr-weekdays,
.flatpickr-day,
.swal2-popup,
.swal2-title,
.swal2-html-container,
.swal2-confirm,
.swal2-cancel,
.note-editable {
    font-family: var(--vt-font-sans) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

/* Icon fonts — không bị ghi đè bởi Inter (Font Awesome 6.4.0 self-host) */
.fa,
.fas,
.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.far,
.fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
    font-style: normal;
}

.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
    font-style: normal;
}

[class*=" note-icon"]:before,
[class^="note-icon"]:before {
    font-family: summernote !important;
    font-style: normal;
    font-weight: 400;
    text-transform: none;
}


/* ==== p2-master.css ==== */
/* 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;
    --p2-radius-img: 12px;
    --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: 10px 15px !important;
    border-radius: 30px !important;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.2px;
    box-shadow: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 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-bottom: 0.65em;
    padding: 0;
    list-style: disc;
}

.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: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 0;
    overflow: visible;
}

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

.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: none;
    max-height: 50px;
    opacity: 1;
    overflow: visible;
    transform: none;
    position: relative;
    z-index: 20;
    align-items: center !important;
}

/* Hàng PC: mọi nút (tìm / hotline / lịch KH / B2B) cùng 32px — không đụng .btn chỗ khác */
.header-pc .top-action-bar > a.btn,
.header-pc .top-action-bar > button.btn,
.header-pc .top-action-bar > a.gradient-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    box-sizing: border-box !important;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 30px !important;
}

    .header-pc .top-action-bar > a.btn:hover,
    .header-pc .top-action-bar > button.btn:hover,
    .header-pc .top-action-bar > a.gradient-btn:hover,
    .header-pc .top-action-bar > a.btn:focus,
    .header-pc .top-action-bar > button.btn:focus,
    .header-pc .top-action-bar > a.gradient-btn:focus {
        height: 32px !important;
        max-height: 32px !important;
        padding: 0 14px !important;
    }

.header-pc .top-action-bar > button.p2-b2b-login-trigger {
    background: linear-gradient(345deg, #F0F0F0 0%, #fff 100%) !important;
    border: solid 2px rgba(0, 0, 0, 0.06) !important;
    color: #626259 !important;
    box-shadow: none !important;
}

    .header-pc .top-action-bar > button.p2-b2b-login-trigger:hover,
    .header-pc .top-action-bar > button.p2-b2b-login-trigger:focus {
        border-color: #ffa600 !important;
        color: #626259 !important;
        background: linear-gradient(345deg, #F0F0F0 0%, #fff 100%) !important;
    }

.header-pc .top-action-bar .tour-search,
.header-pc .top-action-bar .tour-search__toggle {
    align-self: center;
}

.header-pc .top-action-bar .tour-search__toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    max-height: 32px;
    padding: 0 !important;
    margin: 0 !important;
    border: solid 2px #fff !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
}

.header-pc .custom-container > .d-flex.flex-column {
    overflow: visible;
    position: relative;
}

/* Hàng menu chính — dưới top-action-bar để panel B2B không bị lộ chữ */
.header-pc .p2-header-nav-row {
    position: relative;
    z-index: 1;
}

.header-pc.header-pc--b2b-menu-open .top-action-bar,
.header-pc .top-action-bar:has(.p2-b2b-user-menu:hover),
.header-pc .top-action-bar:has(.p2-b2b-user-menu.is-open),
.header-pc .top-action-bar:has(.p2-b2b-user-menu:focus-within) {
    z-index: 1060;
}

.header-pc.header-pc--mega-lock,
.header-pc.header-pc--mega-lock .logo-img,
.header-pc.header-pc--mega-lock .header-logo-img,
.header-pc.header-pc--mega-lock .top-action-bar {
    transition: none !important;
}

/* Menu mở: action bar không đè tiêu đề cột (Search / Hotline / Lịch KH). */
.header-pc.header-pc--mega-lock .top-action-bar {
    z-index: 1;
}

.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;
    }

/* Chip đại lý B2B — đồng bộ với tour-search / gradient-btn trong top-action-bar */
.p2-b2b-user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    z-index: 1;
}

.top-action-bar .p2-b2b-user-menu {
    margin: 0;
    height: 32px;
}

.header-pc.header-pc--b2b-menu-open .p2-b2b-user-menu,
.p2-b2b-user-menu:hover,
.p2-b2b-user-menu.is-open,
.p2-b2b-user-menu:focus-within {
    z-index: 1061;
}

/* Vùng đệm hover giữa chip và panel */
.p2-b2b-user-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    z-index: 1;
}

/* Chip PC — cùng chiều cao / bo góc / font với .gradient-btn */
.top-action-bar .p2-b2b-user-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 8px;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 2px 12px 2px 2px !important;
    max-width: 196px;
    margin: 0 !important;
    color: #626259 !important;
    background: linear-gradient(345deg, #f0f0f0 0%, #fff 100%) !important;
    border: solid 1px rgba(0, 0, 0, 0.06) !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.2px;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    vertical-align: middle;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.header-mobile .p2-b2b-user-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    padding: 0 !important;
    max-width: none;
    min-height: 30px;
    color: #626259 !important;
    border-radius: 999px !important;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none !important;
    vertical-align: middle;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.p2-b2b-user-chip--icon-only {
    padding: 0 !important;
    max-width: none;
}

.top-action-bar .p2-b2b-user-chip:hover,
.top-action-bar .p2-b2b-user-chip:focus,
.p2-b2b-user-menu.is-open > .p2-b2b-user-chip {
    color: #626259 !important;
    background: linear-gradient(345deg, #ebebeb 0%, #fff 100%) !important;
    border-color: #ffa600 !important;
    box-shadow: var(--md3-shadow-1) !important;
    outline: none;
}

.header-mobile .p2-b2b-user-chip:hover,
.header-mobile .p2-b2b-user-chip:focus {
    color: #626259 !important;
    background: transparent !important;
    outline: none;
}

.top-action-bar .p2-b2b-user-chip .p2-b2b-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: solid 2px #fff;
    box-sizing: border-box;
}

.header-mobile .p2-b2b-user-chip .p2-b2b-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.top-action-bar .p2-b2b-user-chip .p2-b2b-avatar img,
.header-mobile .p2-b2b-user-chip .p2-b2b-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.top-action-bar .p2-b2b-user-chip__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    padding-right: 2px;
}

.p2-b2b-user-chip__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.top-action-bar .p2-b2b-user-chip__caret {
    font-size: 9px;
    color: #94a3b8;
    flex-shrink: 0;
    margin-left: -2px;
    transition: transform 0.2s ease;
}

.p2-b2b-user-chip__caret {
    font-size: 10px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.p2-b2b-user-menu.is-open > .p2-b2b-user-chip .p2-b2b-user-chip__caret,
.p2-b2b-user-menu:hover > .p2-b2b-user-chip .p2-b2b-user-chip__caret {
    transform: rotate(180deg);
}

.p2-b2b-user-menu__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 286px;
    z-index: 2;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    isolation: isolate;
}

.p2-b2b-user-menu--mobile .p2-b2b-user-menu__panel {
    right: -8px;
}

@media (min-width: 992px) {
    .p2-b2b-user-menu:hover > .p2-b2b-user-menu__panel,
    .p2-b2b-user-menu:focus-within > .p2-b2b-user-menu__panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
}

.p2-b2b-user-menu.is-open > .p2-b2b-user-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.p2-b2b-user-menu__head {
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.p2-b2b-user-menu__title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p2-b2b-user-menu__badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}

.p2-b2b-user-menu__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 16px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.p2-b2b-user-menu__badge--pending {
    background: #fef08a;
    color: #b45309;
}

.p2-b2b-user-menu__badge--active {
    background: #1ea65f;
    color: #fff;
}

.p2-b2b-user-menu__code {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 700;
}

.p2-b2b-user-menu__contacts {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #f1f5f9;
    background: #fff;
}

.p2-b2b-user-menu__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.3;
}

.p2-b2b-user-menu__contact:last-child {
    margin-bottom: 0;
}

.p2-b2b-user-menu__contact-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
}

.p2-b2b-user-menu__contact-icon--phone {
    background: #dcfce7;
    color: #16a34a;
}

.p2-b2b-user-menu__contact-icon--email {
    background: #dbeafe;
    color: #2563eb;
}

.p2-b2b-user-menu__contact-icon--location {
    background: #fee2e2;
    color: #dc2626;
}

.p2-b2b-user-menu__contact-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 196px;
}

.p2-b2b-user-menu__progress {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    background: #fff;
}

.p2-b2b-user-menu__progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.p2-b2b-user-menu__progress-top strong {
    color: #0b57d0;
    font-size: 0.8rem;
}

.p2-b2b-user-menu__progress-bar {
    height: 6px;
    border-radius: 10px;
    background: #e2e8f0;
    overflow: hidden;
}

.p2-b2b-user-menu__progress-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #22c55e;
}

.p2-b2b-user-menu__links {
    padding: 4px 0;
    background: #fff;
}

.p2-b2b-user-menu__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
}

.p2-b2b-user-menu__links a i {
    width: 20px;
    text-align: center;
    color: #9ca3af;
}

.p2-b2b-user-menu__links a:hover {
    background: #f8fafc;
    color: #0b57d0;
}

.p2-b2b-user-menu__foot {
    padding: 10px 16px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.p2-b2b-user-menu__logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-radius: 8px;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
}

.p2-b2b-user-menu__logout:hover {
    background: #fecaca;
}

/* Legacy anchor chip (fallback khi chưa load menu data) */
.top-action-bar a.p2-b2b-user-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    height: 32px !important;
    min-height: 32px !important;
    padding: 2px 12px 2px 2px !important;
    margin: 0 !important;
    max-width: 196px;
    color: #626259 !important;
    background: linear-gradient(345deg, #f0f0f0 0%, #fff 100%) !important;
    border: solid 1px rgba(0, 0, 0, 0.06) !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none !important;
    vertical-align: middle;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .top-action-bar a.p2-b2b-user-chip:hover,
    .top-action-bar a.p2-b2b-user-chip:focus {
        color: #626259 !important;
        background: linear-gradient(345deg, #ebebeb 0%, #fff 100%) !important;
        border-color: #ffa600 !important;
        box-shadow: var(--md3-shadow-1) !important;
    }

    .top-action-bar a.p2-b2b-user-chip .p2-b2b-avatar {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
        color: #fff !important;
        font-weight: 700 !important;
        font-size: 11px !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: solid 2px #fff;
        box-sizing: border-box;
    }

        .top-action-bar a.p2-b2b-user-chip .p2-b2b-avatar img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }

    .top-action-bar a.p2-b2b-user-chip .p2-b2b-user-chip__name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

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

/* Menu 1 cột (Blog…): sát dưới chữ — tour mega giữ cầu hover 20px */
.has-mega:not(.has-mega--tour) {
    padding-bottom: 4px;
    margin-bottom: -4px;
}

.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: 1px 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);
}

.has-mega:not(.has-mega--tour) .mega-menu,
.has-mega .mega-menu--simple {
    top: calc(100% + 3px);
    left: 50%;
    right: auto;
    width: max-content;
    min-width: 210px;
    max-width: min(320px, calc(100vw - 24px));
    padding: 10px;
    grid-template-columns: 1fr;
    transform: translateX(-50%) translateY(4px);
}

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

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

.has-mega:not(.has-mega--tour) .mega-menu::before {
    top: -8px;
    height: 8px;
}

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

.has-mega:not(.has-mega--tour):hover .mega-menu,
.has-mega:hover .mega-menu--simple {
    transform: translateX(-50%) translateY(0);
}

.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: fixed theo viewport, top = mép dưới header ===== */
.has-mega.has-mega--tour {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.has-mega--tour .mega-menu--tour {
    --mega-col-w: 220px;
    --mega-gap-x: 20px;
    --mega-pad-x: 40px;
    width: auto;
    max-width: min(var(--site-container-max, 1200px), 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));
}

.has-mega--tour .mega-menu--tour.mega--centered,
.has-mega--tour .mega-menu--tour.mega--anchored,
#header-pc > .mega-menu--tour {
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 1050;
    background: linear-gradient(62deg, #f0fdf4 0%, #fffffff7 55%, #fcf9eb 100%);
    right: auto;
    transform: none !important;
    will-change: auto;
}

.has-mega--tour:hover .mega-menu--tour.mega--centered,
.has-mega--tour:hover .mega-menu--tour.mega--anchored,
.has-mega--tour.is-open .mega-menu--tour.mega--centered,
.has-mega--tour.is-open .mega-menu--tour.mega--anchored,
#header-pc > .mega-menu--tour.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
}

.has-mega--tour .mega-menu--tour::before {
    top: -12px;
    height: 12px;
}

.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: normal;
        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: normal;
            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: background-color 0.2s ease, color 0.2s ease, border-color 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;
    box-sizing: border-box;
    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;
    }

/* PC: ô tìm mở cùng cao 28px với 2 nút cam — không đụng bản mobile 40px */
.tour-search__box:not(.tour-search__box--mobile) {
    height: 28px;
}

/* 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: var(--p2-radius-img, 12px);
    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: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    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-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-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: transform 0.3s ease, box-shadow 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: 170px;
    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: opacity 0.3s cubic-bezier(0.2, 0, 0, 1), visibility 0.3s cubic-bezier(0.2, 0, 0, 1), transform 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: var(--p2-radius-img, 12px) !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-mobile-right {
    margin-left: auto;
}

.header-center-mobile {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile: lịch KH + nút tìm cùng cao 32px — không đụng .btn chỗ khác */
.header-center-mobile > a.btn,
.header-center-mobile > a.gradient-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    box-sizing: border-box !important;
    white-space: nowrap;
    border-radius: 30px !important;
}

    .header-center-mobile > a.btn:hover,
    .header-center-mobile > a.btn:focus,
    .header-center-mobile > a.gradient-btn:hover,
    .header-center-mobile > a.gradient-btn:focus {
        height: 32px !important;
        max-height: 32px !important;
        padding: 0 12px !important;
    }

.header-center-mobile .tour-search {
    display: flex;
    align-items: center;
    align-self: center;
}

@media (max-width: 380px) {
    .header-center-mobile > a.btn,
    .header-center-mobile > a.gradient-btn {
        font-size: 11px !important;
        padding: 0 8px !important;
    }
}

#tourSearchMobile .tour-search__toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    max-height: 32px;
    padding: 0 !important;
    margin: 0 !important;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box !important;
    background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
    color: #fff;
    font-size: 12px !important;
}

.ola-connect {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 100%;
}
.ola-connect > h6 {
    margin: 0;
    width: auto;
    text-align: center;
    line-height: 1.35;
    white-space: nowrap;
}
.ola-connect-social {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 0;
}
.ola-connect-social .social-icon {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px;
    max-width: 35px;
    flex: 0 0 35px;
    box-sizing: border-box;
    overflow: hidden;
    line-height: 1;
    font-size: 11px;
}
.ola-qr-wrap {
    margin: 0;
    padding: 0;
    width: auto;
    display: flex;
    justify-content: center;
}
.ola-qr-box {
    background: #fff;
    padding: 15px;
    border-radius: var(--p2-radius-img, 12px);
    line-height: 0;
    box-sizing: content-box;
    width: 168px;
    height: 168px;
    overflow: hidden;
    transition: transform 0.3s;
}
.ola-qr-box svg.ola-qr,
.ola-qr-box img.ola-qr,
svg.ola-qr,
.ola-tour-qr svg.ola-qr {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    margin: 0;
    object-fit: contain;
}


/* ==== ola-b2b-auth.css ==== */
/* Popup đăng nhập B2B — P2 Travel (phong cách P1 ola-customer-auth) */
.ola-bauth-modal.ola-cauth-modal {
    --cauth-green: #0b57d0;
    --cauth-green-dark: #0842a0;
    --cauth-green-soft: rgba(11, 87, 208, 0.12);
    --cauth-text: #0f172a;
    --cauth-muted: #64748b;
    --cauth-border: #e2e8f0;
    --cauth-input-bg: #f8fafc;
    --cauth-radius: 14px;
    --cauth-font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: fixed;
    inset: 0;
    z-index: 100100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: var(--cauth-font);
}

    .ola-bauth-modal.ola-cauth-modal.is-open {
        display: flex;
    }

        .ola-bauth-modal.ola-cauth-modal.is-open .ola-cauth-modal__dialog {
            animation: olaBauthSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        }

@keyframes olaBauthSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ola-bauth-modal .ola-cauth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
}

.ola-bauth-modal .ola-cauth-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: min(92vh, 640px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--cauth-radius);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 24px 48px -12px rgba(15, 23, 42, 0.28);
}

.ola-bauth-modal .ola-cauth-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.15s, border-color 0.15s;
}

    .ola-bauth-modal .ola-cauth-modal__close::before,
    .ola-bauth-modal .ola-cauth-modal__close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 13px;
        height: 2px;
        margin: 0;
        background: #fff;
        border-radius: 1px;
        pointer-events: none;
    }

    .ola-bauth-modal .ola-cauth-modal__close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .ola-bauth-modal .ola-cauth-modal__close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .ola-bauth-modal .ola-cauth-modal__close:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.6);
    }

.ola-bauth-modal .ola-cauth-head {
    flex-shrink: 0;
    padding: 0;
    background: #fff;
}

.ola-bauth-modal .ola-cauth-head__banner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 17px 52px 17px 20px;
    box-sizing: border-box;
    background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%) !important;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--cauth-radius) var(--cauth-radius) 0 0;
}

    .ola-bauth-modal .ola-cauth-head__banner i {
        flex-shrink: 0;
        font-size: 19px;
        opacity: 0.95;
    }

.ola-bauth-modal .ola-cauth-sub {
    margin: 0;
    padding: 11px 20px 13px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--cauth-muted);
    background: linear-gradient(180deg, rgba(11, 87, 208, 0.07) 0%, #fff 100%);
    border-bottom: 1px solid var(--cauth-border);
}

.ola-bauth-modal .ola-cauth-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .ola-bauth-modal .ola-cauth-body::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

/* Vạch sáng chạy ngang — thu hút click Google */
.ola-bauth-modal .ola-cauth-google-row {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 4px;
}

    .ola-bauth-modal .ola-cauth-google-row::after {
        content: '';
        position: absolute;
        top: 0;
        left: -120%;
        width: 50%;
        height: 100%;
        background: linear-gradient( 105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 40%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0) 100% );
        transform: skewX(-22deg);
        pointer-events: none;
        z-index: 2;
        animation: olaBauthGoogleShine 8s ease-in-out infinite;
    }

    .ola-bauth-modal .ola-cauth-google-row:hover::after {
        animation-duration: 6s;
    }

@keyframes olaBauthGoogleShine {
    0%, 52% {
        left: -120%;
    }

    78% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ola-bauth-modal .ola-cauth-google-row::after {
        animation: none;
    }
}

.ola-bauth-modal .ola-cauth-google-btn {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dadce0;
    background: #fff;
    color: #3c4043;
    font-family: var(--cauth-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06);
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

    .ola-bauth-modal .ola-cauth-google-btn:hover {
        background: #f8f9fa;
        border-color: #c6c9cc;
    }

    .ola-bauth-modal .ola-cauth-google-btn.is-loading {
        pointer-events: none;
        opacity: 0.65;
    }

.ola-bauth-modal .ola-cauth-google-btn__icon-wrap {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ola-bauth-modal .ola-cauth-divider {
    position: relative;
    border: none;
    height: 1px;
    margin: 20px 0 18px;
    background: linear-gradient(90deg, transparent, var(--cauth-border) 12%, var(--cauth-border) 88%, transparent);
}

    .ola-bauth-modal .ola-cauth-divider::after {
        content: 'hoặc';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 12px;
        background: #fff;
        font-size: 12px;
        font-weight: 600;
        color: var(--cauth-muted);
    }

.ola-bauth-modal .ola-cauth-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--cauth-text);
    margin: 0 0 14px;
}

.ola-bauth-modal .ola-cauth-field {
    margin-bottom: 14px;
}

    .ola-bauth-modal .ola-cauth-field > label {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #475569;
        margin-bottom: 8px;
    }

    .ola-bauth-modal .ola-cauth-field input {
        width: 100%;
        box-sizing: border-box;
        border: 1px solid var(--cauth-border);
        border-radius: 10px;
        padding: 11px 14px;
        font-size: 15px;
        color: var(--cauth-text);
        background: var(--cauth-input-bg);
        transition: border-color 0.15s, box-shadow 0.15s;
    }

        .ola-bauth-modal .ola-cauth-field input:focus {
            outline: none;
            border-color: var(--cauth-green);
            background: #fff;
            box-shadow: 0 0 0 3px var(--cauth-green-soft);
        }

.ola-bauth-modal .ola-cauth-pw-wrap {
    position: relative;
}

    .ola-bauth-modal .ola-cauth-pw-wrap input {
        padding-right: 44px;
    }

.ola-bauth-modal .ola-cauth-pw-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--cauth-muted);
    cursor: pointer;
}

.ola-bauth-modal .ola-cauth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 16px;
}

.ola-bauth-modal .ola-cauth-check__input {
    width: 18px;
    height: 18px;
    accent-color: var(--cauth-green);
}

.ola-bauth-modal .ola-cauth-check__label {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.ola-bauth-modal .ola-cauth-msg {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
    padding: 11px 14px;
    border-radius: 10px;
    display: none;
}

    .ola-bauth-modal .ola-cauth-msg.is-error {
        display: block;
        background: #fef2f2;
        color: #b91c1c;
        border: 1px solid #fecaca;
    }

    .ola-bauth-modal .ola-cauth-msg.is-success {
        display: block;
        background: #eff6ff;
        color: var(--cauth-green-dark);
        border: 1px solid #bfdbfe;
    }

.ola-bauth-modal .ola-cauth-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #e2e8f0;
    color: #94a3b8;
    transition: background 0.2s, box-shadow 0.2s;
}

    .ola-bauth-modal .ola-cauth-btn:not(:disabled) {
        background: var(--cauth-green);
        color: #fff;
        box-shadow: 0 4px 14px rgba(11, 87, 208, 0.35);
    }

        .ola-bauth-modal .ola-cauth-btn:not(:disabled):hover {
            background: var(--cauth-green-dark);
        }

.ola-bauth-modal .ola-cauth-link-row {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
}

    .ola-bauth-modal .ola-cauth-link-row a {
        color: var(--cauth-green);
        font-weight: 600;
        text-decoration: none;
    }

        .ola-bauth-modal .ola-cauth-link-row a:hover {
            text-decoration: underline;
            color: var(--cauth-green-dark);
        }

.ola-bauth-modal .ola-cauth-register-hint {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--cauth-border);
    text-align: center;
    font-size: 13px;
    color: var(--cauth-muted);
}

    .ola-bauth-modal .ola-cauth-register-hint a {
        color: var(--cauth-green);
        font-weight: 700;
        text-decoration: none;
    }

        .ola-bauth-modal .ola-cauth-register-hint a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .ola-bauth-modal.ola-cauth-modal {
        padding: 0;
        align-items: flex-end;
    }

    .ola-bauth-modal .ola-cauth-modal__dialog {
        max-width: 100%;
        border-radius: var(--cauth-radius) var(--cauth-radius) 0 0;
    }

    .ola-bauth-modal .ola-cauth-head__banner {
        padding: 16px 48px 16px 18px;
        font-size: 15px;
        border-radius: var(--cauth-radius) var(--cauth-radius) 0 0;
    }
}
