/* Real supplier/region disclosures. The existing mobile navigation is unchanged.
 * Shared group presentation also applies if the customer sidebar is reused. */
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-group {
  border: 1px solid transparent; border-left: 3px solid transparent;
  border-radius: 12px; overflow: hidden;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-group-open {
  background: #edf3fa; border-color: #d9e5f2; border-left-color: #a7c4e6;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-group-row > .xb-sidebar-group-parent {
  margin: 0; border-radius: 9px;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-group-open .xb-sidebar-group-parent {
  background: #e4edf7; color: #3b5678; font-weight: 650; box-shadow: none;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-group[data-xb-active="true"] .xb-sidebar-group-parent {
  background: #e4edf7; color: #2d4c72; font-weight: 700; box-shadow: none;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-group[data-xb-active="true"] .xb-sidebar-group-parent .xb-sidebar-icon {
  color: #42688f;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-children-inner {
  background: #edf3fa;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-children .xb-sidebar-sub-link {
  margin: 3px 4px; width: calc(100% - 8px); border-radius: 8px;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-children .xb-sidebar-sub-link.active,
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-children .xb-sidebar-sub-link[aria-current="page"] {
  background: #d7e9ff; color: var(--xb-primary-hover);
  box-shadow: inset 3px 0 var(--xb-primary); font-weight: 700;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-children .xb-sidebar-sub-link:hover {
  background: #e1edfa;
}
.desktop-sidebar.xb-desktop-sidebar .xb-sidebar-children .xb-sidebar-sub-link.active:hover {
  background: #d7e9ff;
}
@media (min-width: 1024px) {
  .xb-sidebar-nav { overflow-anchor: none; }
  .xb-desktop-sidebar .xb-sidebar-group { margin: 4px 0 8px; }
  .xb-desktop-sidebar .xb-sidebar-group-row > .xb-sidebar-group-parent {
    flex: 1 1 100%; width: 100%; min-width: 0;
  }
  .xb-desktop-sidebar .xb-sidebar-group-parent::after { content: none; }
  .xb-sidebar-children {
    display: grid; grid-template-rows: 0fr; opacity: 0;
    transition: grid-template-rows 180ms ease, opacity 160ms ease;
    pointer-events: none;
  }
  .xb-sidebar-children-inner { min-height: 0; overflow: hidden; }
  .xb-sidebar-group-open > .xb-sidebar-children {
    grid-template-rows: 1fr; opacity: 1; pointer-events: auto;
  }
  .xb-desktop-sidebar .xb-sidebar-children .xb-sidebar-sub-link {
    padding-left: 30px !important; padding-right: 10px !important;
    font-size: 13px; min-height: 40px !important;
  }
  .xb-sidebar-collapsed .xb-sidebar-children { display: none; }
  .xb-desktop-sidebar :is(.xb-sidebar-group-parent, .xb-sidebar-sub-link):focus-visible {
    outline: 2px solid var(--xb-primary); outline-offset: -2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xb-sidebar-children { transition: none; }
}
