/* One visual contract for Command Center and native WordPress workspace routes. */
.mca-command-nav-list{margin:0;padding:0;list-style:none}
.mca-command-nav-item{position:relative}.mca-command-nav-parent{grid-template-columns:34px minmax(0,1fr);padding-inline-end:42px}.mca-command-nav-toggle{position:absolute;inset-inline-start:7px;inset-block-start:7px;z-index:2;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#9eb0ba;font-size:18px;line-height:1;cursor:pointer}.mca-command-nav-toggle:hover,.mca-command-nav-toggle:focus-visible{background:rgba(25,184,178,.13);color:#fff;outline:2px solid rgba(25,184,178,.7);outline-offset:2px}.mca-command-nav-item.is-open>.mca-command-nav-toggle span[aria-hidden]{display:inline-block;transform:rotate(-90deg)}.mca-command-nav-item.is-open>.mca-command-nav-submenu{display:block}.mca-command-nav-item[data-nav-depth="2"]>.mca-command-nav-parent{padding-inline-start:32px}.mca-command-nav-item[data-nav-depth="3"]>.mca-command-nav-parent{padding-inline-start:48px}
.mca-unified-nav-shell .mca-command-nav-submenu{position:static;z-index:auto;width:auto;max-width:none;background:transparent;box-shadow:none;opacity:1;visibility:visible;pointer-events:auto;transform:none}
/* Navigation links are RTL, neutral by default, and own their colors even when
   a legacy admin skin has global !important anchor rules. */
body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-parent{direction:rtl;color:#90a0ad!important}body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-parent:hover,body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-parent:focus-visible{color:#eef4f7!important}body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-parent.is-active,body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-submenu-link:hover,body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-submenu-link:focus-visible,body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-submenu-link.is-active{color:#fff!important}body.mca-command-admin .mca-unified-nav-shell .mca-command-nav-submenu-link{color:#aebdc6!important}
/* Both renderers use this same direct-child layout. The React bundle used a
   22px grid before the native 34px contract was introduced. */
.mca-command-v2-sidebar.mca-unified-nav-shell .mca-command-nav-item>.mca-command-nav-parent{grid-template-columns:34px minmax(0,1fr) auto;direction:rtl}.mca-command-v2-sidebar.mca-unified-nav-shell .mca-command-nav-item>.mca-command-nav-parent>svg{justify-self:center}
.mca-unified-nav-shell{--mca-wpws-width:284px;background:linear-gradient(180deg,#0e1a2b 0%,#0e1a2b 55%,#0e1a2b 100%);color:#eaf0f4;border-left-color:rgba(255,255,255,.065);font-family:IRANSans,"Iran Sans",Tahoma,Arial,sans-serif}.mca-unified-nav-shell .mca-wpws-brand{min-height:76px;padding:16px 7px 18px;border-bottom-color:rgba(255,255,255,.075)}.mca-unified-nav-shell .mca-wpws-brand strong{font-size:14px}.mca-unified-nav-shell .mca-wpws-search{margin:15px 0 11px;padding:10px 11px;border-radius:11px;background:rgba(255,255,255,.045);color:#aebbc5}.mca-unified-nav-shell .mca-wpws-nav{padding:2px 2px 20px;scrollbar-color:#263745 transparent}.mca-unified-nav-shell .mca-command-nav-group{margin:15px 0;padding:0;border:0}.mca-unified-nav-shell .mca-command-nav-group h2{margin:0 10px 7px;color:#607585;font-size:8px;line-height:1.4;font-weight:900;letter-spacing:.11em}.mca-command-nav-item{margin:3px 0}.mca-command-nav-parent{position:relative;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:#90a0ad;text-align:right;text-decoration:none;transition:background .16s ease,color .16s ease;min-width:0}.mca-command-nav-parent:hover,.mca-command-nav-parent:focus-visible{background:rgba(255,255,255,.055);color:#eef4f7;outline:2px solid rgba(25,184,178,.7);outline-offset:2px}.mca-command-nav-parent.is-active{background:linear-gradient(90deg,rgba(25,184,178,.16),rgba(25,184,178,.065));color:#fff;box-shadow:inset -2px 0 #19b8b2}.mca-command-nav-parent.is-active .mca-wpws-icon{color:#5ee0d8;background:rgba(25,184,178,.12)}.mca-command-nav-cue{font-size:18px;line-height:1;transition:transform .16s ease}.mca-command-nav-item:hover>.mca-command-nav-parent .mca-command-nav-cue,.mca-command-nav-item:focus-within>.mca-command-nav-parent .mca-command-nav-cue{transform:rotate(-90deg)}.mca-command-nav-submenu{display:none;margin:3px 8px 7px;padding:4px 0 4px 8px;border-inline-start:1px solid rgba(25,184,178,.34);list-style:none}.mca-command-nav-submenu li{margin:0}.mca-command-nav-submenu-link{display:block;padding:8px 10px;border-radius:8px;color:#aebdc6;font-size:9px;line-height:1.5;text-decoration:none}.mca-command-nav-submenu-link:hover,.mca-command-nav-submenu-link:focus-visible,.mca-command-nav-submenu-link.is-active{background:rgba(25,184,178,.13);color:#fff;outline:2px solid rgba(25,184,178,.7);outline-offset:2px}.mca-command-nav-item.has-children:hover>.mca-command-nav-submenu,.mca-command-nav-item.has-children:focus-within>.mca-command-nav-submenu,.mca-command-nav-item.is-active>.mca-command-nav-submenu{display:block}.mca-unified-nav-shell .mca-wpws-footer{padding:12px 3px 0;border-top-color:rgba(255,255,255,.075)}.mca-unified-nav-shell .mca-wpws-footer a{color:#8598a6}.mca-unified-nav-shell .mca-wpws-footer a:hover{background:rgba(255,255,255,.05);color:#fff}@media(max-width:960px){.mca-unified-nav-shell{width:min(300px,88vw)}}

/* 7.10.9 submenu visual polish — one compact hierarchy, no repeated card chrome. */
/* The expand control belongs on logical end (left in RTL / right in LTR). */
.mca-unified-nav-shell .mca-command-nav-toggle{
  inset-inline-start:auto;
  inset-inline-end:7px;
}

/* Nested nodes are navigation rows, not miniature copies of top-level cards. */
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]){
  margin:1px 0;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]) > .mca-command-nav-parent{
  min-height:30px;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  padding-block:6px;
  padding-inline-start:9px;
  padding-inline-end:9px;
  border-radius:7px;
  background:transparent;
  box-shadow:none;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]).has-children > .mca-command-nav-parent{
  padding-inline-end:30px;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]) > .mca-command-nav-parent .mca-wpws-icon{
  display:none;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]) > .mca-command-nav-parent .mca-command-nav-copy{
  min-width:0;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]) > .mca-command-nav-parent .mca-command-nav-label{
  display:block;
  font-size:9px;
  line-height:1.55;
  font-weight:700;
  white-space:normal;
  overflow-wrap:anywhere;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]) > .mca-command-nav-parent .mca-command-nav-meta{
  display:none;
}

