/* Airbnb Style Header Layout */
        .airbnb-header {
  background: #ffffff; /* solid white like Airbnb */
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  z-index: 1020;

  padding: 0; /* remove extra padding */
  border-radius: 0; /* remove rounded box */
  box-shadow: none; /* remove heavy shadow */
}
.container-fluid {
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 1024px) {
  .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 768px) {
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
}


  .airbnb-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 14px 40px; /* balanced height */
}

@media (max-width: 1024px) {
  .airbnb-top-row {
    padding: 12px 30px;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .airbnb-top-row {
    padding: 10px 20px;
    gap: 10px;
  }
}

  /* Logo */
  .airbnb-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
  }

  .airbnb-logo i {
    font-size: 32px;
    margin-right: 8px;
  }

  @media (max-width: 1024px) {
    .airbnb-logo i {
      font-size: 28px;
      margin-right: 6px;
    }
  }

  @media (max-width: 768px) {
    .airbnb-logo i {
      font-size: 24px;
      margin-right: 4px;
    }
  }

  .airbnb-logo span {
    font-family: 'Pacifico', cursive;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
  }

  @media (max-width: 1024px) {
    .airbnb-logo span {
      font-size: 20px;
    }
  }

  @media (max-width: 768px) {
    .airbnb-logo span {
      font-size: 18px;
    }
  }

  /* User Menu */
  .airbnb-user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  @media (max-width: 1024px) {
    .airbnb-user-menu {
      gap: 10px;
    }
  }

  @media (max-width: 768px) {
    .airbnb-user-menu {
      gap: 8px;
    }
  }

  .airbnb-link {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    transition: background 0.2s;
  }

  @media (max-width: 1024px) {
    .airbnb-link {
      font-size: 13px;
      padding: 8px 12px;
    }
  }

  @media (max-width: 768px) {
    .airbnb-link {
      font-size: 12px;
      padding: 6px 10px;
    }
  }

  .airbnb-link:hover {
    background: #f7f7f7;
  }

  .airbnb-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 5px 12px;
    border-radius: 30px;
    background: white;
    transition: box-shadow 0.2s;
    color: #222;
    text-decoration: none;
  }

  @media (max-width: 1024px) {
    .airbnb-profile-btn {
      padding: 4px 10px;
      gap: 6px;
    }
  }

  @media (max-width: 768px) {
    .airbnb-profile-btn {
      padding: 3px 8px;
      gap: 4px;
    }
  }

  .airbnb-profile-btn:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .airbnb-profile-btn i.bi-list {
    font-size: 18px;
  }

  .airbnb-profile-btn i.bi-person-circle {
    font-size: 28px;
    color: #717171;
  }

  @media (max-width: 1024px) {
    .airbnb-profile-btn i.bi-list {
      font-size: 16px;
    }

    .airbnb-profile-btn i.bi-person-circle {
      font-size: 24px;
    }
  }

  @media (max-width: 768px) {
    .airbnb-profile-btn i.bi-list {
      font-size: 14px;
    }

    .airbnb-profile-btn i.bi-person-circle {
      font-size: 20px;
    }
  }

  /* Profile Dropdown Menu */
  .profile-dropdown-container {
    position: relative;
  }

  .profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    display: none;
    z-index: 1000;
    margin-top: 8px;
  }

  .profile-dropdown-menu.active {
    display: block;
  }

  .dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    color: #222;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
  }

  .dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
  }

  .dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
  }

  .dropdown-item:hover {
    background: #f7f7f7;
  }

  .dropdown-item.logout {
    color: #e74c3c;
    border-top: 1px solid #ebebeb;
  }

  /* Big Search Bar Area */
  .airbnb-search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 8px 40px 16px 40px; /* proper spacing like Airbnb */
}

@media (max-width: 1024px) {
  .airbnb-search-container {
    padding: 8px 30px 16px 30px;
    display: flex;
  }
}

@media (max-width: 768px) {
  .airbnb-search-container {
    padding: 8px 20px 16px 20px;
    display: flex;
  }
}

  /* Category Nav Styles - Moved to Top Row */
  .category-nav-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 0;
  }

@media (max-width: 1024px) {
  .category-nav-nav {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .category-nav-nav {
    gap: 10px;
  }
}

  .category-item-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #555;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    cursor: pointer;
  }

