/* ==========================================
   1. MODERN COLOR SYSTEM & THEME TOKENS
   ========================================== */

:root {
    /* Royal airline blue palette */
    --brand-primary: #0033A0;   /* main action + accents */
    --brand-secondary: #4F7EEB; /* softer supporting blue */

    --bg-surface: light-dark(#ffffff, #0f172a);
    --bg-glass: light-dark(rgba(255, 255, 255, 0.85), rgba(15, 23, 42, 0.75));
    --text-main: light-dark(#0f172a, #f8fafc);
    --text-muted: light-dark(#64748b, #94a3b8);
    --border-color: light-dark(#e2e8f0, #1f2937);

    --radius-md: 12px;
    --radius-lg: 20px;
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-surface);
    color: var(--text-main);
    line-height: 1.6;
}


/* ==========================================
   2. HERO SECTION + SCROLL PARALLAX
   ========================================== */

.hero {
    position: relative;
    height: 90vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    view-timeline-name: --hero-scroll;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    animation: hero-scale linear both;
    animation-timeline: --hero-scroll;
    animation-range: entry 0% exit 100%;
    pointer-events: none;
}

.mode-select {
    position: relative;
    z-index: 20;     /* force on top */
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mode-pill {
    cursor: pointer;
}

@keyframes hero-scale {
    to { transform: scale(1.1); filter: brightness(0.7); }
}


/* ==========================================
   3. GLASS SEARCH FORM
   ========================================== */

.search-container {
    width: 90%;
    max-width: 1000px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slide-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));

    /* ✨ CROSS-BROWSER GRADIENT TEXT */
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.1;
}

.subtitle {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}


/* === GRID FORM === */

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: light-dark(#fff, #1e293b);
    color: var(--text-main);
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary), transparent 80%);
}

