/* ===== CONTAINER PRINCIPALE ===== */
.sticky-menu {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 160px;
    max-height: 50px;
    overflow: hidden;
    background-color: #000;
    color: #fff;
    z-index: 6000;
    border-radius: 0 8px 8px 0;
    transition: max-height 0.3s ease;
}

/* Stato aperto */
.sticky-menu.sticky-open {
    max-height: 500px; /* sufficiente per contenere lista */
}

/* ===== HEADER ===== */
.sticky-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 50px;
    cursor: pointer;
}

.sticky-menu-header:focus {
    outline-offset: -2px;
}

.sticky-menu-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
}

.sticky-icon .material-icons {
    font-size: 24px;
    transition: transform 0.3s ease;
}


/* ===== LISTA ===== */
.sticky-menu-items {
    list-style: none;
    margin: 0;
    padding: 10px 0 10px 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sticky-menu.sticky-open .sticky-menu-items {
    max-height: 1000px; 
}

.sticky-menu-items li {
    padding: 5px 0;
}

.sticky-menu-link {
    text-decoration: none;
    color: inherit;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    display: block;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.sticky-menu-link:hover {
    text-decoration: underline;
    text-decoration-color: #fff;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .sticky-menu {
        width: 180px;
    }
}

/* PRINT */
@media print {
    .sticky-menu {
        display: none !important;
    }
}

/* Icona di default: + */
.sticky-icon .material-icons::before {
    content: 'add';
}

/* Quando il menu è aperto: × */
.sticky-menu.sticky-open .sticky-icon .material-icons::before {
    content: 'close';
}
