 :root {
    --dark-blue: #003366;
    --price-blue: #003366;
    --light-blue: #f1fcff;
    --light-grey: #e7e7e7;
}


.container {
    max-width: 1600px;
    margin-top: 0px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 20px;
    position:absolute;

}

/* --- LAYOUT COLUMNS --- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-top: 20px;
}

.left-sidebar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.right-sidebar {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}



   html, body {
            height: 100%;
            margin: 0;
            /* overflow must NOT be hidden */
        }

        /* The flex parent */
        .page-container {
            display: flex;
            align-items: flex-start; /* MUST be flex-start */
            min-height: 100vh; /* ensure it's at least viewport height, but content should push it */
        }

        .right-sidebar {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: flex-start;
            
            /* Sticky rules */
            position: sticky;
            top: 24px;
            align-self: flex-start;
        }

        
/* --- SIDEBAR COMPONENTS --- */
.sidebar {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    overflow: hidden;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    background: #012f74;
    color: #fff;
    padding: 18px;
    font-weight: bold;
    text-align: center;
}

.filter-section {
    padding: 20px 10px;
    border-bottom: 1px solid var(--light-grey);
}

.filter-section h3,
.filter-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.filter-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 16px;
}

.filter-section .price {
    font-size: 18px;
    color: var(--price-blue);
    font-weight: bold;
}

.clear-btn {
    display: block;
    width: 90%;
    margin: 14px auto;
    padding: 10px;
    background: var(--dark-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: #0e1c4b;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-input {
    width: 110px;
    padding: 4px;
    border: 1.2px solid #ccc;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: var(--price-blue);
}

.range-slider {
    position: relative;
    height: 9px;
    background: #ddd;
    border-radius: 3px;
    margin-top: 10px;
}

.range-slider .progress {
    position: absolute;
    height: 9px;
    border-radius: 3px;
    background: var(--price-blue);
    left: 0%;
    right: 0%;
}

.range-slider input[type=range] {
    position: absolute;
    top: -7px;
    width: 100%;
    height: 20px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    margin: 0;
}

.range-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--dark-blue);
    cursor: pointer;
}

.time-block {
    background: var(--light-blue);
    padding: 6px;
    border-radius: 4px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#clearAllTop {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.1s ease;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#clearAllTop:hover {
    background-color: rgb(15, 120, 210);
}

#clearAllTop:active {
    transform: scale(0.95);
}

/* --- SEARCH HEADER --- */
.sh-left,
.sh-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sh-route-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sh-airport {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.sh-code {
    display: block;
    font-weight: bold;
    font-size: 16px;
}

.sh-name {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.sh-swap-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-divider {
    width: 1px;
    height: 40px;
    background: white;
    opacity: 0.5;
}

.sh-passenger-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: white;
}

.sh-edit-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0px 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    font-size: 18px;
    line-height: 24px;
    display: inline-block;
}

.sh-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sh-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 2px;
    color: white;
}

.sh-date-control {
    background: rgba(255, 255, 255, 0);
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.sh-arrow {
    background: #0056ac;
    border: none;
    color: white;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 6px;
}

.sh-arrow:hover {
    background: #1385f8;
}

.sh-date-display {
    padding-right: 10px;
    padding-left: 10px !important;
    font-weight: bold;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
}

/* --- TOP FLIGHT SLIDER (Desktop) --- */
.scroll-section::-webkit-scrollbar {
    display: none;
}

.logo {
    height: 35px;
    object-fit: contain;
    margin-bottom: 5px;
}

.price-value {
    display: block;
    color: #111;
    font-weight: 700;
    font-size: 20px;
}

.price-row {
    font-size: 14px;
    margin: 6px 0;
}

/* Bottom Buttons */
.bottom-bar {
    display: flex;
    justify-content: space-around;
    border: 1px solid #c2c2c2;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0px;
    margin-bottom: 10px;
    overflow: hidden;
    gap: 0px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 5px 20px;
    font-weight: bold;
    font-size: 16px;
    flex: 1;
    text-align: center;
    transition: 0.3s;
}

.filter-btn.active {
    border-bottom: 4px solid #0056ac;
    color: #ececec;
    background-color: #0056ac;
}

/* --- FLIGHT CARDS --- */
.flight-results {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 22%);
    overflow: hidden;
    margin-bottom: 20px;
}