.btn-search {
    background: var(--brand-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn-search:hover {
    transform: translateY(-2px);
    background: oklch(50% 0.2 250);
}


/* ==========================================
   4. DESTINATION CARDS + RESPONSIVE LAYOUT
   ========================================== */

.destinations-wrapper {
    container-type: inline-size;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

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

.card-body { padding: 1.5rem; }

@container (min-width: 600px) {
    .card {
        flex-direction: row;
        align-items: center;
    }
    .card-img {
        width: 40%;
        height: 100%;
        aspect-ratio: 4/3;
    }
}


/* ==========================================
   5. HEADER + LANGUAGE SWITCH
   ========================================== */

.top-nav {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.top-nav .brand {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lang-switch a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lang-switch a:hover { text-decoration: underline; }


/* ============================
   MODE SELECT PILLS (Homepage)
   ============================ */

.mode-select {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem 0;
    flex-wrap: wrap;
}

.mode-pill {
    padding: 0.6rem 1.1rem;
    border-radius: 20px;
    border: 1.5px solid var(--brand-primary);
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-primary);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.mode-pill:hover {
    background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
}

.mode-pill--active {
    background: var(--brand-primary);
    color: rgb(139, 114, 114);
    border-color: var(--brand-primary);
}
/* ===========================================
   RESULTS PAGE
=========================================== */

/* ===========================================
   RESULTS PAGE – ULAPO PREMIUM STYLE
=========================================== */

/* Heading spacing fix */
.results-header {
    margin-top: 1rem;           /* Reduce space */
    margin-bottom: 1rem;
    text-align: center;
}


.results-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.results-dates {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Tabs (mobile-focused) */
.results-tabs {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 0.5rem;
}

.tab-btn {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.tab-btn--active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(0, 51, 160, 0.35);
}

/* Layout grid */
.results-layout {
  max-width: 1200px;
  margin: 1.5rem auto 3rem;

  padding: 0 1rem 2rem;
  display: grid;
  grid-template-columns: 0.65fr 2.1fr 0.65fr;
  gap: 1.25rem;
}

/* Generic column */
.results-col {
  background: transparent;
}

/* SIDE COLUMNS (mini premium cards) */

.results-col--side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.side-title {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.side-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  margin-bottom: 0.85rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.side-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
}

/* Mini result internal layout – used by _mini_result.html */
.mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mini-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-carrier {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.mini-carrier-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 51, 160, 0.08);
  font-size: 0.9rem;
}

.mini-price-pill {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 51, 160, 0.06);
  color: #111827;
}

.mini-middle-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mini-bottom-row {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Side "View more" link */

.side-more {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.side-more:hover {
  text-decoration: underline;
}

/* CENTER COLUMN */

.results-col--center {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  padding: 1.25rem 1.25rem 1.5rem;
}

/* Filter chips row */

.center-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-chip {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  cursor: pointer;
  font-size: 0.8rem;
}

.filter-chip--active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(0, 51, 160, 0.35);
}

/* Main center card (full result) */

.center-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: transform .2s, box-shadow .2s;
    margin-bottom: 1.25rem;
}

.center-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.center-carrier {
    font-weight: 600;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #333;
}

.center-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0047ff;
}

.center-row-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: .9rem 0 1rem 0;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 0.75rem;
}

/* Duration & tags rounded improvement */
.duration {
    background: #f3f7ff;
    padding: 4px 10px;
    border-radius: 9px;
    font-weight: 600;
    color: #475569;
}
.center-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.center-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.center-carrier {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.center-carrier-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 51, 160, 0.08);
  font-size: 1rem;
}

.center-carrier .carrier-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.center-price {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
}

/* Time row */

.center-row-middle {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.center-row-middle .time {
  font-weight: 600;
}

.center-row-middle .duration {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feature chips */

.center-features {
  margin-top: 0.15rem;
}

.center-features .tag {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  margin-right: 0.3rem;
  margin-top: 0.2rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

/* Book button column */

.center-book {
  display: flex;
  align-items: center;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-primary), #001a5c);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
}

.book-btn::after {
  content: "→";
  font-size: 0.9rem;
}

.book-btn:hover {
  opacity: 0.95;
  box-shadow: 0 6px 16px rgba(0, 51, 160, 0.35);
}

/* MOBILE */

@media (max-width: 768px) {
  .results-layout {
    display: block;
    padding-bottom: 1.5rem;
  }

  .results-tabs {
    display: flex;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .results-col {
    display: none;
  }

  .results-col--active {
    display: block;
  }

  .results-col--center {
    margin-top: 0.75rem;
  }

  .center-card {
    grid-template-columns: 1fr;
  }

  .center-price {
    font-size: 1rem;
  }

  .center-row-middle .duration {
    margin-left: 0;
  }
}

/* DESKTOP: always show all columns */
@media (min-width: 769px) {
  .results-col {
    display: block !important;
  }
}
/* SIDE MINI CARD UPDATE */
.side-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  margin-bottom: 0.85rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.side-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

.side-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: #64748b;
  letter-spacing: 0.5px;
}

/* Compact typography for side items */
.side-card .mini-time {
  font-weight: 600;
}

.side-card .mini-price {
  font-weight: 700;
  color: #0f172a;
}

/* OPTIONAL: make the "View more" look like an action */
.side-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #1e3a8a;
}
.side-more:hover {
  text-decoration: underline;
}
/* =============================
   COMPACT 2-COLUMN CENTER CARD
============================= */

.center-card {
  display: grid;
  grid-template-columns: 1fr auto; /* TWO COLUMNS */
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.2s;
  margin-bottom: 1rem;
}

.center-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}

/* LEFT SECTION (Carrier + Times + Tags) */
.center-left {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Carrier row */
.center-carrier {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.center-carrier-icon {
  font-size: 1.3rem;
}

/* Timings row */
.center-row-middle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.time {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.arrow {
  font-size: 1rem;
  color: #9ca3af;
}

.duration {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

/* Features (tags) */
.center-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.75rem;
    background: #f2f4f7;     /* light grey / soft blue */
    color: #4a5568;          /* muted dark grey text */
    border-radius: 6px;
    border: none;            /* REMOVE BUTTON FEEL */
    box-shadow: none;
    outline: none;
    cursor: default;         /* NOT clickable */
    margin-right: 4px;
}

/* RIGHT: Price + Button */
.center-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  min-width: 100px;
}

.center-price {
  font-size: 1.1rem;
  font-weight: 800;
  background: #1e293b;
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: 24px;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 28px;
  background: #1e40af;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.book-btn:hover {
  background: #1e3a8a;
}

.book-btn::after {
  content: "→";
  font-size: 0.9rem;
}

/* 📱 Mobile: stack button below card */
@media (max-width: 768px) {
  .center-card {
    grid-template-columns: 1fr;
  }

  .center-right {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.6rem;
  }

  .center-price {
    font-size: 1rem;
  }
}

.center-card {
  display: grid;
  grid-template-columns: 1fr auto;   /* ⬅ two columns only */
  grid-template-rows: auto auto auto; /* 3 rows */
}
.center-row-middle {
  border-bottom: none;
  padding-bottom: 0;
}
.center-right {
  grid-column: 2;
  grid-row: 1 / span 3;  /* takes 3 vertical slots */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.center-row-middle {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.duration {
  grid-column: 1;       /* force left side */
  justify-self: start;  /* align to times */
  margin-left: 4.4rem;  /* fine-tune horizontally */
}
.center-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.4rem;
  margin-top: 0.2rem; /* tightens vertical space */
}

/* ================================
   MMT / GOIBIBO Style Result Card
==================================*/

.mmt-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1.2rem 1.2rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  gap: 1rem;
  transition: 0.15s ease-in-out;
}

.mmt-card:hover {
  background: #f9fafb;
}

/* LEFT SECTION */
.mmt-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mmt-carrier {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.mmt-icon {
  font-size: 1.2rem;
}

.mmt-route {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mmt-time {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.mmt-line {
  flex-grow: 1;
  height: 2px;
  background: #4ade80;
  max-width: 120px;
}

.mmt-city {
  font-size: 0.82rem;
  color: #6b7280;
}

.mmt-features {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #15803d;
  font-weight: 600;
}

.mmt-duration {
  font-weight: 600;
  font-size: 0.85rem;
  color: #111827;
}

.mmt-direct {
  color: #15803d;
}

/* ICONS */
.mmt-icons span {
  font-size: 1rem;
  margin-right: 0.25rem;
}

/* Flight Details */
.mmt-details {
  font-size: 0.82rem;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.15rem;
}

.mmt-details:hover {
  text-decoration: underline;
}

/* RIGHT SIDE PRICE BLOCK */
.mmt-right {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.8rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 120px;
}

.mmt-fare-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.mmt-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1d4ed8;
}

.mmt-return {
  font-size: 0.7rem;
  color: #6b7280;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .mmt-card {
    grid-template-columns: 1fr;
  }
  .mmt-right {
    width: 100%;
  }
}
/* Fix homepage styles on results page */
.results-page .hero,
.results-page .hero-bg {
    display: none;
}

.results-page .top-nav {
    position: static;
    padding: 1rem 2rem;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.results-page .top-nav .brand,
.results-page .lang-switch a {
    color: #0f172a;
    text-shadow: none;
}

.results-page main {
    padding-top: 4.5rem;
}
/* Make price act like a booking button */
.price-click {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  transition: 0.2s;
}

.price-click:hover {
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}
/* Make price act like a booking button */
.price.price-click {
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  padding: 0.45rem 1rem !important;
  border-radius: 24px !important;
  background: #1e293b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  transition: 0.2s;
}

.price.price-click:hover {
  background: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
}
/* ===== OMIO-LIKE TOP TOOLBAR ===== */
.results-toolbar {
  max-width: 1200px;
  margin: 0 auto 0.75rem;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toolbar-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sort-select {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 0.85rem;
}

.toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Reuse existing .filter-chip, just refine a bit */
.filter-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-chip:hover {
  background: #e2e8f0;
}

.filter-chip.active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

/* Responsive toolbar */
@media (max-width: 768px) {
  .results-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* RESULTS PAGE BACKGROUND */
.results-page body,
body.results-page {
    background-image: url("/static/img/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.brand-logo {
    height: 38px;
    width: 200px;
    object-fit: cover;
}.category-nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.category-nav a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.category-nav a:hover {
  border-bottom: 2px solid white;
}

/* --- Compact centered duration: overlay, doesn't increase card height --- */
.center-row-middle {
  position: relative;           /* container for absolute positioning */
  display: flex;
  align-items: center;
  justify-content: center;      /* keep times centered */
  gap: 0.6rem;
  min-height: 2.0rem;           /* reserve a little space so overlay doesn't collide */
}

/* the time block (depart → arrive) stays inline and centered */
.center-row-middle .time-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;                   /* keep times above the overlay */
}

/* duration is removed from flow and centered */
.duration.duration-centered {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 70%); /* sit slightly below the times without pushing layout */
  z-index: 1;
  background: rgba(235, 245, 255, 0.9); /* subtle pill */
  padding: 4px 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
  color: #334155;
  pointer-events: none;         /* avoid accidental hover/click blocking */
  box-shadow: 0 2px 6px rgba(16,24,40,0.06);
}

/* tweak for small screens to avoid overlap */
@media (max-width: 600px) {
  .center-row-middle { min-height: 2.4rem; }
  .duration.duration-centered { transform: translate(-50%, 95%); font-size: 0.75rem; }
}
/* Long horizontal grey line */
/* Horizontal route line between times */
.route-line {
    display: inline-block;
    width: 80px;          /* adjust length */
    height: 2px;          /* line thickness */
    background: #1e293b;  /* dark navy line */
    margin: 0 0.6rem;     /* spacing between times */
    border-radius: 2px;
    vertical-align: middle;
}



/* Stops label ABOVE the line */
/* stops above the line */
.stops-info {
  text-align: center;
  font-size: 0.8rem;
  color: #4f7ee8;
  font-weight: 600;
  margin-bottom: 0.2rem;
}





/* Duration BELOW */
.time-block .duration {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
/* Center-row layout tweaks: keep children stacked but don't center everything */
.center-row-middle {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers the time-row block horizontally */
  gap: 0.4rem;
}

/* stops info sits above the line and is horizontally centered inside its wrapper */
.stops-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.stops-info {
  font-size: 0.82rem;
  color: var(--text-muted);;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-align: center;
}

/* time row: times at both ends, route-line stretches between them */
.time-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 560px; /* control card width influence */
  justify-content: center; /* center the whole row inside card */
}

.time-row .time {
  min-width: 72px;
  text-align: center;
  font-weight: 700;
  color: #0f172a;
}

/* route-line: builds a long thin bar between times */
.route-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  max-width: 320px;
  position: relative;
}

/* the visible horizontal bar */
.route-line-bar {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, rgba(15,23,42,0.12), rgba(15,23,42,0.25));
  width: 100%;
  border-radius: 4px;
}

/* small subtle icon at left (optional) */
.route-left-icon {
  color: var(--brand-secondary);
  font-size: 0.95rem;
  margin-right: 0.4rem;
}

/* optional dot at the right */
.route-right-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 2px solid rgba(15,23,42,0.12);
  margin-left: 0.4rem;
}

/* duration below */
.duration-centered {
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.2rem;
}
.time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.airport {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.side-card-price {
    /* Use the primary brand dark color for maximum impact */
    background-color: var(--brand-dark, #1e293b); 
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem; /* Slightly smaller than main card, but still strong */
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md); 
    /* Ensures the price stays on the far right */
    margin-left: auto; 
    white-space: nowrap; 
}
.category-nav a {
  background: #f1f5f9;
  color: #1e293b;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
}

.category-nav a:hover {
  background: #e2e8f0;
}
.autocomplete-list {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 8px 10px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background: #f0f4f8;
}
input::placeholder {
    color: #94a3b8;   /* Slate-400 */
    opacity: 1;
}
.hero-bg {
    pointer-events: none;
    z-index: 1;
}

.search-container {
    position: relative;
    z-index: 10;
}
.stops-info {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.stops-direct {
  background: #d4f8d4;
  color: #0b7a0b;
}

.stops-one {
  background: #fff4d4;
  color: #a56900;
}

.stops-multi {
  background: #ffe0e0;
  color: #b10000;
}
.carrier-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}.airline-logo {
    height: 22px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}
.center-carrier {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* =========================================================
   HOTELS — EXCLUSIVE STYLES (Safe, isolated, no conflicts)
   ========================================================= */

/* Layout */
.hotels-layout {
    max-width: 1250px;
    margin: 1rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
}

/* Sidebar */
.hotel-filters {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.hotel-filters h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.filter-box {
    margin-bottom: 1.4rem;
}

.filter-box label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.4rem;
}

.amenity-check input {
    margin-right: 6px;
}

/* Hotel Grid */
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Card Wrapper */
.hotel-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 25px rgba(0,0,0,0.12);
}

/* Image */
.card-media {
    position: relative;
}

.hotel-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid #e5e7eb;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: 0.2s;
}

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

/* Guest Favorite Badge */
.badge-top {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    color: #1e293b;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Card Body */
.card-body {
    padding: 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header: Hotel name + rating */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hotel-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin-right: 6px;
}

.rating-pill {
    background: #1e3a8a;
    color: #fff;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.review-count {
    opacity: 0.85;
}

/* Location text */
.hotel-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.35rem 0 0.6rem;
}

/* Amenities Scroll */
.amenities-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.amenity-tag {
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: 0.75rem;
    white-space: nowrap;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Divider */
.divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

/* Footer: Price + CTA */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-block {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.price-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.price-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e40af;
}

.price-period {
    font-size: 0.75rem;
    color: #6b7280;
}

/* CTA Button */
.hotel-card .book-btn {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.55rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.hotel-card .book-btn:hover {
    background: #001a5c;
}

/* Responsive */
@media (max-width: 900px) {
    .hotels-layout {
        grid-template-columns: 1fr;
    }
    .hotel-filters {
        order: 10;
    }
}
.hotel-toolbar {
    max-width: 1200px;
    margin: 1rem auto 1.5rem;
    background: #ffffff;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 110px;
}

.toolbar-field label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.toolbar-field input,
.toolbar-field select {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    font-size: 0.85rem;
    font-weight: 500;
}
@media (max-width: 900px) {
    .hotel-toolbar {
        flex-wrap: wrap;
        border-radius: 20px;
    }
    .toolbar-field {
        width: 48%;
    }
}

@media (max-width: 600px) {
    .toolbar-field {
        width: 100%;
    }
}
/* White rounded toolbar container */
.hotels-topbar {
    max-width: 1200px;
    margin: 1rem auto 1.5rem;
    padding: 1rem 1.5rem;

    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    align-items: center;
}

/* Each field inside */
.topbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.topbar-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.topbar-field input,
.topbar-field select {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.85rem;
}

.topbar-field input:focus,
.topbar-field select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .hotels-topbar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .hotels-topbar {
        grid-template-columns: 1fr;
    }
}
/* White rounded toolbar container */
.hotels-topbar {
    max-width: 1200px;
    margin: 1rem auto 1.5rem;
    padding: 1rem 1.5rem;

    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    align-items: center;
}

/* Each field inside */
.topbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.topbar-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.topbar-field input,
.topbar-field select {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.85rem;
}

.topbar-field input:focus,
.topbar-field select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .hotels-topbar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .hotels-topbar {
        grid-template-columns: 1fr;
    }
}
/* White rounded toolbar container */
.hotels-topbar {
    max-width: 1200px;
    margin: 1rem auto 1.5rem;
    padding: 1rem 1.5rem;

    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    align-items: center;
}

/* Each field inside */
.topbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.topbar-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.topbar-field input,
.topbar-field select {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.85rem;
}

.topbar-field input:focus,
.topbar-field select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .hotels-topbar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .hotels-topbar {
        grid-template-columns: 1fr;
    }
}
/* White rounded toolbar container */
.hotels-topbar {
    max-width: 1200px;
    margin: 1rem auto 1.5rem;
    padding: 1rem 1.5rem;

    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    align-items: center;
}

/* Each field inside */
.topbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.topbar-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.topbar-field input,
.topbar-field select {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.85rem;
}

.topbar-field input:focus,
.topbar-field select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .hotels-topbar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .hotels-topbar {
        grid-template-columns: 1fr;
    }
}
/* Arrow container */
.arrow-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The arrow line */
.arrow-line {
    width: 80px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    display: inline-block;
    margin: 0 6px;
}

/* The label in the middle of the arrow */
.arrow-label {
    position: absolute;
    top: -12px;
    background: #eff6ff;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    color: #1e40af;
    white-space: nowrap;
}

/* Day indicator */
.day-indicator {
    font-size: 0.65rem;
    color: #6b7280;
    margin-left: 4px;
}
/* ---------- Carrier logo & name fixes ---------- */
/* allow logos to size naturally while staying aligned */
.carrier-logo,
.airline-logo {
  height: 28px;           /* consistent visual size */
  width: auto;            /* preserve aspect ratio */
  display: inline-block;
  object-fit: contain;    /* prevent cropping */
  vertical-align: middle;
  margin-right: 10px;
}

/* show full carrier name — avoid forced ellipsis */
.center-carrier .carrier-name {
  display: inline-block;
  vertical-align: middle;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  max-width: 480px;        /* generous max width so names don't cut */
  white-space: normal;     /* allow wrapping if super long */
  overflow: visible;       /* prevent clipping */
}

.results-topbar {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    background: white;
    padding: 1rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.topbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.topbar-field input,
.topbar-field select {
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    border: 1px solid #d7d7d7;
    background: #fff;
    font-size: 0.9rem;
}
.results-topbar {
    display: flex;
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: #ffffff;
    border-radius: 18px;
    margin: 1.5rem auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    align-items: flex-end;
}

.topbar-field {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: #555;
}

.topbar-field label {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.topbar-field input,
.topbar-field select {
    padding: 0.6rem 0.9rem;
    border: 1px solid #d5dfe8;
    border-radius: 10px;
    font-size: 0.9rem;
    min-width: 180px;
}

.results-filterbar {
    margin: 1rem auto 0;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.85rem;
    color: #888;
    margin-right: 0.5rem;
}

.filter-chip {
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    background: #f1f5ff;
    border: 1px solid #d8e2ff;
    cursor: pointer;
    font-size: 0.85rem;
}

.filter-chip.active {
    background: #2d6cff;
    color: white;
    border-color: #2d6cff;
}
.top-filters {
    width: 100%;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 18px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.toolbar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem 2rem;
    align-items: center;
}

.toolbar-grid .field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
    display: block;
}

.toolbar-grid .field input,
.toolbar-grid .field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 0.95rem;
}
/* Wrap toolbar like hotels */
.toolbar-wrapper {
    max-width: 1200px;          /* Same as hotels */
    margin: 0 auto;             /* Center horizontally */
    padding: 0 1rem;            /* Small side padding */
}

/* Shared white toolbar styles */
.top-filters {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Grid layout inside toolbar */
.toolbar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem 2rem;
}

/* Field label */
.toolbar-grid .field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
    display: block;
}

