/* GENERAL NAV STYLE */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: white; /* sau culoarea ta de fundal */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* opțional, mică umbră */
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;

}

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-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
  border-bottom: 1px solid #ddd;
  flex-wrap: nowrap; /* ❗️important: păstrează totul pe un singur rând */
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;

}


.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap; /* ❗️împiedică să treacă pe linie nouă */
}

.nav-right li {
  display: flex;
  align-items: center;
}

.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;
  z-index: 1000;
}

.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;
}

/* BURGER */


.burger-menu {
  display: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

a.active {
  font-weight: bold;
  background-color: orange;
  
}

.pagination {
  display: inline-block;
  margin-right: 0;
  margin-bottom: 10px;
 
}

.pagination a {
  color: #007bff;
  float: left;
  padding: 2px 2px;
  margin: 0 4px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination a.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  font-weight: bold;
}

.pagination a.disabled {
  color: #ccc;
  border-color: #eee;
  pointer-events: none;
  cursor: default;
}

.category-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Ascundem checkbox-ul clasic */
.category-filters input[type="checkbox"] {
  display: none;
}

/* Stil pentru label ca buton */
.category-filters label {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #007bff;
  border-radius: 6px;
  cursor: pointer;
  color: #007bff;
  background: white;
  transition: all 0.2s ease;
  user-select: none;
}

/* Hover */
.category-filters label:hover {
  background: #007bff;
  color: white;
}

/* Când e selectat (active) */
.category-filters input[type="checkbox"]:checked + label {
  background: #007bff;
  color: white;
  font-weight: bold;
}

.category-filters input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

