/* Site header styles — moved out of Elements/Frontend/header.blade.php (task S7, 2026-10-09) so browsers cache it. Edit here, not in the view. */
    /* Floating Header */
    .travel24-header {
        --primary-color: #2563eb;
        --primary-hover: #1d4ed8;
        --secondary-color: #2563eb;
        --text-color: #374151;
        --header-height: 56px;
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
        margin: 0;
        padding-top: 72px !important;
    }

    body.page-search {
        padding-top: 0 !important;
    }

    /* Floating pill header */
    .travel24-header {
        position: fixed;
        top: 8px;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        width: calc(100% - 32px);
        max-width: 1320px;
        height: var(--header-height);
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        z-index: 999999;
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
        border-radius: 16px;
        transition: var(--transition);
    }

    /* Homepage: transparent header over hero image */
    body.page-search .travel24-header {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: none;
    }
    body.page-search .travel24-header .nav-menu li a { color: #fff; }
    body.page-search .travel24-header .nav-menu li a:hover { color: #fff; background: rgba(255,255,255,.15); }
    body.page-search .travel24-header .nav-menu li a.active { color: #fff; background: rgba(255,255,255,.2); }
    body.page-search .travel24-header .btn-outline { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.1); }
    body.page-search .travel24-header .btn-outline:hover { background: rgba(255,255,255,.2); }
    body.page-search .travel24-header .btn-primary { background: #fff; color: #111827; }
    body.page-search .travel24-header .btn-primary:hover { background: rgba(255,255,255,.9); }
    body.page-search .travel24-header .mobile-menu-btn i,
    body.page-search .travel24-header .mobile-signin-btn i { color: #fff; }

    /* Homepage scrolled: back to solid */
    body.page-search .travel24-header.is-scrolled {
        background: rgba(255, 255, 255, 0.97);
        border-color: rgba(0,0,0,0.06);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
    }
    body.page-search .travel24-header.is-scrolled .nav-menu li a { color: var(--text-color); }
    body.page-search .travel24-header.is-scrolled .nav-menu li a:hover { color: var(--primary-color); background: rgba(37,99,235,.06); }
    body.page-search .travel24-header.is-scrolled .btn-outline { border-color: #e5e7eb; color: var(--text-color); background: rgba(255,255,255,.6); }
    body.page-search .travel24-header.is-scrolled .btn-primary { background: var(--primary-color); color: #fff; }
    body.page-search .travel24-header.is-scrolled .mobile-menu-btn i,
    body.page-search .travel24-header.is-scrolled .mobile-signin-btn i { color: #374151; }

    /* Scrolled — tighter, more opaque */
    .travel24-header.is-scrolled {
        top: 6px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.06);
        height: 52px;
    }

    /* Hidden on scroll down, show on scroll up */
    .travel24-header.is-hidden {
        transform: translateX(-50%) translateY(-120%);
        opacity: 0;
        pointer-events: none;
    }

    .travel24-header #header {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .travel24-header .header-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 24px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Logo */
    .travel24-header .logo-header {
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    .travel24-header .logo-header:hover {
        opacity: 0.8;
    }

    .travel24-header .logo-header img {
        width: 90px;
        height: 30px;
        object-fit: contain;
    }

    /* Navigation Styles */
    .travel24-header .nav-menu {
        display: flex;
        align-items: center;
        gap: 16px;
        margin: 0;
        padding: 0;
        list-style: none;
        height: 43px;
    }

    .travel24-header .nav-menu li a {
        color: var(--text-color);
        text-decoration: none;
        font-weight: 500;
        font-size: 13.5px;
        height: 36px;
        padding: 0 14px;
        border-radius: 10px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .travel24-header .nav-menu li a:hover {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.06);
    }

    .travel24-header .nav-menu li a.active {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.08);
        font-weight: 600;
    }

    .travel24-header .nav-menu li a::after {
        display: none;
    }

    .travel24-header .nav-menu li a i {
        font-size: 13px;
        width: 15px;
        text-align: center;
        transition: transform 0.2s ease;
    }

    .travel24-header .nav-menu li a:hover i {
        color: var(--primary-color);
        transform: scale(1.1);
    }
    /* inline SVG icons (2026-10-15) */
    .travel24-header .nav-menu li a svg.nav-ico { width: 16px; height: 16px; flex: none; transition: transform 0.2s ease; }
    .travel24-header .nav-menu li a:hover svg.nav-ico { transform: scale(1.1); }

    /* Action Buttons */
    .travel24-header .action-buttons {
        display: flex;
        align-items: center;
        gap: 12px;
        height: 43px;
    }

    .travel24-header .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 34px;
        padding: 0 16px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        border: none;
    }

    .travel24-header .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    }

    .travel24-header .btn-primary {
        background: var(--primary-color);
        color: #fff;
    }

    .travel24-header .btn-primary:hover {
        background: var(--primary-hover);
        box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
    }

    .travel24-header .btn-outline {
        border: 1.5px solid #e5e7eb;
        color: var(--text-color);
        background: rgba(255, 255, 255, 0.6);
    }

    .travel24-header .btn-outline:hover {
        background: rgba(255, 255, 255, 0.9);
        border-color: #d1d5db;
    }

    /* Support Dropdown */
    .travel24-header .support-dropdown {
        position: relative;
    }

    .travel24-header .support-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 14px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.04);
        padding: 6px;
        min-width: 200px;
        display: none;
        z-index: 1000;
        animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .travel24-header .support-dropdown:hover .support-menu {
        display: block;
    }

    .travel24-header .support-menu a {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 38px;
        padding: 0 12px;
        font-size: 13px;
        color: #374151;
        text-decoration: none;
        border-radius: 8px;
        transition: background 0.15s ease;
    }

    .travel24-header .support-menu a:hover {
        background: #f3f4f6;
        color: var(--primary-color);
    }

    .travel24-header .support-menu a i {
        font-size: 14px;
        width: 16px;
        text-align: center;
        color: #9ca3af;
    }

    .travel24-header .support-menu a:hover i {
        color: var(--primary-color);
    }

    /* Mobile Menu */
    .travel24-header .mobile-actions {
        display: none;
        align-items: center;
        gap: 12px;
    }

    .travel24-header .mobile-currency-btn {
        display: none;
        height: 43px;
        padding: 0 12px;
        font-size: 13px;
        font-weight: 500;
    }

    .travel24-header .mobile-signin-btn {
        display: none;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .travel24-header .mobile-signin-btn i {
        font-size: 22px;
        color: #374151;
    }

    .travel24-header .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .travel24-header .mobile-menu-btn i {
        font-size: 22px;
        color: #374151;
    }

    .travel24-header .mobile-menu {
        display: none;
        position: fixed;
        top: 66px;
        left: 8px;
        right: 8px;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 12px 16px 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.04);
        border-radius: 14px;
        z-index: 999998;
        animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .travel24-header .mobile-menu.active {
        display: block;
    }

    .travel24-header .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .travel24-header .mobile-menu li {
        margin-bottom: 16px;
    }

    .travel24-header .mobile-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #374151;
        text-decoration: none;
        font-weight: 450;
        height: 44px;
        padding: 0 12px;
        border-radius: 10px;
        transition: background 0.15s ease;
    }

    .travel24-header .mobile-menu a:hover {
        background: #f3f4f6;
        color: var(--primary-color);
    }

    .travel24-header .mobile-menu a i {
        font-size: 15px;
        width: 18px;
        text-align: center;
        color: #9ca3af;
    }

    .travel24-header .mobile-menu a:hover i {
        color: var(--primary-color);
    }

    .travel24-header .mobile-menu-section-title {
        font-size: 11px;
        text-transform: uppercase;
        color: #666;
        margin-bottom: 6px;
        padding: 0 8px;
        font-weight: 600;
    }

    /* Responsive */
    @media (max-width: 1077px) {
        .travel24-header {
            width: calc(100% - 16px);
            top: 6px;
            border-radius: 14px;
            height: 50px;
        }

        .travel24-header.is-scrolled {
            height: 48px;
        }

        body {
            padding-top: 64px !important;
        }

        .travel24-header .nav-menu,
        .travel24-header .action-buttons {
            display: none;
        }

        .travel24-header .mobile-actions {
            display: flex;
        }

        .travel24-header .mobile-currency-btn {
            display: block;
        }

        .travel24-header .mobile-menu-btn,
        .travel24-header .mobile-signin-btn {
            display: block;
        }

        .travel24-header .header-container {
            justify-content: space-between;
            padding: 0 16px;
        }

        .travel24-header .logo-header {
            margin-right: auto;
        }

        .travel24-header .logo-header img {
            width: 80px;
            height: 26px;
            object-fit: contain;
        }
    }

    .travel24-header .btn::after {
        display: none;
    }

    /* Support Menu */
    .travel24-header .support-dropdown .btn {
        height: 43px;
    }

    /* Currency Selector */
    .travel24-header .currency-selector .btn {
        height: 43px;
        min-width: 60px;
    }

    /* User Menu Styles */
    .travel24-header .user-menu {
        position: relative;
        display: inline-block;
    }

    .travel24-header .user-menu-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 38px;
        padding: 0 16px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 9999px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 500;
        transition: background 0.2s ease;
    }

    .travel24-header .user-menu-btn:hover {
        background: var(--primary-hover);
    }

    .travel24-header .user-menu-btn i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .travel24-header .user-menu-content {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        margin-top: 8px;
        background: white;
        min-width: 200px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.04);
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        padding: 6px;
    }

    .travel24-header .user-menu-content.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .travel24-header .user-menu-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        color: #374151;
        text-decoration: none;
        font-size: 13px;
        transition: background 0.15s ease;
        border-bottom: none;
        border-radius: 8px;
    }

    .travel24-header .user-menu-item:last-child {
        border-bottom: none;
    }

    .travel24-header .user-menu-item:hover {
        background: #f3f4f6;
        color: var(--primary-color);
    }

    .travel24-header .user-menu-item i {
        width: 16px;
        text-align: center;
        color: #9ca3af;
    }

    /* Mobile specific styles */
    @media (max-width: 1077px) {
        .travel24-header .mobile-actions .dropdown {
            position: relative;
        }

        .travel24-header .mobile-actions .dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 6px;
            height: 43px;
            padding: 0 12px;
            font-size: 13px;
            font-weight: 500;
            color: #fff;
            background: var(--secondary-color);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            max-width: 150px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .travel24-header .mobile-actions .dropdown-toggle:hover {
            background: #333;
        }

        .travel24-header .mobile-actions .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            width: 200px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.04);
            padding: 6px;
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .travel24-header .mobile-actions .dropdown-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .travel24-header .mobile-actions .dropdown-menu li {
            margin: 4px 0;
            list-style: none;
        }

        .travel24-header .mobile-actions .dropdown-menu li a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            color: #374151;
            text-decoration: none;
            border-radius: 8px;
            transition: background 0.15s ease;
            font-size: 14px;
            white-space: nowrap;
        }

        .travel24-header .mobile-actions .dropdown-menu li a:hover {
            background: #f3f4f6;
            color: var(--primary-color);
        }

        .travel24-header .mobile-actions .dropdown-menu li a i {
            font-size: 14px;
            width: 16px;
            text-align: center;
            color: var(--primary-color);
        }
    }
