/**
 * Tour Lagbe CSS Design System
 * Author: Antigravity
 * Version: 1.0.0
 */

/* ==========================================================================
   1. Theme Variables & Base Style
   ========================================================================== */
:root {
    --primary-color: #0069b3;
    --primary-hover: #005a91;
    --secondary-color: #0284c7;
    --secondary-hover: #0369a1;
    --accent-color: #f43f5e;
    --accent-hover: #e11d48;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0069b3;
    --border-color: #e2e8f0;
    --border-color-focus: #0069b3;
    --box-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 2px 4px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --container-width: 1200px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: none;
}

/* ==========================================================================
   3. Announcement Topbar
   ========================================================================== */
.nav-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 44px; /* Matches header top */
    z-index: 1010;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    padding: 4px 0;
    transition: transform 0.3s ease;
}

.nav-topbar.hidden {
    transform: translateY(-100%);
}

.nav-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.nav-topbar-text {
    font-size: 0.825rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    line-height: 1.4;
}

.nav-topbar-text i {
    margin-right: 4px;
    color: #fde047;
}

.nav-topbar-link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 4px;
}

.nav-topbar-link:hover {
    color: #fde047;
}

.nav-topbar-close {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.nav-topbar-close:hover {
    color: #fff;
}

/* ==========================================================================
   4. Main Sticky Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    min-height: 80px; 
    transition:
        top 0.3s ease,
        min-height 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Scrolled State */
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 0 0 var(--border-color);
    min-height: 60px;
}

/* Adjust top position when Admin Bar is present */
.admin-bar .site-header {
    top: 32px;
}

/* Inner layout */
.hdr-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 80px; /* Match header min-height */
    width: 100%;
    transition: min-height 0.3s ease;
}

.site-header.scrolled .hdr-inner {
    min-height: 60px;
}

/* ── LOGO ── */
.hdr-logo {
    flex-shrink: 0;
    /* Prevent logo from squishing the nav */
    min-width: 0;
}

/* WordPress custom_logo wrapper */
.hdr-logo .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0; /* remove inline-block gap */
}

/* The actual logo <img> — constrain to header height regardless of upload size */
.hdr-logo .custom-logo-link img,
.hdr-logo .custom-logo-link .custom-logo {
    display: block;
    width: auto;
    height: 44px;          /* Desktop: exactly fits 80px-tall header */
    max-height: 44px;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
    transition: height 0.3s ease, opacity 0.3s ease;
}

/* When header shrinks on scroll, logo also slightly shrinks */
.site-header.scrolled .hdr-logo .custom-logo-link img,
.site-header.scrolled .hdr-logo .custom-logo-link .custom-logo {
    height: 36px;
    max-height: 36px;
}

/* Text-based fallback logo */
.hdr-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hdr-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 8px;
    flex-shrink: 0;
    transition: width 0.3s ease, height 0.3s ease;
}

.site-header.scrolled .hdr-logo-mark {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.hdr-logo-word {
    display: flex;
    align-items: baseline;
    gap: 1px;
    line-height: 1;
}

.hdr-logo-primary {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: font-size 0.3s ease;
}

.hdr-logo-secondary {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    transition: color 0.3s ease, font-size 0.3s ease;
}

.hdr-logo-secondary-dark {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.site-header.scrolled .hdr-logo-primary {
    font-size: 1.35rem;
}

.site-header.scrolled .hdr-logo-secondary {
    color: var(--text-dark);
    font-size: 1.35rem;
}


/* ── DESKTOP NAV ── */
.hdr-nav {
    flex: 1;
}

.hdr-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hdr-nav-item {
    position: relative;
}

.hdr-nav-link,
.hdr-nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    margin: 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.25s ease;
    text-decoration: none;
    font-family: inherit;
}

.hdr-nav-link i,
.hdr-nav-btn i {
    font-size: 0.95rem;
    opacity: 1;
}

/* Underline effect on hover */
.hdr-nav-link::after,
.hdr-nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.hdr-nav-link:hover::after,
.hdr-nav-btn:hover::after,
.hdr-has-dropdown:hover .hdr-nav-btn::after {
    transform: scaleX(1);
}

.hdr-nav-link:hover,
.hdr-nav-btn:hover {
    color: var(--primary-hover);
}

/* Arrow icon inside dropdown trigger */
.hdr-arrow {
    font-size: 0.75rem !important;
    margin-left: 2px;
    opacity: 0.8;
    transition: transform 0.25s ease;
}

.hdr-has-dropdown:hover .hdr-arrow {
    transform: rotate(180deg);
}

/* ── DROPDOWN ── */
.hdr-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 220px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    border: 1px solid var(--border-color);
}

.hdr-has-dropdown:hover .hdr-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hdr-dd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
}

.hdr-dd-item:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}

.hdr-dd-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #f1f5f9;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.hdr-dd-item:hover .hdr-dd-icon {
    background-color: rgba(15, 98, 254, 0.1);
    color: var(--primary-color);
}

.hdr-dd-sep {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 12px;
}

/* ── RIGHT ACTIONS ── */
.hdr-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Helpline */
.hdr-helpline {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.25s;
}

.hdr-helpline:hover {
    background-color: rgba(15, 98, 254, 0.06);
}

.site-header.scrolled .hdr-helpline:hover {
    background-color: rgba(15, 98, 254, 0.06);
}

.hdr-helpline > i {
    font-size: 1.05rem;
    color: var(--primary-color);
    background-color: rgba(15, 98, 254, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.25s;
}

.site-header.scrolled .hdr-helpline > i {
    background-color: rgba(15, 98, 254, 0.1);
}

.hdr-helpline-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hdr-helpline-body small {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s;
}

.hdr-helpline-body strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dark);
    transition: color 0.3s;
}

.site-header.scrolled .hdr-helpline-body small {
    color: var(--text-muted);
}

.site-header.scrolled .hdr-helpline-body strong {
    color: var(--text-dark);
}

/* Login Button */
.hdr-btn-login {
    display: flex;
    align-items: center;
    gap: 7px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: background-color 0.25s ease;
    white-space: nowrap;
}

.hdr-btn-login:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

/* Hamburger */
.hdr-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s;
}

.hdr-hamburger:hover {
    background-color: #e2e8f0;
}

.site-header.scrolled .hdr-hamburger {
    background: #f1f5f9;
    border-color: var(--border-color);
}

.site-header.scrolled .hdr-hamburger:hover {
    background: #e2e8f0;
}

.hdr-ham-line {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, width 0.3s ease;
}

.site-header.scrolled .hdr-ham-line {
    background-color: var(--text-dark);
}

/* Animated X state */
.hdr-hamburger.is-active .hdr-ham-line--top {
    transform: translateY(7px) rotate(45deg);
}

.hdr-hamburger.is-active .hdr-ham-line--mid {
    opacity: 0;
    width: 0;
}

.hdr-hamburger.is-active .hdr-ham-line--bot {
    transform: translateY(-7px) rotate(-45deg);
}

