﻿.nextoria-header {
  --nx-bg0: #04060b;
  --nx-text: rgba(245, 247, 255, 0.94);
  --nx-muted: rgba(245, 247, 255, 0.68);
  --nx-muted2: rgba(245, 247, 255, 0.52);
  --nx-stroke: rgba(255, 255, 255, 0.12);
  --nx-stroke2: rgba(255, 255, 255, 0.08);
  --nx-radius: 18px;
  --nx-radius2: 26px;
  --nx-maxw: 1180px;
  color: var(--nx-text);
  font-family:
    Vazirmatn,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
}

.nextoria-header *,
.nextoria-header *::before,
.nextoria-header *::after {
  box-sizing: border-box;
}

.nextoria-header .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nextoria-header .nextoria-wrap {
  max-width: var(--nx-maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.nextoria-header .nextoria-topbar {
    position: fixed;
    top: 0;
    z-index: 120;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(2, 3, 6, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    width: 100%;
}
.nextoria-header .nextoria-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 7px;
}

.nextoria-header .nextoria-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: inherit;
  text-decoration: none;
}

.nextoria-header .nextoria-brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  -webkit-filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.nextoria-header .nextoria-brand-fallback {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(245, 247, 255, 0.9);
  background: radial-gradient(circle at 30% 30%, rgba(36, 199, 255, 0.2), rgba(255, 122, 26, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.nextoria-header .nextoria-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nextoria-header .nextoria-brand-name strong {
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.nextoria-header .nextoria-brand-name span {
  color: var(--nx-muted2);
  font-size: 12px;
}

.nextoria-header .nextoria-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.nextoria-header .nextoria-menu,
.nextoria-header .nextoria-mnav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nextoria-header .nextoria-menu li {
  position: relative;
}

.nextoria-header .nextoria-menu .sub-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 19, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.62);
  display: none;
}

.nextoria-header .nextoria-menu li:hover > .sub-menu,
.nextoria-header .nextoria-menu li:focus-within > .sub-menu {
  display: block;
}

.nextoria-header .nextoria-menu .sub-menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(245, 247, 255, 0.86);
  text-transform: none;
  letter-spacing: 0.04em;
}

.nextoria-header .nextoria-menu .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nextoria-header .nextoria-menu a {
  color: var(--nx-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 180ms ease, color 180ms ease;
  text-decoration: none;
}

.nextoria-header .nextoria-menu a:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.045);
}

.nextoria-header .nextoria-products-entry,
.nextoria-header .nextoria-products-trigger {
  color: var(--nx-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  text-decoration: none;
}

.nextoria-header .nextoria-products-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nextoria-header .nextoria-products-trigger::after,
.nextoria-header .nextoria-mnav-products-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  opacity: 0.75;
  transform: rotate(45deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nextoria-header .nextoria-products-trigger[aria-expanded="true"]::after,
.nextoria-header .nextoria-mnav-products-trigger[aria-expanded="true"]::after {
  opacity: 1;
  transform: rotate(225deg);
}

.nextoria-header .nextoria-products-entry:hover,
.nextoria-header .nextoria-products-trigger:hover,
.nextoria-header .nextoria-products-trigger[aria-expanded="true"] {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.055);
}

.nextoria-header .nextoria-products-panel {
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  z-index: 80;
  width: auto;
  max-height: calc(100vh - 100px);
  max-height: calc(100svh - 100px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(3, 18, 28, 0.96), rgba(8, 10, 17, 0.96) 52%, rgba(28, 17, 11, 0.94)),
    #060a13;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.nextoria-header .nextoria-products-panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nextoria-header .nx-products-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nextoria-header .nx-products-panel-head span,
.nextoria-header .nextoria-mnav-products-title {
  display: block;
  color: #36c9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nextoria-header .nx-products-panel-head strong {
  display: block;
  max-width: 520px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.35;
}

.nextoria-header .nx-products-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 min(460px, 44vw);
}

.nextoria-header .nx-products-panel-actions label,
.nextoria-header .nextoria-mnav-product-search {
  display: block;
  min-width: 0;
}

.nextoria-header [data-nextoria-product-search] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 42px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  outline: none;
  background:
    linear-gradient(135deg, rgba(54, 201, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(2, 8, 14, 0.7);
  padding: 10px 14px;
  font-size: 13px;
}

.nextoria-header [data-nextoria-product-search]::placeholder {
  color: rgba(245, 247, 255, 0.44);
}

.nextoria-header [data-nextoria-product-search]:focus {
  border-color: rgba(54, 201, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(54, 201, 255, 0.1);
}

.nextoria-header .nx-products-panel-actions > a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(54, 201, 255, 0.34);
  background: rgba(54, 201, 255, 0.08);
}

.nextoria-header .nx-products-no-results {
  margin: 14px 4px 0;
  color: rgba(245, 247, 255, 0.62);
  font-size: 13px;
}

.nextoria-header .nx-products-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding-top: 16px;
}

.nextoria-header .nx-product-panel-column {
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.nextoria-header .nx-product-panel-column[hidden],
.nextoria-header .nx-product-branch[hidden],
.nextoria-header [data-nextoria-product-item][hidden] {
  display: none !important;
}

.nextoria-header .nx-product-panel-column > summary,
.nextoria-header .nx-product-branch > summary {
  list-style: none;
}

.nextoria-header .nx-product-panel-column > summary::-webkit-details-marker,
.nextoria-header .nx-product-branch > summary::-webkit-details-marker {
  display: none;
}

.nextoria-header .nx-product-panel-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
  padding: 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(54, 201, 255, 0.13), rgba(255, 139, 54, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.nextoria-header .nx-product-panel-main::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  line-height: 1;
}

.nextoria-header .nx-product-panel-column[open] .nx-product-panel-main::after {
  content: "\2212";
}

.nextoria-header .nx-product-panel-main span {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nextoria-header .nx-product-panel-main small {
  display: block;
  grid-column: 1 / 2;
  margin-top: 6px;
  color: rgba(245, 247, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.nextoria-header .nx-product-panel-tree {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.nextoria-header .nx-product-branch {
  padding-left: 10px;
  border-left: 1px solid rgba(54, 201, 255, 0.18);
}

.nextoria-header .nx-product-branch + .nx-product-branch {
  margin-top: 8px;
}

.nextoria-header .nx-product-branch-depth-2,
.nextoria-header .nx-product-branch-depth-3,
.nextoria-header .nx-product-branch-depth-4 {
  margin-left: 10px;
}

.nextoria-header .nx-product-category-link,
.nextoria-header .nx-product-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  color: rgba(245, 247, 255, 0.84);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nextoria-header .nx-product-category-link {
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.nextoria-header .nx-product-category-link::before {
  content: "+";
  width: 18px;
  color: #36c9ff;
  font-weight: 800;
}

.nextoria-header .nx-product-branch[open] > .nx-product-category-link::before {
  content: "\2212";
}

.nextoria-header .nx-product-category-link span {
  min-width: 0;
  flex: 1 1 auto;
}

.nextoria-header .nx-product-category-view {
  flex: 0 0 auto;
  color: rgba(245, 247, 255, 0.56);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.nextoria-header .nx-product-category-view:hover {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(54, 201, 255, 0.25);
  background: rgba(54, 201, 255, 0.08);
}

.nextoria-header .nx-product-category-link:hover,
.nextoria-header .nx-product-links a:hover {
  color: rgba(255, 255, 255, 0.96);
  border-color: rgba(54, 201, 255, 0.22);
  background: rgba(54, 201, 255, 0.07);
}

.nextoria-header .nx-product-links {
  display: grid;
  gap: 5px;
  margin-top: 7px;
}

.nextoria-header .nx-product-branch-content {
  padding-top: 7px;
}

.nextoria-header .nx-product-links a {
  padding: 7px 10px 7px 18px;
  color: rgba(245, 247, 255, 0.72);
  font-size: 12px;
  line-height: 1.3;
}

.nextoria-header .nx-product-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #36c9ff, #f1d899);
  box-shadow: 0 0 12px rgba(54, 201, 255, 0.38);
}

.nextoria-header .nextoria-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    padding: 0;
}

.nextoria-header .nextoria-menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nextoria-header .nextoria-menu-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.nextoria-header .nextoria-menu-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, opacity 150ms ease, top 180ms ease;
}

.nextoria-header .nextoria-menu-lines span:nth-child(1) {
  top: 0;
}

.nextoria-header .nextoria-menu-lines span:nth-child(2) {
  top: 6px;
}

.nextoria-header .nextoria-menu-lines span:nth-child(3) {
  top: 12px;
}

.nextoria-header .nextoria-menu-btn[aria-expanded="true"] .nextoria-menu-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nextoria-header .nextoria-menu-btn[aria-expanded="true"] .nextoria-menu-lines span:nth-child(2) {
  opacity: 0;
}

.nextoria-header .nextoria-menu-btn[aria-expanded="true"] .nextoria-menu-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nextoria-header .nextoria-mnav {
  position: fixed;
  inset: 82px 14px auto 14px;
  z-index: 110;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.68);
  padding: 8px 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: calc(100vh - 96px);
  max-height: calc(100svh - 96px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 160ms ease;
}

.nextoria-header .nextoria-mnav[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nextoria-header .nextoria-mnav-menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.nextoria-header .nextoria-mnav-menu .sub-menu {
  list-style: none;
  margin: 6px 0 2px 0;
  padding: 0 0 0 10px;
  display: grid;
  gap: 6px;
}

.nextoria-header .nextoria-mnav-menu a {
  display: block;
  padding: 13px 10px;
  border-radius: 10px;
  color: rgba(245, 247, 255, 0.86);
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.nextoria-header .nextoria-mnav-menu > li:last-child > a {
  border-bottom-color: transparent;
}

.nextoria-header .nextoria-mnav-products-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nextoria-header .nextoria-mnav-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.09);
}

.nextoria-header .nextoria-mnav-products {
  display: none;
  margin-top: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.82);
}

.nextoria-header .nextoria-mnav-products[data-open="true"] {
  display: grid;
  gap: 9px;
}

.nextoria-header .nextoria-mnav-products-title {
  margin-bottom: 12px;
}

.nextoria-header .nextoria-mnav-product-search {
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .nextoria-header .nextoria-products-panel {
    top: 70px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 86px);
    max-height: calc(100svh - 86px);
    border-radius: 20px;
    padding: 14px;
  }

  .nextoria-header .nx-products-panel-head {
    flex-direction: column;
    gap: 14px;
  }

  .nextoria-header .nx-products-panel-actions {
    width: 100%;
    flex: 0 1 auto;
  }
}

.nextoria-header a:focus-visible,
.nextoria-header button:focus-visible {
  outline: 2px solid rgba(36, 199, 255, 0.55);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .nextoria-header .nextoria-nav {
    display: none;
  }

  .nextoria-header .nextoria-menu-btn {
    display: inline-flex;
  }

  .nextoria-header .nextoria-brand {
    min-width: unset;
  }

  .nextoria-header .nextoria-wrap {
    padding: 0 12px;
  }

  .nextoria-header .nextoria-topbar-inner {
    padding: 6px 0;
  }

  .nextoria-header .nextoria-brand-mark,
  .nextoria-header .nextoria-brand-fallback {
    width: 50px;
    height: 50px;
  }

  .nextoria-header .nextoria-mnav-products .nx-product-branch {
    border-left-color: rgba(255, 255, 255, 0.09);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nextoria-header *,
  .nextoria-header *::before,
  .nextoria-header *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nextoria-header .nextoria-topbar,
  .nextoria-header .nextoria-menu .sub-menu,
  .nextoria-header .nextoria-products-panel,
  .nextoria-header .nextoria-mnav {
    background: rgba(0, 0, 0, 0.96);
  }
}

/* Hello Elementor fallback: hide theme header when plugin header is injected. */
body.nextoria-header-injected #site-header.site-header {
  display: none !important;
}