/* Container nodes such as Product Structure / Brands / Catalog read as section headers. */
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="1"].is-container > .mca-command-nav-parent,
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="2"].is-container > .mca-command-nav-parent{
  margin-top:3px;
  background:rgba(255,255,255,.025);
  color:#c8d5dc!important;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="1"].is-container:hover > .mca-command-nav-parent,
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="1"].is-container:focus-within > .mca-command-nav-parent,
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="2"].is-container:hover > .mca-command-nav-parent,
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="2"].is-container:focus-within > .mca-command-nav-parent{
  background:rgba(25,184,178,.075);
  color:#fff!important;
}

/* Nested toggles are smaller and align with the compact row. */
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]) > .mca-command-nav-toggle{
  inset-block-start:3px;
  inset-inline-end:2px;
  width:26px;
  height:26px;
  border-radius:6px;
  font-size:15px;
}

/* Use logical spacing so the hierarchy stays correct in RTL and LTR. */
.mca-unified-nav-shell .mca-command-nav-submenu{
  margin-block:2px 5px;
  margin-inline-start:12px;
  margin-inline-end:3px;
  padding-block:2px;
  padding-inline-start:9px;
  padding-inline-end:0;
  border-inline-start:1px solid rgba(25,184,178,.24);
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="1"] > .mca-command-nav-submenu{
  margin-inline-start:8px;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="2"] > .mca-command-nav-submenu{
  margin-inline-start:6px;
}