.departure-info {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.departure-label {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-right: 15px;
}

.route-info {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    left: -120px;
}

.cities {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.date-time {
    color: #666;
    font-size: 18px;
    font-weight: 600;
    width: 250px;
}

.share-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    padding: 0 12px 0 0;
    border-radius: 6px;
    border: 1px solid #1a73e8;
    cursor: pointer;
    font-size: 13px;
}

.share-img {
    width: 30px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #1a73e8;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.flights-container {
    display: flex;
}

.flight-segments {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flight-row {
    display: flex;
    padding: 10px 10px;
    border-bottom: none;
    flex: 1;
}

.airline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    margin-left: -12px;
    border-left: 6px solid rgb(0, 56, 238);
    border-right: 1px solid #e0e0e0;
}

.airline-name {
    text-align: center;
}

.flight-details {
    display: flex;
    flex: 1;
    align-items: center;
}

.time-section {
    display: flex;
    flex-direction: column;
    width: 170px;
}

.departure-time-section {
    align-items: flex-end;
    text-align: right;
}

.arrival-time-section {
    align-items: flex-start;
    text-align: left;
}

.time {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.stop-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    margin: 0 20px;
}

.stop-line {
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    position: relative;
    margin: 3px 0;
}

.stop-dot {
    width: 10px;
    height: 10px;
    background: #969696;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stop-duration {
    font-size: 15px;
    color: #666;
    margin-top: 8px;
}

.flight-times-box {
    background: #f5f7fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 5px;
    margin: 0 10px;
    text-align: center;
    font-size: 12px;
    color: #333;
    font-weight: 500;
    width: 140px;
}

.action-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 250px;
    border-left: 1px solid #e0e0e0;
    justify-content: space-between;
    padding-left: 5px;
    margin-top: 30px;
}

.price {
    margin-bottom: 3px;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #093270;
}

.select-button {
    background: #0056ac;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 24px;
    width: 100%;
    margin-right: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.select-button:hover {
    background-color: rgb(5, 102, 248);
}

.footer {
    padding: 5px 20px;
    display: flex;
    justify-content: none;
    align-items: center;
    border-top: 1px solid #e0e0e0;
}

.flight-info {
    color: #003985;
    font-size: 14px;
    cursor: pointer;
    gap: 10px;
}

.layover-alert {
    background-color: #e1ebff;
    color: #465cc0;
    border: none;
    padding: 3px 12px;
    margin: 0px 0px;
    border-radius: 0px;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 8px;
}

.price-info .tax-info {
    font-size: 14px;
    color: #505050;
}

.custom-price-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
}

/* The specific checkbox styling */
.filter-option input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer;
    margin-right: 5px;
}

.time-block input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer;
    margin-right: 5px;
}

/* --- RIGHT SIDEBAR BANNERS --- */
.card-header {
    background-color: #0d47a1;
    height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15px;
}

.header-text {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 60px;
}

.live-chat-button {
    background-color: #0d47a1;
    color: #ffffff;
    border: 1px solid #0099ff;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.popup-header .title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.popup-message {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.popup-message strong {
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.email-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    box-sizing: border-box;
    color: #414141;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.terms-text {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 15px;
}

