/**
 * Awafi Herb | mobile-nav.css
 * Mobile app-style bottom navigation.
 * Source file: edit this one; minify with a caching plugin.
 */

/* ---- Mobile bottom navigation ---- */
.bnv {
  display: none;
}

@media(max-width:1000px) {
  .bnv {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: color-mix(in srgb,var(--card) 94%,transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--ln);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom,0px));
  }
  .bnv a,
  .bnv button {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1px;
    background: none;
    border: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--mu);
    padding: 4px 0;
  }
  .bnv em {
    font-style: normal;
    font-size: 21px;
    line-height: 1.2;
  }
  .bnv .on {
    color: var(--pri);
  }
  .bnv .mid em {
    width: 52px;
    height: 52px;
    margin-top: -28px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--am),#f7c553);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px #f2a51677;
    border: 4px solid var(--bg);
    font-size: 22px;
  }
  .bnv b {
    position: absolute;
    top: 0;
    right: calc(50% - 24px);
    background: var(--co);
    color: #fff;
    border-radius: 99px;
    min-width: 17px;
    height: 17px;
    font-size: 10px;
    display: grid;
    place-items: center;
    padding: 0 4px;
  }
}

/* ==== Back button on inner pages (replaces the menu button) ==== */
@media (max-width: 1000px) {
  body:not(.home) .bk { display: flex; }
  body:not(.home) .hn .mb:not(.bk) { display: none; }
  body.single-product { padding-bottom: 150px; }
}
