/*
  Custom overrides (loaded last).
  Keep new UI changes here to avoid editing large legacy files.
*/

:root {
  --nf-font-sans: "Open Sans", sans-serif;
  --nf-color-text: #000000;
  --nf-color-bg: #ffffff;
  --nf-color-muted: #64748b;
  --nf-color-primary: #f51359;
  --nf-color-border: #e2e8f0;
  --nf-color-surface: #f8fafc;
  --nf-radius-sm: 6px;
  --nf-radius-md: 10px;
  --nf-radius-lg: 16px;
  --nf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Navbar spacing + alignment */
#top-navigation {
  padding-top: 10px;
  padding-bottom: 10px;
}

#top-navigation ul.top-menu > li > a,
#top-navigation ul.top-menu > li .dropdown-toggle,
#top-navigation ul.top-menu > li .btn,
#top-navigation .col-lg-auto .mr-2 > a {
  color: rgba(255, 255, 255, 0.92);
}

#top-navigation ul.top-menu > li > a:hover,
#top-navigation ul.top-menu > li .dropdown-toggle:hover,
#top-navigation .col-lg-auto .mr-2 > a:hover {
  color: #ffffff;
}

#top-navigation .line-left {
  border-left-color: rgba(255, 255, 255, 0.35);
}

#top-navigation .zmdi,
#top-navigation .el-icon {
  color: inherit;
}

#top-navigation .hamburger-inner,
#top-navigation .hamburger-inner::before,
#top-navigation .hamburger-inner::after {
  background-color: #ffffff;
}

#top-navigation .widget-dropdown button {
  position: relative;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

#top-navigation .widget-dropdown button:not(.no-icons) {
  padding-right: 36px;
}

#top-navigation .widget-dropdown button:after {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

#top-navigation .widget-dropdown button.no-icons:after {
  content: "";
}

#top-navigation .top-logo img {
  max-height: 42px;
  width: auto;
}

#top-navigation #vue-widget-nav > .d-flex {
  gap: 12px;
}

#top-navigation .top-menu > li {
  vertical-align: middle;
}

#top-navigation .top-menu > li > a,
#top-navigation .top-menu > li .dropdown-toggle,
#top-navigation .top-menu > li .btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  line-height: 1;
  padding: 0 12px;
}

#top-navigation .top-menu > li .dropdown.userprofile .dropdown-toggle {
  padding: 0 14px;
}

#top-navigation .top-menu .userprofile .dropdown-toggle.width-100 {
  width: auto !important;
  max-width: 240px;
}

#top-navigation .top-menu .userprofile .dropdown-toggle.text-truncate {
  overflow: visible;
  text-overflow: clip;
}

#top-navigation .top-menu > li.line-left {
  padding-left: 12px;
  margin-left: 6px;
  height: 28px;
  display: inline-flex;
  align-items: center;
}

#top-navigation .top-menu > li.line-left > a {
  padding-left: 0;
}

#top-navigation .cart-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  padding: 0;
}

#top-navigation .cart-handle img {
  width: 20px;
  height: 20px;
}

#top-navigation .cart-handle .badge {
  right: -2px;
  bottom: -6px;
}

#top-navigation .notification-dropdown {
  display: inline-flex;
  align-items: center;
  height: 36px;
}

#top-navigation .col-lg-auto .mr-2 > a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 10px;
}
