/* ==========================================================
// == FILE: CSS/style.css (PHIÊN BẢN V5.6 - FINAL HEADER STYLES)
// ========================================================== */

/* --- Cài đặt chung và Typography --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    padding-top: 104px; 
}

h1, h2, h3 {
    color: #2c3e50;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content {
    padding: 1.5rem;
}
.blog-content h2 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    color: #2c3e50;
}
.blog-summary {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.blog-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}
.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.read-more:hover {
    background-color: #2980b9;
}
header.site-header {
    background-color: #ffffff; 
    color: #333;
    padding: 15px 0; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    border-bottom: 1px solid #eee;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    width: 95%;
    max-width: 1500px; 
    margin: 0 auto; 
}
.logo-container {
    display: flex;
    align-items: center; 
    gap: 1px;
}
.logo-container img {
    height: 60px;
    display: block;
}
.site-title {
    font-size: 1.4em;
    font-weight: 800;
    color: #4780bd; 
    text-decoration: none;
}

/* 🚀 SỬA LỖI: Menu chính - Bỏ màu nền mặc định và đổi hover thành xanh */
nav.main-nav a {
    text-decoration: none;
    color: #042498; 
    padding: 10px 15px;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    background-color: transparent; /* Bỏ màu nền mặc định */

    /* Tạo "ô" viền sẵn để hover không bị giật layout */
    border: 2px solid transparent;
    box-sizing: border-box;
}
nav.main-nav a:hover,
nav.main-nav a.is-active {
    color: #ffffff; /* chữ trắng */
    background-color: #002d72; /* nền xanh đậm */
    border-color: #002d72; /* viền cùng màu nền */
}

/* Hover/focus cho accessibility (tab bằng bàn phím) */
nav.main-nav a:focus-visible {
    outline: none;
    color: #ffffff;
    background-color: #002d72;
    border-color: #002d72;
    box-shadow: 0 0 0 3px rgba(0, 45, 114, 0.25);
}
a.nav-contact {
    color: #e63946; 
    font-weight: bold;
}
a.nav-contact:hover,
a.nav-contact.is-active {
    background-color: #002d72;
    border-color: #002d72;
    color: #ffffff;
}

/* Đảm bảo mục LIÊN HỆ cũng có "ô" xanh khi focus (nhưng vẫn ưu tiên style đỏ khi hover) */
a.nav-contact:focus-visible {
    outline: none;
    border-color: #002d72;
    box-shadow: 0 0 0 3px rgba(0, 45, 114, 0.25);
}

/* 🚀 SỬA LỖI: Nút Đăng Nhập/Đăng Xuất */
.user-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}
.auth-link {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
/* Nút Đăng Nhập (Giữ nguyên) */
.login-link {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    position: relative;
}
.login-link:hover {
    background-color: #0056b3;
}

/* Thu hút chú ý cho nút Đăng nhập (lắc nhẹ theo chu kỳ) */
.login-link.attention {
    transform-origin: 50% 50%;
    animation: loginPulse 2s ease-in-out infinite;
}

@keyframes loginPulse {
    0% {
        box-shadow: 0 0 0 rgba(0, 123, 255, 0);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.18);
        filter: brightness(1.08);
    }
    100% {
        box-shadow: 0 0 0 rgba(0, 123, 255, 0);
        filter: brightness(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-link.attention {
        animation: none;
    }
}

/* Toast nhắc đăng nhập */
.login-toast {
    position: fixed;
    right: 18px;
    top: 118px;
    z-index: 9999;
    max-width: 320px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #002d72;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.login-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.login-toast .title {
    font-weight: 800;
    margin-bottom: 4px;
}

.login-toast .desc {
    font-weight: 600;
    opacity: 0.95;
    font-size: 0.95em;
    line-height: 1.35;
}

.login-toast .actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.login-toast .btn-snooze {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.14);
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.login-toast .btn-snooze:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.5);
}

