.NavBar {
  background: linear-gradient(110deg, rgba(2, 6, 23, 0.55), rgba(15, 23, 42, 0.35));
  color: #f9fafb;
  width: 100%;
  min-height: 56px;
  height: 7vh;
  padding: 0 1.5vw;
  z-index: 10;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.25);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  position: relative;
  overflow: hidden;
}

.NavBar::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  display: none;
}

.NavBarList {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 2vw;
}

.NavBarItem {
  list-style: none;
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.NavBarList .NavBarCart,
.NavBarList .NavBarLogin {
  flex: 0 0 auto;
}

.NavBarList .NavBarCart {
  margin-left: auto;
  justify-content: center;
}

.NavBarList .NavBarLogin {
  margin-left: 0;
  justify-content: flex-end;
}

.NavBar2 .NavBarList {
  justify-content: flex-start;
  gap: 14px;
}

.NavBar2 .NavBarItem {
  flex: 0 0 auto;
  justify-content: flex-start;
}

.NavBarIconItem a {
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.NavBarIconButton {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.NavBarIconButton > .UserProfileDisplay {
  height: 100%;
}

.NavBarIcon {
  height: 100%;
  max-height: 6vh;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.NavBarIconItem span {
  display: inline-block;
  padding-left: 10px;
}

.NavBar ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.NavBarItem a {
  text-decoration: none;
  color: #f9fafb;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
  position: relative;
  width: min(160px, 100%);
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.NavBarItem > .LanguageButton,
.NavBarItem > .ThemeButton {
  width: min(160px, 100%);
}

.NavBarItem a:hover {
  background-color: transparent;
  color: #d1fae5;
  transform: translateY(-1px);
  box-shadow: none;
  text-shadow: 0 0 12px rgba(26, 170, 122, 0.5);
}

.NavBarItem a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(26, 170, 122, 0),
    rgba(26, 170, 122, 0.85),
    rgba(52, 197, 143, 0.7),
    rgba(26, 170, 122, 0)
  );
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.NavBarItem a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.NavStickToTop {
  top: 0;
  position: fixed;
}
.LanguageButton {
  background: none;
  border: none;
  color: #f9fafb;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
  background: transparent;
  border: none;
  box-shadow: none;
  height: 36px;
}

.LanguageButton:hover {
  background-color: transparent;
  transform: translateY(-1px);
  box-shadow: none;
  color: #d1fae5;
  text-shadow: 0 0 12px rgba(26, 170, 122, 0.5);
}

.LanguageButton span {
  margin-left: 0.2vw;
}

.ThemeButton {
  background: none;
  border: none;
  color: #f9fafb;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
  background: transparent;
  border: none;
  box-shadow: none;
  height: 36px;
}

.ThemeButton:hover {
  background-color: transparent;
  transform: translateY(-1px);
  box-shadow: none;
  color: #d1fae5;
  text-shadow: 0 0 12px rgba(26, 170, 122, 0.5);
}

.ThemeButton span {
  margin-left: 0.2vw;
}

.Sidebar {
  padding: 6vh;
  height: 100vh;
  position: fixed;
  width: 15vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.SidebarRight {
  background-color: lightcoral;
  right: 0;
}

.SidebarList {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  gap: 1vh;
}

.SideBarItem {
  width: 100%;
  height: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  text-decoration: none;
  background-color: antiquewhite;
  margin: 1vh;
  border: black 1px solid;
  border-radius: 1vh;
}

.SidebarToggle {
  width: 3vw;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff00;
  border: none;
}

.SidebarToggle > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: none;
}

.SidebarToggleStatic {
  z-index: 10;
  position: fixed;

}
.SidebarToggleStatic > img {
  color: white;
}

.SidebarToggleRight {
  right: 0;
}