/* Leaf routes use a subtle dot rail instead of repeating the same cart icon. */
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]).is-leaf > .mca-command-nav-parent::before{
  content:"";
  width:4px;
  height:4px;
  flex:0 0 4px;
  border-radius:999px;
  background:#506774;
  position:absolute;
  inset-inline-start:9px;
  top:50%;
  transform:translateY(-50%);
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]).is-leaf > .mca-command-nav-parent{
  padding-inline-start:20px;
}
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]).is-leaf > .mca-command-nav-parent:hover::before,
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]).is-leaf > .mca-command-nav-parent.is-active::before,
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]).is-current > .mca-command-nav-parent::before{
  background:#5ee0d8;
  box-shadow:0 0 0 3px rgba(25,184,178,.10);
}

/* Current child is clear but does not look like another full-size parent card. */
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth]:not([data-nav-depth="0"]) > .mca-command-nav-parent.is-active{
  background:rgba(25,184,178,.10);
  box-shadow:inset -2px 0 rgba(25,184,178,.75);
}

/* Prevent deep product trees from becoming visually noisy. */
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="2"] > .mca-command-nav-parent .mca-command-nav-label,
.mca-unified-nav-shell .mca-command-nav-item[data-nav-depth="3"] > .mca-command-nav-parent .mca-command-nav-label{
  font-size:8.5px;
  font-weight:650;
  color:#aebdc6;
}


/* ========================================================================== 
 * VIRA 7.12.8 — native wp-admin sidebar hover flyout.
 * STRICT SCOPE: WordPress Workspace sidebar on desktop only.
 * Top-level branches no longer expand inside the right sidebar. Hover/focus or
 * clicking the cue opens one stable companion panel to the LEFT of the sidebar.
 * ========================================================================== */
@media(min-width:961px){
  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"] > .mca-command-nav-submenu,
  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].is-open > .mca-command-nav-submenu,
  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].is-active > .mca-command-nav-submenu,
  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].has-children:hover > .mca-command-nav-submenu,
  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].has-children:focus-within > .mca-command-nav-submenu{
    display:none!important;
  }

  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].mca-wpws-side-active > .mca-command-nav-parent{
    background:linear-gradient(90deg,rgba(25,184,178,.16),rgba(25,184,178,.065))!important;
    color:#fff!important;
    box-shadow:inset -2px 0 #19b8b2;
  }

  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].mca-wpws-side-active > .mca-command-nav-toggle{
    background:rgba(25,184,178,.13);
    color:#fff;
  }

  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].mca-wpws-side-active > .mca-command-nav-toggle span[aria-hidden]{
    display:inline-block;
    transform:rotate(-90deg);
  }
}