/* For smaller screens where admin bar is 46px */
@media screen and (max-width: 782px) {
    .site-header {
        min-height: auto;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    .hdr-inner {
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        gap: 10px; 
        min-height: 40px; 
        padding: 4px 12px;
        width: 100%; 
        transition: min-height 0.3s ease; 
    }

    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .site-header.scrolled {
        top: 0;
    }

    /* Prevent UI bump in mobile scrolled state */
    .site-header.scrolled {
        min-height: auto;
    }

    .site-header.scrolled .hdr-inner {
        min-height: 40px;
    }

    /* Ensure icons don't change style on scroll in mobile */
    .site-header.scrolled .hdr-hamburger {
        background: var(--primary-color);
        box-shadow: 0 4px 10px rgba(0, 105, 179, 0.2);
    }

    .site-header.scrolled .hdr-btn-login {
        width: 42px !important;
        height: 42px !important;
        background: rgba(0, 105, 179, 0.1);
        box-shadow: 0 4px 10px rgba(0, 105, 179, 0.1);
    }
    
    /* Brand New Mobile Header Elements */
    .hdr-logo {
        justify-self: start;
        margin: 0;
        padding: 0;
    }
    
    .hdr-logo .custom-logo-link img,
    .hdr-logo .custom-logo-link .custom-logo {
        height: 40px !important; /* Reduced from 48px to keep it compact */
        width: auto;
        max-width: 140px;
    }

    /* Keep logo size fixed on mobile scroll */
    .site-header.scrolled .hdr-logo .custom-logo-link img,
    .site-header.scrolled .hdr-logo .custom-logo-link .custom-logo {
        height: 40px !important;
        max-height: 40px !important;
    }

    /* Ensure hamburger lines stay white on scroll */
    .site-header.scrolled .hdr-hamburger .hdr-ham-line {
        background-color: #ffffff !important;
    }
    
    /* Fallback Text Logo adjustments for mobile */
    .hdr-logo-mark {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

    .hdr-logo-primary,
    .hdr-logo-secondary,
    .hdr-logo-secondary-dark {
        font-size: 1.5rem;
    }

    .hdr-actions {
        grid-column: 3;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 0;
    }
    
    .hdr-btn-login {
        width: 42px; 
        height: 42px;
        padding: 0;
        border-radius: 8px; /* Changed from 50% to match hamburger */
        background: rgba(0, 105, 179, 0.1); /* Light version of primary color */
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem; 
        border: none; /* Removed border to match hamburger style */
        box-shadow: 0 4px 10px rgba(0, 105, 179, 0.1); /* Lighter shadow */
    }

    .hdr-btn-login span {
        display: none;
    }

    .hdr-hamburger {
        width: 42px; 
        height: 42px;
        background: var(--primary-color);
        border: none;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4.5px; 
        padding: 0;
        box-shadow: 0 4px 10px rgba(0, 105, 179, 0.2);
    }
    
    .hdr-ham-line {
        width: 22px; 
        height: 2.5px;
        background-color: #ffffff;
        border-radius: 2px;
    }

    .hdr-hamburger {
        display: flex; /* Ensure hamburger shows on mobile */
    }
}

/* ==========================================================================
   5. Mobile Drawer
   ========================================================================== */
.hdr-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.4s; /* Wait for panel to slide down */
}

.hdr-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
}

.hdr-drawer-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 85vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1), 0 -8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hdr-drawer.is-open .hdr-drawer-panel {
    transform: translateY(0);
}

/* Drawer Header */
.hdr-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.hdr-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.hdr-drawer-close:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Drawer Search */
.hdr-drawer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 24px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.hdr-drawer-search i {
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.hdr-drawer-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
    font-family: inherit;
}

.hdr-drawer-search input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

/* Drawer Nav */
.hdr-drawer-nav {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
}

.hdr-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0 16px;
}

.hdr-dr-item {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 2px;
}

.hdr-dr-link,
.hdr-dr-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    text-align: left;
    font-family: inherit;
}

.hdr-dr-link:hover,
.hdr-dr-toggle:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}

.hdr-dr-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #f1f5f9;
    border-radius: var(--border-radius-sm);
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.hdr-dr-link:hover .hdr-dr-icon,
.hdr-dr-toggle:hover .hdr-dr-icon {
    background-color: rgba(15, 98, 254, 0.1);
}

.hdr-dr-label {
    flex: 1;
}

.hdr-dr-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background-color: var(--accent-color);
    color: #fff;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hdr-dr-arrow {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.hdr-dr-toggle[aria-expanded="true"] .hdr-dr-arrow {
    transform: rotate(90deg);
}

/* Drawer Sub-menu */
.hdr-dr-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 0 24px; /* Shifted to the right */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.hdr-dr-sub.is-open {
    max-height: 500px; /* High enough value for sub-menu */
    opacity: 1;
    margin-top: 5px;
    margin-bottom: 5px;
}

.hdr-dr-sublink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.2s, color 0.2s;
}

.hdr-dr-sublink i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #f1f5f9;
    border-radius: var(--border-radius-sm);
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.hdr-dr-sublink:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
}

.hdr-dr-sublink:hover i {
    background-color: rgba(15, 98, 254, 0.1);
}

/* Drawer Footer */
.hdr-drawer-footer {
    padding: 20px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: row; /* Inline buttons */
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hdr-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s;
    flex: 1;
    white-space: nowrap;
}

.hdr-drawer-cta:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.hdr-drawer-helpline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    flex: 1.2;
    text-decoration: none;
}

.hdr-drawer-helpline > i {
    font-size: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.hdr-drawer-helpline div {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.hdr-drawer-helpline small {
    font-size: 0.65rem;
    line-height: 1.2;
    color: var(--text-muted);
}

.hdr-drawer-helpline strong {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-dark);
}

/* Overlay Backdrop */
.hdr-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.hdr-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   5. Home Page: Hero Slider & Booking Card
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    margin-top: 80px; /* PC Header Height */
}

/* Removed redundant .admin-bar .hero-slider-section margin because WP admin bar already pushes the body */

.hero-swiper {
    width: 100%;
    aspect-ratio: 20 / 9;
    height: auto;
    z-index: 1;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 2;
    display: flex;
    align-items: center;
}

.slide-content {
    width: 100%;
}

.slide-title {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.slide-btn {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 105, 179, 0.4);
}

.hero-booking-container {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    z-index: 100;
}

.exact-match-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 20px 30px;
    margin: 0 auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero-swiper .swiper-pagination {
    bottom: 30px !important;
    z-index: 101;
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.6;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1 !important;
    width: 25px !important;
    border-radius: 5px !important;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.hero-swiper:hover .swiper-button-next,
.hero-swiper:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
}

.tl-aisearch-home {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    color-scheme: light !important; /* Force light scheme for search */
}

/* Fullscreen Search Styles — ChatGPT-style */
.tl-aisearch-home.is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    z-index: 999999;
    background: #f5f5f0 !important; /* Fixed background */
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    max-width: none;
    animation: tlFsIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
    color-scheme: light !important;
}

.tl-aisearch-home.is-fullscreen.is-closing {
    animation: tlFsOut 0.2s ease forwards;
    pointer-events: none;
}

.tl-aisearch-fs .site-header {
    z-index: 0;
}

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

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

@media (prefers-reduced-motion: reduce) {
    .tl-aisearch-home.is-fullscreen {
        animation: none;
        will-change: auto;
    }

    .tl-aisearch-home.is-fullscreen.is-closing {
        animation: none;
        opacity: 0;
        transform: translateY(8px);
    }
}