.login-toast .btn-close {
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.login-toast .btn-close:hover {
    background: rgba(255,255,255,0.14);
}

@media (max-width: 576px) {
    .login-toast {
        right: 12px;
        left: 12px;
        max-width: none;
        top: 110px;
    }
}
/* 🚀 SỬA LỖI: Nút Đăng Xuất thành màu đỏ */
.logout-link {
    background-color: #dc3545; /* Màu đỏ */
    color: white;
    font-weight: bold;
    padding: 10px 15px; 
}
.logout-link:hover {
    background-color: #c82333;
    color: #ffffff;
}
.welcome-user {
    font-weight: 500;
    white-space: nowrap; 
}
main {
    width: 95%;
    max-width: 1500px;
    margin: 30px auto; 
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    min-height: 60vh;
}
footer.site-footer {
    background-color: #000000;
    color: #ffffff; 
    padding-top: 40px; 
    margin-top: 30px;
    line-height: 1.7;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 20px;
}
.footer-column {
    flex-basis: 30%; 
    padding: 0 15px;
    text-align: left; 
}
.footer-column h4 {
    font-size: 1.3em;
    color: #ffffff; 
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #007bff; 
    padding-bottom: 10px;
}
.footer-column p {
    color: #ccc; 
}
.links-column ul {
    list-style: none;
    padding: 0;
}
.links-column a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}
.links-column a:hover {
    color: #ffffff;
    padding-left: 5px;
}
.footer-bottom-bar {
    background-color: #1c1e20; 
    text-align: center;
    padding: 5px 50px;
    margin-top: 10px;
}
.footer-bottom-bar p {
    margin: 0;
    font-size: 0.9em;
    color: #aaa;
}
.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px; 
}
.item-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.item-card-image {
    position: relative; 
    overflow: hidden;
}
.item-card-image img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.4s ease;
}
.item-card:hover .item-card-image img {
    transform: scale(1.05); 
}
.duration-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    z-index: 2; 
}
.item-card-content {
    padding: 15px;
    flex-grow: 1; 
}
.item-card-content h3 {
    margin-top: 0;
    font-size: 1.15em;
    height: 2.5em; 
    overflow: hidden;
}
.item-card-content h3 a {
    text-decoration: none;
    color: #0056b3;
    transition: color 0.3s ease;
}
.item-card-content p {
    font-size: 0.95em;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 4.8em; 
    overflow: hidden;
    margin-bottom: 0;
}
.item-card-price {
    padding: 15px; 
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    text-align: right; 
}
.original-price {
    font-size: 0.9em;
    color: #888;
    text-decoration: line-through; 
    margin-right: 5px;
}
.sale-price {
    font-size: 1.25em;
    font-weight: 700;
    color: #e63946; 
}
.alert-success,
.alert-danger,
.success-message,
[class*="alert"],
[class*="message"] {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 0 0 15px 0; 
    border-radius: 6px;
    box-sizing: border-box;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.hero-banner {
    height: 50vh; 
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.hero-content {
    position: relative; 
    color: white;
    padding: 20px;
}
.hero-content h1 {
    font-size: 3.5em; 
    color: white;
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 1.4em;
    margin-bottom: 25px;
}
.hero-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}
.hero-btn:hover {
    background-color: #0056b3;
}
.home-section {
    margin-top: 30px; 
    padding-top: 20px;
}
.section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    color: #0056b3;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff;
}
.review-section {
    background-color: #f9f9f9; 
    padding: 30px 20px;
    margin-top: 30px;
    border-radius: 8px;
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.review-card {
    background-color: #cce8f5;
    border: 1px solid #eee;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.review-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #85b8ee;
}
.review-text {
    font-size: 1.05em;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    min-height: 100px;
}
.review-name {
    font-size: 1.1em;
    color: #032346;
    font-weight: 700;
    margin: 0;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu-toggle {
    display: block; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
    position: relative;
    width: 45px;
    height: 45px;
}
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Hiệu ứng khi menu mở - chuyển thành X */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

nav.main-nav.is-open {
    display: none;
}

/* Overlay mờ phía sau */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9999;
    pointer-events: none;
    transition: background-color 0.4s ease;
}
.mobile-menu-backdrop.is-open {
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0; 
    width: 320px; 
    height: 100%;
    background-color: #ffffff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    visibility: hidden;
}
.mobile-menu-overlay.is-open {
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #f1f1f1;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2em;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}
.mobile-menu-close:hover {
    background: #e63946;
    color: #fff;
    transform: rotate(90deg);
}
.mobile-menu-content {
    padding: 80px 30px 30px 30px; 
}
.mobile-menu-nav a {
    display: block;
    font-size: 1.3em;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    transform: translateX(0);
}
.mobile-menu-nav a:hover {
    color: #1a5f7a;
    padding-left: 10px;
}
.mobile-user-auth {
    padding: 20px 0;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column; 
    gap: 15px;
}
.mobile-user-auth .welcome-user {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}
.mobile-user-auth .auth-link {
    padding: 12px;
    text-align: center;
    font-size: 1.1em;
}
nav.main-nav.is-open {
    display: flex; 
}

/* ==========================================================
// == 5. 🚀 CSS MỚI (TÁCH BIỆT BỘ LỌC)
// ========================================================== */

.hero-banner-v2, .hero-filter-form {
    display: none;
}
.hero-slider-section {
    width: 100%;
    height: 600px; 
    background-color: #eee;
    position: relative;
    overflow: hidden;
    margin-bottom: -80px;
    margin-top: -104px; 
}
.hero-slide {
    width: 100%;
    height: 600px !important; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slider-section .slick-list,
.hero-slider-section .slick-track {
    height: 600px !important;
}
.tour-search-bar-section {
    position: relative;
    z-index: 10;
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
    top: -50px;
}
.search-bar-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-filter-form-v2 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 15px;
}
.hero-filter-form-v2 .form-group-v2 {
    flex: 1;
    min-width: 160px;
    text-align: left;
}
.hero-filter-form-v2 .form-group-v2 label {
    display: block;
    font-weight: 600;
    font-size: 1em; 
    margin-bottom: 8px;
    color: #1a5f7a;
}

/* Trang chủ: đổi màu chữ khu vực thanh tìm tour (overlay) sang xanh đậm */
.home-page .home-hero-search .hero-filter-form-v2 .form-group-v2 label {
    color: #1a5f7a;
}

.home-page .home-hero-search .hero-filter-form-v2 select,
.home-page .home-hero-search .hero-filter-form-v2 input[type="number"],
.home-page .home-hero-search .hero-filter-form-v2 input[type="date"] {
    color: #333;
}

.home-page .home-hero-search .hero-filter-form-v2 input::placeholder {
    color: #999;
}
.hero-filter-form-v2 .form-group-v2 select,
.hero-filter-form-v2 .form-group-v2 input[type="number"],
.hero-filter-form-v2 .form-group-v2 input[type="date"]
{
    width: 100%;
    padding: 16px 15px; 
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1em; 
    box-sizing: border-box;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-filter-form-v2 .form-group-v2 select:focus,
.hero-filter-form-v2 .form-group-v2 input[type="number"]:focus,
.hero-filter-form-v2 .form-group-v2 input[type="date"]:focus {
    outline: none;
    border-color: #1a5f7a;
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.15);
}

.hero-filter-form-v2 .form-group-v2 select:hover,
.hero-filter-form-v2 .form-group-v2 input[type="number"]:hover,
.hero-filter-form-v2 .form-group-v2 input[type="date"]:hover {
    border-color: #1a5f7a;
}

.hero-filter-form-v2 .hero-btn-v2 {
    flex-basis: 150px;
    padding: 16px 25px; 
    font-size: 1.15em; 
    background: linear-gradient(135deg, #e63946, #d62839);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.hero-filter-form-v2 .hero-btn-v2:hover {
    background: linear-gradient(135deg, #d62839, #c1121f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

/* --- 5.4 CSS CŨ CÒN LẠI (TABS, TOUR CARD V2) --- */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
}
.tab-link {
    padding: 10px 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #555;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-link:hover {
    color: #007bff;
}
.tab-link.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* Trang chủ: tiêu đề "Tour Nổi Bật Theo Miền" xanh đậm hơn */
.featured-tours-section .section-title {
    color: #002d72;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.tour-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.tour-card-v2 {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}
.tour-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.tour-card-image {
    position: relative;
    height: 200px;
}
.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-card-duration {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}
.tour-card-content {
    padding: 20px;
}
.tour-card-content h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.4em; 
}
.tour-card-content h3 a {
    color: #333;
    text-decoration: none;
}
.tour-card-price {
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}
.tour-card-price .current-price {
    font-size: 1.4em;
    font-weight: bold;
    color: #ff0000;
}
.tour-card-price .original-price {
    font-size: 1.em;
    color: #888;
    text-decoration: line-through;
    margin-left: 10px;
}

/* Nút "Xem chi tiết" trong card v2 (pill giống mẫu) */
.tour-card-v2 .btn-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    margin-top: 12px;
    border-radius: 999px;

    text-decoration: none;
    font-weight: 700;
    font-size: 0.95em;

    color: #2000ed;
    background: transparent;
    border: 1px solid #2000ed;

    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.tour-card-v2 .btn-detail-link:hover {
    background: #2000ed;
    color: #ffffff;
    transform: translateY(-1px);
}

.tour-card-v2 .btn-detail-link:active {
    transform: translateY(0);
}

.tour-card-v2 .btn-detail-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 0, 237, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .tour-card-v2 .btn-detail-link {
        transition: none;
    }
    .tour-card-v2 .btn-detail-link:hover,
    .tour-card-v2 .btn-detail-link:active {
        transform: none;
    }
}

/* --- 5.5 RESPONSIVE MỚI --- */
@media (max-width: 992px) { 
    nav.main-nav {
        color: #051faf;
        display: none; 
    }
    .item-grid,
    .review-grid {
        grid-template-columns: 1fr; 
    }
    .footer-column {
        flex-basis: 100%; 
        margin-bottom: 20px;
    }
    .tour-layout-container {
        flex-direction: column; 
    }
    .booking-form-column {
        position: static; 
        width: 100%;
    }
    .hero-filter-form-v2 {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-filter-form-v2 .hero-btn-v2 {
        align-self: stretch;
    }
    .tour-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
// == 6. CSS SLIDER (MŨI TÊN & TỐC ĐỘ)
// ========================================================== */

.hero-slider-section .slick-prev:before,
.hero-slider-section .slick-next:before {
    color: #333 !important;
    font-size: 30px;
}
.hero-slider-section .slick-prev {
    left: 25px;
    z-index: 10;
}
.hero-slider-section .slick-next {
    right: 25px;
    z-index: 10;
}

/* ==========================================================
// == 7. CSS CHO TOP BAR
// ========================================================== */

.top-bar {
    background-color: #002d72;
    color: white;
    padding: 10px 0;
    font-size: 0.9em;
}
.top-bar-container {
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* ép top bar luôn 1 hàng */
}
.top-bar-contact {
    flex: 1;
    min-width: 0; /* cho phép marquee co lại cạnh ô search */
}
.top-bar-contact span {
    display: inline-flex;
    align-items: center;
}

/* Marquee chạy chữ top bar (desktop) */
.top-bar-marquee {
    width: 100%;
    overflow: hidden;
}

.top-bar-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: topBarMarquee 28s linear infinite;
}

.top-bar-marquee-content {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    padding-right: 20px;
}

@keyframes topBarMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .top-bar-marquee-track {
        /* vẫn chạy nhưng chậm hơn để đỡ gây khó chịu */
        animation-duration: 60s;
    }
}

.top-bar-search {
    flex: 0 0 auto;
}
.top-bar-search form {
    display: flex;
}
.top-bar-search input[type="text"] {
    padding: 5px 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9em;
    min-width: 150px;
}
.top-bar-search button {
    padding: 5px 10px;
    border: none;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
@media (max-width: 992px) {
    .top-bar-container {
        flex-direction: row;
        align-items: center;
    }
    .top-bar-contact {
        order: 1;
    }
    .top-bar-search {
        order: 2;
    }

    /* Thu gọn cho gọn chiều cao, nhưng vẫn 1 hàng */
    .top-bar {
        padding: 8px 0;
        font-size: 0.85em;
    }
    .top-bar-search input[type="text"] {
        min-width: 120px;
    }
}

/* ==========================================================
// == 8. CSS CHO TRANG SEARCH RESULTS
// ========================================================== */

.search-title {
    font-size: 2.5em;
    color: #002d72;
    border-bottom: 3px solid #002d72;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.search-section {
    margin-bottom: 40px;
}
.search-section-title {
    font-size: 1.8em;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.blog-grid-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.blog-card-search {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}
.blog-card-search img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}
.blog-content-search {
    padding: 20px;
}
.blog-content-search h3 {
    margin-top: 0;
    font-size: 1.3em;
}
.blog-content-search h3 a {
    text-decoration: none;
    color: #0056b3;
}
.blog-content-search p {
    color: #555;
    margin-top: 10px;
}

/* ==========================================================
// == 9. CSS CHO LOGO TAGLINE
// ========================================================== */
.site-title-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
}
.site-tagline {
    font-size: 0.8em;
    font-weight: 500;
    color: #3bbfee;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==========================================================
// == 10. CSS CHO TRANG LOGIN/REGISTER (GIỐNG THAM KHẢO)
// ========================================================== */

.auth-container {
    max-width: 400px; 
    margin: 50px auto; 
    padding: 30px 40px;
    background: #ffffff; 
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.auth-title {
    text-align: center;
    font-size: 1.8em; 
    color: #333; 
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
}
.auth-form .form-group {
    margin-bottom: 15px;
}
.auth-form .form-group label {
    display: none;
}
.auth-form .form-group input[type="text"],
.auth-form .form-group input[type="email"],
.auth-form .form-group input[type="password"] {
    width: 100%;
    padding: 14px 15px; 
    border: 1px solid #ddd;
    border-radius: 50px; 
    font-size: 1em;
    box-sizing: border-box; 
}
.auth-btn {
    width: 100%;
    padding: 14px;
    background-color: #0056b3; 
    color: white;
    border: none;
    border-radius: 50px; 
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase; 
}
.auth-btn:hover {
    background-color: #004a99;
}
.social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa; 
    margin: 25px 0;
    font-size: 0.9em;
}
.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}
.social-divider span {
    padding: 0 10px;
}
.social-login-grid {
    display: flex;
    gap: 15px;
}
.social-login-btn {
    display: block;
    flex: 1; 
    padding: 12px;
    border-radius: 50px; 
    font-size: 0.9em; 
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    text-transform: uppercase;
}
.facebook-btn {
    background-color: #4267B2; 
    color: white;
}
.google-btn {
    background-color: #DB4437; 
    color: white;
}
.auth-switch {
    text-align: center;
    margin-top: 25px;
    color: #555;
    font-size: 0.9em;
}
.auth-switch a {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}
.forgot-password {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #e63946; 
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
}

/* ==========================================================
// == 11. CSS CHO NỀN TRANG LOGIN (FULLSCREEN)
// ========================================================== */
body.body-auth-page {
    background-image: url('../image/1762306467_trang_an.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
body.body-auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/1762306467_trang_an.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(5px);
    z-index: -1;
}
body.body-auth-page main.auth-page-wrapper {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    min-height: calc(100vh - 104px); 
    display: flex;
    align-items: center;
    justify-content: center;
}
body.body-auth-page .auth-container {
    margin-top: 120px;
    margin-bottom: 50px;
}

/* ==========================================================
// == 12. 🚀 BỔ SUNG CSS CHO HIDE/SHOW HEADER
// ========================================================== */

.sticky-header-wrapper {
    position: fixed; /* 🚀 SỬA: Đổi thành fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000; 
    transition: top 0.3s ease-in-out; /* 🚀 THÊM: Hiệu ứng trượt */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Thêm bóng đổ cho đẹp */
}

/* Class này sẽ được JS thêm vào khi cuộn xuống */
.sticky-header-wrapper.header-hidden {
    top: -150px; /* 🚀 THÊM: Ẩn header (giá trị này phải lớn hơn chiều cao header) */
}

/* ==========================================================
// == 13. 🚀 CSS CHO CÁC ICON NỔI (FIXED)
// ========================================================== */

.floating-contact-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* Cao hơn mọi thứ */
    display: flex;
    flex-direction: column; /* Xếp dọc */
    gap: 15px; /* Khoảng cách giữa các icon */
}

/* Style chung cho các nút tròn */
.f-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none; /* Xóa viền cho button */
    text-decoration: none; /* Xóa gạch chân cho thẻ a */
}

.f-icon:hover {
    transform: scale(1.1); /* Phóng to khi di chuột */
}

/* Icon Điện thoại (Xanh lá) */
.icon-call {
    background-color: #28a745;
    color: white;
    font-size: 22px;
}

/* Icon Zalo (Xanh dương) */
.icon-zalo {
    background-color: #0068ff;
    padding: 0;
    overflow: hidden; /* Để ảnh không tràn ra */
}
.icon-zalo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Icon Chat (Xanh đậm - Native) */
.open-chat-btn {
    background-color: #002d72;
    color: white;
    font-size: 22px;
    /* Ghi đè các thuộc tính cũ nếu có */
    position: static !important; /* Để nó xếp dọc theo flex */
    margin: 0;
}

/* Đảm bảo Facebook Chat luôn ở trên */
.fb_dialog {
    z-index: 1001 !important;
}

/* ==========================================================
// == 14. 🚀 BỔ SUNG CSS CHO DROPDOWN MENU (MEGA MENU)
// ========================================================== */

/* 1. Vùng chứa dropdown (đã thay thế <a> cũ) */
.main-nav .nav-dropdown-item {
    position: relative; /* Quan trọng: Cho menu con định vị tương đối */
    display: inline-block;
}

/* 2. Link chính (TOUR NỘI ĐỊA) */
.main-nav .nav-dropdown-item > a {
    /* Đảm bảo link cha có kiểu dáng giống các link khác */
    text-decoration: none;
    color: #023183; 
    padding: 10px 15px;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    background-color: transparent; /* Bỏ màu nền cam mặc định */
}

/* 3. Hiệu ứng hover cho link chính và link con (Đổi thành màu xanh dương) */
.main-nav .nav-dropdown-item:hover > a {
    color: #007bff;
    background-color: #e6f2ff; /* Xanh nhạt */
}

/* 4. Menu con (Ẩn mặc định) */
.tour-dropdown-menu {
    display: none; /* Mặc định ẩn */
    position: absolute;
    top: 100%; /* Đặt ngay dưới link cha */
    left: 0;
    min-width: 200px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    border-top: none;
    z-index: 5001; /* Phải nằm trên header con */
    padding: 0;
}

/* 5. Hiển thị menu con khi hover link cha */
.main-nav .nav-dropdown-item:hover .tour-dropdown-menu {
    display: block; /* Hiện ra khi di chuột */
}

/* 6. Kiểu dáng các link con */
.tour-dropdown-menu a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.tour-dropdown-menu a:hover {
    background-color: #031cd7; /* Xanh nhạt khi hover */
    color: #0032d5; /* Xanh dương khi hover */
}
/* Xóa gạch dưới link cuối cùng */
.tour-dropdown-menu a:last-child {
    border-bottom: none;
}
/* ==========================================================
// == CSS CHO SLIDER TOUR (THÊM MỚI) ==
// ========================================================== */

/* 1. Wrapper cho mỗi thẻ tour (để tạo khoảng cách) */
.carousel-item-wrapper {
    padding: 10px; /* Tạo khoảng hở xung quanh mỗi thẻ */
    box-sizing: border-box;
}

/* 2. Chỉnh lại container của slider */
.tour-carousel, .other-tours-carousel {
    margin: 0 -10px; /* Cân bằng lại padding để slider căn đều 2 bên */
    margin-bottom: 40px;
}

/* 3. Chỉnh mũi tên Next/Prev (Hình tròn, màu xanh) */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background-color: #002d72 !important; /* Màu xanh chủ đạo */
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}
.slick-prev:hover, .slick-next:hover {
    background-color: #ff6600 !important; /* Màu cam khi hover */
}

/* Vị trí mũi tên */
.slick-prev {
    left: -20px; /* Đẩy ra ngoài bên trái */
}
.slick-next {
    right: -20px; /* Đẩy ra ngoài bên phải */
}

/* Icon mũi tên bên trong */
.slick-prev:before, .slick-next:before {
    font-size: 20px;
    opacity: 1;
    color: white; /* Màu trắng */
}

/* 4. Chỉnh dấu chấm tròn (Dots) bên dưới */
.slick-dots li button:before {
    font-size: 12px;
    color: #002d72;
}
.slick-dots li.slick-active button:before {
    color: #ff6600; /* Màu cam cho chấm đang chọn */
}
/* ==========================================================
// == FIX LỖI SLIDER TOUR (QUAN TRỌNG) ==
// ========================================================== */

/* 1. Ẩn slider khi chưa load xong để tránh vỡ giao diện */
.tour-carousel, .other-tours-carousel {
    display: none; /* JS sẽ bật lại thành block khi load xong */
    width: 100%;
    margin-bottom: 50px;
}

.tour-carousel.slick-initialized, 
.other-tours-carousel.slick-initialized {
    display: block; /* Hiện lại khi đã sẵn sàng */
}

/* 2. Cấu trúc thẻ Slide cho tour carousel */
.tour-carousel .slick-slide,
.other-tours-carousel .slick-slide,
.deal-carousel .slick-slide {
    margin: 0 10px;
    height: auto;
}

/* 3. Fix lỗi thẻ Card bên trong Slider */
.carousel-item-wrapper .tour-card-v2 {
    width: 100%;
    display: block;
    margin: 0; /* Reset margin cũ */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Đổ bóng nhẹ */
}

/* 4. Fix ảnh không hiện hoặc bị méo */
.carousel-item-wrapper .tour-card-image {
    height: 220px; /* Cố định chiều cao ảnh */
    width: 100%;
    overflow: hidden;
}
.carousel-item-wrapper .tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5. Chỉnh mũi tên điều hướng */
.slick-prev, .slick-next {
    z-index: 100;
    width: 40px;
    height: 40px;
    background: #002d72 !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
}
.slick-prev:hover, .slick-next:hover {
    background: #ff6600 !important;
}
.slick-prev { left: -20px; }
.slick-next { right: -20px; }

.slick-prev:before, .slick-next:before {
    font-size: 20px;
    opacity: 1;
}

/* 6. Fix vùng chứa chính để không đè lên Footer */
.tour-listing-content {
    overflow: hidden; /* Ngăn slider tràn ra ngoài container */
    width: 100%;
}
/* ==========================================================
// == CSS CHO TRANG LIÊN HỆ (CONTACT PAGE)
// ========================================================== */

.contact-page-wrapper {
    background-color: #f4f7f6; /* Nền xám nhẹ cho toàn trang */
    padding-bottom: 50px;
}

.contact-grid-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

/* --- CỘT TRÁI (INFO) --- */
.contact-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-box h3 {
    color: #002d72;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item .icon {
    width: 40px;
    height: 40px;
    background-color: #e6f2ff;
    color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}

.info-item .text strong {
    display: block;
    color: #333;
    font-size: 1.1em;
}

.info-item .text span {
    color: #666;
    font-size: 0.95em;
}

.map-box {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 5px solid #fff;
}

/* --- CỘT PHẢI (FORM) --- */
.contact-form-col {
    flex: 1;
}

.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 5px solid #0056b3; /* Viền màu xanh trên cùng */
}

