/* ============================================================
   Bottom navigation + coming-soon screens
   ============================================================ */

/* ── BOTTOM NAV ── */
.bnav-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: var(--surface-white);
    border-top: 1px solid var(--border-weak);
    display: none;
    flex-direction: column;
    align-items: stretch;
    pointer-events: none
}
.bnav-wrap.show {
    display: flex;
    pointer-events: auto
}
.bnav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    padding: 12px 0 12px;
    overflow: visible
}
.bnav-item {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    position: relative
}
.bnav-ico {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center
}
.bnav-ico-off { display: block }
.bnav-ico-on { display: none }
.bnav-item.bnav-on .bnav-ico-off { display: none }
.bnav-item.bnav-on .bnav-ico-on { display: block }
.bnav-lbl {
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    color: var(--ink-400);
    text-align: center;
    white-space: nowrap
}
.bnav-item.bnav-on .bnav-lbl { color: var(--color-primary) }
.bnav-badge {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(2px);
    min-width: 16px;
    height: 14px;
    padding: 0 4px;
    background: var(--color-danger);
    border: 2px solid var(--surface-white);
    border-radius: 8px;
    color: var(--surface-white);
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box
}

/* Quick Sale FAB (center slot, elevated above bar) */
.bnav-fab-slot {
    position: relative
}
.bnav-fab-slot::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px
}
.bnav-fab-slot .bnav-lbl { color: var(--ink-400) }
.bnav-fab {
    position: absolute;
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #13bc8e;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(19, 188, 142, 0.32);
    transition: transform 0.15s ease
}
.bnav-fab img { display: block }
.bnav-fab-slot:active .bnav-fab { transform: translateX(-50%) scale(0.94) }
.bnav-item.bnav-on.bnav-fab-slot .bnav-lbl { color: #13bc8e }

.bnav-item:active .bnav-ico { transform: scale(0.94) }
.bnav-item .bnav-ico { transition: transform 0.15s ease }

/* iOS-style home indicator bar */
.bnav-home-indicator {
    height: 34px;
    background: var(--surface-white);
    display: flex;
    align-items: center;
    justify-content: center
}
.bnav-home-indicator > span {
    width: 135px;
    height: 5px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.3)
}

/* ── COMING-SOON SCREENS ── */
.cs-screen {
    background: var(--surface-canvas)
}
.cs-screen .hm-hdr-bg {
    height: 96px;
    border-radius: 0
}