/* --- CALENDAR STYLES --- */
.date-picker-container {
    width: 870px;
    max-width: 95vw;
    height: 650px;
    max-height: 90vh;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 46, 109, 0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    position: fixed;
    top: 25%;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

.date-picker-container.active {
    display: flex;
}

.dp-header {
    padding: 10px 30px;
    background: linear-gradient(135deg, #012f74, #012f74);
    font-size: 18px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.dp-trip-option {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.dp-trip-option.active {
    background-color: #4da8ff;
    font-weight: 600;
}

.dp-content {
    display: flex;
    flex-direction: column;
    padding: 25px 30px;
    flex-grow: 1;
    overflow: auto;
}

.selected-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
    gap: 15px;
}

.date-info {
    flex: 1;
    padding: 5px 15px;
    background-color: #f0f4f8;
    border-radius: 8px;
    min-width: 0;
    text-align: center;
}

.date-info.return-disabled {
    background-color: #e8ecef;
    color: #a0aec0;
}

.date-value {
    font-size: 18px;
    font-weight: 600;
    color: #414141;
}

.clear-dates-btn {
    position: absolute;
    left: 50%;
    top: -12%;
    transform: translate(-50%, -50%);
    background-color: #f0f4f8;
    color: #0a2c5e;
    border: none;
    padding: 5px 20px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
    border-bottom: 1px solid rgb(0, 34, 146);
}

.calendar-container {
    display: flex;
    gap: 30px;
    flex-grow: 1;
}

.calendar {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.month-year {
    font-size: 20px;
    font-weight: 600;
    color: #414141;
    text-align: center;
    flex-grow: 1;
}

.nav-btn {
    background: rgb(251, 253, 255);
    border: none;
    font-size: 24px;
    color: linear-gradient(135deg, #015bcf, #012f74);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    flex-grow: 1;
}

.day {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.day:hover {
    background-color: #e1e8f0;
}

.day.selected {
    background-color: #4da8ff;
    color: white;
    font-weight: 600;
}

.day.in-range {
    background-color: #e1f0ff;
}

.dp-footer {
    padding: 15px 30px;
    background-color: #f0f4f8;
    display: flex;
    justify-content: flex-end;
}

.apply-btn {
    background: linear-gradient(135deg, #015bcf, #012f74);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.datepicker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
}

.datepicker-overlay.active {
    display: block;
}

/* --- DESKTOP VS MOBILE ROWS --- */
.departure-row-desktop {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 1000px;
    gap: 50px;
    box-sizing: border-box;
    justify-content: space-between;
}

.departure-row-mobile {
    display: none;
}

/* --- MOBILE SPECIFIC STYLES --- */
@media (max-width: 768px) {
    .left-sidebar,
    .right-sidebar {
        display: none;
    }
    
    .container {
        flex-direction: Row;
        padding: 0 10px;
        width: 100%;
        overflow-x: hidden;
    }
    
    .main-content {
        width: 100%;
    }
    
    .filter-banner-container {
        display: none !important;
    }
    
    .mobile-filter-scroll,
    .mobile-ad-banner,
    .mobile-interstitial,
    .mobile-only-banner {
        display: block !important;
    }
    
    .search-header-container {
        padding: 10px;
        gap: 5px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .sh-left {
        width: 100%;
        justify-content: space-between;
        border: none;
        margin-bottom: 5px;
    }
    
    .sh-divider,
    .sh-name {
        display: none;
    }
    
    .sh-right {
        width: 100%;
        gap: 5px;
    }
    .flight-results {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 22%);
    overflow: hidden;
    margin: 20px 10px;
}
    
    .sh-date-box {
        flex: 1;
    }
    
    .sh-date-control {
        width: 100%;
    }

    .results-container {
       margin-right: 0px;

    }
    
    .sh-airport {
        padding: 5px 8px;
        min-width: auto;
    }
    
    .search-header-container {
        background: linear-gradient(135deg, #012f74, #012f74);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
        flex-wrap: wrap;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-filter-scroll {
        display: flex !important;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 0;
        scrollbar-width: none;
        width: 100vw;
        margin-left: -10px;
        padding: 10px 20px;
        white-space: nowrap;
    }
    
    .m-filter-btn {
        background: white;
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 8px 15px;
        font-size: 14px;
        white-space: nowrap;
        color: #333;
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
    }

    .result-main {
        padding: 0 10px;
    }
    
    .m-filter-btn.active {
        background-color: #005fc4;
        color: #fff;
    }
    
    .route-info {
        display: flex;
        align-items: center;
        gap: 25px;
    }
    
    .sh-arrow {
        background: #0056ac;
        border: none;
        color: white;
        padding: 4px 10px;
        cursor: pointer;
        font-size: 15px;
        border-radius: 6px;
    }
    
    .sh-date-display {
        padding-right: 5px;
        padding-left: 5px !important;
        font-weight: bold;
        cursor: pointer;
        min-width: 80px;
        text-align: center;
    }
    
    #mobile-dropdown-container {
        display: none;
        position: relative;
        top: 5px;
        left: 0;
        width: 100%;
        background: white;
        border: 1px solid #eee;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    #mobile-dropdown-container.active {
        display: block;
    }
    
    .mobile-dropdown-close {
        margin-top: 15px;
        width: 100%;
        padding: 10px;
        background: #003366;
        color: white;
        border: none;
        border-radius: 5px;
        font-weight: bold;
    }
    
    .bottom-bar {
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    
    .filter-btn {
        padding: 10px;
        font-size: 13px;
        white-space: nowrap;
        flex: 0 0 auto;
        max-width: 136px;
        width: 136px;
    }
    
    .sh-edit-btn {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: white;
        padding: 0px 15px;
        border-radius: 20px;
        cursor: pointer;
        transition: 0.3s;
        text-decoration: none;
        font-size: 15px;
        line-height: 24px;
    }
    
    .flight-results {
        width: 100%;
    }
    
    .departure-info {
        padding: 8px 10px;
    }
    
    .departure-label {
        font-size: 20px;
    }
    
    .cities,
    .date-time {
        font-size: 14px;
    }
    
    .flights-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .flight-row {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 0px 0;
        border-bottom: none;
    }
    
    @media (max-width: 768px) {
        .airline-section {
            display: flex;
            flex-direction: row;
            width: 100%;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            position: static;
            margin: 0;
            padding: 0;
            border: none;
        }
    }
    
    .airline-logo {
        width: 40px;
        height: 30px;
        font-size: 10px;
        margin-bottom: 5px;
    }
    
    .flight-details {
        flex: 1;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding-left: 0px;
        gap: 20px;
    }
    
    .time-section {
        width: auto;
        align-items: center;
    }
    
    .departure-time-section,
    .arrival-time-section {
        text-align: center;
    }
    
    .time {
        font-size: 18px;
        margin: 0;
    }
    
    .airport-code {
        font-size: 16px;
    }
    
    .stop-section {
        width: auto;
        min-width: 90;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    .stop-line {
        width: 60px;
    }
    
    .flight-times-box {
        display: none;
    }
    
    .mobile-only.mobile-flight-duration {
        display: block !important;
        width: 100%;
        text-align: right;
        font-size: 13px;
        color: #666;
        margin-top: 10px;
    }

    @media (max-width: 768px) {
    .flight-results {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgb(0 0 0 / 22%);
        overflow: hidden;
        margin: 0 10px 20px 10px !important;
        width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
    }
}
    
    .action-section {
        width: 100%;
        border: none;
        padding: 10px 0 0;
        margin: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #eee;
        padding-top: 10px;
        margin-top: 5px;
    }
    
    .price-info {
        text-align: left;
    }
    
    .price {
        font-size: 22px;
        margin: 0;
        text-align: left;
    }
    
    .select-button {
        display: none;
    }
    
    .price-value {
        display: block;
        color: #111;
        font-weight: 700;
        font-size: 15px;
    }
    
    .footer {
        padding: 5px;
        display: flex;
        justify-content: center;
    }
    
    .footer .select-button {
        display: block;
        width: 100%;
        padding: 5px;
        font-size: 22px;
        margin: 0;
    }
    
    .footer .flight-info {
        display: none;
    }
    
    .mobile-only-banner {
        margin-bottom: 0px;
    }
    
    .mobile-only-banner .filter-banner {
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        margin-top: 10px;
    }
    
    .mobile-only-banner .scroll-section {
        padding: 0px;
        gap: 10px;
    }
    
    .mobile-only-banner .airline-column {
        flex: 0 0 120px;
        padding: 0px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .date-picker-container {
        width: 95%;
        max-height: 85vh;
        top: 5%;
        left: 2.5%;
        transform: translate(-50%, -50%);
    }
    
    .calendar-container {
        flex-direction: column;
        gap: 15px;
    }
    .filter-banner-container {
    margin-bottom: 15px;
    margin-top: 20px;
    display: block;
    padding: 0 10px;
    }

    .bottom-bar {
        display: flex;
        justify-content: space-around;
        border: 1px solid #c2c2c2;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin-top: 0px;
        /* margin-bottom: 10px; */
        overflow: hidden;
        gap: 0px;
        /* padding: 0 10px; */
        margin: 10px 10px;
    }

    .mobile-ad-banner {
        background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        border-radius: 10px;
        padding: 7px;
        margin: 10px;
        color: white;
        text-align: center;
        box-shadow: 0 4px 12px rgba(238, 90, 82, 0.3);
        line-height: 0.8;
    }
    
    .dp-content {
        overflow-y: auto;
    }
    
    .popup-header .close-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        padding: 0px;
        line-height: 1;
        display: none;
    }
    
    /* --- FIX 2: MOBILE FLIGHT HEADER LAYOUT --- */
    .departure-row-desktop {
        display: none;
    }
    
    .departure-row-mobile {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .departure-share {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .departure-row-mobile .route-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
        left: 0px;
    }
    
    .cities {
        font-size: 14px;
    }
    
    .date-time {
        font-size: 14px;
    }
    
    .share-text {
        display: inline-block;
    }
    
    /* --- FIX 3: MOBILE INTERSTITIAL CONTACT CARD --- */
       .mobile-interstitial {
        width: 100%;
        margin: 0 10px 20px 10px !important;
        width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
    }
    .mobile-interstitial .contact-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: auto;
        min-height: 0;
        padding: 5px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        text-align: left;
    }
    
    .mobile-interstitial .header-image {
        position: static;
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-right: 15px;
        bottom: auto;
    }
    
    .mobile-interstitial .header-image img {
        width: 100%;
        height: 100%;
        border: none;
        box-shadow: none;
    }


    
    .mobile-interstitial .card-content {
        margin: 0;
        padding: 0;
        align-items: flex-start;
        gap: 2px;
    }
    
    .mobile-interstitial .card-header {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-filter-wrapper {
        display: none !important;
    }
    
    .container {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }
    
    .left-sidebar {
        width: 280px;
        order: 1;
    }
    
    .main-content {
        flex: 1;
        order: 2;
    }
    
    .right-sidebar {
        width: 210px;
        order: 3;
    }
    
    .footer .select-button {
        display: none;
    }
    
    .action-section .flight-info {
        display: none;
    }
    
    .action-section .select-button {
        display: block;
        width: 100%;
    }
    
    .footer .flight-info {
        display: flex;
    }
    
    .departure-row-mobile {
        display: none;
    }
    
    .mobile-only-banner {
        display: none !important;
    }
    
    .search-header-container {
        background: linear-gradient(135deg, #012f74, #012f74);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
        flex-wrap: wrap;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        
    }
}

/* Promo code advert css */
.sidebar-card {
    background: #0067ce;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-card-header {
    color: #fff;
    padding: 18px;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
}

.sidebar-card-content {
    padding: 5px;
}

.mobile-ad-banner {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 10px;
    padding: 7px;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(238, 90, 82, 0.3);
    line-height: 0.8;
}

.ad-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.ad-description {
    font-size: 13px;
    opacity: 0.9;
}

/* FLIGHT DETAILS POPUP STYLES */
.flight-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.flight-container {
    width: 1000px;
    max-width: 99%;
    height: 900px;
    max-height: 90vh;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.info-left {
    text-align: right;
}

.info-right {
    text-align: left;
}

.airport-code {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #5c5c5c !important;
    margin-bottom: 5px;
}

.airport-name {
    font-size: 20px;
    color: #ffff !important;
    opacity: 0.9;
    margin-bottom: 5px;
}

.flight-date {
    font-size: 20px;
    font-weight: 600;
    color: #fff !important;
    background: rgba(255, 255, 255, 0);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.flight-header-info {
    background: #093270 !important;
    color: white;
    padding: 10px 20px;
    flex-shrink: 0;
    height: 80px;
}

.header-top-info {
    display: flex;
    justify-content: space-between;
    background-color: #09327000 !important;
    align-items: center;
    margin-bottom: 0px;
}

.flight-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.header-options {
    display: flex;
    gap: 15px;
    position: relative;
    right: 70px;
}

.header-option {
    display: flex;
    margin-bottom: -25px;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.header-option:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.flight-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    gap: 20px;
}

.flights-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.options-section {
    flex: 1;
    border-left: 1px solid #e0e0e0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}

.flight-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
    position: relative;
}

.flight-class-badge {
    position: absolute;
    top: 5px;
    right: 15px;
    color: #012f74;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
}

.section-title {
    color: #033eac;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.section-title i {
    margin-right: 10px;
    font-size: 20px;
}

.flight-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.airline-info {
    display: flex;
    align-items: center;
}

.airline-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #015bcf, #012f74);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
    overflow: hidden;
}

.airline-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.airline-details {
    flex-grow: 1;
}

.flight-number {
    font-size: 14px;
    color: #666;
}

.stops-info {
    font-size: 14px;
    color: #ff5722;
    margin-top: 5px;
}

.non-refundable {
    background-color: #ffebee;
    color: #c62828;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.flight-timeline {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    position: relative;
}

.flight-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
}

.flight-timeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #1a237e;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.departure,
.arrival {
    background-color: white;
    padding: 10px;
    z-index: 1;
}

.date {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.airport {
    font-size: 16px;
    font-weight: 500;
}

.terminal {
    font-size: 16px;
    color: #666;
    margin-top: 3px;
}

.layover-info {
    background-color: #e9f6ff;
    padding: 10px;
    border-radius: 8px;
    margin: none;
    font-size: 16px;
    color: #627db8;
}

.options-container {
    margin-top: 10px;
    margin-bottom: 10px;
}

.option-card:hover {
    border-color: linear-gradient(135deg, #015bcf, #012f74);
    background-color: #f5f7ff;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.option-title {
    font-weight: 600;
    color: #2a2b35;
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-price {
    font-weight: 600;
    color: #02409c;
}

.option-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.baggage-item {
    text-align: center;
    flex: 1;
}

.baggage-icon {
    width: 30px;
    height: 30px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 5px;
    color: #1a237e;
    font-size: 14px;
}

.baggage-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
}

.baggage-weight {
    font-size: 16px;
    font-weight: 600;
}

.payment-section {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    position: relative;
    top: 0px;
}

.price-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 20px;
}

.total-price {
    font-weight: 600;
    font-size: 26px;
    color: #25252e;
}

.payment-button {
    background: linear-gradient(135deg, #015bcf, #012f74);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 19px;
    font-weight: 600;
    width: 80%;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 50px;
}

.payment-button:hover {
    background-color: #0386f1;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(252, 252, 252, 0);
    z-index: 10002;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-header {
    background: #0a2c5e00;
    color: white;
    padding: 0px;
    border-radius: 12px 12px 0 0;
    gap: 12px;
}

.popup-body {
    padding: 15px;
    line-height: 1.6;
}

.popup-body h3 {
    margin: 15px 0 10px;
    color: #1a237e;
}

.popup-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.baggage-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.baggage-option {
    display: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.baggage-option:hover {
    background-color: #f5f5f5;
}

.baggage-option.selected {
    border-color: linear-gradient(135deg, #015bcf, #012f74);
    background-color: #e3f2fd;
}

.baggage-details {
    display: flex;
    align-items: center;
}

.baggage-price {
    font-weight: 600;
    color: #1a237e;
}

.option-left {
    display: flex;
    flex-direction: column;
}

.option-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.popup-content.fare {
    Background-color: #fff;
    border-radius: 12px;
}

/* Fare Summary Table */
.fare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.fare-table th {
    background-color: #f5f7ff;
    text-align: left;
    padding: 12px 5px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
    color: #1a237e;
    font-size: 13px;
}

.fare-table td {
    padding: 10px 5px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.fare-table tr:last-child td {
    border-bottom: 2px solid #012f74;
    font-weight: 600;
}

.total-row {
    background-color: #f5f7ff;
    font-weight: 600;
}

.discount-row {
    color: #4caf50;
}

.share-section {
    display: flex;
    align-items: center;
    margin-top: 0px;
    padding: 15px;
    background-color: #f5f7ff00;
    border-radius: 8px;
    position: relative;
    left: 0px;
}

.twitter {
    background-color: #1da1f2;
}

.whatsapp {
    background-color: #25d366;
}

@media (max-width: 900px) {
    .flight-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .options-section {
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-left: 0;
        padding-top: 20px;
    }
    
    .header-options {
        flex-direction: flex;
        gap: 8px;
        width: 100%;
    }
    
    .header-option {
        justify-content: center;
        width: 100%;
    }
    
    .header-options {
        display: flex;
        gap: 15px;
        position: relative;
        left: 0px;
    }
    
    .price-value {
        display: block;
        color: #111;
        font-weight: 700;
        font-size: 15px;
    }
    
    .airline-name {
        font-weight: 600;
        font-size: 13px;
    }
    
    .filter-btn {
        padding: 10px;
        font-size: 13px;
        white-space: nowrap;
        flex: 0 0 auto;
        max-width: 248px;
        width: 100%;
    }
    
    .search-header-container {
        background: linear-gradient(135deg, #012f74, #012f74);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
        flex-wrap: wrap;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .flight-header-info {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 0px;
        padding-left: 0px;
    }
    
    .header-top-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
        background-color: #093270 !important;
    }
    
    .header-options {
        width: 100%;
    }
    
    .flight-content {
        padding: 15px;
    }
    
    .flight-timeline {
        flex-direction: column;
        gap: 15px;
    }
    
    .flight-timeline::before,
    .flight-timeline::after {
        display: none;
    }
    
    .departure,
    .arrival {
        width: 100%;
        text-align: center;
    }
    
    .baggage-summary {
        flex-wrap: wrap;
    }
    
    .baggage-item {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
    
    .popup-content {
        max-height: 90vh;
    }
    
    .popup-content {
        background-color: #fff;
        border-radius: 12px;
        width: 100%;
        max-width: 600px;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: none;
        position: relative;
    }
    
    .popup-body {
        padding: 15px;
        background: #fff;
        border-radius: 0px;
    }
    
    .fare-table {
        font-size: 12px;
    }
    
    .fare-table th,
    .fare-table td {
        padding: 8px 5px;
    }
    
    .fare-table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }
    
    .airline-name {
        font-weight: 600;
        font-size: 13px;
    }
    
    .flight-header-info {
        background: #093270 !important;
        color: white;
        padding: 10px 20px;
        flex-shrink: 0;
        height: 100px;
    }
    
    .search-header-container {
        background: linear-gradient(135deg, #012f74, #012f74);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
        flex-wrap: wrap;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .flight-header h1 {
        font-size: 20px;
        color: white;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .option-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .option-right {
        align-items: flex-start;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-icons {
        width: 100%;
        justify-content: space-between;
    }
    
    .price-value {
        display: block;
        color: #111;
        font-weight: 700;
        font-size: 14px;
    }
    
    .airline-name {
        font-weight: 600;
        font-size: 13px;
    }
    
    .scroll-section {
        display: flex;
        align-items: flex-start;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 50px 10px 120px;
        scrollbar-width: none;
        max-height: 100px;
    }
    
    .filter-btn {
        padding: 10px;
        font-size: 13px;
        white-space: nowrap;
        flex: 0 0 auto;
        max-width: 130.5px;
        width: 100%;
    }
    
    .search-header-container {
        background: linear-gradient(135deg, #012f74, #012f74);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
        flex-wrap: wrap;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 420px) {
    .flight-header h1 {
        font-size: 20px;
        color: white;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .option-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .option-right {
        align-items: flex-start;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-icons {
        width: 100%;
        justify-content: space-between;
    }
    
    .price-value {
        display: block;
        color: #111;
        font-weight: 700;
        font-size: 14px;
    }
    
    .airline-name {
        font-weight: 600;
        font-size: 13px;
    }
    
    .scroll-section {
        display: flex;
        align-items: flex-start;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 50px 10px 120px;
        scrollbar-width: none;
        max-height: 100px;
    }
    
    .filter-btn {
        padding: 10px;
        font-size: 13px;
        white-space: nowrap;
        flex: 0 0 auto;
        max-width: 122px;
        width: 100%;
    }
    
    .search-header-container {
        background: linear-gradient(135deg, #012f74, #012f74);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
        flex-wrap: wrap;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 370px) {
    .filter-btn {
        padding: 10px;
        font-size: 13px;
        white-space: nowrap;
        flex: 0 0 auto;
        max-width: 125px;
        width: 122.5px;
    }
}

/* Container logic */
.social-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-circle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: white !important;
    font-size: 24px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease-in-out;
}

.social-circle:hover {
    transform: scale(1.1);
    color: white !important;
}

/* WhatsApp - Green */
.sc-wa {
    background-color: #25d366 !important;
}

/* Facebook Messenger - Blue */
.sc-msgr {
    background-color: #0084FF !important;
}

/* Copy Link / Instagram placeholder - Dark Gray or Instagram Pink */
.sc-copy,
.sc-in {
    background-color: #444444 !important;
}

/* Add hover effects for each */
.sc-wa:hover {
    background-color: #128c7e !important;
}

.sc-msgr:hover {
    background-color: #0066cc !important;
}

.sc-copy:hover {
    background-color: #222222 !important;
}

/* --- STEP 1: FORCE ALL NUMBERS TO SHOW ON DESKTOP --- */
@media (min-width: 992px) {
    a[href^="tel:"] {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #mobilePhone {
        display: none !important;
    }
}

/* --- STEP 3: ENSURE EVERYTHING SHOWS ON MOBILE --- */
@media (max-width: 991px) {
    #mobilePhone,
    a[href^="tel:"] {
        display: inline-block !important;
        visibility: visible !important;
    }
}

/* --- LTR (English): Right Side --- */
html[dir="ltr"] .mobile-header-phone-fixed {
    right: 60px !important;
    left: auto !important;
}

/* --- RTL (Arabic): Left Side --- */
html[dir="rtl"] .mobile-header-phone-fixed {
    left: 60px !important;
    right: auto !important;
}

/* Flip Icon in RTL */
html[dir="rtl"] .mobile-header-phone-fixed i {
    transform: scaleX(-1) rotate(90deg) !important;
    margin-left: 5px !important;
}

/* Mobile Screens Adjustment */
@media (max-width: 480px) {
    .mobile-header-phone-fixed span {
        display: none !important;
    }
    
    .mobile-header-phone-fixed {
        padding: 8px !important;
        width: 34px !important;
    }
}

/* --- DESKTOP FLIGHT SLIDER STYLES --- */
.filter-banner-container {
    margin-bottom: 15px;
    margin-top: 20px;
    display: block;
}

.filter-banner {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    height: 160px;
}

/* Static Left Labels */
.labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    background: #fff;
    padding: 40px 10px;
    height: 100%;
    border-right: 1px solid #eee;
    z-index: 10;
    font-weight: bold;
    color: #003366;
    font-size: 16px;
}

/* Right Side Arrow Buttons */
.arrow-group {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: white;
    height: 100%;
    width: 40px;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-left: 1px solid #eee;
}

.arrow {
    width: 40px;
    height: 50%;
    background: #0056ac;
    color: #ffffff;
    font-size: 18px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow:hover {
    background: #0064c9;
}

.sh-edit-btn-1 {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 8px 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    font-size: 18px;
    line-height: 24px;
    display: inline-block;
}

.sidebar-header-return {
    background: #0151c9;
    color: #fff;
    padding: 18px;
    font-weight: bold;
    text-align: center;
}

/* Scroll Area */
.scroll-section {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 50px 10px 120px;
    scrollbar-width: none;
    height: 100%;
}

.scroll-section::-webkit-scrollbar {
    display: none;
}

/* Airline Cards inside Slider */
.airline-column {
    flex: 0 0 150px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.logo {
    height: 35px;
    object-fit: contain;
    margin-bottom: 5px;
}

.airline-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.price-value {
    display: block;
    color: #111;
    font-weight: 700;
    font-size: 18px;
}

.divider {
    border-top: 1px solid #eee;
}

/* HIDE ON MOBILE (Important) */
@media (max-width: 768px) {
    .filter-banner-container {
        display: none !important;
    }
}

/* --- FIX: RESET MOBILE SLIDER HEIGHT --- */
@media (max-width: 768px) {
    .mobile-only-banner .filter-banner {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 10px!important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .mobile-only-banner .airline-column {
        padding: 5px !important;
        flex: 0 0 120px !important;
    }
    
    .mobile-only-banner .divider,
    .mobile-only-banner .price-label {
        display: none !important;
    }
}

/* 1. Hide by default (for Desktop) */
.mobile-only {
    display: none !important;
}

/* 2. Show only when screen is small (Mobile) */
@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .promo-popup {
        width: 100%;
        background-color: #0d47a1;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 15px;
        box-sizing: border-box;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* Promo Banner Styles */
.promo-banner {
    background: linear-gradient(135deg, #015bcf, #012f74);
    color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.promo-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.promo-description {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.promo-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

.promo-button {
    background: white;
    color: #1a73e8;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* Holdtrips Contact Card Styles */
.contact-card {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
}

.card-header {
    background: linear-gradient(135deg, #015bcf, #012f74);
    height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15px;
}

.header-text {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 60px;
}

.header-image {
    position: absolute;
    bottom: -65px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.header-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.card-content {
    flex-grow: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 60px;
    gap: 10px;
}

.card-content p {
    line-height: 1.4;
}

.card-content .main-message {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.card-content .phone-number {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.live-chat-button {
    background-color: #0d47a1;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.live-chat-button:hover {
    background-color: #0ba6ff;
}

/* MOBILE VERSION ONLY - will not affect desktop */
.promo-popup {
    width: 210px;
    height: 100%;
    background-color: #0d47a1;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 15px;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background-color: #0d47a1;
}

.popup-header .title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.popup-header .title img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.popup-header .close-btn {
    border: none;
    color: #393b3d;
    cursor: pointer;
    padding: 0px;
    line-height: 1;
    font-size: 24px;
    background-color: rgba(0, 0, 255, 0);
    padding-right: 0px;
}

.popup-message {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.popup-message strong {
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.popup-message a {
    color: #b0e0e6;
    text-decoration: underline;
}

.email-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    box-sizing: border-box;
    color: #414141;
}

.email-input::placeholder {
    color: #aaa;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.terms-text {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 15px;
}

.terms-text a {
    color: #b0e0e6;
    text-decoration: underline;
}

/* MOBILE VERSION ONLY - will not affect desktop */
@media (max-width: 768px) {
    .promo-popup {
        width: 100%;
        max-width: 410px;
        height: 170px !important;
        padding: 8px 12px !important;
        justify-content: flex-start !important;
    }
    
    .popup-header {
        margin-bottom: 5px !important;
    }
    
    .popup-header .title {
        font-size: 14px !important;
    }
    
    .popup-header .title img {
        width: 16px !important;
        height: 16px !important;
        margin-right: 6px !important;
    }
    
    .popup-header .close-btn {
        font-size: 18px !important;
    }
    
    .popup-content {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 5px;
    }
    
    .popup-message {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }
    
    .popup-message strong {
        font-size: 12px !important;
        margin-bottom: 2px !important;
    }
    
    @media (max-width: 768px) {
        .popup-promo-content {
            background: #ffffff00;
            width: 100%;
            max-width: 500px;
            border-radius: 12px;
            padding: 5px;
            box-shadow: none;
            position: relative;
            overflow: hidden;
        }
    }
    
    .popup-message a {
        font-size: 10px !important;
    }
    
    .email-input,
    .submit-btn {
        display: none !important;
    }
    
    .email-form-group {
        display: flex !important;
        width: 100%;
        gap: 0;
        margin-bottom: 5px;
    }
    
    .email-form-group .email-input-mobile {
        flex: 1;
        padding: 8px 10px;
        border: none;
        border-radius: 4px 0 0 4px;
        font-size: 12px;
        box-sizing: border-box;
        color: #414141;
        min-width: 0;
    }
    
    .email-form-group .email-input-mobile::placeholder {
        color: #aaa;
        font-size: 12px;
    }
    
    .email-form-group .submit-btn-mobile {
        padding: 8px 12px;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 0 4px 4px 0;
        font-size: 12px;
        font-weight: bold;
        cursor: pointer;
        white-space: nowrap;
        min-width: 100px;
    }
    
    .terms-text {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin-top: 5px !important;
    }
    
    .terms-text a {
        font-size: 11px !important;
    }
}

.dp-header-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.dp-header-flex {
    color: white;
    margin: 0;
    font-weight: normal;
    font-size: 28px !important;
}

.dp-trip-selector-flex {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.dp-trip-option {
    color: white;
    cursor: pointer;
}

/* Seat Map */
.seat-map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 300px;
    margin: 20px auto;
}

.seat {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #3498db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.seat.selected {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.seat.occupied {
    background: #ddd;
    border-color: #ccc;
    cursor: not-allowed;
    color: #999;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.option-card:hover {
    border-color: #1a237e;
    background-color: #f5f7ff;
}

.baggage-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    width: 140px;
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-option {
    color: #676767;
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
    cursor: pointer;
}

/* EXTRA BAGGAGE COLUMNS */
.baggage-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.bag-col-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.bag-col-item:hover {
    border-color: #3498db;
    background-color: #e3f2fd;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.bag-weight {
    font-weight: 800;
    color: #0a2c5e;
    font-size: 18px;
    display: block;
}

.bag-price {
    color: #e74c3c;
    font-weight: 600;
}

.baggage-options {
    display: none;
    margin-top: 15px;
    padding: 0px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* --- POPUPS & MODALS --- */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

/* FARE RULES STYLING */
.popup-content {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    padding: 0px;
    box-shadow: 0px 4px 12px 0px #8080807a;
    position: relative;
    overflow: hidden;
    max-height: 80vh;
}

.popup-promo-content {
    background: #ffffff00;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 5px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

/* Custom Header for Popups */
.popup-header-custom {
    background-color: #0a2c5e !important;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px 8px 0px 0px;
}

.navbar.fixed-top {
    background: var(--color-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.17);
    animation: slide-down 0.7s;
}

.popup-title {
    font-size: 22px;
    font-weight: 600;
    color: white;
    padding: 20px;
}

.popup-body {
    padding: 20px;
    background: #fff;
    border-radius: 0px 0px 8px 8px;
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    opacity: 0.8;
}

.popup-close:hover {
    opacity: 1;
}

.email-input,
.submit-btn {
    display: block;
}

.email-form-group {
    display: none;
}

/* Mobile styles - hide desktop, show mobile */
@media (max-width: 768px) {
    .email-input,
    .submit-btn {
        display: none;
    }
    
    .email-form-group {
        display: flex;
    }
}

/* Prevent double scrollbar */
html {
    overflow: -moz-scrollbars-none;
    overflow: hidden;
    height: 100%;
}

body {
    overflow-y: auto;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

/* Force disable all smooth scrolling */
html {
    scroll-behavior: auto !important;
}

* {
    scroll-behavior: auto !important;
}

/* ======================================================
   HOTEL LIST MOBILE BACK RIBBON
   (Independent from Hotel Details page)
====================================================== */



/* Hide on desktop */
.flight-list-back-ribbon{
    display:none !important;
}

   /* Ribbon tail */
    .flight-list-back-ribbon::after{
        content:"";
        position:absolute;
        top:100%;
        left:0;
        border-width:4px 4px 0 0;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;
    }

        .flight-list-back-ribbon{
        display:inline-block;
        position:absolute;
        left:0px;      /* LEFT SIDE */
        top:0px;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:999;
    }

/* Hide Edit button only on Hotel List page */
    .sh-edit-btn{
        display:block;
    }

@media (max-width:768px){
    /* Position reference */
    .mobile-header-bar{
        position:relative;
    }

    /* Hide on mobile */
.sh-edit-btn{
    display:none !important;
}

    /* Hide on desktop */
.flight-list-back-ribbon{
    display:block !important;
}

    .flight-list-back-ribbon{
        display:inline-block;
        position:absolute;
        left:0px;      /* LEFT SIDE */
        top:0px;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:999;
    }

    /* Ribbon tail */
    .flight-list-back-ribbon::after{
        content:"";
        position:absolute;
        top:100%;
        left:0;
        border-width:4px 4px 0 0;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;
    }

}
