/* ================= HERO BANNER ================= */
.hero-wrap {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
    background: #00000045; /* Đổi nền tổng thành đen để an toàn tuyệt đối */
    overflow: hidden;
}

.hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

    .hero-slide,
    .hero-slides .carousel-item {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        opacity: 0;
        z-index: 1;
        border-radius: 0px !important;
        background-color: #efe3e3;
        line-height: 0;
        transition: opacity 0.8s ease-in-out;
    }

        .hero-slide.active,
        .hero-slides .carousel-item.active {
            opacity: 1;
            z-index: 2;
            pointer-events: auto;
        }

        .hero-slide:not(.active),
        .hero-slides .carousel-item:not(.active) {
            pointer-events: none !important;
        }

        /* Ảnh hero — lấp đầy 500px, không vạch đen dưới */
        .hero-slide > a,
        .hero-slide > div:not(.ola-ad-video__toolbar),
        .hero-slides .carousel-item > a,
        .hero-slides .carousel-item > div:not(.ola-ad-video__toolbar),
        .hero-slides .carousel-item > img {
            position: absolute;
            inset: 0;
            display: block;
            width: 100%;
            height: 100%;
            line-height: 0;
            overflow: hidden;
        }

            .hero-slide > a > img,
            .hero-slide > div > img,
            .hero-slide.hero-slide--image > img,
            .hero-slides .carousel-item > img,
            .hero-slides .carousel-item.ola-ad-banner--hero > img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                max-width: none;
                max-height: none;
                object-fit: cover;
                object-position: center center;
                display: block;
                margin: 0;
                border: none;
            }

        .hero-slide.ola-ad-video--hero,
        .hero-slides .carousel-item.ola-ad-video--hero,
        .hero-slides .carousel-item.ola-ad-video--mp4 {
            line-height: normal;
            transform: none !important;
        }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 56px; /* chừa dải dưới — toolbar click trực tiếp, không xuyên overlay */
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Toolbar hero — vùng click khớp icon (ghi đè ola-ads + Site.Master) */
#OLA .hero-wrap .hero-slides .carousel-item .ola-ad-video__toolbar,
#OLA .hero-wrap .hero-slides .hero-slide .ola-ad-video__toolbar {
    position: absolute !important;
    inset: auto 16px 16px auto !important;
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    translate: none !important;
    z-index: 40 !important;
    border-radius:0px !important;
    pointer-events: none !important;
    justify-content: flex-end !important;
}

#OLA .hero-wrap .hero-slides .ola-ad-video__toolbar-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    pointer-events: auto !important;
}

#OLA .hero-wrap .hero-slides .ola-ad-video__toolbar .ad-expand-btn,
#OLA .hero-wrap .hero-slides .ola-ad-video__toolbar .sound-toggle-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
    translate: none !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
}

    #OLA .hero-wrap .hero-slides .ola-ad-video__toolbar .ad-expand-btn::before,
    #OLA .hero-wrap .hero-slides .ola-ad-video__toolbar .sound-toggle-btn::before {
        display: none !important;
        content: none !important;
        pointer-events: none !important;
    }

    #OLA .hero-wrap .hero-slides .ola-ad-video__toolbar .ad-expand-btn:hover,
    #OLA .hero-wrap .hero-slides .ola-ad-video__toolbar .sound-toggle-btn:hover,
    #OLA .hero-wrap .hero-slides .ola-ad-video__toolbar .sound-toggle-btn.is-toggling {
        transform: none !important;
    }

@media (max-width: 767.98px) {
    #OLA .hero-wrap .hero-slides .carousel-item .ola-ad-video__toolbar,
    #OLA .hero-wrap .hero-slides .hero-slide .ola-ad-video__toolbar {
        inset: auto 12px 12px auto !important;
        bottom: 12px !important;
        right: 12px !important;
    }
}

