.mbmp2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
  display: flex;
  justify-content: space-around;
  z-index: 999999;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.08);
  padding: 8px 6px;
  align-items: center;
  gap: 6px;
}
.mbmp2-nav-item {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
}
.mbmp2-nav-item .mbmp2-icon i { font-size: 20px; }
.mbmp2-nav-item .mbmp2-label { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 68px; }

/* full-screen white panel that slides in from the right */
.mbmp2-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  transform: translateX(110%);
  transition: transform 300ms cubic-bezier(.2,.9,.3,1), opacity 200ms;
  opacity: 0;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 40px rgba(0,0,0,0.08);
}

.mbmp2-panel a:focus,
.mbmp2-panel a:active {
  outline: none !important;
  box-shadow: none !important;
}



/* active state slides in */
.mbmp2-panel.active {
  transform: translateX(0%);
  opacity: 1;
}

/* backdrop that dims the content behind (but we will keep behind white to match screenshot) */
.mbmp2-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease;
  z-index: 999999;
}
.mbmp2-backdrop.active { opacity: 1; visibility: visible; }

.mbmp2-panel-inner { padding: 18px; overflow: auto; flex: 1; }

.mbmp2-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: #333;
  z-index: 1000001;
}

.mbmp2-panel-title {
  margin: 8px 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  text-align: left;
  padding-left: 2px;
}

.mbmp2-panel-list ul { list-style: none; padding: 0; margin: 0; }
.mbmp2-item { display: flex; align-items: center; gap: 12px; padding: 14px 6px; border-top: 1px solid #f1f1f1; }
.mbmp2-item:first-child { border-top: none; }
.mbmp2-item-icon { width: 44px; height: 44px; display:flex; align-items:center; justify-content:center; font-size:18px; color:#333; background:#fbfbfb; border-radius:8px; }
.mbmp2-item-link { text-decoration: none; color: #222; font-size: 16px; }

/* On wider screens hide */
@media (max-width: 768px) {
  .site-footer {
    margin-bottom: 70px;
  }
}

@media (min-width: 768px) {
  .mbmp2-bottom-nav, .mbmp2-panel, .mbmp2-backdrop { display: none !important; }
}
