/* DESKTOP */
#searchSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 99999;
    display: none;
}

/* suggestion row */
.s-row {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #222;
}

.s-row:hover {
    background: #f0f8ff;
}

.s-thumb {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.s-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 📱 MOBILE FIX */
@media (max-width: 768px) {
  #searchSuggestions {
    position: fixed;     /* float over banner */
    top: 70px;           /* below header */
    left: 5%;
    width: 90%;
    max-height: 60vh;
    z-index: 999999;
  }
}

/* Search container */
.search-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* Form wrapper */
.search-form {
  position: relative;
}

/* Input + button wrapper */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrapper input {
  width: 100%;
  padding: 12px 50px 12px 18px;
  border: 1px solid black;
  border-radius: 30px;
  font-size: 15px;
  background: white;
  color: black;
  outline: none;
  transition: all 0.25s;
}

.search-wrapper input:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #bbb;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
}

.search-btn:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

/* Suggestions dropdown */
.suggestions-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #444;
  border-radius: 12px;
  margin-top: 8px;
  max-height: 340px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  display: none;
}

.suggestions-box a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #333;
  transition: all 0.18s;
}



.suggestions-box img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #444;
}

.suggestions-box .no-results {
  padding: 16px;
  color: #999;
  font-style: italic;
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .search-container {
    max-width: 100%;
  }
  .suggestions-box {
    position: fixed;
    top: 70px;               /* adjust according to your header height */
    left: 10px;
    right: 10px;
    max-height: 60vh;
    border-radius: 12px;
  }
}
@media (max-width: 768px) {
  .nav2 {
    /* Transparent + subtle blur for modern floating look */
    background: rgba(255, 255, 255, 0.08);          /* very light white tint */
    backdrop-filter: blur(12px);                    /* glassmorphism effect */
    -webkit-backdrop-filter: blur(12px);            /* Safari support */
    
    /* Alternative: fully transparent (no tint) */
    /* background: transparent; */
    
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 8px 12px 12px;
    
    /* Optional: very subtle bottom border to separate from content */
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav2-container {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
    align-items: center;
  }

  /* Hamburger */
  #navToggle {
    grid-column: 1;
    grid-row: 1;
    font-size: 24px;
    color: #ffffff;           /* changed to white – better on dark/transparent bg */
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);   /* improves contrast */
  }

  /* Logo */
  .nav2-logo {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .nav2-logo img {
    padding-left: 20px;
    height: 70px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));  /* helps logo pop */
  }

  /* Hide top search icon (as in your original) */
  #navSearchToggle {
    display: none !important;
  }

  /* Search bar – full width on second row */
  .search-container {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .search-wrapper {
    width: 100%;
    position: relative;
  }

  .search-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border-radius: 25px;
    
    /* Semi-transparent white input with blur – matches modern mobile nav style */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    
    color: white;
    font-size: 14px;
  }

  .search-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.65);
  }

  .search-wrapper input:focus {
    outline: none;
    border-color: rgba(255, 80, 80, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.25);
  }

  .search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
  }

  /* Hide desktop menu + quote button on mobile */
  .nav2-menu,
  .nav2-btn {
    display: none !important;
  }
}