/* ---- FS Header bar ---- */
.tl-aisearch-home.is-fullscreen .tl-aisearch-shell {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f5f5f0 !important; /* Fixed background */
}

/* ---- FS Close button ---- */
.tl-aisearch-close {
    display: none;
    position: absolute;
    top: 14px;
    right: 16px;
    background: #fff !important; /* Fixed background */
    border: 1px solid #e5e5e5;
    color: #555 !important; /* Fixed text color */
    font-size: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.tl-aisearch-close:hover {
    background: #ebebeb !important;
    color: #111 !important;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch-close {
    display: flex;
}

/* ---- FS Results area (scrollable, top portion) ---- */
.tl-aisearch-home.is-fullscreen .tl-aisearch-pop {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
    border-radius: 0;
    background: transparent !important;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 16px 16px;
    /* scroll to bottom when results appear */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch-pop[hidden] {
    display: flex !important;
    visibility: hidden;
    pointer-events: none;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch-pop[data-state="idle"] {
    visibility: hidden;
    pointer-events: none;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch-row {
    background: #ffffff !important; /* Fixed background */
    border-color: #e8e8e8;
    border-radius: 16px;
    margin-bottom: 8px;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch-row:hover,
.tl-aisearch-home.is-fullscreen .tl-aisearch-row.is-active {
    background: #f0f0ec !important;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch-empty,
.tl-aisearch-home.is-fullscreen .tl-aisearch-loading {
    background: #ffffff !important;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 20px;
    color: #555 !important;
}

/* ---- FS Input area (pinned to bottom) ---- */
.tl-aisearch-home.is-fullscreen .tl-aisearch-form-wrap {
    flex-shrink: 0;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e5e5e5;
    background: #f5f5f0 !important;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch {
    position: relative;
    top: auto;
    bottom: auto;
    background: #ffffff !important;
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    transform: none;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch:focus-within {
    border-color: #c0c0c0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: none;
}

/* ---- FS title bar ---- */
.tl-aisearch-fs-topbar {
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
    background: #f5f5f0 !important;
    flex-shrink: 0;
}

.tl-aisearch-fs-topbar-title {
    font-size: 15px;
    font-weight: 700;
    color: #111 !important;
    letter-spacing: -0.01em;
}

.tl-aisearch-home.is-fullscreen .tl-aisearch-fs-topbar {
    display: flex;
}

/* ---- Mobile: NOT sticky, stays inline ---- */
.tl-aisearch-mobile-spacer {
    display: none;
}

@media (max-width: 640px) {
    /* Reset any fixed positioning on mobile */
    body.home .tl-aisearch-home {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        padding: 0;
        max-width: 100%;
    }

    body.home .tl-aisearch-mobile-spacer {
        display: none;
    }

    /* When fullscreen mode on mobile */
    body.home .tl-aisearch-home.is-fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999999;
        padding: 0;
    }

    .tl-aisearch {
        padding: 10px 10px;
        gap: 10px;
    }

    .tl-aisearch-mic {
        width: 40px;
        height: 40px;
    }

    .tl-aisearch-lang-toggle {
        height: 40px;
    }

    /* In normal mode results still drop down, not up */
    .tl-aisearch-pop {
        top: calc(100% + 10px);
        bottom: auto;
    }
}

.tl-aisearch-shell {
    position: relative;
}

.tl-aisearch {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border-radius: 999px;
    padding: 10px 12px;
    background: #ffffff !important; /* Fixed background */
    border: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 44px rgba(2, 6, 23, 0.18);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    color-scheme: light !important;
}

.tl-aisearch:hover {
    border-color: rgba(148, 163, 184, 0.65);
    box-shadow: 0 18px 56px rgba(2, 6, 23, 0.22);
}

.tl-aisearch:focus-within {
    transform: translateY(-1px);
    border-color: rgba(2, 132, 199, 0.55);
    box-shadow: 0 20px 64px rgba(2, 132, 199, 0.14), 0 18px 56px rgba(2, 6, 23, 0.2);
    background: #ffffff !important;
}

.tl-aisearch-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent !important;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a !important; /* Fixed dark text */
    padding: 4px 2px;
}

.tl-aisearch-input::placeholder {
    color: #475569 !important; /* Fixed placeholder */
    font-weight: 700;
}

.tl-aisearch-mic,
.tl-aisearch-lang-toggle {
    position: relative;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff !important; /* Fixed background */
    color: #0f172a !important; /* Fixed text color */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tl-aisearch-mic {
    width: 42px;
}

.tl-aisearch-lang-toggle {
    padding: 0 12px;
    font-weight: 700;
    font-size: 0.85rem;
    user-select: none;
}

.tl-aisearch-mic:hover,
.tl-aisearch-lang-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.7);
    background: #f8fafc !important;
}

.tl-lang-opt {
    opacity: 0.5;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.tl-lang-opt.is-active {
    opacity: 1;
    color: var(--primary-color) !important;
}

.tl-lang-divider {
    margin: 0 6px;
    opacity: 0.3;
}

.tl-aisearch-mic:focus-visible,
.tl-aisearch-lang-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18);
}

.tl-aisearch-wave {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.tl-aisearch-wave span {
    width: 3px;
    height: 10px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.85;
    animation: tlWave 1s ease-in-out infinite;
}

.tl-aisearch-wave span:nth-child(2) { animation-delay: 0.12s; height: 14px; }
.tl-aisearch-wave span:nth-child(3) { animation-delay: 0.24s; height: 8px; }
.tl-aisearch-wave span:nth-child(4) { animation-delay: 0.36s; height: 12px; }

@keyframes tlWave {
    0%, 100% { transform: scaleY(0.6); }
    50% { transform: scaleY(1.3); }
}

.tl-aisearch-shell.is-listening .tl-aisearch-mic i {
    opacity: 0;
}

.tl-aisearch-shell.is-listening .tl-aisearch-wave {
    display: inline-flex;
}

.tl-aisearch-shell.is-listening .tl-aisearch-mic {
    border-color: rgba(2, 132, 199, 0.45);
    color: var(--primary-color) !important;
}

.tl-aisearch-shell.is-listening .tl-aisearch-mic::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(2, 132, 199, 0.35);
    animation: tlPulse 1.2s ease-out infinite;
}

@keyframes tlPulse {
    0% { transform: scale(0.85); opacity: 0.85; }
    100% { transform: scale(1.15); opacity: 0; }
}

.tl-aisearch-pop {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    border-radius: 18px;
    background: #ffffff !important; /* Fixed white */
    border: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.18);
    overflow: hidden;
}

.tl-aisearch-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    transition: background 0.15s ease, transform 0.15s ease;
}

/* --- Modern Flat Search Result Card --- */
.tl-aisearch-row.modern-flat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff !important; /* Fixed background */
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid #f1f5f9; /* Override old style */
}

.tl-aisearch-row.modern-flat:last-child {
    margin-bottom: 0;
}

