/* Bolagsnav – central meny v1.0.0 */
.bnv-central-nav {
  position: sticky;
  top: 10px;
  z-index: 3100;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 8px;
  pointer-events: none;
}
.bnv-central-nav-button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #dbe5df;
  border-radius: 14px;
  background: #fff;
  color: #10211a;
  box-shadow: 0 8px 22px rgba(27,56,44,.07);
  font: 700 1rem Arial,sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.bnv-central-menu[hidden] { display: none !important; }
.bnv-central-menu {
  position: fixed;
  z-index: 3200;
  width: min(520px,calc(100vw - 28px));
  max-height: calc(100vh - 90px);
  overflow: auto;
  padding: 12px;
  border: 1px solid #dbe5df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(19,48,36,.18);
  color: #10211a;
  font-family: Arial,sans-serif;
}
.bnv-central-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.bnv-central-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #10211a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.bnv-central-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}
.bnv-central-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 11px;
  border: 1px solid #dce6e0;
  border-radius: 10px;
  color: #14221b;
  text-decoration: none;
}
a.bnv-central-item { background: #eef7f2; }
a.bnv-central-item:hover { background: #e1f0e8; }
.bnv-central-item span {
  color: #0f6b4f;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}
.bnv-central-current { box-shadow: inset 4px 0 0 #08745a; }
.bnv-central-soon { background: #f7f8f7; color: #77817c; }
.bnv-central-soon span { color: #8a928e; }

@media (max-width:700px) {
  .bnv-has-mobile-nav .bnv-central-nav { display: none; }
  .bnv-central-menu {
    left: 9px !important;
    right: 9px !important;
    top: auto !important;
    bottom: calc(66px + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100vh - 120px - env(safe-area-inset-bottom));
  }
  .bnv-central-grid { grid-template-columns: 1fr; }
  .bnv-central-item { min-height: 50px; }
  .bnv-no-mobile-nav .bnv-central-menu {
    top: 68px !important;
    bottom: auto;
  }
}
