.flex-menu ul li a{
  white-space: nowrap;
}
.flex-menu .hidden{
  display: none;
}
.flex-menu .flex-menu-more{
  display: none;
  position: relative;
}
.flex-menu .flex-menu-more.active{
  display: block;
}
#moreDropdown{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  background: #ffffffad;
  border-radius: 5px;
}
#moreDropdown li a:hover,
#moreDropdown li a{
  padding: 0.5rem 1rem;
  display: block;
  color: #000;
  text-decoration: none;
}
#moreDropdown.open{
  display: block;
}
#moreCount{
  display: none;
}
/*.flex-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
  flex: 1;
  overflow: hidden;
}

.flex-menu-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.flex-menu-item a {
  display: block;
  padding: 18px 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
}

.flex-menu-item a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}


.flex-menu-item.active a {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}


.flex-menu-item.hidden {
  display: none !important;
}
.flex-menu-more {
  position: relative;
  display: none;
  margin-left: 10px;
  flex-shrink: 0;
}

.flex-menu-more.active {
  display: block;
}

.flex-menu-more-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.flex-menu-more-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.flex-menu-more-arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.flex-menu-more.open .flex-menu-more-arrow {
  transform: rotate(180deg);
}

.flex-menu-more-count {
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}


.flex-menu-more-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.flex-menu-more.open .flex-menu-more-dropdown {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flex-menu-more-dropdown ul {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.flex-menu-more-dropdown li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 15px;
}

.flex-menu-more-dropdown li a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding-left: 25px;
}

.flex-menu-more-dropdown li.active a {
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
  font-weight: 600;
}*/