/* Hide completely on desktop screens */
.ngs-bottom-bar-container {
    display: none;
}

/* Show floating card bar only on mobile */
@media screen and (max-width: 768px) {
    .ngs-bottom-bar-container {
        display: flex;
        position: fixed;
        bottom: 12px;
        left: 12px;
        right: 12px;
        height: 70px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
        z-index: 999999;
        align-items: center;
        justify-content: space-around;
        padding: 5px 8px;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .ngs-bottom-bar-container .ngs-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        flex: 1;
        height: 100%;
    }

    .ngs-bottom-bar-container .ngs-bar-item .icon-wrapper {
        height: 28px;
        width: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 4px;
    }

    .ngs-bottom-bar-container .ngs-bar-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

    .ngs-bottom-bar-container .ngs-bar-item span {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        font-size: 10.5px;
        font-weight: 700;
        color: #1a3148;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1;
    }

    .ngs-bottom-bar-container .ngs-bar-item:active {
        opacity: 0.7;
        transform: scale(0.96);
    }

    /* Prevent bottom bar from overlapping content/checkout buttons */
    body {
        padding-bottom: 95px !important;
    }
}