/* Inputs & Selects */
.toolbar-grid .field input,
.toolbar-grid .field select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 0.95rem;
}
.unified-toolbar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 22px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.toolbar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem 1.5rem;
    align-items: end;
}

.toolbar-field label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.toolbar-field input,
.toolbar-field select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fafafa;
    font-size: 0.95rem;
}

.toolbar-filters-row {
    grid-column: 1 / -1;
}

.toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.filter-chip {
    padding: 6px 14px;
    border-radius: 16px;
    border: 1px solid #ddd;
    background: #f4f6ff;
    cursor: pointer;
    font-size: 0.85rem;
}

.filter-chip.active {
    background: #3366ff;
    color: #fff;
    border-color: #3366ff;
}

.toolbar-submit {
    grid-column: 1 / -1;
    margin-top: 0.6rem;
    padding: 0.7rem 1.6rem;
    border-radius: 12px;
    border: none;
    background: #1d4ed8;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
/* RESULTS TOOLBAR WIDTH FIX */
.results-toolbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
/* =========================================
   UNIFIED TOOLBAR CONTAINER
   ========================================= */
.unified-toolbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* GRID LAYOUT */
.toolbar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem 1.5rem;
    align-items: center;
}

/* EACH FIELD */
.toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toolbar-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

/* INPUTS + SELECTS */
.toolbar-field input,
.toolbar-field select {
    padding: 0.7rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.95rem;
    outline: none;
}