.form-card h3 {
    margin-top: 0;
    color: #002d72;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.6em;
}

.form-card .form-group {
    margin-bottom: 20px;
}

.form-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
    background-color: #fafafa;
}

.form-card input:focus,
.form-card textarea:focus {
    border-color: #0056b3;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.1);
}

.btn-send-contact {
    width: 100%;
    padding: 14px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-send-contact:hover {
    background-color: #004494;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-grid-layout {
        flex-direction: column;
    }
    .static-banner-header h1 {
        font-size: 1.8em;
    }
}
/* ==========================================================
   HIỆU ỨNG HOVER NỔI BẬT (GIỐNG VTOURIST)
   ========================================================== */

/* 1. Cài đặt trạng thái bình thường */
.tour-card-v2 {
    transition: all 0.3s ease-in-out; /* Tạo chuyển động mượt mà */
    border: 1px solid #e0e0e0; /* Viền mờ nhẹ */
    background: #fff;
}

/* 2. Cài đặt trạng thái khi di chuột vào (HOVER) */
.tour-card-v2:hover {
    /* Đẩy thẻ tour bay lên trên 10px */
    transform: translateY(-10px); 
    
    /* Tạo bóng đổ sâu và đậm để tạo cảm giác nổi 3D */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); 
    
    /* (Tùy chọn) Đổi màu viền thành cam cho nổi bật hơn */
    /* border-color: #080ce0; */
}

