/* Container for the sticky bar */
.mobile-only-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 65px !important;
    background-color: #ffffff !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important; /* Ensures it stays above all other elements */
    border-top: 1px solid #eeeeee !important;
    padding-bottom: env(safe-area-inset-bottom) !important; /* Support for iPhone notch area */
}

.icon-home {
    display: inline-block;
    width: 16px;  /* The width of one icon */
    height: 16px; /* The height of one icon */
    background-image: url('/assets/shop/images/icons/ui-icons_777777_256x240.png');
    background-repeat: no-repeat;
    /* Position for the Home Icon: 1st column (0), 10th row (-144px) */
    background-position: 0 -144px;
}

/* Individual Button Items */
.bar-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #555555 !important;
    text-decoration: none !important;
    flex: 1 !important;
    transition: color 0.2s ease !important;
}

/* Icon adjustments to match your images */
.bar-item i.icon {
    font-size: 20px !important;
    margin-bottom: 4px !important;
    height: auto !important;
    width: auto !important;
    display: block !important;
}

/* Label text under icons */
.bar-item span {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

/* Active/Hover state */
.bar-item:active,
.bar-item:hover {
    color: #1abb9c !important; /* Sylius Teal color */
}

/* Desktop Hiding & Body Padding */
@media (min-width: 768px) {
    .mobile-only-bottom-bar {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body {
        /* This pushes the entire site content up by the height of the bar + a little extra breathing room */
        padding-bottom: 80px !important;
    }

    /* If your layout uses a specific wrapper instead of body, apply it there too */
    #app, .footer {
        margin-bottom: 20px !important;
    }
}