.search-wrapper {
    width: 100%;
    max-width: 440px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-widget {
    background-color: #5d584e40;
    padding: 25px 30px;
    border-radius:20px;
    border: none !important;
}

    .search-widget h2 {
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 20px;
        white-space:nowrap;
        line-height: 1.4;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

.input-box {
    position: relative;
    margin-bottom: 12px;
}

    .input-box i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        font-size: 16px;
        z-index: 2;
    }

    .input-box input {
        padding-left: 40px !important;
    }

/* ================= VỊ TRÍ NÚT HERO BANNER ================= */
.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 20;
    pointer-events: none;
}

.h-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
    pointer-events: auto;
}

    .h-btn:hover {
        background: darkorange;
        border-color: var(--vt-primary);
        color: #fff;
        transform: scale(1.1);
    }

.sec-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--vt-secondary);
    margin: 40px 0 20px;
}

/* ================= SLIDER DÙNG CHUNG ================= */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    padding: 5px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    max-width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

    .slider-track::-webkit-scrollbar {
        display: none;
    }

.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--md3-shadow-1);
    border: 1px solid var(--md3-border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 19;
    transition: 0.3s;
    color: #555;
}

    .slider-btn:hover {
        background: var(--vt-primary);
        color: #fff;
        border-color: var(--vt-primary);
    }

.sl-prev {
    left: 10px;
}

.sl-next {
    right: 10px;
}

/* ================= ƯU ĐÃI SLIDER ================= */
#promoTrack {
    padding-bottom: 0px !important;
}

.promo-item {
    flex: 0 0 calc((100% - 40px) / 3);
    position: relative;
    overflow: hidden;
    display: block;
    transition: 0.3s;
    scroll-snap-align: start;
    box-sizing: border-box;
    border-radius: var(--p2-radius-img, 12px);
}

    .promo-item img {
        position: relative;
        z-index: 0;
        width: 100%;
        height: 270px;
        object-fit: cover;
        display: block;
        transition: 0.5s;
    }

    .promo-item:hover {
        transform: translateY(-5px);
    }

/* Vệt sáng lướt qua lần lượt từng banner — nhịp sóng 10s */
#promoTrack .promo-item::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: promo-shimmer-sweep 10s ease-in-out infinite;
}

#promoTrack .promo-item:nth-child(4n+1)::after {
    animation-delay: 0s;
}

#promoTrack .promo-item:nth-child(4n+2)::after {
    animation-delay: 2.4s;
}

#promoTrack .promo-item:nth-child(4n+3)::after {
    animation-delay: 4.8s;
}

#promoTrack .promo-item:nth-child(4n+4)::after {
    animation-delay: 7.2s;
}

#promoTrack .promo-item:hover::after {
    animation-play-state: paused;
}

@keyframes promo-shimmer-sweep {
    0%, 16% {
        left: -100%;
    }

    22% {
        left: 120%;
    }

    28%, 100% {
        left: 120%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #promoTrack .promo-item::after {
        animation: none;
        content: none;
    }
}

/* ================= TOUR CARD SLIDER (BẢN CAO CẤP SẠCH 100%) ================= */
.tour-card {
    flex: 0 0 calc((100% - 60px) / 4);
    background: #ffffff;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border-radius: var(--p2-radius-img, 12px);
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

    .tour-card:hover {
        transform: translateY(-6px);              
        border-color: transparent !important;
    }

.tc-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/12;
    overflow: hidden;
}

    .tc-img-wrap img.main-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.tour-card:hover .tc-img-wrap img.main-img {
    transform: scale(1.08);
}

.tc-badge-top-right {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 50px !important;
    padding: 5px 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: orangered !important;
}

    .tc-badge-top-right::after {
        display: none !important;
    }

