/* --- Container principale --- */
.gshm-header-menu {
    width: 100%;
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
    position: relative;
    z-index: 999;
}

/* --- Bottone hamburger --- */
.gshm-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
}

/* --- Menu desktop --- */
.gshm-menu {
    display: flex;
    justify-content: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* --- Link con logo sopra --- */
.gshm-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #111;
    font-size: 12px;
    font-weight: 500;
}

/* --- Icone PNG --- */
.gshm-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

/* Hover */
.gshm-menu a:hover .gshm-icon {
    transform: scale(1.1);
}

.gshm-menu a:hover .gshm-label {
    text-decoration: underline;
}

/* ================================
   MOBILE RESPONSIVE FIX
   ================================ */

@media (max-width: 768px) {

    /* Mostra hamburger */
    .gshm-toggle {
        display: inline-block;
    }

    /* Menu nascosto */
    .gshm-menu {
        display: none;
        flex-direction: column;
        gap: 18px;
        background: #fff;

        /* FIX IMPORTANTE */
        position: static;   /* <-- elimina spazio vuoto */
        width: 100%;

        padding: 15px 0;
        margin-top: 10px;
        border-top: 1px solid #eee;
    }

    /* Menu aperto */
    .gshm-menu.gshm-menu-open {
        display: flex;
    }

    /* Icone più piccole */
    .gshm-icon {
        width: 36px;
        height: 36px;
    }
}