.tl-aisearch-row.modern-flat:hover,
.tl-aisearch-row.modern-flat.is-active {
    background: #ffffff !important;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgba(15, 98, 254, 0.1), 0 8px 10px -6px rgba(15, 98, 254, 0.1);
    transform: translateY(-2px);
}

.tl-aisearch-thumb-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9;
}

.tl-aisearch-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tl-aisearch-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #cbd5e1 !important;
}

.tl-aisearch-main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tl-aisearch-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tl-aisearch-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b !important; /* Fixed dark text */
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tl-aisearch-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #64748b !important; /* Fixed muted text */
    font-weight: 600;
}

.tl-aisearch-loc, .tl-aisearch-dur {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.tl-aisearch-loc i, .tl-aisearch-dur i {
    color: var(--primary-color) !important;
    opacity: 0.7;
}

.tl-aisearch-action-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.tl-aisearch-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-color) !important;
}

.tl-aisearch-view-btn {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8 !important;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.tl-aisearch-row.modern-flat:hover .tl-aisearch-view-btn {
    color: var(--primary-color) !important;
}

.tl-aisearch-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff !important;
    flex: 0 0 auto;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.tl-aisearch-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tl-aisearch-meta {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 4px;
}

.tl-aisearch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(2, 132, 199, 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 900;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tl-aisearch-right {
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 6px;
}

.tl-aisearch-empty {
    padding: 14px 14px;
    color: #64748b !important;
    font-weight: 800;
}

/* --- Modern No Results Found Design --- */
.tl-aisearch-no-results {
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: #fff !important;
    border-radius: 24px;
}

.tl-aisearch-no-results-graphic {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.tl-graphic-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    animation: tlPulseScale 2s infinite ease-in-out;
}

.tl-aisearch-no-results-graphic i {
    font-size: 42px;
    color: var(--primary-color) !important;
    opacity: 0.8;
    z-index: 1;
}

.tl-aisearch-no-results-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e293b !important;
    margin: 0;
}

.tl-aisearch-no-results-text {
    font-size: 0.95rem;
    color: #64748b !important;
    max-width: 320px;
    line-height: 1.6;
    margin: 0;
}

@keyframes tlPulseScale {
    0%, 100% { transform: scale(1); opacity: 0.05; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.tl-aisearch-loading {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 14px;
}

/* --- Skeleton Preloader Styles --- */
.tl-aisearch-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px;
}

.tl-aisearch-skeleton-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff !important;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.tl-aisearch-skeleton-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f1f5f9 !important;
    flex-shrink: 0;
}

.tl-aisearch-skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tl-aisearch-skeleton-title {
    width: 60%;
    height: 14px;
    background: #f1f5f9 !important;
    border-radius: 4px;
}

.tl-aisearch-skeleton-sub {
    width: 40%;
    height: 10px;
    background: #f1f5f9 !important;
    border-radius: 4px;
}

.tl-aisearch-skeleton-right {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.tl-aisearch-skeleton-price {
    width: 100%;
    height: 14px;
    background: #f1f5f9 !important;
    border-radius: 4px;
}

.tl-aisearch-skeleton-dur {
    width: 70%;
    height: 10px;
    background: #f1f5f9 !important;
    border-radius: 4px;
}

.tl-aisearch-skeleton-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: tlSkeletonShimmer 1.5s infinite;
}

@keyframes tlSkeletonShimmer {
    100% { transform: translateX(100%); }
}

.tl-aisearch-gemini {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: conic-gradient(from 180deg, #7c3aed, #06b6d4, #22c55e, #f59e0b, #ef4444, #7c3aed);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
    animation: tlGeminiSpin 1s linear infinite;
    flex: 0 0 auto;
}

@keyframes tlGeminiSpin {
    to { transform: rotate(360deg); }
}

.tl-aisearch-spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.4);
    border-top-color: var(--primary-color);
    animation: tlSpin 0.8s linear infinite;
}

@keyframes tlSpin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .tl-aisearch-row.modern-flat {
        padding: 12px;
        gap: 12px;
    }
    .tl-aisearch-thumb-wrapper {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }
    .tl-aisearch-title {
        font-size: 0.95rem;
    }
    .tl-aisearch-meta-row {
        gap: 8px;
        font-size: 0.75rem;
    }
    .tl-aisearch-price {
        font-size: 1rem;
    }
    .tl-aisearch-view-btn {
        font-size: 0.65rem;
    }
}


@media screen and (max-width: 991px) {
    .hero-slider-section {
        margin-top: 48px; /* Adjusted to match 40px + 8px padding header */
    }
    /* Removed redundant admin-bar margin-top */
    .hero-swiper {
        aspect-ratio: 16 / 9;
    }
    .hero-swiper .swiper-pagination {
        bottom: 15px !important;
    }
    .hero-booking-container {
        position: static; /* No longer overlapping on mobile */
        margin-top: 0;
        padding: 0;
    }
    .exact-match-card {
        border-radius: 0;
        border: none;
        padding: 20px;
        box-shadow: none;
    }
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev,
    .hdr-helpline {
        display: none !important;
    }
    .hdr-actions {
        gap: 10px;
    }
}

.centered-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0;
    margin-bottom: 35px;
}

.centered-tabs .tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: #64748b;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 12px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: -1px;
}

