/* ============================================================================
   KORBI BOTTOM NAVIGATION BAR
   Fixed bottom nav for homepage and non-WooCommerce pages.
   Three items: Home, Categories, Configurable.
   ============================================================================ */

.korbi-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--c-bg);
    border-top: 1px solid var(--c-border-soft);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    z-index: 900;
    font-family: var(--font-family);
}

/* Desktop: match shell width */
@media (min-width: 768px) {
    .korbi-bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Overlays (z-index 10000+) naturally cover the nav (z-index 900) */

.korbi-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 0 2px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--c-text-muted);
    transition: color var(--ease-micro);
    -webkit-tap-highlight-color: transparent;
}

.korbi-bottom-nav__item.is-active {
    color: var(--c-blue);
}

.korbi-bottom-nav__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.korbi-bottom-nav__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.korbi-bottom-nav__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.korbi-bottom-nav__label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.1px;
    white-space: nowrap;
}