/* 3. Hiệu ứng phóng to ảnh bên trong */
.tour-card-v2 .tour-card-image {
    overflow: hidden; /* Để ảnh phóng to không bị tràn ra ngoài khung */
}

.tour-card-v2 .tour-card-image img {
    transition: transform 0.5s ease; /* Ảnh zoom chậm hơn thẻ một chút cho nghệ thuật */
}

/* Khi hover vào thẻ tour -> Ảnh bên trong sẽ phóng to 1.1 lần */
.tour-card-v2:hover .tour-card-image img {
    transform: scale(1.1);
}

/* 4. Hiệu ứng đổi màu tiêu đề khi hover (Tùy chọn) */
.tour-card-v2:hover .tour-card-content h3 a {
    color: #080ce0; /* Đổi màu chữ tiêu đề thành cam */
}
/* ==========================================================
   STYLE CHO NÚT "XEM CHI TIẾT" 
   ========================================================== */

.btn-tour-detail {
    display: inline-block;      /* Để chỉnh được padding/margin */
    margin-top: 12px;           /* Cách giá tiền một chút */
    padding: 8px 20px;          /* Độ dày của nút */
    
    background-color: #ff5722;  /* Màu cam đậm giống mẫu */
    color: #ffffff !important;  /* Chữ màu trắng */
    
    text-decoration: none;      /* Bỏ gạch chân */
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;         /* Bo góc nhẹ */
    border: 1px solid #ff5722;  /* Viền trùng màu nền */
    
    transition: all 0.3s ease;  /* Hiệu ứng chuyển màu mượt */
}