@media (max-width: 1024px) {
  .category-item-nav {
    font-size: 0.9rem;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .category-item-nav {
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .category-item-nav span:last-of-type {
    display: none;
  }
}

  .category-item-nav:hover {
    color: var(--primary-color);
  }

  .category-item-nav.active {
    color: #000;
  }

  .category-item-nav.active::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Adjusted for zero top padding */
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
  }

  .category-icon-nav {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: 0.3s;
  }

@media (max-width: 1024px) {
  .category-icon-nav {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .category-icon-nav {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
}

  .category-item-nav:hover .category-icon-nav {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .category-item-nav.active .category-icon-nav {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

  .bi-car-front-fill { color: var(--primary-color); }
  .bi-people-fill { color: #f39c12; }
  .bi-bell-fill { color: #3498db; }

  .new-badge-nav {
    position: absolute;
    top: -12px;
    right: -25px;
    background: #1a4d8f;
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(26, 77, 143, 0.3);
  }

   .airbnb-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 50px;
    width: 850px;
    height: 64px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    position: relative;
  }

  @media (max-width: 1024px) {
    .airbnb-search-bar {
      width: 100%;
      max-width: 90vw;
      height: 60px;
    }
  }

  @media (max-width: 768px) {
    .airbnb-search-bar {
      width: calc(100% - 80px);
      height: 56px;
      border-radius: 40px;
    }
  }

  /* Capsule Highlight Effect Container */
  .search-field-pill {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 8px 30px;
    border-radius: 40px;
    height: 100%;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: background 0.2s;
  }

  @media (max-width: 1024px) {
    .search-field-pill {
      padding: 6px 20px;
    }
  }

  @media (max-width: 768px) {
    .search-field-pill {
      padding: 4px 15px;
    }
  }

  .search-field-pill:hover {
    background: #ebebeb;
  }

  .search-field-pill label {
    font-size: 12px;
    font-weight: 800;
    color: #222;
    margin-bottom: 4px;
    cursor: pointer;
    line-height: 1;
  }

  .search-field-pill input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #222;
    width: 100%;
    padding: 0;
    cursor: pointer;
    height: 24px;
    line-height: 24px;
  }

  .search-field-pill input::placeholder {
    color: #717171;
    font-weight: 400;
  }

  gmp-place-autocomplete.nav-autocomplete-element::part(input) {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px;
    color: #222;
    width: 100%;
    padding: 0 !important;
    cursor: pointer;
    height: 24px !important;
    line-height: 24px !important;
  }

  gmp-place-autocomplete.nav-autocomplete-element::part(input)::placeholder {
    color: #717171;
    font-weight: 400;
  }

  /* Divider Lines */
  .pill-divider-nav {
    width: 1px;
    height: 32px;
    background: #ddd;
    z-index: 1;
  }

  /* Search Button */
  .search-pill-btn {
    background: var(--primary-color);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    margin-left: -5px;
    z-index: 2;
    transition: background 0.2s;
    cursor: pointer;
  }

  .search-pill-btn:hover {
    background: var(--primary-hover);
  }

  /* Date Field specifically */
  /* Constrain the absolute picker inside the input */
  input[type="date"] {
    position: relative;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    z-index: 1;
  }

  /* Hide native form components styles from bootstrap */
  .pac-container {
    z-index: 1050 !important;
    border-radius: 20px;
    margin-top: 10px;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
  }

  .pac-item {
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
  }
  /* MOBILE SEARCH TRIGGER (Airbnb Style) */
  .mobile-search-trigger {
    display: none;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 50px;
    width: 100%;
    padding: 10px 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: left;
    margin-bottom: 2px;
  }

  @media (max-width: 768px) {
    .mobile-search-trigger {
      display: flex;
    }
  }

  .mobile-search-trigger i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    font-weight: 800;
  }

  .mobile-search-trigger-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .mobile-search-trigger-content .maintext-nav {
    font-size: 14px;
    font-weight: 700;
    color: #222;
  }

  .mobile-search-trigger-content .subtext-nav {
    font-size: 12px;
    color: #717171;
    font-weight: 400;
  }

  /* MOBILE SEARCH OVERLAY (Full Screen) */
  .mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .mobile-search-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .overlay-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .overlay-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    color: #222;
    margin-right: 20px;
  }

  .overlay-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
  }

  .overlay-content {
    flex: 1;
    padding: 20px;
    background: #f7f7f7;
    overflow-y: auto;
  }

  .stacked-card-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .stacked-search-pill {
    background: #fff;
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative; /* CRITICAL: Constrain calendar picker hit-box */
  }

  .stacked-search-pill.focused {
    border-color: #222;
  }

  .stacked-search-pill label {
    font-size: 11px;
    font-weight: 800;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .stacked-search-pill input {
    border: none;
    outline: none;
    font-size: 16px;
    color: #222;
    font-weight: 500;
    width: 100%;
    background: transparent;
  }

  .stacked-search-pill input::placeholder {
    color: #717171;
    font-weight: 400;
  }

  .overlay-footer {
    padding: 15px 20px 30px 20px;
    background: #fff;
    border-top: 1px solid #ebebeb;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .clear-all-btn {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    color: #222;
    cursor: pointer;
  }

  .overlay-search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }

  /* Sync with desktop button style */
  .overlay-search-btn i {
    font-weight: 900;
  }

  /* Body lock when overlay active */
  body.mobile-search-active {
    overflow: hidden;
  }

  @media (max-width: 768px) {
    .airbnb-search-bar {
      display: none !important;
    }
  }