.toolbar-field input:focus,
.toolbar-field select:focus {
    border-color: #2563eb;
    background: #fff;
}

/* =========================================
   FILTERS ROW
   ========================================= */
.toolbar-filters-row {
    grid-column: 1 / -1; /* full width */
}

.toolbar-filters-row label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* CHIPS */
.filter-chip {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
}

.filter-chip.active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}

/* =========================================
   SUBMIT / APPLY BUTTON
   ========================================= */
.toolbar-submit {
    grid-column: 1 / -1;
    background: #1d4ed8;
    padding: 0.85rem 1rem;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.toolbar-submit:hover {
    background: #1e3a8a;
}

/* =========================================================
   ULAPO — UNIVERSAL TOP TOOLBAR (MATCHES HOTEL TOOLBAR)
   ========================================================= */

.unified-toolbar {
    max-width: 1200px;
    margin: 1rem auto 1.5rem;
    padding: 1rem 1.5rem;

    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap; /* wraps on mobile only */
}

/* Each field */
.toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 160px;   /* SAME AS HOTELS */
    flex: 1;            /* allow clean resizing */
}

/* Labels */
.toolbar-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Inputs & Selects */
.toolbar-field input,
.toolbar-field select {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.9rem;
    width: 100%;
}

.toolbar-field input:focus,
.toolbar-field select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.25);
}

