/* Estilos para el widget colapsable */
.collapsible-footer-widget-class .collapsible-widget-title,
.elementor-collapsible-widget .collapsible-widget-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.collapsible-footer-widget-class .toggle-icon,
.elementor-collapsible-widget .toggle-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.collapsible-footer-widget-class .toggle-icon.rotated,
.elementor-collapsible-widget .toggle-icon.rotated {
    transform: rotate(45deg);
}

.collapsible-footer-widget-class .collapsible-widget-content,
.elementor-collapsible-widget .collapsible-widget-content {
    display: none;
    margin-top: 10px;
}

/* En escritorio, mostrar siempre el contenido */
@media (min-width: 768px) {
    .collapsible-footer-widget-class .collapsible-widget-content,
    .elementor-collapsible-widget .collapsible-widget-content {
        display: block !important;
    }
    
    .collapsible-footer-widget-class .collapsible-widget-title,
    .elementor-collapsible-widget .collapsible-widget-title {
        cursor: default;
    }
    
    .collapsible-footer-widget-class .toggle-icon,
    .elementor-collapsible-widget .toggle-icon {
        display: none;
    }
}

/* Estilos para el menú */
.collapsible-footer-widget-class .collapsible-menu,
.elementor-collapsible-widget .collapsible-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collapsible-footer-widget-class .collapsible-menu li,
.elementor-collapsible-widget .collapsible-menu li {
    margin-bottom: 8px;
}

.collapsible-footer-widget-class .collapsible-menu li a,
.elementor-collapsible-widget .collapsible-menu li a {
    text-decoration: none;
    color: #333;
}

.collapsible-footer-widget-class .collapsible-menu li a:hover,
.elementor-collapsible-widget .collapsible-menu li a:hover {
    text-decoration: underline;
}

/* Asegurar compatibilidad con Elementor */
.elementor-widget-sidebar .collapsible-footer-widget-class,
.elementor-widget-html .collapsible-footer-widget-class,
.elementor-collapsible-widget {
    width: 100%;
}