.tc-badge-top-right.tc-badge-no-shopping {
    overflow: hidden;
    white-space: nowrap;
    width: auto;
    max-width: max-content;
}

    .tc-badge-top-right.tc-badge-no-shopping::after {
        display: block !important;
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 45%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0) 100%);
        transform: skewX(-22deg);
        animation: shimmer-sweep 5s ease-in-out infinite;
        pointer-events: none;
    }

.tc-location-band {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 15px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 10;
}

.tc-location-name {
    display: inline-block;
    color: white;
    font-size: 13px;
    font-weight: normal;
    /* border-bottom: 2px solid var(--vt-primary);*/
    padding-bottom: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tc-info-wrap {
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tc-category {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    font-weight: normal;
    text-transform: uppercase;
}

.tc-title {
    font-size: 15px;
    color: var(--vt-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.tour-card:hover .tc-title {
    color: var(--vt-primary);
}

.tc-departure-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
    font-weight: 600;
}

.tc-date-tag {
    background-color: #fff7ed;
    color: var(--vt-primary-dark) !important;
    font-weight: 700;
    border: none !important;
    border-radius: 6px;
    padding: 4px 10px !important;
}

.tc-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    font-weight: normal;
}

    .tc-meta-row i {
        color: var(--vt-primary);
        width: 16px;
        text-align: center;
    }

.tc-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.tc-airline img {
    height: 18px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.tc-price {
    font-size: 19px;
    font-weight: 700;
    color: var(--vt-primary-dark);
    letter-spacing: -0.5px;
}

/* ================= BENTO GRID ================= */
.bento-abroad {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .bento-abroad {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(230px, auto);
    }

    .ba-tall {
        grid-row: span 2;
    }
}

.bento-local {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 230px;
    gap: 20px;
}

.bl-mb, .bl-pq, .bl-dl {
    grid-column: span 2;
}

.bl-ht, .bl-dn {
    grid-column: span 3;
}

.bento-item, .ba-item {
    position: relative;
    overflow: hidden;
    display: block;
    cursor: pointer;
    border-radius: var(--p2-radius-img, 12px);
}

.ba-item {
    min-height: 200px;
}

@media (min-width: 768px) {
    .ba-item {
        min-height: auto;
    }
}

.bento-item img, .ba-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 0.6s ease;
    object-fit: cover;
}

.bento-item:hover img, .ba-item:hover .ba-bg {
    transform: scale(1.08);
}

.bento-overlay, .ba-content-default {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 10;
}

    .bento-overlay h3, .ba-title {
        font-size: 22px;
        font-weight: 700;
        margin: 0;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

.ba-subtitle {
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 500;
}

.ba-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 20;
}

.ba-item:hover .ba-content-default {
    opacity: 0;
}

.ba-item:hover .ba-hover-overlay {
    opacity: 1;
}

.ba-hover-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ba-hover-line {
    height: 2px;
    width: 60px;
    background-color: #fff;
    margin: 10px 0 20px;
    border-radius: 2px;
}

/* ================= CÁC PHẦN CÒN LẠI ================= */
/* Đối tác — khung logo đồng đều trong .row.align-items-center.g-4 */
.partner-box {
    border: 1px solid #dadce091;
    border-radius: var(--p2-radius-img, 12px);
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 88px;
    min-height: 88px;
    line-height: 0;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .partner-box > a {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        line-height: 0;
    }

    .partner-box:hover {
        border-color: var(--vt-primary);
        box-shadow: var(--md3-shadow-1);
    }

    .partner-box img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 100%;
        max-height: 56px;
        object-fit: contain;
        object-position: center center;
        opacity: 0.92;
        transition: 0.3s;
        margin: 0 auto;
    }

    .partner-box:hover img {
        opacity: 1;
    }

.tc-horizontal {
    display: flex;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    text-decoration: none;
    border: solid 1px #cccccc54 !important;
    border-radius: var(--p2-radius-img, 12px);
}

    .tc-horizontal:hover {
        transform: translateY(-3px);
        /*border-color: var(--vt-primary) !important;*/
    }

.tch-img-wrap {
    width: 40%;
    position: relative;
    overflow: hidden;
    border-radius: var(--p2-radius-img, 12px) 0 0 var(--p2-radius-img, 12px);
}

.tch-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: orangered !important;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    width: auto;
    max-width: max-content;
}

.tch-badge-no-shopping {
    overflow: hidden;
}

    .tch-badge-no-shopping::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 45%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0) 100%);
        transform: skewX(-22deg);
        animation: shimmer-sweep 5s ease-in-out infinite;
        pointer-events: none;
    }

    .tch-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.tc-horizontal:hover .tch-img-wrap img {
    transform: scale(1.08);
}

