/* ================================================================
   COMPARTIR ECONOMIPEDIA
   ================================================================ */

.econo-compartir {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.econo-compartir-btn {
    background: none;
    border: 1px solid #00B1B8;
    color: #00B1B8;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    width: auto !important;
    padding: 6px 10px;
}

.econo-compartir-btn:hover,
.econo-compartir-btn[aria-expanded="true"] {
    background: #00B1B8;
    color: #fff;
}

.econo-compartir-btn svg {
    flex-shrink: 0;
}

/* Dropdown */
.econo-compartir-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 9990;
    overflow: hidden;
    animation: econo-dropdown-in 0.15s ease;
}

@keyframes econo-dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.econo-compartir-dropdown[hidden] {
    display: none;
}

.econo-compartir-opcion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    width: auto !important;
}

.econo-compartir-opcion:hover {
    background: #f5f5f5;
    color: #333;
}

.econo-compartir-opcion svg {
    flex-shrink: 0;
}

/* En móvil el dropdown puede salir por la derecha */
@media (max-width: 480px) {
    .econo-compartir-dropdown {
        left: auto;
        right: 0;
    }
}
