body {
   margin: 0;
   font-family: sans-serif;
  
 }
 
 header {
   background: rgba(255, 255, 255, 0.8);
   backdrop-filter: blur(5px);
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
   position: sticky;
   top: 0;
   z-index: 999;
 }
 
 nav ul {
   list-style: none;
   margin: 0;
   padding: 0 20px;
   display: flex;
   align-items: center;
   gap: 20px;
   height: 60px;
 }
 
 nav li {
   display: inline-block;
 }
 
 nav a {
   text-decoration: none;
   color: #333;
   font-weight: 500;
   padding: 8px 12px;
   border-radius: 6px;
   transition: background 0.3s;
 }
 
 nav a:hover {
   background: rgba(0, 0, 0, 0.05);
 }

 nav .nav-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 0 20px;
   overflow: visible !important;
 }

 .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-right {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* doar dacă vrei ca ele să treacă pe rândul următor pe ecran mic */
  list-style: none;
  margin: 0;
  padding: 0;
}



 
 nav .nav-left .logo {
   font-weight: bold;
   font-size: 20px;
   color: #222;
   text-decoration: none;
 }
 
 nav .nav-right {
   list-style: none;
   display: flex;
   gap: 15px;
   margin: 0;
   padding: 0;
 }
 
 nav .nav-right li {
   display: inline-block;
 }

 footer{background-color: #666;}
 
 .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}


.product-card {
  width: 170px;
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  background: #fdfdfd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: border 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.02); /* optional, pentru efect vizual ușor */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}


.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  list-style: none;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
  height: auto;

}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  font-weight: bold;
}

.dropdown:hover .dropdown-menu {
  display: block;
}



