.dmc-social-share {
    position: relative;
}

.dmc-social-share a {
    color: #333;
    font-weight: normal;
}

.dmc-social-share a:hover {
    color: #ccc;
}

.dmc-social-share__buttons {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 8px;
    display: none;
    min-width: 200px;
}

.dmc-social-share.active .dmc-social-share__buttons {
    display: block;
}

.dmc-social-share__buttons {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 200px;
    max-height: 80vh;
    overflow-y: auto;
}

.dmc-social-share__buttons::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dmc-social-share:hover .dmc-social-share__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dmc-social-share__button {
    display: inline-flex;
    align-items: center;
    width: 80%;
    padding: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.dmc-social-share__trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.dmc-social-share:hover .dmc-social-share__buttons {
    display: none;
}

.dmc-social-share__button svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Stili specifici per i social network */
.dmc-social-share__button--facebook svg { fill: #1877f2; }
.dmc-social-share__button--twitter svg { fill: #1da1f2; }
.dmc-social-share__button--whatsapp svg { fill: #25d366; }
.dmc-social-share__button--telegram svg { fill: #0088cc; }
.dmc-social-share__button--email svg { fill: #ea4335; }