@font-face{
  font-family:"Vazir-Variable";
  src:url("../font/Vazir-Variable.woff2") format("woff2");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
/* Nopixan Mobile Header v3.6.8 — extracted from inline shortcode output. */
:root{
    --nxmh-radius: 18px;
    --nxmh-height: 64px;
    --nxmh-pad-y: 6px;
    --nxmh-pad-x: 10px;
    --nxmh-border: 1px solid rgba(255,255,255,.14);
    --nxmh-shadow: 0 10px 28px rgba(0,0,0,.08);
    --nxmh-anim: 420ms;

    --nxmh-icon: 30px;

    --nxmh-logo-req-default: 48px;
    --nxmh-logo-req-small: 38px;
    --nxmh-logo-req-tiny: 24px;
    --nxmh-logo-req: var(--nxmh-logo-req-default);
    --nxmh-logo-h: min(var(--nxmh-logo-req), calc(var(--nxmh-height) - (var(--nxmh-pad-y) * 2)));

    --nxmh-left-gap: 0px;

    --nxfx-shine-ms-fast: 2400ms;
    --nxfx-shine-ms-slow: 3800ms;
    --nxfx-pulse-ms: 700ms;
    --nxfx-shine-ease: cubic-bezier(.22,.61,.36,1);

    --nxmh-p1: var(--nxapp-p1, var(--nx-p1, var(--nxaa-p1, var(--p1, #ccd5ae))));
    --nxmh-p2: var(--nxapp-p2, var(--nx-p2, var(--nxaa-p2, var(--p2, #e9edc9))));
    --nxmh-p3: var(--nxapp-p3, var(--nx-p3, var(--nxaa-p3, var(--p3, #fefae0))));
    --nxmh-p4: var(--nxapp-p4, var(--nx-p4, var(--nxaa-p4, var(--p4, #faedcd))));
    --nxmh-p5: var(--nxapp-p5, var(--nx-p5, var(--nxaa-p5, var(--p5, var(--brand, #d4a373)))));
    --nxmh-real-p5: var(--nxapp-p5, var(--nx-p5, var(--nxaa-p5, var(--p5, #d4a373))));
    --nxmh-accent: var(--nxmh-p5);
    --nxmh-dark-bg: var(--nxapp-dark-bg, var(--nx-dark-bg, #101624));
    --nxmh-text: color-mix(in srgb, #111827 82%, var(--nxmh-accent) 18%);
    --nxmh-muted: color-mix(in srgb, var(--nxmh-text) 56%, transparent);
    --nxmh-panel-bg:
      radial-gradient(220px 120px at 88% -28%, color-mix(in srgb, var(--nxmh-p5) 16%, transparent), transparent 70%),
      linear-gradient(135deg, color-mix(in srgb, var(--nxmh-p3) 76%, rgba(255,255,255,.84) 24%), color-mix(in srgb, var(--nxmh-p4) 54%, rgba(255,255,255,.72) 46%));
    --nxmh-line: color-mix(in srgb, var(--nxmh-p5) 18%, rgba(255,255,255,.54));
    --nxmh-border: 1px solid var(--nxmh-line);
    --nxmh-shadow: 0 10px 28px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.34);
    --nxmh-icon-color: var(--nxmh-real-p5);
    --nxmh-icon-bg: transparent;
    --nxmh-icon-border: transparent;
    --nxmh-chip-bg: color-mix(in srgb, var(--nxmh-p3) 72%, rgba(255,255,255,.74) 28%);
    --nxmh-chip-border: color-mix(in srgb, var(--nxmh-p5) 16%, rgba(0,0,0,.08));
    --nxmh-cta-bg: linear-gradient(135deg, color-mix(in srgb, var(--nxmh-p5) 86%, #000 14%), color-mix(in srgb, var(--nxmh-p1) 34%, var(--nxmh-p5) 66%));
    --nxmh-cta-text: #ffffff;
    --nxmh-scheme: light;
  }

  html[data-nxmh-theme="dark"],
  html[data-nxadm-theme="dark"],
  body.nxadm-theme-dark,
  body.nxapp-theme-dark,
  body.nxapp-dark,
  body.nx-dark,
  .nx-mhdr-wrap[data-nxmh-theme="dark"]{
    --nxmh-dark-bg: var(--nxapp-dark-bg, var(--nx-dark-bg, #101624));
    --nxmh-text: var(--nxapp-dark-text, color-mix(in srgb, var(--nxmh-p3) 88%, #ffffff 12%));
    --nxmh-muted: var(--nxapp-dark-muted, color-mix(in srgb, var(--nxmh-p3) 54%, rgba(255,255,255,.52) 46%));
    --nxmh-panel-bg:
      radial-gradient(260px 130px at 12% -36%, color-mix(in srgb, var(--nxmh-p1) 10%, transparent), transparent 76%),
      radial-gradient(300px 140px at 88% -22%, color-mix(in srgb, var(--nxmh-p5) 13%, transparent), transparent 78%),
      radial-gradient(220px 110px at 50% 125%, color-mix(in srgb, var(--nxmh-p2) 7%, transparent), transparent 74%),
      linear-gradient(135deg,
        color-mix(in srgb, var(--nxmh-dark-bg) 90%, var(--nxmh-p1) 10%) 0%,
        color-mix(in srgb, var(--nxmh-dark-bg) 94%, var(--nxmh-p2) 6%) 52%,
        color-mix(in srgb, var(--nxmh-dark-bg) 88%, #000 12%) 100%);
    --nxmh-line: var(--nxapp-dark-line, color-mix(in srgb, var(--nxmh-p5) 28%, rgba(255,255,255,.14)));
    --nxmh-border: 1px solid var(--nxmh-line);
    --nxmh-shadow: 0 18px 42px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 color-mix(in srgb, var(--nxmh-p5) 10%, transparent);
    --nxmh-icon-color: var(--nxmh-real-p5);
    --nxmh-icon-bg: transparent;
    --nxmh-icon-border: transparent;
    --nxmh-chip-bg: color-mix(in srgb, var(--nxmh-dark-bg) 64%, rgba(255,255,255,.15) 36%);
    --nxmh-chip-border: color-mix(in srgb, var(--nxmh-p5) 26%, rgba(255,255,255,.12));
    --nxmh-cta-bg: linear-gradient(135deg, color-mix(in srgb, var(--nxmh-p5) 82%, #000 18%), color-mix(in srgb, var(--nxmh-dark-bg) 58%, var(--nxmh-p5) 42%));
    --nxmh-cta-text: #ffffff;
    --nxmh-scheme: dark;
  }

  html[data-nxmh-theme="light"],
  html[data-nxadm-theme="light"],
  .nx-mhdr-wrap[data-nxmh-theme="light"]{
    --nxmh-scheme: light;
  }

  /* v3.4.2 — compact safe cart badge; no layout shift and no bright overlay on header. */
  .nx-mhdr .nxgp-cart-icon-wrap,
  .nx-mhdr .nxgp-cart-link{
    position:relative !important;
    overflow:visible !important;
  }
  .nx-mhdr .nxgp-cart-badge{
    position:absolute !important;
    top:-4px !important;
    right:-4px !important;
    left:auto !important;
    bottom:auto !important;
    min-width:17px !important;
    height:17px !important;
    padding:0 4px !important;
    border-radius:999px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:17px !important;
    font-size:.64rem !important;
    font-weight:900 !important;
    z-index:12 !important;
    isolation:auto !important;
    opacity:1 !important;
    transform:none !important;
    white-space:nowrap !important;
    filter:none !important;
    box-sizing:border-box !important;
  }
  .nx-mhdr .nxgp-cart-badge.is-empty,
  .nx-mhdr .nxgp-cart-badge[data-nxmh-empty="1"]{
    opacity:0 !important;
    transform:none !important;
    pointer-events:none !important;
  }
  .nx-mhdr[dir="rtl"] .nxgp-cart-badge,
  .nx-mhdr-wrap[dir="rtl"] .nxgp-cart-badge{
    inset-inline-end:-4px !important;
    inset-inline-start:auto !important;
  }
  @media (max-width: 640px){
    .nx-mhdr .nxgp-cart-icon-wrap,
    .nx-mhdr .nxgp-cart-link{
      width:max(var(--nxmh-icon), 44px) !important;
      height:max(var(--nxmh-icon), 44px) !important;
      min-width:44px !important;
      min-height:44px !important;
      display:inline-flex !important;
      align-items:center !important;
      justify-content:center !important;
    }
    .nx-mhdr .nxgp-cart-badge{
      top:-1px !important;
      right:-2px !important;
      left:auto !important;
      inset-inline-end:-2px !important;
      inset-inline-start:auto !important;
      min-width:15px !important;
      height:15px !important;
      line-height:15px !important;
      font-size:.58rem !important;
      padding:0 3px !important;
    }
  }
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-badge,
  html[data-nxadm-theme="dark"] .nx-mhdr .nxgp-cart-badge,
  body.nxadm-theme-dark .nx-mhdr .nxgp-cart-badge,
  body.nxapp-theme-dark .nx-mhdr .nxgp-cart-badge,
  body.nxapp-dark .nx-mhdr .nxgp-cart-badge,
  body.nx-dark .nx-mhdr .nxgp-cart-badge,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-badge{
    background:var(--nxmh-p3) !important;
    color:color-mix(in srgb, var(--nxmh-dark-bg) 86%, #000 14%) !important;
    border:2px solid color-mix(in srgb, var(--nxmh-real-p5) 78%, #ffffff 22%) !important;
    box-shadow:0 4px 12px rgba(0,0,0,.28), 0 0 0 1px color-mix(in srgb, var(--nxmh-p3) 40%, transparent) !important;
  }

  .nxmh-svg-filters{ color: var(--nxmh-icon-color); }

  body.admin-bar .nx-mhdr-wrap{ top: calc(env(safe-area-inset-top) + 32px); }
  @media (max-width: 782px){
    body.admin-bar .nx-mhdr-wrap{ top: calc(env(safe-area-inset-top) + 46px); }
  }
  
  .nx-mhdr-wrap{
    position: fixed;
    inset: 0 0 auto 0;
    top: env(safe-area-inset-top);
    z-index: 5;
    pointer-events: none;
    transform: translateZ(0); /* Hardware Acceleration */
  }

  /* v3.5.5: when the header is rendered inside the SPA fixed shell, avoid fixed-in-fixed.
     The app header owns the fixed positioning and safe-area padding; the plugin wrapper becomes a normal relative block. */
  .nxapp-header .nx-mhdr-wrap{
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    width:100% !important;
    z-index:inherit !important;
    pointer-events:none !important;
  }
  body.admin-bar .nxapp-header .nx-mhdr-wrap{ top:auto !important; }
  .nxapp-header{
    padding-top:env(safe-area-inset-top,0px);
    box-sizing:border-box;
  }

  .nx-mhdr{
    position: relative;
    overflow: hidden;
    direction: rtl;
    margin: 8px;
    pointer-events: auto;
    display: grid;
    align-items: center;
    height: var(--nxmh-height);
    border-radius: var(--nxmh-radius);
    padding: var(--nxmh-pad-y) var(--nxmh-pad-x);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: var(--nxmh-panel-bg) !important;
    border: var(--nxmh-border);
    box-shadow: var(--nxmh-shadow);
    color: var(--nxmh-text) !important;
    color-scheme: var(--nxmh-scheme);

    grid-template-columns: 1fr;
    touch-action: pan-y;
    will-change: transform, opacity;
  }

  .nx-slots-row{
    width:100%;
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
    gap:10px;
    transition:transform var(--nxmh-anim) var(--nxfx-shine-ease);
    will-change:transform;
  }
  .nx-mhdr.show-ticker .nx-slots-row{ transform: translate3d(0, -8px, 0) scale(.9); }
  .nx-mhdr.nx-no-restore-trans .nx-slots-row,
  .nx-mhdr.nx-no-restore-trans .nx-ticker-row{ transition:none !important; }

  .nx-slot-left,.nx-slot-center,.nx-slot-right{ display:flex; align-items:center; min-width:0; }
  .nx-slot-left{ justify-content:flex-start; line-height:0; position:relative; }
  
  /* محدود کردن اسلات وسط برای جلوگیری از بیرون زدن لوگو تایپ های عریض */
  .nx-slot-center{
    justify-content:center;
    text-align:center;
    min-width: calc(var(--nxmh-logo-req-default) + 10px);
    max-width: 48vw; /* محدودیت عرضی برای لوگوهای نوشتاری (عریض) */
    overflow: visible;
  }
  
  .nx-slot-right{ justify-content:flex-end; gap:2px; line-height:0; }

  /* v3.5.1 route-aware icon matrix: all possible right-side icons stay in the DOM; CSS only toggles visibility. */
  .nx-mhdr .nx-route-icon{ display:none !important; }
  .nx-mhdr[data-route-type="home"] .nx-route-shop,
  .nx-mhdr[data-route-type="home"] .nx-route-profile,
  .nx-mhdr[data-route-type="shop"] .nx-route-back,
  .nx-mhdr[data-route-type="shop"] .nx-route-profile,
  .nx-mhdr[data-route-type="product"] .nx-route-back,
  .nx-mhdr[data-route-type="product"] .nx-route-shop,
  .nx-mhdr[data-route-type="blog"] .nx-route-back,
  .nx-mhdr[data-route-type="blog"] .nx-route-shop,
  .nx-mhdr[data-route-type="blog_post"] .nx-route-back,
  .nx-mhdr[data-route-type="blog_post"] .nx-route-shop,
  .nx-mhdr[data-route-type="profile"] .nx-route-back,
  .nx-mhdr[data-route-type="profile"] .nx-route-shop,
  .nx-mhdr[data-route-type="comment"] .nx-route-back,
  .nx-mhdr[data-route-type="comment"] .nx-route-shop,
  .nx-mhdr[data-route-type="not_found"] .nx-route-back,
  .nx-mhdr[data-route-type="not_found"] .nx-route-shop{
    display:inline-flex !important;
  }
  .nx-mhdr[data-show-header="0"]{ display:none !important; }

  .nx-left-icons{
    display:flex; align-items:center; gap:2px; line-height:0;
    opacity:1; visibility:visible; transform:translate3d(0,0,0) scale(1);
    transition: transform var(--nxmh-anim) var(--nxfx-shine-ease), opacity var(--nxmh-anim) var(--nxfx-shine-ease), visibility 0s linear var(--nxmh-anim);
    will-change: transform, opacity;
  }
  .nx-slot-left.hide-icons .nx-left-icons{
    opacity:0; transform:translate3d(0, -10px, 0) scale(.96); visibility:hidden;
    transition: transform var(--nxmh-anim) var(--nxfx-shine-ease), opacity var(--nxmh-anim) var(--nxfx-shine-ease), visibility 0s linear 100ms;
  }

  .nx-left-price{
    position:absolute;
    left: 0; right: auto;
    top:0; bottom:0;
    display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
    line-height:1.25; font-size:.82rem; font-weight:600; min-width:max-content;

    opacity:0; visibility:hidden; transform:translate3d(0, -10px, 0) scale(.98);
    transition: transform var(--nxmh-anim) var(--nxfx-shine-ease), opacity var(--nxmh-anim) var(--nxfx-shine-ease), visibility 0s linear var(--nxmh-anim);
    color: var(--nxmh-text);
    margin-left: var(--nxmh-left-gap);
    will-change: transform, opacity;
  }
  .nx-slot-left.show-price .nx-left-price{
    opacity:1; visibility:visible; transform:translate3d(0, 0, 0) scale(1);
    transition: transform var(--nxmh-anim) var(--nxfx-shine-ease), opacity var(--nxmh-anim) var(--nxfx-shine-ease), visibility 0s;
  }

  .nx-mhdr[dir="rtl"] .nx-left-price{
    left: auto !important; right: auto !important;
    inset-inline-end: 0;
    margin-inline-end: var(--nxmh-left-gap);
  }
  @supports not (inset-inline-end: 0){
    .nx-mhdr[dir="rtl"] .nx-left-price{
      left: 0 !important; right: auto !important; margin-left: var(--nxmh-left-gap);
    }
  }

  .nx-left-price .nxmh-price-label{ font-size:.72rem; font-weight:500; opacity:.8; line-height:1.2; white-space:nowrap; }
  .nx-left-price .nxmh-price-val{
    display:inline-flex; align-items:center; gap:4px; font-size:.84rem; font-weight:800; line-height:1.2; white-space:nowrap;
  }
  .nx-left-price .nxmh-price-num{ display:inline-block; line-height:1.2; white-space:nowrap; }
  .nx-left-price .nxmh-price-unit{ display:inline-flex; align-items:center; gap:2px; line-height:1; white-space:nowrap; }
  .nx-left-price .nxmh-toman-img-wrap{display:inline-flex;align-items:center;justify-content:center;line-height:1;min-width:1.08rem;min-height:1.08rem;}
  .nx-left-price .nxmh-toman-icon{
    display:block; width:auto; height:1.08rem; max-height:1.08rem; object-fit:contain;
    vertical-align:middle; filter:url(#nxmh-icon-tint) !important; flex:0 0 auto;
  }
  .nx-left-price .nxmh-toman-text.nxmh-toman-fallback{display:none!important;}
  .nx-left-price .nxmh-toman-icon.is-large-model{
    height:1.24rem; max-height:1.24rem; transform:scale(1.06); transform-origin:center center;
  }

  html[data-nxmh-theme="dark"] .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxadm-theme="dark"] .nx-left-price .nxmh-toman-img-wrap,
  body.nxadm-theme-dark .nx-left-price .nxmh-toman-img-wrap,
  body.nxapp-theme-dark .nx-left-price .nxmh-toman-img-wrap,
  body.nxapp-dark .nx-left-price .nxmh-toman-img-wrap,
  body.nx-dark .nx-left-price .nxmh-toman-img-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-left-price .nxmh-toman-img-wrap{
    color: var(--nxmh-real-p5) !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-nxmh-theme="dark"] .nx-left-price .nxmh-toman-icon,
  html[data-nxadm-theme="dark"] .nx-left-price .nxmh-toman-icon,
  body.nxadm-theme-dark .nx-left-price .nxmh-toman-icon,
  body.nxapp-theme-dark .nx-left-price .nxmh-toman-icon,
  body.nxapp-dark .nx-left-price .nxmh-toman-icon,
  body.nx-dark .nx-left-price .nxmh-toman-icon,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-left-price .nxmh-toman-icon{
    color: var(--nxmh-real-p5) !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: url(#nxmh-icon-tint) !important;
  }

  html[data-nxmh-theme="dark"] .nx-left-price .nxmh-toman-text,
  html[data-nxadm-theme="dark"] .nx-left-price .nxmh-toman-text,
  body.nxadm-theme-dark .nx-left-price .nxmh-toman-text,
  body.nxapp-theme-dark .nx-left-price .nxmh-toman-text,
  body.nxapp-dark .nx-left-price .nxmh-toman-text,
  body.nx-dark .nx-left-price .nxmh-toman-text,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-left-price .nxmh-toman-text{
    color: var(--nxmh-real-p5) !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .nx-left-price .nxmh-toman-text{display:inline-block;font-size:.66rem;font-weight:900;line-height:1;opacity:.86;white-space:nowrap;margin-inline-start:1px}
  .nx-left-price .nxmh-per-gram{ display:inline-block; font-size:.72rem; font-weight:800; line-height:1; white-space:nowrap; }

  .nx-ticker-row{
    position:absolute; left:0; right:0; bottom:4px; direction:rtl;
    display:flex; align-items:center; justify-content:center; line-height:1.2; pointer-events:none;
    opacity:0; visibility:hidden; transform:translate3d(0, 12px, 0) scale(.95);
    transition: all var(--nxmh-anim) var(--nxfx-shine-ease);
    will-change: transform, opacity;
  }
  .nx-mhdr.show-ticker .nx-ticker-row{ opacity:1; visibility:visible; transform:translate3d(0, 0, 0) scale(1); }
  .nx-ticker-inner{ width:100%; overflow:hidden; position:relative; font-size:.7rem; font-weight:600; color:var(--nxmh-muted); white-space:nowrap; text-align:right; }
  .nx-ticker-track{ display:inline-block; white-space:nowrap; will-change:transform; animation:none; transform:translate3d(var(--nxmh-ticker-from, 100%),0,0); }
  .nx-mhdr.show-ticker .nx-ticker-track{ animation:nx-ticker-move var(--nxmh-ticker-duration, 18s) linear forwards !important; }
  .nx-t-item{ display:inline-block; margin-inline-start:2rem; font-weight:600; white-space:nowrap; }
  .nx-t-item:first-child{ margin-inline-start:0; }
  @keyframes nx-ticker-move{ 0%{transform: translate3d(var(--nxmh-ticker-from, 100%), 0, 0);} 100%{transform: translate3d(var(--nxmh-ticker-to, -100%), 0, 0);} }

  .nx-sc,.nx-icon-btn{
    display:inline-flex; align-items:center; justify-content:center;
    width:max(var(--nxmh-icon), 40px);
    height:max(var(--nxmh-icon), 40px);
    min-width:40px; min-height:40px;
    line-height:0; position:relative; isolation:isolate;
    border-radius:14px;
    -webkit-tap-highlight-color:transparent;
    background: var(--nxmh-icon-bg) !important;
    border: 1px solid var(--nxmh-icon-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.075);
    color: var(--nxmh-icon-color);
    box-sizing:border-box;
  }
  .nx-sc img,.nx-sc svg,.nx-icon-btn img,.nx-icon-btn svg{
    width: var(--nxmh-icon); height: var(--nxmh-icon);
    max-width: var(--nxmh-icon); max-height: var(--nxmh-icon);
    display:block; object-fit:contain; vertical-align:middle; filter:url(#nxmh-icon-tint) !important;
  }

  html[data-nxmh-theme="dark"] .nxmh-svg-filters,
  html[data-nxadm-theme="dark"] .nxmh-svg-filters,
  body.nxadm-theme-dark .nxmh-svg-filters,
  body.nxapp-theme-dark .nxmh-svg-filters,
  body.nxapp-dark .nxmh-svg-filters,
  body.nx-dark .nxmh-svg-filters{
    color: var(--nxmh-real-p5) !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-back,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-back,
  body.nxadm-theme-dark .nx-mhdr .nx-sc,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger,
  body.nxadm-theme-dark .nx-mhdr .nx-back,
  body.nxapp-theme-dark .nx-mhdr .nx-sc,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger,
  body.nxapp-theme-dark .nx-mhdr .nx-back,
  body.nxapp-dark .nx-mhdr .nx-sc,
  body.nxapp-dark .nx-mhdr .nx-icon-btn,
  body.nxapp-dark .nx-mhdr .nx-search-trigger,
  body.nxapp-dark .nx-mhdr .nx-back,
  body.nx-dark .nx-mhdr .nx-sc,
  body.nx-dark .nx-mhdr .nx-icon-btn,
  body.nx-dark .nx-mhdr .nx-search-trigger,
  body.nx-dark .nx-mhdr .nx-back,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-back{
    --nxmh-icon-color: var(--nxmh-real-p5);
    color: var(--nxmh-real-p5) !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc svg,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn svg,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger svg,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc svg,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn svg,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger svg,
  body.nxadm-theme-dark .nx-mhdr .nx-sc img,
  body.nxadm-theme-dark .nx-mhdr .nx-sc svg,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn img,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn svg,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger img,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger svg,
  body.nxapp-theme-dark .nx-mhdr .nx-sc img,
  body.nxapp-theme-dark .nx-mhdr .nx-sc svg,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn img,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn svg,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger img,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger svg,
  body.nxapp-dark .nx-mhdr .nx-sc img,
  body.nxapp-dark .nx-mhdr .nx-sc svg,
  body.nxapp-dark .nx-mhdr .nx-icon-btn img,
  body.nxapp-dark .nx-mhdr .nx-icon-btn svg,
  body.nxapp-dark .nx-mhdr .nx-search-trigger img,
  body.nxapp-dark .nx-mhdr .nx-search-trigger svg,
  body.nx-dark .nx-mhdr .nx-sc img,
  body.nx-dark .nx-mhdr .nx-sc svg,
  body.nx-dark .nx-mhdr .nx-icon-btn img,
  body.nx-dark .nx-mhdr .nx-icon-btn svg,
  body.nx-dark .nx-mhdr .nx-search-trigger img,
  body.nx-dark .nx-mhdr .nx-search-trigger svg,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc svg,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn svg,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger svg{
    color: var(--nxmh-real-p5) !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: url(#nxmh-icon-tint) !important;
  }

  .nx-mhdr .nx-search-trigger{
    all: unset; display:inline-flex; align-items:center; justify-content:center;
    height: var(--nxmh-icon); min-width: var(--nxmh-icon); cursor:pointer; line-height:0;
    border-radius:14px; -webkit-tap-highlight-color:transparent; border:1px solid var(--nxmh-icon-border) !important; outline:none !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.075) !important; background:var(--nxmh-icon-bg) !important; color:var(--nxmh-icon-color); box-sizing:border-box;
  }
  .nx-mhdr .nx-search-trigger img{
    width: var(--nxmh-icon); height: var(--nxmh-icon); max-width: var(--nxmh-icon); max-height: var(--nxmh-icon);
    display:block; object-fit:contain; border:0 !important; outline:0 !important; box-shadow:none !important;
    background:transparent !important; transition:transform .18s ease; pointer-events:none; user-select:none; -webkit-user-drag:none; filter:url(#nxmh-icon-tint) !important;
  }
  .nx-mhdr .nx-search-trigger:active img{ transform:scale(.92); }

  .nx-center-stack{
    position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap: 4px; min-height: var(--nxmh-logo-h); will-change: transform; overflow: visible;
  }

  .nx-logo{
    position:relative; display:inline-grid; place-items:center; line-height:0;
    -webkit-tap-highlight-color:transparent; text-decoration:none; background: transparent !important;
    opacity:1; transform: translate3d(0, 0, 0) scale(1); border-radius:12px; overflow:hidden;
    transition: all var(--nxmh-anim) var(--nxfx-shine-ease); z-index: 3;
    will-change: transform, height;
  }
  
  /* ✅ کلید اصلی حل مشکل لوگوتایپ و تصاویر عریض */
  .nx-logo img{
    height: var(--nxmh-logo-h);
    max-height: var(--nxmh-logo-h);
    width: auto;
    max-width: 48vw; /* محدودیت عرض برای جلوگیری از فشردن آیکون‌های کناری */
    object-fit: contain; /* جلوگیری از کشیدگی و دفرمه شدن عکس‌ها */
    display:block;
    user-select:none; -webkit-user-drag:none; image-rendering:-webkit-optimize-contrast;
    transition: height var(--nxmh-anim) var(--nxfx-shine-ease), max-height var(--nxmh-anim) var(--nxfx-shine-ease), transform var(--nxmh-anim) var(--nxfx-shine-ease);
  }
  
  .nx-slot-center .nx-logo span[style^="font-weight"]{ font-size: clamp(20px, calc(var(--nxmh-logo-h) * 0.62), 32px); line-height:1; color:var(--nxmh-icon-color); text-shadow:0 1px 10px color-mix(in srgb, var(--nxmh-p5) 18%, transparent); }

  /* انیمیشن لغزان دو لوگو */
  .nx-logo.has-multi-logo { position: relative; }
  .nx-logo.has-multi-logo .logo-primary {
    position: relative; display: block;
    animation: nx-slide-logo-1 8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    will-change: transform, opacity;
  }
  
  /* ✅ محدودیت ابعادی صحیح به لوگوی دوم (در صورت عریض بودن) */
  .nx-logo.has-multi-logo .logo-secondary {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: nx-slide-logo-2 8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    opacity: 0;
    will-change: transform, opacity;
  }

  @keyframes nx-slide-logo-1 {
    0%, 42% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); pointer-events: auto; }
    48%, 50% { opacity: 0; transform: translate3d(0, -15px, 0) scale(0.95); pointer-events: none; }
    92% { opacity: 0; transform: translate3d(0, 15px, 0) scale(0.95); pointer-events: none; }
    98%, 100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); pointer-events: auto; }
  }
  @keyframes nx-slide-logo-2 {
    0%, 42% { opacity: 0; transform: translate3d(0, 15px, 0) scale(0.95); pointer-events: none; }
    48%, 92% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); pointer-events: auto; }
    98%, 100% { opacity: 0; transform: translate3d(0, -15px, 0) scale(0.95); pointer-events: none; }
  }

  /* شاین دو لایه */
  .nx-logo::before{
    content:""; position:absolute; top:-25%; bottom:-25%; left:-40%; right:-40%;
    background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.25) 50%, rgba(255,255,255,0) 65%);
    transform: translate3d(-120%,0,0) rotate(8deg);
    animation: nx-logo-shine-slow var(--nxfx-shine-ms-slow) var(--nxfx-shine-ease) infinite;
    pointer-events:none; will-change: transform, opacity; z-index: 10;
  }
  .nx-logo::after{
    content:""; position:absolute; top:-18%; bottom:-18%; left:-35%; right:-35%;
    background: linear-gradient(115deg, rgba(255,255,255,0) 44%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 56%);
    transform: translate3d(-130%,0,0) rotate(8deg);
    animation: nx-logo-shine-fast var(--nxfx-shine-ms-fast) var(--nxfx-shine-ease) infinite;
    pointer-events:none; will-change: transform, opacity; z-index: 10;
  }
  @keyframes nx-logo-shine-fast{
    0%{transform: translate3d(-130%,0,0) rotate(8deg); opacity:0;}
    10%{opacity:.95;}
    55%{opacity:.9;}
    100%{transform: translate3d(130%,0,0) rotate(8deg); opacity:0;}
  }
  @keyframes nx-logo-shine-slow{
    0%{transform: translate3d(-120%,0,0) rotate(8deg); opacity:0;}
    18%{opacity:.55;}
    70%{opacity:.4;}
    100%{transform: translate3d(120%,0,0) rotate(8deg); opacity:0;}
  }

  .nx-license-wrap{
    position:absolute; top: 50%; left: 50%; transform: translate3d(-50%, calc(-50% + 12px), 0) scale(.92);
    opacity:0; pointer-events:none; will-change: transform, opacity;
    transition: transform var(--nxmh-anim) var(--nxfx-shine-ease), opacity var(--nxmh-anim) var(--nxfx-shine-ease);
    z-index: 2; display:flex; flex-direction:column; align-items:flex-start; gap: 2px; filter: blur(0);
  }
  .nx-license-caption{
    font-size: .48rem; font-weight: 900; line-height: 1; color: var(--nxmh-muted); opacity:0;
    transform: translate3d(0, 4px, 0) scale(.98); transition: transform var(--nxmh-anim) var(--nxfx-shine-ease), opacity var(--nxmh-anim) var(--nxfx-shine-ease);
    white-space:nowrap;
  }
  .nx-license-code{
    display:inline-flex; align-items:center; justify-content:center; line-height:1; font-size:.64rem;
    font-weight:900; letter-spacing:.1px; padding: 2px 8px; border-radius: 999px; border:1px solid var(--nxmh-chip-border);
    background: var(--nxmh-chip-bg); color: var(--nxmh-text); white-space:nowrap; overflow: visible; text-overflow: clip; max-width: 220px;
    direction: ltr; unicode-bidi: plaintext;
    transform: translate3d(0, 0, 0) scale(.98); transition: transform var(--nxmh-anim) var(--nxfx-shine-ease);
  }

  .nx-mhdr.license-active{ --nxmh-logo-req: var(--nxmh-logo-req-tiny); }
  .nx-mhdr.license-active .nx-license-wrap{
    opacity:1; transform: translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 10px), -50%, 0) scale(1);
  }
  .nx-mhdr.license-active .nx-license-code{ transform: translate3d(0, 0, 0) scale(1); }
  .nx-mhdr.license-active .nx-license-caption{
    opacity:1; transform: translate3d(0, 0, 0) scale(1); transition-delay: 160ms;
  }

  .nx-admin-cta{
    position:absolute; left:50%; top:50%; transform: translate3d(-50%, calc(-50% + 8px), 0) scale(.98);
    display:inline-flex; align-items:center; justify-content:center; padding:6px 10px; border-radius:14px;
    font-size:.78rem; font-weight:700; line-height:1; text-decoration:none; white-space:nowrap;
    background: var(--nxmh-cta-bg) !important; color:var(--nxmh-cta-text) !important; border:1px solid color-mix(in srgb, var(--nxmh-p5) 34%, rgba(255,255,255,.24));
    opacity:0; pointer-events:none; transition: all var(--nxmh-anim) var(--nxfx-shine-ease); z-index: 5;
  }
  .nx-mhdr.admin-cta-active .nx-logo{ opacity:0; transform: translate3d(0, -8px, 0) scale(.98); pointer-events:none; }
  .nx-mhdr.admin-cta-active .nx-admin-cta{ opacity:1; transform: translate3d(-50%, -50%, 0) scale(1); pointer-events:auto; }
  .nx-mhdr.admin-cta-active .nx-license-wrap{ display:none !important; opacity:0 !important; }

  .nx-prof,.nx-shop,.nx-back,.nx-icon-btn{ cursor:pointer; text-decoration:none; outline:none; }
  .nx-back{ all:unset; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; line-height:0; -webkit-tap-highlight-color:transparent; background:var(--nxmh-icon-bg) !important; border:1px solid var(--nxmh-icon-border); border-radius:14px; box-sizing:border-box; color:var(--nxmh-icon-color); }
  .nx-back img{ width:var(--nxmh-icon); height:var(--nxmh-icon); display:block; user-select:none; -webkit-user-drag:none; transition:transform .18s ease; filter:url(#nxmh-icon-tint) !important; }
  .nx-icon-fx:active img,.nx-back:active img,.nx-prof:active img,.nx-shop:active img{ transform:scale(.92); }



  /* v3.4.4 — Day mode: glass header, black regular price text, only Toman icon and ticker use palette color 5. */
  html:not([data-nxmh-theme="dark"]):not([data-nxadm-theme="dark"]) .nx-mhdr,
  html[data-nxmh-theme="light"] .nx-mhdr,
  html[data-nxadm-theme="light"] .nx-mhdr,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr{
    --nxmh-icon-color:#111111;
    --nxmh-icon-bg:transparent;
    --nxmh-icon-border:transparent;
  }
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-label,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-val,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-num,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-label,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-val,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-num,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-label,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-val,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-num,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram{
    color:#111111 !important;
  }
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-text,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-text,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-text{
    color:var(--nxmh-real-p5) !important;
    fill:currentColor !important;
    stroke:currentColor !important;
  }
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-icon,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-icon,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-icon{
    color:var(--nxmh-real-p5) !important;
    filter:url(#nxmh-icon-tint) !important;
  }
  html[data-nxmh-theme="light"] .nx-mhdr .nx-ticker-inner,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-t-item,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-ticker-inner,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-t-item,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-ticker-inner,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-t-item{
    color:var(--nxmh-real-p5) !important;
  }
  html[data-nxmh-theme="light"] .nx-mhdr .nxgp-cart-icon-wrap,
  html[data-nxmh-theme="light"] .nx-mhdr .nxgp-cart-link,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-cart,
  html[data-nxadm-theme="light"] .nx-mhdr .nxgp-cart-icon-wrap,
  html[data-nxadm-theme="light"] .nx-mhdr .nxgp-cart-link,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-cart,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nxgp-cart-icon-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nxgp-cart-link,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-cart{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
  }

  /* Dark-mode hard overrides: keep header structure intact, only remove icon/price chrome and tint everything with app palette color 5. */
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-label,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-val,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-num,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-label,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-val,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-num,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-price-label,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-price-val,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-price-num,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-price-unit,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-price-label,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-price-val,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-price-num,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-price-unit,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-price-label,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-price-val,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-price-num,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-price-unit,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-price-label,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-price-val,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-price-num,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-price-unit,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-label,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-val,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-num,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap{
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap *{
    color: var(--nxmh-real-p5) !important;
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-back,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-prof,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-shop,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-cart,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search,
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-back,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-prof,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-shop,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-cart,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search,
  html[data-nxadm-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap,
  body.nxadm-theme-dark .nx-mhdr .nx-sc,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger,
  body.nxadm-theme-dark .nx-mhdr .nx-back,
  body.nxadm-theme-dark .nx-mhdr .nx-prof,
  body.nxadm-theme-dark .nx-mhdr .nx-shop,
  body.nxadm-theme-dark .nx-mhdr .nx-cart,
  body.nxadm-theme-dark .nx-mhdr .nx-search,
  body.nxadm-theme-dark .nx-mhdr .nxgp-cart-icon-wrap,
  body.nxapp-theme-dark .nx-mhdr .nx-sc,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger,
  body.nxapp-theme-dark .nx-mhdr .nx-back,
  body.nxapp-theme-dark .nx-mhdr .nx-prof,
  body.nxapp-theme-dark .nx-mhdr .nx-shop,
  body.nxapp-theme-dark .nx-mhdr .nx-cart,
  body.nxapp-theme-dark .nx-mhdr .nx-search,
  body.nxapp-theme-dark .nx-mhdr .nxgp-cart-icon-wrap,
  body.nxapp-dark .nx-mhdr .nx-sc,
  body.nxapp-dark .nx-mhdr .nx-icon-btn,
  body.nxapp-dark .nx-mhdr .nx-search-trigger,
  body.nxapp-dark .nx-mhdr .nx-back,
  body.nxapp-dark .nx-mhdr .nx-prof,
  body.nxapp-dark .nx-mhdr .nx-shop,
  body.nxapp-dark .nx-mhdr .nx-cart,
  body.nxapp-dark .nx-mhdr .nx-search,
  body.nxapp-dark .nx-mhdr .nxgp-cart-icon-wrap,
  body.nx-dark .nx-mhdr .nx-sc,
  body.nx-dark .nx-mhdr .nx-icon-btn,
  body.nx-dark .nx-mhdr .nx-search-trigger,
  body.nx-dark .nx-mhdr .nx-back,
  body.nx-dark .nx-mhdr .nx-prof,
  body.nx-dark .nx-mhdr .nx-shop,
  body.nx-dark .nx-mhdr .nx-cart,
  body.nx-dark .nx-mhdr .nx-search,
  body.nx-dark .nx-mhdr .nxgp-cart-icon-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-back,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-prof,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-shop,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-cart,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap{
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: var(--nxmh-real-p5) !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc svg,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc i,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn svg,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn i,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger svg,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger i,
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap svg,
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap i,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc svg,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc i,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn svg,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn i,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger svg,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger i,
  html[data-nxadm-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap svg,
  html[data-nxadm-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap i,
  body.nxadm-theme-dark .nx-mhdr .nx-sc img,
  body.nxadm-theme-dark .nx-mhdr .nx-sc svg,
  body.nxadm-theme-dark .nx-mhdr .nx-sc i,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn img,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn svg,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn i,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger img,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger svg,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger i,
  body.nxadm-theme-dark .nx-mhdr .nxgp-cart-icon-wrap img,
  body.nxadm-theme-dark .nx-mhdr .nxgp-cart-icon-wrap svg,
  body.nxadm-theme-dark .nx-mhdr .nxgp-cart-icon-wrap i,
  body.nxapp-theme-dark .nx-mhdr .nx-sc img,
  body.nxapp-theme-dark .nx-mhdr .nx-sc svg,
  body.nxapp-theme-dark .nx-mhdr .nx-sc i,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn img,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn svg,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn i,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger img,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger svg,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger i,
  body.nxapp-theme-dark .nx-mhdr .nxgp-cart-icon-wrap img,
  body.nxapp-theme-dark .nx-mhdr .nxgp-cart-icon-wrap svg,
  body.nxapp-theme-dark .nx-mhdr .nxgp-cart-icon-wrap i,
  body.nxapp-dark .nx-mhdr .nx-sc img,
  body.nxapp-dark .nx-mhdr .nx-sc svg,
  body.nxapp-dark .nx-mhdr .nx-sc i,
  body.nxapp-dark .nx-mhdr .nx-icon-btn img,
  body.nxapp-dark .nx-mhdr .nx-icon-btn svg,
  body.nxapp-dark .nx-mhdr .nx-icon-btn i,
  body.nxapp-dark .nx-mhdr .nx-search-trigger img,
  body.nxapp-dark .nx-mhdr .nx-search-trigger svg,
  body.nxapp-dark .nx-mhdr .nx-search-trigger i,
  body.nxapp-dark .nx-mhdr .nxgp-cart-icon-wrap img,
  body.nxapp-dark .nx-mhdr .nxgp-cart-icon-wrap svg,
  body.nxapp-dark .nx-mhdr .nxgp-cart-icon-wrap i,
  body.nx-dark .nx-mhdr .nx-sc img,
  body.nx-dark .nx-mhdr .nx-sc svg,
  body.nx-dark .nx-mhdr .nx-sc i,
  body.nx-dark .nx-mhdr .nx-icon-btn img,
  body.nx-dark .nx-mhdr .nx-icon-btn svg,
  body.nx-dark .nx-mhdr .nx-icon-btn i,
  body.nx-dark .nx-mhdr .nx-search-trigger img,
  body.nx-dark .nx-mhdr .nx-search-trigger svg,
  body.nx-dark .nx-mhdr .nx-search-trigger i,
  body.nx-dark .nx-mhdr .nxgp-cart-icon-wrap img,
  body.nx-dark .nx-mhdr .nxgp-cart-icon-wrap svg,
  body.nx-dark .nx-mhdr .nxgp-cart-icon-wrap i,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc svg,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc i,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn svg,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn i,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger svg,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger i,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap svg,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap i{
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: var(--nxmh-real-p5) !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    filter: url(#nxmh-icon-tint) !important;
  }


  /* Dark-mode real P5 icon masking: fixes white PNG assets by drawing a palette-colored mask above the original image. */
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc[style*="--nxmh-icon-mask"],
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"],
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap[style*="--nxmh-icon-mask"],
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"],
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"],
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"],
  body.nxapp-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
  body.nxapp-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"],
  body.nx-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
  body.nx-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"],
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]{
    position:relative !important;
    color:var(--nxmh-real-p5) !important;
  }
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc[style*="--nxmh-icon-mask"]::before,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before,
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap[style*="--nxmh-icon-mask"]::before,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before,
  body.nxapp-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
  body.nxapp-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before,
  body.nx-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
  body.nx-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before{
    content:"";
    position:absolute;
    inset:0;
    width:var(--nxmh-icon);
    height:var(--nxmh-icon);
    margin:auto;
    display:block;
    pointer-events:none;
    z-index:2;
    background-color:var(--nxmh-real-p5) !important;
    -webkit-mask-image:var(--nxmh-icon-mask);
    mask-image:var(--nxmh-icon-mask);
    -webkit-mask-size:contain;
    mask-size:contain;
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-position:center;
    mask-position:center;
  }
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc[style*="--nxmh-icon-mask"] img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img,
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap[style*="--nxmh-icon-mask"] img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img,
  body.nxapp-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
  body.nxapp-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img,
  body.nx-dark .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
  body.nx-dark .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img{
    opacity:0 !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]{
    position:relative !important;
    color:var(--nxmh-real-p5) !important;
  }
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before{
    content:"";
    width:1.08rem;
    height:1.08rem;
    display:block;
    background-color:var(--nxmh-real-p5) !important;
    -webkit-mask-image:var(--nxmh-toman-mask);
    mask-image:var(--nxmh-toman-mask);
    -webkit-mask-size:contain;
    mask-size:contain;
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-position:center;
    mask-position:center;
  }
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  body.nxadm-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  body.nx-dark .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img{
    display:none !important;
  }


  /* v3.4 no-flash dark icons: no fallback color, no delayed JS, only the app palette P5 variable. */
  html[data-nxmh-theme="dark"] .nx-mhdr,
  html[data-nxadm-theme="dark"] .nx-mhdr,
  body.nxadm-theme-dark .nx-mhdr,
  body.nxapp-theme-dark .nx-mhdr,
  body.nxapp-dark .nx-mhdr,
  body.nx-dark .nx-mhdr,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr{
    --nxmh-icon-color: var(--nxmh-real-p5) !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr .nx-sc,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn,
  html[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger,
  html[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-sc,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-icon-btn,
  html[data-nxadm-theme="dark"] .nx-mhdr .nx-search-trigger,
  html[data-nxadm-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap,
  body.nxadm-theme-dark .nx-mhdr .nx-sc,
  body.nxadm-theme-dark .nx-mhdr .nx-icon-btn,
  body.nxadm-theme-dark .nx-mhdr .nx-search-trigger,
  body.nxadm-theme-dark .nx-mhdr .nxgp-cart-icon-wrap,
  body.nxapp-theme-dark .nx-mhdr .nx-sc,
  body.nxapp-theme-dark .nx-mhdr .nx-icon-btn,
  body.nxapp-theme-dark .nx-mhdr .nx-search-trigger,
  body.nxapp-theme-dark .nx-mhdr .nxgp-cart-icon-wrap,
  body.nxapp-dark .nx-mhdr .nx-sc,
  body.nxapp-dark .nx-mhdr .nx-icon-btn,
  body.nxapp-dark .nx-mhdr .nx-search-trigger,
  body.nxapp-dark .nx-mhdr .nxgp-cart-icon-wrap,
  body.nx-dark .nx-mhdr .nx-sc,
  body.nx-dark .nx-mhdr .nx-icon-btn,
  body.nx-dark .nx-mhdr .nx-search-trigger,
  body.nx-dark .nx-mhdr .nxgp-cart-icon-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-sc,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-icon-btn,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-search-trigger,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nxgp-cart-icon-wrap{
    color: var(--nxmh-real-p5) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr [style*="--nxmh-icon-mask"]::before,
  html[data-nxadm-theme="dark"] .nx-mhdr [style*="--nxmh-icon-mask"]::before,
  body.nxadm-theme-dark .nx-mhdr [style*="--nxmh-icon-mask"]::before,
  body.nxapp-theme-dark .nx-mhdr [style*="--nxmh-icon-mask"]::before,
  body.nxapp-dark .nx-mhdr [style*="--nxmh-icon-mask"]::before,
  body.nx-dark .nx-mhdr [style*="--nxmh-icon-mask"]::before,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr [style*="--nxmh-icon-mask"]::before{
    background-color: var(--nxmh-real-p5) !important;
  }

  html[data-nxmh-theme="dark"] .nx-mhdr [style*="--nxmh-icon-mask"] img,
  html[data-nxadm-theme="dark"] .nx-mhdr [style*="--nxmh-icon-mask"] img,
  body.nxadm-theme-dark .nx-mhdr [style*="--nxmh-icon-mask"] img,
  body.nxapp-theme-dark .nx-mhdr [style*="--nxmh-icon-mask"] img,
  body.nxapp-dark .nx-mhdr [style*="--nxmh-icon-mask"] img,
  body.nx-dark .nx-mhdr [style*="--nxmh-icon-mask"] img,
  .nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr [style*="--nxmh-icon-mask"] img{
    opacity: 0 !important;
  }

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

  @media (prefers-reduced-motion: reduce){
    .nx-logo::before,.nx-logo::after{ animation-duration:1ms !important; animation-iteration-count:1 !important; }
    .nx-left-icons,.nx-left-price,.nx-slots-row,.nx-ticker-row,.nx-center-stack > *{ transition:none !important; }
    .nx-license-wrap,.nx-license-caption,.nx-license-code{ transition:none !important; }
    .nx-ticker-track{ animation-duration:var(--nxmh-ticker-duration,18s) !important; }
    .logo-primary, .logo-secondary { animation: none !important; opacity: 1 !important; }
    .logo-secondary { display: none !important; }
  }


  /* v3.4.4 — day mode ticker movement + precise day colors for price block. */
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-label,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-val,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-num,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-label,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-val,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-num,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-label,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-val,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-num,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-price-unit,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram{
    color:#111111 !important;
  }

  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-text,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-text,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-text{
    color:var(--nxmh-real-p5) !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }

  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"],
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]{
    position:relative !important;
    color:var(--nxmh-real-p5) !important;
  }
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before{
    content:"";
    width:1.08rem;
    height:1.08rem;
    display:block;
    background-color:var(--nxmh-real-p5) !important;
    -webkit-mask-image:var(--nxmh-toman-mask);
    mask-image:var(--nxmh-toman-mask);
    -webkit-mask-size:contain;
    mask-size:contain;
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-position:center;
    mask-position:center;
  }
  html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img{
    display:none !important;
  }

  html[data-nxmh-theme="light"] .nx-mhdr .nx-ticker-inner,
  html[data-nxmh-theme="light"] .nx-mhdr .nx-t-item,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-ticker-inner,
  html[data-nxadm-theme="light"] .nx-mhdr .nx-t-item,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-ticker-inner,
  .nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-t-item{
    color:var(--nxmh-real-p5) !important;
  }

  .nx-mhdr .nx-ticker-track{
    animation:none !important;
    transform:translate3d(var(--nxmh-ticker-from, 112%),0,0);
  }
  .nx-mhdr.show-ticker .nx-ticker-track{
    animation:nx-ticker-move var(--nxmh-ticker-duration, 18s) linear 1 forwards !important;
  }


/* v3.5.5 — SPA cart badge store: only the badge is hidden when empty; the cart icon/link never disappears. */
.nx-mhdr .nxmh-cart-badge,
.nx-mhdr .nxgp-cart-badge,
.nx-mhdr .nx-cart-badge{
  transition:opacity .16s ease, transform .16s ease !important;
  will-change:opacity, transform;
}
.nx-mhdr .nxmh-cart-badge.is-empty,
.nx-mhdr .nxgp-cart-badge.is-empty,
.nx-mhdr .nx-cart-badge.is-empty,
.nx-mhdr .nxmh-cart-badge[data-nxmh-empty="1"],
.nx-mhdr .nxgp-cart-badge[data-nxmh-empty="1"],
.nx-mhdr .nx-cart-badge[data-nxmh-empty="1"]{
  opacity:0 !important;
  transform:scale(.74) !important;
  pointer-events:none !important;
}
html[data-nxapp-theme="dark"] .nx-mhdr-wrap,
html[data-nxapp-theme="dark"] .nx-mhdr{
  color-scheme:dark;
}
html[data-nxapp-theme="light"] .nx-mhdr-wrap,
html[data-nxapp-theme="light"] .nx-mhdr{
  color-scheme:light;
}


/* v3.5.5 — native cart icon lives in header plugin, stable size, Persian badge, and route-aware right icon order. */
.nx-mhdr .nx-slot-right{ direction:rtl; }
.nx-mhdr .nx-route-shop{ order:1; }
.nx-mhdr .nx-route-profile{ order:1; }
.nx-mhdr .nx-route-back{ order:2; }
.nx-mhdr[data-route-type="home"] .nx-route-profile{ order:2; }

.nx-mhdr .nx-left-icons .nx-cart{
  position:relative !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  max-width:40px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  line-height:0 !important;
  flex:0 0 40px !important;
}
.nx-mhdr .nxmh-cart-link,
.nx-mhdr .nxgp-cart-link{
  position:relative !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  max-width:40px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  line-height:0 !important;
  text-decoration:none !important;
  color:var(--nxmh-icon-color) !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.nx-mhdr .nxmh-cart-img{
  width:var(--nxmh-icon) !important;
  height:var(--nxmh-icon) !important;
  max-width:28px !important;
  max-height:28px !important;
  object-fit:contain !important;
  display:block !important;
  flex:0 0 auto !important;
}
.nx-mhdr .nxmh-cart-badge,
.nx-mhdr .nxgp-cart-badge#nxmh-cart-badge{
  position:absolute !important;
  top:2px !important;
  inset-inline-end:2px !important;
  inset-inline-start:auto !important;
  right:2px !important;
  left:auto !important;
  bottom:auto !important;
  min-width:17px !important;
  height:17px !important;
  padding:0 4px !important;
  border-radius:999px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:17px !important;
  font-size:10px !important;
  font-weight:900 !important;
  font-family:Vazir, Tahoma, Arial, sans-serif !important;
  background:var(--nxmh-real-p5, var(--nxmh-p5, #d4a373)) !important;
  color:#111 !important;
  border:2px solid color-mix(in srgb, var(--nxmh-p3, #fefae0) 72%, #fff 28%) !important;
  box-shadow:0 4px 10px rgba(0,0,0,.14) !important;
  z-index:20 !important;
  box-sizing:border-box !important;
  white-space:nowrap !important;
  opacity:1 !important;
  transform:scale(1) !important;
}
.nx-mhdr .nxmh-cart-badge[data-nxmh-empty="1"],
.nx-mhdr .nxgp-cart-badge#nxmh-cart-badge[data-nxmh-empty="1"]{
  opacity:0 !important;
  transform:scale(.74) !important;
  pointer-events:none !important;
}
html[data-nxmh-theme="dark"] .nx-mhdr .nxmh-cart-badge,
html[data-nxapp-theme="dark"] .nx-mhdr .nxmh-cart-badge,
body.nxapp-theme-dark .nx-mhdr .nxmh-cart-badge,
body.nxapp-dark .nx-mhdr .nxmh-cart-badge{
  color:#fff !important;
  border-color:color-mix(in srgb, var(--nxmh-dark-bg, #101624) 76%, #fff 24%) !important;
}
/* Keep the native cart icon visible in light mode and palette-masked in dark mode. */
html[data-nxmh-theme="dark"] .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"]::before,
html[data-nxapp-theme="dark"] .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"]::before,
body.nxapp-theme-dark .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"]::before,
body.nxapp-dark .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"]::before{
  content:"";
  width:var(--nxmh-icon);
  height:var(--nxmh-icon);
  max-width:30px;
  max-height:30px;
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  background-color:var(--nxmh-real-p5, var(--nxmh-p5, #d4a373)) !important;
  -webkit-mask-image:var(--nxmh-icon-mask);
  mask-image:var(--nxmh-icon-mask);
  -webkit-mask-size:contain;
  mask-size:contain;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  pointer-events:none;
}
html[data-nxmh-theme="dark"] .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"] > img,
html[data-nxapp-theme="dark"] .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"] > img,
body.nxapp-theme-dark .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"] > img,
body.nxapp-dark .nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"] > img{
  opacity:0 !important;
}

/* v3.5.5 — cart visual hardening: the native cart link stays visible even when badge is zero. */
.nx-mhdr .nx-left-icons{ gap:2px !important; }
.nx-mhdr .nx-slot-right{ gap:2px !important; }
.nx-mhdr .nxmh-cart-link.nx-cart{
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}
.nx-mhdr .nxmh-cart-link.nx-cart[data-nxmh-empty="1"]{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
.nx-mhdr .nxmh-cart-link .nxmh-cart-img{
  opacity:1 !important;
  visibility:visible !important;
}
.nx-mhdr .nx-cart .nxmh-cart-badge[data-nxmh-empty="1"]{
  opacity:0 !important;
  visibility:visible !important;
}


/* v3.5.6 — typography, simultaneous left-icons restore, and clean per-gram text. */
.nx-mhdr,
.nx-mhdr button,
.nx-mhdr input,
.nx-mhdr textarea,
.nx-mhdr select,
.nx-mhdr .nxmh-cart-badge,
.nx-mhdr .nxgp-cart-badge,
.nx-mhdr .nx-cart-badge,
.nx-mhdr .nx-left-price,
.nx-mhdr .nx-license-wrap,
.nx-mhdr .nx-admin-cta,
.nx-mhdr .nx-ticker-row{
  font-family:"Vazir-Variable","NXAppVazir","Vazirmatn","Vazir",Tahoma,Arial,sans-serif !important;
}
.nx-mhdr .nxmh-cart-badge,
.nx-mhdr .nxgp-cart-badge#nxmh-cart-badge,
.nx-mhdr .nx-cart-badge{
  font-family:"Vazir-Variable","NXAppVazir","Vazirmatn","Vazir",Tahoma,Arial,sans-serif !important;
  font-variation-settings:"wght" 850;
}
.nx-mhdr .nx-left-icons{
  transition-property:opacity, transform, visibility !important;
  transition-delay:0s, 0s, 0s !important;
}
.nx-mhdr .nx-left-icons > *{
  transition-delay:0s !important;
}
.nx-mhdr .nx-slot-left.hide-icons .nx-left-icons{
  transition-property:opacity, transform, visibility !important;
  transition-delay:0s, 0s, 0s !important;
}
.nx-mhdr .nx-left-price .nxmh-per-gram,
html[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram,
html[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-per-gram,
html[data-nxapp-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram,
html[data-nxapp-theme="dark"] .nx-mhdr .nx-left-price .nxmh-per-gram,
body.nxapp-theme-dark .nx-mhdr .nx-left-price .nxmh-per-gram,
body.nxapp-dark .nx-mhdr .nx-left-price .nxmh-per-gram,
.nx-mhdr-wrap[data-nxmh-theme="light"] .nx-mhdr .nx-left-price .nxmh-per-gram,
.nx-mhdr-wrap[data-nxmh-theme="dark"] .nx-mhdr .nx-left-price .nxmh-per-gram{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
}
.nx-mhdr .nx-left-price .nxmh-per-gram::before,
.nx-mhdr .nx-left-price .nxmh-per-gram::after{
  content:none !important;
  display:none !important;
}

/* v3.5.7 — product overlay guard: header stays route-aware but price/ticker never shifts height in product overlay. */
.nx-mhdr[data-route-type="product"] .nx-left-price,
.nx-mhdr[data-overlay="product"] .nx-left-price,
.nx-mhdr-wrap[data-overlay="product"] .nx-left-price{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  transform:none !important;
}
.nx-mhdr[data-route-type="product"] .nx-slot-left.hide-icons .nx-left-icons,
.nx-mhdr[data-overlay="product"] .nx-slot-left.hide-icons .nx-left-icons,
.nx-mhdr-wrap[data-overlay="product"] .nx-slot-left.hide-icons .nx-left-icons{
  opacity:1 !important;
  visibility:visible !important;
  transform:translate3d(0,0,0) scale(1) !important;
}
.nx-mhdr[data-route-type="product"] .nx-ticker-row,
.nx-mhdr[data-overlay="product"] .nx-ticker-row,
.nx-mhdr-wrap[data-overlay="product"] .nx-ticker-row{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  transform:none !important;
  transition:none !important;
}
.nx-mhdr:not(.show-ticker) .nx-ticker-row{
  opacity:0 !important;
  visibility:hidden !important;
  transform:translate3d(0,12px,0) scale(.95) !important;
}
.nx-mhdr.nx-no-restore-trans .nx-ticker-track{
  animation:none !important;
  transform:translate3d(var(--nxmh-ticker-from, 100%),0,0) !important;
}


/* v3.6.0 — exact RTL ticker travel: no empty collapsed header after the text has passed. */
.nx-mhdr .nx-ticker-track{
  transform:translate3d(var(--nxmh-ticker-from, 100%),0,0);
}
.nx-mhdr.show-ticker .nx-ticker-track{
  animation:nx-ticker-move var(--nxmh-ticker-duration, 18s) linear 1 forwards !important;
}
@keyframes nx-ticker-move{
  0%{ transform:translate3d(var(--nxmh-ticker-from, 100%),0,0); }
  100%{ transform:translate3d(var(--nxmh-ticker-to, -100%),0,0); }
}


/* v3.6.2 — premium ticker morph animation: نرم‌تر، بدون بگراند اضافه و بدون تداخل با باکس بالایی */
.nx-mhdr{
  --nxmh-ticker-ease: cubic-bezier(.16,.92,.20,1);
  --nxmh-ticker-exit-ease: cubic-bezier(.28,.72,.24,1);
  --nxmh-ticker-morph: 680ms;
  --nxmh-ticker-slots-y: -12px;
  --nxmh-ticker-slots-scale: .872;
  --nxmh-ticker-row-bottom: 4px;
  transform-origin:50% 0;
  transition:box-shadow var(--nxmh-ticker-morph) var(--nxmh-ticker-ease),
             border-color var(--nxmh-ticker-morph) var(--nxmh-ticker-ease),
             background var(--nxmh-ticker-morph) var(--nxmh-ticker-ease) !important;
}
.nx-mhdr .nx-slots-row{
  transform-origin:50% 0;
  transition:transform var(--nxmh-ticker-morph) var(--nxmh-ticker-ease),
             opacity 360ms ease,
             filter var(--nxmh-ticker-morph) var(--nxmh-ticker-ease) !important;
  backface-visibility:hidden;
}
.nx-mhdr.show-ticker .nx-slots-row{
  transform:translate3d(0,var(--nxmh-ticker-slots-y),0) scale(var(--nxmh-ticker-slots-scale)) !important;
  filter:saturate(.98) brightness(.985);
}
.nx-mhdr.nx-ticker-entering .nx-slots-row{
  animation:nxmh-ticker-slots-in 760ms var(--nxmh-ticker-ease) both;
}
.nx-mhdr.nx-ticker-finishing .nx-slots-row{
  transform:translate3d(0,0,0) scale(1) !important;
  filter:none !important;
  transition-duration:620ms,320ms,620ms !important;
  transition-timing-function:var(--nxmh-ticker-exit-ease),ease,var(--nxmh-ticker-exit-ease) !important;
}
.nx-mhdr .nx-ticker-row{
  bottom:var(--nxmh-ticker-row-bottom);
  z-index:1;
  opacity:0;
  visibility:hidden;
  transform:translate3d(0,15px,0) scale(.985);
  transform-origin:50% 100%;
  transition:opacity 320ms ease,
             transform 680ms var(--nxmh-ticker-ease),
             visibility 0s linear 680ms !important;
}
.nx-mhdr.show-ticker .nx-ticker-row{
  opacity:1 !important;
  visibility:visible !important;
  transform:translate3d(0,0,0) scale(1) !important;
  transition-delay:150ms,90ms,0s !important;
}
.nx-mhdr.nx-ticker-entering .nx-ticker-row{
  animation:nxmh-ticker-row-in 780ms var(--nxmh-ticker-ease) both;
}
.nx-mhdr.nx-ticker-finishing .nx-ticker-row{
  opacity:0 !important;
  visibility:visible !important;
  transform:translate3d(0,14px,0) scale(.99) !important;
  transition:opacity 260ms ease, transform 560ms var(--nxmh-ticker-exit-ease), visibility 0s linear 640ms !important;
  transition-delay:0s !important;
}
.nx-mhdr.nx-ticker-finishing .nx-ticker-track{
  animation:none !important;
}
.nx-mhdr .nx-ticker-inner{
  min-height:14px;
  width:100%;
  display:flex;
  align-items:flex-end;
  padding:0 12px 1px;
  border-radius:0;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  line-height:1.05;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.nx-mhdr .nx-ticker-track{
  line-height:1.05;
}
.nx-mhdr .nx-t-item{
  font-size:.66rem;
  line-height:1.05;
  font-weight:650;
}
.nx-mhdr.show-ticker{
  box-shadow:0 20px 48px rgba(0,0,0,.34),
             inset 0 1px 0 rgba(255,255,255,.095),
             inset 0 -1px 0 color-mix(in srgb, var(--nxmh-p5) 11%, transparent);
}
.nx-mhdr.show-ticker::after{
  opacity:.16;
  transform:translate3d(0,0,0);
}
@keyframes nxmh-ticker-slots-in{
  0%{ transform:translate3d(0,0,0) scale(1); }
  42%{ transform:translate3d(0,-14px,0) scale(.852); }
  72%{ transform:translate3d(0,-10px,0) scale(.886); }
  100%{ transform:translate3d(0,var(--nxmh-ticker-slots-y),0) scale(var(--nxmh-ticker-slots-scale)); }
}
@keyframes nxmh-ticker-row-in{
  0%{ opacity:0; transform:translate3d(0,17px,0) scale(.975); }
  52%{ opacity:1; transform:translate3d(0,-1px,0) scale(1.004); }
  100%{ opacity:1; transform:translate3d(0,0,0) scale(1); }
}
@media (max-width:420px){
  .nx-mhdr{
    --nxmh-ticker-slots-y:-13px;
    --nxmh-ticker-slots-scale:.858;
    --nxmh-ticker-row-bottom:3px;
  }
  .nx-mhdr .nx-t-item{ font-size:.63rem; }
}
@media (prefers-reduced-motion: reduce){
  .nx-mhdr.nx-ticker-entering .nx-slots-row,
  .nx-mhdr.nx-ticker-entering .nx-ticker-row{
    animation:none !important;
  }
}

/* v3.6.2 — tighter ticker stack spacing: فاصله کم، مرتب و بدون برخورد بین ردیف بالا و تیکر */
.nx-mhdr{
  --nxmh-ticker-slots-y:-7px;
  --nxmh-ticker-slots-scale:.842;
  --nxmh-ticker-row-bottom:7px;
  --nxmh-ticker-stack-gap:2px;
}
.nx-mhdr.show-ticker .nx-slots-row{
  transform:translate3d(0,var(--nxmh-ticker-slots-y),0) scale(var(--nxmh-ticker-slots-scale)) !important;
}
.nx-mhdr .nx-slots-row{
  position:relative;
  z-index:2;
}
.nx-mhdr .nx-ticker-row{
  bottom:var(--nxmh-ticker-row-bottom) !important;
  z-index:3;
  padding:0 !important;
}
.nx-mhdr .nx-ticker-inner{
  min-height:15px !important;
  align-items:center !important;
  padding:0 11px 1px !important;
  line-height:1 !important;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}
.nx-mhdr .nx-ticker-track{
  line-height:1 !important;
}
.nx-mhdr .nx-t-item{
  font-size:.665rem !important;
  line-height:1 !important;
  font-weight:680 !important;
}
.nx-mhdr.nx-ticker-entering .nx-slots-row{
  animation:nxmh-ticker-slots-in 700ms var(--nxmh-ticker-ease) both !important;
}
@keyframes nxmh-ticker-slots-in{
  0%{ transform:translate3d(0,0,0) scale(1); }
  44%{ transform:translate3d(0,-9px,0) scale(.826); }
  74%{ transform:translate3d(0,-6px,0) scale(.852); }
  100%{ transform:translate3d(0,var(--nxmh-ticker-slots-y),0) scale(var(--nxmh-ticker-slots-scale)); }
}
@media (max-width:420px){
  .nx-mhdr{
    --nxmh-ticker-slots-y:-8px;
    --nxmh-ticker-slots-scale:.832;
    --nxmh-ticker-row-bottom:6px;
  }
  .nx-mhdr .nx-ticker-inner{
    min-height:14px !important;
    padding:0 10px 1px !important;
  }
  .nx-mhdr .nx-t-item{
    font-size:.635rem !important;
  }
}
@media (max-width:360px){
  .nx-mhdr{
    --nxmh-ticker-slots-y:-8px;
    --nxmh-ticker-slots-scale:.818;
    --nxmh-ticker-row-bottom:5px;
  }
}



/* v3.6.3 — Admin panel CTA click hardening: keep the center CTA above header animations and outside SPA hit conflicts. */
.nx-mhdr.admin-cta-active .nx-slots-row{
  position:relative !important;
  z-index:12 !important;
}
.nx-mhdr.admin-cta-active .nx-slot-center,
.nx-mhdr.admin-cta-active .nx-center-stack{
  position:relative !important;
  z-index:14 !important;
  pointer-events:none !important;
  isolation:isolate;
}
.nx-mhdr.admin-cta-active .nx-slot-left,
.nx-mhdr.admin-cta-active .nx-slot-right{
  position:relative;
  z-index:2;
}
.nx-mhdr .nx-admin-cta,
.nxapp-header .nx-mhdr .nx-admin-cta{
  touch-action:manipulation !important;
  -webkit-user-select:none;
  user-select:none;
  cursor:pointer !important;
  min-height:34px;
  box-sizing:border-box;
}
.nx-mhdr.admin-cta-active .nx-admin-cta,
.nxapp-header .nx-mhdr.admin-cta-active .nx-admin-cta{
  pointer-events:auto !important;
  z-index:2147480 !important;
  position:absolute !important;
  isolation:isolate;
}
.nx-mhdr.admin-cta-active .nx-admin-cta::before{
  content:"";
  position:absolute;
  inset:-10px -14px;
  border-radius:18px;
  background:transparent;
  pointer-events:auto;
  z-index:-1;
}
.nx-mhdr.admin-cta-active .nx-ticker-row{
  pointer-events:none !important;
}
.nx-mhdr .nx-admin-cta.is-pressed{
  transform:translate3d(-50%, -50%, 0) scale(.97) !important;
  filter:saturate(1.05) brightness(.98);
}

/* v3.6.6 — first-paint icon color guard.
   Draw route/header icons as solid CSS masks from the first stylesheet pass,
   so PNG/SVG filter timing and late theme events cannot create a wrong-color flash. */
:root{
  --nxmh-real-p5: var(--nxapp-p5, var(--nx-p5, var(--nxaa-p5, var(--p5, #d4a373))));
  --nxmh-icon-color: var(--nxmh-real-p5);
}
html[data-nxapp-theme="dark"],
html.nxapp-theme-dark,
html[data-nxmh-theme="dark"]{
  --nxmh-dark-bg: var(--nxapp-dark-bg, var(--nx-dark-bg, #101624));
  --nxmh-text: var(--nxapp-dark-text, color-mix(in srgb, var(--nxmh-p3, #fefae0) 88%, #ffffff 12%));
  --nxmh-muted: var(--nxapp-dark-muted, color-mix(in srgb, var(--nxmh-p3, #fefae0) 54%, rgba(255,255,255,.52) 46%));
  --nxmh-line: var(--nxapp-dark-line, color-mix(in srgb, var(--nxmh-real-p5) 28%, rgba(255,255,255,.14)));
  --nxmh-icon-color: var(--nxmh-real-p5);
  --nxmh-icon-bg: transparent;
  --nxmh-icon-border: transparent;
  --nxmh-scheme: dark;
}
html[data-nxapp-theme="dark"] .nx-mhdr-wrap,
html.nxapp-theme-dark .nx-mhdr-wrap,
html[data-nxmh-theme="dark"] .nx-mhdr-wrap{
  --nxmh-icon-color: var(--nxmh-real-p5);
}
.nx-mhdr .nx-sc[style*="--nxmh-icon-mask"],
.nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"],
.nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"],
.nx-mhdr .nxgp-cart-icon-wrap[style*="--nxmh-icon-mask"],
.nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"]{
  position:relative !important;
  color:var(--nxmh-icon-color, var(--nxmh-real-p5, #d4a373)) !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
.nx-mhdr .nx-sc[style*="--nxmh-icon-mask"]::before,
.nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"]::before,
.nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"]::before,
.nx-mhdr .nxgp-cart-icon-wrap[style*="--nxmh-icon-mask"]::before,
.nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"]::before{
  content:"";
  position:absolute;
  inset:0;
  width:var(--nxmh-icon, 30px);
  height:var(--nxmh-icon, 30px);
  margin:auto;
  display:block;
  pointer-events:none;
  z-index:2;
  background-color:currentColor !important;
  -webkit-mask-image:var(--nxmh-icon-mask);
  mask-image:var(--nxmh-icon-mask);
  -webkit-mask-size:contain;
  mask-size:contain;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  opacity:1 !important;
}
.nx-mhdr .nx-sc[style*="--nxmh-icon-mask"] img,
.nx-mhdr .nx-icon-btn[style*="--nxmh-icon-mask"] > img,
.nx-mhdr .nx-search-trigger[style*="--nxmh-icon-mask"] > img,
.nx-mhdr .nxgp-cart-icon-wrap[style*="--nxmh-icon-mask"] img,
.nx-mhdr .nxmh-cart-link[style*="--nxmh-icon-mask"] img{
  opacity:0 !important;
  filter:none !important;
}
.nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]{
  position:relative !important;
  color:var(--nxmh-icon-color, var(--nxmh-real-p5, #d4a373)) !important;
}
.nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"]::before{
  content:"";
  width:1.08rem;
  height:1.08rem;
  display:block;
  background-color:currentColor !important;
  -webkit-mask-image:var(--nxmh-toman-mask);
  mask-image:var(--nxmh-toman-mask);
  -webkit-mask-size:contain;
  mask-size:contain;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
}
.nx-mhdr .nx-left-price .nxmh-toman-img-wrap[style*="--nxmh-toman-mask"] > img{
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
}


/* v3.7.0 — currency flag slot beside search */
.nx-mhdr .nx-left-icons .nx-currency{display:inline-flex!important;align-items:center!important;justify-content:center!important;inline-size:var(--nxmh-icon,30px)!important;block-size:var(--nxmh-icon,30px)!important;min-inline-size:var(--nxmh-icon,30px)!important;line-height:0!important;overflow:visible!important;position:relative!important;z-index:3!important}
.nx-mhdr .nx-left-icons .nx-currency .nxmc-front-switch,.nx-mhdr .nx-left-icons .nx-currency .nxmc-header-flag-btn{inline-size:var(--nxmh-icon,30px)!important;block-size:var(--nxmh-icon,30px)!important}
.nx-mhdr .nx-left-icons .nx-currency .nxmc-currency-modal{line-height:normal!important}


/* v3.7.2 — Language Hub sync: keep header direction safe without DOM scanning */
.nx-mhdr[dir="ltr"],
.nx-mhdr-wrap[dir="ltr"]{ direction:ltr; }
.nx-mhdr[dir="rtl"],
.nx-mhdr-wrap[dir="rtl"]{ direction:rtl; }
.nx-mhdr .nx-language,
.nx-mhdr [data-nxmh-language-slot="1"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:max(var(--nxmh-icon), 38px);
  min-height:max(var(--nxmh-icon), 38px);
}
.nx-mhdr[dir="ltr"] .nx-left-price,
.nx-mhdr[dir="ltr"] .nxmh-price-label,
.nx-mhdr[dir="ltr"] .nxmh-price-val,
.nx-mhdr[dir="ltr"] .nx-license-wrap,
.nx-mhdr[dir="ltr"] .nx-admin-cta{ direction:ltr; text-align:left; }
.nx-mhdr[dir="ltr"] .nx-ticker-row,
.nx-mhdr[dir="ltr"] .nx-ticker-track{ direction:ltr; }
.nx-mhdr[dir="ltr"] .nxgp-cart-badge{ inset-inline-start:auto !important; inset-inline-end:-4px !important; }

/* v3.7.3 — LTR/RTL physical slot hardening
   Keep profile/shop/back route icons pinned to the physical right edge.
   Language direction must not reorder the three header slots. */
.nx-mhdr .nx-slots-row{
  direction:ltr !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
}
.nx-mhdr .nx-slot-left{
  grid-column:1 !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  width:100% !important;
  min-width:0 !important;
}
.nx-mhdr .nx-slot-center{
  grid-column:2 !important;
  justify-self:center !important;
}
.nx-mhdr .nx-slot-right{
  grid-column:3 !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  align-items:center !important;
  width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;
}
.nx-mhdr[dir="ltr"] .nx-slot-right{
  direction:ltr !important;
}
.nx-mhdr[dir="rtl"] .nx-slot-right{
  direction:rtl !important;
}
.nx-mhdr .nx-slot-right > .nx-route-icon,
.nx-mhdr .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
}
.nx-mhdr .nx-slot-left .nx-left-icons{
  flex:0 1 auto !important;
  max-width:100% !important;
}


/* v3.7.4 — final LTR physical-right fix for shop/profile icons.
   Direction changes text only; header slot geometry stays physical. */
.nx-mhdr-wrap[dir="ltr"] .nx-mhdr,
.nx-mhdr[dir="ltr"]{ direction:ltr !important; }
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr,
.nx-mhdr[dir="rtl"]{ direction:rtl !important; }
.nx-mhdr-wrap .nx-mhdr .nx-slots-row,
.nx-mhdr .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  grid-template-areas:"left center right" !important;
  width:100% !important;
}
.nx-mhdr .nx-slot-left{
  grid-area:left !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  min-width:0 !important;
}
.nx-mhdr .nx-slot-center{
  grid-area:center !important;
  justify-self:center !important;
  min-width:0 !important;
}
.nx-mhdr .nx-slot-right{
  grid-area:right !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  align-items:center !important;
  min-width:0 !important;
  width:100% !important;
  margin:0 !important;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;
}
.nx-mhdr[dir="ltr"] .nx-slot-right,
.nx-mhdr-wrap[dir="ltr"] .nx-slot-right{
  direction:ltr !important;
  text-align:right !important;
}
.nx-mhdr[dir="rtl"] .nx-slot-right,
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right{
  direction:rtl !important;
  text-align:right !important;
}
.nx-mhdr .nx-slot-right > .nx-route-icon,
.nx-mhdr .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
}


/* v3.7.5 — clean packaged LTR route icons patch.
   In LTR languages, keep shop/profile/route icons on the physical right side, away from the logo. */
.nx-mhdr-wrap[dir="ltr"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="ltr"] .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  grid-template-areas:"left center right" !important;
}
.nx-mhdr-wrap[dir="ltr"] .nx-slot-left,
.nx-mhdr[dir="ltr"] .nx-slot-left{
  grid-area:left !important;
  justify-content:flex-start !important;
  justify-self:stretch !important;
}
.nx-mhdr-wrap[dir="ltr"] .nx-slot-center,
.nx-mhdr[dir="ltr"] .nx-slot-center{
  grid-area:center !important;
  justify-self:center !important;
}
.nx-mhdr-wrap[dir="ltr"] .nx-slot-right,
.nx-mhdr[dir="ltr"] .nx-slot-right{
  grid-area:right !important;
  justify-content:flex-end !important;
  justify-self:stretch !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
}
.nx-mhdr-wrap[dir="ltr"] .nx-slot-right > *,
.nx-mhdr[dir="ltr"] .nx-slot-right > *{
  flex:0 0 auto !important;
}

/* v3.7.9 — RTL physical slot repair.
   در زبان‌های راست‌چین، آیکن‌های route مثل پروفایل/فروشگاه باید در لبه راست هدر بمانند
   و ابزارهای عمومی مثل سبد/جستجو/زبان-ارز در لبه چپ قرار بگیرند؛ لوگو همیشه وسط می‌ماند. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  grid-template-areas:"left center right" !important;
  align-items:center !important;
  width:100% !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:left !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  align-items:center !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center{
  grid-area:center !important;
  justify-self:center !important;
  justify-content:center !important;
  min-width:0 !important;
  max-width:48vw !important;
  direction:rtl !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:right !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  align-items:center !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
  text-align:right !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-icon-btn,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin-inline:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  direction:ltr !important;
  justify-content:flex-start !important;
  max-width:100% !important;
  margin:0 !important;
}

/* کد صنفی در RTL کنار سمت راست لوگو باشد و مثل لینک دیده نشود. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  opacity:1 !important;
  transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 10px), -50%, 0) scale(1) !important;
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
}
.nx-mhdr .nx-license-code,
.nx-mhdr .nx-license-code a{
  color:var(--nxmh-text) !important;
  text-decoration:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  pointer-events:none !important;
  cursor:default !important;
  -webkit-text-decoration-color:transparent !important;
  text-decoration-color:transparent !important;
}
.nx-mhdr .nx-license-caption{
  text-decoration:none !important;
  border-bottom:0 !important;
}

/* بج کوچک زبان/ارز در موبایل هم واضح بماند. */
.nx-mhdr .nxmc-header-flag-btn .nxmc-flag-badge,
.nx-mhdr .nxmc-header-flag-btn .nxmc-currency-badge,
.nx-mhdr .nxmc-header-flag-btn [data-nxmc-badge]{
  display:inline-flex !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:none !important;
}
@media (max-width: 640px){
  .nx-mhdr .nxmc-header-flag-btn .nxmc-flag-badge,
  .nx-mhdr .nxmc-header-flag-btn .nxmc-currency-badge,
  .nx-mhdr .nxmc-header-flag-btn [data-nxmc-badge]{
    min-width:22px !important;
    height:16px !important;
    padding:0 5px !important;
    font-size:10px !important;
    line-height:16px !important;
    transform:translate3d(7px, 7px, 0) !important;
  }
  .nx-mhdr .nx-license-caption{ font-size:.42rem !important; }
  .nx-mhdr .nx-license-code{ font-size:.58rem !important; padding:2px 6px !important; }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 7px), -50%, 0) scale(.96) !important;
  }
}


/* v3.7.10 — RTL final physical swap.
   در زبان‌های راست‌چین باید اسلات‌های چپ و راست از نظر فیزیکی جابه‌جا شوند:
   ابزارهای عمومی هدر در سمت راست، آیکن‌های پروفایل/فروشگاه در سمت چپ، لوگو وسط ثابت.
   کد صنفی هم در سمت چپ لوگو/هدر قرار می‌گیرد. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  grid-template-areas:"left center right" !important;
  align-items:center !important;
  width:100% !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:right !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  align-items:center !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
  text-align:right !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  direction:ltr !important;
  justify-content:flex-end !important;
  align-items:center !important;
  max-width:100% !important;
  margin:0 !important;
  flex:0 1 auto !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center{
  grid-area:center !important;
  justify-self:center !important;
  justify-content:center !important;
  min-width:0 !important;
  max-width:46vw !important;
  direction:rtl !important;
  z-index:3 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:left !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  align-items:center !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:rtl !important;
  text-align:left !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-icon-btn,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin-inline:0 !important;
}
/* کد صنفی در RTL سمت چپ لوگو/هدر باشد، نه سمت راست لوگو. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  opacity:1 !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 10px), -50%, 0) scale(1) !important;
  align-items:flex-start !important;
  text-align:left !important;
  direction:rtl !important;
}
@media (max-width:640px){
  .nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
  .nx-mhdr[dir="rtl"] .nx-slot-center{
    max-width:42vw !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 7px), -50%, 0) scale(.94) !important;
  }
  .nx-mhdr[dir="rtl"] .nx-license-caption,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-license-caption{
    font-size:.40rem !important;
  }
  .nx-mhdr[dir="rtl"] .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-license-code{
    font-size:.56rem !important;
    padding:2px 6px !important;
  }
}


/* v3.7.11 — RTL final edge pinning.
   در RTL اسلات‌ها فقط از نظر فیزیکی جابه‌جا می‌شوند:
   route icons = لبه چپ، ابزارهای عمومی = لبه راست، کد صنفی = سمت چپ لوگو/هدر. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  grid-template-areas:"route center tools" !important;
  align-items:center !important;
  width:100% !important;
  column-gap:10px !important;
}
/* ابزارهای اصلی هدر که در DOM سمت چپ هستند، در RTL باید فیزیکی به راست‌ترین لبه بروند. */
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:tools !important;
  grid-column:3 !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  align-items:center !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
  text-align:right !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  margin-inline-start:auto !important;
  margin-inline-end:0 !important;
  margin-left:auto !important;
  margin-right:0 !important;
  max-inline-size:100% !important;
  flex:0 0 auto !important;
  direction:ltr !important;
}
/* آیکن‌های پروفایل/شاپ/برگشت که در DOM سمت راست هستند، در RTL باید فیزیکی به چپ‌ترین لبه بروند. */
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:route !important;
  grid-column:1 !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  align-items:center !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
  text-align:left !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-icon-btn,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center{
  grid-area:center !important;
  grid-column:2 !important;
  justify-self:center !important;
  justify-content:center !important;
  min-inline-size:0 !important;
  max-inline-size:46vw !important;
  direction:rtl !important;
  z-index:4 !important;
}
/* کد صنفی در RTL سمت چپ لوگو قرار بگیرد و لینک‌مانند دیده نشود. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  opacity:1 !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 10px), -50%, 0) scale(1) !important;
  align-items:flex-start !important;
  text-align:left !important;
  direction:rtl !important;
  inset-inline-start:50% !important;
  inset-inline-end:auto !important;
}
.nx-mhdr .nx-license-code,
.nx-mhdr .nx-license-code a{
  color:var(--nxmh-text) !important;
  text-decoration:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  pointer-events:none !important;
  cursor:default !important;
}
@media (max-width:640px){
  .nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
  .nx-mhdr[dir="rtl"] .nx-slot-center{
    max-inline-size:40vw !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 6px), -50%, 0) scale(.92) !important;
  }
  .nx-mhdr[dir="rtl"] .nx-license-caption,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-license-caption{
    font-size:.40rem !important;
  }
  .nx-mhdr[dir="rtl"] .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-license-code{
    font-size:.56rem !important;
    padding:2px 6px !important;
  }
}


/* v3.7.12 — final physical direction rules.
   LTR: license code sits exactly on the RIGHT side of the logo.
   RTL: license code sits exactly on the LEFT side of the logo.
   RTL icon order: cart/search/language-currency tools stay on the physical LEFT edge;
   shop/profile/back route icons stay on the physical RIGHT edge. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  grid-template-areas:"tools center route" !important;
  align-items:center !important;
  width:100% !important;
  column-gap:8px !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:tools !important;
  grid-column:1 !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  align-items:center !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:ltr !important;
  text-align:left !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  margin-inline-start:0 !important;
  margin-inline-end:auto !important;
  margin-left:0 !important;
  margin-right:auto !important;
  max-inline-size:100% !important;
  flex:0 1 auto !important;
  direction:ltr !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:route !important;
  grid-column:3 !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  align-items:center !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:rtl !important;
  text-align:right !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-icon-btn,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center{
  grid-area:center !important;
  grid-column:2 !important;
  justify-self:center !important;
  justify-content:center !important;
  min-inline-size:0 !important;
  max-inline-size:44vw !important;
  direction:rtl !important;
  z-index:4 !important;
}
/* Code/license: exact side of the logo by language direction. */
.nx-mhdr[dir="ltr"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="ltr"] .nx-mhdr.license-active .nx-license-wrap{
  opacity:1 !important;
  inset-inline-start:50% !important;
  inset-inline-end:auto !important;
  transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 6px), -50%, 0) scale(1) !important;
  align-items:flex-start !important;
  text-align:left !important;
  direction:ltr !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  opacity:1 !important;
  inset-inline-start:50% !important;
  inset-inline-end:auto !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 6px), -50%, 0) scale(1) !important;
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
}
.nx-mhdr .nx-license-code,
.nx-mhdr .nx-license-code a{
  color:var(--nxmh-text) !important;
  text-decoration:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  pointer-events:none !important;
  cursor:default !important;
}
@media (max-width:640px){
  .nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
  .nx-mhdr[dir="rtl"] .nx-slot-center,
  .nx-mhdr-wrap[dir="ltr"] .nx-slot-center,
  .nx-mhdr[dir="ltr"] .nx-slot-center{
    max-inline-size:38vw !important;
  }
  .nx-mhdr[dir="ltr"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="ltr"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 4px), -50%, 0) scale(.92) !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 4px), -50%, 0) scale(.92) !important;
  }
  .nx-mhdr .nx-license-caption{
    font-size:.38rem !important;
  }
  .nx-mhdr .nx-license-code{
    font-size:.54rem !important;
    padding:2px 5px !important;
  }
}


/* v3.7.13 — authoritative RTL/LTR physical layout reset.
   LTR: tools left, logo center, route icons right, license tight on right side of logo.
   RTL: route icons left, logo center, tools right, license tight on left side of logo.
   This block intentionally overrides older 3.7.x direction experiments. */
.nx-mhdr .nx-slots-row{
  display:grid !important;
  grid-template-columns:minmax(86px,1fr) auto minmax(86px,1fr) !important;
  align-items:center !important;
  width:100% !important;
  column-gap:8px !important;
}
.nx-mhdr .nx-slot-left,
.nx-mhdr .nx-slot-center,
.nx-mhdr .nx-slot-right{
  min-inline-size:0 !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
.nx-mhdr .nx-slot-center{
  grid-column:2 !important;
  grid-area:center !important;
  justify-self:center !important;
  justify-content:center !important;
  overflow:visible !important;
  z-index:5 !important;
  max-inline-size:44vw !important;
}
.nx-mhdr .nx-center-stack{
  position:relative !important;
  overflow:visible !important;
}

/* LTR physical order */
.nx-mhdr-wrap[dir="ltr"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="ltr"] .nx-slots-row{
  direction:ltr !important;
  grid-template-areas:"tools center route" !important;
}
.nx-mhdr-wrap[dir="ltr"] .nx-slot-left,
.nx-mhdr[dir="ltr"] .nx-slot-left{
  grid-area:tools !important;
  grid-column:1 !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  text-align:left !important;
  direction:ltr !important;
  inline-size:100% !important;
}
.nx-mhdr-wrap[dir="ltr"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="ltr"] .nx-slot-left .nx-left-icons{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  margin-inline-start:0 !important;
  margin-inline-end:auto !important;
  direction:ltr !important;
}
.nx-mhdr-wrap[dir="ltr"] .nx-slot-right,
.nx-mhdr[dir="ltr"] .nx-slot-right{
  grid-area:route !important;
  grid-column:3 !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  text-align:right !important;
  direction:ltr !important;
  inline-size:100% !important;
}

/* RTL physical order — swap the two outer slots to prevent license/currency overlap. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:ltr !important;
  grid-template-areas:"route center tools" !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:tools !important;
  grid-column:3 !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  text-align:right !important;
  direction:ltr !important;
  inline-size:100% !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  margin-inline-start:auto !important;
  margin-inline-end:0 !important;
  direction:ltr !important;
  max-inline-size:100% !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:route !important;
  grid-column:1 !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  text-align:left !important;
  direction:ltr !important;
  inline-size:100% !important;
}
.nx-mhdr .nx-slot-right > .nx-route-icon,
.nx-mhdr .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin:0 !important;
}

/* Business/license code: not a link, and tightly attached to the logo side by language direction. */
.nx-mhdr.license-active .nx-license-wrap{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  z-index:6 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.nx-mhdr[dir="ltr"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="ltr"] .nx-mhdr.license-active .nx-license-wrap{
  transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 3px), -50%, 0) scale(1) !important;
  align-items:flex-start !important;
  text-align:left !important;
  direction:ltr !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 3px), -50%, 0) scale(1) !important;
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
}
.nx-mhdr .nx-license-code,
.nx-mhdr .nx-license-code a,
.nx-mhdr a.nx-license-code{
  color:var(--nxmh-text) !important;
  text-decoration:none !important;
  border:0 !important;
  border-bottom:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background-clip:padding-box !important;
  cursor:default !important;
  pointer-events:none !important;
  -webkit-text-decoration-line:none !important;
  text-decoration-line:none !important;
}
.nx-mhdr .nx-license-caption{
  text-decoration:none !important;
  border:0 !important;
  box-shadow:none !important;
}

/* Keep the language/currency flag badge visible on mobile and desktop. */
.nx-mhdr .nxmc-header-flag-btn .nxmc-header-code,
.nx-mhdr .nxmc-header-flag-btn .nxmc-flag-badge,
.nx-mhdr .nxmc-header-flag-btn .nxmc-currency-badge,
.nx-mhdr .nxmc-header-flag-btn [data-nxmc-badge]{
  display:inline-flex !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:none !important;
}

@media (max-width:640px){
  .nx-mhdr .nx-slots-row{
    grid-template-columns:minmax(76px,1fr) auto minmax(76px,1fr) !important;
    column-gap:6px !important;
  }
  .nx-mhdr .nx-slot-center{
    max-inline-size:34vw !important;
  }
  .nx-mhdr[dir="ltr"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="ltr"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 2px), -50%, 0) scale(.88) !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 2px), -50%, 0) scale(.88) !important;
  }
  .nx-mhdr .nx-license-caption{
    font-size:.36rem !important;
  }
  .nx-mhdr .nx-license-code{
    font-size:.52rem !important;
    padding:2px 5px !important;
  }
}

/* v3.7.14 — authoritative internal RTL order fix.
   Physical slots stay stable, but every inner group follows the selected language direction.
   RTL tools order from the right edge must be: cart, search, language/currency.
   RTL live price text must read and align right-to-left. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(76px,1fr) auto minmax(76px,1fr) !important;
  grid-template-areas:"route center tools" !important;
  align-items:center !important;
  inline-size:100% !important;
  column-gap:8px !important;
}
/* Tools are physically on the RIGHT in RTL, and their internal order is RTL. */
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:tools !important;
  grid-column:3 !important;
  justify-self:stretch !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important; /* flex-start is the physical right because direction is rtl */
  direction:rtl !important;
  text-align:right !important;
  margin:0 !important;
  padding:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  display:flex !important;
  flex-direction:row !important;
  direction:rtl !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:2px !important;
  margin:0 !important;
  margin-inline:0 !important;
  max-inline-size:100% !important;
  flex:0 0 auto !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons > *,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons > *{
  flex:0 0 auto !important;
}
/* Live price replaces the left icon group in some states; it must be RTL, right-pinned and right-aligned. */
.nx-mhdr-wrap[dir="rtl"] .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-left-price{
  left:auto !important;
  right:0 !important;
  inset-inline-start:auto !important;
  inset-inline-end:0 !important;
  margin:0 !important;
  margin-inline:0 !important;
  direction:rtl !important;
  text-align:right !important;
  align-items:flex-end !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val{
  direction:rtl !important;
  text-align:right !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val{
  display:inline-flex !important;
  flex-direction:row !important;
  justify-content:flex-start !important;
  align-items:center !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit{
  direction:rtl !important;
}
/* Route icons are physically on the LEFT in RTL, but their local reading order remains RTL. */
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:route !important;
  grid-column:1 !important;
  justify-self:stretch !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important; /* flex-end is the physical left because direction is rtl */
  direction:rtl !important;
  text-align:left !important;
  margin:0 !important;
  padding:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr-wrap[dir="rtl"] .nx-slot-right > .nx-icon-btn,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center{
  grid-area:center !important;
  grid-column:2 !important;
  justify-self:center !important;
  justify-content:center !important;
  direction:rtl !important;
  text-align:center !important;
  max-inline-size:44vw !important;
  overflow:visible !important;
  z-index:5 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-center-stack,
.nx-mhdr[dir="rtl"] .nx-center-stack{
  direction:rtl !important;
}
/* License/business code: RTL = tight LEFT of logo, LTR = tight RIGHT of logo. */
.nx-mhdr.license-active .nx-license-wrap{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  z-index:7 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.nx-mhdr[dir="ltr"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="ltr"] .nx-mhdr.license-active .nx-license-wrap{
  transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 3px), -50%, 0) scale(1) !important;
  align-items:flex-start !important;
  text-align:left !important;
  direction:ltr !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 3px), -50%, 0) scale(1) !important;
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-ticker-row,
.nx-mhdr[dir="rtl"] .nx-ticker-row,
.nx-mhdr-wrap[dir="rtl"] .nx-ticker-track,
.nx-mhdr[dir="rtl"] .nx-ticker-track{
  direction:rtl !important;
  text-align:right !important;
}
@media (max-width:640px){
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
  .nx-mhdr[dir="rtl"] .nx-slots-row{
    grid-template-columns:minmax(74px,1fr) auto minmax(74px,1fr) !important;
    column-gap:6px !important;
  }
  .nx-mhdr-wrap[dir="rtl"] .nx-slot-center,
  .nx-mhdr[dir="rtl"] .nx-slot-center{
    max-inline-size:34vw !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 2px), -50%, 0) scale(.88) !important;
  }
}


/* v3.7.15 — reverse RTL price/license blocks only.
   The route/tool icon positions remain as v3.7.14.
   In RTL languages, live price and business-code blocks use the opposite side/direction from the previous state. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-left-price{
  left:0 !important;
  right:auto !important;
  inset-inline-start:0 !important;
  inset-inline-end:auto !important;
  margin:0 !important;
  direction:ltr !important;
  text-align:left !important;
  align-items:flex-start !important;
  justify-content:center !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit{
  direction:ltr !important;
  text-align:left !important;
  unicode-bidi:isolate !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val{
  display:inline-flex !important;
  flex-direction:row !important;
  justify-content:flex-start !important;
  align-items:center !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:2px !important;
}

/* RTL business code: opposite of previous state — tight RIGHT of logo, left-aligned/LTR text. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 3px), -50%, 0) scale(1) !important;
  align-items:flex-start !important;
  text-align:left !important;
  direction:ltr !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  direction:ltr !important;
  text-align:left !important;
  unicode-bidi:isolate !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc((var(--nxmh-logo-h) / 2) + 2px), -50%, 0) scale(.88) !important;
  }
}


/* v3.7.16 — final RTL price/license placement.
   RTL: live gold price starts from the physical RIGHT edge and reads RTL.
   RTL: business code is glued to the physical LEFT side of the logo with a tiny gap.
   Icon positions/order from v3.7.14 stay untouched. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:tools !important;
  grid-column:3 !important;
  justify-self:stretch !important;
  justify-content:flex-start !important; /* with direction:rtl, this pins to the physical right */
  direction:rtl !important;
  text-align:right !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  direction:rtl !important;
  flex-direction:row !important;
  justify-content:flex-start !important;
  align-items:center !important;
  margin:0 !important;
  margin-inline:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left .nx-left-icons > *,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons > *{
  flex:0 0 auto !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-left-price{
  left:auto !important;
  right:0 !important;
  inset-inline-start:auto !important;
  inset-inline-end:0 !important;
  margin:0 !important;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;
  direction:rtl !important;
  text-align:right !important;
  align-items:flex-end !important;
  justify-content:center !important;
  transform-origin:right center !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-slot-left.show-price .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-slot-left.show-price .nx-left-price{
  transform:translate3d(0,0,0) scale(1) !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-num,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-num{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:isolate !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val{
  display:inline-flex !important;
  flex-direction:row !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:4px !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:2px !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 2px), -50%, 0) scale(1) !important;
  transform-origin:right center !important;
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:isolate !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 1px), -50%, 0) scale(.88) !important;
  }
}

/* v3.7.17 — RTL layout aligned with the known-good header (header 10).
   This block affects ONLY rtl headers. LTR remains untouched.
   RTL rules:
   - DOM/grid direction is RTL so the first outer slot starts from the physical right edge.
   - Live gold price is pinned to the physical right edge and reads RTL.
   - License code is glued to the physical left side of the logo with a tiny gap.
   - Inner icon order follows RTL naturally: cart/search/language from right to left. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:rtl !important;
  grid-template-areas:none !important;
  grid-template-columns:minmax(86px,1fr) auto minmax(86px,1fr) !important;
  column-gap:8px !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:auto !important;
  grid-column:auto !important;
  min-inline-size:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  justify-self:stretch !important;
  justify-content:flex-start !important;
  text-align:right !important;
  direction:rtl !important;
  inline-size:100% !important;
  position:relative !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  direction:rtl !important;
  flex-direction:row !important;
  justify-content:flex-start !important;
  align-items:center !important;
  margin-inline-start:0 !important;
  margin-inline-end:auto !important;
  max-inline-size:100% !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left .nx-left-icons > *,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons > *{
  flex:0 0 auto !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-left-price{
  left:auto !important;
  right:0 !important;
  inset-inline-start:auto !important;
  inset-inline-end:0 !important;
  margin:0 !important;
  margin-inline:0 !important;
  direction:rtl !important;
  text-align:right !important;
  align-items:flex-end !important;
  justify-content:center !important;
  transform-origin:right center !important;
  min-inline-size:max-content !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left.show-price .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-slot-left.show-price .nx-left-price{
  opacity:1 !important;
  visibility:visible !important;
  transform:translate3d(0,0,0) scale(1) !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-label,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-num,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-num,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-per-gram,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-per-gram{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:isolate !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val{
  display:inline-flex !important;
  flex-direction:row !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:4px !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:2px !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center{
  justify-self:center !important;
  justify-content:center !important;
  text-align:center !important;
  direction:rtl !important;
  overflow:visible !important;
  z-index:5 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-center-stack,
.nx-mhdr[dir="rtl"] .nx-center-stack{
  direction:rtl !important;
  position:relative !important;
  overflow:visible !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 3px), -50%, 0) scale(1) !important;
  transform-origin:right center !important;
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
  z-index:7 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:isolate !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  justify-self:stretch !important;
  justify-content:flex-end !important;
  text-align:left !important;
  direction:rtl !important;
  inline-size:100% !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-right > .nx-route-icon,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-right > .nx-icon-btn,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-ticker-row,
.nx-mhdr[dir="rtl"] .nx-ticker-row,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-ticker-track,
.nx-mhdr[dir="rtl"] .nx-ticker-track,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-t-item,
.nx-mhdr[dir="rtl"] .nx-t-item{
  direction:rtl !important;
  text-align:right !important;
}
@media (max-width:640px){
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
  .nx-mhdr[dir="rtl"] .nx-slots-row{
    grid-template-columns:minmax(76px,1fr) auto minmax(76px,1fr) !important;
    column-gap:6px !important;
  }
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-center,
  .nx-mhdr[dir="rtl"] .nx-slot-center{
    max-inline-size:34vw !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 2px), -50%, 0) scale(.88) !important;
  }
}


/* v3.7.18 — RTL header must visually match the approved header10 snapshot.
   Scope is intentionally limited to rtl languages. LTR remains governed by previous rules.
   Physical RTL layout:
   - tools/price slot = physical RIGHT edge, first item starts at the right edge
   - logo = exact center
   - route icons slot = physical LEFT edge
   - business/license code = glued to physical LEFT side of logo
   - live gold price = right-pinned, right-aligned, RTL text flow */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
.nx-mhdr[dir="rtl"] .nx-slots-row{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(78px,1fr) auto minmax(78px,1fr) !important;
  grid-template-areas:"route center tools" !important;
  align-items:center !important;
  inline-size:100% !important;
  width:100% !important;
  column-gap:8px !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  grid-area:tools !important;
  grid-column:3 !important;
  justify-self:stretch !important;
  justify-content:flex-start !important;
  align-items:center !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:rtl !important;
  text-align:right !important;
  position:relative !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left .nx-left-icons,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons{
  display:flex !important;
  flex-direction:row !important;
  direction:rtl !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:2px !important;
  margin:0 !important;
  margin-inline:0 !important;
  max-inline-size:100% !important;
  flex:0 0 auto !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left .nx-left-icons > *,
.nx-mhdr[dir="rtl"] .nx-slot-left .nx-left-icons > *{
  flex:0 0 auto !important;
  margin-inline:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-left-price{
  left:auto !important;
  right:0 !important;
  inset-inline-start:auto !important;
  inset-inline-end:0 !important;
  margin:0 !important;
  margin-inline:0 !important;
  direction:rtl !important;
  text-align:right !important;
  align-items:flex-end !important;
  justify-content:center !important;
  transform-origin:right center !important;
  min-inline-size:max-content !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left.show-price .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-slot-left.show-price .nx-left-price{
  opacity:1 !important;
  visibility:visible !important;
  transform:translate3d(0,0,0) scale(1) !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-label,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-label,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-num,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-num,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-per-gram,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-per-gram{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:isolate !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-val,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-val,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price .nxmh-price-unit,
.nx-mhdr[dir="rtl"] .nx-left-price .nxmh-price-unit{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-center,
.nx-mhdr[dir="rtl"] .nx-slot-center{
  grid-area:center !important;
  grid-column:2 !important;
  justify-self:center !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  direction:rtl !important;
  min-inline-size:0 !important;
  max-inline-size:44vw !important;
  overflow:visible !important;
  z-index:8 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-center-stack,
.nx-mhdr[dir="rtl"] .nx-center-stack{
  position:relative !important;
  overflow:visible !important;
  direction:rtl !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 3px), -50%, 0) scale(1) !important;
  transform-origin:right center !important;
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
  z-index:9 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:isolate !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-right,
.nx-mhdr[dir="rtl"] .nx-slot-right{
  grid-area:route !important;
  grid-column:1 !important;
  justify-self:stretch !important;
  justify-content:flex-end !important;
  align-items:center !important;
  inline-size:100% !important;
  min-inline-size:0 !important;
  margin:0 !important;
  padding:0 !important;
  direction:rtl !important;
  text-align:left !important;
  position:relative !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-right > .nx-route-icon,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-route-icon,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-right > .nx-icon-btn,
.nx-mhdr[dir="rtl"] .nx-slot-right > .nx-icon-btn{
  flex:0 0 auto !important;
  margin:0 !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-ticker-row,
.nx-mhdr[dir="rtl"] .nx-ticker-row,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-ticker-track,
.nx-mhdr[dir="rtl"] .nx-ticker-track,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-t-item,
.nx-mhdr[dir="rtl"] .nx-t-item{
  direction:rtl !important;
  text-align:right !important;
}
@media (max-width:640px){
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
  .nx-mhdr[dir="rtl"] .nx-slots-row{
    grid-template-columns:minmax(74px,1fr) auto minmax(74px,1fr) !important;
    column-gap:6px !important;
  }
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-center,
  .nx-mhdr[dir="rtl"] .nx-slot-center{
    max-inline-size:34vw !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 2px), -50%, 0) scale(.88) !important;
  }
}
@media (max-width:360px){
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slots-row,
  .nx-mhdr[dir="rtl"] .nx-slots-row{
    grid-template-columns:minmax(68px,1fr) auto minmax(68px,1fr) !important;
    column-gap:4px !important;
  }
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-center,
  .nx-mhdr[dir="rtl"] .nx-slot-center{
    max-inline-size:32vw !important;
  }
}

/* v3.7.19 — Final RTL start-edge correction.
   In RTL flex-column, flex-end pushes content toward the physical LEFT.
   These overrides pin the gold price to the physical RIGHT edge and keep the license code's right edge next to the logo. */
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-left-price,
.nx-mhdr[dir="rtl"] .nx-left-price{
  left:auto !important;
  right:0 !important;
  inset-inline-start:0 !important;   /* RTL inline-start = physical right */
  inset-inline-end:auto !important;
  margin:0 !important;
  margin-inline:0 !important;
  align-items:flex-start !important; /* RTL start = physical right, away from logo */
  text-align:right !important;
  transform-origin:right center !important;
}
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr .nx-slot-left,
.nx-mhdr[dir="rtl"] .nx-slot-left{
  justify-content:flex-start !important; /* RTL start = physical right */
  justify-self:stretch !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  align-items:flex-start !important; /* RTL start = right side of the code box, close to logo */
  text-align:right !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 3px), -50%, 0) scale(1) !important;
  transform-origin:right center !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  align-self:flex-start !important;
  text-align:right !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    align-items:flex-start !important;
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 2px), -50%, 0) scale(.88) !important;
    transform-origin:right center !important;
  }
}

/* v3.7.20 — RTL license code glued to the logo side.
   The license wrapper can become wider than its visible content in RTL, so the
   content must be pinned to the physical RIGHT edge of the wrapper and the wrapper
   itself must shrink to max-content. This keeps the code close to the logo instead
   of floating between the logo and the left route icons. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  inline-size:max-content !important;
  width:max-content !important;
  min-inline-size:0 !important;
  max-inline-size:max-content !important;
  box-sizing:border-box !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) - 1px), -50%, 0) scale(1) !important;
  transform-origin:right center !important;
  align-items:flex-end !important;
  justify-content:center !important;
  text-align:right !important;
  direction:rtl !important;
  z-index:10 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  align-self:flex-end !important;
  text-align:right !important;
  margin-inline:0 !important;
  direction:rtl !important;
  unicode-bidi:isolate !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    inline-size:max-content !important;
    width:max-content !important;
    max-inline-size:max-content !important;
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2)), -50%, 0) scale(.90) !important;
    transform-origin:right center !important;
    align-items:flex-end !important;
  }
}


/* v3.7.21 — RTL license fine-tune: closer to logo and slightly larger.
   Only RTL languages are affected. The chip is moved toward the logo by using
   the opposite horizontal offset from the previous pass, and its readable size
   is increased without touching the LTR header. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  inline-size:max-content !important;
  width:max-content !important;
  min-inline-size:0 !important;
  max-inline-size:max-content !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) + 8px), -50%, 0) scale(1) !important;
  transform-origin:right center !important;
  align-items:flex-start !important;
  justify-content:center !important;
  text-align:right !important;
  direction:rtl !important;
  z-index:11 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption{
  align-self:flex-start !important;
  text-align:right !important;
  direction:rtl !important;
  unicode-bidi:isolate !important;
  font-size:.54rem !important;
  line-height:1 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  align-self:flex-start !important;
  text-align:right !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
  font-size:.72rem !important;
  line-height:1.05 !important;
  padding:3px 9px !important;
  border-radius:999px !important;
  margin-inline:0 !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    inline-size:max-content !important;
    width:max-content !important;
    max-inline-size:max-content !important;
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) + 6px), -50%, 0) scale(.94) !important;
    transform-origin:right center !important;
    align-items:flex-start !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-caption,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption{
    font-size:.50rem !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
    font-size:.68rem !important;
    padding:3px 8px !important;
  }
}
@media (max-width:360px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) + 4px), -50%, 0) scale(.90) !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
    font-size:.65rem !important;
    padding:2px 7px !important;
  }
}


/* v3.7.26 — RTL license inner-content flip only.
   Do not move the .nx-license-wrap position; only reverse its internal alignment
   so the visible caption/code sit on the logo-side edge in RTL. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  align-items:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption{
  align-self:flex-end !important;
  text-align:right !important;
  direction:rtl !important;
  unicode-bidi:isolate !important;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  align-self:flex-end !important;
  justify-content:flex-end !important;
  text-align:right !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    align-items:flex-end !important;
    text-align:right !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-caption,
  .nx-mhdr[dir="rtl"].license-active .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
    align-self:flex-end !important;
    text-align:right !important;
  }
}

/* v3.7.27 — RTL license final lock.
   Only RTL languages are affected: move the business code toward the centered logo,
   keep it out of the left icon zone, and flip the inner caption/code alignment. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  inline-size:max-content !important;
  width:max-content !important;
  min-inline-size:0 !important;
  max-inline-size:max-content !important;
  transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) + 32px), -50%, 0) scale(1) !important;
  transform-origin:right center !important;
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  align-items:flex-end !important;
  justify-content:center !important;
  gap:2px !important;
  text-align:left !important;
  direction:rtl !important;
  z-index:18 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption{
  order:1 !important;
  align-self:flex-end !important;
  text-align:left !important;
  direction:rtl !important;
  unicode-bidi:isolate !important;
  font-size:.56rem !important;
  line-height:1 !important;
  font-weight:800 !important;
  padding:0 !important;
  margin:0 !important;
  white-space:nowrap !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  order:2 !important;
  align-self:flex-end !important;
  justify-content:flex-end !important;
  text-align:left !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
  font-size:.80rem !important;
  line-height:1.05 !important;
  font-weight:850 !important;
  padding:2px 8px !important;
  margin:0 !important;
  white-space:nowrap !important;
  border-radius:999px !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) + 28px), -50%, 0) scale(.96) !important;
    align-items:flex-end !important;
    text-align:left !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-caption,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption{
    font-size:.52rem !important;
    align-self:flex-end !important;
    text-align:left !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
    font-size:.76rem !important;
    padding:2px 7px !important;
    align-self:flex-end !important;
    text-align:left !important;
  }
}
@media (max-width:360px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    transform:translate3d(calc(-100% - (var(--nxmh-logo-h) / 2) + 22px), -50%, 0) scale(.92) !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-caption,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption{
    font-size:.48rem !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
    font-size:.72rem !important;
    padding:2px 6px !important;
  }
}

/* v3.7.28 — RTL license text edge lock.
   In RTL the license block sits to the left of the centered logo. Its inner
   caption/code must hug the logo-side edge, not the left icon-side edge. */
.nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
  align-items:flex-start !important;
  text-align:right !important;
  direction:rtl !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-caption,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption{
  align-self:flex-start !important;
  justify-content:flex-start !important;
  text-align:right !important;
  direction:rtl !important;
  unicode-bidi:isolate !important;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;
}
.nx-mhdr[dir="rtl"].license-active .nx-license-code,
.nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
  align-self:flex-start !important;
  justify-content:flex-start !important;
  text-align:right !important;
  direction:ltr !important;
  unicode-bidi:isolate !important;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;
}
@media (max-width:640px){
  .nx-mhdr[dir="rtl"].license-active .nx-license-wrap,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-wrap{
    align-items:flex-start !important;
    text-align:right !important;
  }
  .nx-mhdr[dir="rtl"].license-active .nx-license-caption,
  .nx-mhdr[dir="rtl"].license-active .nx-license-code,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-caption,
  .nx-mhdr-wrap[dir="rtl"] .nx-mhdr.license-active .nx-license-code{
    align-self:flex-start !important;
    text-align:right !important;
  }
}


/* v3.7.29 — while the app is loading a no-header destination, keep the current header visible until the destination DOM is ready. */
body[data-nxapp-header-defer-hide="1"] .nx-mhdr,
body[data-nxapp-header-defer-hide="1"] .nx-mhdr-wrap{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

/* v3.7.30 — admin CTA/logo state also hides the business license code.
   The code stays in the DOM so it fades out with the logo instead of staying beside the admin panel button. */
.nx-mhdr.admin-cta-active .nx-license-wrap,
.nx-mhdr.admin-cta-active.license-active .nx-license-wrap,
.nx-mhdr-wrap .nx-mhdr.admin-cta-active .nx-license-wrap,
.nx-mhdr-wrap .nx-mhdr.admin-cta-active.license-active .nx-license-wrap,
.nxapp-header .nx-mhdr.admin-cta-active .nx-license-wrap,
.nxapp-header .nx-mhdr.admin-cta-active.license-active .nx-license-wrap{
  display:flex !important;
  opacity:0 !important;
  pointer-events:none !important;
  transform:translate3d(-50%, calc(-50% - 8px), 0) scale(.98) !important;
  transition:transform var(--nxmh-anim) var(--nxfx-shine-ease), opacity var(--nxmh-anim) var(--nxfx-shine-ease) !important;
  z-index:1 !important;
}
.nx-mhdr.admin-cta-active .nx-license-caption,
.nx-mhdr.admin-cta-active .nx-license-code,
.nx-mhdr-wrap .nx-mhdr.admin-cta-active .nx-license-caption,
.nx-mhdr-wrap .nx-mhdr.admin-cta-active .nx-license-code,
.nxapp-header .nx-mhdr.admin-cta-active .nx-license-caption,
.nxapp-header .nx-mhdr.admin-cta-active .nx-license-code{
  opacity:0 !important;
  pointer-events:none !important;
}
@media (prefers-reduced-motion: reduce){
  .nx-mhdr.admin-cta-active .nx-license-wrap,
  .nx-mhdr.admin-cta-active.license-active .nx-license-wrap,
  .nx-mhdr-wrap .nx-mhdr.admin-cta-active .nx-license-wrap,
  .nx-mhdr-wrap .nx-mhdr.admin-cta-active.license-active .nx-license-wrap,
  .nxapp-header .nx-mhdr.admin-cta-active .nx-license-wrap,
  .nxapp-header .nx-mhdr.admin-cta-active.license-active .nx-license-wrap{
    visibility:hidden !important;
  }
}

/* v3.8.0 — App Front exact sync + readable language/currency badge.
   Header colors, font and route-changing behavior must mirror the app shell without extra observers. */
.nx-mhdr-wrap,
.nx-mhdr{
  font-family:var(--nxapp-font-family,var(--nxmh-font-family,"Vazir-Variable","Vazir",Tahoma,Arial,sans-serif)) !important;
}
html.nxapp-route-changing .nx-mhdr .nx-ticker-track,
body.nxapp-route-changing .nx-mhdr .nx-ticker-track,
html.nxapp-route-lifecycle-active .nx-mhdr .nx-ticker-track,
body.nxapp-route-lifecycle-active .nx-mhdr .nx-ticker-track{
  animation-play-state:paused !important;
}
.nx-mhdr .nxmc-header-flag-btn .nxmc-header-code,
.nx-mhdr .nxmc-header-flag-btn .nxmc-flag-badge,
.nx-mhdr .nxmc-header-flag-btn .nxmc-currency-badge,
.nx-mhdr .nxmc-header-flag-btn [data-nxmc-badge]{
  background:var(--nxmh-real-p5,var(--nxmh-p5,var(--nxapp-p5,#d4a373))) !important;
  color:var(--nxmh-p3,var(--nxapp-p3,#fefae0)) !important;
  border-color:color-mix(in srgb,var(--nxmh-p3,var(--nxapp-p3,#fefae0)) 34%,transparent) !important;
  text-shadow:0 1px 0 rgba(0,0,0,.18) !important;
  -webkit-text-fill-color:var(--nxmh-p3,var(--nxapp-p3,#fefae0)) !important;
}
.nx-mhdr .nxmc-header-flag-btn .nxmc-header-code *,
.nx-mhdr .nxmc-header-flag-btn .nxmc-flag-badge *,
.nx-mhdr .nxmc-header-flag-btn .nxmc-currency-badge *,
.nx-mhdr .nxmc-header-flag-btn [data-nxmc-badge] *{
  color:var(--nxmh-p3,var(--nxapp-p3,#fefae0)) !important;
  -webkit-text-fill-color:var(--nxmh-p3,var(--nxapp-p3,#fefae0)) !important;
}
.nxmh-suspended .nx-mhdr-wrap,
.nxmh-suspended .nx-mhdr{
  pointer-events:none !important;
}



/* v3.8.8 — independent compact language slot beside the independent currency slot */
.nx-mhdr .nx-left-icons .nx-language{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  inline-size:var(--nxmh-icon,30px)!important;block-size:var(--nxmh-icon,30px)!important;
  min-inline-size:var(--nxmh-icon,30px)!important;min-block-size:var(--nxmh-icon,30px)!important;
  line-height:0!important;overflow:visible!important;position:relative!important;z-index:4!important;
}
.nx-mhdr .nx-language .nxml-switcher{inline-size:var(--nxmh-icon,30px)!important;block-size:var(--nxmh-icon,30px)!important;display:inline-flex!important;}
.nx-mhdr .nx-language .nxml-switcher__trigger{
  inline-size:var(--nxmh-icon,30px)!important;block-size:var(--nxmh-icon,30px)!important;
  min-inline-size:var(--nxmh-icon,30px)!important;min-block-size:var(--nxmh-icon,30px)!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;
}
.nx-mhdr .nx-language .nxml-switcher__icon{font-size:21px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.nx-mhdr .nx-language .nxml-switcher__label{display:none!important;}
.nx-mhdr .nx-language .nxml-switcher__panel{
  line-height:normal!important;z-index:999999!important;max-block-size:min(70vh,520px)!important;overflow:auto!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
}
