/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background-color: #fff;
  padding: 1rem 3rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 0;
  width: 100%;
}

/* Container */
.navbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

/* Brand Image */
.navbar .brand-logo {
  height: 50px;
  width: auto;
}

/* Links */
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar .nav-links li a:hover {
  color: #e07b17;
}

/* Products Dropdown */
.products-dropdown {
  position: relative;
}

.products-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 15px 0;
  margin: 8px 0 0 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  min-width: 220px;
  z-index: 1001;
}

.products-dropdown:hover .dropdown-menu {
  display: block;
  animation: slideDown 0.3s ease;
}

.products-dropdown .dropdown-menu li {
  padding: 0;
  margin: 0;
}

.products-dropdown .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.products-dropdown .dropdown-menu li a:hover {
  background-color: #ffe8e8;
  color: #e07b17;
  padding-left: 25px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Search Suggestions */
.nav-search {
  position: relative;
}

.search-suggestions {
  position: fixed !important;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  overflow: visible !important;
  display: none;
  z-index: 10001 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  visibility: visible !important;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.suggestion-item:hover {
  background-color: #ffe8e8;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suggestion-name {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.suggestion-category {
  font-size: 0.85rem;
  color: #999;
}

.suggestion-item.no-results {
  text-align: center;
  color: #999;
  cursor: default;
}

.suggestion-item.no-results:hover {
  background-color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1rem;
  }

  .navbar .container {
    justify-content: space-between;
    align-items: center;
  }

  .navbar .brand {
    margin-right: auto;
  }

  .navbar .brand-logo {
    height: 50px;
  }

  .navbar .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .search-suggestions {
    max-height: 300px;
  }
}
