.main-header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.search-bar {
/*  flex: 0 1 600px;*/
  display: flex;
  margin: 0 2rem;
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.camera-button {
  position: absolute;
  left: 15px;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
}

.camera-button:hover {
  transform: scale(1.1);
}

.search-bar input {
  width: 100%;
  padding: 0.8rem 1.5rem 0.8rem 45px;
  border: 2px solid #7cc440;
  border-radius: 25px 0 0 25px;
  font-size: 1rem;
  outline: none;
  position: relative;
}

.search-button {
  background: #7cc440;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-button:hover {
  background: #6cb035;
}

.categories-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f5fff0;
  border: 2px solid #7cc440;
  border-radius: 30px;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(124,196,64,0.1);
}

.categories-btn:hover {
  background: #7cc440;
  color: white;
  box-shadow: 0 4px 12px rgba(124,196,64,0.3);
}

.categories-btn svg {
  transition: fill 0.3s ease;
}

.categories-btn:hover svg {
  fill: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.vertical-divider {
  height: 24px;
  width: 1px;
  background: #ddd;
}

.nav-icon {
  position: relative;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.nav-icon:hover {
  background: #f5f5f5;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #7cc440;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite.active .heart-icon {
  fill: #ff4757;
  stroke: #ff4757;
}

.heart-icon {
  transition: all 0.3s ease;
}

.favorite:hover .heart-icon {
  transform: scale(1.1);
  stroke: #ff4757;
}

@media (max-width: 1000px) {
  .header-container {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
  }
    
  .search-bar {
    order: 3;
    width: 100%;
    margin: 0;
  }
    
  .categories-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 700px) {
  .logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}