/* Filters row (SECOND ROW) */
.toolbar-filters-row {
    width: 100%;
    margin-top: 0.25rem;
}

.toolbar-filters-row label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.3rem;
}

.toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.filter-chip.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* Apply button styled like hotel CTA */
.toolbar-submit {
    width: 100%;
    margin-top: 0.3rem;

    background: #2563eb;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;

    transition: 0.2s;
}

.toolbar-submit:hover {
    background: #1e3a8a;
}

/* Mobile layout */
@media (max-width: 800px) {
    .unified-toolbar {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-field {
        min-width: 100%;
    }
}
/* =========================================================
   ULAPO — FINAL FIXED TOOLBAR (ONE ROW LIKE HOTELS)
   ========================================================= */

.unified-toolbar {
    max-width: 1200px;
    margin: 1rem auto 1.5rem;
    padding: 1rem 1.5rem;

    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column; /* vertical stacking */
    gap: 1.2rem;
}

/* FIRST ROW — always one row */
.toolbar-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* FIVE equal columns */
    gap: 1.2rem;
}

/* field styling */
.toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toolbar-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.toolbar-field input,
.toolbar-field select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.9rem;
}

/* FILTER ROW */
.toolbar-filters-row {
    width: 100%;
}

.toolbar-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
}

/* APPLY BUTTON */
.toolbar-submit {
    width: 100%;
    background: #2563eb;
    color: #fff;
    padding: 0.75rem;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* MOBILE — convert row into stacked layout */
@media (max-width: 900px) {
    .toolbar-grid {
        grid-template-columns: 1fr 1fr; /* two per row */
    }
}
@media (max-width: 600px) {
    .toolbar-grid {
        grid-template-columns: 1fr; /* full stack */
    }
}
/* =========================================================
   APPLY BUTTON ON SAME LINE AS FILTERS + SMALLER TOOLBAR
   ========================================================= */

/* Reduce overall padding + height */
.unified-toolbar {
    max-width: 1200px;
    margin: 1rem auto 1rem;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem; /* reduced spacing */
}

/* FIRST ROW — 5 fields same line */
.toolbar-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem 1.2rem; /* more compact */
}

