/* Mobil alt menü (assets/mobilmenu.js). Yalnızca telefon genişliğinde (≤760px) etkilidir. */
.mm-ortu, .mm-panel, .mm-altbar { display: none; }

@media (max-width: 760px) {
  /* Üstteki kaydırmalı gezinme şeridi ve yüzen sepet çubuğu yerine alt menü */
  .mm .nav { display: none; }
  .mm .cartbar { display: none !important; }
  .mm body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mm .wa-float { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }

  .mm .mm-altbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(14,15,17,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mm .mm-sekme { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; color: #aeb3bb; font: 600 11px var(--body, inherit); padding: 0; -webkit-tap-highlight-color: transparent; }
  .mm .mm-sekme svg { width: 23px; height: 23px; color: currentColor; }
  .mm .mm-sekme.on, .mm .mm-sekme.hot { color: var(--gold); }
  .mm .mm-sekme.on::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--gold); border-radius: 2px; }
  .mm .mm-sekme:active { transform: scale(.94); }
  .mm .mm-rozet { position: absolute; top: 7px; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--black); font: 800 10px/17px var(--body, inherit); font-style: normal; box-shadow: 0 0 0 2px #0e0f11; }
  .mm .mm-rozet[hidden] { display: none; }

  /* Sepet paneli (z-index 60) ve pencereler alt menünün üstünde kalır */
  /* Kategoriler paneli (alttan açılır) */
  .mm .mm-ortu { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .mm .mm-ortu.mm-acik { opacity: 1; pointer-events: auto; }
  .mm .mm-panel { display: block; position: fixed; z-index: 71; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 18px 18px 0 0; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); transform: translateY(102%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .mm .mm-panel.mm-acik { transform: none; }
  .mm .mm-panel svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
  .mm .mm-ust { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 1; }
  .mm .mm-ust b { font-family: var(--head); font-size: 22px; }
  .mm .mm-kapat { background: none; border: 1px solid var(--line); border-radius: 10px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--text); }
  .mm .mm-kapat svg { color: var(--text); }
  .mm .mm-izgara { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px 16px 4px; }
  .mm .mm-izgara a { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14px; background: var(--surface-2, #1e2025); }
  .mm .mm-baslik { padding: 16px 16px 6px; font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
  .mm .mm-katlar a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .mm .mm-katlar a span { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 500; }
}
