/**
 * Mobile bottom navigation — fixed bottom bar, mobile only.
 *
 * Loaded site-wide except on cart/checkout (see tsc_show_bottom_nav).
 * Self-contained literal values — renders outside the .tsc-* design-token
 * scopes (it appears on theme pages too: home, shop, product).
 */

/* Hidden by default — only the mobile media query reveals it. */
.tsc-bottomnav {
    display: none;
}

.tsc-bottomnav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 56px;
    color: #0f0f0f;
    text-decoration: none;
}
.tsc-bottomnav__item.is-active {
    color: rgb(138, 138, 138) !important;
}
.tsc-bottomnav__icon {
    width: 24px;
    height: 24px;
}
.tsc-bottomnav__label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}
.tsc-bottomnav__item.is-active .tsc-bottomnav__label {
    font-weight: 600;
}

@media (max-width: 767px) {
    .tsc-bottomnav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9990;
        display: flex;
        background: #ffffff;
        border-top: 1px solid #ececef;
        padding-bottom: env(safe-area-inset-bottom);
    }
    /* Clear space so page content isn't hidden behind the fixed nav. */
    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }
}