/* Hiệu ứng khi di chuột vào nút */
.btn-tour-detail:hover {
    background-color: #ffffff;  /* Đổi nền thành trắng */
    color: #ff5722 !important;  /* Đổi chữ thành cam */
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3); /* Bóng đổ màu cam */
}
/* ==========================================================
   FIX LỖI SLIDER BỊ TRÀN VÀ MẤT NÚT (QUAN TRỌNG)
   ========================================================== */

/* 1. Fix lỗi Slider trong Flexbox (Nguyên nhân chính gây vỡ giao diện) */
.tour-listing-content {
    flex: 1;
    min-width: 0; /* BẮT BUỘC: Giúp slider tính toán đúng chiều rộng */
    overflow: hidden; /* Ẩn những phần thừa trượt ra ngoài */
}

/* 2. Căn chỉnh lại container của slider */
.tour-carousel, .other-tours-carousel {
    width: 100%;
    margin-bottom: 40px;
    /* Tạo khoảng trống 2 bên để nút mũi tên không đè lên ảnh */
    padding: 0 10px; 
    box-sizing: border-box;
}

/* 3. Đưa nút mũi tên vào trong ảnh một chút để dễ bấm */
.slick-prev, .slick-next {
    z-index: 20; /* Đảm bảo nút nổi lên trên ảnh */
    width: 40px;
    height: 40px;
    background: rgba(0, 45, 114, 0.8) !important; /* Màu xanh bán trong suốt */
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    top: 40%; /* Căn giữa theo chiều dọc của ảnh */
}

.slick-prev:hover, .slick-next:hover {
    background: #ff6600 !important; /* Màu cam khi di chuột */
}

/* Vị trí nút */
.slick-prev {
    left: 10px; /* Nằm đè lên mép trái ảnh */
}
.slick-next {
    right: 10px; /* Nằm đè lên mép phải ảnh */
}

/* Icon mũi tên */
.slick-prev:before, .slick-next:before {
    font-size: 20px;
    color: white;
    opacity: 1;
    font-family: "Font Awesome 5 Free"; /* Nếu dùng FontAwesome */
    font-weight: 900;
}

/* 4. Fix chiều cao thẻ Card để đều nhau */
.carousel-item-wrapper {
    padding: 10px; /* Khoảng cách giữa các thẻ */
}
.tour-card-v2 {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%; /* Đảm bảo thẻ cao đều */
    background: #fff;
}

/* 5. Responsive: Màn hình nhỏ thì hiện ít thẻ hơn */
@media (max-width: 1200px) {
    .slick-slide { margin: 0 5px; }
}
/* 2. Cố định chiều cao khung ảnh (Fix lỗi ảnh lúc hiện lúc không) */
.tour-card-v2 .tour-card-image {
    height: 220px !important; /* Bắt buộc chiều cao ảnh */
    min-height: 220px;
    width: 100%;
    overflow: hidden;
    display: block;
}

.tour-card-v2 .tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh phủ kín khung */
}

/* 3. Tạo khoảng trống trên dưới cho Slider (Để hiệu ứng bay lên không bị cắt) */
.tour-carousel, .other-tours-carousel {
    padding-top: 10px;
    padding-bottom: 20px; 
    margin-bottom: 30px;
}

/* 4. Đảm bảo thẻ Card không bị méo */
.tour-card-v2 {
    height: 100%; /* Chiều cao full */
    display: flex;
    flex-direction: column;
}

.tour-card-content {
    flex-grow: 1; /* Đẩy nội dung dài ra cho đều nhau */
    display: flex;
    flex-direction: column;
}

/* Nút xem chi tiết nằm dưới cùng */
.btn-tour-detail {
    margin-top: auto; 
    align-self: flex-start;
}
/* ==========================================================================
   PHẦN SỬA LỖI (DÁN VÀO CUỐI FILE - KHÔNG XÓA CODE CŨ)
   ========================================================================== */

/* 1. Fix lỗi Slider bị tràn lề và mất ảnh */
.tour-listing-content {
    min-width: 0; /* Ngăn flex item bị tràn */
    overflow: visible !important; /* Hiển thị bóng đổ và hiệu ứng popup */
}

.tour-carousel, .other-tours-carousel {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px; /* Chừa chỗ cho shadow */
    display: none; /* Ẩn lúc chưa load để tránh giật */
}

.tour-carousel.slick-initialized, 
.other-tours-carousel.slick-initialized {
    display: block; /* Hiện lại khi đã load xong */
}

/* 2. Fix thẻ Tour (Card) vuông vắn, không bị kéo dãn */
.carousel-item-wrapper {
    padding: 0 10px;
    height: 100%;
}

.tour-card-v2 {
    display: flex !important; /* Ép kiểu Flex để căn chỉnh dọc */
    flex-direction: column;
    height: 480px !important; /* Chiều cao cố định cho thẻ */
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tour-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 50;
}

/* 3. Fix ảnh tour (Quan trọng nhất) - Chống méo ảnh */
.tour-card-v2 .tour-card-image {
    height: 220px !important; /* Cố định chiều cao ảnh */
    min-height: 220px;
    width: 100%;
    flex-shrink: 0; /* Không cho ảnh bị co lại */
    overflow: hidden;
    position: relative;
    display: block;
}

.tour-card-v2 .tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ảnh phủ kín khung, không bị méo */
    transition: transform 0.5s ease;
}

.tour-card-v2:hover .tour-card-image img {
    transform: scale(1.1);
}

/* 4. Căn chỉnh nội dung bên dưới */
.tour-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    justify-content: space-between;
}

.tour-card-content h3 {
    height: 2.8em; /* Giới hạn chiều cao tiêu đề */
    overflow: hidden;
    margin-bottom: 5px;
    font-size: 1.15em;
}

