/* === Mobile Bottom Nav (RETACH) === */
:root{
  --mbnav-h: 72px;
  --mbnav-bg: rgba(255,255,255,.88);
  --mbnav-border: rgba(0,0,0,.08);
  --mbnav-shadow: 0 -10px 30px rgba(0,0,0,.10);
}

.mbnav{ display:none; }

@media (max-width: 980px){
  /* чтобы нижняя панель не перекрывала контент */
  body{
    padding-bottom: calc(var(--mbnav-h) + env(safe-area-inset-bottom));
  }

  .mbnav{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 3000;
    height: var(--mbnav-h);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--mbnav-bg);
    border-top: 1px solid var(--mbnav-border);
    box-shadow: var(--mbnav-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    gap: 8px;
    justify-content: space-between;
  }

  .mbnav a{
    flex: 1 1 0;
    min-width: 0;
    text-decoration: none;
    color: #111;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mbnav a svg{
    width: 22px; height: 22px;
    margin-bottom: 4px;
    stroke: currentColor;
  }

  .mbnav a.active{
    background: #f3f4f6;
  }

  /* “по центру вместо корзины — Тарифы”: делаем приподнятой */
  .mbnav a.mbnav-center{
    transform: translateY(-8px);
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    border: 1px solid rgba(0,0,0,.06);
    font-weight: 700;
  }

  /* “кнопка на СегТач”: делаем CTA */
  .mbnav a.mbnav-cta{
    background: linear-gradient(90deg,#7a8cff,#e08bff);
    color: #fff;
    font-weight: 800;
  }
}
