/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    justify-content: space-around;
    padding: 0.5rem 0;
    border-top: 1px solid var(--color-border);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    gap: 4px;
    position: relative;
    padding: 4px 8px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--color-primary);
}

.mobile-bottom-nav .nav-count {
    position: absolute;
    top: -2px;
    right: 2px;
    background: var(--color-cta);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 700;
}

/* Mobile Sticky ATC */
.mobile-sticky-atc {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    /* Above bottom nav */
    padding: 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--color-border);
}

.sticky-atc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sticky-atc-title {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-atc-price {
    color: var(--color-primary);
    font-weight: 700;
}

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

    /* Hide chat widget if it overlaps, or move it up */
    .mp-chat-widget-container {
        bottom: 80px;
    }

    .mobile-sticky-atc {
        display: flex;
    }

    /* Add padding to body to prevent content covering */
    body {
        padding-bottom: 60px;
    }

    /* Hide footer copyright spacing */
    .footer-bottom {
        padding-bottom: 60px;
    }
}