/* Current-page nav link (injected by nav-active.js) */
.nav-link-current {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
}

/* Nav auth widget (injected by auth.js) */
.nav-auth-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-auth-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-auth-item a:hover {
  color: #fff0c1;
}

.nav-auth-name {
  display: inline-block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff0c1;
  white-space: nowrap;
}

.nav-auth-logout {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background-color 0.2s;
}

.nav-auth-logout:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Nav cart badge (injected by cart.js) */
.nav-cart-item {
  display: flex;
  align-items: center;
}

.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  line-height: 1;
  transition: 0.3s;
}

.nav-cart-link:hover {
  color: #fff0c1;
}

.nav-cart-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #d63333;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #bfa059;
}

.nav-cart-badge.hidden {
  display: none;
}
