/* VISUAL MENU CSS */
.visual-menu-container {
    display: flex;
    column-gap: 15px;
    justify-content: space-between;
}

.visual-menu-container .menu-item.icon_sticky {
    background-color: var(--e-global-color-9eb8583);
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Fixed: Align items to top so text grows downwards */
    text-align: center;
    background: #FFF;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.visual-menu-container .menu-item.icon_sticky p,
.visual-menu-container .menu-item.icon_sticky a {
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    color: var(--e-global-color-primary, #333);
    display: block;
    width: 100%;
    margin-bottom: 0;
    transition: all 0.5s ease;
    text-decoration: none;
}

.menu-item.icon_sticky .visual-menu-icon-wrap {
    margin-bottom: 5px;
    transition: all 0.5s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.menu-item.icon_sticky img {
    margin-bottom: 0 !important;
    transition: all 0.5s ease;
}

img.visual-menu-icon {
    width: 95%;
    object-fit: contain;
}

/* Sticky State Styling (Dependent on Elementor Sticky Effects) */
.elementor-sticky--active .menu-item.icon_sticky img {
    max-width: 30px !important;
    min-height: 30px;
    max-height: 30px;
    transition: all 0.5s ease;
    margin: 0 !important;
    padding: 0;
}

.elementor-sticky--active .menu-item.icon_sticky a {
    display: flex;
    width: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    column-gap: 5px;
}

.elementor-sticky--active .menu-item.icon_sticky p {
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .visual-menu-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 10px 0;
        padding: 0 0 10px;
        /* Hide scrollbar for cleaner look */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .visual-menu-container::-webkit-scrollbar {
        display: none;
    }

    /* .menu-item.icon_sticky {
        width: 150px;
        min-width: 150px;
        max-width: 150px;
        scroll-snap-align: center;
        flex-shrink: 0;
    } */
}