/* Force all dropdown menus to show on hover */
.navbar-nav > li.dropdown:hover > .dropdown-menu,
.navbar-nav > li.nav-item.hover-dropdown:hover > .hover-menu {
  display: block;
}

/* Fix z-index stacking and dropdown menu base style */
.dropdown-menu,
.hover-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #4B306A;
  padding: 10px 0;
  margin: 0;
  border-radius: 0 0 6px 6px;
  min-width: 220px;
  z-index: 9999;
}

/* General dropdown items */
.dropdown-menu li,
.hover-menu li {
  list-style: none;
}

.dropdown-menu li a,
.hover-menu li a {
  display: block;
  padding: 8px 20px;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover,
.hover-menu li a:hover {
  background-color: #3c2458;
  color: #ccc !important;
}

/* Login form specific styling */
.login-form {
  background-color: #4B306A;
  color: #fff;
  border-radius: 0 0 6px 6px;
  padding: 15px;
  min-width: 250px;
}

.login-form .form-control {
  width: 100%;
  margin-bottom: 10px;
  border: none;
  border-radius: 4px;
  padding: 6px;
}

.login-form .btn-primary {
  background-color: #3c2458;
  border: none;
  width: 100%;
}

.login-form .btn-primary:hover {
  background-color: #2a193e;
}

.login-form a {
  color: #fff;
  text-decoration: underline;
  display: inline;
  margin: 0 5px;
  white-space: nowrap;
}

.login-form a:hover {
  color: #ccc;
}

/* Fix layout overlap issues */
.navbar-nav li {
  position: relative;
}

.enlarge-on-hover {
  transition: transform 0.3s ease; /* smooth animation */
}

.enlarge-on-hover:hover {
  transform: scale(6); /* 600% bigger */
}

.nopcart {
  width: 60% !important;
  max-width: none !important;
}