.tch-body {
    width: 60%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tch-category {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.tch-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--vt-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.tc-horizontal:hover .tch-title {
    color: var(--vt-primary);
}

.tch-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tch-date-label {
    font-size: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tch-date-btn {
    border: 1px solid var(--vt-primary);
    color: var(--vt-primary);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    background: transparent;
    display: inline-block;
}

    .tch-date-btn:hover {
        background: var(--vt-primary);
        color: #fff !important;
    }

.tch-meta-row {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

    .tch-meta-row i {
        color: var(--vt-primary);
        width: 14px;
        text-align: center;
    }

.tch-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 10px;
}

.tch-airline {
    max-height: 18px;
    max-width: 60px;
    object-fit: contain;
}

.tch-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--vt-primary-dark);
}

.rv-head {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

    .rv-head img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

.rv-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--vt-secondary);
    margin: 0;
}

.rv-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.rv-stars {
    color: var(--vt-primary);
    font-size: 12px;
    margin-top: 4px;
}

.rv-text {
    font-size: 14.5px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.masonry-grid {
    column-count: 4;
    column-gap: 15px;
    margin-bottom: 50px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 15px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    border-radius: var(--p2-radius-img, 12px);
}

    .masonry-item img {
        width: 100%;
        display: block;
        transition: 0.4s;
    }

    .masonry-item:hover img {
        transform: scale(1.05);
        filter: brightness(0.8);
    }

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .promo-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .tour-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }

    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 767.98px) {
    .hero-wrap {
        height: 450px;
    }

    .search-wrapper {
        max-width: 85%;
        margin: 0 auto;
        padding: 0 10px;
    }

    .search-widget {
        padding: 20px;
    }

    .promo-item {
        flex: 0 0 85%;
    }

    .tour-card {
        flex: 0 0 85%;
    }

    .slider-btn {
        display: none;
    }

    .bento-local {
        grid-template-columns: 1fr;
        grid-auto-rows: 230px;
    }

    .bl-mb, .bl-pq, .bl-dl, .bl-ht, .bl-dn {
        grid-column: span 1;
    }

    .masonry-grid {
        column-count: 1;
    }

    .tc-horizontal {
        flex-direction: column;
    }

    .tch-img-wrap {
        width: 100%;
        height: 180px;
    }

    .tch-body {
        width: 100%;
    }
}

/* ================= BỐ CỤC ALBUM NHẬT KÝ HÀNH TRÌNH ================= */
.album-grid-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 15px;
    margin-bottom: 50px;
}

    .album-grid-custom > .album-item,
    .album-item {
        position: relative;
        border-radius: var(--p2-radius-img, 12px);
        overflow: hidden;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100%;
        line-height: 0;
        background: #e9ecef;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

        .album-item img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            object-fit: cover;
            object-position: center center;
            display: block;
            margin: 0;
            transition: transform 0.4s ease;
        }

        .album-item .bento-overlay {
            z-index: 2;
        }

        .album-item:hover img {
            transform: scale(1.05);
            filter: brightness(0.85);
        }

        /* Vệt sáng lướt qua lần lượt từng album — nhịp nhàng, nhẹ */
        .album-item::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: album-shimmer-sweep 10s ease-in-out infinite;
        }

        .album-item:nth-child(1)::after {
            animation-delay: 0s;
        }

        .album-item:nth-child(2)::after {
            animation-delay: 2.4s;
        }

        .album-item:nth-child(3)::after {
            animation-delay: 4.8s;
        }

        .album-item:nth-child(4)::after {
            animation-delay: 7.2s;
        }

        .album-item:hover::after {
            animation-play-state: paused;
        }

        @media (prefers-reduced-motion: reduce) {
            .album-item::after {
                animation: none;
                content: none;
            }
        }

        .album-item:nth-child(1) {
            grid-column: span 2;
            grid-row: span 2;
        }

        .album-item:nth-child(2) {
            grid-column: span 2;
            grid-row: span 1;
        }

        .album-item:nth-child(3),
        .album-item:nth-child(4) {
            grid-column: span 1;
            grid-row: span 1;
        }