/* Field styling smaller */
.toolbar-field label {
    font-size: 0.7rem;
}

.toolbar-field input,
.toolbar-field select {
    padding: 0.5rem 0.7rem;
    font-size: 0.88rem;
    border-radius: 8px;
}

/* ================ FILTER + APPLY ON SAME LINE ================ */

.toolbar-filters-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* filters left, apply right */
    gap: 1rem;
}

/* Left: filters */
.toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

/* Right: Apply button */
.toolbar-submit {
    flex-shrink: 0;          /* prevent shrinking */
    padding: 0.55rem 1.3rem; /* smaller button */
    font-size: 0.9rem;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Smaller filter chips */
.filter-chip {
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 14px;
}

/* MOBILE — Stack filters + apply again */
@media (max-width: 700px) {
    .toolbar-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-submit {
        width: 100%;
    }
}
/* =========================================================
   FIX: Filters + Apply on ONE line (side-by-side)
   ========================================================= */

.toolbar-filters-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Filters left, Apply right */
    width: 100%;
    margin-top: 0.5rem;
}

/* Filters stay left */
.toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Apply button should NOT take full width */
.toolbar-submit {
    flex: 0 0 auto;              /* prevents stretching */
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
    border-radius: 10px;
    white-space: nowrap;
    width: auto !important;      /* override previous width */
    min-width: 120px;
}

/* Compact toolbar overall */
.unified-toolbar {
    padding: 1rem 1.2rem;
    border-radius: 16px;
}

/* Mobile: stack again */
@media (max-width: 700px) {
    .toolbar-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-submit {
        width: 100% !important;
    }
}
/* Outer container */
.travel-toolbar {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 1.2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Grid layout */
.toolbar-layout {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem 1.5rem;
}

/* Individual field */
.toolbar-item {
    display: flex;
    flex-direction: column;
}

.toolbar-item label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.toolbar-item input,
.toolbar-item select {
    padding: 0.55rem 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.9rem;
}

/* Full-width row under the grid */
.toolbar-row-full {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Filter chips */
.chip-group {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.chip {
    padding: 6px 14px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    font-size: 0.8rem;
    cursor: pointer;
}

.chip:hover {
    background: #dbe4ff;
}

/* Apply button */
.apply-btn {
    padding: 0.65rem 2rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.apply-btn:hover {
    background: #1e40af;
}

/* Mobile responsiveness */
@media (max-width: 800px) {
    .toolbar-layout {
        grid-template-columns: 1fr 1fr;
    }

    .toolbar-row-full {
        flex-direction: column;
        align-items: flex-start;
    }

    .apply-btn {
        width: 100%;
        text-align: center;
    }
}
/* ===========================================================
   RESULTS TOOLBAR — MATCHING HOTEL TOPBAR STYLE
   =========================================================== */

.unified-toolbar {
    max-width: 1200px;
    margin: 1.2rem auto 2rem;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* GRID SAME AS hotels-topbar */
.unified-toolbar .toolbar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* matches hotel bar count */
    gap: 1rem 1.2rem;
    align-items: end;
}

/* Field styling identical to hotels */
.unified-toolbar .toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.unified-toolbar .toolbar-field label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.03em;
}

.unified-toolbar .toolbar-field input,
.unified-toolbar .toolbar-field select {
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.9rem;
    width: 100%;
}

/* Filter chips row */
.unified-toolbar .toolbar-filters-row {
    grid-column: 1 / -1;
}

.unified-toolbar .toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.unified-toolbar .filter-chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
    cursor: pointer;
}

/* APPLY button same style as hotel card buttons */
.unified-toolbar .toolbar-submit {
    background: #1d4ed8;
    color: white;
    padding: 0.65rem 1.2rem;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    grid-column: 6 / span 1; /* last column */
    justify-self: end;
}

/* Hover */
.unified-toolbar .toolbar-submit:hover {
    background: #1e3a8a;
}

/* MOBILE RESPONSIVE MATCHING hotels-topbar */
@media (max-width: 900px) {
    .unified-toolbar .toolbar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .unified-toolbar .toolbar-submit {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 500px) {
    .unified-toolbar .toolbar-grid {
        grid-template-columns: 1fr;
    }
}

.hotels-topbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.55rem 1.3rem;
    border: 2px solid #0b4ed1;   /* clean blue */
    border-radius: 999px;        /* PERFECT ROUND OVAL */
    background: #f5f8ff;

    font-size: 1rem;
    font-weight: 600;
    color: #0b4ed1;

    transition: 0.2s;
    cursor: pointer;
}

/* Active mode */
.category-pill.active {
    background: #0b4ed1;
    color: #fff;
}

/* Hover effect */
.category-pill:hover {
    background: #e8f0ff;
}
.header-nav {
    overflow: visible !important;
}
.nav-category {
    margin-left: 10px;   /* or 12px */
    margin-right: 10px;
}
.header-nav,
.header-wrapper,
.header-content {
    overflow: visible !important;
}

.nav-category {
    margin: 0 8px;
}
header {
    border-bottom: none !important;
}
/**************im trusting now*/

/* Smooth hover for all buttons */
button, .book-btn, .center-price {
    transition: all 0.2s ease;
}

/* Subtle lift on hover */
button:hover, .book-btn:hover, .center-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Smooth input focus glow */
input:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 112, 255, 0.25);
    transition: box-shadow 0.25s ease;
}

