/* Mobile Bottom Navigation */
/* deploy trigger */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    height: 64px;
    background: rgba(6, 6, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    align-items: stretch;
    justify-content: space-around;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    .footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    min-width: 0;
}

.bottom-nav-item svg {
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav-item:active svg {
    transform: scale(0.85);
}

.bottom-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.bottom-nav-item.active {
    color: #a855f7;
}

.bottom-nav-item.active svg {
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.6));
}

/* Cart badge */
.bottom-nav-cart-wrap {
    position: relative;
    display: inline-flex;
}

.bottom-cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    background: #a855f7;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}
