/* ==== extracted from templates/_mobile_nav_partial.html (T2.5) ==== */

  .mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index:var(--bp-z-sticky);
    background: rgba(var(--bp-bg-rgb),0.96);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border-top: 1px solid rgba(var(--bp-border-rgb),0.7);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mbn-inner { display: grid; grid-template-columns: repeat(5, 1fr); height: 64px; max-width: 600px; margin: 0 auto; }
  .mbn-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; text-decoration: none; color: #909097; font-size: var(--bp-text-sm); font-weight: 600;
    letter-spacing: 0.05px; transition: color .2s ease;
    font-family: 'Manrope', system-ui, sans-serif;
    position: relative; background: none; border: none; cursor: pointer;
    padding: 0; min-height: 48px; -webkit-tap-highlight-color: transparent;
  }
  .mbn-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; transition: transform .2s ease; }
  .mbn-icon svg { width: 22px; height: 22px; stroke-width: 1.85; }
  .mbn-label { line-height: 1; white-space: nowrap; }
  .mbn-item:active .mbn-icon { transform: scale(0.85); }
  .mbn-item.active { color: var(--bp-al); }
  .mbn-item.active::before {
    content: ''; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%); width: 28px; height: 3px;
    background: var(--bp-al); border-radius: 0 0 3px 3px;
    box-shadow: 0 0 10px rgba(var(--bp-al-rgb),.55);
  }
  .mbn-item.active .mbn-icon svg { filter: drop-shadow(0 0 4px rgba(var(--bp-al-rgb),.45)); stroke-width: 2.1; }
  /* F14: push-active state on bell slot */
  .mbn-item.push-active { color: var(--bp-gold); }
  .mbn-item.push-active::before { background: var(--bp-gold); box-shadow: 0 0 10px rgba(var(--bp-gold-rgb),.55); }
  .mbn-item.push-active .mbn-icon svg { filter: drop-shadow(0 0 4px rgba(var(--bp-gold-rgb),.5)); stroke-width: 2.1; }
  /* Badge dot — shows when push is active */
  .mbn-badge {
    position: absolute; top: 6px; right: calc(50% - 18px);
    width: 8px; height: 8px; background: var(--bp-gold);
    border-radius: 50%; border: 1.5px solid var(--bp-bg);
    display: none;
  }
  .mbn-item.push-active .mbn-badge { display: block; }
  .mbn-sheet-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: var(--bp-z-sheet-backdrop); opacity: 0; transition: opacity .25s ease; }
  .mbn-sheet-backdrop.open { display: block; opacity: 1; }
  .mbn-sheet {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--bp-z-sheet);
    background: var(--bp-surface); border-top: 1px solid var(--bp-border);
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.32,.72,0,1);
    padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
    max-height: 75vh; overflow-y: auto;
    box-shadow: var(--bp-shadow-up-lg);
  }
  .mbn-sheet.open { transform: translateY(0); }
  .mbn-sheet-handle { width: 40px; height: 4px; background: var(--bp-border2); border-radius:var(--bp-radius-xs); margin: 4px auto 14px; }
  .mbn-sheet-title { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: var(--bp-text-sm); font-weight: 700; color: var(--bp-text3); text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 12px 4px; }
  .mbn-sheet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  @media (max-width: 360px) { .mbn-sheet-grid { grid-template-columns: repeat(3, 1fr); } }
  .mbn-sheet-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 7px; text-decoration: none; color: var(--bp-text);
    background: var(--bp-surface2); border: 1px solid var(--bp-border); border-radius:var(--bp-radius-lg);
    padding: 14px 6px; font-size: var(--bp-text-xs); font-weight: 600;
    font-family: 'Manrope', system-ui, sans-serif;
    letter-spacing: 0.1px; min-height: 70px;
    transition: background .15s, border-color .15s, transform .1s;
    text-align: center;
  }
  .mbn-sheet-item svg { width: 22px; height: 22px; color: var(--bp-brand); stroke-width: 1.85; }
  .mbn-sheet-item:active { transform: scale(0.96); background: var(--bp-surface3); border-color: var(--bp-border2); }
  /* F14: push toggle row in sheet */
  .mbn-push-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; margin-bottom: 14px;
    background: var(--bp-surface2); border: 1px solid var(--bp-border); border-radius:var(--bp-radius-lg);
    min-height: 52px;
  }
  .mbn-push-row-left { display: flex; align-items: center; gap: 10px; }
  .mbn-push-row-icon { font-size: var(--bp-text-xl); }
  .mbn-push-row-text { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: var(--bp-text-base); font-weight: 600; color: var(--bp-text); }
  .mbn-push-row-sub { font-size: var(--bp-text-xs); color: var(--bp-text3); margin-top: 1px; }
  .mbn-push-toggle {
    min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3);
    border-radius:var(--bp-radius-md); color: #93c5fd; font-size: var(--bp-text-sm); font-weight: 700;
    cursor: pointer; font-family: 'Space Grotesk', sans-serif;
    padding: 0 12px; transition: all .15s;
  }
  .mbn-push-toggle.push-on {
    background: rgba(var(--bp-gold-rgb),0.12); border-color: rgba(var(--bp-gold-rgb),0.3);
    color: #f59e0b;
  }
  .mbn-push-toggle:active { transform: scale(0.96); }
  /* T2.4 — kanonik kirilim 900px'te TEK (eskiden 768px, .bp-main-nav'in
     900px esiginden farkliydi; 769-900px araliginda IKI nav da gizliydi,
     bkz. master-donusum-programi §5 satir 4 / DEV2-021). */
  @media (max-width: 900px) {
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    /* Touch target 44px — F14 */
    .header-search-btn { min-width: 44px; min-height: 44px; }
    .btn-refresh { min-height: 44px; }
    .hib-action-btn { min-height: 44px; }
    .mc-bell { min-width: 44px; min-height: 44px; }
  }