@media (max-width: 991.98px) {
    .album-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }

    .album-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .album-item:nth-child(2) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .album-item:nth-child(3), .album-item:nth-child(4) {
        grid-column: span 1;
    }
}

@media (max-width: 767.98px) {
    .album-grid-custom {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .album-item:nth-child(1), .album-item:nth-child(2),
    .album-item:nth-child(3), .album-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@keyframes album-shimmer-sweep {
    0%, 16% {
        left: -100%;
    }

    22% {
        left: 120%;
    }

    28%, 100% {
        left: 120%;
    }
}

/* ================= BENTO GRID - MẪU BỔ SUNG ================= */
.bento-style-3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.bs3-side {
    grid-column: span 1;
}

.bs3-center {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-style-4 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.bs4-top {
    grid-column: span 3;
}

.bs4-bottom {
    grid-column: span 2;
}

@media (max-width: 767.98px) {
    .bento-style-3, .bento-style-4 {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .bs3-side, .bs3-center, .bs4-top, .bs4-bottom {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ================= BÁO CHÍ SLIDER ================= */
.press-section {
    padding: 20px 0;
    margin-bottom: 50px;
}

.press-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.press-nav-arrows {
    display: flex;
    align-items: center;
}

.press-btn {
    width: 35px !important;
    height: 35px !important;
    flex: 0 0 35px !important;
    border-radius: 50% !important;
    border: 1px solid #d1d5db !important;
    background-color: #fff !important;
    color: #888 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    margin-left: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    padding: 0 !important;
}

    .press-btn i {
        font-size: 14px !important;
        line-height: 1 !important;
    }

    .press-btn:hover {
        border-color: #b93d18 !important;
        color: #b93d18 !important;
        background-color: #fff9f5 !important;
        transform: scale(1.05);
    }

.press-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.press-track {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .press-track::-webkit-scrollbar {
        display: none;
    }

.press-item {
    flex: 0 0 calc(20% - 24px);
    min-width: 140px;
    height: 76px;
    min-height: 76px;
    margin-right: 30px;
    padding: 10px 18px;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--p2-radius-img, 12px);
    line-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .press-item:hover {
        transform: scale(1.03);
        border-color: #dadce0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .press-item img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 100%;
        max-height: 52px;
        object-fit: contain;
        object-position: center center;
        margin: 0 auto;
    }

@media (max-width: 991.98px) {
    .press-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 120px;
        margin-right: 24px;
    }
}

@media (max-width: 767.98px) {
    .press-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 110px;
        height: 68px;
        min-height: 68px;
        margin-right: 20px;
    }

        .press-item img {
            max-height: 44px;
        }
}

/* Ép padding-left cho CẢ input và select để chữ không bao giờ đè lên Icon */
.input-box input,
.input-box select {
    padding-left: 40px !important;
    font-size:small;
    border-radius: 30px;
}

/* Ẩn mũi tên của DropdownList và FIX nền trắng đồng bộ */
.select-as-textbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff !important; /* Cập nhật nền trắng tinh */
    cursor: pointer;
}

    .select-as-textbox::-ms-expand {
        display: none;
    }

.btntim {
    padding: 6px 16px !important;
    border-radius: 30px !important;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.2px;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .btntim:hover {
        box-shadow: var(--md3-shadow-1) !important;
        background-color: #ffeb3b0d !important;
    }

.date-pill {
    display: inline-block;
    border: 1px solid #fbd38d;
    border-radius: 25px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--vt-primary-dark);
    background: #fffdf5;
    white-space: nowrap;
}

.date-pill.is-closed {
    border-color: #e8d5c4;
    color: #92400e;
    background: #fffbeb;
}

.tch-badge-closed {
    background: #c2410c !important;
}

.p2-deptabs-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 12px;
    margin-bottom: 18px;
}

.p2-deptabs-solo {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.p2-deptabs-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 4px;
    border-radius: 999px;
    background: #fff7ed7d;
    border-bottom: 2px solid #fed7aa;
    box-shadow: 0 1px 4px rgba(245, 111, 33, 0.08);
    gap: 2px;
}

.p2-tab-short {
    display: none;
}

.p2-deptabs-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #9a3412;
    cursor: pointer;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.p2-deptabs-btn .p2-deptabs-ico,
.p2-deptabs-solo .p2-deptabs-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    font-size: 0.95em;
    line-height: 1;
}

.p2-deptabs-solo .p2-deptabs-ico {
    margin-right: 8px;
    color: var(--vt-primary);
}

.p2-deptabs-btn .p2-deptabs-ico-tick,
.p2-deptabs-ico-tick {
    display: inline-block;
    transform-origin: 50% 50%;
    animation: p2-clock-hand 2s linear infinite;
}

.p2-deptabs-btn .p2-deptabs-ico-spark,
.p2-deptabs-ico-spark {
    display: inline-block;
    transform-origin: 50% 52%;
    animation: p2-ico-star-twinkle 2.4s ease-in-out infinite;
}

@keyframes p2-clock-hand {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes p2-ico-star-twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        opacity: 0.88;
        transform: scale(1.08) rotate(8deg);
        filter: drop-shadow(0 0 2px rgba(245, 111, 33, 0.45));
    }
}

@media (prefers-reduced-motion: reduce) {
    .p2-deptabs-ico-tick,
    .p2-deptabs-ico-spark {
        animation: none;
    }
}

.p2-deptabs-btn:hover {
    color: #7c2d12;
}

.p2-deptabs-btn.is-active {
    background: linear-gradient(178deg, #FFA600 0%, #F56F21 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 111, 33, 0.28);
}

.p2-deptabs-btn.is-active:hover {
    color: #fff;
}

.p2-deptabs-panel {
    display: none;
}

.p2-deptabs-panel.is-active {
    display: block;
}

.p2-deptabs .tour-card.p2-deptab-card {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.p2-deptabs .p2-deptab-kh {
    font-size: 12px;
    margin-right: 4px;
}

.p2-deptabs .p2-deptab-card .tc-airline {
    font-size: 12px;
    align-self: center;
}

.p2-deptabs .p2-deptab-card .tch-badge {
    top: 12px;
    right: 12px;
    z-index: 12;
}

@media (min-width: 992px) {
    .p2-deptabs .tour-card.p2-deptab-card {
        flex-direction: row;
    }

    .p2-deptabs .p2-deptab-card .tc-img-wrap {
        width: 42%;
        flex: 0 0 42%;
        aspect-ratio: auto;
        min-height: 240px;
        align-self: stretch;
        border-radius: var(--p2-radius-img, 12px) 0 0 var(--p2-radius-img, 12px);
        overflow: hidden;
    }

    .p2-deptabs .p2-deptab-card .tc-info-wrap {
        width: 58%;
        flex: 1 1 auto;
        padding: 15px;
    }
}

@media (hover: none) {
    .p2-deptabs .tc-horizontal:hover,
    .p2-deptabs .tour-card:hover {
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .p2-deptabs-head {
        margin-bottom: 14px;
    }

    .p2-deptabs-switch {
        width: 100%;
        box-sizing: border-box;
        padding: 3px;
        border-radius: 999px;
        gap: 2px;
    }

    .p2-deptabs-btn {
        flex: 1 1 0;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        padding: 0 6px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
        text-transform: uppercase;
        border-radius: 999px;
        gap: 3px;
        box-sizing: border-box;
    }

    .p2-tab-full {
        display: none !important;
    }

    .p2-tab-short {
        display: inline !important;
    }
}

@media (max-width: 767.98px) {

    .p2-deptabs-btn {
        height: 30px;
        min-height: 30px;
        max-height: 30px;
        font-size: 10px;
        padding: 0 4px;
        text-transform: uppercase;
        border-radius: 999px;
    }

    .p2-deptabs .p2-deptab-card {
        flex-direction: column;
    }

    .p2-deptabs .p2-deptab-card .tc-img-wrap {
        width: 100%;
        flex: none;
        aspect-ratio: 16 / 12;
        min-height: 0;
    }

    .p2-deptabs .p2-deptab-card .tc-info-wrap {
        width: 100%;
        padding: 14px 12px;
    }

    .p2-deptabs .p2-deptab-card .tc-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .p2-deptabs .date-pill {
        font-size: 10px;
        padding: 2px 6px;
    }
}

@media (max-width: 399.98px) {
    .p2-deptabs-btn {
        height: 30px;
        min-height: 30px;
        max-height: 30px;
        font-size: 10px;
        padding: 0 3px;
        line-height: 1;
        text-transform: uppercase;
        border-radius: 999px;
    }
}





/* =========================================================
   [ĐÃ FIX] ĐỊNH DẠNG SELECT2 CÓ NỀN TRẮNG GIỐNG TEXTBOX
   ========================================================= */
/* 1. Định dạng ô input lúc chưa click */
.select2-container--default .select2-selection--single {
    background-color: #ffffff !important; /* Trả lại nền trắng tinh */
    border: 1px solid #dee2e6 !important; /* Viền xám nhạt như form-control */
    border-radius: 30px !important;
    height: 40px !important; /* Chiều cao cân bằng với input ngày tháng */
    display: flex !important;
    align-items: center !important;
}

    /* Đẩy chữ sang phải 40px để tránh đè lên Icon Location */
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-left: 40px !important;
        color: #495057 !important;
        font-size: 15px;
        font-weight: 700;
        width: 100%;
        transition: opacity 0.28s ease, transform 0.28s ease;
    }

        .select2-container--default .select2-selection--single .select2-selection__rendered.destination-placeholder-cycle {
            color: #6c757d !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered.destination-typewriter-active {
            color: darkorange !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered .destination-typewriter-cursor {
            display: inline-block;
            margin-left: 1px;
            color: var(--vt-primary, #de8309);
            font-weight: 400;
            animation: destination-cursor-blink 0.9s step-end infinite;
        }

@keyframes destination-cursor-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

    /* Ẩn mũi tên mặc định của Select2 */
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        display: none !important;
    }

/* Khi Focus (Click vào) thì hiện viền màu cam (Chuẩn theo web của anh) */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--vt-primary) !important;
    box-shadow: 0 0 0 2px rgba(222, 131, 9, 0.15) !important;
}

/* =========================================================
   CSS CHO DROPDOWN LIST (PHẦN MENU XỔ XUỐNG ĐẸP NHƯ THIẾT KẾ)
   ========================================================= */
.custom-tour-dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    padding: 0 !important;
    overflow: hidden;
    margin-top: 5px;
}

    .custom-tour-dropdown .select2-results__option {
        padding: 10px 20px !important;
        font-size: 14.5px !important;
        color: #334155 !important;
        background-color: #fff !important;
        transition: all 0.2s ease !important;
        border-bottom: 1px solid #f8fafc;
    }

.select2-search--dropdown {
    padding: 4px
}
/* Dòng đầu tiên (Tất cả Tour) */
.custom-tour-dropdown .select2-results__option:first-child {
    background-color: #e2e8f0 !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaaaaa8c;
    height: 37px;
    border-radius: 30px;
}
/* Hover dòng bình thường */
.custom-tour-dropdown .select2-results__option--highlighted[aria-selected] {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

/* Dòng đang được chọn */
.custom-tour-dropdown .select2-results__option[aria-selected="true"] {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    font-weight: 600 !important;
}

/* Tiêu đề nhóm (TOUR CHÂU Á...) */
.custom-tour-dropdown .select2-results__group {
    padding: 16px 20px 6px !important;
    font-size: 13.5px !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    background-color: #fff !important;
    cursor: default !important;
}

/* MỤC CHA (option disabled) — tiêu đề nhóm, không cho đưa chuột/chọn */
.custom-tour-dropdown .select2-results__option[aria-disabled="true"] {
    font-weight: 700 !important;
    color: darkorange !important;
    background-color: #f8fafc !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 0.02em;
    padding: 12px 20px 6px !important;
    cursor: default !important;
    pointer-events: none !important;
    border-bottom: 1px solid #eef2f6 !important;
}

    /* Không highlight khi rê chuột qua mục cha */
    .custom-tour-dropdown .select2-results__option[aria-disabled="true"].select2-results__option--highlighted {
        background-color: #f8fafc !important;
        color: darkorange !important;
    }

/* Thanh cuộn (Scrollbar) */
.custom-tour-dropdown .select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.custom-tour-dropdown .select2-results__options::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-tour-dropdown .select2-results__options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.destination-select2-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.destination-select2-text {
    min-width: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .destination-select2-option {
    gap: 8px;
}

.bento-abroad, .bento-local, .bento-style-3, .bento-style-4,
.press-section, .p2-cv-block {
    content-visibility: auto;
    contain-intrinsic-size: auto 420px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slides .carousel-item, .tour-card, .slider-track {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Khối dưới đây (trước đây nằm trong <style> giữa body, gần #heroSideCarousel) PHẢI nạp SAU
   ola-p2-theme.css + ola-ads.css (Site.Master) để !important thắng đúng theo thứ tự cascade —
   xem lại comment gốc: "Hero toolbar: load sau master + ola-ads để vùng hover/click khớp icon".
   File .css này được link trong <head> của trang, SAU các link đó trong Site.Master nên vẫn giữ
   đúng thứ tự nạp như bản gốc. */
#OLA #heroSideCarousel .carousel-item:not(.active) {
    pointer-events: none !important;
    visibility: hidden;
}

#OLA #heroSideCarousel .carousel-item.active {
    pointer-events: auto;
    visibility: visible;
}

#OLA #heroSideCarousel .ola-ad-video__toolbar {
    position: absolute !important;
    inset: auto 16px 16px auto !important;
    left: auto !important;
    right: 16px !important;
    bottom: 16px !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    pointer-events: none !important;
    z-index: 40 !important;
    border-radius: 0px !important;
    transform: none !important;
}

    #OLA #heroSideCarousel .ola-ad-video__toolbar-actions {
        pointer-events: auto !important;
    }

    #OLA #heroSideCarousel .ola-ad-video__toolbar .ad-expand-btn,
    #OLA #heroSideCarousel .ola-ad-video__toolbar .sound-toggle-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        position: relative !important;
    }

        #OLA #heroSideCarousel .ola-ad-video__toolbar .ad-expand-btn::before,
        #OLA #heroSideCarousel .ola-ad-video__toolbar .sound-toggle-btn::before {
            display: none !important;
        }
