/* SaskPWA — Bottom Navigation Bar */
.saskpwa-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999998;
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 6px 0;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.06);
}

.saskpwa-navbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #6b7280;
    font-size: 10px;
    padding: 4px 12px;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.saskpwa-navbar__item:hover,
.saskpwa-navbar__item:active {
    color: var(--saskpwa-nav-accent, #1a1a2e);
}

.saskpwa-navbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    position: relative;
    overflow: visible;
}

.saskpwa-navbar__icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    overflow: visible;
}

/* Cart count badge */
.saskpwa-navbar__badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
}

.saskpwa-navbar__label {
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Add padding to body so content isn't hidden behind navbar */
body.saskpwa-has-navbar {
    padding-bottom: 64px;
}