.centered-tabs .tab-btn i {
    font-size: 1.1rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.centered-tabs .tab-btn:hover {
    color: var(--primary-color);
}

.centered-tabs .tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.centered-tabs .tab-btn.active i {
    color: var(--primary-color);
}

.booking-pane {
    display: none;
}

.booking-pane.active {
    display: block;
}

/* Horizontal Search Fields Row */
.search-fields-row-horizontal {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: nowrap;
}

.field-group-horizontal {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.field-label-text {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    margin-left: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-select-wrapper {
    position: relative;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 18px; /* Restored padding for non-select fields */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    height: 54px;
}

.input-select-wrapper:has(.custom-select-trigger) {
    padding: 0; /* No padding if it's a custom select */
    cursor: pointer;
}

.input-select-wrapper:hover {
    border-color: #cbd5e1;
}

.input-select-wrapper.is-open,
.input-select-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 105, 179, 0.1);
    z-index: 1000; /* Ensure open dropdown is above everything in the card */
}

.field-icon {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-right: 12px;
    opacity: 0.8;
    flex-shrink: 0;
}

.input-select-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.custom-select-trigger {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 0; /* Gap handled by field-icon margin */
}

.selected-value {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-arrow {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.input-select-wrapper.is-open .select-arrow {
    transform: rotate(180deg);
}

.custom-options-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    margin: 0;
    list-style: none;
    z-index: 1001; /* Higher than wrapper z-index */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-height: 260px;
    overflow-y: auto;
}

.input-select-wrapper.is-open .custom-options-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-options-list li {
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.custom-options-list li:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.custom-options-list li.active {
    background-color: rgba(0, 105, 179, 0.08);
    color: var(--primary-color);
}

/* Search Button Wrapper */
.btn-search-wrapper {
    flex-shrink: 0;
}

.btn-search-icon-only {
    background-color: var(--primary-color);
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-search-text {
    display: none; /* Hidden on desktop by default */
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-search-icon-only:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-search-icon-only:active {
    transform: translateY(0);
}

/* Trending Searches Row styling */
.trending-searches-row {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.trending-label {
    font-weight: 700;
    margin-right: 8px;
    color: #ffffff;
}

.trend-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.trend-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.trend-separator {
    margin: 0 10px;
    opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .search-fields-row-horizontal {
        flex-wrap: wrap;
    }
    .field-group-horizontal {
        flex: calc(50% - 10px);
    }
    .btn-search-wrapper {
        width: 100%;
    }
    .btn-search-icon-only {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-exact-match {
        padding-bottom: 60px;
    }
    .hero-spacer {
        height: 100px;
    }
    .exact-match-card {
        padding: 24px;
        border-radius: 20px;
    }
    .centered-tabs {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .centered-tabs::-webkit-scrollbar {
        display: none;
    }
    .centered-tabs .tab-btn {
        padding: 10px 5px;
        font-size: 0.95rem;
        white-space: nowrap;
    }
    .field-group-horizontal {
        flex: 100%;
    }
    .btn-search-icon-only {
        width: 100%;
        height: 58px;
        border-radius: 14px;
    }
    .btn-search-text {
        display: inline-block;
    }
    .btn-search-icon-only i {
        font-size: 1.1rem;
    }
}

/* --- Header Cart Button --- */
.hdr-cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border-color);
}

.hdr-cart-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.hdr-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile adjustments for Header Cart */
@media screen and (max-width: 782px) {
    .hdr-cart-btn {
        display: none;
    }
}

/* --- Mobile Bottom Nav Cart Badge --- */
.bottom-nav-cart-wrapper {
    position: relative;
    display: inline-flex;
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
}

/* --- Flash Deals Page --- */
.flash-deals-page {
    padding-bottom: 80px;
}

.flash-deals-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
}

.flash-deals-header .page-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.flash-deals-header .page-title i {
    color: #fbbf24;
    margin-right: 10px;
}

.flash-deals-header .page-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.deal-card {
    position: relative;
    overflow: hidden;
}

.deal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.deal-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.deal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover .deal-thumb img {
    transform: scale(1.1);
}

.deal-content {
    padding: 20px;
}

.deal-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.4;
}

.deal-title a {
    color: #1e293b;
    text-decoration: none;
}

.deal-meta {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

.deal-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.deal-price-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.deal-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-color);
}

.deal-price ins {
    text-decoration: none;
}

.deal-price del {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-right: 5px;
    font-weight: 600;
}

.deal-btn {
    background: #1e293b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.deal-btn:hover {
    background: var(--primary-color);
    transform: translateX(3px);
}

.no-deals {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 24px;
    color: #64748b;
}

.no-deals i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-deals h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

/* ==========================================================================
   6. Promo Ad Banners
   ========================================================================== */
.promo-ad-section-container {
    padding: 30px 0;
    background-color: #ffffff;
}

.promo-ad-wrapper {
    width: 100%;
    aspect-ratio: 1200 / 250;
    height: auto;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
}

/* ==========================================================================
   7. Home Page: Eid Special Savings!
   ========================================================================== */
.exact-match-deals {
    background-color: var(--bg-white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.deals-header-relative {
    position: relative;
    width: 100%;
}

.text-left-title h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.slider-controls-absolute {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

.slider-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--text-dark);
    box-shadow: none;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.deals-container {
    overflow: hidden;
    margin: 0 -10px;
    padding: 10px 0;
}

.deals-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exact-match-deal-card {
    min-width: calc(25% - 20px);
    margin: 0 10px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.exact-match-deal-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.deal-card-visual-wrapper {
    position: relative;
    height: 140px;
}

.deal-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-promo-badge-flat {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
}

.deal-body-exact {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.deal-title-exact {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-footer-exact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    font-size: 0.8rem;
}

.deal-brand-label {
    font-weight: 600;
    color: var(--text-muted);
}

.deal-brand-label i {
    margin-right: 4px;
}

.deal-save-amount {
    color: var(--text-muted);
}

.deal-save-amount strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================================================
   8. Home Page: Why Tour Lagbe Stands Out (Flat Pastel Buttons)
   ========================================================================== */
.exact-match-features {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.features-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-card-exact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.feature-icon-flat {
    width: 140px;
    height: 140px;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-base);
}

.feature-icon-flat:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.inner-flat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-dark);
    padding: 12px;
    transition: var(--transition-base);
}

.feature-icon-flat:hover .inner-flat-content {
    color: var(--bg-white);
}

.feature-icon-flat .icon-svg {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition-base);
}

.feature-icon-flat:hover .icon-svg {
    color: var(--bg-white);
}

.feature-icon-flat .icon-label-feature {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    transition: var(--transition-base);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-icon-flat:hover .icon-label-feature {
    color: var(--bg-white);
}

.feature-title-exact {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   9. Home Page: Unbeatable Price (Routes Overlay Match)
   ========================================================================== */
.exact-match-routes {
    background-color: var(--bg-white);
    padding: 60px 0;
}

.routes-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-card-exact {
    height: 240px;
    border-radius: var(--border-radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: none;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.route-card-exact:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.route-overlay-capsule {
    background: var(--bg-dark);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    margin-bottom: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--bg-white);
}

.route-price-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.route-path-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-top: 2px;
}

/* ==========================================================================
   10. Home Page: Download Our App (Flat solid dark slate panel)
   ========================================================================== */
.app-section-exact {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.app-grid-exact {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.app-flat-card {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius-md);
    border: 1px solid #1e293b;
    padding: 40px;
    color: var(--bg-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.app-card-left-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-flat-card h3 {
    font-size: 2.2rem;
    color: var(--bg-white);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.app-flat-card p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin: 0;
}

.qr-code-wrapper {
    margin-top: 12px;
}

.qr-placeholder {
    background: var(--bg-white);
    color: var(--text-dark);
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.app-card-right-content {
    display: flex;
    align-items: center;
}

.app-buttons-stacked {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn-exact {
    background: #1e293b;
    color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.app-btn-exact:hover {
    background: #0f172a;
    border-color: var(--primary-color);
}

.app-btn-exact i {
    font-size: 1.8rem;
}

.app-btn-exact span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.app-btn-exact small {
    font-size: 0.65rem;
    opacity: 0.7;
}

.app-btn-exact strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.app-mockups-overlapping {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.app-mockups-overlapping img {
    max-width: 100%;
    height: auto;
    transform: scale(1.05);
}

/* ==========================================================================
   11. Footer Structure & Styling
   ========================================================================== */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0 0;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: 60px;
}

.footer-inner {
    padding-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* Logo column is wider */
    gap: 40px;
}

.footer-column-brand {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-description {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-contact {
    /* Removed fixed min-width to allow better space distribution */
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #cbd5e1;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer Sub-menu Styling */
.footer-links .menu-item-has-children {
    position: relative;
}

.footer-links .sub-menu {
    list-style: none;
    padding: 10px 0 0 15px;
    margin: 0;
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 8px;
}

.footer-links .menu-item-has-children.is-open > .sub-menu {
    display: flex;
}

.footer-links .sub-menu li a {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Toggle Arrow for Footer Sub-menu */
.footer-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 0.75rem;
    color: #cbd5e1;
}

.menu-item-has-children.is-open > a .footer-menu-toggle {
    transform: rotate(180deg);
}

.footer-contact-info {
    margin-bottom: 25px;
}

.footer-contact-info p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
}

.footer-contact-info i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.footer-contact-info a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-contact-info a:hover {
    color: var(--primary-color);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap; /* Forced one line on all devices */
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color); /* Changed from red to theme blue */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-base);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: var(--primary-hover);
    color: #ffffff;
}

.footer-bottom {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

.footer-payment-gateways img {
    max-height: 60px; /* Increased size for all devices */
    width: auto;
    display: block;
    transition: var(--transition-base);
}

.footer-payment-gateways img:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .site-footer {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-column {
        text-align: left; /* Forced left alignment on all devices */
    }
    
    .footer-links {
        align-items: flex-start; /* Forced left alignment on all devices */
    }
    
    .footer-social-icons {
        justify-content: flex-start; /* Forced left alignment on all devices */
    }
    
    .footer-bottom {
        text-align: center; /* Back to center alignment for mobile */
        padding-bottom: 90px;
    }

    .footer-bottom-flex {
        justify-content: center; /* Center items in flex container */
        flex-direction: column-reverse; /* Image top, Text bottom */
        align-items: center; /* Force center alignment */
        gap: 15px;
    }
}


/* ==========================================================================
   12. Mobile Bottom Navigation
   ========================================================================== */
.mobile-bottom-nav {
    display: none; /* Hidden by default on desktop */
}

@media screen and (max-width: 782px) {
    .mobile-bottom-nav {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: #ffffff;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border-radius: 20px;
        z-index: 1500; /* Above footer but below drawer */
        padding: 10px 5px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .bottom-nav-inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Ensure vertical centering */
        gap: 2px; /* Tighter gap for better alignment */
        text-decoration: none;
        color: var(--primary-color); /* Changed from gray to theme blue */
        flex: 1;
        transition: all 0.3s ease;
        height: 100%; /* Full height for equal alignment */
        opacity: 0.7; /* Slightly transparent for inactive items */
    }

    .bottom-nav-item.active {
        opacity: 1; /* Full opacity for active item */
        color: var(--primary-color);
    }

    .bottom-nav-item i {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 35px; /* Consistent height for all icons */
        color: var(--primary-color);
    }

    .bottom-nav-item span {
        font-size: 0.75rem;
        font-weight: 700; /* Bolder text */
        line-height: 1; /* Prevent line-height variations */
    }

    .bottom-nav-item.active i {
        background: rgba(0, 105, 179, 0.1);
        width: 40px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    /* Removed page padding that was creating unwanted space below footer */
    body {
        padding-bottom: 0;
    }
}

/* Ensure Drawer is always on top of the bottom nav */
.hdr-drawer {
    z-index: 2500 !important;
}

.hdr-overlay {
    z-index: 2499 !important;
}

/* ==========================================================================
   13. Default WordPress Styles (Blog, Search)
   ========================================================================== */
.page-padding {
    padding: 60px 24px;
}

.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card .post-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.entry-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.entry-content {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.entry-content p {
    margin-bottom: 12px;
}

.entry-footer {
    display: flex;
    gap: 12px;
    align-items: center;
}

.single-page-card, .single-post-card {
    margin-bottom: 40px;
}

.single-thumbnail img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */

/* ── Tablet & Below (≤ 1023px): show hamburger, hide desktop nav ── */
@media (max-width: 1023px) {
    /* Topbar */
    .nav-topbar-text {
        font-size: 0.75rem;
        padding: 0 40px;
    }

    /* Header */
    .hdr-nav {
        display: none;
    }

    .hdr-helpline {
        display: none;
    }

    .hdr-hamburger {
        display: flex;
    }

    /* Hero spacer accounts for topbar (44px) + header (62px) = ~106px */
    .hero-spacer {
        height: 106px;
    }

    /* Search Fields stacked */
    .search-fields-row-horizontal {
        flex-direction: column;
        align-items: stretch;
    }

    .field-group-horizontal {
        width: 100%;
    }

    .select-passengers-width {
        width: 100%;
    }

    .btn-swap-location-horizontal {
        transform: rotate(90deg);
        margin: 0;
        align-self: center;
    }

    .btn-swap-location-horizontal:hover {
        transform: rotate(270deg);
    }

    .btn-search-icon-only {
        width: 100%;
        height: 48px;
        margin-top: 8px;
    }

    /* Deal cards: 2 per row */
    .exact-match-deal-card {
        min-width: calc(50% - 20px);
    }

    /* Features: 3 cols */
    .features-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Routes: 2 cols */
    .routes-grid-3x2 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* App section */
    .app-grid-exact {
        grid-template-columns: 1fr;
    }

    .app-flat-card {
        flex-direction: column;
        text-align: center;
    }

    .app-card-left-content {
        align-items: center;
    }

    .app-buttons-stacked {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Footer */
    .footer-widgets-grid-5 {
        grid-template-columns: 1fr 1fr;
    }

    .brand-widget {
        grid-column: span 2;
    }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767px) {
    /* Topbar: hide on very small if needed */
    .nav-topbar {
        padding: 8px 0;
    }

    /* Tighten hero spacer for smaller header */
    .hero-spacer {
        height: 100px;
    }

    /* Header: reduce padding */
    .site-header {
        padding: 12px 0;
    }

    .site-header.scrolled {
        padding: 10px 0;
    }

    /* Reduce login text on small screens */
    .hdr-btn-login span {
        display: none;
    }

    .hdr-btn-login {
        padding: 9px 12px;
        min-width: 40px;
        justify-content: center;
    }

    /* Deal cards: 1 per row */
    .exact-match-deal-card {
        min-width: calc(100% - 20px);
    }

    /* Features: 2 cols */
    .features-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Routes: 1 col */
    .routes-grid-3x2 {
        grid-template-columns: 1fr;
    }

    /* Footer: 1 col */
    .footer-widgets-grid-5 {
        grid-template-columns: 1fr;
    }

    .brand-widget {
        grid-column: span 1;
    }

    /* Search card: tighter padding */
    .exact-match-card {
        padding: 20px 16px;
    }

    .centered-tabs {
        gap: 12px;
    }

    .centered-tabs .tab-btn {
        padding: 10px 12px;
        font-size: 0.875rem;
    }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
    /* Topbar: simplify */
    .nav-topbar-text {
        font-size: 0.7rem;
    }

    /* Logo: smaller */
    .hdr-logo-mark {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .hdr-logo-primary,
    .hdr-logo-secondary {
        font-size: 1.2rem;
    }

    /* Features: 1 col */
    .features-grid-5 {
        grid-template-columns: 1fr 1fr;
    }

    .feature-icon-flat {
        width: 110px;
        height: 110px;
    }
}

.tl-tour-single {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
}

.tl-tour-product #primary.container {
    max-width: 1200px;
}

.tl-tour-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(24px, 5vw, 64px);
    padding-right: clamp(24px, 5vw, 64px);
}

.tl-tour-product .tl-tour-container {
    padding-top: 96px;
}

.admin-bar .tl-tour-product .tl-tour-container {
    padding-top: 128px;
}

.tl-tour-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 16px;
}

.tl-tour-notice-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.tl-tour-notice-panel {
    position: relative;
    width: min(520px, 100%);
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 16px 16px 14px;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.18);
    transform: translateY(6px);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.tl-tour-notice-modal[data-state="open"] .tl-tour-notice-panel {
    transform: translateY(0);
    opacity: 1;
}

.tl-tour-notice-modal[data-state="closed"] .tl-tour-notice-panel {
    transform: translateY(8px);
    opacity: 0;
}

.tl-tour-paychoice {
    margin: 0 0 12px;
    display: grid;
    gap: 8px;
}

.tl-tour-paychoice-title {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tl-tour-paychoice-options {
    display: grid;
    gap: 10px;
}

.tl-tour-paychoice-opt {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
}

.tl-tour-paychoice-opt input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.tl-tour-paychoice-label {
    font-weight: 900;
    color: var(--text-dark);
    font-size: 0.92rem;
    position: relative;
    z-index: 1;
}

.tl-tour-paychoice-amt {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 0.92rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.tl-tour-paychoice-bg {
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.tl-tour-paychoice-opt input:checked ~ .tl-tour-paychoice-bg {
    background: rgba(2, 132, 199, 0.05);
    box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.22);
}

@media (max-width: 480px) {
    .tl-tour-paychoice-opt {
        padding: 10px 10px;
        border-radius: 12px;
        gap: 8px;
    }
    .tl-tour-paychoice-label,
    .tl-tour-paychoice-amt {
        font-size: 0.88rem;
    }
}

.tl-tour-notice-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tl-tour-notice-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.tl-tour-notice-center {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 6px 6px 0;
}

.tl-tour-notice-center .tl-tour-notice-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.25rem;
}

.tl-tour-notice-modal[data-type="success"] .tl-tour-notice-icon {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.tl-tour-notice-modal[data-type="error"] .tl-tour-notice-icon {
    background: rgba(225, 29, 72, 0.12);
    color: #e11d48;
}

.tl-tour-notice-modal[data-type="notice"] .tl-tour-notice-icon {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
}

.tl-tour-notice-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
}

.tl-tour-notice-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 700;
}

.tl-tour-notice-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.tl-tour-notice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
}

.tl-tour-notice-btn-ghost {
    background: #ffffff;
    border-color: rgba(226, 232, 240, 0.95);
    color: var(--text-dark);
}

.tl-tour-notice-btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.tl-tour-notice-btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

@media (max-width: 480px) {
    .tl-tour-notice-btn {
        padding: 10px 10px;
        font-size: 0.78rem;
    }
}

.tl-tour-notice-body .woocommerce-error,
.tl-tour-notice-body .woocommerce-message,
.tl-tour-notice-body .woocommerce-info {
    margin: 0;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    box-shadow: none;
    font-weight: 700;
}

.tl-tour-notice-body .woocommerce-message a,
.tl-tour-notice-body .woocommerce-info a {
    text-decoration: underline;
    font-weight: 900;
}

.tl-tour-notice-body .woocommerce-error {
    border-color: rgba(225, 29, 72, 0.22);
}

.tl-tour-notice-body .woocommerce-message {
    border-color: rgba(22, 163, 74, 0.22);
}

.tl-tour-notice-body .woocommerce-info {
    border-color: rgba(2, 132, 199, 0.22);
}

.tl-tour-notice-body ul {
    margin: 0;
    padding-left: 18px;
}

.tl-tour-notice-body li {
    margin: 8px 0 0;
}

.tl-tour-single .woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 18px 0;
}

.tl-tour-single .woocommerce-breadcrumb a {
    color: var(--text-muted);
}

.tl-tour-single .woocommerce-breadcrumb a:hover {
    color: var(--primary-color);
}

.tl-tour-wrap {
    display: grid;
    gap: 18px;
}

.tl-tour-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
}

@media (min-width: 992px) {
    .tl-tour-layout {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.tl-tour-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: none;
}

.tl-tour-card-media {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.tl-tour-gallery {
    padding: 0;
}

.tl-tour-media-head {
    padding: 14px 2px 0;
    display: grid;
    gap: 8px;
}

.tl-tour-media-title {
    font-size: 1.45rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 900;
    color: var(--text-dark);
}

.tl-tour-media-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.tl-tour-media-location i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 105, 179, 0.1);
    color: var(--primary-color);
}

.tl-tour-media-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.tl-tour-media-sub p {
    margin: 0;
}

.tl-tour-card-summary {
    padding: 18px;
}

@media (min-width: 992px) {
    .tl-tour-card-summary {
        position: sticky;
        top: 110px;
    }
}

.tl-tour-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.tl-tour-summary-head {
    display: grid;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.tl-tour-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.tl-tour-price-main {
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 900;
    color: var(--text-dark);
}

.tl-tour-price-main .amount {
    font-weight: 900;
}

.tl-tour-price-main del {
    color: #94a3b8;
    font-weight: 700;
    margin-right: 8px;
    opacity: 0.95;
}

.tl-tour-price-main ins {
    text-decoration: none;
}

.tl-tour-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1e40af;
    font-weight: 800;
    font-size: 0.82rem;
}

.tl-tour-badge-muted {
    background: #f8fafc;
    border-color: var(--border-color);
    color: var(--text-dark);
}

.tl-tour-title {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 10px 0;
}

@media (max-width: 640px) {
    .tl-tour-title {
        font-size: 1.7rem;
    }
}

.tl-tour-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 14px 0;
}

.tl-tour-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 4px;
}

@media (min-width: 520px) {
    .tl-tour-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

.tl-tour-metric {
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 14px;
    padding: 10px;
    display: grid;
    gap: 6px;
    min-width: 0;
    background: #ffffff;
}

.tl-tour-metric-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tl-tour-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f1f5f9;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.tl-tour-metric-value {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1.4;
    word-break: break-word;
}

.tl-tour-metric-price {
    display: grid;
    gap: 8px;
}

.tl-tour-metric-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.tl-tour-metric-price-k {
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.74rem;
}

.tl-tour-metric-price-v {
    color: var(--text-dark);
    font-weight: 900;
    font-size: 0.92rem;
    text-align: right;
}

.tl-tour-metric-price-v .amount {
    font-weight: 900;
}

.tl-tour-metric-price-v del {
    color: #94a3b8;
    font-weight: 800;
    margin-right: 6px;
}

.tl-tour-metric-price-v ins {
    text-decoration: none;
}

.tl-tour-metric--route {
    border-color: #dbeafe;
}

.tl-tour-metric--dates {
    border-color: #cffafe;
}

.tl-tour-metric--price {
    border-color: #fde68a;
}

.tl-tour-metric--duration {
    border-color: #ddd6fe;
}

.tl-tour-metric--route .tl-tour-metric-icon {
    color: #1d4ed8;
}

.tl-tour-metric--dates .tl-tour-metric-icon {
    color: #0e7490;
}

.tl-tour-metric--price .tl-tour-metric-icon {
    color: #b45309;
}

.tl-tour-metric--duration .tl-tour-metric-icon {
    color: #6d28d9;
}

.tl-tour-facts {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

@media (min-width: 720px) {
    .tl-tour-facts {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.tl-tour-fact {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px;
    background: #ffffff;
    display: grid;
    gap: 6px;
    min-width: 0;
}

.tl-tour-fact-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tl-tour-fact-label i {
    color: var(--primary-color);
}

.tl-tour-fact-value {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
}

.tl-tour-arrow {
    display: inline-block;
    margin: 0 8px;
    color: #94a3b8;
    font-weight: 900;
}

.tl-tour-price {
    font-size: 1.1rem;
}

.tl-tour-price .amount {
    font-weight: 900;
}

.tl-tour-booking {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    margin: 6px 0 14px 0;
}

.tl-tour-booking-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
}

.tl-tour-booking-value {
    font-weight: 900;
    color: var(--text-dark);
}

.tl-tour-cta {
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.tl-tour-cta form.cart {
    display: grid;
    grid-template-columns: clamp(156px, 34vw, 190px) 1fr;
    gap: 10px;
    margin: 0;
}

.tl-tour-cta form.cart .tl-tour-paychoice {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.tl-tour-cta .quantity {
    width: 100%;
}

.tl-tour-cta .quantity input.qty {
    width: 46px;
    border: 0;
    padding: 0;
    font-weight: 900;
    background: transparent;
    outline: none;
    height: 100%;
    text-align: center;
    appearance: textfield;
}

.tl-tour-cta .quantity input.qty::-webkit-outer-spin-button,
.tl-tour-cta .quantity input.qty::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.tl-tour-cta .quantity input.qty:focus {
    outline: none;
}

.tl-tour-cta .quantity.tl-qty-wrap {
    height: 100%;
}

.tl-tour-cta .quantity .tl-qty {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 10px;
    background: #ffffff;
    overflow: hidden;
}

.tl-tour-cta .single_add_to_cart_button,
.tl-tour-cta button.single_add_to_cart_button {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .tl-tour-cta form.cart {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .tl-tour-cta .quantity,
    .tl-tour-cta .single_add_to_cart_button,
    .tl-tour-cta button.single_add_to_cart_button {
        width: 100%;
    }
    .tl-tour-cta .quantity .tl-qty {
        padding: 6px;
        gap: 5px;
        border-radius: 12px;
        min-width: 0;
        display: grid;
        grid-template-columns: 24px 26px minmax(0, 1fr) 26px;
        align-items: center;
    }
    .tl-qty-icon {
        width: 24px;
        height: 24px;
        border-radius: 9px;
        flex: 0 0 auto;
    }
    .tl-qty-btn {
        width: 26px;
        height: 26px;
        border-radius: 9px;
        flex: 0 0 auto;
    }
    .tl-tour-cta .quantity input.qty {
        width: auto;
        font-size: 0.95rem;
        min-width: 0;
        height: 100%;
        width: 100%;
    }
    .tl-tour-cta .single_add_to_cart_button,
    .tl-tour-cta button.single_add_to_cart_button {
        padding: 12px 14px;
        font-size: 12px;
        letter-spacing: 0.02em;
        min-width: 0;
        text-align: center;
        justify-content: center;
        line-height: 1;
    }
}

.tl-tour-cta .quantity .tl-qty:focus-within {
    border-color: var(--border-color-focus);
    box-shadow: 0 0 0 4px rgba(0, 105, 179, 0.12);
}

.tl-qty-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 105, 179, 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.tl-qty-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.tl-qty-btn:hover {
    background: #f8fafc;
    border-color: rgba(0, 105, 179, 0.22);
    color: var(--primary-color);
}

.tl-qty-btn:active {
    transform: translateY(1px);
}

.tl-tour-cta .single_add_to_cart_button,
.tl-tour-cta button.single_add_to_cart_button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    background: var(--primary-color);
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-base);
    height: 100%;
    text-transform: uppercase;
}

.tl-tour-cta .single_add_to_cart_button:hover,
.tl-tour-cta button.single_add_to_cart_button:hover {
    background: var(--primary-hover);
}

.tl-tour-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tl-tour-trust-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 999px;
}

.tl-tour-trust-item i {
    color: #16a34a;
}

.tl-tour-single .woocommerce-product-gallery {
    width: 100%;
    margin: 0;
}

.tl-tour-single .woocommerce-product-gallery__wrapper {
    border-radius: 14px;
    overflow: hidden;
}

.tl-tour-single .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.tl-tour-single .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 720px) {
    .tl-tour-single .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tl-tour-single .flex-control-thumbs li img {
    border-radius: 12px;
    border: 0;
    overflow: hidden;
    opacity: 0.9;
}

.tl-tour-single .flex-control-thumbs li img.flex-active,
.tl-tour-single .flex-control-thumbs li img:hover {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.tl-tour-media-sections {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.tl-tour-acc {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.tl-tour-acc[open] {
    border-color: rgba(0, 105, 179, 0.35);
}

.tl-tour-acc-sum {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    font-weight: 900;
    color: var(--text-dark);
}

.tl-tour-acc-sum::-webkit-details-marker {
    display: none;
}

.tl-tour-acc-sum:hover {
    background: rgba(0, 105, 179, 0.04);
}

.tl-tour-acc-sum:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 105, 179, 0.14);
}

.tl-tour-acc-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.tl-tour-acc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #f1f5f9;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.tl-tour-acc:hover .tl-tour-acc-icon,
.tl-tour-acc[open] .tl-tour-acc-icon {
    background-color: rgba(0, 105, 179, 0.1);
}

.tl-tour-acc-chevron {
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.tl-tour-acc[open] .tl-tour-acc-chevron {
    transform: rotate(180deg);
}

.tl-tour-acc-bd {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 14px 16px;
    overflow: hidden;
    max-height: 800px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.2s ease, padding 0.25s ease;
}

.tl-tour-acc:not([open]) > .tl-tour-acc-bd {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.tl-tour-acc-bd .tl-tour-list li {
    font-size: clamp(0.82rem, 0.25vw + 0.78rem, 0.88rem);
    line-height: 1.65;
    font-weight: 600;
}

.tl-tour-acc-bd .tl-tour-empty {
    padding: 6px 0;
}

@media (prefers-reduced-motion: reduce) {
    .tl-tour-acc-bd {
        transition: none;
    }
    .tl-tour-acc-chevron {
        transition: none;
    }
}

.tl-tour-card-prose,
.tl-tour-card-list {
    padding: 18px;
}

.tl-tour-h2 {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 12px 0;
}

.tl-tour-h3 {
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0 0 12px 0;
}

.tl-tour-prose {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.tl-tour-prose p {
    margin: 0 0 14px 0;
}

.tl-tour-empty {
    color: var(--text-muted);
    font-weight: 700;
}

.tl-tour-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tl-tour-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-dark);
    font-weight: 700;
}

.tl-tour-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 3px;
    margin-top: 6px;
    background: #16a34a;
    flex-shrink: 0;
}

.tl-tour-list-warn li::before {
    background: #e11d48;
}

.tl-tour-list-info li::before {
    background: #7c3aed;
}

.tl-tour-list-itinerary li::before {
    background: var(--primary-color);
}

.tl-tour-single .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

.tl-tour-single .woocommerce-error,
.tl-tour-single .woocommerce-message,
.tl-tour-single .woocommerce-info {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    box-shadow: none;
}