/* Filter chips hover */
.filter-chip:hover {
    background: #e8f0ff;
    border-color: #2d6cdf;
}
/* Soft card shadow */
.center-card, .hotel-card {
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

/* Lift on hover */
.center-card:hover, .hotel-card:hover {
    box-shadow: 0 8px 26px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
/* Slightly reduce toolbar row height */
.hotels-topbar, .unified-toolbar {
    padding: 18px 22px;
}

/* Reduce padding on each input field */
.topbar-field input,
.topbar-field select,
.toolbar-field input,
.toolbar-field select {
    padding: 10px 12px;
}
.header {
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}
.card-media .media-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

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

/* Badge */
.badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}


.autocomplete-list {
  position: absolute;
  margin-top: 6px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: 0 10px 20px rgba(2,6,23,0.08);
}

.autocomplete-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.95rem;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: #eff6ff;
  color: #0f172a;
}

.toolbar-field {
    position: relative;   /* ⭐ fixes the autocomplete */
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.toolbar-field {
    position: relative;
}
/* Prevent overlap with logo */
.legal-page-header {
    margin-top: 80px; /* adjust if needed */
    padding: 20px 16px 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.legal-page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0b2c8a;
    margin-bottom: 6px;
}

.legal-page-header .subtitle {
    font-size: 1rem;
    color: #64748b;
}

/* Content container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

.legal-content h2 {
    margin-top: 24px;
    font-size: 1.4rem;
    font-weight: 700;
}

.legal-date {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #6b7280;
}
/* ===========================
   DESKTOP HEADER
=========================== */
.desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.desktop-nav {
    display: flex;
    gap: 0.8rem;
}

/* ===========================
   MOBILE HEADER
=========================== */
.mobile-header {
    display: none;
}

.mh-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.mh-logo {
    height: 36px;
}

.mh-nav {
    display: flex;
    justify-content: space-around;
    background: #f8fafc;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.mh-nav a {
    font-size: 1.4rem;
    text-decoration: none;
}

/* ===========================
   MOBILE BREAKPOINT
=========================== */
@media (max-width: 768px) {

    .desktop-header {
        display: none !important;
    }

    .mobile-header {
        display: block;
        position: sticky;
        top: 0;
        z-index: 999;
        background: white;
    }
}
/* Fix hero pushing over the next section */
.hero {
    position: relative;
    padding-bottom: 2rem; /* Ensure spacing at bottom */
    z-index: 1;
}

/* Prevent the search container from overlapping the next section */
.search-container {
    position: relative;
    z-index: 2;
    padding-bottom: 1rem;
}

/* Ensure the next section is always visible */
.destinations-wrapper {
    position: relative;
    z-index: 3;
    margin-top: 1.5rem; /* push down safely */
}
/* Fix hero pushing over the next section */
.hero {
    position: relative;
    padding-bottom: 2rem; /* Ensure spacing at bottom */
    z-index: 1;
}

/* Prevent the search container from overlapping the next section */
.search-container {
    position: relative;
    z-index: 2;
    padding-bottom: 1rem;
}

/* Ensure the next section is always visible */
.destinations-wrapper {
    position: relative;
    z-index: 3;
    margin-top: 1.5rem; /* push down safely */
}
/* Fix for very small screens like iPhone SE */
@media (max-height: 700px) {
    .hero {
        padding-bottom: 1rem !important;
    }

    .search-container {
        max-height: calc(100vh - 120px); /* full safe height */
        overflow-y: auto;                /* ENABLE SCROLL */
        padding-bottom: 2rem;
    }

    .search-form {
        padding-bottom: 3rem; /* ensure button visible */
    }

    .btn-search {
        position: relative;
        margin-bottom: 1rem;
    }
}
/* ============================
   MOBILE FIX FOR RESULTS PAGE
   ============================ */
@media (max-width: 768px) {

  /* Make results layout single-column */
  .results-layout {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      padding: 0 1rem;
  }

  /* Hide sidebars OR move them below — your choice */
  .results-col--side {
      display: none; /* Option 1: clean mobile look */
  }

  /* Center section full width */
  .results-col--center {
      width: 100%;
      display: block;
  }

  /* Make cards mobile-friendly */
  .center-card {
      width: 100%;
      background: #fff;
      border-radius: 14px;
      padding: 1rem;
      box-shadow: 0 3px 12px rgba(0,0,0,0.07);
      margin-bottom: 1rem;
  }

  /* Layout inside the card */
  .center-left {
      width: 100%;
  }

  .center-right {
      margin-top: 0.8rem;
      text-align: right;
  }

  .center-price {
      font-size: 1.4rem;
  }
}
/* ===========================================
   MOBILE FIX FOR CENTER RESULTS CARD
=========================================== */
@media (max-width: 768px) {

  .center-card {
      position: relative;
      padding: 1.2rem 1rem;
      border-radius: 14px;
      background: white;
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
      width: 100%;
      margin: 0 auto 1.2rem auto;
  }

  /* Fix the inner layout to stack */
  .center-left,
  .center-right {
      display: block;
      width: 100%;
  }

  /* Make the price pill drop below the card content */
  .center-right {
      text-align: right;
      margin-top: 0.8rem;
  }

  .center-price {
      display: inline-block;
      font-size: 1.3rem;
      padding: 0.4rem 1rem;
      border-radius: 20px;
  }

  /* Fix the card's inner row spacing */
  .center-row-middle {
      flex-direction: column;
      align-items: flex-start;
      gap: .5rem;
  }

  .time-row {
      width: 100%;
  }
}
/* ===========================================
   MOBILE GRID FIX — FULL WIDTH CENTER COLUMN
=========================================== */
@media (max-width: 768px) {

    .results-layout {
        display: block !important;
        width: 100%;
    }

    /* Hide both sidebars on mobile */
    .results-col--side {
        display: none !important;
    }

    /* Make center column span 100% */
    .results-col--center {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Full-width center cards */
    .center-card {
        width: 100% !important;
        margin: 0 0 1.2rem 0 !important;
    }
}
/* REMOVE OUTER PADDING ON MOBILE */
@media (max-width: 768px) {
    .results-page,
    .results-layout,
    .center-results {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* Make the blue background stretch fully */
    body.results-page {
        background-size: cover !important;
        background-position: center !important;
    }

    /* Make cards full width edge-to-edge */
    .center-card {
        border-radius: 16px;
        width: calc(100% - 20px) !important; /* 10px margin left/right */
        margin: 10px auto !important;
    }

    /* Price pill positioning fix */
    .center-right {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
}
@media (max-width: 768px) {

    /* Price pill stays inside card, but gets its own space */
    .center-right {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

@media (max-width: 768px) {

    /* Price pill stays inside card, but gets its own space */
    .center-right {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    /* Shift time row & airports so pill does NOT cover them */
    .time-row {
        margin-right: 70px !important;  /* Create space for price */
    }

    .center-row-middle {
        padding-right: 70px !important; /* Also shift stops + duration */
    }

    /* Prevent text from touching pill */
    .airport {
        white-space: nowrap;
    }

    /* Ensure card content does not hide behind the pill */
    .center-left {
        position: relative;
        z-index: 5;
    }

    .center-card {
        position: relative;
    }
}
@media (max-width: 768px) {

    .center-card {
        position: relative;
        padding-right: 90px !important; /* make room for price pill */
        overflow: visible;
    }

    .center-right {
        position: absolute;
        top: 14px;          /* nice alignment */
        right: 14px;
        transform: none;
        z-index: 10;
    }

    /* Prevent overlapping */
    .center-left,
    .center-row-middle,
    .time-row {
        width: 100%;
    }

    .center-features {
        margin-top: 10px;
        flex-wrap: wrap;
    }
}
/* iPhone SE and very small screens */
@media (max-width: 420px) {

    /* Make the card narrow-friendly */
    .center-card {
        padding: 16px 60px 16px 16px !important; 
        border-radius: 16px;
    }

    /* Price pill smaller & higher */
    .center-right {
        top: 10px;
        right: 10px;

        /* make pill smaller */
        transform: none;
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    /* Fix time row spacing */
    .time-row {
        gap: 10px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    /* Stack features nicely */
    .center-features {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Smaller feature tags */
    .tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* Reduce card width issues */
    .center-row-middle {
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

    /* Prevent airport text from pushing layout */
    .airport {
        font-size: 0.7rem;
        white-space: nowrap;
    }
}
/* iPhone SE / very small screens */
@media (max-width: 420px) {

    /* Smaller card padding to free space */
    .center-card {
        padding: 16px 60px 16px 16px !important;
        position: relative;
    }

    /* PRICE PILL FIX */
    .center-right .center-price {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
        border-radius: 12px !important;
    }

    .center-right {
        position: absolute;
        right: 8px !important;
        top: 6px !important;

        /* Remove vertical centering */
        transform: none !important;

        /* Force layout stability */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent time + airport labels from shifting */
    .time-row {
        gap: 6px !important;
    }

    /* Reduce the airport label width pressure */
    .airport {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    /* Feature chips more compact */
    .tag {
        font-size: 0.72rem !important;
        padding: 3px 7px !important;
    }
}
}
/* -----------------------------
   LANGUAGE SWITCHER
------------------------------ */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-option {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #475569; /* Slate 600 */
    background: #c6d3e0; /* Slate 100 */
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-option:hover {
    background: #c9c698; /* Slate 200 */
    color: #1e293b;      /* Slate 800 */
}

.lang-option.active {
    background: #0033A0;  /* Brand primary */
    color: #d5d9a9;
}
/* -----------------------------
   LANGUAGE SWITCHER
------------------------------ */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-option {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #475569; /* Slate 600 */
    background: #f1f5f9; /* Slate 100 */
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-option:hover {
    background: #e2e8f0; /* Slate 200 */
    color: #1e293b;      /* Slate 800 */
}

.lang-option.active {
    background: #0033A0;  /* Brand primary */
    color: #ffffff;
}
.tp-widget, .tp-container {
    position: relative !important;
    z-index: 9999 !important;
}