.tour-card-price {
    margin-top: auto; /* Đẩy giá xuống sát nút */
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

/* 5. Nút Xem chi tiết (Màu cam) */
.btn-tour-detail {
    display: block;
    width: 100%;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
    background-color: #ff5722;
    color: #fff !important;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #ff5722;
}
.btn-tour-detail:hover {
    background-color: #fff;
    color: #ff5722 !important;
}

/* 6. Fix Sticky Sidebar (Không bị trôi mất) */
.tour-detail-grid {
    align-items: stretch !important; /* Cho phép sidebar trượt */
}
.booking-sidebar.sticky-sidebar {
    top: 120px !important;
    height: fit-content !important;
    z-index: 90;
    position: -webkit-sticky;
    position: sticky;
}
/* ==========================================================================
   FIX LỖI TRÀN FOOTER & SẬP GIAO DIỆN (DÁN VÀO CUỐI CÙNG)
   ========================================================================== */

/* 1. Buộc container chính phải giãn ra theo nội dung */
main, .tour-listing-wrapper, .tour-listing-content {
    height: auto !important; /* Không được cố định chiều cao */
    overflow: visible !important; /* Không ẩn phần thừa */
    display: block !important; /* Reset lại hiển thị để tính toán đúng chiều cao */
}

/* Khôi phục lại Flex cho Wrapper để chia 2 cột (Sidebar - Content) */
.tour-listing-wrapper {
    display: flex !important;
    gap: 30px;
    padding-bottom: 50px; /* Tạo khoảng cách an toàn dưới cùng */
}

/* 2. Clearfix: "Vũ khí" trị lỗi tràn Footer do Slider gây ra */
.tour-listing-content::after,
.tour-carousel::after, 
.other-tours-carousel::after,
.slick-track::after {
    content: "";
    display: table;
    clear: both;
}

/* 3. Cấu hình lại Slider để nó chiếm không gian thực */
.tour-carousel, .other-tours-carousel {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    margin-bottom: 40px !important; /* Đẩy nội dung bên dưới ra xa */
}

/* 4. Fix chiều cao của đường ray trượt (Slick Track) */
/* Slick slider general */
.slick-list, .slick-track {
    min-height: 200px;
}

.slick-slide {
    float: left;
}

/* Hero slider - giữ height cố định */
.hero-slider-section .slick-list,
.hero-slider-section .slick-track {
    height: 600px !important;
}

/* Tour/Deal carousel - height auto */
.tour-carousel .slick-list, 
.tour-carousel .slick-track,
.other-tours-carousel .slick-list,
.other-tours-carousel .slick-track,
.deal-carousel .slick-list,
.deal-carousel .slick-track {
    height: auto !important;
    min-height: 350px;
}

.tour-carousel .slick-slide,
.other-tours-carousel .slick-slide,
.deal-carousel .slick-slide {
    height: auto !important;
}

/* 5. Xử lý Footer: Đảm bảo nó luôn nằm dưới cùng và ngắt dòng */
footer.site-footer {
    clear: both !important; /* Ngắt mọi thành phần trôi nổi phía trên */
    position: relative;
    z-index: 100;
    margin-top: 50px !important;
}

/* 6. Fix lỗi cột bên phải bị hẹp (nếu có) */
.tour-listing-content {
    flex: 1; /* Chiếm toàn bộ không gian còn lại */
    width: calc(100% - 310px); /* Trừ đi sidebar 280px + gap 30px */
}
/* ==========================================================
// == CSS TRANG BOOKING (NEW VTOURIST STYLE) ==
// ========================================================== */
.booking-page-wrapper { background-color: #f2f4f7; padding-bottom: 60px; }
.booking-layout {
    display: flex; gap: 30px; margin-top: 30px; align-items: flex-start;
}
.booking-left { flex: 1; }
.booking-right { width: 350px; flex-shrink: 0; }

/* Khối Form bên trái */
.booking-section-box {
    background: #fff; padding: 25px; border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); margin-bottom: 20px;
    border-top: 3px solid #002d72;
}
.bs-title {
    margin-top: 0; font-size: 1.2em; color: #002d72; 
    border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px;
}
.bs-title i { margin-right: 8px; color: #ff5722; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: span 2; }

.form-group label { font-weight: 600; font-size: 0.9em; margin-bottom: 8px; display: block; }
.form-group .red { color: red; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px;
    font-size: 1em; transition: 0.3s; box-sizing: border-box;
}
.form-group input:focus { border-color: #002d72; box-shadow: 0 0 5px rgba(0,45,114,0.1); outline: none; }

/* Phương thức thanh toán */
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-radio {
    border: 1px solid #ddd; padding: 15px; border-radius: 5px; cursor: pointer;
    display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.payment-radio:hover { background: #f9f9f9; border-color: #002d72; }
.payment-radio input { width: auto; }

/* Nút Hoàn tất */
.btn-confirm-booking {
    width: 100%; padding: 15px; background: #ff5722; color: white;
    font-size: 1.2em; font-weight: bold; border: none; border-radius: 5px;
    cursor: pointer; text-transform: uppercase; transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}
.btn-confirm-booking:hover { background: #e64a19; transform: translateY(-2px); }

/* Khối Tóm tắt bên phải */
.booking-summary-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee;
}
.bs-img { height: 200px; width: 100%; }
.bs-img img { width: 100%; height: 100%; object-fit: cover; }
.bs-content { padding: 20px; }
.bs-content h4 { margin: 0 0 10px 0; color: #002d72; line-height: 1.4; font-size: 1.1em; }
.bs-content p { font-size: 0.9em; color: #555; margin: 5px 0; }
.bs-divider { height: 1px; background: #eee; margin: 15px 0; }
.bs-price-row { display: flex; justify-content: space-between; font-size: 0.95em; color: #666; }
.bs-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 15px; padding-top: 15px; border-top: 2px dashed #ddd;
    font-weight: bold; font-size: 1.1em; color: #002d72;
}
.bs-total .total-val { color: #ff5722; font-size: 1.4em; }

/* Responsive Booking */
@media (max-width: 768px) {
    .booking-layout { flex-direction: column; }
    .booking-right { width: 100%; order: -1; /* Đưa tóm tắt lên đầu trên mobile */ }
    .form-grid-2 { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
}
/* ==========================================================
// == CSS BẢNG GIÁ THAM KHẢO & TRANG BOOKING ==
// ========================================================== */

/* CSS Bảng giá tham khảo */
.bs-title.centered { text-align: center; font-size: 1.4em; padding-bottom: 10px; margin-bottom: 20px; }
.price-table-ref {
    width: 100%; border-collapse: collapse; margin-bottom: 15px;
    font-size: 0.95em; background-color: #f7f7f7;
}
.price-table-ref th, .price-table-ref td {
    border: 1px solid #ddd; padding: 12px 8px; text-align: center;
}
.price-table-ref th {
    background-color: #002d72; color: white; font-weight: 600;
}
.price-table-ref tbody tr:nth-child(even) { background-color: #fff; }
.price-table-ref tbody tr:first-child td {
    font-weight: bold; color: #e63946; /* Màu đỏ cho giá */
}
.reference-note { font-size: 0.9em; color: #888; text-align: center; }

/* CSS cho trang Booking */
.booking-page-wrapper { background-color: #f2f4f7; padding-bottom: 60px; }
.booking-layout { display: flex; gap: 30px; margin-top: 30px; align-items: flex-start; }
.booking-left { flex: 1; }
.booking-right { width: 350px; flex-shrink: 0; }
.booking-summary-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee;
    position: sticky; top: 120px; z-index: 10;
}
.booking-section-box {
    background: #fff; padding: 25px; border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); margin-bottom: 20px;
    border-top: 3px solid #002d72;
}
.bs-title { font-size: 1.2em; color: #002d72; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.bs-title i { margin-right: 8px; color: #ff5722; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group .red { color: red; }
.btn-confirm-booking {
    width: 100%; padding: 15px; background: #ff5722; color: white;
    font-size: 1.2em; font-weight: bold; border: none; border-radius: 5px;
    cursor: pointer; text-transform: uppercase; transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}
.btn-confirm-booking:hover { background: #e64a19; transform: translateY(-2px); }
.bs-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 15px; padding-top: 15px; border-top: 2px dashed #ddd;
    font-weight: bold; font-size: 1.1em; color: #002d72;
}
.bs-total .total-val { color: #ff5722; font-size: 1.4em; }

/* Responsive Booking */
@media (max-width: 768px) {
    .booking-layout { flex-direction: column; }
    .booking-right { width: 100%; order: -1; }
    .form-grid-2 { grid-template-columns: 1fr; }
}
/* ==========================================================
// == CSS CHI TIẾT PHẦN ĐẾM HÀNH KHÁCH ==
// ========================================================== */
.passenger-count-grid {
    display: flex; /* Thay vì grid, dùng flex để căn đều 4 cột */
    gap: 10px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    text-align: center;
}
.passenger-count-grid .p-group {
    flex: 1; /* Căn đều 4 cột */
}
.passenger-count-grid .p-group label {
    font-size: 0.85em;
    font-weight: 500;
    color: #555;
    text-align: center;
    margin-bottom: 5px;
}
.passenger-count-grid .p-group input {
    text-align: center;
    padding: 8px;
    font-size: 1em;
}
/* ==========================================================
// == CSS CHI TIẾT CHUYỂN KHOẢN & QR CODE ==
// ========================================================== */
.transfer-details-box {
    margin-top: 15px;
    padding: 20px;
    border: 1px dashed #002d72; /* Blue dashed border */
    border-radius: 5px;
    background-color: #f0f8ff; /* Light blue background */
}
.transfer-details-box h4 {
    color: #002d72;
    font-size: 1.1em;
    margin-bottom: 10px;
    border-bottom: 1px solid #cce5ff;
    padding-bottom: 5px;
}
.transfer-details-box p {
    margin: 5px 0;
    font-size: 0.9em;
    font-weight: 500;
}
.qr-label {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.qr-code-display {
    text-align: center;
    margin-top: 10px;
}
.qr-code-display img {
    border: 3px solid #002d72;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* ==========================================================
// == CSS ĐỊNH DẠNG TIÊU ĐỀ TRANG BOOKING ==
// ========================================================== */
.page-header-simple {
    width: 95%; /* Căn chỉnh theo container chính */
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}
.page-main-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #002d72; /* Màu xanh đậm chủ đạo */
    margin: 0;
    padding-left: 10px; /* Căn chỉnh với nội dung */
}

/* Đảm bảo alert-success được style đúng */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
/* ==========================================================
// == FIX LỖI TRANG CHỦ (INDEX.PHP) - DÁN VÀO CUỐI FILE CSS
// ========================================================== */

/* 1. Đảm bảo Hero Slider chiếm đúng chiều cao và hiển thị đúng */
.hero-slider-section {
    /* Buộc chiều cao cứng cho Slider để các slide bên trong hiển thị */
    height: 600px !important; 
    
    /* Điều chỉnh margin-bottom để kéo khối Search Bar lên */
    margin-bottom: -50px !important; 
    margin-top: -104px; /* Giữ nguyên vị trí ban đầu (dưới top bar) */
    position: relative;
}

/* 2. Đảm bảo các slide con bên trong có đủ chiều cao */
.hero-slider-section .hero-slide {
    height: 600px !important; 
    background-size: cover;
    background-position: center;
}

/* 3. Fix lỗi Search Bar bị trôi (positioning) */
.tour-search-bar-section {
    position: relative;
    z-index: 10;
    top: -50px; /* Đẩy khối tìm kiếm lên trên Slider */
    margin-bottom: -50px !important; /* Kéo khối nội dung chính lên */
}

/* 4. Fix lỗi Menu bị nổi lên trên nội dung (Nếu có) */
.main-nav .nav-dropdown-item {
    z-index: 5000;
}

/* 5. Khôi phục chiều cao cho Slick List (Nếu cần) */
.hero-slider-section .slick-list,
.hero-slider-section .slick-track {
    height: 600px !important;
}

/* ==========================================================
// == RESPONSIVE MOBILE - TOÀN DIỆN
// ========================================================== */

/* ============ TABLET (max-width: 992px) ============ */
@media (max-width: 992px) {
    body {
        padding-top: 80px;
    }
    
    .sticky-header-wrapper {
        height: auto;
    }
    
    /* Header */
    .top-bar {
        display: none;
    }
    
    .main-header .container {
        padding: 10px 15px;
    }
    
    /* Hero */
    .hero-slider-section,
    .hero-slider-section .hero-slide,
    .hero-slider-section .slick-list,
    .hero-slider-section .slick-track {
        height: 450px !important;
    }
    
    .home-hero-content h1 {
        font-size: 2em;
    }
    
    .home-hero-content p {
        font-size: 1em;
    }
    
    /* Search Bar */
    .tour-search-bar-section {
        width: 95%;
        top: -30px;
    }
    
    .hero-filter-form-v2 {
        flex-direction: column;
    }
    
    .hero-filter-form-v2 .form-group-v2 {
        width: 100%;
        min-width: 100%;
    }
    
    .hero-filter-form-v2 .hero-btn-v2 {
        width: 100%;
        flex-basis: auto;
    }
    
    /* Tour Grid */
    .tour-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Sections */
    .home-page .home-section {
        padding: 25px 0;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
    }
}

/* ============ MOBILE (max-width: 768px) ============ */
@media (max-width: 768px) {
    body {
        padding-top: 55px;
        font-size: 14px;
    }
    
    /* Main content */
    main {
        padding: 12px;
        margin: 8px auto;
        width: calc(100% - 16px);
        min-height: auto;
    }
    
    /* ===== HEADER MOBILE ===== */
    .top-bar {
        display: none !important;
    }
    
    .sticky-header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9000;
    }
    
    header.site-header {
        padding: 8px 0;
        background: #fff;
    }
    
    .header-container {
        padding: 5px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    /* Logo mobile - phải dùng đúng class trong HTML */
    .logo-container {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 1;
        min-width: 0;
    }
    
    .logo-container img {
        height: 35px;
        width: auto;
        flex-shrink: 0;
    }
    
    .site-title-wrapper {
        min-width: 0;
    }
    
    .site-title-wrapper .site-title {
        font-size: 0.9em;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    .site-title-wrapper .site-tagline {
        display: none;
    }
    
    /* Nav wrapper mobile */
    .nav-wrapper {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
    }
    
    /* Hide desktop nav */
    nav.main-nav {
        display: none !important;
    }
    
    /* User section mobile - phải dùng đúng class trong HTML */
    .user-auth {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-left: 0;
    }
    
    .welcome-user {
        display: none !important;
    }
    
    .logout-link, .login-link {
        padding: 6px 10px !important;
        font-size: 0.75em !important;
        border-radius: 4px !important;
        white-space: nowrap;
    }
    
    /* Menu toggle */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        padding: 6px;
        margin-left: 3px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .menu-toggle .bar {
        width: 20px;
        height: 2px;
        background: #333;
        margin: 3px 0;
        transition: 0.3s;
    }
    
    /* ===== HERO SLIDER MOBILE ===== */
    .hero-slider-section {
        height: 200px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .hero-slider-section .hero-slide {
        height: 200px !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-slider-section .slick-list,
    .hero-slider-section .slick-track {
        height: 200px !important;
    }
    
    /* Home hero mobile */
    .home-hero {
        margin-top: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    .home-hero .hero-slider-section {
        width: 100% !important;
    }
    
    .home-hero-overlay {
        z-index: 1;
    }
    
    .home-hero-content {
        z-index: 2;
        top: 50px;
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    
    .home-hero-content h1 {
        font-size: 1.2em;
    }
    
    .home-hero-content p {
        display: none;
    }
    
    .home-hero-cta {
        padding: 8px 12px;
        font-size: 0.75em;
    }
    
    /* ===== TOUR LISTING MOBILE - TẮT SLICK ===== */
    .tour-listing-wrapper {
        flex-direction: column !important;
        gap: 15px;
        padding: 10px;
    }
    
    .tour-listing-sidebar {
        width: 100% !important;
        order: 2;
    }
    
    .tour-listing-content {
        width: 100% !important;
        order: 1;
    }
    
    /* Tắt slick trên mobile - hiển thị dạng grid */
    .tour-carousel,
    .other-tours-carousel {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px;
    }
    
    /* Ẩn các element slick */
    .tour-carousel .slick-list,
    .tour-carousel .slick-track,
    .other-tours-carousel .slick-list,
    .other-tours-carousel .slick-track,
    .tour-carousel .slick-arrow,
    .other-tours-carousel .slick-arrow,
    .tour-carousel .slick-dots,
    .other-tours-carousel .slick-dots {
        display: none !important;
    }
    
    /* Card wrapper trở lại bình thường */
    .tour-carousel .carousel-item-wrapper,
    .other-tours-carousel .carousel-item-wrapper,
    .tour-carousel > .slick-list > .slick-track > .carousel-item-wrapper,
    .other-tours-carousel > .slick-list > .slick-track > .carousel-item-wrapper {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 15px;
        float: none !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
    
    /* Tour card styles */
    .tour-card-v2 {
        height: auto !important;
        min-height: auto;
        width: 100%;
    }
    
    .tour-card-v2 .tour-card-image {
        height: 200px !important;
        min-height: 200px !important;
    }
    
    .tour-card-v2 .tour-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .tour-card-v2 .tour-card-content {
        padding: 15px;
    }
    
    .tour-card-v2 .tour-card-content h3 {
        font-size: 1em;
        height: auto;
        margin-bottom: 10px;
    }
    
    .tour-card-price .current-price {
        font-size: 1.1em;
    }
    
    .btn-tour-detail {
        padding: 10px 20px;
        font-size: 0.9em;
        display: inline-block;
    }
    
    .tour-list-title-main,
    .other-tours-title-red {
        font-size: 1.2em;
        text-align: center;
        margin-bottom: 15px;
    }
    
    /* ===== SEARCH BAR MOBILE ===== */
    .tour-search-bar-section {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 95% !important;
        margin: 10px auto !important;
    }
    
    .search-bar-container {
        padding: 12px;
        border-radius: 8px;
    }
    
    .hero-filter-form-v2 {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-filter-form-v2 .form-group-v2 {
        width: 100%;
        min-width: 100%;
    }
    
    .hero-filter-form-v2 .form-group-v2 label {
        font-size: 0.85em;
        margin-bottom: 4px;
        color: #1a5f7a;
    }
    
    .hero-filter-form-v2 .form-group-v2 select,
    .hero-filter-form-v2 .form-group-v2 input[type="number"],
    .hero-filter-form-v2 .form-group-v2 input[type="date"] {
        padding: 10px;
        font-size: 0.95em;
    }
    
    .hero-filter-form-v2 .hero-btn-v2 {
        padding: 12px 20px;
        font-size: 1em;
        width: 100%;
        border-radius: 25px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.4em !important;
    }
    
    .section-title::after {
        width: 80px !important;
    }
    
    /* Tour Grid Mobile */
    .tour-grid-v2 {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .tour-card-v2 .tour-card-image-v2 {
        height: 180px;
    }
    
    .tour-card-v2 .tour-card-content-v2 h3 {
        font-size: 1em;
    }
    
    /* Item Grid (Destinations, Blog) */
    .item-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .item-card {
        margin: 0 5px;
    }
    
    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    /* Tabs */
    .tabs-nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tab-link {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    
    /* About Page */
    .about-section {
        padding: 30px 15px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-card {
        padding: 25px;
    }
    
    .stats-section {
        padding: 40px 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item h4 {
        font-size: 2em;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    /* Auth Pages (Login, Register) */
    .auth-container {
        width: 95%;
        padding: 25px 20px;
        margin: 80px auto 30px;
    }
    
    .auth-title {
        font-size: 1.5em;
    }
    
    .auth-form .form-group input {
        padding: 12px;
        font-size: 1em;
    }
    
    .auth-btn {
        padding: 14px;
        font-size: 1em;
    }
    
    .social-login-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-login-btn {
        width: 100%;
    }
    
    /* Tour Detail Page */
    .tour-detail-wrapper {
        flex-direction: column;
    }
    
    .tour-info-column,
    .tour-sidebar-column {
        width: 100%;
    }
    
    .tour-header img {
        height: 250px;
    }
    
    .tour-title {
        font-size: 1.4em;
    }
    
    /* Booking Form */
    .booking-form-section {
        padding: 15px;
    }
    
    /* Contact Page */
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    /* Footer Mobile */
    .footer-content {
        padding: 20px 15px;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    .footer-section h4 {
        font-size: 1.1em;
    }
    
    .footer-bottom {
        padding: 15px;
        font-size: 0.85em;
    }
    
    /* Floating Icons */
    .floating-contact-icons {
        bottom: 15px;
        right: 15px;
    }
    
    .f-icon {
        width: 45px;
        height: 45px;
    }
    
    /* Mobile Menu */
    .mobile-menu-overlay {
        width: 85%;
        max-width: 320px;
    }
    
    .mobile-menu-nav a {
        font-size: 1.1em;
        padding: 12px 0;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.85em;
        padding: 10px 0;
    }
    
    /* Reviews */
    .review-card {
        padding: 20px;
    }
    
    .review-avatar {
        width: 80px;
        height: 80px;
    }
    
    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ============ SMALL MOBILE (max-width: 480px) ============ */
@media (max-width: 480px) {
    body {
        font-size: 13px;
        padding-top: 55px;
    }
    
    /* Header small mobile */
    .main-header .container {
        padding: 5px 8px;
    }
    
    .site-branding img {
        height: 30px;
    }
    
    .site-branding .site-title {
        font-size: 0.85em;
    }
    
    .logout-link, .login-link {
        padding: 5px 8px !important;
        font-size: 0.7em !important;
    }
    
    .menu-toggle {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    /* Hero */
    .hero-slider-section,
    .hero-slider-section .hero-slide,
    .hero-slider-section .slick-list,
    .hero-slider-section .slick-track {
        height: 250px !important;
    }
    
    .home-hero {
        margin-top: -55px;
    }
    
    .home-hero-content {
        top: 60px;
    }
    
    .home-hero-content h1 {
        font-size: 1.1em;
    }
    
    .home-hero-content p {
        font-size: 0.8em;
    }
    
    .home-hero-cta {
        padding: 6px 12px;
        font-size: 0.75em;
    }
    
    /* Search Bar */
    .tour-search-bar-section {
        top: -10px;
        width: 96%;
    }
    
    .search-bar-container {
        padding: 10px;
    }
    
    .hero-filter-form-v2 .form-group-v2 label {
        font-size: 0.8em;
    }
    
    .hero-filter-form-v2 .form-group-v2 select,
    .hero-filter-form-v2 .form-group-v2 input[type="number"],
    .hero-filter-form-v2 .form-group-v2 input[type="date"] {
        padding: 8px;
        font-size: 0.9em;
    }
    
    .hero-filter-form-v2 .hero-btn-v2 {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.2em !important;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h4 {
        font-size: 1.8em;
    }
    
    /* Tour Card */
    .tour-card-v2 .tour-card-image-v2 {
        height: 150px;
    }
    
    .tour-card-v2 .tour-card-content-v2 {
        padding: 10px;
    }
    
    .tour-card-v2 .tour-card-content-v2 h3 {
        font-size: 0.9em;
    }
    
    /* Auth */
    .auth-container {
        padding: 15px 12px;
        margin-top: 60px;
    }
    
    .auth-title {
        font-size: 1.3em;
    }
    
    /* Banner headers */
    .static-banner-header h1 {
        font-size: 1.3em;
        padding: 0 10px;
    }
    
    /* Item cards */
    .item-card-content h3 {
        font-size: 0.95em;
    }
    
    .item-card-price {
        font-size: 0.85em;
    }
    
    /* Footer */
    .footer-column {
        padding: 0 10px;
    }
    
    .footer-column h4 {
        font-size: 1em;
    }
    
    /* Mobile Menu */
    .mobile-menu-overlay {
        width: 90%;
    }
    
    .mobile-menu-content {
        padding: 60px 20px 20px;
    }
    
    .mobile-menu-nav a {
        font-size: 1em;
        padding: 10px 0;
    }
}