body.mca-wordpress-workspace .mca-wpws-hover-panel[hidden]{display:none!important}
body.mca-wordpress-workspace .mca-wpws-hover-panel{
  position:fixed;
  z-index:99925;
  width:min(330px,calc(100vw - var(--mca-wpws-width,284px) - 34px));
  min-width:250px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-radius:14px;
  background:#0e1a2b;
  color:#eaf0f4;
  box-shadow:-18px 22px 56px rgba(0,0,0,.34);
  font-family:IRANSans,"Iran Sans",Tahoma,Arial,sans-serif;
  direction:rtl;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel > header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:62px;
  padding:11px 13px;
  border-bottom:1px solid rgba(255,255,255,.075);
  background:rgba(255,255,255,.025);
}
body.mca-wordpress-workspace .mca-wpws-hover-panel > header div{min-width:0}
body.mca-wordpress-workspace .mca-wpws-hover-panel > header small{
  display:block;
  margin-bottom:3px;
  color:#637987;
  font-size:7px;
  line-height:1.5;
  font-weight:800;
  letter-spacing:.12em;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel > header strong{
  display:block;
  overflow:hidden;
  color:#fff;
  font-size:11px;
  line-height:1.6;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel > header button{
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  margin:0;
  padding:0;
  border:0;
  border-radius:8px;
  background:rgba(255,255,255,.035);
  color:#7f94a1;
  cursor:pointer;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel > header button:hover,
body.mca-wordpress-workspace .mca-wpws-hover-panel > header button:focus-visible{
  background:rgba(25,184,178,.13);
  color:#fff;
  outline:2px solid rgba(25,184,178,.55);
  outline-offset:2px;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel-body{
  max-height:calc(100vh - 118px);
  overflow:auto;
  padding:8px;
  scrollbar-width:thin;
  scrollbar-color:#2a4350 transparent;
}

/* The cloned tree is a read-only navigation view: all descendants are visible,
   no nested hover cards, no duplicate arrows, and every real route remains a link. */
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-submenu,
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-wpws-submenu{
  display:block!important;
  position:static!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
  list-style:none!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-toggle{display:none!important}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item{
  position:relative;
  margin:2px 0!important;
  padding:0!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item > .mca-command-nav-parent{
  position:relative;
  display:block!important;
  min-height:0!important;
  width:100%!important;
  margin:0!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#b8c6ce!important;
  text-align:right!important;
  text-decoration:none!important;
  line-height:1.55!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item > a.mca-command-nav-parent:hover,
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item > a.mca-command-nav-parent:focus-visible,
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item.is-current > .mca-command-nav-parent,
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item > .mca-command-nav-parent.is-active{
  background:rgba(25,184,178,.11)!important;
  color:#fff!important;
  outline:none!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-wpws-icon,
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-meta{display:none!important}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-copy{display:block!important;min-width:0!important}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-label{
  display:block!important;
  color:inherit!important;
  font-size:9.5px!important;
  line-height:1.65!important;
  font-weight:750!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item.has-children > .mca-command-nav-parent{
  margin-top:4px!important;
  background:rgba(255,255,255,.025)!important;
  color:#d8e2e7!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item.has-children > .mca-command-nav-submenu{
  margin:2px 8px 5px 0!important;
  padding:2px 9px 2px 0!important;
  border-right:1px solid rgba(25,184,178,.23)!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item.is-leaf > .mca-command-nav-parent{
  padding-right:20px!important;
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item.is-leaf > .mca-command-nav-parent::before{
  content:"";
  position:absolute;
  right:9px;
  top:50%;
  width:4px;
  height:4px;
  border-radius:999px;
  background:#506774;
  transform:translateY(-50%);
}
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item.is-leaf > a.mca-command-nav-parent:hover::before,
body.mca-wordpress-workspace .mca-wpws-hover-panel .mca-command-nav-item.is-current > .mca-command-nav-parent::before{
  background:#5ee0d8;
  box-shadow:0 0 0 3px rgba(25,184,178,.10);
}
@media(max-width:960px){
  body.mca-wordpress-workspace .mca-wpws-hover-panel{display:none!important}
}
@media(min-width:961px){
  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].is-open:not(.mca-wpws-side-active) > .mca-command-nav-toggle span[aria-hidden]{
    transform:none!important;
  }
  body.mca-wordpress-workspace .mca-wpws-sidebar .mca-command-nav-item[data-nav-depth="0"].mca-wpws-side-active > .mca-command-nav-toggle span[aria-hidden]{
    transform:rotate(-90deg)!important;
  }
}

/* VIRA 7.67.5 — expose the real desktop Workspace width to sibling overlays. */
@media(min-width:961px){body.mca-wordpress-workspace{--mca-wpws-width:284px}}

/* VIRA 1.0.0 — MY1 navigation palette authority */
.mca-unified-nav-shell{background:#2D3436!important}.mca-command-nav-parent.is-active,.mca-unified-nav-shell .mca-wpws-sidebar .mca-command-nav-parent.is-active{background:linear-gradient(90deg,rgba(0,184,169,.22),rgba(0,184,169,.07))!important;box-shadow:inset -2px 0 #00B8A9!important}.mca-command-nav-parent:hover,.mca-command-nav-submenu-link:hover{outline-color:rgba(0,184,169,.7)!important}.mca-command-nav-parent.is-active .mca-wpws-icon{color:#55EFC4!important;background:rgba(85,239,196,.12)!important}
